@bit-sun/business-component 4.0.11-alpha.20 → 4.0.11-alpha.22

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/dist/index.esm.js CHANGED
@@ -1059,13 +1059,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
1059
1059
  imgHtml.innerHTML = str;
1060
1060
  }
1061
1061
  // 测试使用 测试类型缩小 end
1062
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1062
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1063
1063
  className: "clomnsImg"
1064
1064
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1065
1065
  src: url,
1066
1066
  width: "16px",
1067
1067
  height: "16px"
1068
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("div", {
1068
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
1069
1069
  className: "clomnsImg2"
1070
1070
  }, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1071
1071
  src: noImg
@@ -1204,7 +1204,7 @@ function downloadExcel(data, fileName, isResUrl) {
1204
1204
  }
1205
1205
  save_link.click();
1206
1206
  }
1207
- var formatter = function formatter(data, parentAuthority, parentName) {
1207
+ var _formatter = function formatter(data, parentAuthority, parentName) {
1208
1208
  return data.map(function (item) {
1209
1209
  if (!item.name || !item.path) {
1210
1210
  return null;
@@ -1224,7 +1224,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1224
1224
  authority: item.authority || parentAuthority
1225
1225
  });
1226
1226
  if (item.routes) {
1227
- var children = formatter(item.routes, item.authority, locale);
1227
+ var children = _formatter(item.routes, item.authority, locale);
1228
1228
  // Reduce memory usage
1229
1229
  result.children = children;
1230
1230
  }
@@ -1234,7 +1234,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1234
1234
  return item;
1235
1235
  });
1236
1236
  };
1237
- var memoizeOneFormatter = memoizeOne(formatter, isEqual);
1237
+ var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
1238
1238
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1239
1239
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1240
1240
  if (backHistoryPath) {
@@ -1543,7 +1543,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1543
1543
  // sheepMap是表头字段中英文映射
1544
1544
  // sheetCount:表的数量,默认一张
1545
1545
  var resolveFile = /*#__PURE__*/function () {
1546
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1546
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1547
1547
  var config,
1548
1548
  data,
1549
1549
  _args = arguments;
@@ -1582,7 +1582,7 @@ var resolveFile = /*#__PURE__*/function () {
1582
1582
  }();
1583
1583
  //读取文件
1584
1584
  var readerXlsxToList = /*#__PURE__*/function () {
1585
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1585
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1586
1586
  var _ref5, callback, sheetMap, nowFile, data2, data;
1587
1587
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1588
1588
  while (1) switch (_context2.prev = _context2.next) {
@@ -1675,14 +1675,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
1675
1675
  /**---------------------数据写入excel-------结束------------------------*/
1676
1676
 
1677
1677
  // 获取树平行结构
1678
- var coverToParallel = function coverToParallel(treeData, result, chilKey) {
1678
+ var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
1679
1679
  var childrenKey = chilKey || 'children';
1680
1680
  treeData.forEach(function (el) {
1681
1681
  var _el$childrenKey;
1682
1682
  result.push(el);
1683
1683
  if ((el === null || el === void 0 ? void 0 : el[childrenKey]) && (el === null || el === void 0 ? void 0 : (_el$childrenKey = el[childrenKey]) === null || _el$childrenKey === void 0 ? void 0 : _el$childrenKey.length) > 0) {
1684
1684
  // 子级递归
1685
- coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1685
+ _coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1686
1686
  }
1687
1687
  });
1688
1688
  return result;
@@ -1959,13 +1959,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
1959
1959
  imgHtml.innerHTML = str;
1960
1960
  }
1961
1961
  // 测试使用 测试类型缩小 end
1962
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1962
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1963
1963
  className: "clomnsImg"
1964
1964
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1965
1965
  src: url,
1966
1966
  width: "16px",
1967
1967
  height: "16px"
1968
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1968
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1969
1969
  src: noImg
1970
1970
  }))));
1971
1971
  };
@@ -2027,7 +2027,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2027
2027
  }
2028
2028
  });
2029
2029
  };
2030
- var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && ( /*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2030
+ var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2031
2031
  disabled: disabled,
2032
2032
  onChange: function onChange(e) {
2033
2033
  var v = e.target.value;
@@ -2037,7 +2037,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2037
2037
  width: 170
2038
2038
  },
2039
2039
  value: inputValue
2040
- }, inpProps))), type === 'number' && ( /*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2040
+ }, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2041
2041
  disabled: disabled,
2042
2042
  onBlur: function onBlur(e) {
2043
2043
  var v = parseFloat(e.target.value);
@@ -2416,16 +2416,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2416
2416
  var handleExportBarCode = handleExport;
2417
2417
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2418
2418
  var routerMap = {};
2419
- var flattenMenuData = function flattenMenuData(data) {
2419
+ var _flattenMenuData = function flattenMenuData(data) {
2420
2420
  data.forEach(function (menuItem) {
2421
2421
  if (menuItem.children) {
2422
- flattenMenuData(menuItem.children);
2422
+ _flattenMenuData(menuItem.children);
2423
2423
  }
2424
2424
  // Reduce memory usage
2425
2425
  routerMap[menuItem.path] = menuItem;
2426
2426
  });
2427
2427
  };
2428
- flattenMenuData(menuData);
2428
+ _flattenMenuData(menuData);
2429
2429
  return routerMap;
2430
2430
  };
2431
2431
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -2568,7 +2568,7 @@ var requestUtil = function requestUtil(_ref) {
2568
2568
  return request$1(url, parms).then(handleResponseData);
2569
2569
  };
2570
2570
  var handleResponseData = /*#__PURE__*/function () {
2571
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2571
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2572
2572
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2573
2573
  while (1) switch (_context.prev = _context.next) {
2574
2574
  case 0:
@@ -3242,7 +3242,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3242
3242
  placement: "bottomLeft"
3243
3243
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3244
3244
  title: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
3245
- }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && ( /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3245
+ }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3246
3246
  trigger: ['click'],
3247
3247
  overlay: this.menuList,
3248
3248
  placement: "bottomRight"
@@ -3917,7 +3917,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
3917
3917
  placement: "bottomLeft"
3918
3918
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3919
3919
  title: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
3920
- }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && ( /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3920
+ }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3921
3921
  trigger: ['click'],
3922
3922
  overlay: this.menuList,
3923
3923
  placement: "bottomRight"
@@ -4167,7 +4167,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4167
4167
  _ref$noNeedSplit = _ref.noNeedSplit,
4168
4168
  noNeedSplit = _ref$noNeedSplit === void 0 ? false : _ref$noNeedSplit,
4169
4169
  noOperate = _ref.noOperate,
4170
- viewShowValueStr = _ref.viewShowValueStr;
4170
+ viewShowValueStr = _ref.viewShowValueStr,
4171
+ searchStartLength = _ref.searchStartLength;
4171
4172
  var resultSourceKey = handleSourceName(sourceName || (requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.sourceName) || (ctx === null || ctx === void 0 ? void 0 : ctx.name) || 'supplierCode');
4172
4173
  var selectMode = selectProps === null || selectProps === void 0 ? void 0 : selectProps.mode; // 设定当前选择器 为单选或者多选模式 无设定为单选模式(默认)
4173
4174
  var initVal = value || (selectMode ? [] : null);
@@ -4319,6 +4320,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4319
4320
  _useState44 = _slicedToArray(_useState43, 2),
4320
4321
  modalSearched = _useState44[0],
4321
4322
  setModalSearched = _useState44[1];
4323
+ var setSelectDataSource = function setSelectDataSource(list, total) {
4324
+ setItems(list);
4325
+ setItemsTotal(total);
4326
+ };
4327
+ var clearSelectDataSource = function clearSelectDataSource() {
4328
+ setSelectDataSource([], 0);
4329
+ };
4322
4330
  useImperativeHandle(ref, function () {
4323
4331
  return {
4324
4332
  refreshDataSource: function refreshDataSource() {
@@ -4327,17 +4335,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4327
4335
  if (init) {
4328
4336
  run('init');
4329
4337
  } else {
4330
- setItems([]);
4331
- setItemsTotal(0);
4338
+ clearSelectDataSource();
4332
4339
  }
4333
4340
  } else {
4334
4341
  run();
4335
4342
  }
4336
4343
  },
4337
- clearDataSource: function clearDataSource() {
4338
- setItems([]);
4339
- setItemsTotal(0);
4340
- },
4344
+ clearSelectDataSource: clearSelectDataSource,
4341
4345
  getTableFormRef: function getTableFormRef() {
4342
4346
  return form;
4343
4347
  },
@@ -4345,10 +4349,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4345
4349
  getSelectDataSource: function getSelectDataSource() {
4346
4350
  return items;
4347
4351
  },
4348
- setSelectDataSource: function setSelectDataSource(list, listTotal) {
4349
- setItems(list);
4350
- setItemsTotal(listTotal);
4351
- },
4352
+ setSelectDataSource: setSelectDataSource,
4352
4353
  refreshSelectDataSource: function refreshSelectDataSource() {
4353
4354
  refreshItems();
4354
4355
  },
@@ -4569,8 +4570,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4569
4570
  if (type === 1) {
4570
4571
  var _ctx$form;
4571
4572
  ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(resultSourceKey, source);
4572
- setItems(source);
4573
- setItemsTotal(Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
4573
+ setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
4574
4574
  } else {
4575
4575
  setTableData(source);
4576
4576
  setTablePagination(_objectSpread2(_objectSpread2({}, tablePagination), {}, {
@@ -4642,8 +4642,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4642
4642
  }, [resultSourceKey]);
4643
4643
  useEffect(function () {
4644
4644
  if (init) {
4645
- setItems([]);
4646
- setItemsTotal(0);
4645
+ clearSelectDataSource();
4647
4646
  run('init');
4648
4647
  }
4649
4648
  }, [selectBusinessType]);
@@ -4717,7 +4716,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4717
4716
  // 解决选择最后1页的sku,返回后,不显示名称问题
4718
4717
  var source = _.uniqBy(items.concat(selectedValue), 'value');
4719
4718
  ctx === null || ctx === void 0 ? void 0 : (_ctx$form2 = ctx.form) === null || _ctx$form2 === void 0 ? void 0 : _ctx$form2.setFieldSource(resultSourceKey, source);
4720
- setItems(source);
4719
+ setSelectDataSource(source, source === null || source === void 0 ? void 0 : source.length);
4721
4720
  formaData(selectedValue, source);
4722
4721
  } else {
4723
4722
  var formatResult = selectMode ? [] : null;
@@ -4799,8 +4798,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4799
4798
  }).length > 0) {
4800
4799
  run();
4801
4800
  } else {
4802
- setItems([]);
4803
- setItemsTotal(0);
4801
+ clearSelectDataSource();
4804
4802
  }
4805
4803
  } else {
4806
4804
  run();
@@ -4808,7 +4806,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4808
4806
  };
4809
4807
  var onSearchChange = function onSearchChange(v) {
4810
4808
  setSearchValue(v);
4811
- if ((v === null || v === void 0 ? void 0 : v.length) < 4) return;
4809
+ if (!!searchStartLength && (v === null || v === void 0 ? void 0 : v.length) < searchStartLength) return;
4812
4810
  refreshItems();
4813
4811
  };
4814
4812
  var onSearchTable = function onSearchTable() {
@@ -5111,8 +5109,26 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5111
5109
  });
5112
5110
  })) || [], 'noPage')
5113
5111
  }];
5112
+ var resetSelectDataSource = function resetSelectDataSource() {
5113
+ setSearchValue('');
5114
+ clearSelectDataSource();
5115
+ init && run('init');
5116
+ };
5114
5117
  var onClear = function onClear() {
5115
5118
  formaData([], items);
5119
+ resetSelectDataSource();
5120
+ };
5121
+ var onDeselect = function onDeselect() {
5122
+ var oldSelect = (value === null || value === void 0 ? void 0 : value.map(function (s) {
5123
+ return {
5124
+ value: (s === null || s === void 0 ? void 0 : s.value) || s
5125
+ };
5126
+ })) || [];
5127
+ var deRecord = arguments.length <= 1 ? undefined : arguments[1];
5128
+ var srs = oldSelect.filter(function (s) {
5129
+ return s.value != (deRecord === null || deRecord === void 0 ? void 0 : deRecord.value);
5130
+ });
5131
+ onSelectClick(srs, items, false);
5116
5132
  };
5117
5133
  var onSelectClick = function onSelectClick(srs, ds) {
5118
5134
  var nr = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
@@ -5121,10 +5137,9 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5121
5137
  };
5122
5138
  var onDropdownVisibleChange = function onDropdownVisibleChange(visible) {
5123
5139
  setSelectOpen(visible);
5124
- // 关闭下拉框 如果首次本身就不展示数据的 没有选中数据-需要清空查询数据源
5125
- if (!init && !visible && !(value === null || value === void 0 ? void 0 : value.length)) {
5126
- setItems([]);
5127
- setItemsTotal(0);
5140
+ // 关闭下拉框 如果首次本身就不展示数据的 没有选中数据-需要清空查询数据源; 首次展示的默认展示
5141
+ if (!visible && !(value === null || value === void 0 ? void 0 : value.length)) {
5142
+ resetSelectDataSource();
5128
5143
  }
5129
5144
  };
5130
5145
  var renderTable = function renderTable(dataSource) {
@@ -5170,7 +5185,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5170
5185
  };
5171
5186
  })) || [];
5172
5187
  var newSelect = [JSON.parse(JSON.stringify(record))];
5173
- console.log('行选择:', 'oldSelect', oldSelect, 'newSelect', newSelect, 'record', record);
5174
5188
  var srs = getRealStr(oldSelect, newSelect, record);
5175
5189
  onSelectClick(srs, dataSource, false);
5176
5190
  } // 点击行
@@ -5275,13 +5289,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5275
5289
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
5276
5290
  return /*#__PURE__*/React$1.createElement("div", {
5277
5291
  className: 'search_select'
5278
- }, fieldComponent ? ( /*#__PURE__*/React$1.createElement("div", {
5292
+ }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
5279
5293
  onClick: function onClick() {
5280
5294
  var _fieldComponent$props, _fieldComponent$props2;
5281
5295
  (_fieldComponent$props = fieldComponent.props) === null || _fieldComponent$props === void 0 ? void 0 : (_fieldComponent$props2 = _fieldComponent$props.onClick) === null || _fieldComponent$props2 === void 0 ? void 0 : _fieldComponent$props2.call(_fieldComponent$props);
5282
5296
  showModal();
5283
5297
  }
5284
- }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
5298
+ }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
5285
5299
  title: getShowStr(),
5286
5300
  style: {
5287
5301
  overflow: 'hidden',
@@ -5297,6 +5311,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5297
5311
  value: value,
5298
5312
  onChange: onchange,
5299
5313
  onClear: onClear,
5314
+ onDeselect: onDeselect,
5300
5315
  disabled: disabled,
5301
5316
  dropdownStyle: {
5302
5317
  borderRadius: '2px',
@@ -5307,14 +5322,14 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5307
5322
  dropdownRender: function dropdownRender(menu) {
5308
5323
  return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
5309
5324
  },
5310
- notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
5325
+ notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
5311
5326
  size: "small",
5312
5327
  className: 'searchSelectSpin'
5313
- })) : ( /*#__PURE__*/React$1.createElement("div", {
5328
+ })) : (/*#__PURE__*/React$1.createElement("div", {
5314
5329
  style: {
5315
5330
  textAlign: 'center'
5316
5331
  }
5317
- }, /*#__PURE__*/React$1.createElement("div", null, searchValue ? '无匹配结果,请更换其他内容再试' : '请录入4位数以上字符进行模糊查询'))),
5332
+ }, /*#__PURE__*/React$1.createElement("div", null, searchValue ? '无匹配结果,请更换其他内容再试' : "\u8BF7\u5F55\u5165".concat(searchStartLength ? '4位数以上' : '', "\u5B57\u7B26\u8FDB\u884C\u6A21\u7CCA\u67E5\u8BE2")))),
5318
5333
  onPopupScroll: SelectScroll,
5319
5334
  style: {
5320
5335
  width: 'calc(100%)'
@@ -5341,7 +5356,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5341
5356
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
5342
5357
  filterTxt: searchValue
5343
5358
  }));
5344
- }))), needModalTable && isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
5359
+ }))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
5345
5360
  maskClosable: false,
5346
5361
  destroyOnClose: true,
5347
5362
  width: "80%",
@@ -5938,7 +5953,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
5938
5953
  style: {
5939
5954
  width: 525
5940
5955
  }
5941
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
5956
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
5942
5957
  checked: !dataSource.some(function (item) {
5943
5958
  if (item.hidden) return true;
5944
5959
  return false;
@@ -5976,13 +5991,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
5976
5991
  _this2.onChange(e, item.title);
5977
5992
  }
5978
5993
  }, item.title);
5979
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
5994
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
5980
5995
  style: {
5981
5996
  width: '144px'
5982
5997
  }
5983
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
5998
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
5984
5999
  className: 'sort_table_column_all_empty'
5985
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
6000
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5986
6001
  className: 'sort_table_column_special'
5987
6002
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
5988
6003
  className: 'sort_table_column_all'
@@ -6171,7 +6186,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
6171
6186
  });
6172
6187
  };
6173
6188
  // 格式化树选择器数据源
6174
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6189
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6175
6190
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
6176
6191
  return {
6177
6192
  title: treeDataItem[resKeyValue[1]],
@@ -6181,7 +6196,7 @@ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6181
6196
  isLeaf: !haveChildren,
6182
6197
  disabled: haveChildren,
6183
6198
  children: haveChildren ? treeDataItem.children.map(function (i) {
6184
- return mapSearchTree(i, resKeyValue);
6199
+ return _mapSearchTree(i, resKeyValue);
6185
6200
  }) : []
6186
6201
  };
6187
6202
  };
@@ -6190,7 +6205,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
6190
6205
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
6191
6206
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
6192
6207
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
6193
- return mapSearchTree(ites, resKeyValue);
6208
+ return _mapSearchTree(ites, resKeyValue);
6194
6209
  }) || [];
6195
6210
  changeSearchForm[changePosition].field.props.treeData = formatData;
6196
6211
  };
@@ -6361,7 +6376,7 @@ var AddSelect = function AddSelect(props) {
6361
6376
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
6362
6377
  // FIXME: 特殊业务逻辑
6363
6378
  var checkSelectChange = /*#__PURE__*/function () {
6364
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
6379
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
6365
6380
  var result;
6366
6381
  return _regeneratorRuntime().wrap(function _callee$(_context) {
6367
6382
  while (1) switch (_context.prev = _context.next) {
@@ -6614,7 +6629,7 @@ var AddSelect = function AddSelect(props) {
6614
6629
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
6615
6630
  value: text || null,
6616
6631
  onChange: function () {
6617
- var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
6632
+ var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
6618
6633
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
6619
6634
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
6620
6635
  while (1) switch (_context2.prev = _context2.next) {
@@ -7222,10 +7237,10 @@ var AddSelect = function AddSelect(props) {
7222
7237
  var newColumns = arr.map(function (col) {
7223
7238
  return _objectSpread2({}, col);
7224
7239
  });
7225
- var handleIndex = function handleIndex(arr, indexArr) {
7240
+ var _handleIndex = function handleIndex(arr, indexArr) {
7226
7241
  var i = indexArr.shift();
7227
7242
  if (indexArr.length > 0) {
7228
- handleIndex(arr[i].children, indexArr);
7243
+ _handleIndex(arr[i].children, indexArr);
7229
7244
  } else {
7230
7245
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
7231
7246
  width: size.width
@@ -7233,7 +7248,7 @@ var AddSelect = function AddSelect(props) {
7233
7248
  handleAntdColumnsSpecialParams(arr[i]);
7234
7249
  }
7235
7250
  };
7236
- handleIndex(newColumns, _toConsumableArray(index));
7251
+ _handleIndex(newColumns, _toConsumableArray(index));
7237
7252
  callback(newColumns);
7238
7253
  };
7239
7254
  };
@@ -7243,13 +7258,13 @@ var AddSelect = function AddSelect(props) {
7243
7258
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
7244
7259
  setShowToChooseColumns(_toConsumableArray(newColumns));
7245
7260
  };
7246
- var handleColumns = function handleColumns(arr, indexArr, callback) {
7261
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
7247
7262
  arr.forEach(function (item, index) {
7248
7263
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
7249
7264
  return i || i === 0;
7250
7265
  });
7251
7266
  if (noEmptyArray$1(item.children)) {
7252
- handleColumns(item.children, indexArrInside);
7267
+ _handleColumns(item.children, indexArrInside);
7253
7268
  } else {
7254
7269
  item.width = item.width || getItemDefaultWidth$2(item);
7255
7270
  item.onHeaderCell = function (column) {
@@ -7265,14 +7280,14 @@ var AddSelect = function AddSelect(props) {
7265
7280
  handleAntdColumnsSpecialParams(item);
7266
7281
  return _objectSpread2({}, item);
7267
7282
  });
7268
- handleColumns(showToChooseCol, [], function (res) {
7283
+ _handleColumns(showToChooseCol, [], function (res) {
7269
7284
  return setShowToChooseColumnsCallback(res);
7270
7285
  });
7271
7286
  var showSelectedCol = showColumns.map(function (item) {
7272
7287
  handleAntdColumnsSpecialParams(item);
7273
7288
  return _objectSpread2({}, item);
7274
7289
  });
7275
- handleColumns(showSelectedCol, [], function (res) {
7290
+ _handleColumns(showSelectedCol, [], function (res) {
7276
7291
  return setShowColumnsCallback(res);
7277
7292
  });
7278
7293
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -7283,7 +7298,7 @@ var AddSelect = function AddSelect(props) {
7283
7298
  id: "add_select_div_".concat(uniqueValue)
7284
7299
  }, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
7285
7300
  onClick: handleShowModal
7286
- }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, {
7301
+ }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
7287
7302
  width: '1200px',
7288
7303
  style: {
7289
7304
  top: 20
@@ -8197,7 +8212,7 @@ var BillEntry = function BillEntry(_ref3) {
8197
8212
  });
8198
8213
  };
8199
8214
  var handleSubmit = /*#__PURE__*/function () {
8200
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
8215
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
8201
8216
  var canEntryObject, _canEntryObject$error, messageInfo;
8202
8217
  return _regeneratorRuntime().wrap(function _callee$(_context) {
8203
8218
  while (1) switch (_context.prev = _context.next) {
@@ -8280,10 +8295,10 @@ var BillEntry = function BillEntry(_ref3) {
8280
8295
  var newColumns = arr.map(function (col) {
8281
8296
  return _objectSpread2({}, col);
8282
8297
  });
8283
- var handleIndex = function handleIndex(arr, indexArr) {
8298
+ var _handleIndex = function handleIndex(arr, indexArr) {
8284
8299
  var i = indexArr.shift();
8285
8300
  if (indexArr.length > 0) {
8286
- handleIndex(arr[i].children, indexArr);
8301
+ _handleIndex(arr[i].children, indexArr);
8287
8302
  } else {
8288
8303
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8289
8304
  width: size.width
@@ -8291,17 +8306,17 @@ var BillEntry = function BillEntry(_ref3) {
8291
8306
  handleAntdColumnsSpecialParams(arr[i]);
8292
8307
  }
8293
8308
  };
8294
- handleIndex(newColumns, _toConsumableArray(index));
8309
+ _handleIndex(newColumns, _toConsumableArray(index));
8295
8310
  callback(newColumns);
8296
8311
  };
8297
8312
  };
8298
- var handleColumns = function handleColumns(arr, indexArr, callback) {
8313
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
8299
8314
  arr.forEach(function (item, index) {
8300
8315
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8301
8316
  return i || i === 0;
8302
8317
  });
8303
8318
  if (noEmptyArray$1(item.children)) {
8304
- handleColumns(item.children, indexArrInside);
8319
+ _handleColumns(item.children, indexArrInside);
8305
8320
  } else {
8306
8321
  item.width = item.width || getItemDefaultWidth$2(item);
8307
8322
  item.onHeaderCell = function (column) {
@@ -8317,7 +8332,7 @@ var BillEntry = function BillEntry(_ref3) {
8317
8332
  handleAntdColumnsSpecialParams(item);
8318
8333
  return _objectSpread2({}, item);
8319
8334
  });
8320
- handleColumns(showSelectedCol, [], function (res) {
8335
+ _handleColumns(showSelectedCol, [], function (res) {
8321
8336
  return setShowColumnsCallback(res);
8322
8337
  });
8323
8338
  return /*#__PURE__*/React$1.createElement("div", {
@@ -8631,7 +8646,7 @@ function commonFun(type, prefixUrl, parentProps) {
8631
8646
  });
8632
8647
  };
8633
8648
  // 格式化树选择器数据源
8634
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
8649
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
8635
8650
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
8636
8651
  return {
8637
8652
  title: treeDataItem[resKeyValue[1]],
@@ -8641,7 +8656,7 @@ function commonFun(type, prefixUrl, parentProps) {
8641
8656
  isLeaf: !haveChildren,
8642
8657
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
8643
8658
  children: haveChildren ? treeDataItem.children.map(function (i) {
8644
- return mapSearchTree(i, resKeyValue, disabledJudge);
8659
+ return _mapSearchTree(i, resKeyValue, disabledJudge);
8645
8660
  }) : []
8646
8661
  };
8647
8662
  };
@@ -8655,7 +8670,7 @@ function commonFun(type, prefixUrl, parentProps) {
8655
8670
  disabledJudge = false;
8656
8671
  }
8657
8672
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
8658
- return mapSearchTree(ites, resKeyValue, disabledJudge);
8673
+ return _mapSearchTree(ites, resKeyValue, disabledJudge);
8659
8674
  }) || [];
8660
8675
  changeSearchForm[changePosition].field.props.treeData = formatData;
8661
8676
  };
@@ -8895,6 +8910,7 @@ function commonFun(type, prefixUrl, parentProps) {
8895
8910
  requestConfig = _objectSpread2({
8896
8911
  url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v3"),
8897
8912
  filter: 'skuCodeAndSkuName',
8913
+ searchStartLength: 4,
8898
8914
  mappingTextField: 'name',
8899
8915
  mappingValueField: 'skuCode',
8900
8916
  mappingTextShowTextField: ['name', 'propertyNameAndValue'],
@@ -12700,7 +12716,7 @@ var CommodityEntry = function CommodityEntry(props) {
12700
12716
  };
12701
12717
  return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
12702
12718
  onClick: handleShowModal
12703
- }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
12719
+ }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
12704
12720
  onOk: handleOk,
12705
12721
  onCancel: handleCancel,
12706
12722
  destroyOnClose: true,
@@ -12819,7 +12835,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12819
12835
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
12820
12836
  _remoteSource$special = remoteSource.specialBracket,
12821
12837
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
12822
- var mapSearchTree = function mapSearchTree(treeDataItem) {
12838
+ var _mapSearchTree = function mapSearchTree(treeDataItem) {
12823
12839
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
12824
12840
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
12825
12841
  return {
@@ -12831,7 +12847,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12831
12847
  isLeaf: !haveChildren,
12832
12848
  disabled: isDisabled(haveChildren, isRoot),
12833
12849
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
12834
- return mapSearchTree(i);
12850
+ return _mapSearchTree(i);
12835
12851
  }) : []
12836
12852
  };
12837
12853
  };
@@ -12849,8 +12865,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12849
12865
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
12850
12866
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
12851
12867
  headers: headers
12852
- }).then( /*#__PURE__*/function () {
12853
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
12868
+ }).then(/*#__PURE__*/function () {
12869
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
12854
12870
  var _ctx$form;
12855
12871
  var resData, coverData, data, dataList;
12856
12872
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -12877,7 +12893,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12877
12893
  case 9:
12878
12894
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
12879
12895
  coverData = dataList.length && dataList.map(function (ites) {
12880
- return mapSearchTree(ites);
12896
+ return _mapSearchTree(ites);
12881
12897
  }) || [];
12882
12898
  case 11:
12883
12899
  _context.next = 14;
@@ -12915,11 +12931,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12915
12931
  return _formatResult;
12916
12932
  }
12917
12933
  };
12918
- var parallelData = function parallelData(data, result) {
12934
+ var _parallelData = function parallelData(data, result) {
12919
12935
  data.forEach(function (i) {
12920
12936
  result.push(i);
12921
12937
  if (i[treeChildrenRoom]) {
12922
- parallelData(i[treeChildrenRoom], result);
12938
+ _parallelData(i[treeChildrenRoom], result);
12923
12939
  }
12924
12940
  });
12925
12941
  return result;
@@ -12959,7 +12975,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12959
12975
  var _ctx$form2;
12960
12976
  var handleData = formatData(data);
12961
12977
  // 获取选中树节点当条数据,并返回给调用业务
12962
- var parallelTreeData = parallelData(treeData, []);
12978
+ var parallelTreeData = _parallelData(treeData, []);
12963
12979
  var currentItem = getSelectItem(parallelTreeData, data);
12964
12980
  onChange(handleData, data, currentItem, parallelTreeData);
12965
12981
  onChangeName && onChangeName(dataName);
@@ -13002,7 +13018,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13002
13018
  var getShowStr = function getShowStr() {
13003
13019
  var isMultiple = multiple || treeCheckable;
13004
13020
  var kongValue = '无';
13005
- var parallelTreeData = parallelData(treeData, []);
13021
+ var parallelTreeData = _parallelData(treeData, []);
13006
13022
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
13007
13023
  if (isMultiple) {
13008
13024
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -13014,7 +13030,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13014
13030
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
13015
13031
  return /*#__PURE__*/React$1.createElement("div", {
13016
13032
  className: 'tree_search_select'
13017
- }, isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
13033
+ }, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
13018
13034
  title: getShowStr(),
13019
13035
  style: {
13020
13036
  overflow: 'hidden',
@@ -13022,7 +13038,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13022
13038
  whiteSpace: 'nowrap'
13023
13039
  },
13024
13040
  className: 'search_select_show'
13025
- }, getShowStr())) : ( /*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
13041
+ }, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
13026
13042
  treeCheckable: treeCheckable,
13027
13043
  maxTagCount: maxTagCount,
13028
13044
  showSearch: showSearch,
@@ -13219,7 +13235,7 @@ var index$2 = (function (props) {
13219
13235
  } : {}
13220
13236
  }, item.text)), /*#__PURE__*/React$1.createElement("div", {
13221
13237
  className: 'status-label-operate'
13222
- }, item.isDone ? ( /*#__PURE__*/React$1.createElement("div", {
13238
+ }, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
13223
13239
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
13224
13240
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
13225
13241
  style: {
@@ -14000,7 +14016,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14000
14016
  style: {
14001
14017
  width: 525
14002
14018
  }
14003
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
14019
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
14004
14020
  checked: !dataSource.some(function (item) {
14005
14021
  if (item.hidden) return true;
14006
14022
  return false;
@@ -14038,13 +14054,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14038
14054
  _this2.onChange(e, item.title);
14039
14055
  }
14040
14056
  }, item.title);
14041
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
14057
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
14042
14058
  style: {
14043
14059
  width: '144px'
14044
14060
  }
14045
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
14061
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
14046
14062
  className: 'sort_table_column_all_empty'
14047
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
14063
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
14048
14064
  className: 'sort_table_column_special'
14049
14065
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
14050
14066
  className: 'sort_table_column_all'
@@ -14201,10 +14217,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14201
14217
  var newColumns = _this.state.showColumns.map(function (col) {
14202
14218
  return _objectSpread2({}, col);
14203
14219
  });
14204
- var handleIndex = function handleIndex(arr, indexArr) {
14220
+ var _handleIndex = function handleIndex(arr, indexArr) {
14205
14221
  var i = indexArr.shift();
14206
14222
  if (indexArr.length > 0) {
14207
- handleIndex(arr[i].children, indexArr);
14223
+ _handleIndex(arr[i].children, indexArr);
14208
14224
  } else {
14209
14225
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
14210
14226
  width: size.width
@@ -14212,7 +14228,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14212
14228
  handleBssulaColumnsSpecialParams(arr[i]);
14213
14229
  }
14214
14230
  };
14215
- handleIndex(newColumns, _toConsumableArray(index));
14231
+ _handleIndex(newColumns, _toConsumableArray(index));
14216
14232
  _this.setState({
14217
14233
  showColumns: _toConsumableArray(newColumns)
14218
14234
  });
@@ -14290,13 +14306,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14290
14306
  showSummary = summary;
14291
14307
  }
14292
14308
  }
14293
- var handleColumns = function handleColumns(arr, indexArr) {
14309
+ var _handleColumns = function handleColumns(arr, indexArr) {
14294
14310
  arr.forEach(function (item, index) {
14295
14311
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
14296
14312
  return i || i === 0;
14297
14313
  });
14298
14314
  if (noEmptyArray$1(item.children)) {
14299
- handleColumns(item.children, indexArrInside);
14315
+ _handleColumns(item.children, indexArrInside);
14300
14316
  } else {
14301
14317
  item.width = item.width || getItemDefaultWidth$2(item);
14302
14318
  item.onHeaderCell = function (column) {
@@ -14312,7 +14328,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14312
14328
  handleBssulaColumnsSpecialParams(item);
14313
14329
  return _objectSpread2({}, item);
14314
14330
  });
14315
- handleColumns(showCol, []);
14331
+ _handleColumns(showCol, []);
14316
14332
  if (dynamicColumns.length) {
14317
14333
  showCol = this.handledynamicColumns(showCol);
14318
14334
  }
@@ -14446,10 +14462,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14446
14462
  var newColumns = _this.state.showColumns.map(function (col) {
14447
14463
  return _objectSpread2({}, col);
14448
14464
  });
14449
- var handleIndex = function handleIndex(arr, indexArr) {
14465
+ var _handleIndex = function handleIndex(arr, indexArr) {
14450
14466
  var i = indexArr.shift();
14451
14467
  if (indexArr.length > 0) {
14452
- handleIndex(arr[i].children, indexArr);
14468
+ _handleIndex(arr[i].children, indexArr);
14453
14469
  } else {
14454
14470
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
14455
14471
  width: size.width
@@ -14457,7 +14473,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14457
14473
  handleAntdColumnsSpecialParams(arr[i]);
14458
14474
  }
14459
14475
  };
14460
- handleIndex(newColumns, _toConsumableArray(index));
14476
+ _handleIndex(newColumns, _toConsumableArray(index));
14461
14477
  _this.setState({
14462
14478
  showColumns: _toConsumableArray(newColumns)
14463
14479
  });
@@ -14533,13 +14549,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14533
14549
  showSummary = summary;
14534
14550
  }
14535
14551
  }
14536
- var handleColumns = function handleColumns(arr, indexArr) {
14552
+ var _handleColumns = function handleColumns(arr, indexArr) {
14537
14553
  arr.forEach(function (item, index) {
14538
14554
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
14539
14555
  return i || i === 0;
14540
14556
  });
14541
14557
  if (noEmptyArray$1(item.children)) {
14542
- handleColumns(item.children, indexArrInside);
14558
+ _handleColumns(item.children, indexArrInside);
14543
14559
  } else {
14544
14560
  item.width = item.width || getItemDefaultWidth$2(item);
14545
14561
  item.onHeaderCell = function (column) {
@@ -14555,7 +14571,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14555
14571
  handleAntdColumnsSpecialParams(item);
14556
14572
  return _objectSpread2({}, item);
14557
14573
  });
14558
- handleColumns(showCol, []);
14574
+ _handleColumns(showCol, []);
14559
14575
  if (dynamicColumns.length) {
14560
14576
  showCol = this.handledynamicColumns(showCol);
14561
14577
  }
@@ -14652,20 +14668,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
14652
14668
  };
14653
14669
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
14654
14670
  var routerMap = {};
14655
- var flattenMenuData = function flattenMenuData(data, parent) {
14671
+ var _flattenMenuData2 = function flattenMenuData(data, parent) {
14656
14672
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
14657
14673
  data.forEach(function (menuItem) {
14658
14674
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
14659
14675
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
14660
14676
  });
14661
14677
  if (newMenuItem.children) {
14662
- flattenMenuData(newMenuItem.children, newMenuItem);
14678
+ _flattenMenuData2(newMenuItem.children, newMenuItem);
14663
14679
  }
14664
14680
  // Reduce memory usage
14665
14681
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
14666
14682
  });
14667
14683
  };
14668
- flattenMenuData(menuData, {});
14684
+ _flattenMenuData2(menuData, {});
14669
14685
  return routerMap;
14670
14686
  };
14671
14687
  // mode类型判断
@@ -14971,7 +14987,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14971
14987
  display: 'flex',
14972
14988
  gap: '8px'
14973
14989
  }
14974
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
14990
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
14975
14991
  title: "\u53D6\u6D88\u5168\u5C4F"
14976
14992
  }, /*#__PURE__*/React$1.createElement("img", {
14977
14993
  onClick: function onClick() {
@@ -14979,7 +14995,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14979
14995
  },
14980
14996
  width: 24,
14981
14997
  src: scanning
14982
- }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
14998
+ }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
14983
14999
  title: "\u5168\u5C4F"
14984
15000
  }, /*#__PURE__*/React$1.createElement("img", {
14985
15001
  onClick: function onClick() {
@@ -14987,7 +15003,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14987
15003
  },
14988
15004
  width: 24,
14989
15005
  src: quanping
14990
- }))))) : null)), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15006
+ }))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
14991
15007
  }, function (prevProps, nextProps) {
14992
15008
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
14993
15009
  return false;
@@ -15072,7 +15088,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
15072
15088
  }, /*#__PURE__*/React$1.createElement("span", {
15073
15089
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
15074
15090
  }, item));
15075
- }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15091
+ }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15076
15092
  }, function (prevProps, nextProps) {
15077
15093
  if (prevProps.title !== nextProps.title) {
15078
15094
  return false;
@@ -15712,7 +15728,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
15712
15728
  });
15713
15729
  return /*#__PURE__*/React$1.createElement("div", {
15714
15730
  className: 'sort_table_wrapper'
15715
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
15731
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
15716
15732
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
15717
15733
  wrapClassName: 'sort_table_wrapper',
15718
15734
  width: 810,
@@ -15763,7 +15779,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
15763
15779
  width: 525,
15764
15780
  height: 24
15765
15781
  }
15766
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
15782
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
15767
15783
  checked: !dataSource.some(function (item) {
15768
15784
  if (item.hidden) return true;
15769
15785
  return false;
@@ -15817,13 +15833,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
15817
15833
  _this2.onChange(e, item.title);
15818
15834
  }
15819
15835
  }, item.title);
15820
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
15836
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
15821
15837
  style: {
15822
15838
  width: '144px'
15823
15839
  }
15824
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
15840
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
15825
15841
  className: 'sort_table_column_all_empty'
15826
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15842
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15827
15843
  className: 'sort_table_column_special'
15828
15844
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
15829
15845
  className: 'sort_table_column_all'
@@ -16297,7 +16313,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16297
16313
  });
16298
16314
  return /*#__PURE__*/React$1.createElement("div", {
16299
16315
  className: 'sort_table_wrapper'
16300
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
16316
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
16301
16317
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
16302
16318
  wrapClassName: 'sort_table_wrapper',
16303
16319
  width: 820,
@@ -16342,7 +16358,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16342
16358
  style: {
16343
16359
  width: 525
16344
16360
  }
16345
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
16361
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
16346
16362
  checked: !dataSource.some(function (item) {
16347
16363
  if (item.hidden) return true;
16348
16364
  return false;
@@ -16378,11 +16394,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16378
16394
  _this2.onChange(e, item.name);
16379
16395
  }
16380
16396
  }, item.label);
16381
- }), !!newSearchSource.length && ( /*#__PURE__*/React$1.createElement("span", {
16397
+ }), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
16382
16398
  style: {
16383
16399
  width: '144px'
16384
16400
  }
16385
- })), !newSearchSource.length && ( /*#__PURE__*/React$1.createElement("div", {
16401
+ })), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
16386
16402
  className: 'sort_table_column_all_empty'
16387
16403
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
16388
16404
  className: 'sort_table_content_wrapper'
@@ -16808,7 +16824,7 @@ var BsSulaQueryTable = (function (props) {
16808
16824
  actionsRender = actionsRender.concat([{
16809
16825
  type: 'text',
16810
16826
  props: {
16811
- children: ( /*#__PURE__*/React$1.createElement(ExportIcon, {
16827
+ children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
16812
16828
  request: {
16813
16829
  url: (value === null || value === void 0 ? void 0 : (_value$exportConfig2 = value.exportConfig) === null || _value$exportConfig2 === void 0 ? void 0 : _value$exportConfig2.url) || "/oms-ops/excel/exportAsync/".concat(value === null || value === void 0 ? void 0 : (_value$exportConfig3 = value.exportConfig) === null || _value$exportConfig3 === void 0 ? void 0 : _value$exportConfig3.type),
16814
16830
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -17054,7 +17070,7 @@ var BsSulaQueryTable = (function (props) {
17054
17070
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
17055
17071
  bsTableCode: bsTableCode,
17056
17072
  onlyModal: true
17057
- }), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && ( /*#__PURE__*/React$1.createElement(SortableTable$1, {
17073
+ }), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && (/*#__PURE__*/React$1.createElement(SortableTable$1, {
17058
17074
  ref: exportTableRef,
17059
17075
  setShowColumns: setShowExportColumns,
17060
17076
  setInitialTableInfo: setInitialTableInfo,
@@ -17147,11 +17163,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
17147
17163
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
17148
17164
  var resultList = [];
17149
17165
  var newRouter = cloneDeep(router);
17150
- var deep = function deep(router) {
17166
+ var _deep = function deep(router) {
17151
17167
  if (router && Array.isArray(router)) {
17152
17168
  router.forEach(function (item) {
17153
17169
  if (item.children && Array.isArray(item.children)) {
17154
- deep(item.children);
17170
+ _deep(item.children);
17155
17171
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
17156
17172
  return d === item.code;
17157
17173
  })) {
@@ -17165,10 +17181,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
17165
17181
  resultList.push(_objectSpread2({}, router));
17166
17182
  }
17167
17183
  };
17168
- deep(newRouter);
17184
+ _deep(newRouter);
17169
17185
  callBack([].concat(resultList));
17170
17186
  };
17171
- var setMenuTreeData = function setMenuTreeData(routesData) {
17187
+ var _setMenuTreeData = function setMenuTreeData(routesData) {
17172
17188
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
17173
17189
  var _loop = function _loop(i) {
17174
17190
  if (routesData[i].hideInMenu) {
@@ -17182,7 +17198,7 @@ var setMenuTreeData = function setMenuTreeData(routesData) {
17182
17198
  return 0; // continue
17183
17199
  }
17184
17200
  if (routesData[i].children) {
17185
- setMenuTreeData(routesData[i].children);
17201
+ _setMenuTreeData(routesData[i].children);
17186
17202
  }
17187
17203
  },
17188
17204
  _ret;
@@ -17203,16 +17219,16 @@ var setLoginOutPath = function setLoginOutPath() {
17203
17219
  };
17204
17220
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
17205
17221
  var routerMap = {};
17206
- var flattenMenuData = function flattenMenuData(data) {
17222
+ var _flattenMenuData = function flattenMenuData(data) {
17207
17223
  data.forEach(function (menuItem) {
17208
17224
  if (menuItem.children) {
17209
- flattenMenuData(menuItem.children);
17225
+ _flattenMenuData(menuItem.children);
17210
17226
  }
17211
17227
  // Reduce memory usage
17212
17228
  routerMap[menuItem.path] = menuItem;
17213
17229
  });
17214
17230
  };
17215
- flattenMenuData(menuData);
17231
+ _flattenMenuData(menuData);
17216
17232
  return routerMap;
17217
17233
  };
17218
17234
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -17358,7 +17374,7 @@ var DrawContent = function DrawContent(_ref) {
17358
17374
  sethomepageData(homepageDataList);
17359
17375
  setroutesData(routesDataList);
17360
17376
  }, []);
17361
- var renderChildItem = function renderChildItem(child) {
17377
+ var _renderChildItem = function renderChildItem(child) {
17362
17378
  if (!child.hideInMenu && child.children) {
17363
17379
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
17364
17380
  style: {
@@ -17368,7 +17384,7 @@ var DrawContent = function DrawContent(_ref) {
17368
17384
  }, formatMessage({
17369
17385
  id: "".concat(child.locale)
17370
17386
  })), child.children.map(function (menuItem) {
17371
- return renderChildItem(menuItem);
17387
+ return _renderChildItem(menuItem);
17372
17388
  }));
17373
17389
  } else if (!child.hideInMenu && child.path) {
17374
17390
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -17403,7 +17419,7 @@ var DrawContent = function DrawContent(_ref) {
17403
17419
  className: 'drawerWarp'
17404
17420
  }, homepageData && homepageData.filter(function (d) {
17405
17421
  return !d.hideInMenu;
17406
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
17422
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
17407
17423
  className: classNames('allFunsList', 'allFunsListWarp'),
17408
17424
  dataSource: homepageData,
17409
17425
  renderItem: function renderItem(child) {
@@ -17438,7 +17454,7 @@ var DrawContent = function DrawContent(_ref) {
17438
17454
  bordered: true,
17439
17455
  dataSource: item.children,
17440
17456
  renderItem: function renderItem(child) {
17441
- return renderChildItem(child);
17457
+ return _renderChildItem(child);
17442
17458
  }
17443
17459
  });
17444
17460
  })));
@@ -17498,7 +17514,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
17498
17514
  src: allfunc
17499
17515
  })), /*#__PURE__*/React$1.createElement("span", {
17500
17516
  className: 'btnSpan2'
17501
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
17517
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
17502
17518
  style: {
17503
17519
  left: isDrawer ? 140 : 0,
17504
17520
  top: 50
@@ -17544,7 +17560,7 @@ function outLogin(_x) {
17544
17560
  return _outLogin.apply(this, arguments);
17545
17561
  }
17546
17562
  function _outLogin() {
17547
- _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
17563
+ _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
17548
17564
  var res;
17549
17565
  return _regeneratorRuntime().wrap(function _callee$(_context) {
17550
17566
  while (1) switch (_context.prev = _context.next) {
@@ -17686,7 +17702,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
17686
17702
  });
17687
17703
  };
17688
17704
  var loginOut = /*#__PURE__*/function () {
17689
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
17705
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
17690
17706
  var sessionId;
17691
17707
  return _regeneratorRuntime().wrap(function _callee$(_context) {
17692
17708
  while (1) switch (_context.prev = _context.next) {
@@ -17790,7 +17806,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
17790
17806
  marginRight: '0px'
17791
17807
  },
17792
17808
  src: './xialajiantou-new.svg'
17793
- }))))), loginModalParams.visible && ( /*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
17809
+ }))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
17794
17810
  };
17795
17811
 
17796
17812
  // -- 查询店铺 --
@@ -17798,7 +17814,7 @@ function getStoreByName(_x) {
17798
17814
  return _getStoreByName.apply(this, arguments);
17799
17815
  }
17800
17816
  function _getStoreByName() {
17801
- _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
17817
+ _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
17802
17818
  return _regeneratorRuntime().wrap(function _callee$(_context) {
17803
17819
  while (1) switch (_context.prev = _context.next) {
17804
17820
  case 0:
@@ -17866,7 +17882,7 @@ var ChooseStore = function ChooseStore(props) {
17866
17882
  return _fetchUserList.apply(this, arguments);
17867
17883
  }
17868
17884
  function _fetchUserList() {
17869
- _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
17885
+ _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
17870
17886
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
17871
17887
  while (1) switch (_context3.prev = _context3.next) {
17872
17888
  case 0:
@@ -17914,7 +17930,7 @@ var ChooseStore = function ChooseStore(props) {
17914
17930
  return debounce$1(loadOptions, debounceTimeout);
17915
17931
  }, [debounceTimeout, key]);
17916
17932
  var changeInput = /*#__PURE__*/function () {
17917
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
17933
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
17918
17934
  var res;
17919
17935
  return _regeneratorRuntime().wrap(function _callee$(_context) {
17920
17936
  while (1) switch (_context.prev = _context.next) {
@@ -17936,7 +17952,7 @@ var ChooseStore = function ChooseStore(props) {
17936
17952
  };
17937
17953
  }();
17938
17954
  useEffect(function () {
17939
- _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
17955
+ _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
17940
17956
  var res;
17941
17957
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
17942
17958
  while (1) switch (_context2.prev = _context2.next) {
@@ -18101,7 +18117,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
18101
18117
  var resultList = [];
18102
18118
  var newRouter = cloneDeep$1(router);
18103
18119
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
18104
- var deep = function deep(router) {
18120
+ var _deep = function deep(router) {
18105
18121
  if (router && Array.isArray(router)) {
18106
18122
  router.forEach(function (item) {
18107
18123
  if (item.routes && Array.isArray(item.routes)) {
@@ -18111,7 +18127,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
18111
18127
  d.nameEdit = true;
18112
18128
  }
18113
18129
  });
18114
- deep(item.routes);
18130
+ _deep(item.routes);
18115
18131
  } else if (!item.hideInMenu && (name ? formatMessage({
18116
18132
  id: "menu.".concat(item.name)
18117
18133
  }).indexOf(name) !== -1 : true)) {
@@ -18130,7 +18146,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
18130
18146
  }));
18131
18147
  }
18132
18148
  };
18133
- deep(newRouter);
18149
+ _deep(newRouter);
18134
18150
  setroutesData([].concat(resultList));
18135
18151
  };
18136
18152
  var renderLineStyl = function renderLineStyl(name) {
@@ -18212,7 +18228,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
18212
18228
  },
18213
18229
  title: item.fullPathName
18214
18230
  }, renderLineStyl(item.fullPathName));
18215
- }))))), showSelectStore && ( /*#__PURE__*/React$1.createElement(ChooseStore, {
18231
+ }))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
18216
18232
  employeeCode: employeeCode
18217
18233
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
18218
18234
  };
@@ -18227,7 +18243,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
18227
18243
  var TreeNode = Tree.TreeNode;
18228
18244
  var Search$2 = Input.Search;
18229
18245
  var dataList = [];
18230
- var generateList = function generateList(data) {
18246
+ var _generateList = function generateList(data) {
18231
18247
  for (var i = 0; i < data.length; i++) {
18232
18248
  var node = data[i];
18233
18249
  var path = node.path,
@@ -18237,11 +18253,11 @@ var generateList = function generateList(data) {
18237
18253
  name: name
18238
18254
  });
18239
18255
  if (node.children) {
18240
- generateList(node.children);
18256
+ _generateList(node.children);
18241
18257
  }
18242
18258
  }
18243
18259
  };
18244
- var getParentKey = function getParentKey(path, tree) {
18260
+ var _getParentKey = function getParentKey(path, tree) {
18245
18261
  var parentKey;
18246
18262
  for (var i = 0; i < tree.length; i++) {
18247
18263
  var node = tree[i];
@@ -18250,8 +18266,8 @@ var getParentKey = function getParentKey(path, tree) {
18250
18266
  return item.path === path;
18251
18267
  })) {
18252
18268
  parentKey = node.path;
18253
- } else if (getParentKey(path, node.children)) {
18254
- parentKey = getParentKey(path, node.children);
18269
+ } else if (_getParentKey(path, node.children)) {
18270
+ parentKey = _getParentKey(path, node.children);
18255
18271
  }
18256
18272
  }
18257
18273
  }
@@ -18282,7 +18298,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18282
18298
  var treeData = _this.state.treeData;
18283
18299
  var expandedKeys = dataList.map(function (item) {
18284
18300
  if (item.name.indexOf(value) > -1) {
18285
- return getParentKey(item.path, treeData);
18301
+ return _getParentKey(item.path, treeData);
18286
18302
  }
18287
18303
  return null;
18288
18304
  }).filter(function (item, i, self) {
@@ -18296,22 +18312,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18296
18312
  };
18297
18313
  _this.getPathList = function (originData) {
18298
18314
  var pathList = [];
18299
- var getList = function getList(data) {
18315
+ var _getList = function getList(data) {
18300
18316
  if (Array.isArray(data)) {
18301
18317
  data.forEach(function (item) {
18302
18318
  pathList.push(item.path);
18303
18319
  if (item.children) {
18304
- getList(item.children);
18320
+ _getList(item.children);
18305
18321
  }
18306
18322
  });
18307
18323
  } else {
18308
18324
  pathList.push(data.path);
18309
18325
  if (data.children) {
18310
- getList(data.children);
18326
+ _getList(data.children);
18311
18327
  }
18312
18328
  }
18313
18329
  };
18314
- getList(originData);
18330
+ _getList(originData);
18315
18331
  return pathList;
18316
18332
  };
18317
18333
  _this.handleAdd2Menu = function (path) {
@@ -18320,18 +18336,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18320
18336
  customerMenuData = _this$props.customerMenuData,
18321
18337
  setCustomerMenuData = _this$props.setCustomerMenuData;
18322
18338
  var filterItem;
18323
- var filterMenuItem = function filterMenuItem(menuData) {
18339
+ var _filterMenuItem = function filterMenuItem(menuData) {
18324
18340
  menuData.forEach(function (item) {
18325
18341
  if (item.path === path) {
18326
18342
  filterItem = _objectSpread2({}, item);
18327
18343
  return;
18328
18344
  }
18329
18345
  if (item.children) {
18330
- filterMenuItem(item.children);
18346
+ _filterMenuItem(item.children);
18331
18347
  }
18332
18348
  });
18333
18349
  };
18334
- filterMenuItem(treeData);
18350
+ _filterMenuItem(treeData);
18335
18351
  var addPathList = _this.getPathList(filterItem);
18336
18352
  var oldPathList = _this.getPathList(customerMenuData);
18337
18353
  var isRepet = false;
@@ -18361,8 +18377,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18361
18377
  return item.path === '/';
18362
18378
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
18363
18379
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
18364
- setMenuTreeData(routesData);
18365
- generateList(routesData);
18380
+ _setMenuTreeData(routesData);
18381
+ _generateList(routesData);
18366
18382
  this.setState({
18367
18383
  treeData: routesData
18368
18384
  });
@@ -18376,16 +18392,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18376
18392
  expandedKeys = _this$state.expandedKeys,
18377
18393
  autoExpandParent = _this$state.autoExpandParent,
18378
18394
  treeData = _this$state.treeData;
18379
- var loop = function loop(data) {
18395
+ var _loop = function loop(data) {
18380
18396
  return data.map(function (item) {
18381
18397
  var index = item.name.indexOf(searchValue);
18382
18398
  var beforeStr = item.name.substr(0, index);
18383
18399
  var afterStr = item.name.substr(index + searchValue.length);
18384
- var name = index > -1 ? ( /*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
18400
+ var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
18385
18401
  style: {
18386
18402
  color: '#f50'
18387
18403
  }
18388
- }, searchValue), afterStr)) : ( /*#__PURE__*/React$1.createElement("span", null, item.name));
18404
+ }, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
18389
18405
  if (item.children && item.children.length) {
18390
18406
  return /*#__PURE__*/React$1.createElement(TreeNode, {
18391
18407
  path: item.path,
@@ -18407,7 +18423,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18407
18423
  width: 18,
18408
18424
  src: arrowRight
18409
18425
  }))))
18410
- }, loop(item.children));
18426
+ }, _loop(item.children));
18411
18427
  }
18412
18428
  return /*#__PURE__*/React$1.createElement(TreeNode, {
18413
18429
  path: item.path,
@@ -18457,7 +18473,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18457
18473
  onExpand: this.onExpand,
18458
18474
  expandedKeys: expandedKeys,
18459
18475
  autoExpandParent: autoExpandParent
18460
- }, loop(treeData))));
18476
+ }, _loop(treeData))));
18461
18477
  }
18462
18478
  }]);
18463
18479
  }(React$1.Component);
@@ -18490,24 +18506,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18490
18506
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
18491
18507
  var dragObj;
18492
18508
  var finalDropItem;
18493
- var loop = function loop(data, path, callback) {
18509
+ var _loop = function loop(data, path, callback) {
18494
18510
  for (var i = 0; i < data.length; i++) {
18495
18511
  if (data[i].path === path) {
18496
18512
  return callback(data[i], i, data);
18497
18513
  }
18498
18514
  if (data[i].children) {
18499
- loop(data[i].children, path, callback);
18515
+ _loop(data[i].children, path, callback);
18500
18516
  }
18501
18517
  }
18502
18518
  };
18503
18519
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
18504
- loop(data, dragKey, function (item, index, arr) {
18520
+ _loop(data, dragKey, function (item, index, arr) {
18505
18521
  arr.splice(index, 1);
18506
18522
  dragObj = item;
18507
18523
  });
18508
18524
  if (!info.dropToGap) {
18509
18525
  // Drop on the content
18510
- loop(data, dropKey, function (item) {
18526
+ _loop(data, dropKey, function (item) {
18511
18527
  item.children = item.children || [];
18512
18528
  item.children.unshift(dragObj);
18513
18529
  finalDropItem = _objectSpread2({}, item);
@@ -18518,7 +18534,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18518
18534
  // Is expanded
18519
18535
  dropPosition === 1 // On the bottom gap
18520
18536
  ) {
18521
- loop(data, dropKey, function (item) {
18537
+ _loop(data, dropKey, function (item) {
18522
18538
  item.children = item.children || [];
18523
18539
  item.children.unshift(dragObj);
18524
18540
  finalDropItem = _objectSpread2({}, item);
@@ -18526,7 +18542,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18526
18542
  } else {
18527
18543
  var ar;
18528
18544
  var i;
18529
- loop(data, dropKey, function (item, index, arr) {
18545
+ _loop(data, dropKey, function (item, index, arr) {
18530
18546
  ar = arr;
18531
18547
  i = index;
18532
18548
  });
@@ -18565,17 +18581,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18565
18581
  title: '编辑名称',
18566
18582
  callBack: function callBack(newName) {
18567
18583
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
18568
- var editTreeDataName = function editTreeDataName(oldTreeData) {
18584
+ var _editTreeDataName = function editTreeDataName(oldTreeData) {
18569
18585
  oldTreeData.forEach(function (treeItem) {
18570
18586
  if (treeItem.path === item.path) {
18571
18587
  treeItem.name = newName;
18572
18588
  }
18573
18589
  if (treeItem.children) {
18574
- editTreeDataName(treeItem.children);
18590
+ _editTreeDataName(treeItem.children);
18575
18591
  }
18576
18592
  });
18577
18593
  };
18578
- editTreeDataName(oldTreeData);
18594
+ _editTreeDataName(oldTreeData);
18579
18595
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
18580
18596
  _this.setState({
18581
18597
  modalInfo: {
@@ -18620,7 +18636,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18620
18636
  title: '新增子目录',
18621
18637
  callBack: function callBack(newName) {
18622
18638
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
18623
- var addChildFolder = function addChildFolder(oldTreeData) {
18639
+ var _addChildFolder = function addChildFolder(oldTreeData) {
18624
18640
  oldTreeData.forEach(function (treeItem) {
18625
18641
  if (treeItem.path === item.path) {
18626
18642
  treeItem.children ? treeItem.children.push({
@@ -18632,11 +18648,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18632
18648
  }];
18633
18649
  }
18634
18650
  if (treeItem.children) {
18635
- addChildFolder(treeItem.children);
18651
+ _addChildFolder(treeItem.children);
18636
18652
  }
18637
18653
  });
18638
18654
  };
18639
- addChildFolder(oldTreeData);
18655
+ _addChildFolder(oldTreeData);
18640
18656
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
18641
18657
  _this.setState({
18642
18658
  modalInfo: {
@@ -18695,7 +18711,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18695
18711
  var _this$state = this.state,
18696
18712
  modalInfo = _this$state.modalInfo,
18697
18713
  checkedKeys = _this$state.checkedKeys;
18698
- var loop = function loop(data) {
18714
+ var _loop2 = function loop(data) {
18699
18715
  return data.map(function (item) {
18700
18716
  if (item.children && item.children.length) {
18701
18717
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -18712,7 +18728,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18712
18728
  e.stopPropagation();
18713
18729
  }
18714
18730
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
18715
- }, loop(item.children));
18731
+ }, _loop2(item.children));
18716
18732
  }
18717
18733
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
18718
18734
  path: item.path,
@@ -18791,7 +18807,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18791
18807
  children: 'children'
18792
18808
  },
18793
18809
  onDrop: this.onDrop
18794
- }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
18810
+ }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
18795
18811
  width: 600,
18796
18812
  bodyStyle: {
18797
18813
  paddingTop: '32px',
@@ -18904,7 +18920,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18904
18920
  pathname: item.path
18905
18921
  });
18906
18922
  };
18907
- var getMenuDom = function getMenuDom(menuData) {
18923
+ var _getMenuDom = function getMenuDom(menuData) {
18908
18924
  return menuData.map(function (item) {
18909
18925
  return /*#__PURE__*/React$1.createElement("div", {
18910
18926
  style: {
@@ -18919,7 +18935,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18919
18935
  fontWeight: item.children || !item.component ? 'bolder' : '400',
18920
18936
  paddingLeft: '4px'
18921
18937
  }
18922
- }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
18938
+ }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
18923
18939
  });
18924
18940
  };
18925
18941
  return /*#__PURE__*/React$1.createElement("div", {
@@ -18945,7 +18961,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18945
18961
  style: {
18946
18962
  paddingLeft: '5px'
18947
18963
  }
18948
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
18964
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
18949
18965
  style: {
18950
18966
  left: isDrawer ? 140 : 0
18951
18967
  },
@@ -18966,7 +18982,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18966
18982
  visible: isDrawer
18967
18983
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
18968
18984
  className: 'menu_title_line'
18969
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
18985
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
18970
18986
  title: /*#__PURE__*/React$1.createElement("span", {
18971
18987
  style: {
18972
18988
  fontWeight: '600',
@@ -19040,7 +19056,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19040
19056
  return item.path === '/';
19041
19057
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
19042
19058
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
19043
- setMenuTreeData(routesData);
19059
+ _setMenuTreeData(routesData);
19044
19060
  routesData.forEach(function (item) {
19045
19061
  if (item.children) {
19046
19062
  routesDataList.push(item);
@@ -19070,7 +19086,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19070
19086
  setHeight(clientHeight - 190);
19071
19087
  setDrawHeight(clientHeight - 70);
19072
19088
  };
19073
- var renderChildItem = function renderChildItem(child) {
19089
+ var _renderChildItem = function renderChildItem(child) {
19074
19090
  if (!child.hideInMenu && child.children) {
19075
19091
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
19076
19092
  style: {
@@ -19080,7 +19096,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19080
19096
  }, formatMessage({
19081
19097
  id: "".concat(child.locale)
19082
19098
  })), child.children.map(function (menuItem) {
19083
- return renderChildItem(menuItem);
19099
+ return _renderChildItem(menuItem);
19084
19100
  }));
19085
19101
  } else if (!child.hideInMenu && child.path) {
19086
19102
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -19222,7 +19238,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19222
19238
  onMenuClick(e, item);
19223
19239
  }
19224
19240
  }, item.name);
19225
- }))), !!SearhData.length ? ( /*#__PURE__*/React$1.createElement("div", {
19241
+ }))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
19226
19242
  className: 'search_menu_content'
19227
19243
  }, SearhData.map(function (item) {
19228
19244
  return /*#__PURE__*/React$1.createElement("div", {
@@ -19231,7 +19247,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19231
19247
  },
19232
19248
  key: item.path
19233
19249
  }, item.name);
19234
- }))) : ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
19250
+ }))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
19235
19251
  style: {
19236
19252
  height: "".concat(rightMenuHeight, "px"),
19237
19253
  overflowY: 'scroll',
@@ -19243,7 +19259,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19243
19259
  className: 'drawerWarp_right'
19244
19260
  }, homepageData && homepageData.filter(function (d) {
19245
19261
  return !d.hideInMenu;
19246
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
19262
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
19247
19263
  className: classNames('allFunsList', 'allFunsListWarp'),
19248
19264
  dataSource: homepageData,
19249
19265
  renderItem: function renderItem(child) {
@@ -19284,7 +19300,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19284
19300
  bordered: true,
19285
19301
  dataSource: item.children,
19286
19302
  renderItem: function renderItem(child) {
19287
- return renderChildItem(child);
19303
+ return _renderChildItem(child);
19288
19304
  }
19289
19305
  });
19290
19306
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -19442,10 +19458,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
19442
19458
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
19443
19459
  var menuKeys = [];
19444
19460
  var docsId = [];
19445
- var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
19461
+ var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
19446
19462
  data.forEach(function (item) {
19447
19463
  if (item.children && item.children.length > 0) {
19448
- getLimitedMenuKeys(item.children);
19464
+ _getLimitedMenuKeys(item.children);
19449
19465
  } else {
19450
19466
  var originPath = item.path.replace(/^\/\w+\//, '/');
19451
19467
  menuKeys.push(originPath);
@@ -19456,7 +19472,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
19456
19472
  });
19457
19473
  };
19458
19474
  try {
19459
- getLimitedMenuKeys(limitedMenuData);
19475
+ _getLimitedMenuKeys(limitedMenuData);
19460
19476
  } catch (e) {}
19461
19477
  return {
19462
19478
  menuKeys: menuKeys,
@@ -19690,10 +19706,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
19690
19706
  return (node.path || '').includes('all-general-documents');
19691
19707
  };
19692
19708
  // 递归获取树列表
19693
- var getTreeList = function getTreeList(data) {
19709
+ var _getTreeList = function getTreeList(data) {
19694
19710
  data.forEach(function (node) {
19695
19711
  if (node.routes && node.routes.length > 0) {
19696
- getTreeList(node.routes);
19712
+ _getTreeList(node.routes);
19697
19713
  return;
19698
19714
  }
19699
19715
  // todo:暂时处理非wujie环境不做404管控
@@ -19724,7 +19740,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
19724
19740
  }
19725
19741
  });
19726
19742
  };
19727
- getTreeList(treeData);
19743
+ _getTreeList(treeData);
19728
19744
  return treeList;
19729
19745
  };
19730
19746
  _this.getDictionarySource = function (dicCode) {
@@ -20353,7 +20369,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20353
20369
  updateState = _ref8.updateState;
20354
20370
  return /*#__PURE__*/React$1.createElement("div", {
20355
20371
  className: "tab_title_content"
20356
- }, item.tab, item.key !== '/' && ( /*#__PURE__*/React$1.createElement(ItemMenu, {
20372
+ }, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
20357
20373
  info: item,
20358
20374
  operateFun: _this3.operateFun,
20359
20375
  listenRouterState: listenRouterState
@@ -20489,7 +20505,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20489
20505
  };
20490
20506
  }
20491
20507
  var OperationsSlot = {
20492
- left: ( /*#__PURE__*/React$1.createElement("div", {
20508
+ left: (/*#__PURE__*/React$1.createElement("div", {
20493
20509
  className: 'tab_left_operate'
20494
20510
  }, /*#__PURE__*/React$1.createElement("div", {
20495
20511
  onClick: function onClick() {
@@ -20505,7 +20521,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20505
20521
  _this3.setTabNavTransLate(-100);
20506
20522
  }
20507
20523
  }, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
20508
- right: ( /*#__PURE__*/React$1.createElement("div", {
20524
+ right: (/*#__PURE__*/React$1.createElement("div", {
20509
20525
  style: {
20510
20526
  opacity: this.state.isSlider ? 1 : 0.5
20511
20527
  },
@@ -20603,7 +20619,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20603
20619
  onMouseLeave: function onMouseLeave() {
20604
20620
  _this3.setShowMenu(false);
20605
20621
  }
20606
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
20622
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
20607
20623
  style: {
20608
20624
  position: 'absolute',
20609
20625
  top: '14px',
@@ -20622,7 +20638,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20622
20638
  postMenuData: function postMenuData(menus) {
20623
20639
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
20624
20640
  },
20625
- links: [!this.state.collapse ? ( /*#__PURE__*/React$1.createElement(AllFunc$1, {
20641
+ links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
20626
20642
  ref: this.allFunc,
20627
20643
  itemPath: itemPath,
20628
20644
  handleClose: this.handleClose,
@@ -20640,7 +20656,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20640
20656
  },
20641
20657
  menu: {
20642
20658
  request: function () {
20643
- var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
20659
+ var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
20644
20660
  return _regeneratorRuntime().wrap(function _callee$(_context) {
20645
20661
  while (1) switch (_context.prev = _context.next) {
20646
20662
  case 0:
@@ -20775,7 +20791,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
20775
20791
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
20776
20792
  timeFormat = _this$props4.timeFormat,
20777
20793
  transparentProps = _this$props4.transparentProps;
20778
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.isNotFound ? ( /*#__PURE__*/React$1.createElement(NoFoundPage, null)) : /*#__PURE__*/React$1.createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
20794
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.isNotFound ? (/*#__PURE__*/React$1.createElement(NoFoundPage, null)) : /*#__PURE__*/React$1.createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
20779
20795
  getDictionarySource: getDictionarySource,
20780
20796
  getDictionaryTextByValue: getDictionaryTextByValue,
20781
20797
  timeFormat: timeFormat
@@ -20799,12 +20815,12 @@ var index$5 = (function (props) {
20799
20815
  });
20800
20816
 
20801
20817
  // @ts-nocheck
20802
- var getAllColumns = function getAllColumns(columns) {
20818
+ var _getAllColumns = function getAllColumns(columns) {
20803
20819
  var result = [];
20804
20820
  columns.forEach(function (column) {
20805
20821
  if (column.children) {
20806
20822
  result.push(column);
20807
- result.push.apply(result, getAllColumns(column.children));
20823
+ result.push.apply(result, _getAllColumns(column.children));
20808
20824
  } else {
20809
20825
  result.push(column);
20810
20826
  }
@@ -20813,7 +20829,7 @@ var getAllColumns = function getAllColumns(columns) {
20813
20829
  };
20814
20830
  var convertToRows = function convertToRows(originColumns) {
20815
20831
  var maxLevel = 1;
20816
- var traverse = function traverse(column, parent) {
20832
+ var _traverse = function traverse(column, parent) {
20817
20833
  if (parent) {
20818
20834
  column.level = parent.level + 1;
20819
20835
  if (maxLevel < column.level) {
@@ -20823,7 +20839,7 @@ var convertToRows = function convertToRows(originColumns) {
20823
20839
  if (column.children) {
20824
20840
  var colSpan = 0;
20825
20841
  column.children.forEach(function (subColumn) {
20826
- traverse(subColumn, column);
20842
+ _traverse(subColumn, column);
20827
20843
  colSpan += subColumn.colSpan;
20828
20844
  });
20829
20845
  column.colSpan = colSpan;
@@ -20833,13 +20849,13 @@ var convertToRows = function convertToRows(originColumns) {
20833
20849
  };
20834
20850
  originColumns.forEach(function (column) {
20835
20851
  column.level = 1;
20836
- traverse(column);
20852
+ _traverse(column);
20837
20853
  });
20838
20854
  var rows = [];
20839
20855
  for (var i = 0; i < maxLevel; i++) {
20840
20856
  rows.push([]);
20841
20857
  }
20842
- var allColumns = getAllColumns(originColumns);
20858
+ var allColumns = _getAllColumns(originColumns);
20843
20859
  allColumns.forEach(function (column) {
20844
20860
  if (!column.children) {
20845
20861
  column.rowSpan = maxLevel - column.level + 1;
@@ -20879,7 +20895,7 @@ var convertToRows = function convertToRows(originColumns) {
20879
20895
  };
20880
20896
  var headersToRows = function headersToRows(originColumns) {
20881
20897
  var maxLevel = 1;
20882
- var traverse = function traverse(column, parent) {
20898
+ var _traverse2 = function traverse(column, parent) {
20883
20899
  if (parent) {
20884
20900
  //计算当前元素属于第几个层级
20885
20901
  column.level = parent.level + 1;
@@ -20892,7 +20908,7 @@ var headersToRows = function headersToRows(originColumns) {
20892
20908
  var colSpan = 0;
20893
20909
  column.children.forEach(function (subColumn) {
20894
20910
  //进行递归
20895
- traverse(subColumn, column);
20911
+ _traverse2(subColumn, column);
20896
20912
  colSpan += subColumn.colSpan;
20897
20913
  });
20898
20914
  column.colSpan = colSpan;
@@ -20902,14 +20918,14 @@ var headersToRows = function headersToRows(originColumns) {
20902
20918
  };
20903
20919
  originColumns.forEach(function (column) {
20904
20920
  column.level = 1;
20905
- traverse(column);
20921
+ _traverse2(column);
20906
20922
  });
20907
20923
  var rows = [];
20908
20924
  var lastData = [];
20909
20925
  for (var i = 0; i < maxLevel; i++) {
20910
20926
  rows.push([]);
20911
20927
  }
20912
- var allColumns = getAllColumns(originColumns);
20928
+ var allColumns = _getAllColumns(originColumns);
20913
20929
  allColumns.forEach(function (column) {
20914
20930
  if (!column.children) {
20915
20931
  column.rowSpan = maxLevel - column.level + 1;
@@ -26926,7 +26942,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
26926
26942
  }
26927
26943
  return lineStart <= highLightLine && lineEnd >= highLightLine;
26928
26944
  };
26929
- var hasHighLightChildren = function hasHighLightChildren() {
26945
+ var _hasHighLightChildren = function hasHighLightChildren() {
26930
26946
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
26931
26947
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
26932
26948
  var children = hightLightData.children,
@@ -26937,7 +26953,7 @@ var hasHighLightChildren = function hasHighLightChildren() {
26937
26953
  lineEnd = _loc2[2];
26938
26954
  if (children) {
26939
26955
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
26940
- return hasHighLightChildren(v, highLightLine);
26956
+ return _hasHighLightChildren(v, highLightLine);
26941
26957
  });
26942
26958
  }
26943
26959
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -26949,7 +26965,7 @@ function createHighLightTreeData(treeData, highLightLine) {
26949
26965
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
26950
26966
  data.forEach(function (node) {
26951
26967
  if (!node) return;
26952
- node.toggled = hasHighLightChildren(node, highLightLine);
26968
+ node.toggled = _hasHighLightChildren(node, highLightLine);
26953
26969
  node.active = isHightLight(node, highLightLine);
26954
26970
  if (node.children) {
26955
26971
  if (node.active) {
@@ -28380,7 +28396,7 @@ var valueType = {
28380
28396
  };
28381
28397
 
28382
28398
  var getDynamicDict = /*#__PURE__*/function () {
28383
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
28399
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
28384
28400
  return _regeneratorRuntime().wrap(function _callee$(_context) {
28385
28401
  while (1) switch (_context.prev = _context.next) {
28386
28402
  case 0:
@@ -28448,7 +28464,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
28448
28464
  value: false
28449
28465
  }];
28450
28466
  var ref = useRef();
28451
- useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
28467
+ useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
28452
28468
  var _ref$current, source;
28453
28469
  return _regeneratorRuntime().wrap(function _callee$(_context) {
28454
28470
  while (1) switch (_context.prev = _context.next) {
@@ -28562,7 +28578,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
28562
28578
  source: {
28563
28579
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
28564
28580
  type: function () {
28565
- var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
28581
+ var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
28566
28582
  var form, values, name, relates, source;
28567
28583
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
28568
28584
  while (1) switch (_context2.prev = _context2.next) {
@@ -29042,7 +29058,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29042
29058
  source: {
29043
29059
  relates: ['choiceType', 'inputType'],
29044
29060
  type: function () {
29045
- var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
29061
+ var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
29046
29062
  var values, name, form, source;
29047
29063
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
29048
29064
  while (1) switch (_context3.prev = _context3.next) {
@@ -29264,7 +29280,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29264
29280
  width: 900,
29265
29281
  maskClosable: false,
29266
29282
  onOk: function () {
29267
- var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
29283
+ var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
29268
29284
  var _ref$current4, _res$editableStatus;
29269
29285
  var res, _res$defaultValue;
29270
29286
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -29336,7 +29352,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29336
29352
  }()
29337
29353
  }), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
29338
29354
  ref: ref
29339
- })), maintainOptionsModal.visible && ( /*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
29355
+ })), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
29340
29356
  };
29341
29357
 
29342
29358
  // @ts-nocheck
@@ -29950,7 +29966,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29950
29966
  return setVisible(false);
29951
29967
  },
29952
29968
  className: 'customFieldsDrawer'
29953
- }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React$1.createElement("div", {
29969
+ }, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
29954
29970
  style: {
29955
29971
  display: 'flex'
29956
29972
  }
@@ -29959,13 +29975,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29959
29975
  flex: 1,
29960
29976
  width: 500
29961
29977
  }
29962
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
29978
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
29963
29979
  style: {
29964
29980
  padding: "10px 0",
29965
29981
  fontSize: "16px",
29966
29982
  fontWeight: "bolder"
29967
29983
  }
29968
- }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
29984
+ }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
29969
29985
  style: {
29970
29986
  flex: 1
29971
29987
  }
@@ -29974,7 +29990,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29974
29990
  onRun: onClickRun,
29975
29991
  value: jsonEditorVal,
29976
29992
  shallowHeight: height
29977
- })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React$1.createElement(Tabs, {
29993
+ })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
29978
29994
  defaultActiveKey: activeKey,
29979
29995
  onChange: function onChange(v) {
29980
29996
  return setActiveKey(v);
@@ -29991,13 +30007,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29991
30007
  flex: 1,
29992
30008
  width: 500
29993
30009
  }
29994
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
30010
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
29995
30011
  style: {
29996
30012
  padding: "10px 0",
29997
30013
  fontSize: "16px",
29998
30014
  fontWeight: "bolder"
29999
30015
  }
30000
- }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
30016
+ }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
30001
30017
  style: {
30002
30018
  flex: 1
30003
30019
  }
@@ -30019,13 +30035,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
30019
30035
  flex: 1,
30020
30036
  width: 500
30021
30037
  }
30022
- }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React$1.createElement("div", {
30038
+ }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
30023
30039
  style: {
30024
30040
  padding: "10px 0",
30025
30041
  fontSize: "16px",
30026
30042
  fontWeight: "bolder"
30027
30043
  }
30028
- }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React$1.createElement("div", {
30044
+ }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React$1.createElement("div", {
30029
30045
  style: {
30030
30046
  flex: 1
30031
30047
  }
@@ -30171,7 +30187,7 @@ function getMetaData(_x) {
30171
30187
 
30172
30188
  // 获取数据
30173
30189
  function _getMetaData() {
30174
- _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
30190
+ _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
30175
30191
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30176
30192
  while (1) switch (_context.prev = _context.next) {
30177
30193
  case 0:
@@ -30393,7 +30409,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
30393
30409
  tableState = _useState4[0],
30394
30410
  setTableState = _useState4[1];
30395
30411
  var handleOpen = /*#__PURE__*/function () {
30396
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30412
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30397
30413
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
30398
30414
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
30399
30415
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -30712,7 +30728,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
30712
30728
  destroyOnClose: true
30713
30729
  }, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
30714
30730
  ref: queryTableRef
30715
- }, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && ( /*#__PURE__*/React$1.createElement(Row, {
30731
+ }, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && (/*#__PURE__*/React$1.createElement(Row, {
30716
30732
  justify: "center",
30717
30733
  style: {
30718
30734
  marginBottom: 30,
@@ -30828,7 +30844,7 @@ var CustomSelector = (function (props) {
30828
30844
  var _props$ctx7;
30829
30845
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
30830
30846
  }
30831
- })), showType === 'modalTable' && ( /*#__PURE__*/React$1.createElement(Button, {
30847
+ })), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
30832
30848
  type: "primary",
30833
30849
  style: {
30834
30850
  width: '30px',
@@ -30914,7 +30930,7 @@ var BsCascader = function BsCascader(_ref) {
30914
30930
  _useState2 = _slicedToArray(_useState, 2),
30915
30931
  handSource = _useState2[0],
30916
30932
  setHandSource = _useState2[1];
30917
- useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30933
+ useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30918
30934
  var resData, data;
30919
30935
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30920
30936
  while (1) switch (_context.prev = _context.next) {
@@ -31066,7 +31082,7 @@ function getRegularThresholdRange(_x) {
31066
31082
  return _getRegularThresholdRange.apply(this, arguments);
31067
31083
  }
31068
31084
  function _getRegularThresholdRange() {
31069
- _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
31085
+ _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
31070
31086
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31071
31087
  while (1) switch (_context.prev = _context.next) {
31072
31088
  case 0:
@@ -31220,7 +31236,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
31220
31236
  };
31221
31237
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
31222
31238
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
31223
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
31239
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
31224
31240
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
31225
31241
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31226
31242
  while (1) switch (_context.prev = _context.next) {
@@ -32165,7 +32181,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32165
32181
  isAll: true,
32166
32182
  needNameAndCode: true,
32167
32183
  notChangeOnSelect: true,
32168
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
32184
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
32169
32185
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
32170
32186
  while (1) switch (_context2.prev = _context2.next) {
32171
32187
  case 0:
@@ -32214,7 +32230,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32214
32230
  isAll: true,
32215
32231
  needNameAndCode: true,
32216
32232
  notChangeOnSelect: true,
32217
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
32233
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
32218
32234
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
32219
32235
  while (1) switch (_context3.prev = _context3.next) {
32220
32236
  case 0:
@@ -32265,7 +32281,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32265
32281
  isAll: true,
32266
32282
  needNameAndCode: true,
32267
32283
  notChangeOnSelect: true,
32268
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
32284
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
32269
32285
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
32270
32286
  while (1) switch (_context4.prev = _context4.next) {
32271
32287
  case 0:
@@ -34229,7 +34245,7 @@ var App$1 = function App(_ref) {
34229
34245
  borderRadius: '5px',
34230
34246
  cursor: 'pointer'
34231
34247
  }
34232
- }, isStaticNumber ? ( /*#__PURE__*/React$1.createElement(Input, {
34248
+ }, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
34233
34249
  autoFocus: true,
34234
34250
  onClick: function onClick(e) {
34235
34251
  return e.stopPropagation();
@@ -34516,7 +34532,7 @@ function RenderCompItem(props) {
34516
34532
  dictData = _useState2[0],
34517
34533
  setDictData = _useState2[1];
34518
34534
  var getDictData = /*#__PURE__*/function () {
34519
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
34535
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
34520
34536
  var _data$map;
34521
34537
  var data;
34522
34538
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -34558,7 +34574,7 @@ function RenderCompItem(props) {
34558
34574
  var style2 = {
34559
34575
  width: '100px'
34560
34576
  };
34561
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && ( /*#__PURE__*/React$1.createElement(Input, {
34577
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && (/*#__PURE__*/React$1.createElement(Input, {
34562
34578
  disabled: disabled,
34563
34579
  allowClear: true,
34564
34580
  onClear: function onClear() {
@@ -34569,7 +34585,7 @@ function RenderCompItem(props) {
34569
34585
  onBlur: function onBlur(e) {
34570
34586
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
34571
34587
  }
34572
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && ( /*#__PURE__*/React$1.createElement(InputNumber, {
34588
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && (/*#__PURE__*/React$1.createElement(InputNumber, {
34573
34589
  disabled: disabled,
34574
34590
  // max={Number.MAX_SAFE_INTEGER}
34575
34591
  max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
@@ -34582,7 +34598,7 @@ function RenderCompItem(props) {
34582
34598
  onChange: function onChange(value) {
34583
34599
  handleEdit(ites.code, value);
34584
34600
  }
34585
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 32) && ( /*#__PURE__*/React$1.createElement(DatePicker, {
34601
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 32) && (/*#__PURE__*/React$1.createElement(DatePicker, {
34586
34602
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
34587
34603
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
34588
34604
  disabled: disabled,
@@ -34592,7 +34608,7 @@ function RenderCompItem(props) {
34592
34608
  onChange: function onChange(value, dateString) {
34593
34609
  handleEdit(ites.code, dateString);
34594
34610
  }
34595
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && ( /*#__PURE__*/React$1.createElement(RangePicker$1, {
34611
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && (/*#__PURE__*/React$1.createElement(RangePicker$1, {
34596
34612
  showTime: true,
34597
34613
  disabled: disabled,
34598
34614
  defaultValue: ites.defaultValue,
@@ -34601,7 +34617,7 @@ function RenderCompItem(props) {
34601
34617
  onChange: function onChange(value, timeString) {
34602
34618
  handleEdit(ites.code, timeString);
34603
34619
  }
34604
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && ( /*#__PURE__*/React$1.createElement(Switch, {
34620
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && (/*#__PURE__*/React$1.createElement(Switch, {
34605
34621
  disabled: disabled,
34606
34622
  defaultChecked: !!ites.defaultValue,
34607
34623
  style: style2,
@@ -34609,7 +34625,7 @@ function RenderCompItem(props) {
34609
34625
  onChange: function onChange(value) {
34610
34626
  handleEdit(ites.code, value);
34611
34627
  }
34612
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 10 && ( /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({
34628
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 10 && (/*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({
34613
34629
  disabled: disabled,
34614
34630
  allowClear: true,
34615
34631
  showArrow: true
@@ -34627,7 +34643,7 @@ function RenderCompItem(props) {
34627
34643
  key: it,
34628
34644
  value: it
34629
34645
  }, ites.enumeration[it]);
34630
- }))) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && ( /*#__PURE__*/React$1.createElement(InnerSelect, {
34646
+ }))) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && (/*#__PURE__*/React$1.createElement(InnerSelect, {
34631
34647
  disabled: disabled,
34632
34648
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
34633
34649
  defaultValue: ites.defaultValue,
@@ -34637,7 +34653,7 @@ function RenderCompItem(props) {
34637
34653
  handleEdit(ites.code, value);
34638
34654
  },
34639
34655
  dictionaryCode: ites.dictionaryCode
34640
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34656
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34641
34657
  selectBusinessType: "physicalWarehouse",
34642
34658
  selectProps: _objectSpread2({
34643
34659
  style: styleCommon,
@@ -34659,7 +34675,7 @@ function RenderCompItem(props) {
34659
34675
  getPopupContainer: function getPopupContainer() {
34660
34676
  return document.body;
34661
34677
  }
34662
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 120 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34678
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 120 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34663
34679
  selectBusinessType: "realWarehouse",
34664
34680
  selectProps: _objectSpread2({
34665
34681
  style: styleCommon,
@@ -34681,7 +34697,7 @@ function RenderCompItem(props) {
34681
34697
  getPopupContainer: function getPopupContainer() {
34682
34698
  return document.body;
34683
34699
  }
34684
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 130 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34700
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 130 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34685
34701
  selectBusinessType: "virtualWarehouse",
34686
34702
  selectProps: _objectSpread2({
34687
34703
  style: styleCommon,
@@ -34703,7 +34719,7 @@ function RenderCompItem(props) {
34703
34719
  getPopupContainer: function getPopupContainer() {
34704
34720
  return document.body;
34705
34721
  }
34706
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 140 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34722
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 140 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34707
34723
  selectBusinessType: "channelWarehouse",
34708
34724
  selectProps: _objectSpread2({
34709
34725
  style: styleCommon,
@@ -34725,7 +34741,7 @@ function RenderCompItem(props) {
34725
34741
  getPopupContainer: function getPopupContainer() {
34726
34742
  return document.body;
34727
34743
  }
34728
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 150 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34744
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 150 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34729
34745
  selectBusinessType: "spuCommodity",
34730
34746
  selectProps: _objectSpread2({
34731
34747
  style: styleCommon,
@@ -34746,7 +34762,7 @@ function RenderCompItem(props) {
34746
34762
  getPopupContainer: function getPopupContainer() {
34747
34763
  return document.body;
34748
34764
  }
34749
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 160 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34765
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 160 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34750
34766
  selectBusinessType: "skuCommodity",
34751
34767
  selectProps: _objectSpread2({
34752
34768
  style: styleCommon,
@@ -34767,13 +34783,13 @@ function RenderCompItem(props) {
34767
34783
  getPopupContainer: function getPopupContainer() {
34768
34784
  return document.body;
34769
34785
  }
34770
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 190 && ( /*#__PURE__*/React$1.createElement(BsCascader, {
34786
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 190 && (/*#__PURE__*/React$1.createElement(BsCascader, {
34771
34787
  disabled: disabled,
34772
34788
  isAll: true,
34773
34789
  needNameAndCode: true,
34774
34790
  notChangeOnSelect: true,
34775
34791
  initRequestSource: function () {
34776
- var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
34792
+ var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
34777
34793
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
34778
34794
  while (1) switch (_context2.prev = _context2.next) {
34779
34795
  case 0:
@@ -34815,7 +34831,7 @@ function RenderCompItem(props) {
34815
34831
  getPopupContainer: function getPopupContainer() {
34816
34832
  return document.body;
34817
34833
  }
34818
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 210 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
34834
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 210 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
34819
34835
  disabled: disabled,
34820
34836
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34821
34837
  businessType: "department",
@@ -34828,7 +34844,7 @@ function RenderCompItem(props) {
34828
34844
  getPopupContainer: function getPopupContainer() {
34829
34845
  return document.body;
34830
34846
  }
34831
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 220 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
34847
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 220 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
34832
34848
  disabled: disabled,
34833
34849
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34834
34850
  businessType: "purchase-organization",
@@ -34841,7 +34857,7 @@ function RenderCompItem(props) {
34841
34857
  getPopupContainer: function getPopupContainer() {
34842
34858
  return document.body;
34843
34859
  }
34844
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 230 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
34860
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 230 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
34845
34861
  disabled: disabled,
34846
34862
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34847
34863
  businessType: "sales-organization",
@@ -34854,7 +34870,7 @@ function RenderCompItem(props) {
34854
34870
  getPopupContainer: function getPopupContainer() {
34855
34871
  return document.body;
34856
34872
  }
34857
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 240 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34873
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 240 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34858
34874
  selectBusinessType: "supplier2",
34859
34875
  selectProps: _objectSpread2({
34860
34876
  style: styleCommon,
@@ -34875,7 +34891,7 @@ function RenderCompItem(props) {
34875
34891
  getPopupContainer: function getPopupContainer() {
34876
34892
  return document.body;
34877
34893
  }
34878
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 250 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34894
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 250 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34879
34895
  selectBusinessType: "customer2",
34880
34896
  selectProps: _objectSpread2({
34881
34897
  style: styleCommon,
@@ -34896,7 +34912,7 @@ function RenderCompItem(props) {
34896
34912
  getPopupContainer: function getPopupContainer() {
34897
34913
  return document.body;
34898
34914
  }
34899
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 260 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34915
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 260 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34900
34916
  selectBusinessType: "shopFile2",
34901
34917
  selectProps: _objectSpread2({
34902
34918
  style: styleCommon,
@@ -34917,7 +34933,7 @@ function RenderCompItem(props) {
34917
34933
  getPopupContainer: function getPopupContainer() {
34918
34934
  return document.body;
34919
34935
  }
34920
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 270 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34936
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 270 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34921
34937
  selectBusinessType: "employee2",
34922
34938
  selectProps: _objectSpread2({
34923
34939
  style: styleCommon,
@@ -34938,7 +34954,7 @@ function RenderCompItem(props) {
34938
34954
  getPopupContainer: function getPopupContainer() {
34939
34955
  return document.body;
34940
34956
  }
34941
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 280 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
34957
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 280 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
34942
34958
  disabled: disabled,
34943
34959
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34944
34960
  businessType: "stock-organization",
@@ -34951,7 +34967,7 @@ function RenderCompItem(props) {
34951
34967
  getPopupContainer: function getPopupContainer() {
34952
34968
  return document.body;
34953
34969
  }
34954
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
34970
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
34955
34971
  disabled: disabled,
34956
34972
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34957
34973
  businessType: "settle-organization",
@@ -34964,7 +34980,7 @@ function RenderCompItem(props) {
34964
34980
  getPopupContainer: function getPopupContainer() {
34965
34981
  return document.body;
34966
34982
  }
34967
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34983
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34968
34984
  selectBusinessType: "deliveryMode",
34969
34985
  selectProps: _objectSpread2({
34970
34986
  style: styleCommon,
@@ -34985,7 +35001,7 @@ function RenderCompItem(props) {
34985
35001
  getPopupContainer: function getPopupContainer() {
34986
35002
  return document.body;
34987
35003
  }
34988
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 360 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35004
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 360 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34989
35005
  selectBusinessType: "role",
34990
35006
  selectProps: _objectSpread2({
34991
35007
  style: styleCommon,
@@ -35006,7 +35022,7 @@ function RenderCompItem(props) {
35006
35022
  getPopupContainer: function getPopupContainer() {
35007
35023
  return document.body;
35008
35024
  }
35009
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 410 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35025
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 410 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35010
35026
  selectBusinessType: "brand",
35011
35027
  selectProps: _objectSpread2({
35012
35028
  style: styleCommon,
@@ -35027,7 +35043,7 @@ function RenderCompItem(props) {
35027
35043
  getPopupContainer: function getPopupContainer() {
35028
35044
  return document.body;
35029
35045
  }
35030
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 420 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35046
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 420 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35031
35047
  disabled: disabled,
35032
35048
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35033
35049
  businessType: "background-category",
@@ -35040,7 +35056,7 @@ function RenderCompItem(props) {
35040
35056
  getPopupContainer: function getPopupContainer() {
35041
35057
  return document.body;
35042
35058
  }
35043
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 40 && ( /*#__PURE__*/React$1.createElement(CustomSelector, {
35059
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 40 && (/*#__PURE__*/React$1.createElement(CustomSelector, {
35044
35060
  selectProps: _objectSpread2(_objectSpread2({
35045
35061
  style: styleCommon,
35046
35062
  placeholder: '请选择'
@@ -35063,7 +35079,7 @@ function RenderCompItem(props) {
35063
35079
  onChange: function onChange(value) {
35064
35080
  handleEdit(ites.code, value);
35065
35081
  }
35066
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React$1.createElement("div", {
35082
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
35067
35083
  style: {
35068
35084
  display: 'flex'
35069
35085
  }
@@ -35575,7 +35591,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
35575
35591
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
35576
35592
  queryIdentifyType = 'dynamicDictCodeIdentify';
35577
35593
  }
35578
- var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
35594
+ var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
35579
35595
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
35580
35596
  var _i$key;
35581
35597
  return ((i === null || i === void 0 ? void 0 : (_i$key = i.key) === null || _i$key === void 0 ? void 0 : _i$key.indexOf('.')) > -1 ? i.id : i.key) === (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId);
@@ -36502,13 +36518,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
36502
36518
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
36503
36519
  // 处理对象-设置了必填-规则实例保存时数据必填校验
36504
36520
  if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
36505
- var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
36521
+ var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
36506
36522
  var requiredList = list.filter(function (c) {
36507
36523
  return c.required == 1;
36508
36524
  }) || []; // 获取对象属性为true的集合
36509
36525
  (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
36510
36526
  var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
36511
- var coverExpressionTree = (s === null || s === void 0 ? void 0 : (_s$expression = s.expression) === null || _s$expression === void 0 ? void 0 : (_s$expression$subExpr = _s$expression.subExpression) === null || _s$expression$subExpr === void 0 ? void 0 : _s$expression$subExpr.length) ? coverToParallel(s === null || s === void 0 ? void 0 : (_s$expression2 = s.expression) === null || _s$expression2 === void 0 ? void 0 : _s$expression2.subExpression, [], 'subExpression') : (s === null || s === void 0 ? void 0 : s.expression) && [s === null || s === void 0 ? void 0 : s.expression];
36527
+ var coverExpressionTree = (s === null || s === void 0 ? void 0 : (_s$expression = s.expression) === null || _s$expression === void 0 ? void 0 : (_s$expression$subExpr = _s$expression.subExpression) === null || _s$expression$subExpr === void 0 ? void 0 : _s$expression$subExpr.length) ? _coverToParallel(s === null || s === void 0 ? void 0 : (_s$expression2 = s.expression) === null || _s$expression2 === void 0 ? void 0 : _s$expression2.subExpression, [], 'subExpression') : (s === null || s === void 0 ? void 0 : s.expression) && [s === null || s === void 0 ? void 0 : s.expression];
36512
36528
  (coverExpressionTree === null || coverExpressionTree === void 0 ? void 0 : coverExpressionTree.length) && (coverExpressionTree === null || coverExpressionTree === void 0 ? void 0 : (_coverExpressionTree$ = coverExpressionTree.forEach) === null || _coverExpressionTree$ === void 0 ? void 0 : _coverExpressionTree$.call(coverExpressionTree, function (e) {
36513
36529
  if (requiredList.some(function (r) {
36514
36530
  return r.id === e.elementId;
@@ -37097,7 +37113,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
37097
37113
  style: {
37098
37114
  float: 'right'
37099
37115
  }
37100
- })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? ( /*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
37116
+ })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
37101
37117
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
37102
37118
  ruleGroupInfo: {
37103
37119
  ruleGroupList: ruleGroupList,
@@ -37115,7 +37131,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
37115
37131
  callBack: function callBack(newData) {
37116
37132
  upDateData(newData);
37117
37133
  }
37118
- }))) : ( /*#__PURE__*/React$1.createElement("div", {
37134
+ }))) : (/*#__PURE__*/React$1.createElement("div", {
37119
37135
  style: {
37120
37136
  padding: 20
37121
37137
  }
@@ -37490,4 +37506,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
37490
37506
  }, children));
37491
37507
  };
37492
37508
 
37493
- export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
37509
+ export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };