@zat-design/sisyphus-react 3.8.0-beat.1 → 3.8.0-beat.3

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.
Files changed (118) hide show
  1. package/coverage/lcov-report/src/.umi/core/devScripts.ts.html +241 -0
  2. package/coverage/lcov-report/src/.umi/core/history.ts.html +148 -0
  3. package/coverage/lcov-report/src/.umi/core/index.html +206 -0
  4. package/coverage/lcov-report/src/.umi/core/plugin.ts.html +109 -0
  5. package/coverage/lcov-report/src/.umi/core/pluginRegister.ts.html +160 -0
  6. package/coverage/lcov-report/src/.umi/core/polyfill.ts.html +97 -0
  7. package/coverage/lcov-report/src/.umi/core/routes.ts.html +26050 -0
  8. package/coverage/lcov-report/src/.umi/core/umiExports.ts.html +112 -0
  9. package/coverage/lcov-report/src/.umi/dumi/demos/index.html +116 -0
  10. package/coverage/lcov-report/src/.umi/dumi/demos/index.ts.html +6340 -0
  11. package/coverage/lcov-report/src/.umi/dumi/index.html +116 -0
  12. package/coverage/lcov-report/src/.umi/dumi/layout.tsx.html +109 -0
  13. package/coverage/lcov-report/src/.umi/index.html +116 -0
  14. package/coverage/lcov-report/src/.umi/plugin-antd/index.html +116 -0
  15. package/coverage/lcov-report/src/.umi/plugin-antd/runtime.tsx.html +172 -0
  16. package/coverage/lcov-report/src/.umi/plugin-helmet/exports.ts.html +94 -0
  17. package/coverage/lcov-report/src/.umi/plugin-helmet/index.html +116 -0
  18. package/coverage/lcov-report/src/.umi/plugin-initial-state/Provider.tsx.html +196 -0
  19. package/coverage/lcov-report/src/.umi/plugin-initial-state/exports.ts.html +106 -0
  20. package/coverage/lcov-report/src/.umi/plugin-initial-state/index.html +146 -0
  21. package/coverage/lcov-report/src/.umi/plugin-initial-state/models/index.html +116 -0
  22. package/coverage/lcov-report/src/.umi/plugin-initial-state/models/initialState.ts.html +88 -0
  23. package/coverage/lcov-report/src/.umi/plugin-initial-state/runtime.tsx.html +124 -0
  24. package/coverage/lcov-report/src/.umi/plugin-locale/SelectLang.tsx.html +1246 -0
  25. package/coverage/lcov-report/src/.umi/plugin-locale/index.html +161 -0
  26. package/coverage/lcov-report/src/.umi/plugin-locale/locale.tsx.html +268 -0
  27. package/coverage/lcov-report/src/.umi/plugin-locale/localeExports.ts.html +778 -0
  28. package/coverage/lcov-report/src/.umi/plugin-locale/runtime.tsx.html +115 -0
  29. package/coverage/lcov-report/src/.umi/plugin-model/Provider.tsx.html +202 -0
  30. package/coverage/lcov-report/src/.umi/plugin-model/helpers/constant.tsx.html +97 -0
  31. package/coverage/lcov-report/src/.umi/plugin-model/helpers/dispatcher.tsx.html +142 -0
  32. package/coverage/lcov-report/src/.umi/plugin-model/helpers/executor.tsx.html +334 -0
  33. package/coverage/lcov-report/src/.umi/plugin-model/helpers/index.html +146 -0
  34. package/coverage/lcov-report/src/.umi/plugin-model/index.html +146 -0
  35. package/coverage/lcov-report/src/.umi/plugin-model/runtime.tsx.html +121 -0
  36. package/coverage/lcov-report/src/.umi/plugin-model/useModel.tsx.html +298 -0
  37. package/coverage/lcov-report/src/.umi/plugin-request/index.html +116 -0
  38. package/coverage/lcov-report/src/.umi/plugin-request/request.ts.html +919 -0
  39. package/coverage/lcov-report/src/.umi/umi.ts.html +268 -0
  40. package/es/ProAction/index.js +1 -1
  41. package/es/ProDownload/index.js +3 -3
  42. package/es/ProDownload/utils.js +3 -3
  43. package/es/ProDrawerForm/components/ProDrawer/index.js +4 -4
  44. package/es/ProDrawerForm/components/ProModal/index.js +3 -3
  45. package/es/ProEditLabel/index.js +3 -3
  46. package/es/ProEditTable/components/ActionButton/index.js +3 -3
  47. package/es/ProEditTable/components/RenderField/index.js +5 -5
  48. package/es/ProEditTable/components/RenderToolbar/index.js +1 -1
  49. package/es/ProEditTable/utils/config.js +2 -2
  50. package/es/ProEditTable/utils/index.js +5 -5
  51. package/es/ProEditTable/utils/tools.js +1 -1
  52. package/es/ProEnum/hooks/useEnumRequest.js +2 -2
  53. package/es/ProEnum/index.js +1 -1
  54. package/es/ProForm/components/combination/FormList/components/ActionButton.js +2 -2
  55. package/es/ProForm/components/combination/FormList/components/BlockTitle.js +1 -1
  56. package/es/ProForm/components/combination/FormList/components/ToolbarButton.js +1 -1
  57. package/es/ProForm/components/combination/FormList/utils.js +1 -1
  58. package/es/ProForm/components/combination/Group/component/ComRender.js +1 -1
  59. package/es/ProForm/components/combination/ProCascader/index.js +1 -1
  60. package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +1 -1
  61. package/es/ProForm/components/combination/ProModalSelect/index.js +5 -5
  62. package/es/ProForm/components/old/ProAddress/index.js +1 -1
  63. package/es/ProForm/components/render/ConfirmWrapper.js +1 -1
  64. package/es/ProForm/components/render/Render.js +3 -3
  65. package/es/ProForm/index.js +1 -1
  66. package/es/ProForm/utils/useForm.js +1 -1
  67. package/es/ProStep/components/Listener/index.js +1 -1
  68. package/es/ProStep/index.js +3 -3
  69. package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.js +2 -2
  70. package/es/ProTable/hooks/useAntdTable.js +3 -3
  71. package/es/ProTable/index.js +2 -2
  72. package/es/ProTree/components/ProTree.js +1 -1
  73. package/es/ProTree/components/ProTreeSelect/index.js +2 -2
  74. package/es/ProTree/components/Tree.js +1 -1
  75. package/es/ProUpload/components/ImageRender.js +1 -1
  76. package/es/ProViewer/index.js +2 -2
  77. package/es/old/ProEditableTable/index.js +4 -4
  78. package/lib/ProAction/index.js +1 -1
  79. package/lib/ProDownload/index.js +3 -3
  80. package/lib/ProDownload/utils.js +3 -3
  81. package/lib/ProDrawerForm/components/ProDrawer/index.js +4 -4
  82. package/lib/ProDrawerForm/components/ProModal/index.js +3 -3
  83. package/lib/ProEditLabel/index.js +3 -3
  84. package/lib/ProEditTable/components/ActionButton/index.js +3 -3
  85. package/lib/ProEditTable/components/RenderField/index.js +5 -5
  86. package/lib/ProEditTable/components/RenderToolbar/index.js +1 -1
  87. package/lib/ProEditTable/utils/config.js +2 -2
  88. package/lib/ProEditTable/utils/index.js +5 -5
  89. package/lib/ProEditTable/utils/tools.js +1 -1
  90. package/lib/ProEnum/hooks/useEnumRequest.js +2 -2
  91. package/lib/ProEnum/index.js +1 -1
  92. package/lib/ProForm/components/combination/FormList/components/ActionButton.js +2 -2
  93. package/lib/ProForm/components/combination/FormList/components/BlockTitle.js +1 -1
  94. package/lib/ProForm/components/combination/FormList/components/ToolbarButton.js +1 -1
  95. package/lib/ProForm/components/combination/FormList/utils.js +1 -1
  96. package/lib/ProForm/components/combination/Group/component/ComRender.js +1 -1
  97. package/lib/ProForm/components/combination/ProCascader/index.js +1 -1
  98. package/lib/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +1 -1
  99. package/lib/ProForm/components/combination/ProModalSelect/index.js +5 -5
  100. package/lib/ProForm/components/old/ProAddress/index.js +1 -1
  101. package/lib/ProForm/components/render/ConfirmWrapper.js +1 -1
  102. package/lib/ProForm/components/render/Render.js +3 -3
  103. package/lib/ProForm/index.js +1 -1
  104. package/lib/ProForm/utils/useForm.js +1 -1
  105. package/lib/ProStep/components/Listener/index.js +1 -1
  106. package/lib/ProStep/index.js +3 -3
  107. package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.js +2 -2
  108. package/lib/ProTable/hooks/useAntdTable.js +3 -3
  109. package/lib/ProTable/index.js +2 -2
  110. package/lib/ProTree/components/ProTree.js +1 -1
  111. package/lib/ProTree/components/ProTreeSelect/index.js +2 -2
  112. package/lib/ProTree/components/Tree.js +1 -1
  113. package/lib/ProUpload/components/ImageRender.js +1 -1
  114. package/lib/ProViewer/index.js +2 -2
  115. package/lib/old/ProEditableTable/index.js +4 -4
  116. package/package.json +2 -1
  117. package/patches/rc-table+7.26.0.patch +49 -0
  118. package/.vscode/extensions.json +0 -5
@@ -30,7 +30,7 @@ var _excluded = ["type", "label", "show", "needConfirm", "onHandle", "onClick"],
30
30
  // 渲染操作栏
31
31
  var getActionColumn = function getActionColumn(config) {
32
32
  var _cloneDeepWith = (0, _lodash.cloneDeepWith)(config, function (value) {
33
- if ( /*#__PURE__*/_react.default.isValidElement(value)) {
33
+ if (/*#__PURE__*/_react.default.isValidElement(value)) {
34
34
  return value;
35
35
  }
36
36
  }),
@@ -87,7 +87,7 @@ var getActionColumn = function getActionColumn(config) {
87
87
  action.show = show !== null && show !== void 0 ? show : true;
88
88
  action.needConfirm = needConfirm !== null && needConfirm !== void 0 ? needConfirm : true;
89
89
  action.onEvent = /*#__PURE__*/function () {
90
- var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(record, index) {
90
+ var _ref = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(record, index) {
91
91
  var _form$getFieldValue;
92
92
  var rowName, _record, onEvent, result;
93
93
  return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
@@ -238,7 +238,7 @@ var transformColumns = exports.transformColumns = function transformColumns() {
238
238
  children: [before, columnTitle, (0, _jsxRuntime.jsx)(_antd.Tooltip, (0, _objectSpread2.default)((0, _objectSpread2.default)({
239
239
  title: tooltipTitle !== null && tooltipTitle !== void 0 ? tooltipTitle : tooltip
240
240
  }, resetProps), {}, {
241
- children: icon ? ( /*#__PURE__*/_react.default.cloneElement(icon, {
241
+ children: icon ? (/*#__PURE__*/_react.default.cloneElement(icon, {
242
242
  className: 'icon-tip'
243
243
  })) : (0, _jsxRuntime.jsx)(_reactSvg.ReactSVG, {
244
244
  className: "icon-tip",
@@ -384,8 +384,8 @@ var transformColumns = exports.transformColumns = function transformColumns() {
384
384
  }
385
385
  // cacheMap 用来存储缓存值,若有值后不再请求
386
386
  if (JSON.stringify(cacheMap.current) === '{}') {
387
- Promise.all(Object.entries(_cacheMap).map( /*#__PURE__*/function () {
388
- var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(item) {
387
+ Promise.all(Object.entries(_cacheMap).map(/*#__PURE__*/function () {
388
+ var _ref3 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(item) {
389
389
  var _item, key, value, _ref4, service, option;
390
390
  return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
391
391
  while (1) switch (_context2.prev = _context2.next) {
@@ -199,7 +199,7 @@ var handleScrollToError = exports.handleScrollToError = function handleScrollToE
199
199
  */
200
200
  function cloneDeepFilterNode(value) {
201
201
  return (0, _lodash.cloneDeepWith)(value, function (val) {
202
- if ( /*#__PURE__*/_react.default.isValidElement(val)) {
202
+ if (/*#__PURE__*/_react.default.isValidElement(val)) {
203
203
  return val;
204
204
  }
205
205
  });
@@ -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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(res) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2() {
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) {
@@ -154,7 +154,7 @@ var ProEnum = function ProEnum(props) {
154
154
  list = [];
155
155
  }
156
156
  }
157
- if ( /*#__PURE__*/_react.default.isValidElement(component)) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(defaultCallback, callback, index, item) {
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)) : ( /*#__PURE__*/(0, _react.createElement)(_antd.Button, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, rest), {}, {
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 ( /*#__PURE__*/_react.default.isValidElement(title)) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(defaultCallback, callback, item) {
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 ( /*#__PURE__*/_react.default.isValidElement(objValue) && /*#__PURE__*/_react.default.isValidElement(othValue)) {
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 ? ( /*#__PURE__*/_react.default.cloneElement(component, (0, _objectSpread3.default)({}, componentProps))) : (0, _jsxRuntime.jsx)(TypeComponent, (0, _objectSpread3.default)({}, componentProps));
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), {}, {
@@ -112,7 +112,7 @@ var ProCascader = function ProCascader(props) {
112
112
  defaultLabel = _useState4[0],
113
113
  setDefaultLabel = _useState4[1];
114
114
  var getFirstLevelOptions = /*#__PURE__*/function () {
115
- var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
115
+ var _ref6 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
116
116
  var _yield$service, data, newData, transFormData, serviceData;
117
117
  return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
118
118
  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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
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:
@@ -232,7 +232,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
232
232
  onChange(val, option);
233
233
  };
234
234
  var handleClick = /*#__PURE__*/function () {
235
- var _ref7 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
235
+ var _ref7 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
236
236
  var _yield$beforeOpen, res;
237
237
  return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
238
238
  while (1) switch (_context.prev = _context.next) {
@@ -294,7 +294,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
294
294
  }
295
295
  };
296
296
  var handleFinish = /*#__PURE__*/function () {
297
- var _ref8 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2() {
297
+ var _ref8 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2() {
298
298
  var _nextSelectedRows, _nextSelectedRows2, nextSelectedRows, record, flag, res;
299
299
  return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
300
300
  while (1) switch (_context2.prev = _context2.next) {
@@ -359,7 +359,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
359
359
  };
360
360
  }();
361
361
  var handleSearch = /*#__PURE__*/function () {
362
- var _ref9 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3() {
362
+ var _ref9 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3() {
363
363
  var values;
364
364
  return (0, _regeneratorRuntime2.default)().wrap(function _callee3$(_context3) {
365
365
  while (1) switch (_context3.prev = _context3.next) {
@@ -432,7 +432,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
432
432
  };
433
433
  // 初始化回显,当传入initParams时,前端用来回险
434
434
  var getInitValues = /*#__PURE__*/function () {
435
- var _ref10 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee4() {
435
+ var _ref10 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee4() {
436
436
  var _contentForm$getField, _useRequest$options2, _useRequest$options3, queryBean, page, params, res, _res$data2, _list, list, _data, nextSelectRowKeys;
437
437
  return (0, _regeneratorRuntime2.default)().wrap(function _callee4$(_context4) {
438
438
  while (1) switch (_context4.prev = _context4.next) {
@@ -495,7 +495,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
495
495
  }();
496
496
  // 初始化回显,当传入initParams时,前端用来回险
497
497
  var getDefaultOneValues = /*#__PURE__*/function () {
498
- var _ref11 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee5() {
498
+ var _ref11 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee5() {
499
499
  var _useRequest$options4, _useRequest$options5;
500
500
  var queryBean, page, params, res, _res$data3, _list2, list, _data2, nextSelectRowKeys;
501
501
  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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(code, type) {
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) {
@@ -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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(value) {
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 ( /*#__PURE__*/_react.default.isValidElement(AutoComponent)) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
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) ? ( /*#__PURE__*/_react.default.cloneElement(AutoComponent, childProps)) : (0, _jsxRuntime.jsx)(AutoComponent, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, (0, _lodash.omit)(lastComponentProps, [].concat(lastComponentPropsFilter, ['debounceWait']))), {}, {
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,
@@ -201,7 +201,7 @@ var ProForm = function ProForm(props, ref) {
201
201
  if (isView || disabled) {
202
202
  // 查看或禁用模式
203
203
  footerEle = null;
204
- } else if ( /*#__PURE__*/_react.default.isValidElement(footer)) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(nameList) {
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)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
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) {
@@ -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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(params) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3(keys) {
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) {
@@ -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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(_ref3) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(_ref5) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(changeableRowKeys) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3() {
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:
@@ -223,7 +223,7 @@ function ProTable(props) {
223
223
  });
224
224
  }, [columns]);
225
225
  var handleColumnConfig = /*#__PURE__*/function () {
226
- var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(checkList) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(nextDataSource) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(props, info) {
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) {
@@ -294,8 +294,8 @@ var ProTreeSelect = exports.ProTreeSelect = function ProTreeSelect(props, ref) {
294
294
  var _renderTreeNode = function renderTreeNode(node, grade) {
295
295
  var children = node.children,
296
296
  icon = node.icon;
297
- var labelText = node[label];
298
- var value = node[code];
297
+ var labelText = node === null || node === void 0 ? void 0 : node.label;
298
+ var value = node === null || node === void 0 ? void 0 : node.value;
299
299
  var key = node[uuidKey];
300
300
  var titleHtml = (0, _jsxRuntime.jsx)("span", {
301
301
  dangerouslySetInnerHTML: {
@@ -115,7 +115,7 @@ function List(props) {
115
115
  }
116
116
  }, [selectedKey]);
117
117
  var onSelect = /*#__PURE__*/function () {
118
- var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(value, item) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
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) {
@@ -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( /*#__PURE__*/function () {
116
- var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(response) {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(rowIndex, callback) {
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
- }) : ( /*#__PURE__*/(0, _react.cloneElement)(buttonText, antButtonProps))
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)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3() {
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.1",
3
+ "version": "3.8.0-beat.3",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -114,6 +114,7 @@
114
114
  "jest-canvas-mock": "^2.5.2",
115
115
  "lint-staged": "^10.0.0",
116
116
  "mockjs": "^1.1.0",
117
+ "patch-package": "^8.0.0",
117
118
  "prettier": "^2.5.0",
118
119
  "pretty-quick": "^3.1.3",
119
120
  "react-json-view": "^1.21.3",
@@ -0,0 +1,49 @@
1
+ diff --git a/node_modules/rc-table/es/Cell/index.js b/node_modules/rc-table/es/Cell/index.js
2
+ index 4f49ea7..00de314 100644
3
+ --- a/node_modules/rc-table/es/Cell/index.js
4
+ +++ b/node_modules/rc-table/es/Cell/index.js
5
+ @@ -8,6 +8,7 @@ var _excluded = ["colSpan", "rowSpan", "style", "className"];
6
+ import * as React from 'react';
7
+ import classNames from 'classnames';
8
+ import shallowEqual from 'shallowequal';
9
+ +import isEqual from 'rc-util/es/isEqual';
10
+ import { supportRef } from "rc-util/es/ref";
11
+ import { getPathValue, validateValue } from '../utils/valueUtil';
12
+ import StickyContext from '../context/StickyContext';
13
+ @@ -226,16 +227,29 @@ var RefCell = /*#__PURE__*/React.forwardRef(Cell);
14
+ RefCell.displayName = 'Cell';
15
+ var comparePropList = ['expanded', 'className', 'hovering'];
16
+ var MemoCell = /*#__PURE__*/React.memo(RefCell, function (prev, next) {
17
+ + // if (next.shouldCellUpdate) {
18
+ + // return (// Additional handle of expanded logic
19
+ + // comparePropList.every(function (propName) {
20
+ + // return prev[propName] === next[propName];
21
+ + // }) && // User control update logic
22
+ + // !next.shouldCellUpdate(next.record, prev.record)
23
+ + // );
24
+ + // }
25
+ +
26
+ + // return shallowEqual(prev, next);
27
+ +
28
+ if (next.shouldCellUpdate) {
29
+ - return (// Additional handle of expanded logic
30
+ - comparePropList.every(function (propName) {
31
+ - return prev[propName] === next[propName];
32
+ - }) && // User control update logic
33
+ - !next.shouldCellUpdate(next.record, prev.record)
34
+ - );
35
+ + const [, prevRecord] = prev;
36
+ + const [, nextRecord] = next;
37
+ + return next.shouldCellUpdate(nextRecord, prevRecord);
38
+ }
39
+
40
+ - return shallowEqual(prev, next);
41
+ + // Legacy mode should always update
42
+ + // if (perfRecord.renderWithProps) {
43
+ + // return true;
44
+ + // }
45
+ +
46
+ + return !isEqual(prev, next, true);
47
+ });
48
+ /** Inject hover data here, we still wish MemoCell keep simple `shouldCellUpdate` logic */
49
+
@@ -1,5 +0,0 @@
1
- {
2
- "recommendations": [
3
- "kisstkondoros.vscode-codemetrics"
4
- ]
5
- }