antd-management-fast-framework 2.8.0 → 2.8.2

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.
@@ -0,0 +1,43 @@
1
+ export function buildModel(): {
2
+ namespace: string;
3
+ state: {
4
+ data: {
5
+ code: number;
6
+ message: string;
7
+ dataSuccess: boolean;
8
+ data: {};
9
+ list: never[];
10
+ extra: {};
11
+ };
12
+ };
13
+ effects: {
14
+ getActiveKey({ payload }: {
15
+ payload: any;
16
+ }, { select }: {
17
+ select: any;
18
+ }): Generator<any, any, unknown>;
19
+ setActiveKey({ payload, alias }: {
20
+ payload: any;
21
+ alias: any;
22
+ }, { put }: {
23
+ put: any;
24
+ }): Generator<any, {}, unknown>;
25
+ remove({ payload, alias }: {
26
+ payload: any;
27
+ alias: any;
28
+ }, { put }: {
29
+ put: any;
30
+ }): Generator<any, void, unknown>;
31
+ removeMulti({ payload, alias }: {
32
+ payload: any;
33
+ alias: any;
34
+ }, { put }: {
35
+ put: any;
36
+ }): Generator<any, void, unknown>;
37
+ };
38
+ reducers: {
39
+ reducerRemoteData(state: any, action: any): any;
40
+ reducerNormalData(state: any, action: any): any;
41
+ reducerRemoveKey(state: any, action: any): any;
42
+ };
43
+ };
@@ -6,8 +6,10 @@ export * from "./currentOperatorAssist";
6
6
  export * from "./entranceAssist";
7
7
  export * from "./interfaceSettingAssist";
8
8
  export * from "./interfaceSettingCacheAssist";
9
+ export * from "./menuControlAssist";
9
10
  export * from "./metaDataAssist";
10
11
  export * from "./progressBarControlAssist";
11
12
  export * from "./reloadAnimalPromptControlAssist";
12
13
  export * from "./schedulingControlAssist";
13
14
  export * from "./switchControlAssist";
15
+ export * from "./tabControlAssist";
@@ -0,0 +1,22 @@
1
+ export namespace menuControlAssist {
2
+ /**
3
+ * get menu active key
4
+ * @param {string} flag menu flag
5
+ */
6
+ function getActiveKey(flag: string, ...message: any[]): any;
7
+ /**
8
+ * set menu active key
9
+ * @param {string} flag menu flag
10
+ */
11
+ function setActiveKey(flag: string, name: any, ...message: any[]): void;
12
+ /**
13
+ * remove menu
14
+ * @param {string} flag menu flag
15
+ */
16
+ function remove(flag: string, ...message: any[]): void;
17
+ /**
18
+ * remove multi menu
19
+ * @param {Array} flags menu flag
20
+ */
21
+ function removeMulti(flags: any[], ...message: any[]): void;
22
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-management-fast-framework",
3
- "version": "2.8.0",
3
+ "version": "2.8.2",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/kityandhero/antd-management-fast-framework#readme",
6
6
  "license": "ISC",
@@ -50,18 +50,18 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@ant-design/icons": "^5.1.4",
53
- "@ant-design/pro-components": "^2.5.11",
54
- "@ant-design/pro-layout": "^7.14.8",
55
- "@tanem/react-nprogress": "^5.0.42",
53
+ "@ant-design/pro-components": "^2.6.2",
54
+ "@ant-design/pro-layout": "^7.15.2",
55
+ "@tanem/react-nprogress": "^5.0.43",
56
56
  "@umijs/max": "^4.0.71",
57
- "antd": "^5.6.1",
58
- "antd-management-fast-common": "^2.1.27",
59
- "antd-management-fast-component": "^2.4.0",
57
+ "antd": "^5.6.3",
58
+ "antd-management-fast-common": "^2.1.28",
59
+ "antd-management-fast-component": "^2.5.0",
60
60
  "axios": "^1.4.0",
61
61
  "classnames": "^2.3.2",
62
62
  "dayjs": "^1.11.8",
63
- "easy-soft-dva": "^3.6.170",
64
- "easy-soft-utility": "^2.4.141",
63
+ "easy-soft-dva": "^3.7.0",
64
+ "easy-soft-utility": "^2.5.0",
65
65
  "html-react-parser": "^4.0.0",
66
66
  "rc-animate": "^3.1.1",
67
67
  "rc-queue-anim": "^2.0.0",
@@ -84,15 +84,15 @@
84
84
  "@babel/preset-env": "^7.22.5",
85
85
  "@babel/preset-react": "^7.22.5",
86
86
  "@babel/runtime": "^7.22.5",
87
- "@commitlint/cli": "^17.6.5",
88
- "@commitlint/config-conventional": "^17.6.5",
89
- "@commitlint/config-lerna-scopes": "^17.6.3",
87
+ "@commitlint/cli": "^17.6.6",
88
+ "@commitlint/config-conventional": "^17.6.6",
89
+ "@commitlint/config-lerna-scopes": "^17.6.6",
90
90
  "@commitlint/cz-commitlint": "^17.5.0",
91
91
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
92
92
  "@rollup/plugin-alias": "^5.0.0",
93
93
  "@rollup/plugin-babel": "6.0.3",
94
94
  "@rollup/plugin-buble": "^1.0.2",
95
- "@rollup/plugin-commonjs": "^25.0.1",
95
+ "@rollup/plugin-commonjs": "^25.0.2",
96
96
  "@rollup/plugin-json": "^6.0.0",
97
97
  "@rollup/plugin-node-resolve": "^15.1.0",
98
98
  "@rollup/plugin-replace": "^5.0.2",
@@ -102,14 +102,14 @@
102
102
  "@types/jest": "^29.5.2",
103
103
  "@types/lodash": "^4.14.195",
104
104
  "@types/lodash.isequal": "^4.5.6",
105
- "@types/node": "^20.3.1",
106
- "@types/react": "^18.2.12",
107
- "@types/react-dom": "^18.2.5",
105
+ "@types/node": "^20.3.2",
106
+ "@types/react": "^18.2.14",
107
+ "@types/react-dom": "^18.2.6",
108
108
  "@types/shelljs": "^0.8.12",
109
- "@typescript-eslint/parser": "^5.59.11",
109
+ "@typescript-eslint/parser": "^5.60.1",
110
110
  "autoprefixer": "^10.4.14",
111
111
  "commitizen": "^4.3.0",
112
- "conventional-changelog-conventionalcommits": "^6.0.0",
112
+ "conventional-changelog-conventionalcommits": "^6.1.0",
113
113
  "cross-env": "^7.0.3",
114
114
  "cssnano": "^6.0.1",
115
115
  "documentation": "^14.0.2",
@@ -122,7 +122,7 @@
122
122
  "eslint-import-resolver-typescript": "^3.5.5",
123
123
  "eslint-plugin-eslint-comments": "^3.2.0",
124
124
  "eslint-plugin-import": "^2.27.5",
125
- "eslint-plugin-jest": "^27.2.1",
125
+ "eslint-plugin-jest": "^27.2.2",
126
126
  "eslint-plugin-jsx-a11y": "^6.7.1",
127
127
  "eslint-plugin-prettier": "^4.2.1",
128
128
  "eslint-plugin-promise": "^6.1.1",
@@ -132,14 +132,14 @@
132
132
  "eslint-plugin-unicorn": "^47.0.0",
133
133
  "husky": "^8.0.3",
134
134
  "jest": "^29.5.0",
135
- "lint-staged": "^13.2.2",
136
- "npm-check-updates": "^16.10.12",
135
+ "lint-staged": "^13.2.3",
136
+ "npm-check-updates": "^16.10.13",
137
137
  "prettier": "^2.8.8",
138
138
  "prettier-plugin-organize-imports": "^3.2.2",
139
139
  "prettier-plugin-packagejson": "^2.4.3",
140
140
  "prop-types": "^15.8.1",
141
141
  "rimraf": "^5.0.1",
142
- "rollup": "^3.25.1",
142
+ "rollup": "^3.25.3",
143
143
  "rollup-plugin-copy": "^3.4.0",
144
144
  "rollup-plugin-dts": "^5.3.0",
145
145
  "rollup-plugin-livereload": "^2.0.5",
@@ -147,12 +147,12 @@
147
147
  "rollup-plugin-postcss": "^4.0.2",
148
148
  "rollup-plugin-serve": "^2.0.2",
149
149
  "rollup-plugin-terser": "^7.0.2",
150
- "rollup-plugin-typescript2": "^0.34.1",
151
- "stylelint": "^15.8.0",
150
+ "rollup-plugin-typescript2": "^0.35.0",
151
+ "stylelint": "^15.9.0",
152
152
  "stylelint-config-css-modules": "^4.2.0",
153
153
  "stylelint-config-prettier": "^9.0.5",
154
154
  "stylelint-config-standard": "^33.0.0",
155
155
  "stylelint-declaration-block-no-ignored-properties": "^2.7.0",
156
- "typescript": "^5.1.3"
156
+ "typescript": "^5.1.5"
157
157
  }
158
158
  }