@bit-sun/business-component 3.2.4-alpha.0 → 3.2.4-alpha.1

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
@@ -31,9 +31,88 @@ import { parse as parse$1 } from '@babel/parser';
31
31
  import { visit } from 'ast-types';
32
32
  import isArray$1 from 'lodash/isArray';
33
33
 
34
+ function _arrayLikeToArray(r, a) {
35
+ (null == a || a > r.length) && (a = r.length);
36
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
37
+ return n;
38
+ }
39
+ function _arrayWithHoles(r) {
40
+ if (Array.isArray(r)) return r;
41
+ }
42
+ function _arrayWithoutHoles(r) {
43
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
44
+ }
45
+ function _assertThisInitialized(e) {
46
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
47
+ return e;
48
+ }
49
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
50
+ try {
51
+ var i = n[a](c),
52
+ u = i.value;
53
+ } catch (n) {
54
+ return void e(n);
55
+ }
56
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
57
+ }
58
+ function _asyncToGenerator(n) {
59
+ return function () {
60
+ var t = this,
61
+ e = arguments;
62
+ return new Promise(function (r, o) {
63
+ var a = n.apply(t, e);
64
+ function _next(n) {
65
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
66
+ }
67
+ function _throw(n) {
68
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
69
+ }
70
+ _next(void 0);
71
+ });
72
+ };
73
+ }
34
74
  function _callSuper(t, o, e) {
35
75
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
36
76
  }
77
+ function _classCallCheck(a, n) {
78
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
79
+ }
80
+ function _defineProperties(e, r) {
81
+ for (var t = 0; t < r.length; t++) {
82
+ var o = r[t];
83
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
84
+ }
85
+ }
86
+ function _createClass(e, r, t) {
87
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
88
+ writable: !1
89
+ }), e;
90
+ }
91
+ function _defineProperty(e, r, t) {
92
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
93
+ value: t,
94
+ enumerable: !0,
95
+ configurable: !0,
96
+ writable: !0
97
+ }) : e[r] = t, e;
98
+ }
99
+ function _getPrototypeOf(t) {
100
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
101
+ return t.__proto__ || Object.getPrototypeOf(t);
102
+ }, _getPrototypeOf(t);
103
+ }
104
+ function _inherits(t, e) {
105
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
106
+ t.prototype = Object.create(e && e.prototype, {
107
+ constructor: {
108
+ value: t,
109
+ writable: !0,
110
+ configurable: !0
111
+ }
112
+ }), Object.defineProperty(t, "prototype", {
113
+ writable: !1
114
+ }), e && _setPrototypeOf(t, e);
115
+ }
37
116
  function _isNativeReflectConstruct() {
38
117
  try {
39
118
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
@@ -42,6 +121,9 @@ function _isNativeReflectConstruct() {
42
121
  return !!t;
43
122
  })();
44
123
  }
124
+ function _iterableToArray(r) {
125
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
126
+ }
45
127
  function _iterableToArrayLimit(r, l) {
46
128
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
47
129
  if (null != t) {
@@ -69,6 +151,15 @@ function _iterableToArrayLimit(r, l) {
69
151
  return a;
70
152
  }
71
153
  }
154
+ function _nonIterableRest() {
155
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
156
+ }
157
+ function _nonIterableSpread() {
158
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
159
+ }
160
+ function _objectDestructuringEmpty(t) {
161
+ if (null == t) throw new TypeError("Cannot destructure " + t);
162
+ }
72
163
  function ownKeys(e, r) {
73
164
  var t = Object.keys(e);
74
165
  if (Object.getOwnPropertySymbols) {
@@ -90,6 +181,31 @@ function _objectSpread2(e) {
90
181
  }
91
182
  return e;
92
183
  }
184
+ function _objectWithoutProperties(e, t) {
185
+ if (null == e) return {};
186
+ var o,
187
+ r,
188
+ i = _objectWithoutPropertiesLoose(e, t);
189
+ if (Object.getOwnPropertySymbols) {
190
+ var s = Object.getOwnPropertySymbols(e);
191
+ for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
192
+ }
193
+ return i;
194
+ }
195
+ function _objectWithoutPropertiesLoose(r, e) {
196
+ if (null == r) return {};
197
+ var t = {};
198
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
199
+ if (e.includes(n)) continue;
200
+ t[n] = r[n];
201
+ }
202
+ return t;
203
+ }
204
+ function _possibleConstructorReturn(t, e) {
205
+ if (e && ("object" == typeof e || "function" == typeof e)) return e;
206
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
207
+ return _assertThisInitialized(t);
208
+ }
93
209
  function _regeneratorRuntime() {
94
210
  _regeneratorRuntime = function () {
95
211
  return e;
@@ -391,6 +507,20 @@ function _regeneratorRuntime() {
391
507
  }
392
508
  }, e;
393
509
  }
510
+ function _setPrototypeOf(t, e) {
511
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
512
+ return t.__proto__ = e, t;
513
+ }, _setPrototypeOf(t, e);
514
+ }
515
+ function _slicedToArray(r, e) {
516
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
517
+ }
518
+ function _toArray(r) {
519
+ return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
520
+ }
521
+ function _toConsumableArray(r) {
522
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
523
+ }
394
524
  function _toPrimitive(t, r) {
395
525
  if ("object" != typeof t || !t) return t;
396
526
  var e = t[Symbol.toPrimitive];
@@ -414,181 +544,13 @@ function _typeof(o) {
414
544
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
415
545
  }, _typeof(o);
416
546
  }
417
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
418
- try {
419
- var info = gen[key](arg);
420
- var value = info.value;
421
- } catch (error) {
422
- reject(error);
423
- return;
424
- }
425
- if (info.done) {
426
- resolve(value);
427
- } else {
428
- Promise.resolve(value).then(_next, _throw);
429
- }
430
- }
431
- function _asyncToGenerator(fn) {
432
- return function () {
433
- var self = this,
434
- args = arguments;
435
- return new Promise(function (resolve, reject) {
436
- var gen = fn.apply(self, args);
437
- function _next(value) {
438
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
439
- }
440
- function _throw(err) {
441
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
442
- }
443
- _next(undefined);
444
- });
445
- };
446
- }
447
- function _classCallCheck(instance, Constructor) {
448
- if (!(instance instanceof Constructor)) {
449
- throw new TypeError("Cannot call a class as a function");
547
+ function _unsupportedIterableToArray(r, a) {
548
+ if (r) {
549
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
550
+ var t = {}.toString.call(r).slice(8, -1);
551
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
450
552
  }
451
553
  }
452
- function _defineProperties(target, props) {
453
- for (var i = 0; i < props.length; i++) {
454
- var descriptor = props[i];
455
- descriptor.enumerable = descriptor.enumerable || false;
456
- descriptor.configurable = true;
457
- if ("value" in descriptor) descriptor.writable = true;
458
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
459
- }
460
- }
461
- function _createClass(Constructor, protoProps, staticProps) {
462
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
463
- if (staticProps) _defineProperties(Constructor, staticProps);
464
- Object.defineProperty(Constructor, "prototype", {
465
- writable: false
466
- });
467
- return Constructor;
468
- }
469
- function _defineProperty(obj, key, value) {
470
- key = _toPropertyKey(key);
471
- if (key in obj) {
472
- Object.defineProperty(obj, key, {
473
- value: value,
474
- enumerable: true,
475
- configurable: true,
476
- writable: true
477
- });
478
- } else {
479
- obj[key] = value;
480
- }
481
- return obj;
482
- }
483
- function _inherits(subClass, superClass) {
484
- if (typeof superClass !== "function" && superClass !== null) {
485
- throw new TypeError("Super expression must either be null or a function");
486
- }
487
- subClass.prototype = Object.create(superClass && superClass.prototype, {
488
- constructor: {
489
- value: subClass,
490
- writable: true,
491
- configurable: true
492
- }
493
- });
494
- Object.defineProperty(subClass, "prototype", {
495
- writable: false
496
- });
497
- if (superClass) _setPrototypeOf(subClass, superClass);
498
- }
499
- function _getPrototypeOf(o) {
500
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
501
- return o.__proto__ || Object.getPrototypeOf(o);
502
- };
503
- return _getPrototypeOf(o);
504
- }
505
- function _setPrototypeOf(o, p) {
506
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
507
- o.__proto__ = p;
508
- return o;
509
- };
510
- return _setPrototypeOf(o, p);
511
- }
512
- function _objectDestructuringEmpty(obj) {
513
- if (obj == null) throw new TypeError("Cannot destructure " + obj);
514
- }
515
- function _objectWithoutPropertiesLoose(source, excluded) {
516
- if (source == null) return {};
517
- var target = {};
518
- for (var key in source) {
519
- if (Object.prototype.hasOwnProperty.call(source, key)) {
520
- if (excluded.indexOf(key) >= 0) continue;
521
- target[key] = source[key];
522
- }
523
- }
524
- return target;
525
- }
526
- function _objectWithoutProperties(source, excluded) {
527
- if (source == null) return {};
528
- var target = _objectWithoutPropertiesLoose(source, excluded);
529
- var key, i;
530
- if (Object.getOwnPropertySymbols) {
531
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
532
- for (i = 0; i < sourceSymbolKeys.length; i++) {
533
- key = sourceSymbolKeys[i];
534
- if (excluded.indexOf(key) >= 0) continue;
535
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
536
- target[key] = source[key];
537
- }
538
- }
539
- return target;
540
- }
541
- function _assertThisInitialized(self) {
542
- if (self === void 0) {
543
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
544
- }
545
- return self;
546
- }
547
- function _possibleConstructorReturn(self, call) {
548
- if (call && (typeof call === "object" || typeof call === "function")) {
549
- return call;
550
- } else if (call !== void 0) {
551
- throw new TypeError("Derived constructors may only return object or undefined");
552
- }
553
- return _assertThisInitialized(self);
554
- }
555
- function _slicedToArray(arr, i) {
556
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
557
- }
558
- function _toArray(arr) {
559
- return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
560
- }
561
- function _toConsumableArray(arr) {
562
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
563
- }
564
- function _arrayWithoutHoles(arr) {
565
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
566
- }
567
- function _arrayWithHoles(arr) {
568
- if (Array.isArray(arr)) return arr;
569
- }
570
- function _iterableToArray(iter) {
571
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
572
- }
573
- function _unsupportedIterableToArray(o, minLen) {
574
- if (!o) return;
575
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
576
- var n = Object.prototype.toString.call(o).slice(8, -1);
577
- if (n === "Object" && o.constructor) n = o.constructor.name;
578
- if (n === "Map" || n === "Set") return Array.from(o);
579
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
580
- }
581
- function _arrayLikeToArray(arr, len) {
582
- if (len == null || len > arr.length) len = arr.length;
583
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
584
- return arr2;
585
- }
586
- function _nonIterableSpread() {
587
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
588
- }
589
- function _nonIterableRest() {
590
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
591
- }
592
554
 
593
555
  var ENUM = {
594
556
  // 浏览器缓存信息
@@ -1230,7 +1192,7 @@ function downloadExcel(data, fileName, isResUrl) {
1230
1192
  }
1231
1193
  save_link.click();
1232
1194
  }
1233
- var formatter = function formatter(data, parentAuthority, parentName) {
1195
+ var _formatter = function formatter(data, parentAuthority, parentName) {
1234
1196
  return data.map(function (item) {
1235
1197
  if (!item.name || !item.path) {
1236
1198
  return null;
@@ -1250,7 +1212,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1250
1212
  authority: item.authority || parentAuthority
1251
1213
  });
1252
1214
  if (item.routes) {
1253
- var children = formatter(item.routes, item.authority, locale);
1215
+ var children = _formatter(item.routes, item.authority, locale);
1254
1216
  // Reduce memory usage
1255
1217
  result.children = children;
1256
1218
  }
@@ -1260,7 +1222,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1260
1222
  return item;
1261
1223
  });
1262
1224
  };
1263
- var memoizeOneFormatter = memoizeOne(formatter, isEqual);
1225
+ var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
1264
1226
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1265
1227
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1266
1228
  if (backHistoryPath) {
@@ -2428,16 +2390,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2428
2390
  var handleExportBarCode = handleExport;
2429
2391
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2430
2392
  var routerMap = {};
2431
- var flattenMenuData = function flattenMenuData(data) {
2393
+ var _flattenMenuData = function flattenMenuData(data) {
2432
2394
  data.forEach(function (menuItem) {
2433
2395
  if (menuItem.children) {
2434
- flattenMenuData(menuItem.children);
2396
+ _flattenMenuData(menuItem.children);
2435
2397
  }
2436
2398
  // Reduce memory usage
2437
2399
  routerMap[menuItem.path] = menuItem;
2438
2400
  });
2439
2401
  };
2440
- flattenMenuData(menuData);
2402
+ _flattenMenuData(menuData);
2441
2403
  return routerMap;
2442
2404
  };
2443
2405
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -5923,7 +5885,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
5923
5885
  });
5924
5886
  };
5925
5887
  // 格式化树选择器数据源
5926
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
5888
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
5927
5889
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
5928
5890
  return {
5929
5891
  title: treeDataItem[resKeyValue[1]],
@@ -5933,7 +5895,7 @@ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
5933
5895
  isLeaf: !haveChildren,
5934
5896
  disabled: haveChildren,
5935
5897
  children: haveChildren ? treeDataItem.children.map(function (i) {
5936
- return mapSearchTree(i, resKeyValue);
5898
+ return _mapSearchTree(i, resKeyValue);
5937
5899
  }) : []
5938
5900
  };
5939
5901
  };
@@ -5942,7 +5904,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
5942
5904
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
5943
5905
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
5944
5906
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
5945
- return mapSearchTree(ites, resKeyValue);
5907
+ return _mapSearchTree(ites, resKeyValue);
5946
5908
  }) || [];
5947
5909
  changeSearchForm[changePosition].field.props.treeData = formatData;
5948
5910
  };
@@ -6974,10 +6936,10 @@ var AddSelect = function AddSelect(props) {
6974
6936
  var newColumns = arr.map(function (col) {
6975
6937
  return _objectSpread2({}, col);
6976
6938
  });
6977
- var handleIndex = function handleIndex(arr, indexArr) {
6939
+ var _handleIndex = function handleIndex(arr, indexArr) {
6978
6940
  var i = indexArr.shift();
6979
6941
  if (indexArr.length > 0) {
6980
- handleIndex(arr[i].children, indexArr);
6942
+ _handleIndex(arr[i].children, indexArr);
6981
6943
  } else {
6982
6944
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
6983
6945
  width: size.width
@@ -6985,7 +6947,7 @@ var AddSelect = function AddSelect(props) {
6985
6947
  handleAntdColumnsSpecialParams(arr[i]);
6986
6948
  }
6987
6949
  };
6988
- handleIndex(newColumns, _toConsumableArray(index));
6950
+ _handleIndex(newColumns, _toConsumableArray(index));
6989
6951
  callback(newColumns);
6990
6952
  };
6991
6953
  };
@@ -6995,13 +6957,13 @@ var AddSelect = function AddSelect(props) {
6995
6957
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
6996
6958
  setShowToChooseColumns(_toConsumableArray(newColumns));
6997
6959
  };
6998
- var handleColumns = function handleColumns(arr, indexArr, callback) {
6960
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
6999
6961
  arr.forEach(function (item, index) {
7000
6962
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
7001
6963
  return i || i === 0;
7002
6964
  });
7003
6965
  if (noEmptyArray$1(item.children)) {
7004
- handleColumns(item.children, indexArrInside);
6966
+ _handleColumns(item.children, indexArrInside);
7005
6967
  } else {
7006
6968
  item.width = item.width || getItemDefaultWidth$2(item);
7007
6969
  item.onHeaderCell = function (column) {
@@ -7017,14 +6979,14 @@ var AddSelect = function AddSelect(props) {
7017
6979
  handleAntdColumnsSpecialParams(item);
7018
6980
  return _objectSpread2({}, item);
7019
6981
  });
7020
- handleColumns(showToChooseCol, [], function (res) {
6982
+ _handleColumns(showToChooseCol, [], function (res) {
7021
6983
  return setShowToChooseColumnsCallback(res);
7022
6984
  });
7023
6985
  var showSelectedCol = showColumns.map(function (item) {
7024
6986
  handleAntdColumnsSpecialParams(item);
7025
6987
  return _objectSpread2({}, item);
7026
6988
  });
7027
- handleColumns(showSelectedCol, [], function (res) {
6989
+ _handleColumns(showSelectedCol, [], function (res) {
7028
6990
  return setShowColumnsCallback(res);
7029
6991
  });
7030
6992
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -8032,10 +7994,10 @@ var BillEntry = function BillEntry(_ref3) {
8032
7994
  var newColumns = arr.map(function (col) {
8033
7995
  return _objectSpread2({}, col);
8034
7996
  });
8035
- var handleIndex = function handleIndex(arr, indexArr) {
7997
+ var _handleIndex = function handleIndex(arr, indexArr) {
8036
7998
  var i = indexArr.shift();
8037
7999
  if (indexArr.length > 0) {
8038
- handleIndex(arr[i].children, indexArr);
8000
+ _handleIndex(arr[i].children, indexArr);
8039
8001
  } else {
8040
8002
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8041
8003
  width: size.width
@@ -8043,17 +8005,17 @@ var BillEntry = function BillEntry(_ref3) {
8043
8005
  handleAntdColumnsSpecialParams(arr[i]);
8044
8006
  }
8045
8007
  };
8046
- handleIndex(newColumns, _toConsumableArray(index));
8008
+ _handleIndex(newColumns, _toConsumableArray(index));
8047
8009
  callback(newColumns);
8048
8010
  };
8049
8011
  };
8050
- var handleColumns = function handleColumns(arr, indexArr, callback) {
8012
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
8051
8013
  arr.forEach(function (item, index) {
8052
8014
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8053
8015
  return i || i === 0;
8054
8016
  });
8055
8017
  if (noEmptyArray$1(item.children)) {
8056
- handleColumns(item.children, indexArrInside);
8018
+ _handleColumns(item.children, indexArrInside);
8057
8019
  } else {
8058
8020
  item.width = item.width || getItemDefaultWidth$2(item);
8059
8021
  item.onHeaderCell = function (column) {
@@ -8069,7 +8031,7 @@ var BillEntry = function BillEntry(_ref3) {
8069
8031
  handleAntdColumnsSpecialParams(item);
8070
8032
  return _objectSpread2({}, item);
8071
8033
  });
8072
- handleColumns(showSelectedCol, [], function (res) {
8034
+ _handleColumns(showSelectedCol, [], function (res) {
8073
8035
  return setShowColumnsCallback(res);
8074
8036
  });
8075
8037
  return /*#__PURE__*/React$1.createElement("div", {
@@ -8270,6 +8232,7 @@ var handleDefaultPrefixUrl = function handleDefaultPrefixUrl(type) {
8270
8232
  case 'supplier2':
8271
8233
  case 'customer2':
8272
8234
  case 'shopFile2':
8235
+ case 'platCompany':
8273
8236
  result = '/channel-manage';
8274
8237
  break;
8275
8238
  case 'skuCommodity':
@@ -8367,7 +8330,7 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps, hidde
8367
8330
  });
8368
8331
  };
8369
8332
  // 格式化树选择器数据源
8370
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
8333
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
8371
8334
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
8372
8335
  return {
8373
8336
  title: treeDataItem[resKeyValue[1]],
@@ -8377,7 +8340,7 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps, hidde
8377
8340
  isLeaf: !haveChildren,
8378
8341
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
8379
8342
  children: haveChildren ? treeDataItem.children.map(function (i) {
8380
- return mapSearchTree(i, resKeyValue, disabledJudge);
8343
+ return _mapSearchTree(i, resKeyValue, disabledJudge);
8381
8344
  }) : []
8382
8345
  };
8383
8346
  };
@@ -8391,7 +8354,7 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps, hidde
8391
8354
  disabledJudge = false;
8392
8355
  }
8393
8356
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
8394
- return mapSearchTree(ites, resKeyValue, disabledJudge);
8357
+ return _mapSearchTree(ites, resKeyValue, disabledJudge);
8395
8358
  }) || [];
8396
8359
  changeSearchForm[changePosition].field.props.treeData = formatData;
8397
8360
  };
@@ -9951,6 +9914,21 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps, hidde
9951
9914
  }, requestConfigProp);
9952
9915
  needModalTable = false;
9953
9916
  }
9917
+ // 新-法人公司选择器(无弹窗)
9918
+ if (type === 'platCompany') {
9919
+ requestConfig = _objectSpread2({
9920
+ url: "".concat(prefixUrl.selectPrefix, "/platCompany"),
9921
+ filter: 'qp-name,socialCreditCode-orGroup,like',
9922
+ mappingTextField: 'name',
9923
+ mappingTextShowKeyField: 'socialCreditCode',
9924
+ mappingValueField: 'socialCreditCode',
9925
+ otherParams: {
9926
+ sorter: 'desc-id'
9927
+ },
9928
+ sourceName: 'platCompany'
9929
+ }, requestConfigProp);
9930
+ needModalTable = false;
9931
+ }
9954
9932
  // 员工选择器
9955
9933
  if (type === 'employee') {
9956
9934
  requestConfig = _objectSpread2({
@@ -12091,7 +12069,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12091
12069
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
12092
12070
  _remoteSource$special = remoteSource.specialBracket,
12093
12071
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
12094
- var mapSearchTree = function mapSearchTree(treeDataItem) {
12072
+ var _mapSearchTree = function mapSearchTree(treeDataItem) {
12095
12073
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
12096
12074
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
12097
12075
  return {
@@ -12103,7 +12081,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12103
12081
  isLeaf: !haveChildren,
12104
12082
  disabled: isDisabled(haveChildren, isRoot),
12105
12083
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
12106
- return mapSearchTree(i);
12084
+ return _mapSearchTree(i);
12107
12085
  }) : []
12108
12086
  };
12109
12087
  };
@@ -12149,7 +12127,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12149
12127
  case 9:
12150
12128
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
12151
12129
  coverData = dataList.length && dataList.map(function (ites) {
12152
- return mapSearchTree(ites);
12130
+ return _mapSearchTree(ites);
12153
12131
  }) || [];
12154
12132
  case 11:
12155
12133
  _context.next = 14;
@@ -12187,11 +12165,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12187
12165
  return _formatResult;
12188
12166
  }
12189
12167
  };
12190
- var parallelData = function parallelData(data, result) {
12168
+ var _parallelData = function parallelData(data, result) {
12191
12169
  data.forEach(function (i) {
12192
12170
  result.push(i);
12193
12171
  if (i[treeChildrenRoom]) {
12194
- parallelData(i[treeChildrenRoom], result);
12172
+ _parallelData(i[treeChildrenRoom], result);
12195
12173
  }
12196
12174
  });
12197
12175
  return result;
@@ -12231,7 +12209,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12231
12209
  var _ctx$form2;
12232
12210
  var handleData = formatData(data);
12233
12211
  // 获取选中树节点当条数据,并返回给调用业务
12234
- var parallelTreeData = parallelData(treeData, []);
12212
+ var parallelTreeData = _parallelData(treeData, []);
12235
12213
  var currentItem = getSelectItem(parallelTreeData, data);
12236
12214
  onChange(handleData, data, currentItem, parallelTreeData);
12237
12215
  onChangeName && onChangeName(dataName);
@@ -12274,7 +12252,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12274
12252
  var getShowStr = function getShowStr() {
12275
12253
  var isMultiple = multiple || treeCheckable;
12276
12254
  var kongValue = '无';
12277
- var parallelTreeData = parallelData(treeData, []);
12255
+ var parallelTreeData = _parallelData(treeData, []);
12278
12256
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
12279
12257
  if (isMultiple) {
12280
12258
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -13447,10 +13425,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
13447
13425
  var newColumns = _this.state.showColumns.map(function (col) {
13448
13426
  return _objectSpread2({}, col);
13449
13427
  });
13450
- var handleIndex = function handleIndex(arr, indexArr) {
13428
+ var _handleIndex = function handleIndex(arr, indexArr) {
13451
13429
  var i = indexArr.shift();
13452
13430
  if (indexArr.length > 0) {
13453
- handleIndex(arr[i].children, indexArr);
13431
+ _handleIndex(arr[i].children, indexArr);
13454
13432
  } else {
13455
13433
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
13456
13434
  width: size.width
@@ -13458,7 +13436,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
13458
13436
  handleBssulaColumnsSpecialParams(arr[i]);
13459
13437
  }
13460
13438
  };
13461
- handleIndex(newColumns, _toConsumableArray(index));
13439
+ _handleIndex(newColumns, _toConsumableArray(index));
13462
13440
  _this.setState({
13463
13441
  showColumns: _toConsumableArray(newColumns)
13464
13442
  });
@@ -13537,13 +13515,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
13537
13515
  showSummary = summary;
13538
13516
  }
13539
13517
  }
13540
- var handleColumns = function handleColumns(arr, indexArr) {
13518
+ var _handleColumns = function handleColumns(arr, indexArr) {
13541
13519
  arr.forEach(function (item, index) {
13542
13520
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
13543
13521
  return i || i === 0;
13544
13522
  });
13545
13523
  if (noEmptyArray$1(item.children)) {
13546
- handleColumns(item.children, indexArrInside);
13524
+ _handleColumns(item.children, indexArrInside);
13547
13525
  } else {
13548
13526
  item.width = item.width || getItemDefaultWidth$2(item);
13549
13527
  item.onHeaderCell = function (column) {
@@ -13559,7 +13537,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
13559
13537
  handleBssulaColumnsSpecialParams(item);
13560
13538
  return _objectSpread2({}, item);
13561
13539
  });
13562
- handleColumns(showCol, []);
13540
+ _handleColumns(showCol, []);
13563
13541
  if (dynamicColumns.length) {
13564
13542
  showCol = this.handledynamicColumns(showCol);
13565
13543
  }
@@ -13684,10 +13662,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
13684
13662
  var newColumns = _this.state.showColumns.map(function (col) {
13685
13663
  return _objectSpread2({}, col);
13686
13664
  });
13687
- var handleIndex = function handleIndex(arr, indexArr) {
13665
+ var _handleIndex = function handleIndex(arr, indexArr) {
13688
13666
  var i = indexArr.shift();
13689
13667
  if (indexArr.length > 0) {
13690
- handleIndex(arr[i].children, indexArr);
13668
+ _handleIndex(arr[i].children, indexArr);
13691
13669
  } else {
13692
13670
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
13693
13671
  width: size.width
@@ -13695,7 +13673,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
13695
13673
  handleAntdColumnsSpecialParams(arr[i]);
13696
13674
  }
13697
13675
  };
13698
- handleIndex(newColumns, _toConsumableArray(index));
13676
+ _handleIndex(newColumns, _toConsumableArray(index));
13699
13677
  _this.setState({
13700
13678
  showColumns: _toConsumableArray(newColumns)
13701
13679
  });
@@ -13771,13 +13749,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
13771
13749
  showSummary = summary;
13772
13750
  }
13773
13751
  }
13774
- var handleColumns = function handleColumns(arr, indexArr) {
13752
+ var _handleColumns = function handleColumns(arr, indexArr) {
13775
13753
  arr.forEach(function (item, index) {
13776
13754
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
13777
13755
  return i || i === 0;
13778
13756
  });
13779
13757
  if (noEmptyArray$1(item.children)) {
13780
- handleColumns(item.children, indexArrInside);
13758
+ _handleColumns(item.children, indexArrInside);
13781
13759
  } else {
13782
13760
  item.width = item.width || getItemDefaultWidth$2(item);
13783
13761
  item.onHeaderCell = function (column) {
@@ -13793,7 +13771,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
13793
13771
  handleAntdColumnsSpecialParams(item);
13794
13772
  return _objectSpread2({}, item);
13795
13773
  });
13796
- handleColumns(showCol, []);
13774
+ _handleColumns(showCol, []);
13797
13775
  if (dynamicColumns.length) {
13798
13776
  showCol = this.handledynamicColumns(showCol);
13799
13777
  }
@@ -13886,20 +13864,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
13886
13864
  };
13887
13865
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
13888
13866
  var routerMap = {};
13889
- var flattenMenuData = function flattenMenuData(data, parent) {
13867
+ var _flattenMenuData2 = function flattenMenuData(data, parent) {
13890
13868
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
13891
13869
  data.forEach(function (menuItem) {
13892
13870
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
13893
13871
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
13894
13872
  });
13895
13873
  if (newMenuItem.children) {
13896
- flattenMenuData(newMenuItem.children, newMenuItem);
13874
+ _flattenMenuData2(newMenuItem.children, newMenuItem);
13897
13875
  }
13898
13876
  // Reduce memory usage
13899
13877
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
13900
13878
  });
13901
13879
  };
13902
- flattenMenuData(menuData, {});
13880
+ _flattenMenuData2(menuData, {});
13903
13881
  return routerMap;
13904
13882
  };
13905
13883
  // mode类型判断
@@ -16338,11 +16316,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
16338
16316
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
16339
16317
  var resultList = [];
16340
16318
  var newRouter = cloneDeep(router);
16341
- var deep = function deep(router) {
16319
+ var _deep = function deep(router) {
16342
16320
  if (router && Array.isArray(router)) {
16343
16321
  router.forEach(function (item) {
16344
16322
  if (item.children && Array.isArray(item.children)) {
16345
- deep(item.children);
16323
+ _deep(item.children);
16346
16324
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
16347
16325
  return d === item.code;
16348
16326
  })) {
@@ -16356,10 +16334,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
16356
16334
  resultList.push(_objectSpread2({}, router));
16357
16335
  }
16358
16336
  };
16359
- deep(newRouter);
16337
+ _deep(newRouter);
16360
16338
  callBack([].concat(resultList));
16361
16339
  };
16362
- var setMenuTreeData = function setMenuTreeData(routesData) {
16340
+ var _setMenuTreeData = function setMenuTreeData(routesData) {
16363
16341
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
16364
16342
  var _loop = function _loop(i) {
16365
16343
  if (routesData[i].hideInMenu) {
@@ -16373,7 +16351,7 @@ var setMenuTreeData = function setMenuTreeData(routesData) {
16373
16351
  return 0; // continue
16374
16352
  }
16375
16353
  if (routesData[i].children) {
16376
- setMenuTreeData(routesData[i].children);
16354
+ _setMenuTreeData(routesData[i].children);
16377
16355
  }
16378
16356
  },
16379
16357
  _ret;
@@ -16394,16 +16372,16 @@ var setLoginOutPath = function setLoginOutPath() {
16394
16372
  };
16395
16373
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
16396
16374
  var routerMap = {};
16397
- var flattenMenuData = function flattenMenuData(data) {
16375
+ var _flattenMenuData = function flattenMenuData(data) {
16398
16376
  data.forEach(function (menuItem) {
16399
16377
  if (menuItem.children) {
16400
- flattenMenuData(menuItem.children);
16378
+ _flattenMenuData(menuItem.children);
16401
16379
  }
16402
16380
  // Reduce memory usage
16403
16381
  routerMap[menuItem.path] = menuItem;
16404
16382
  });
16405
16383
  };
16406
- flattenMenuData(menuData);
16384
+ _flattenMenuData(menuData);
16407
16385
  return routerMap;
16408
16386
  };
16409
16387
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -16549,7 +16527,7 @@ var DrawContent = function DrawContent(_ref) {
16549
16527
  sethomepageData(homepageDataList);
16550
16528
  setroutesData(routesDataList);
16551
16529
  }, []);
16552
- var renderChildItem = function renderChildItem(child) {
16530
+ var _renderChildItem = function renderChildItem(child) {
16553
16531
  if (!child.hideInMenu && child.children) {
16554
16532
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
16555
16533
  style: {
@@ -16559,7 +16537,7 @@ var DrawContent = function DrawContent(_ref) {
16559
16537
  }, formatMessage({
16560
16538
  id: "".concat(child.locale)
16561
16539
  })), child.children.map(function (menuItem) {
16562
- return renderChildItem(menuItem);
16540
+ return _renderChildItem(menuItem);
16563
16541
  }));
16564
16542
  } else if (!child.hideInMenu && child.path) {
16565
16543
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -16629,7 +16607,7 @@ var DrawContent = function DrawContent(_ref) {
16629
16607
  bordered: true,
16630
16608
  dataSource: item.children,
16631
16609
  renderItem: function renderItem(child) {
16632
- return renderChildItem(child);
16610
+ return _renderChildItem(child);
16633
16611
  }
16634
16612
  });
16635
16613
  })));
@@ -17292,7 +17270,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
17292
17270
  var resultList = [];
17293
17271
  var newRouter = cloneDeep$1(router);
17294
17272
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
17295
- var deep = function deep(router) {
17273
+ var _deep = function deep(router) {
17296
17274
  if (router && Array.isArray(router)) {
17297
17275
  router.forEach(function (item) {
17298
17276
  if (item.routes && Array.isArray(item.routes)) {
@@ -17302,7 +17280,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
17302
17280
  d.nameEdit = true;
17303
17281
  }
17304
17282
  });
17305
- deep(item.routes);
17283
+ _deep(item.routes);
17306
17284
  } else if (!item.hideInMenu && (name ? formatMessage({
17307
17285
  id: "menu.".concat(item.name)
17308
17286
  }).indexOf(name) !== -1 : true)) {
@@ -17321,7 +17299,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
17321
17299
  }));
17322
17300
  }
17323
17301
  };
17324
- deep(newRouter);
17302
+ _deep(newRouter);
17325
17303
  setroutesData([].concat(resultList));
17326
17304
  };
17327
17305
  var renderLineStyl = function renderLineStyl(name) {
@@ -17418,7 +17396,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
17418
17396
  var TreeNode = Tree.TreeNode;
17419
17397
  var Search$2 = Input.Search;
17420
17398
  var dataList = [];
17421
- var generateList = function generateList(data) {
17399
+ var _generateList = function generateList(data) {
17422
17400
  for (var i = 0; i < data.length; i++) {
17423
17401
  var node = data[i];
17424
17402
  var path = node.path,
@@ -17428,11 +17406,11 @@ var generateList = function generateList(data) {
17428
17406
  name: name
17429
17407
  });
17430
17408
  if (node.children) {
17431
- generateList(node.children);
17409
+ _generateList(node.children);
17432
17410
  }
17433
17411
  }
17434
17412
  };
17435
- var getParentKey = function getParentKey(path, tree) {
17413
+ var _getParentKey = function getParentKey(path, tree) {
17436
17414
  var parentKey;
17437
17415
  for (var i = 0; i < tree.length; i++) {
17438
17416
  var node = tree[i];
@@ -17441,8 +17419,8 @@ var getParentKey = function getParentKey(path, tree) {
17441
17419
  return item.path === path;
17442
17420
  })) {
17443
17421
  parentKey = node.path;
17444
- } else if (getParentKey(path, node.children)) {
17445
- parentKey = getParentKey(path, node.children);
17422
+ } else if (_getParentKey(path, node.children)) {
17423
+ parentKey = _getParentKey(path, node.children);
17446
17424
  }
17447
17425
  }
17448
17426
  }
@@ -17473,7 +17451,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17473
17451
  var treeData = _this.state.treeData;
17474
17452
  var expandedKeys = dataList.map(function (item) {
17475
17453
  if (item.name.indexOf(value) > -1) {
17476
- return getParentKey(item.path, treeData);
17454
+ return _getParentKey(item.path, treeData);
17477
17455
  }
17478
17456
  return null;
17479
17457
  }).filter(function (item, i, self) {
@@ -17487,22 +17465,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17487
17465
  };
17488
17466
  _this.getPathList = function (originData) {
17489
17467
  var pathList = [];
17490
- var getList = function getList(data) {
17468
+ var _getList = function getList(data) {
17491
17469
  if (Array.isArray(data)) {
17492
17470
  data.forEach(function (item) {
17493
17471
  pathList.push(item.path);
17494
17472
  if (item.children) {
17495
- getList(item.children);
17473
+ _getList(item.children);
17496
17474
  }
17497
17475
  });
17498
17476
  } else {
17499
17477
  pathList.push(data.path);
17500
17478
  if (data.children) {
17501
- getList(data.children);
17479
+ _getList(data.children);
17502
17480
  }
17503
17481
  }
17504
17482
  };
17505
- getList(originData);
17483
+ _getList(originData);
17506
17484
  return pathList;
17507
17485
  };
17508
17486
  _this.handleAdd2Menu = function (path) {
@@ -17511,18 +17489,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17511
17489
  customerMenuData = _this$props.customerMenuData,
17512
17490
  setCustomerMenuData = _this$props.setCustomerMenuData;
17513
17491
  var filterItem;
17514
- var filterMenuItem = function filterMenuItem(menuData) {
17492
+ var _filterMenuItem = function filterMenuItem(menuData) {
17515
17493
  menuData.forEach(function (item) {
17516
17494
  if (item.path === path) {
17517
17495
  filterItem = _objectSpread2({}, item);
17518
17496
  return;
17519
17497
  }
17520
17498
  if (item.children) {
17521
- filterMenuItem(item.children);
17499
+ _filterMenuItem(item.children);
17522
17500
  }
17523
17501
  });
17524
17502
  };
17525
- filterMenuItem(treeData);
17503
+ _filterMenuItem(treeData);
17526
17504
  var addPathList = _this.getPathList(filterItem);
17527
17505
  var oldPathList = _this.getPathList(customerMenuData);
17528
17506
  var isRepet = false;
@@ -17552,8 +17530,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17552
17530
  return item.path === '/';
17553
17531
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
17554
17532
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
17555
- setMenuTreeData(routesData);
17556
- generateList(routesData);
17533
+ _setMenuTreeData(routesData);
17534
+ _generateList(routesData);
17557
17535
  this.setState({
17558
17536
  treeData: routesData
17559
17537
  });
@@ -17567,7 +17545,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17567
17545
  expandedKeys = _this$state.expandedKeys,
17568
17546
  autoExpandParent = _this$state.autoExpandParent,
17569
17547
  treeData = _this$state.treeData;
17570
- var loop = function loop(data) {
17548
+ var _loop = function loop(data) {
17571
17549
  return data.map(function (item) {
17572
17550
  var index = item.name.indexOf(searchValue);
17573
17551
  var beforeStr = item.name.substr(0, index);
@@ -17598,7 +17576,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17598
17576
  width: 18,
17599
17577
  src: arrowRight
17600
17578
  }))))
17601
- }, loop(item.children));
17579
+ }, _loop(item.children));
17602
17580
  }
17603
17581
  return /*#__PURE__*/React$1.createElement(TreeNode, {
17604
17582
  path: item.path,
@@ -17648,7 +17626,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17648
17626
  onExpand: this.onExpand,
17649
17627
  expandedKeys: expandedKeys,
17650
17628
  autoExpandParent: autoExpandParent
17651
- }, loop(treeData))));
17629
+ }, _loop(treeData))));
17652
17630
  }
17653
17631
  }]);
17654
17632
  }(React$1.Component);
@@ -17681,24 +17659,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17681
17659
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
17682
17660
  var dragObj;
17683
17661
  var finalDropItem;
17684
- var loop = function loop(data, path, callback) {
17662
+ var _loop = function loop(data, path, callback) {
17685
17663
  for (var i = 0; i < data.length; i++) {
17686
17664
  if (data[i].path === path) {
17687
17665
  return callback(data[i], i, data);
17688
17666
  }
17689
17667
  if (data[i].children) {
17690
- loop(data[i].children, path, callback);
17668
+ _loop(data[i].children, path, callback);
17691
17669
  }
17692
17670
  }
17693
17671
  };
17694
17672
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
17695
- loop(data, dragKey, function (item, index, arr) {
17673
+ _loop(data, dragKey, function (item, index, arr) {
17696
17674
  arr.splice(index, 1);
17697
17675
  dragObj = item;
17698
17676
  });
17699
17677
  if (!info.dropToGap) {
17700
17678
  // Drop on the content
17701
- loop(data, dropKey, function (item) {
17679
+ _loop(data, dropKey, function (item) {
17702
17680
  item.children = item.children || [];
17703
17681
  item.children.unshift(dragObj);
17704
17682
  finalDropItem = _objectSpread2({}, item);
@@ -17709,7 +17687,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17709
17687
  // Is expanded
17710
17688
  dropPosition === 1 // On the bottom gap
17711
17689
  ) {
17712
- loop(data, dropKey, function (item) {
17690
+ _loop(data, dropKey, function (item) {
17713
17691
  item.children = item.children || [];
17714
17692
  item.children.unshift(dragObj);
17715
17693
  finalDropItem = _objectSpread2({}, item);
@@ -17717,7 +17695,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17717
17695
  } else {
17718
17696
  var ar;
17719
17697
  var i;
17720
- loop(data, dropKey, function (item, index, arr) {
17698
+ _loop(data, dropKey, function (item, index, arr) {
17721
17699
  ar = arr;
17722
17700
  i = index;
17723
17701
  });
@@ -17756,17 +17734,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17756
17734
  title: '编辑名称',
17757
17735
  callBack: function callBack(newName) {
17758
17736
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
17759
- var editTreeDataName = function editTreeDataName(oldTreeData) {
17737
+ var _editTreeDataName = function editTreeDataName(oldTreeData) {
17760
17738
  oldTreeData.forEach(function (treeItem) {
17761
17739
  if (treeItem.path === item.path) {
17762
17740
  treeItem.name = newName;
17763
17741
  }
17764
17742
  if (treeItem.children) {
17765
- editTreeDataName(treeItem.children);
17743
+ _editTreeDataName(treeItem.children);
17766
17744
  }
17767
17745
  });
17768
17746
  };
17769
- editTreeDataName(oldTreeData);
17747
+ _editTreeDataName(oldTreeData);
17770
17748
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
17771
17749
  _this.setState({
17772
17750
  modalInfo: {
@@ -17811,7 +17789,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17811
17789
  title: '新增子目录',
17812
17790
  callBack: function callBack(newName) {
17813
17791
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
17814
- var addChildFolder = function addChildFolder(oldTreeData) {
17792
+ var _addChildFolder = function addChildFolder(oldTreeData) {
17815
17793
  oldTreeData.forEach(function (treeItem) {
17816
17794
  if (treeItem.path === item.path) {
17817
17795
  treeItem.children ? treeItem.children.push({
@@ -17823,11 +17801,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17823
17801
  }];
17824
17802
  }
17825
17803
  if (treeItem.children) {
17826
- addChildFolder(treeItem.children);
17804
+ _addChildFolder(treeItem.children);
17827
17805
  }
17828
17806
  });
17829
17807
  };
17830
- addChildFolder(oldTreeData);
17808
+ _addChildFolder(oldTreeData);
17831
17809
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
17832
17810
  _this.setState({
17833
17811
  modalInfo: {
@@ -17886,7 +17864,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17886
17864
  var _this$state = this.state,
17887
17865
  modalInfo = _this$state.modalInfo,
17888
17866
  checkedKeys = _this$state.checkedKeys;
17889
- var loop = function loop(data) {
17867
+ var _loop2 = function loop(data) {
17890
17868
  return data.map(function (item) {
17891
17869
  if (item.children && item.children.length) {
17892
17870
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -17903,7 +17881,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17903
17881
  e.stopPropagation();
17904
17882
  }
17905
17883
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
17906
- }, loop(item.children));
17884
+ }, _loop2(item.children));
17907
17885
  }
17908
17886
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
17909
17887
  path: item.path,
@@ -17982,7 +17960,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17982
17960
  children: 'children'
17983
17961
  },
17984
17962
  onDrop: this.onDrop
17985
- }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
17963
+ }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
17986
17964
  width: 600,
17987
17965
  bodyStyle: {
17988
17966
  paddingTop: '32px',
@@ -18095,7 +18073,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18095
18073
  pathname: item.path
18096
18074
  });
18097
18075
  };
18098
- var getMenuDom = function getMenuDom(menuData) {
18076
+ var _getMenuDom = function getMenuDom(menuData) {
18099
18077
  return menuData.map(function (item) {
18100
18078
  return /*#__PURE__*/React$1.createElement("div", {
18101
18079
  style: {
@@ -18110,7 +18088,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18110
18088
  fontWeight: item.children || !item.component ? 'bolder' : '400',
18111
18089
  paddingLeft: '4px'
18112
18090
  }
18113
- }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
18091
+ }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
18114
18092
  });
18115
18093
  };
18116
18094
  return /*#__PURE__*/React$1.createElement("div", {
@@ -18157,7 +18135,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18157
18135
  visible: isDrawer
18158
18136
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
18159
18137
  className: 'menu_title_line'
18160
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
18138
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
18161
18139
  title: /*#__PURE__*/React$1.createElement("span", {
18162
18140
  style: {
18163
18141
  fontWeight: '600',
@@ -18231,7 +18209,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18231
18209
  return item.path === '/';
18232
18210
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
18233
18211
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
18234
- setMenuTreeData(routesData);
18212
+ _setMenuTreeData(routesData);
18235
18213
  routesData.forEach(function (item) {
18236
18214
  if (item.children) {
18237
18215
  routesDataList.push(item);
@@ -18261,7 +18239,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18261
18239
  setHeight(clientHeight - 190);
18262
18240
  setDrawHeight(clientHeight - 70);
18263
18241
  };
18264
- var renderChildItem = function renderChildItem(child) {
18242
+ var _renderChildItem = function renderChildItem(child) {
18265
18243
  if (!child.hideInMenu && child.children) {
18266
18244
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
18267
18245
  style: {
@@ -18271,7 +18249,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18271
18249
  }, formatMessage({
18272
18250
  id: "".concat(child.locale)
18273
18251
  })), child.children.map(function (menuItem) {
18274
- return renderChildItem(menuItem);
18252
+ return _renderChildItem(menuItem);
18275
18253
  }));
18276
18254
  } else if (!child.hideInMenu && child.path) {
18277
18255
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -18475,7 +18453,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18475
18453
  bordered: true,
18476
18454
  dataSource: item.children,
18477
18455
  renderItem: function renderItem(child) {
18478
- return renderChildItem(child);
18456
+ return _renderChildItem(child);
18479
18457
  }
18480
18458
  });
18481
18459
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -18633,10 +18611,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
18633
18611
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
18634
18612
  var menuKeys = [];
18635
18613
  var docsId = [];
18636
- var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
18614
+ var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
18637
18615
  data.forEach(function (item) {
18638
18616
  if (item.children && item.children.length > 0) {
18639
- getLimitedMenuKeys(item.children);
18617
+ _getLimitedMenuKeys(item.children);
18640
18618
  } else {
18641
18619
  var originPath = item.path.replace(/^\/\w+\//, '/');
18642
18620
  menuKeys.push(originPath);
@@ -18647,7 +18625,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
18647
18625
  });
18648
18626
  };
18649
18627
  try {
18650
- getLimitedMenuKeys(limitedMenuData);
18628
+ _getLimitedMenuKeys(limitedMenuData);
18651
18629
  } catch (e) {}
18652
18630
  return {
18653
18631
  menuKeys: menuKeys,
@@ -18881,10 +18859,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
18881
18859
  return (node.path || '').includes('all-general-documents');
18882
18860
  };
18883
18861
  // 递归获取树列表
18884
- var getTreeList = function getTreeList(data) {
18862
+ var _getTreeList = function getTreeList(data) {
18885
18863
  data.forEach(function (node) {
18886
18864
  if (node.routes && node.routes.length > 0) {
18887
- getTreeList(node.routes);
18865
+ _getTreeList(node.routes);
18888
18866
  return;
18889
18867
  }
18890
18868
  // todo:暂时处理非wujie环境不做404管控
@@ -18915,7 +18893,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
18915
18893
  }
18916
18894
  });
18917
18895
  };
18918
- getTreeList(treeData);
18896
+ _getTreeList(treeData);
18919
18897
  return treeList;
18920
18898
  };
18921
18899
  _this.getDictionarySource = function (dicCode) {
@@ -19976,12 +19954,12 @@ var index$5 = (function (props) {
19976
19954
  });
19977
19955
 
19978
19956
  // @ts-nocheck
19979
- var getAllColumns = function getAllColumns(columns) {
19957
+ var _getAllColumns = function getAllColumns(columns) {
19980
19958
  var result = [];
19981
19959
  columns.forEach(function (column) {
19982
19960
  if (column.children) {
19983
19961
  result.push(column);
19984
- result.push.apply(result, getAllColumns(column.children));
19962
+ result.push.apply(result, _getAllColumns(column.children));
19985
19963
  } else {
19986
19964
  result.push(column);
19987
19965
  }
@@ -19990,7 +19968,7 @@ var getAllColumns = function getAllColumns(columns) {
19990
19968
  };
19991
19969
  var convertToRows = function convertToRows(originColumns) {
19992
19970
  var maxLevel = 1;
19993
- var traverse = function traverse(column, parent) {
19971
+ var _traverse = function traverse(column, parent) {
19994
19972
  if (parent) {
19995
19973
  column.level = parent.level + 1;
19996
19974
  if (maxLevel < column.level) {
@@ -20000,7 +19978,7 @@ var convertToRows = function convertToRows(originColumns) {
20000
19978
  if (column.children) {
20001
19979
  var colSpan = 0;
20002
19980
  column.children.forEach(function (subColumn) {
20003
- traverse(subColumn, column);
19981
+ _traverse(subColumn, column);
20004
19982
  colSpan += subColumn.colSpan;
20005
19983
  });
20006
19984
  column.colSpan = colSpan;
@@ -20010,13 +19988,13 @@ var convertToRows = function convertToRows(originColumns) {
20010
19988
  };
20011
19989
  originColumns.forEach(function (column) {
20012
19990
  column.level = 1;
20013
- traverse(column);
19991
+ _traverse(column);
20014
19992
  });
20015
19993
  var rows = [];
20016
19994
  for (var i = 0; i < maxLevel; i++) {
20017
19995
  rows.push([]);
20018
19996
  }
20019
- var allColumns = getAllColumns(originColumns);
19997
+ var allColumns = _getAllColumns(originColumns);
20020
19998
  allColumns.forEach(function (column) {
20021
19999
  if (!column.children) {
20022
20000
  column.rowSpan = maxLevel - column.level + 1;
@@ -20056,7 +20034,7 @@ var convertToRows = function convertToRows(originColumns) {
20056
20034
  };
20057
20035
  var headersToRows = function headersToRows(originColumns) {
20058
20036
  var maxLevel = 1;
20059
- var traverse = function traverse(column, parent) {
20037
+ var _traverse2 = function traverse(column, parent) {
20060
20038
  if (parent) {
20061
20039
  //计算当前元素属于第几个层级
20062
20040
  column.level = parent.level + 1;
@@ -20069,7 +20047,7 @@ var headersToRows = function headersToRows(originColumns) {
20069
20047
  var colSpan = 0;
20070
20048
  column.children.forEach(function (subColumn) {
20071
20049
  //进行递归
20072
- traverse(subColumn, column);
20050
+ _traverse2(subColumn, column);
20073
20051
  colSpan += subColumn.colSpan;
20074
20052
  });
20075
20053
  column.colSpan = colSpan;
@@ -20079,14 +20057,14 @@ var headersToRows = function headersToRows(originColumns) {
20079
20057
  };
20080
20058
  originColumns.forEach(function (column) {
20081
20059
  column.level = 1;
20082
- traverse(column);
20060
+ _traverse2(column);
20083
20061
  });
20084
20062
  var rows = [];
20085
20063
  var lastData = [];
20086
20064
  for (var i = 0; i < maxLevel; i++) {
20087
20065
  rows.push([]);
20088
20066
  }
20089
- var allColumns = getAllColumns(originColumns);
20067
+ var allColumns = _getAllColumns(originColumns);
20090
20068
  allColumns.forEach(function (column) {
20091
20069
  if (!column.children) {
20092
20070
  column.rowSpan = maxLevel - column.level + 1;
@@ -26103,7 +26081,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
26103
26081
  }
26104
26082
  return lineStart <= highLightLine && lineEnd >= highLightLine;
26105
26083
  };
26106
- var hasHighLightChildren = function hasHighLightChildren() {
26084
+ var _hasHighLightChildren = function hasHighLightChildren() {
26107
26085
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
26108
26086
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
26109
26087
  var children = hightLightData.children,
@@ -26114,7 +26092,7 @@ var hasHighLightChildren = function hasHighLightChildren() {
26114
26092
  lineEnd = _loc2[2];
26115
26093
  if (children) {
26116
26094
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
26117
- return hasHighLightChildren(v, highLightLine);
26095
+ return _hasHighLightChildren(v, highLightLine);
26118
26096
  });
26119
26097
  }
26120
26098
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -26126,7 +26104,7 @@ function createHighLightTreeData(treeData, highLightLine) {
26126
26104
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
26127
26105
  data.forEach(function (node) {
26128
26106
  if (!node) return;
26129
- node.toggled = hasHighLightChildren(node, highLightLine);
26107
+ node.toggled = _hasHighLightChildren(node, highLightLine);
26130
26108
  node.active = isHightLight(node, highLightLine);
26131
26109
  if (node.children) {
26132
26110
  if (node.active) {
@@ -36469,4 +36447,4 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
36469
36447
  })));
36470
36448
  });
36471
36449
 
36472
- 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, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, 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 };
36450
+ 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, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, 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 };