@zat-design/sisyphus-react 3.8.0-beat.1 → 3.8.0-beat.10
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/ProAction/index.js +1 -1
- package/es/ProDownload/index.js +3 -3
- package/es/ProDownload/utils.js +3 -3
- package/es/ProDrawerForm/components/ProDrawer/index.js +4 -4
- package/es/ProDrawerForm/components/ProModal/index.js +3 -3
- package/es/ProEditLabel/index.js +3 -3
- package/es/ProEditTable/components/ActionButton/index.js +3 -3
- package/es/ProEditTable/components/RenderField/ListChangedWrapper.js +7 -4
- package/es/ProEditTable/components/RenderField/index.js +7 -5
- package/es/ProEditTable/components/RenderToolbar/index.js +1 -1
- package/es/ProEditTable/utils/config.js +2 -2
- package/es/ProEditTable/utils/index.js +5 -5
- package/es/ProEditTable/utils/tools.js +1 -1
- package/es/ProEnum/hooks/useEnumRequest.js +2 -2
- package/es/ProEnum/index.js +1 -1
- package/es/ProForm/components/combination/FormList/components/ActionButton.js +2 -2
- package/es/ProForm/components/combination/FormList/components/BlockTitle.js +1 -1
- package/es/ProForm/components/combination/FormList/components/ToolbarButton.js +1 -1
- package/es/ProForm/components/combination/FormList/utils.js +1 -1
- package/es/ProForm/components/combination/Group/component/ComRender.js +1 -1
- package/es/ProForm/components/combination/ProCascader/index.js +6 -3
- package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +1 -1
- package/es/ProForm/components/combination/ProModalSelect/index.js +12 -6
- package/es/ProForm/components/combination/ProModalSelect/propsType.d.ts +1 -0
- package/es/ProForm/components/old/ProAddress/index.js +1 -1
- package/es/ProForm/components/render/ChangedWrapper.js +4 -2
- package/es/ProForm/components/render/ConfirmWrapper.js +1 -1
- package/es/ProForm/components/render/Render.js +4 -3
- package/es/ProForm/index.js +1 -1
- package/es/ProForm/utils/useForm.js +1 -1
- package/es/ProStep/components/Listener/index.js +1 -1
- package/es/ProStep/index.js +3 -3
- package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.js +2 -2
- package/es/ProTable/hooks/useAntdTable.js +3 -3
- package/es/ProTable/index.js +2 -2
- package/es/ProTree/components/ProTree.js +1 -1
- package/es/ProTree/components/ProTreeSelect/index.js +13 -0
- package/es/ProTree/components/Tree.js +1 -1
- package/es/ProUpload/components/ImageRender.js +1 -1
- package/es/ProViewer/index.js +2 -2
- package/es/old/ProEditableTable/index.js +4 -4
- package/lib/ProAction/index.js +1 -1
- package/lib/ProDownload/index.js +3 -3
- package/lib/ProDownload/utils.js +3 -3
- package/lib/ProDrawerForm/components/ProDrawer/index.js +4 -4
- package/lib/ProDrawerForm/components/ProModal/index.js +3 -3
- package/lib/ProEditLabel/index.js +3 -3
- package/lib/ProEditTable/components/ActionButton/index.js +3 -3
- package/lib/ProEditTable/components/RenderField/ListChangedWrapper.js +7 -4
- package/lib/ProEditTable/components/RenderField/index.js +7 -5
- package/lib/ProEditTable/components/RenderToolbar/index.js +1 -1
- package/lib/ProEditTable/utils/config.js +2 -2
- package/lib/ProEditTable/utils/index.js +5 -5
- package/lib/ProEditTable/utils/tools.js +1 -1
- package/lib/ProEnum/hooks/useEnumRequest.js +2 -2
- package/lib/ProEnum/index.js +1 -1
- package/lib/ProForm/components/combination/FormList/components/ActionButton.js +2 -2
- package/lib/ProForm/components/combination/FormList/components/BlockTitle.js +1 -1
- package/lib/ProForm/components/combination/FormList/components/ToolbarButton.js +1 -1
- package/lib/ProForm/components/combination/FormList/utils.js +1 -1
- package/lib/ProForm/components/combination/Group/component/ComRender.js +1 -1
- package/lib/ProForm/components/combination/ProCascader/index.js +6 -3
- package/lib/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +1 -1
- package/lib/ProForm/components/combination/ProModalSelect/index.js +12 -6
- package/lib/ProForm/components/combination/ProModalSelect/propsType.d.ts +1 -0
- package/lib/ProForm/components/old/ProAddress/index.js +1 -1
- package/lib/ProForm/components/render/ChangedWrapper.js +4 -2
- package/lib/ProForm/components/render/ConfirmWrapper.js +1 -1
- package/lib/ProForm/components/render/Render.js +4 -3
- package/lib/ProForm/index.js +1 -1
- package/lib/ProForm/utils/useForm.js +1 -1
- package/lib/ProStep/components/Listener/index.js +1 -1
- package/lib/ProStep/index.js +3 -3
- package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.js +2 -2
- package/lib/ProTable/hooks/useAntdTable.js +3 -3
- package/lib/ProTable/index.js +2 -2
- package/lib/ProTree/components/ProTree.js +1 -1
- package/lib/ProTree/components/ProTreeSelect/index.js +13 -0
- package/lib/ProTree/components/Tree.js +1 -1
- package/lib/ProUpload/components/ImageRender.js +1 -1
- package/lib/ProViewer/index.js +2 -2
- package/lib/old/ProEditableTable/index.js +4 -4
- package/package.json +3 -4
- package/.vscode/extensions.json +0 -5
|
@@ -59,7 +59,7 @@ var useEnumRequest = function useEnumRequest(props, dispatch) {
|
|
|
59
59
|
staleTime: 6e4 * 60
|
|
60
60
|
}, useRequest === null || useRequest === void 0 ? void 0 : useRequest.options), {}, {
|
|
61
61
|
setCache: function () {
|
|
62
|
-
var _setCache = (0, _asyncToGenerator2.default)(
|
|
62
|
+
var _setCache = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(res) {
|
|
63
63
|
var response, _locale$ProEnum2, _useRequest$options, ignoreCodes, cacheData;
|
|
64
64
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
65
65
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -169,7 +169,7 @@ var useEnumRequest = function useEnumRequest(props, dispatch) {
|
|
|
169
169
|
}
|
|
170
170
|
}));
|
|
171
171
|
var mergeData = /*#__PURE__*/function () {
|
|
172
|
-
var _ref3 = (0, _asyncToGenerator2.default)(
|
|
172
|
+
var _ref3 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2() {
|
|
173
173
|
var cacheData, _useRequest$options2, _useRequest$options3, enumData, cacheCodes, codes, ignoreCodes, diff, response, res, _locale$ProEnum6;
|
|
174
174
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
|
|
175
175
|
while (1) switch (_context2.prev = _context2.next) {
|
package/lib/ProEnum/index.js
CHANGED
|
@@ -154,7 +154,7 @@ var ProEnum = function ProEnum(props) {
|
|
|
154
154
|
list = [];
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
if (
|
|
157
|
+
if (/*#__PURE__*/_react.default.isValidElement(component)) {
|
|
158
158
|
var Component = component;
|
|
159
159
|
return (0, _jsxRuntime.jsx)(Component, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, enumProps), {}, {
|
|
160
160
|
dataSource: list,
|
|
@@ -134,7 +134,7 @@ var ActionButton = function ActionButton(props) {
|
|
|
134
134
|
return _actionProps;
|
|
135
135
|
}, [props.actionProps]);
|
|
136
136
|
var handleClick = /*#__PURE__*/function () {
|
|
137
|
-
var _ref6 = (0, _asyncToGenerator2.default)(
|
|
137
|
+
var _ref6 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(defaultCallback, callback, index, item) {
|
|
138
138
|
var value, data;
|
|
139
139
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
140
140
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -273,7 +273,7 @@ var ActionButton = function ActionButton(props) {
|
|
|
273
273
|
},
|
|
274
274
|
children: label
|
|
275
275
|
}))
|
|
276
|
-
}), "".concat(item === null || item === void 0 ? void 0 : item.type).concat(index)) : (
|
|
276
|
+
}), "".concat(item === null || item === void 0 ? void 0 : item.type).concat(index)) : (/*#__PURE__*/(0, _react.createElement)(_antd.Button, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, rest), {}, {
|
|
277
277
|
key: "".concat(item === null || item === void 0 ? void 0 : item.type).concat(index),
|
|
278
278
|
type: "text",
|
|
279
279
|
onClick: function onClick(e) {
|
|
@@ -20,7 +20,7 @@ var BlockTitle = function BlockTitle(props) {
|
|
|
20
20
|
if (!title) {
|
|
21
21
|
return (0, _jsxRuntime.jsx)("div", {});
|
|
22
22
|
}
|
|
23
|
-
if (
|
|
23
|
+
if (/*#__PURE__*/_react.default.isValidElement(title)) {
|
|
24
24
|
return title;
|
|
25
25
|
}
|
|
26
26
|
var titleContent = title;
|
|
@@ -59,7 +59,7 @@ var ToolbarButton = function ToolbarButton(props) {
|
|
|
59
59
|
return _toolbarProps;
|
|
60
60
|
}, [props.toolbarProps]);
|
|
61
61
|
var handleClick = /*#__PURE__*/function () {
|
|
62
|
-
var _ref2 = (0, _asyncToGenerator2.default)(
|
|
62
|
+
var _ref2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(defaultCallback, callback, item) {
|
|
63
63
|
var value, data;
|
|
64
64
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
65
65
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -30,7 +30,7 @@ var namesPathTransform = exports.namesPathTransform = function namesPathTransfor
|
|
|
30
30
|
// 比较memo
|
|
31
31
|
var memoWith = exports.memoWith = function memoWith(pre, next) {
|
|
32
32
|
return (0, _lodash.isEqualWith)(pre, next, function (objValue, othValue) {
|
|
33
|
-
if (
|
|
33
|
+
if (/*#__PURE__*/_react.default.isValidElement(objValue) && /*#__PURE__*/_react.default.isValidElement(othValue)) {
|
|
34
34
|
return true;
|
|
35
35
|
}
|
|
36
36
|
// 移除解决formlist函数里不更新问题
|
|
@@ -56,7 +56,7 @@ var ComRender = function ComRender(props) {
|
|
|
56
56
|
};
|
|
57
57
|
var _props = mergedGetValueProps(fieldProps.value);
|
|
58
58
|
var componentProps = (0, _objectSpread3.default)((0, _objectSpread3.default)((0, _objectSpread3.default)({}, fieldProps), rest), _props);
|
|
59
|
-
var Component = component ? (
|
|
59
|
+
var Component = component ? (/*#__PURE__*/_react.default.cloneElement(component, (0, _objectSpread3.default)({}, componentProps))) : (0, _jsxRuntime.jsx)(TypeComponent, (0, _objectSpread3.default)({}, componentProps));
|
|
60
60
|
var Com = getComRender(Component, props, componentProps);
|
|
61
61
|
return (0, _jsxRuntime.jsx)(_useFieldProps.FieldProvider, {
|
|
62
62
|
value: (0, _objectSpread3.default)((0, _objectSpread3.default)({}, contextProps), {}, {
|
|
@@ -96,8 +96,11 @@ var ProCascader = function ProCascader(props) {
|
|
|
96
96
|
enumDataSource = _ref5$ === void 0 ? [] : _ref5$;
|
|
97
97
|
var realDataSource = (0, _react.useMemo)(function () {
|
|
98
98
|
var innerDataSource = dataSource || (addressCode ? enumDataSource : []);
|
|
99
|
-
var result = isAddressMode && realLevel === 2 ? _filterDataSource(innerDataSource, level, fieldNames) : innerDataSource;
|
|
100
|
-
|
|
99
|
+
var result = (0, _index.transformDataName)(isAddressMode && realLevel === 2 ? _filterDataSource(innerDataSource, level, fieldNames) : innerDataSource, fieldNames);
|
|
100
|
+
if (transformResponse) {
|
|
101
|
+
return transformResponse(result);
|
|
102
|
+
}
|
|
103
|
+
return result;
|
|
101
104
|
}, [isAddressMode, addressCode, realLevel, dataSource, enumDataSource === null || enumDataSource === void 0 ? void 0 : enumDataSource.length]);
|
|
102
105
|
var _useRequest = (0, _objectSpread3.default)({}, useRequest),
|
|
103
106
|
service = _useRequest.service,
|
|
@@ -112,7 +115,7 @@ var ProCascader = function ProCascader(props) {
|
|
|
112
115
|
defaultLabel = _useState4[0],
|
|
113
116
|
setDefaultLabel = _useState4[1];
|
|
114
117
|
var getFirstLevelOptions = /*#__PURE__*/function () {
|
|
115
|
-
var _ref6 = (0, _asyncToGenerator2.default)(
|
|
118
|
+
var _ref6 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
|
|
116
119
|
var _yield$service, data, newData, transFormData, serviceData;
|
|
117
120
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
118
121
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -33,7 +33,7 @@ var useDefaultOptions = function useDefaultOptions(options) {
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
var defaultService = /*#__PURE__*/function () {
|
|
36
|
-
var _ref = (0, _asyncToGenerator2.default)(
|
|
36
|
+
var _ref = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
|
|
37
37
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
38
38
|
while (1) switch (_context.prev = _context.next) {
|
|
39
39
|
case 0:
|
|
@@ -25,7 +25,7 @@ var _Container = _interopRequireDefault(require("../../Container"));
|
|
|
25
25
|
var _view = _interopRequireDefault(require("../../../../assets/view.svg"));
|
|
26
26
|
var _useRequestList3 = _interopRequireDefault(require("./hooks/useRequestList"));
|
|
27
27
|
var _locale = _interopRequireDefault(require("../../../../locale"));
|
|
28
|
-
var _excluded = ["value", "onChange", "disabled", "labelInValue", "fieldNames", "readOnly", "addonAfter", "configOption", "title", "onFormat", "showCodeName", "optionRender", "customRender", "style", "className", "beforeOpen", "isTooltip", "searchForm", "searchKey", "defaultOne"],
|
|
28
|
+
var _excluded = ["value", "onChange", "disabled", "labelInValue", "fieldNames", "readOnly", "addonAfter", "configOption", "title", "onFormat", "showCodeName", "optionRender", "customRender", "style", "className", "beforeOpen", "afterOpen", "isTooltip", "searchForm", "searchKey", "defaultOne"],
|
|
29
29
|
_excluded2 = ["onOk"],
|
|
30
30
|
_excluded3 = ["rowKey", "columns", "rowSelection"];
|
|
31
31
|
var ProModalSelect = function ProModalSelect(props, ref) {
|
|
@@ -48,6 +48,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
|
|
|
48
48
|
style = props.style,
|
|
49
49
|
className = props.className,
|
|
50
50
|
beforeOpen = props.beforeOpen,
|
|
51
|
+
afterOpen = props.afterOpen,
|
|
51
52
|
isTooltip = props.isTooltip,
|
|
52
53
|
searchForm = props.searchForm,
|
|
53
54
|
searchKey = props.searchKey,
|
|
@@ -232,7 +233,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
|
|
|
232
233
|
onChange(val, option);
|
|
233
234
|
};
|
|
234
235
|
var handleClick = /*#__PURE__*/function () {
|
|
235
|
-
var _ref7 = (0, _asyncToGenerator2.default)(
|
|
236
|
+
var _ref7 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
|
|
236
237
|
var _yield$beforeOpen, res;
|
|
237
238
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
238
239
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -267,6 +268,11 @@ var ProModalSelect = function ProModalSelect(props, ref) {
|
|
|
267
268
|
setState({
|
|
268
269
|
onOff: true
|
|
269
270
|
});
|
|
271
|
+
setTimeout(function () {
|
|
272
|
+
afterOpen === null || afterOpen === void 0 ? void 0 : afterOpen({
|
|
273
|
+
setInnerState: setState
|
|
274
|
+
});
|
|
275
|
+
}, 100);
|
|
270
276
|
}
|
|
271
277
|
case 14:
|
|
272
278
|
case "end":
|
|
@@ -294,7 +300,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
|
|
|
294
300
|
}
|
|
295
301
|
};
|
|
296
302
|
var handleFinish = /*#__PURE__*/function () {
|
|
297
|
-
var _ref8 = (0, _asyncToGenerator2.default)(
|
|
303
|
+
var _ref8 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2() {
|
|
298
304
|
var _nextSelectedRows, _nextSelectedRows2, nextSelectedRows, record, flag, res;
|
|
299
305
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
|
|
300
306
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -359,7 +365,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
|
|
|
359
365
|
};
|
|
360
366
|
}();
|
|
361
367
|
var handleSearch = /*#__PURE__*/function () {
|
|
362
|
-
var _ref9 = (0, _asyncToGenerator2.default)(
|
|
368
|
+
var _ref9 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3() {
|
|
363
369
|
var values;
|
|
364
370
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee3$(_context3) {
|
|
365
371
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -432,7 +438,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
|
|
|
432
438
|
};
|
|
433
439
|
// 初始化回显,当传入initParams时,前端用来回险
|
|
434
440
|
var getInitValues = /*#__PURE__*/function () {
|
|
435
|
-
var _ref10 = (0, _asyncToGenerator2.default)(
|
|
441
|
+
var _ref10 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee4() {
|
|
436
442
|
var _contentForm$getField, _useRequest$options2, _useRequest$options3, queryBean, page, params, res, _res$data2, _list, list, _data, nextSelectRowKeys;
|
|
437
443
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee4$(_context4) {
|
|
438
444
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -495,7 +501,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
|
|
|
495
501
|
}();
|
|
496
502
|
// 初始化回显,当传入initParams时,前端用来回险
|
|
497
503
|
var getDefaultOneValues = /*#__PURE__*/function () {
|
|
498
|
-
var _ref11 = (0, _asyncToGenerator2.default)(
|
|
504
|
+
var _ref11 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee5() {
|
|
499
505
|
var _useRequest$options4, _useRequest$options5;
|
|
500
506
|
var queryBean, page, params, res, _res$data3, _list2, list, _data2, nextSelectRowKeys;
|
|
501
507
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee5$(_context5) {
|
|
@@ -93,7 +93,7 @@ function ProAddress(_ref3) {
|
|
|
93
93
|
secondCitys = _useState6[0],
|
|
94
94
|
setSecondCitys = _useState6[1];
|
|
95
95
|
var queryCity = /*#__PURE__*/function () {
|
|
96
|
-
var _ref5 = (0, _asyncToGenerator2.default)(
|
|
96
|
+
var _ref5 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(code, type) {
|
|
97
97
|
var cityList, _cityList, newList, _secondCitys;
|
|
98
98
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
99
99
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -17,7 +17,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
17
17
|
var _diffOriginal = require("../../utils/diffOriginal");
|
|
18
18
|
var _ProConfigProvider = require("../../../ProConfigProvider");
|
|
19
19
|
var _utils = require("../../../utils");
|
|
20
|
-
var _excluded = ["name", "names", "namesStr", "form", "equalWith", "children", "type", "diffConfig", "valuePropName"];
|
|
20
|
+
var _excluded = ["name", "names", "namesStr", "form", "equalWith", "children", "type", "diffConfig", "valuePropName", "normalize"];
|
|
21
21
|
var ChangedWrapper = function ChangedWrapper(props) {
|
|
22
22
|
var _diffConfig$toolTip, _children$props, _children$props2, _children$props3;
|
|
23
23
|
var name = props.name,
|
|
@@ -30,6 +30,7 @@ var ChangedWrapper = function ChangedWrapper(props) {
|
|
|
30
30
|
diffConfig = props.diffConfig,
|
|
31
31
|
_props$valuePropName = props.valuePropName,
|
|
32
32
|
valuePropName = _props$valuePropName === void 0 ? 'value' : _props$valuePropName,
|
|
33
|
+
normalize = props.normalize,
|
|
33
34
|
rest = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
34
35
|
var _useProConfig = (0, _ProConfigProvider.useProConfig)('ProForm'),
|
|
35
36
|
isDiffAll = _useProConfig.isDiffAll;
|
|
@@ -44,9 +45,10 @@ var ChangedWrapper = function ChangedWrapper(props) {
|
|
|
44
45
|
var noChange = !equalWith && (!originalValues || isDiffAll ? false : (0, _utils.isEmpty)(originalValue));
|
|
45
46
|
var diffType = (0, _react.useMemo)(function () {
|
|
46
47
|
if (!isWatch || noChange) return 'same';
|
|
48
|
+
var _value = normalize ? normalize(props[valuePropName]) : props[valuePropName];
|
|
47
49
|
return (0, _diffOriginal.diffOriginal)({
|
|
48
50
|
originalValue: originalValue,
|
|
49
|
-
value:
|
|
51
|
+
value: _value,
|
|
50
52
|
form: form,
|
|
51
53
|
equalWith: equalWith
|
|
52
54
|
// name: namesStr || name,
|
|
@@ -28,7 +28,7 @@ var ConfirmWrapper = function ConfirmWrapper(props) {
|
|
|
28
28
|
var _ProForm$useFieldProp = _index.default.useFieldProps(),
|
|
29
29
|
form = _ProForm$useFieldProp.form;
|
|
30
30
|
var handleChange = /*#__PURE__*/function () {
|
|
31
|
-
var _ref = (0, _asyncToGenerator2.default)(
|
|
31
|
+
var _ref = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(value) {
|
|
32
32
|
var _len,
|
|
33
33
|
other,
|
|
34
34
|
_key,
|
|
@@ -240,7 +240,7 @@ var Render = function Render(props) {
|
|
|
240
240
|
_args = functionArgs([].concat(args));
|
|
241
241
|
}
|
|
242
242
|
var inList = _otherFormItemProps === null || _otherFormItemProps === void 0 ? void 0 : (_otherFormItemProps$n3 = _otherFormItemProps.namePath) === null || _otherFormItemProps$n3 === void 0 ? void 0 : _otherFormItemProps$n3.length;
|
|
243
|
-
if (
|
|
243
|
+
if (/*#__PURE__*/_react.default.isValidElement(AutoComponent)) {
|
|
244
244
|
var _AutoComponent$props$, _AutoComponent$props, _lastComponentProps$c;
|
|
245
245
|
((_AutoComponent$props$ = (_AutoComponent$props = AutoComponent === null || AutoComponent === void 0 ? void 0 : AutoComponent.props)[changeKey]) === null || _AutoComponent$props$ === void 0 ? void 0 : _AutoComponent$props$.call.apply(_AutoComponent$props$, [_AutoComponent$props].concat((0, _toConsumableArray2.default)(_args)))) || ((_lastComponentProps$c = lastComponentProps[changeKey]) === null || _lastComponentProps$c === void 0 ? void 0 : _lastComponentProps$c.call.apply(_lastComponentProps$c, [lastComponentProps].concat((0, _toConsumableArray2.default)(_args))));
|
|
246
246
|
return false;
|
|
@@ -290,7 +290,7 @@ var Render = function Render(props) {
|
|
|
290
290
|
* onBlur参数重置 (value, record, { form, index, namePath, option }) => void
|
|
291
291
|
*/
|
|
292
292
|
var handleBlur = /*#__PURE__*/function () {
|
|
293
|
-
var _ref7 = (0, _asyncToGenerator2.default)(
|
|
293
|
+
var _ref7 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
|
|
294
294
|
var _len3,
|
|
295
295
|
args,
|
|
296
296
|
_key3,
|
|
@@ -373,7 +373,7 @@ var Render = function Render(props) {
|
|
|
373
373
|
if (originComponent) {
|
|
374
374
|
delete childProps.otherProps;
|
|
375
375
|
}
|
|
376
|
-
var child = /*#__PURE__*/_react.default.isValidElement(AutoComponent) ? (
|
|
376
|
+
var child = /*#__PURE__*/_react.default.isValidElement(AutoComponent) ? (/*#__PURE__*/_react.default.cloneElement(AutoComponent, childProps)) : (0, _jsxRuntime.jsx)(AutoComponent, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, (0, _lodash.omit)(lastComponentProps, [].concat(lastComponentPropsFilter, ['debounceWait']))), {}, {
|
|
377
377
|
otherProps: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, otherProps), {}, {
|
|
378
378
|
show: show,
|
|
379
379
|
disabled: lastDisabled,
|
|
@@ -437,6 +437,7 @@ var Render = function Render(props) {
|
|
|
437
437
|
type: type,
|
|
438
438
|
onChange: handleChange,
|
|
439
439
|
valuePropName: _otherFormItemProps.valuePropName,
|
|
440
|
+
normalize: _otherFormItemProps.normalize,
|
|
440
441
|
children: child
|
|
441
442
|
});
|
|
442
443
|
}
|
package/lib/ProForm/index.js
CHANGED
|
@@ -201,7 +201,7 @@ var ProForm = function ProForm(props, ref) {
|
|
|
201
201
|
if (isView || disabled) {
|
|
202
202
|
// 查看或禁用模式
|
|
203
203
|
footerEle = null;
|
|
204
|
-
} else if (
|
|
204
|
+
} else if (/*#__PURE__*/_react.default.isValidElement(footer)) {
|
|
205
205
|
// 传入组件渲染组件
|
|
206
206
|
footerEle = footer;
|
|
207
207
|
} else if (footer === undefined || footer || (0, _lodash.isObject)(footer)) {
|
|
@@ -44,7 +44,7 @@ var useForm = exports.useForm = function useForm(originForm, options) {
|
|
|
44
44
|
return getFieldsValue(nameList, filterFunc);
|
|
45
45
|
};
|
|
46
46
|
var _validateFields = /*#__PURE__*/function () {
|
|
47
|
-
var _ref2 = (0, _asyncToGenerator2.default)(
|
|
47
|
+
var _ref2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(nameList) {
|
|
48
48
|
var _rest$,
|
|
49
49
|
_len,
|
|
50
50
|
rest,
|
|
@@ -21,7 +21,7 @@ var _default = exports.default = function _default(_ref) {
|
|
|
21
21
|
var _useStep = (0, _index.useStep)(),
|
|
22
22
|
notify = _useStep.notify;
|
|
23
23
|
return /*#__PURE__*/_react.default.cloneElement(children, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
24
|
-
onClick: (0, _lodash.throttle)(
|
|
24
|
+
onClick: (0, _lodash.throttle)(/*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
|
|
25
25
|
var values;
|
|
26
26
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
27
27
|
while (1) switch (_context.prev = _context.next) {
|
package/lib/ProStep/index.js
CHANGED
|
@@ -89,7 +89,7 @@ var ProStep = function ProStep(_ref) {
|
|
|
89
89
|
return null;
|
|
90
90
|
}
|
|
91
91
|
var subEvent = /*#__PURE__*/function () {
|
|
92
|
-
var _ref5 = (0, _asyncToGenerator2.default)(
|
|
92
|
+
var _ref5 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
|
|
93
93
|
var value, _form$validateFields, _error$errorFields;
|
|
94
94
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
95
95
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -135,7 +135,7 @@ var ProStep = function ProStep(_ref) {
|
|
|
135
135
|
registerMap.current[id] = record;
|
|
136
136
|
};
|
|
137
137
|
var notify = /*#__PURE__*/function () {
|
|
138
|
-
var _ref6 = (0, _asyncToGenerator2.default)(
|
|
138
|
+
var _ref6 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(params) {
|
|
139
139
|
var _ref7, excludes, triggerIds, events, res, nextErrorCollection;
|
|
140
140
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
|
|
141
141
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -174,7 +174,7 @@ var ProStep = function ProStep(_ref) {
|
|
|
174
174
|
};
|
|
175
175
|
}();
|
|
176
176
|
var triggerTo = /*#__PURE__*/function () {
|
|
177
|
-
var _ref9 = (0, _asyncToGenerator2.default)(
|
|
177
|
+
var _ref9 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3(keys) {
|
|
178
178
|
var events, result, nextErrorCollection;
|
|
179
179
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee3$(_context3) {
|
|
180
180
|
while (1) switch (_context3.prev = _context3.next) {
|
package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.js
CHANGED
|
@@ -81,7 +81,7 @@ var DndWrapper = function DndWrapper(_ref2) {
|
|
|
81
81
|
onDragStartGuard = _ref2.onDragStartGuard,
|
|
82
82
|
onDragEndGuard = _ref2.onDragEndGuard;
|
|
83
83
|
var onDragStart = /*#__PURE__*/function () {
|
|
84
|
-
var _ref4 = (0, _asyncToGenerator2.default)(
|
|
84
|
+
var _ref4 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(_ref3) {
|
|
85
85
|
var active, _transformedValue, activeObject;
|
|
86
86
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
87
87
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -112,7 +112,7 @@ var DndWrapper = function DndWrapper(_ref2) {
|
|
|
112
112
|
};
|
|
113
113
|
}();
|
|
114
114
|
var onDragEnd = /*#__PURE__*/function () {
|
|
115
|
-
var _ref6 = (0, _asyncToGenerator2.default)(
|
|
115
|
+
var _ref6 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(_ref5) {
|
|
116
116
|
var active, over, transformedValue, activeObject, overObject, activeLevel, activeParentId, overLevel, overParentId, nextDataSource, _flatTree, activeIndex, overIndex, nextValue;
|
|
117
117
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
|
|
118
118
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -283,7 +283,7 @@ function useAntdTable(service, options, useRequestOptions) {
|
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
285
|
var handleRefresh = /*#__PURE__*/function () {
|
|
286
|
-
var _ref4 = (0, _asyncToGenerator2.default)(
|
|
286
|
+
var _ref4 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
|
|
287
287
|
var res;
|
|
288
288
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
289
289
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -395,7 +395,7 @@ function useAntdTable(service, options, useRequestOptions) {
|
|
|
395
395
|
total: total
|
|
396
396
|
}),
|
|
397
397
|
onSelect: function () {
|
|
398
|
-
var _onSelect = (0, _asyncToGenerator2.default)(
|
|
398
|
+
var _onSelect = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(changeableRowKeys) {
|
|
399
399
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
|
|
400
400
|
while (1) switch (_context2.prev = _context2.next) {
|
|
401
401
|
case 0:
|
|
@@ -419,7 +419,7 @@ function useAntdTable(service, options, useRequestOptions) {
|
|
|
419
419
|
key: 'uncheckAll',
|
|
420
420
|
text: _locale.default === null || _locale.default === void 0 ? void 0 : (_locale$ProTable4 = _locale.default.ProTable) === null || _locale$ProTable4 === void 0 ? void 0 : _locale$ProTable4.deselect,
|
|
421
421
|
onSelect: function () {
|
|
422
|
-
var _onSelect2 = (0, _asyncToGenerator2.default)(
|
|
422
|
+
var _onSelect2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3() {
|
|
423
423
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee3$(_context3) {
|
|
424
424
|
while (1) switch (_context3.prev = _context3.next) {
|
|
425
425
|
case 0:
|
package/lib/ProTable/index.js
CHANGED
|
@@ -223,7 +223,7 @@ function ProTable(props) {
|
|
|
223
223
|
});
|
|
224
224
|
}, [columns]);
|
|
225
225
|
var handleColumnConfig = /*#__PURE__*/function () {
|
|
226
|
-
var _ref6 = (0, _asyncToGenerator2.default)(
|
|
226
|
+
var _ref6 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(checkList) {
|
|
227
227
|
var newColumns, _columnConfig$onColum, catchColumns;
|
|
228
228
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
229
229
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -332,7 +332,7 @@ function ProTable(props) {
|
|
|
332
332
|
return _rowSelection;
|
|
333
333
|
};
|
|
334
334
|
var onDataSourceChange = /*#__PURE__*/function () {
|
|
335
|
-
var _ref7 = (0, _asyncToGenerator2.default)(
|
|
335
|
+
var _ref7 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(nextDataSource) {
|
|
336
336
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
|
|
337
337
|
while (1) switch (_context2.prev = _context2.next) {
|
|
338
338
|
case 0:
|
|
@@ -359,7 +359,7 @@ var ProTree = function ProTree(props) {
|
|
|
359
359
|
};
|
|
360
360
|
/** 点击了树节点开始loading,改变自身state并将值通过onchange上传到form */
|
|
361
361
|
var onSelectTreeNode = /*#__PURE__*/function () {
|
|
362
|
-
var _ref2 = (0, _asyncToGenerator2.default)(
|
|
362
|
+
var _ref2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(props, info) {
|
|
363
363
|
var _options$;
|
|
364
364
|
var values, options, option;
|
|
365
365
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
@@ -79,7 +79,9 @@ var ProTreeSelect = exports.ProTreeSelect = function ProTreeSelect(props, ref) {
|
|
|
79
79
|
showEllipse = _props$showEllipse === void 0 ? true : _props$showEllipse;
|
|
80
80
|
var _ref2 = otherProps !== null && otherProps !== void 0 ? otherProps : {},
|
|
81
81
|
isDiffChange = _ref2.isDiffChange;
|
|
82
|
+
console.log('tag1', showEllipse, otherProps, isDiffChange);
|
|
82
83
|
var _showEllipse = showEllipse && !isDiffChange;
|
|
84
|
+
console.log('tag2', _showEllipse);
|
|
83
85
|
var _ref3 = otherProps || {},
|
|
84
86
|
isView = _ref3.isView,
|
|
85
87
|
viewEmpty = _ref3.viewEmpty;
|
|
@@ -297,6 +299,16 @@ var ProTreeSelect = exports.ProTreeSelect = function ProTreeSelect(props, ref) {
|
|
|
297
299
|
var labelText = node[label];
|
|
298
300
|
var value = node[code];
|
|
299
301
|
var key = node[uuidKey];
|
|
302
|
+
// 三无走默认
|
|
303
|
+
if (['undefined-undefined', 'undefined'].includes(labelText) && !value && !key) {
|
|
304
|
+
if (showCodeName) {
|
|
305
|
+
labelText = "".concat(node === null || node === void 0 ? void 0 : node.value, "-").concat(node === null || node === void 0 ? void 0 : node.label);
|
|
306
|
+
} else {
|
|
307
|
+
labelText = node === null || node === void 0 ? void 0 : node.label;
|
|
308
|
+
}
|
|
309
|
+
value = node === null || node === void 0 ? void 0 : node.value;
|
|
310
|
+
key = node === null || node === void 0 ? void 0 : node.value;
|
|
311
|
+
}
|
|
300
312
|
var titleHtml = (0, _jsxRuntime.jsx)("span", {
|
|
301
313
|
dangerouslySetInnerHTML: {
|
|
302
314
|
__html: labelText
|
|
@@ -319,6 +331,7 @@ var ProTreeSelect = exports.ProTreeSelect = function ProTreeSelect(props, ref) {
|
|
|
319
331
|
}) : null]
|
|
320
332
|
});
|
|
321
333
|
if (_showEllipse) {
|
|
334
|
+
console.log('tag3', '走自身气泡了');
|
|
322
335
|
title = (0, _jsxRuntime.jsx)(_AdaptiveTooltip.default, {
|
|
323
336
|
children: treeCheckable ? titleHtml : (0, _jsxRuntime.jsxs)("span", {
|
|
324
337
|
className: "check-option-text",
|
|
@@ -115,7 +115,7 @@ function List(props) {
|
|
|
115
115
|
}
|
|
116
116
|
}, [selectedKey]);
|
|
117
117
|
var onSelect = /*#__PURE__*/function () {
|
|
118
|
-
var _ref = (0, _asyncToGenerator2.default)(
|
|
118
|
+
var _ref = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(value, item) {
|
|
119
119
|
var _props$onSelect;
|
|
120
120
|
var val;
|
|
121
121
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
@@ -166,7 +166,7 @@ var ImageRender = function ImageRender(props) {
|
|
|
166
166
|
disabled: isView || disabled,
|
|
167
167
|
className: "action-item",
|
|
168
168
|
onClick: function () {
|
|
169
|
-
var _onClick = (0, _asyncToGenerator2.default)(
|
|
169
|
+
var _onClick = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
|
|
170
170
|
var res;
|
|
171
171
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
172
172
|
while (1) switch (_context.prev = _context.next) {
|
package/lib/ProViewer/index.js
CHANGED
|
@@ -112,8 +112,8 @@ var ProViewer = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
112
112
|
(0, _react.useEffect)(function () {
|
|
113
113
|
if (previewFile) {
|
|
114
114
|
try {
|
|
115
|
-
previewFile().then(
|
|
116
|
-
var _ref3 = (0, _asyncToGenerator2.default)(
|
|
115
|
+
previewFile().then(/*#__PURE__*/function () {
|
|
116
|
+
var _ref3 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(response) {
|
|
117
117
|
var res, blob, blobUrl;
|
|
118
118
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
119
119
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -166,7 +166,7 @@ var ProEditableTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
|
|
|
166
166
|
* @returns {Promise<{nextList: IRowDataPropsType[], list: IRowDataPropsType[], rowData: IRowDataPropsType, rowIndex: number}>}
|
|
167
167
|
*/
|
|
168
168
|
var onMultipleDelete = /*#__PURE__*/function () {
|
|
169
|
-
var _ref2 = (0, _asyncToGenerator2.default)(
|
|
169
|
+
var _ref2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
|
|
170
170
|
var res, values, nextList, resetFieldsIndex;
|
|
171
171
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
172
172
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -272,7 +272,7 @@ var ProEditableTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
|
|
|
272
272
|
* @returns {Promise<{nextList: IRowDataPropsType[], list: IRowDataPropsType[], rowData: IRowDataPropsType, rowIndex: number}>}
|
|
273
273
|
*/
|
|
274
274
|
var onSave = /*#__PURE__*/function () {
|
|
275
|
-
var _ref3 = (0, _asyncToGenerator2.default)(
|
|
275
|
+
var _ref3 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(rowIndex, callback) {
|
|
276
276
|
var _form$getFieldsValue$, _form$getFieldsValue, nextValues, res, values;
|
|
277
277
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
|
|
278
278
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -398,12 +398,12 @@ var ProEditableTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
|
|
|
398
398
|
}, antButtonProps), {}, {
|
|
399
399
|
children: buttonText
|
|
400
400
|
}))]
|
|
401
|
-
}) : (
|
|
401
|
+
}) : (/*#__PURE__*/(0, _react.cloneElement)(buttonText, antButtonProps))
|
|
402
402
|
}) : null
|
|
403
403
|
});
|
|
404
404
|
};
|
|
405
405
|
var validateFields = /*#__PURE__*/function () {
|
|
406
|
-
var _ref4 = (0, _asyncToGenerator2.default)(
|
|
406
|
+
var _ref4 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3() {
|
|
407
407
|
var values, nextValues, nextList, isEditing;
|
|
408
408
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee3$(_context3) {
|
|
409
409
|
while (1) switch (_context3.prev = _context3.next) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zat-design/sisyphus-react",
|
|
3
|
-
"version": "3.8.0-beat.
|
|
3
|
+
"version": "3.8.0-beat.10",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -84,7 +84,6 @@
|
|
|
84
84
|
"@types/classnames": "^2.3.1",
|
|
85
85
|
"@types/jest": "^29.5.11",
|
|
86
86
|
"@types/lodash": "^4.14.171",
|
|
87
|
-
"@types/mockjs": "^1.0.6",
|
|
88
87
|
"@types/react": "^17.0.53",
|
|
89
88
|
"@types/react-dom": "^17.0.0",
|
|
90
89
|
"@types/react-resizable": "^1.7.4",
|
|
@@ -96,7 +95,7 @@
|
|
|
96
95
|
"@zat-design/login-react": "1.0.25",
|
|
97
96
|
"babel-eslint": "10.0.3",
|
|
98
97
|
"babel-plugin-import": "^1.13.3",
|
|
99
|
-
"commander": "
|
|
98
|
+
"commander": "9.2.0",
|
|
100
99
|
"cross-env": "^7.0.3",
|
|
101
100
|
"dumi": "^1.0.9",
|
|
102
101
|
"eslint": "7.10.0",
|
|
@@ -113,7 +112,7 @@
|
|
|
113
112
|
"husky": "^4.0.7",
|
|
114
113
|
"jest-canvas-mock": "^2.5.2",
|
|
115
114
|
"lint-staged": "^10.0.0",
|
|
116
|
-
"mockjs": "^1.
|
|
115
|
+
"mockjs": "^1.0.0",
|
|
117
116
|
"prettier": "^2.5.0",
|
|
118
117
|
"pretty-quick": "^3.1.3",
|
|
119
118
|
"react-json-view": "^1.21.3",
|