Skip to content

Commit d00d2ff

Browse files
Merge pull request #6 from iron-tech-space/editable_table
Fix bug with reload component after change store
2 parents c9ff7fd + 4043fea commit d00d2ff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+738
-5937
lines changed

.idea/runConfigurations.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 0.0.74
2+
3+
- Fix bug with reload component after change store
4+
- Fix FormBody. Error in console noPadding and scrollable
5+
- Change call withStore
6+
- Change Upload props logic.
7+
- Not need valuePropName
8+
- Init value struct `{ dataObject: {...} }`
9+
- Dispatch struct `{ dataObject: {...}, file: {...} }`
10+
111
## 0.0.73
212

313
- Add TypeScript to project

dist/components/Base/index.d.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

dist/components/Base/withStore.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/components/UploadFile/UploadFile.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ declare namespace UploadFile {
1616
import PropTypes from "prop-types";
1717
declare namespace defaultProps {
1818
export { noop as requestUploadFile };
19-
const dataObject_1: {};
19+
const dataObject_1: undefined;
2020
export { dataObject_1 as dataObject };
2121
export { noop as onCompletedUpload };
2222
export { noop as onFailedUpload };
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export function withStore(Component: any, antFormItemProps: any): any;
1+
export function withStore(Component: any): any;

dist/components/core/wrappers.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ export interface StoreProps {
3939
export declare const searchWrapper: (Component: React.ComponentType, placeholder: string) => (props: any) => JSX.Element;
4040
export declare const withLabel: (Component: React.ComponentType) => (props: any) => JSX.Element;
4141
export declare const withPlaceholder: (Component: React.ComponentType, placeholder: string) => (props: any) => JSX.Element;
42-
export declare const withStore: <T extends unknown>(Component: React.ComponentType<any>) => (props: any) => JSX.Element;
43-
export declare const withItem: (Component: React.ComponentType) => (props: any) => JSX.Element;
42+
export declare const withStore: (Component: React.ComponentType<any>) => (props: any) => JSX.Element;
43+
export declare const withItem: (Component: React.ComponentType<any>) => (props: any) => JSX.Element;

dist/components/declarative.d.ts

Whitespace-only changes.

dist/components/utils/baseUtils.d.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ export function getValueFromMultiSelect(name: any, keys: any): any;
1010
export function getValueFromSelectTable(rows: any): any;
1111
export function getObjectExcludedProps(object: any, exclude: any): {};
1212
export function notificationError(error: any, message: any): void;
13-
export function dispatchToStore({ dispatch, setDateStore, value, extraData }: {
13+
export function dispatchToStore({ dispatch, setDataStore, value, extraData }: {
1414
dispatch: any;
15-
setDateStore: any;
15+
setDataStore: any;
1616
value: any;
1717
extraData: any;
1818
}): void;
19+
export function dispatchToStoreEx({ dispatch, path, type, value }: {
20+
dispatch: any;
21+
path: any;
22+
type: any;
23+
value: any;
24+
}): void;
1925
export function getSortBy(clientSortBy: any, serverSortBy: any, dataIndex: any): any[];

dist/components/utils/storeUtils.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export declare const getExtraData: (item: {
55
}, props: any) => any;
66
export declare const mapStateToProps: (store: any, ownProps: StoreProps) => any;
77
export declare const mapDispatchToProps: (dispatch: any) => {
8-
setDateStore: (path: any, row: any) => {
8+
setDataStore: (path: any, row: any) => {
99
type: string;
1010
payload: {
1111
path: any;

0 commit comments

Comments
 (0)