antd-management-fast-framework 1.12.72 → 1.12.75

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.
@@ -204,7 +204,10 @@ function _actionCore() {
204
204
  }
205
205
 
206
206
  if ((0, _tools.isFunction)(beforeProcess)) {
207
- beforeProcess();
207
+ beforeProcess({
208
+ target: target,
209
+ handleData: handleData
210
+ });
208
211
  }
209
212
 
210
213
  if (setProgressingFirst) {
@@ -215,9 +218,11 @@ function _actionCore() {
215
218
  dispatchComplete: false
216
219
  }, function () {
217
220
  delay <= 0 ? remoteAction({
221
+ target: target,
218
222
  dispatch: dispatch,
219
223
  api: api,
220
224
  params: params,
225
+ handleData: handleData,
221
226
  apiDataConvert: apiDataConvert,
222
227
  successMessage: successMessage,
223
228
  successMessageBuilder: successMessageBuilder,
@@ -228,9 +233,11 @@ function _actionCore() {
228
233
  }) : setTimeout(function () {
229
234
  // 延迟一定时间,优化界面呈现
230
235
  remoteAction({
236
+ target: target,
231
237
  dispatch: dispatch,
232
238
  api: api,
233
239
  params: params,
240
+ handleData: handleData,
234
241
  apiDataConvert: apiDataConvert,
235
242
  successMessage: successMessage,
236
243
  successMessageBuilder: successMessageBuilder,
@@ -248,9 +255,11 @@ function _actionCore() {
248
255
  dispatchComplete: false
249
256
  }, function () {
250
257
  delay <= 0 ? remoteAction({
258
+ target: target,
251
259
  dispatch: dispatch,
252
260
  api: api,
253
261
  params: params,
262
+ handleData: handleData,
254
263
  apiDataConvert: apiDataConvert,
255
264
  successMessage: successMessage,
256
265
  successMessageBuilder: successMessageBuilder,
@@ -261,9 +270,11 @@ function _actionCore() {
261
270
  }) : setTimeout(function () {
262
271
  // 延迟一定时间,优化界面呈现
263
272
  remoteAction({
273
+ target: target,
264
274
  dispatch: dispatch,
265
275
  api: api,
266
276
  params: params,
277
+ handleData: handleData,
267
278
  apiDataConvert: apiDataConvert,
268
279
  successMessage: successMessage,
269
280
  successMessageBuilder: successMessageBuilder,
@@ -287,9 +298,11 @@ function _actionCore() {
287
298
  }
288
299
 
289
300
  function remoteAction(_ref3) {
290
- var dispatch = _ref3.dispatch,
301
+ var target = _ref3.target,
302
+ dispatch = _ref3.dispatch,
291
303
  api = _ref3.api,
292
304
  params = _ref3.params,
305
+ handleData = _ref3.handleData,
293
306
  apiDataConvert = _ref3.apiDataConvert,
294
307
  successMessage = _ref3.successMessage,
295
308
  successMessageBuilder = _ref3.successMessageBuilder,
@@ -374,7 +387,10 @@ function remoteAction(_ref3) {
374
387
  });
375
388
 
376
389
  if ((0, _tools.isFunction)(completeProcess)) {
377
- completeProcess();
390
+ completeProcess({
391
+ target: target,
392
+ handleData: handleData
393
+ });
378
394
  }
379
395
  });
380
396
  }
@@ -479,11 +479,15 @@ export namespace iconCollection {
479
479
  const help_1: JSX.Element;
480
480
  export { help_1 as help };
481
481
  export const add: JSX.Element;
482
+ export const plus: JSX.Element;
482
483
  export const addCircle: JSX.Element;
484
+ export const plusCircle: JSX.Element;
483
485
  export const reload: JSX.Element;
484
486
  export const edit: JSX.Element;
485
487
  export const enable: JSX.Element;
486
488
  export const disable: JSX.Element;
489
+ export const playCircle: JSX.Element;
490
+ export const pauseCircle: JSX.Element;
487
491
  const _delete: JSX.Element;
488
492
  export { _delete as delete };
489
493
  export const clock: JSX.Element;
@@ -579,4 +583,5 @@ export namespace iconCollection {
579
583
  export const rollback: JSX.Element;
580
584
  export const snippets: JSX.Element;
581
585
  export const compress: JSX.Element;
586
+ export const minusCircle: JSX.Element;
582
587
  }
@@ -920,11 +920,15 @@ exports.mobileTypeCollection = mobileTypeCollection;
920
920
  var iconCollection = {
921
921
  help: /*#__PURE__*/_react.default.createElement(_icons.InfoCircleOutlined, null),
922
922
  add: /*#__PURE__*/_react.default.createElement(_icons.PlusOutlined, null),
923
+ plus: /*#__PURE__*/_react.default.createElement(_icons.PlusOutlined, null),
923
924
  addCircle: /*#__PURE__*/_react.default.createElement(_icons.PlusCircleOutlined, null),
925
+ plusCircle: /*#__PURE__*/_react.default.createElement(_icons.PlusCircleOutlined, null),
924
926
  reload: /*#__PURE__*/_react.default.createElement(_icons.ReloadOutlined, null),
925
927
  edit: /*#__PURE__*/_react.default.createElement(_icons.EditOutlined, null),
926
928
  enable: /*#__PURE__*/_react.default.createElement(_icons.PlayCircleOutlined, null),
927
929
  disable: /*#__PURE__*/_react.default.createElement(_icons.PauseCircleOutlined, null),
930
+ playCircle: /*#__PURE__*/_react.default.createElement(_icons.PlayCircleOutlined, null),
931
+ pauseCircle: /*#__PURE__*/_react.default.createElement(_icons.PauseCircleOutlined, null),
928
932
  delete: /*#__PURE__*/_react.default.createElement(_icons.DeleteOutlined, null),
929
933
  clock: /*#__PURE__*/_react.default.createElement(_icons.ClockCircleOutlined, null),
930
934
  close: /*#__PURE__*/_react.default.createElement(_icons.CloseCircleOutlined, null),
@@ -1011,7 +1015,8 @@ var iconCollection = {
1011
1015
  insertRowRight: /*#__PURE__*/_react.default.createElement(_icons.InsertRowRightOutlined, null),
1012
1016
  rollback: /*#__PURE__*/_react.default.createElement(_icons.RollbackOutlined, null),
1013
1017
  snippets: /*#__PURE__*/_react.default.createElement(_icons.SnippetsOutlined, null),
1014
- compress: /*#__PURE__*/_react.default.createElement(_icons.CompressOutlined, null)
1018
+ compress: /*#__PURE__*/_react.default.createElement(_icons.CompressOutlined, null),
1019
+ minusCircle: /*#__PURE__*/_react.default.createElement(_icons.MinusCircleOutlined, null)
1015
1020
  };
1016
1021
  /**
1017
1022
  * 占位函数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-management-fast-framework",
3
- "version": "1.12.72",
3
+ "version": "1.12.75",
4
4
  "description": "antd-management-fast-framework",
5
5
  "keywords": [
6
6
  "antd-management-fast-framework"
@@ -45,20 +45,20 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@ant-design/icons": "^4.7.0",
48
- "@ant-design/pro-components": "1.1.3",
49
- "@ant-design/pro-layout": "^6.38.6",
48
+ "@ant-design/pro-components": "1.1.5",
49
+ "@ant-design/pro-layout": "^6.38.8",
50
50
  "@antv/data-set": "^0.11.8",
51
51
  "@antv/l7": "^2.8.41",
52
52
  "@antv/l7-maps": "^2.8.41",
53
53
  "@babel/preset-typescript": "^7.17.12",
54
54
  "@tinymce/tinymce-react": "^4.1.0",
55
- "antd": "^4.20.7",
55
+ "antd": "^4.21.0",
56
56
  "array-move": "^4.0.0",
57
- "bizcharts": "^4.1.16",
57
+ "bizcharts": "^4.1.19",
58
58
  "browserslist": "^4.20.3",
59
59
  "butterfly-dag": "^4.2.9",
60
60
  "butterfly-react": "^1.0.0",
61
- "caniuse-lite": "^1.0.30001344",
61
+ "caniuse-lite": "^1.0.30001346",
62
62
  "classnames": "^2.3.1",
63
63
  "copy-to-clipboard": "^3.3.1",
64
64
  "enquire-js": "^0.2.1",
@@ -79,7 +79,7 @@
79
79
  "path-to-regexp": "^6.2.1",
80
80
  "postcss-less": "^6.0.0",
81
81
  "prop-types": "^15.8.1",
82
- "qs": "^6.10.3",
82
+ "qs": "^6.10.5",
83
83
  "queue": "^6.0.2",
84
84
  "randomcolor": "^0.6.2",
85
85
  "rc-animate": "^3.1.1",
@@ -123,35 +123,35 @@
123
123
  "@babel/preset-env": "^7.18.2",
124
124
  "@babel/preset-react": "^7.17.12",
125
125
  "@babel/runtime": "^7.18.3",
126
- "@commitlint/cli": "^17.0.1",
127
- "@commitlint/config-conventional": "^17.0.0",
128
- "@commitlint/config-lerna-scopes": "^17.0.0",
126
+ "@commitlint/cli": "^17.0.2",
127
+ "@commitlint/config-conventional": "^17.0.2",
128
+ "@commitlint/config-lerna-scopes": "^17.0.2",
129
129
  "@commitlint/cz-commitlint": "^17.0.0",
130
130
  "@testing-library/react": "^13.3.0",
131
131
  "@testing-library/react-hooks": "^8.0.0",
132
132
  "@types/express": "^4.17.13",
133
133
  "@types/history": "^4.7.11",
134
- "@types/jest": "^27.5.1",
134
+ "@types/jest": "^28.1.1",
135
135
  "@types/lodash": "^4.14.182",
136
136
  "@types/lodash.debounce": "^4.0.7",
137
137
  "@types/lodash.isequal": "^4.5.6",
138
- "@types/node": "^17.0.38",
138
+ "@types/node": "^17.0.40",
139
139
  "@types/nprogress": "^0.2.0",
140
140
  "@types/numeral": "^2.0.2",
141
141
  "@types/randomcolor": "^0.5.6",
142
- "@types/react": "^18.0.10",
142
+ "@types/react": "^18.0.12",
143
143
  "@types/react-document-title": "^2.0.5",
144
144
  "@types/react-helmet": "^6.1.5",
145
145
  "@types/uuid": "^8.3.4",
146
- "@typescript-eslint/eslint-plugin": "^5.27.0",
146
+ "@typescript-eslint/eslint-plugin": "^5.27.1",
147
147
  "@umijs/fabric": "^2.11.1",
148
148
  "@umijs/plugin-blocks": "^2.2.2",
149
149
  "@umijs/plugin-esbuild": "^1.4.1",
150
150
  "@umijs/preset-ant-design-pro": "^1.3.3",
151
151
  "@umijs/preset-react": "^2.1.3",
152
152
  "@umijs/preset-ui": "^2.2.9",
153
- "@umijs/test": "^3.5.24",
154
- "@umijs/test-utils": "^3.5.24",
153
+ "@umijs/test": "^3.5.25",
154
+ "@umijs/test-utils": "^3.5.25",
155
155
  "babel-cli": "^6.26.0",
156
156
  "babel-plugin-import": "^1.13.5",
157
157
  "babel-preset-env": "^1.7.0",
@@ -165,20 +165,20 @@
165
165
  "cross-port-killer": "^1.4.0",
166
166
  "detect-installer": "^1.0.2",
167
167
  "enzyme": "^3.11.0",
168
- "eslint": "^8.16.0",
168
+ "eslint": "^8.17.0",
169
169
  "eslint-config-airbnb": "^19.0.4",
170
170
  "eslint-config-airbnb-typescript": "^17.0.0",
171
171
  "eslint-config-prettier": "^8.5.0",
172
172
  "eslint-plugin-eslint-comments": "^3.2.0",
173
173
  "eslint-plugin-import": "^2.26.0",
174
- "eslint-plugin-jest": "^26.4.6",
174
+ "eslint-plugin-jest": "^26.5.3",
175
175
  "eslint-plugin-jsx-a11y": "^6.5.1",
176
176
  "eslint-plugin-prettier": "^4.0.0",
177
177
  "eslint-plugin-react": "^7.30.0",
178
178
  "eslint-plugin-react-hooks": "^4.5.0",
179
179
  "eslint-plugin-unicorn": "^42.0.0",
180
180
  "express": "^4.18.1",
181
- "father-build": "^1.22.2",
181
+ "father-build": "^1.22.3",
182
182
  "gh-pages": "^4.0.0",
183
183
  "husky": "^8.0.1",
184
184
  "import-sort-cli": "^6.0.0",
@@ -189,16 +189,16 @@
189
189
  "jest-puppeteer": "^6.1.0",
190
190
  "jsdom": "^19.0.0",
191
191
  "jsdom-global": "^3.0.2",
192
- "lint-staged": "^12.5.0",
192
+ "lint-staged": "^13.0.0",
193
193
  "mockjs": "^1.1.0",
194
- "node-fetch": "^3.2.4",
195
- "npm-check-updates": "^13.0.3",
194
+ "node-fetch": "^3.2.5",
195
+ "npm-check-updates": "^13.1.1",
196
196
  "postcss": "^8.4.14",
197
197
  "postcss-less": "^6.0.0",
198
198
  "prettier": "^2.6.2",
199
199
  "pro-download": "1.0.1",
200
- "puppeteer": "^14.1.2",
201
- "puppeteer-core": "^14.1.2",
200
+ "puppeteer": "^14.2.1",
201
+ "puppeteer-core": "^14.2.1",
202
202
  "react-test-renderer": "^17.0.2",
203
203
  "redbox-react": "^1.6.0",
204
204
  "rimraf": "^3.0.2",
@@ -209,8 +209,8 @@
209
209
  "stylelint-config-standard": "^25.0.0",
210
210
  "stylelint-declaration-block-no-ignored-properties": "^2.5.0",
211
211
  "test-umi-plugin": "^0.1.0",
212
- "typescript": "^4.7.2",
213
- "umi": "^3.5.24",
212
+ "typescript": "^4.7.3",
213
+ "umi": "^3.5.25",
214
214
  "umi-plugin-custom-extra": "^1.0.12"
215
215
  },
216
216
  "filesOther": [
@@ -221,7 +221,7 @@
221
221
  "src/framework",
222
222
  "src/utils"
223
223
  ],
224
- "gitHead": "f1522f45eabeb108cd5fe5860093feea50734fa5",
224
+ "gitHead": "b903e921eb912ca965c9b80bf7d83139d32412da",
225
225
  "gitHooks": {
226
226
  "pre-commit": "lint-staged"
227
227
  }