antd-management-fast-framework 2.1.11 → 2.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/DataPreviewDrawer/index.d.ts +1 -0
- package/es/components/DrawerExtra/index.d.ts +6 -0
- package/es/components/ElasticityExtraButton/index.d.ts +33 -0
- package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +1 -5
- package/es/components/MobileContainor/MobilePreviewDrawer/index.d.ts +1 -5
- package/es/customConfig/constants.d.ts +6 -0
- package/es/customConfig/index.d.ts +1 -0
- package/es/framework/Common/InternalFlow/index.d.ts +20 -14
- package/es/framework/Common/ReloadActionButton/index.d.ts +12 -0
- package/es/framework/Core/index.d.ts +27 -5
- package/es/framework/DataDrawer/Base/index.d.ts +5 -7
- package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +2 -10
- package/es/framework/DataForm/BaseAddForm/index.d.ts +12 -6
- package/es/framework/DataForm/BaseUpdateForm/index.d.ts +11 -2
- package/es/framework/DataListView/Base/index.d.ts +9 -7
- package/es/framework/DataListView/EmptyCardCollection/index.d.ts +9 -0
- package/es/framework/DataListView/RefreshButton/index.d.ts +12 -0
- package/es/framework/DataListView/ResetButton/index.d.ts +12 -0
- package/es/framework/DataListView/SearchButton/index.d.ts +12 -0
- package/es/framework/DataModal/Base/index.d.ts +0 -6
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +0 -5
- package/es/framework/DataModal/BaseSelectModal/index.d.ts +0 -5
- package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +0 -5
- package/es/framework/DataMultiPageView/MultiPage/index.d.ts +3 -0
- package/es/framework/DataOperation/BaseWindow/index.d.ts +25 -3
- package/es/framework/DataSinglePageView/SinglePage/index.d.ts +2 -0
- package/es/framework/DataSingleView/DataLoad/index.d.ts +0 -5
- package/es/framework/DataTabContainer/index.d.ts +0 -6
- package/es/index.css +1 -1
- package/es/index.js +2 -2
- package/es/modelBuilders/currentOperator.d.ts +1 -0
- package/es/modelBuilders/entrance.d.ts +1 -0
- package/es/modelBuilders/{progressControl.d.ts → progressBarControl.d.ts} +3 -2
- package/es/modelBuilders/schedulingControl.d.ts +1 -0
- package/es/modelBuilders/switchControl.d.ts +57 -0
- package/es/utils/index.d.ts +2 -2
- package/es/utils/progressBarControlAssist.d.ts +10 -0
- package/es/utils/switchControlAssist.d.ts +38 -0
- package/package.json +25 -25
- package/es/modelBuilders/remoteLoadingControl.d.ts +0 -34
- package/es/utils/progressControlAssist.d.ts +0 -10
- package/es/utils/remoteLoadingControlAssist.d.ts +0 -10
|
@@ -12,14 +12,14 @@ export function buildModel(): {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
effects: {
|
|
15
|
-
|
|
15
|
+
start({ alias }: {
|
|
16
16
|
alias: any;
|
|
17
17
|
}, { put }: {
|
|
18
18
|
put: any;
|
|
19
19
|
}): Generator<any, {
|
|
20
20
|
progressing: boolean;
|
|
21
21
|
}, unknown>;
|
|
22
|
-
|
|
22
|
+
stop({ alias }: {
|
|
23
23
|
alias: any;
|
|
24
24
|
}, { put }: {
|
|
25
25
|
put: any;
|
|
@@ -30,5 +30,6 @@ export function buildModel(): {
|
|
|
30
30
|
reducers: {
|
|
31
31
|
reducerRemoteData(state: any, action: any): any;
|
|
32
32
|
reducerNormalData(state: any, action: any): any;
|
|
33
|
+
reducerRemoveKey(state: any, action: any): any;
|
|
33
34
|
};
|
|
34
35
|
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export function buildModel(): {
|
|
2
|
+
namespace: string;
|
|
3
|
+
state: {
|
|
4
|
+
flags: {};
|
|
5
|
+
data: {
|
|
6
|
+
code: number;
|
|
7
|
+
message: string;
|
|
8
|
+
dataSuccess: boolean;
|
|
9
|
+
data: {};
|
|
10
|
+
list: never[];
|
|
11
|
+
extra: {};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
effects: {
|
|
15
|
+
open({ payload, alias }: {
|
|
16
|
+
payload: any;
|
|
17
|
+
alias: any;
|
|
18
|
+
}, { put }: {
|
|
19
|
+
put: any;
|
|
20
|
+
}): Generator<any, {}, unknown>;
|
|
21
|
+
close({ payload, alias }: {
|
|
22
|
+
payload: any;
|
|
23
|
+
alias: any;
|
|
24
|
+
}, { put }: {
|
|
25
|
+
put: any;
|
|
26
|
+
}): Generator<any, {}, unknown>;
|
|
27
|
+
openMulti({ payload, alias }: {
|
|
28
|
+
payload: any;
|
|
29
|
+
alias: any;
|
|
30
|
+
}, { put }: {
|
|
31
|
+
put: any;
|
|
32
|
+
}): Generator<any, {}, unknown>;
|
|
33
|
+
closeMulti({ payload, alias }: {
|
|
34
|
+
payload: any;
|
|
35
|
+
alias: any;
|
|
36
|
+
}, { put }: {
|
|
37
|
+
put: any;
|
|
38
|
+
}): Generator<any, {}, unknown>;
|
|
39
|
+
remove({ payload, alias }: {
|
|
40
|
+
payload: any;
|
|
41
|
+
alias: any;
|
|
42
|
+
}, { put }: {
|
|
43
|
+
put: any;
|
|
44
|
+
}): Generator<any, void, unknown>;
|
|
45
|
+
removeMulti({ payload, alias }: {
|
|
46
|
+
payload: any;
|
|
47
|
+
alias: any;
|
|
48
|
+
}, { put }: {
|
|
49
|
+
put: any;
|
|
50
|
+
}): Generator<any, void, unknown>;
|
|
51
|
+
};
|
|
52
|
+
reducers: {
|
|
53
|
+
reducerRemoteData(state: any, action: any): any;
|
|
54
|
+
reducerNormalData(state: any, action: any): any;
|
|
55
|
+
reducerRemoveKey(state: any, action: any): any;
|
|
56
|
+
};
|
|
57
|
+
};
|
package/es/utils/index.d.ts
CHANGED
|
@@ -7,6 +7,6 @@ export * from "./entranceAssist";
|
|
|
7
7
|
export * from "./interfaceSettingAssist";
|
|
8
8
|
export * from "./interfaceSettingCacheAssist";
|
|
9
9
|
export * from "./metaDataAssist";
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./remoteLoadingControlAssist";
|
|
10
|
+
export * from "./progressBarControlAssist";
|
|
12
11
|
export * from "./schedulingControlAssist";
|
|
12
|
+
export * from "./switchControlAssist";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export namespace switchControlAssist {
|
|
2
|
+
/**
|
|
3
|
+
* check switch
|
|
4
|
+
* @param {object} switchControl switch model
|
|
5
|
+
* @param {string} flag switch flag
|
|
6
|
+
*/
|
|
7
|
+
function check(switchControl: object, flag: string): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* open switch
|
|
10
|
+
* @param {string} flag switch flag
|
|
11
|
+
*/
|
|
12
|
+
function open(flag: string, ...message: any[]): void;
|
|
13
|
+
/**
|
|
14
|
+
* close switch
|
|
15
|
+
* @param {string} flag switch flag
|
|
16
|
+
*/
|
|
17
|
+
function close(flag: string, ...message: any[]): void;
|
|
18
|
+
/**
|
|
19
|
+
* remove switch
|
|
20
|
+
* @param {string} flag switch flag
|
|
21
|
+
*/
|
|
22
|
+
function remove(flag: string, ...message: any[]): void;
|
|
23
|
+
/**
|
|
24
|
+
* open multi switch
|
|
25
|
+
* @param {Array} flags switch flag
|
|
26
|
+
*/
|
|
27
|
+
function openMulti(flags: any[], ...message: any[]): void;
|
|
28
|
+
/**
|
|
29
|
+
* close multi switch
|
|
30
|
+
* @param {Array} flags switch flag
|
|
31
|
+
*/
|
|
32
|
+
function closeMulti(flags: any[], ...message: any[]): void;
|
|
33
|
+
/**
|
|
34
|
+
* remove multi switch
|
|
35
|
+
* @param {Array} flags switch flag
|
|
36
|
+
*/
|
|
37
|
+
function removeMulti(flags: any[], ...message: any[]): void;
|
|
38
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.12",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/kityandhero/antd-management-fast-framework#readme",
|
|
6
6
|
"license": "ISC",
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
"@ant-design/pro-components": "^2.4.4",
|
|
54
54
|
"@ant-design/pro-layout": "^7.10.3",
|
|
55
55
|
"@tanem/react-nprogress": "^5.0.33",
|
|
56
|
-
"@umijs/max": "^4.0.
|
|
57
|
-
"antd": "^5.
|
|
58
|
-
"antd-management-fast-common": "^2.1.
|
|
59
|
-
"antd-management-fast-component": "^2.1.
|
|
60
|
-
"axios": "^1.3.
|
|
56
|
+
"@umijs/max": "^4.0.64",
|
|
57
|
+
"antd": "^5.4.2",
|
|
58
|
+
"antd-management-fast-common": "^2.1.12",
|
|
59
|
+
"antd-management-fast-component": "^2.1.12",
|
|
60
|
+
"axios": "^1.3.5",
|
|
61
61
|
"classnames": "^2.3.2",
|
|
62
62
|
"dayjs": "^1.11.7",
|
|
63
|
-
"easy-soft-dva": "^3.6.
|
|
64
|
-
"easy-soft-utility": "^2.4.
|
|
63
|
+
"easy-soft-dva": "^3.6.159",
|
|
64
|
+
"easy-soft-utility": "^2.4.130",
|
|
65
65
|
"html-react-parser": "^3.0.15",
|
|
66
66
|
"rc-animate": "^3.1.1",
|
|
67
67
|
"rc-queue-anim": "^2.0.0",
|
|
@@ -72,14 +72,14 @@
|
|
|
72
72
|
"react-toastify": "^9.1.2"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@babel/core": "^7.21.
|
|
75
|
+
"@babel/core": "^7.21.4",
|
|
76
76
|
"@babel/eslint-parser": "^7.21.3",
|
|
77
77
|
"@babel/plugin-external-helpers": "^7.18.6",
|
|
78
78
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
79
79
|
"@babel/plugin-proposal-decorators": "^7.21.0",
|
|
80
|
-
"@babel/plugin-syntax-jsx": "^7.
|
|
81
|
-
"@babel/plugin-transform-runtime": "^7.21.
|
|
82
|
-
"@babel/preset-env": "^7.
|
|
80
|
+
"@babel/plugin-syntax-jsx": "^7.21.4",
|
|
81
|
+
"@babel/plugin-transform-runtime": "^7.21.4",
|
|
82
|
+
"@babel/preset-env": "^7.21.4",
|
|
83
83
|
"@babel/preset-react": "^7.18.6",
|
|
84
84
|
"@babel/runtime": "^7.21.0",
|
|
85
85
|
"@commitlint/cli": "^17.5.1",
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
"@commitlint/config-lerna-scopes": "^17.4.2",
|
|
88
88
|
"@commitlint/cz-commitlint": "^17.5.0",
|
|
89
89
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
|
|
90
|
-
"@rollup/plugin-alias": "^
|
|
90
|
+
"@rollup/plugin-alias": "^5.0.0",
|
|
91
91
|
"@rollup/plugin-babel": "6.0.3",
|
|
92
92
|
"@rollup/plugin-buble": "^1.0.2",
|
|
93
|
-
"@rollup/plugin-commonjs": "^24.0
|
|
93
|
+
"@rollup/plugin-commonjs": "^24.1.0",
|
|
94
94
|
"@rollup/plugin-json": "^6.0.0",
|
|
95
|
-
"@rollup/plugin-node-resolve": "^15.0.
|
|
95
|
+
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
96
96
|
"@rollup/plugin-replace": "^5.0.2",
|
|
97
97
|
"@rollup/plugin-url": "^8.0.1",
|
|
98
98
|
"@svgr/rollup": "^7.0.0",
|
|
@@ -101,10 +101,10 @@
|
|
|
101
101
|
"@types/lodash": "^4.14.192",
|
|
102
102
|
"@types/lodash.isequal": "^4.5.6",
|
|
103
103
|
"@types/node": "^18.15.11",
|
|
104
|
-
"@types/react": "^18.0.
|
|
104
|
+
"@types/react": "^18.0.34",
|
|
105
105
|
"@types/react-dom": "^18.0.11",
|
|
106
106
|
"@types/shelljs": "^0.8.11",
|
|
107
|
-
"@typescript-eslint/parser": "^5.
|
|
107
|
+
"@typescript-eslint/parser": "^5.58.0",
|
|
108
108
|
"autoprefixer": "^10.4.14",
|
|
109
109
|
"commitizen": "^4.3.0",
|
|
110
110
|
"conventional-changelog-conventionalcommits": "^5.0.0",
|
|
@@ -112,12 +112,12 @@
|
|
|
112
112
|
"cssnano": "^6.0.0",
|
|
113
113
|
"documentation": "^14.0.1",
|
|
114
114
|
"easy-soft-develop": "^2.0.198",
|
|
115
|
-
"eslint": "^8.
|
|
115
|
+
"eslint": "^8.38.0",
|
|
116
116
|
"eslint-config-airbnb": "^19.0.4",
|
|
117
117
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
118
118
|
"eslint-config-prettier": "^8.8.0",
|
|
119
119
|
"eslint-formatter-pretty": "^5.0.0",
|
|
120
|
-
"eslint-import-resolver-typescript": "^3.5.
|
|
120
|
+
"eslint-import-resolver-typescript": "^3.5.5",
|
|
121
121
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
122
122
|
"eslint-plugin-import": "^2.27.5",
|
|
123
123
|
"eslint-plugin-jest": "^27.2.1",
|
|
@@ -130,13 +130,13 @@
|
|
|
130
130
|
"eslint-plugin-unicorn": "^46.0.0",
|
|
131
131
|
"husky": "^8.0.3",
|
|
132
132
|
"jest": "^29.5.0",
|
|
133
|
-
"lint-staged": "^13.2.
|
|
134
|
-
"npm-check-updates": "^16.
|
|
133
|
+
"lint-staged": "^13.2.1",
|
|
134
|
+
"npm-check-updates": "^16.10.8",
|
|
135
135
|
"prettier": "^2.8.7",
|
|
136
136
|
"prettier-plugin-organize-imports": "^3",
|
|
137
137
|
"prettier-plugin-packagejson": "^2",
|
|
138
138
|
"prop-types": "^15.8.1",
|
|
139
|
-
"rimraf": "^
|
|
139
|
+
"rimraf": "^5.0.0",
|
|
140
140
|
"rollup": "^3.20.2",
|
|
141
141
|
"rollup-plugin-copy": "^3.4.0",
|
|
142
142
|
"rollup-plugin-dts": "^5.3.0",
|
|
@@ -146,11 +146,11 @@
|
|
|
146
146
|
"rollup-plugin-serve": "^2.0.2",
|
|
147
147
|
"rollup-plugin-terser": "^7.0.2",
|
|
148
148
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
149
|
-
"stylelint": "^15.
|
|
149
|
+
"stylelint": "^15.4.0",
|
|
150
150
|
"stylelint-config-css-modules": "^4.2.0",
|
|
151
151
|
"stylelint-config-prettier": "^9.0.5",
|
|
152
|
-
"stylelint-config-standard": "^
|
|
152
|
+
"stylelint-config-standard": "^32.0.0",
|
|
153
153
|
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
|
|
154
|
-
"typescript": "^5.0.
|
|
154
|
+
"typescript": "^5.0.4"
|
|
155
155
|
}
|
|
156
156
|
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export function buildModel(): {
|
|
2
|
-
namespace: string;
|
|
3
|
-
state: {
|
|
4
|
-
remoteLoading: boolean;
|
|
5
|
-
data: {
|
|
6
|
-
code: number;
|
|
7
|
-
message: string;
|
|
8
|
-
dataSuccess: boolean;
|
|
9
|
-
data: {};
|
|
10
|
-
list: never[];
|
|
11
|
-
extra: {};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
effects: {
|
|
15
|
-
startRemoteLoading({ alias }: {
|
|
16
|
-
alias: any;
|
|
17
|
-
}, { put }: {
|
|
18
|
-
put: any;
|
|
19
|
-
}): Generator<any, {
|
|
20
|
-
remoteLoading: boolean;
|
|
21
|
-
}, unknown>;
|
|
22
|
-
stopRemoteLoading({ alias }: {
|
|
23
|
-
alias: any;
|
|
24
|
-
}, { put }: {
|
|
25
|
-
put: any;
|
|
26
|
-
}): Generator<any, {
|
|
27
|
-
remoteLoading: boolean;
|
|
28
|
-
}, unknown>;
|
|
29
|
-
};
|
|
30
|
-
reducers: {
|
|
31
|
-
reducerRemoteData(state: any, action: any): any;
|
|
32
|
-
reducerNormalData(state: any, action: any): any;
|
|
33
|
-
};
|
|
34
|
-
};
|