antd-management-fast-framework 2.11.71 → 2.11.77
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/MenuWrapper/index.d.ts +1 -1
- package/es/components/PageExtraWrapper/index.d.ts +1 -1
- package/es/components/ShortcutNavigation/index.d.ts +9 -0
- package/es/components/index.d.ts +1 -0
- package/es/framework/Common/InternalSwitchoverFlow/index.d.ts +2 -2
- package/es/framework/DataModal/Base/index.d.ts +2 -4
- package/es/framework/DataModal/BaseFormModal/index.d.ts +9 -0
- package/es/framework/DataModal/BaseLoadModal/index.d.ts +2 -2
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +2 -2
- package/es/index.js +2 -2
- package/es/modelBuilders/shortcutControl.d.ts +33 -0
- package/es/utils/interfaceSettingAssist.d.ts +3 -1
- package/es/utils/shortcutControlAssist.d.ts +12 -0
- package/package.json +16 -16
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export function buildModel(): {
|
|
2
|
+
namespace: string;
|
|
3
|
+
state: {
|
|
4
|
+
latestKey: string;
|
|
5
|
+
listData: never[];
|
|
6
|
+
data: {
|
|
7
|
+
code: number;
|
|
8
|
+
message: string;
|
|
9
|
+
dataSuccess: boolean;
|
|
10
|
+
data: {};
|
|
11
|
+
list: never[];
|
|
12
|
+
extra: {};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
effects: {
|
|
16
|
+
pushLatestKey({ payload, alias }: {
|
|
17
|
+
payload: any;
|
|
18
|
+
alias: any;
|
|
19
|
+
}, { put }: {
|
|
20
|
+
put: any;
|
|
21
|
+
}): Generator<any, any, unknown>;
|
|
22
|
+
pushLatestData({ payload, alias }: {
|
|
23
|
+
payload: any;
|
|
24
|
+
alias: any;
|
|
25
|
+
}, { put }: {
|
|
26
|
+
put: any;
|
|
27
|
+
}): Generator<any, any, unknown>;
|
|
28
|
+
};
|
|
29
|
+
reducers: {
|
|
30
|
+
reducerLatestKey(state: any, action: any): any;
|
|
31
|
+
reducerLatestData(state: any, action: any): any;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -56,7 +56,9 @@ export function mergeLayoutSetting({ logo, title, water, footerLinks, initialSta
|
|
|
56
56
|
collapsedShowTitle?: boolean | undefined;
|
|
57
57
|
type?: string | undefined;
|
|
58
58
|
};
|
|
59
|
-
menuProps: {
|
|
59
|
+
menuProps: {
|
|
60
|
+
onClick: (o: any) => void;
|
|
61
|
+
};
|
|
60
62
|
waterMarkProps: {
|
|
61
63
|
content?: undefined;
|
|
62
64
|
} | {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export namespace shortcutControlAssist {
|
|
2
|
+
/**
|
|
3
|
+
* set shortcut latest key
|
|
4
|
+
* @param {string} key shortcut key
|
|
5
|
+
*/
|
|
6
|
+
function pushLatestKey(key: string, ...message: any[]): void;
|
|
7
|
+
/**
|
|
8
|
+
* set shortcut latest data
|
|
9
|
+
* @param {Array} listData menu list Data
|
|
10
|
+
*/
|
|
11
|
+
function pushLatestData(listData: any[]): void;
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.77",
|
|
4
4
|
"description": "antd-management-fast-framework",
|
|
5
5
|
"homepage": "https://github.com/kityandhero/antd-management-fast-framework#readme",
|
|
6
6
|
"license": "ISC",
|
|
@@ -50,19 +50,19 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@ant-design/icons": "^5.2.6",
|
|
53
|
-
"@ant-design/pro-components": "^2.6.
|
|
54
|
-
"@ant-design/pro-layout": "^7.17.
|
|
53
|
+
"@ant-design/pro-components": "^2.6.35",
|
|
54
|
+
"@ant-design/pro-layout": "^7.17.13",
|
|
55
55
|
"@tanem/react-nprogress": "^5.0.51",
|
|
56
56
|
"@umijs/max": "^4.0.87",
|
|
57
|
-
"antd": "^5.
|
|
58
|
-
"antd-management-fast-common": "^2.6.
|
|
59
|
-
"antd-management-fast-component": "^2.6.
|
|
57
|
+
"antd": "^5.11.0",
|
|
58
|
+
"antd-management-fast-common": "^2.6.42",
|
|
59
|
+
"antd-management-fast-component": "^2.6.61",
|
|
60
60
|
"axios": "^1.6.0",
|
|
61
61
|
"classnames": "^2.3.2",
|
|
62
62
|
"dayjs": "^1.11.10",
|
|
63
|
-
"easy-soft-dva": "^3.9.
|
|
64
|
-
"easy-soft-utility": "^2.7.
|
|
65
|
-
"html-react-parser": "^5.0.
|
|
63
|
+
"easy-soft-dva": "^3.9.21",
|
|
64
|
+
"easy-soft-utility": "^2.7.23",
|
|
65
|
+
"html-react-parser": "^5.0.6",
|
|
66
66
|
"rc-animate": "^3.1.1",
|
|
67
67
|
"rc-queue-anim": "^2.0.0",
|
|
68
68
|
"react": "^18.2.0",
|
|
@@ -103,11 +103,11 @@
|
|
|
103
103
|
"@types/jest": "^29.5.7",
|
|
104
104
|
"@types/lodash": "^4.14.200",
|
|
105
105
|
"@types/lodash.isequal": "^4.5.7",
|
|
106
|
-
"@types/node": "^20.8.
|
|
107
|
-
"@types/react": "^18.2.
|
|
106
|
+
"@types/node": "^20.8.10",
|
|
107
|
+
"@types/react": "^18.2.36",
|
|
108
108
|
"@types/react-dom": "^18.2.14",
|
|
109
109
|
"@types/shelljs": "^0.8.14",
|
|
110
|
-
"@typescript-eslint/parser": "^6.
|
|
110
|
+
"@typescript-eslint/parser": "^6.10.0",
|
|
111
111
|
"autoprefixer": "^10.4.16",
|
|
112
112
|
"babel-jest": "^29.7.0",
|
|
113
113
|
"commitizen": "^4.3.0",
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
"cross-env": "^7.0.3",
|
|
116
116
|
"cssnano": "^6.0.1",
|
|
117
117
|
"documentation": "^14.0.2",
|
|
118
|
-
"easy-soft-develop": "^2.1.
|
|
119
|
-
"eslint": "^8.
|
|
118
|
+
"easy-soft-develop": "^2.1.46",
|
|
119
|
+
"eslint": "^8.53.0",
|
|
120
120
|
"eslint-config-airbnb": "^19.0.4",
|
|
121
121
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
122
122
|
"eslint-config-prettier": "^9.0.0",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
126
126
|
"eslint-plugin-import": "^2.29.0",
|
|
127
127
|
"eslint-plugin-jest": "^27.6.0",
|
|
128
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
128
|
+
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
129
129
|
"eslint-plugin-prettier": "^5.0.1",
|
|
130
130
|
"eslint-plugin-promise": "^6.1.1",
|
|
131
131
|
"eslint-plugin-react": "^7.33.2",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"prettier-plugin-packagejson": "^2.4.6",
|
|
142
142
|
"prop-types": "^15.8.1",
|
|
143
143
|
"rimraf": "^5.0.5",
|
|
144
|
-
"rollup": "^4.
|
|
144
|
+
"rollup": "^4.3.0",
|
|
145
145
|
"rollup-plugin-copy": "^3.5.0",
|
|
146
146
|
"rollup-plugin-dts": "^6.1.0",
|
|
147
147
|
"rollup-plugin-livereload": "^2.0.5",
|