@bit-sun/business-component 4.0.13-alpha.33 → 4.0.13-alpha.34

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
@@ -32,9 +32,88 @@ import { parse as parse$1 } from '@babel/parser';
32
32
  import { visit } from 'ast-types';
33
33
  import isArray$1 from 'lodash/isArray';
34
34
 
35
+ function _arrayLikeToArray(r, a) {
36
+ (null == a || a > r.length) && (a = r.length);
37
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
38
+ return n;
39
+ }
40
+ function _arrayWithHoles(r) {
41
+ if (Array.isArray(r)) return r;
42
+ }
43
+ function _arrayWithoutHoles(r) {
44
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
45
+ }
46
+ function _assertThisInitialized(e) {
47
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
48
+ return e;
49
+ }
50
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
51
+ try {
52
+ var i = n[a](c),
53
+ u = i.value;
54
+ } catch (n) {
55
+ return void e(n);
56
+ }
57
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
58
+ }
59
+ function _asyncToGenerator(n) {
60
+ return function () {
61
+ var t = this,
62
+ e = arguments;
63
+ return new Promise(function (r, o) {
64
+ var a = n.apply(t, e);
65
+ function _next(n) {
66
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
67
+ }
68
+ function _throw(n) {
69
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
70
+ }
71
+ _next(void 0);
72
+ });
73
+ };
74
+ }
35
75
  function _callSuper(t, o, e) {
36
76
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
37
77
  }
78
+ function _classCallCheck(a, n) {
79
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
80
+ }
81
+ function _defineProperties(e, r) {
82
+ for (var t = 0; t < r.length; t++) {
83
+ var o = r[t];
84
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
85
+ }
86
+ }
87
+ function _createClass(e, r, t) {
88
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
89
+ writable: !1
90
+ }), e;
91
+ }
92
+ function _defineProperty(e, r, t) {
93
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
94
+ value: t,
95
+ enumerable: !0,
96
+ configurable: !0,
97
+ writable: !0
98
+ }) : e[r] = t, e;
99
+ }
100
+ function _getPrototypeOf(t) {
101
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
102
+ return t.__proto__ || Object.getPrototypeOf(t);
103
+ }, _getPrototypeOf(t);
104
+ }
105
+ function _inherits(t, e) {
106
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
107
+ t.prototype = Object.create(e && e.prototype, {
108
+ constructor: {
109
+ value: t,
110
+ writable: !0,
111
+ configurable: !0
112
+ }
113
+ }), Object.defineProperty(t, "prototype", {
114
+ writable: !1
115
+ }), e && _setPrototypeOf(t, e);
116
+ }
38
117
  function _isNativeReflectConstruct() {
39
118
  try {
40
119
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
@@ -43,6 +122,9 @@ function _isNativeReflectConstruct() {
43
122
  return !!t;
44
123
  })();
45
124
  }
125
+ function _iterableToArray(r) {
126
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
127
+ }
46
128
  function _iterableToArrayLimit(r, l) {
47
129
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
48
130
  if (null != t) {
@@ -70,6 +152,15 @@ function _iterableToArrayLimit(r, l) {
70
152
  return a;
71
153
  }
72
154
  }
155
+ function _nonIterableRest() {
156
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
157
+ }
158
+ function _nonIterableSpread() {
159
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
160
+ }
161
+ function _objectDestructuringEmpty(t) {
162
+ if (null == t) throw new TypeError("Cannot destructure " + t);
163
+ }
73
164
  function ownKeys(e, r) {
74
165
  var t = Object.keys(e);
75
166
  if (Object.getOwnPropertySymbols) {
@@ -91,6 +182,31 @@ function _objectSpread2(e) {
91
182
  }
92
183
  return e;
93
184
  }
185
+ function _objectWithoutProperties(e, t) {
186
+ if (null == e) return {};
187
+ var o,
188
+ r,
189
+ i = _objectWithoutPropertiesLoose(e, t);
190
+ if (Object.getOwnPropertySymbols) {
191
+ var n = Object.getOwnPropertySymbols(e);
192
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
193
+ }
194
+ return i;
195
+ }
196
+ function _objectWithoutPropertiesLoose(r, e) {
197
+ if (null == r) return {};
198
+ var t = {};
199
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
200
+ if (-1 !== e.indexOf(n)) continue;
201
+ t[n] = r[n];
202
+ }
203
+ return t;
204
+ }
205
+ function _possibleConstructorReturn(t, e) {
206
+ if (e && ("object" == typeof e || "function" == typeof e)) return e;
207
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
208
+ return _assertThisInitialized(t);
209
+ }
94
210
  function _regeneratorRuntime() {
95
211
  _regeneratorRuntime = function () {
96
212
  return e;
@@ -392,6 +508,20 @@ function _regeneratorRuntime() {
392
508
  }
393
509
  }, e;
394
510
  }
511
+ function _setPrototypeOf(t, e) {
512
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
513
+ return t.__proto__ = e, t;
514
+ }, _setPrototypeOf(t, e);
515
+ }
516
+ function _slicedToArray(r, e) {
517
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
518
+ }
519
+ function _toArray(r) {
520
+ return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
521
+ }
522
+ function _toConsumableArray(r) {
523
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
524
+ }
395
525
  function _toPrimitive(t, r) {
396
526
  if ("object" != typeof t || !t) return t;
397
527
  var e = t[Symbol.toPrimitive];
@@ -415,180 +545,12 @@ function _typeof(o) {
415
545
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
416
546
  }, _typeof(o);
417
547
  }
418
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
419
- try {
420
- var info = gen[key](arg);
421
- var value = info.value;
422
- } catch (error) {
423
- reject(error);
424
- return;
425
- }
426
- if (info.done) {
427
- resolve(value);
428
- } else {
429
- Promise.resolve(value).then(_next, _throw);
430
- }
431
- }
432
- function _asyncToGenerator(fn) {
433
- return function () {
434
- var self = this,
435
- args = arguments;
436
- return new Promise(function (resolve, reject) {
437
- var gen = fn.apply(self, args);
438
- function _next(value) {
439
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
440
- }
441
- function _throw(err) {
442
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
443
- }
444
- _next(undefined);
445
- });
446
- };
447
- }
448
- function _classCallCheck(instance, Constructor) {
449
- if (!(instance instanceof Constructor)) {
450
- throw new TypeError("Cannot call a class as a function");
451
- }
452
- }
453
- function _defineProperties(target, props) {
454
- for (var i = 0; i < props.length; i++) {
455
- var descriptor = props[i];
456
- descriptor.enumerable = descriptor.enumerable || false;
457
- descriptor.configurable = true;
458
- if ("value" in descriptor) descriptor.writable = true;
459
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
460
- }
461
- }
462
- function _createClass(Constructor, protoProps, staticProps) {
463
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
464
- if (staticProps) _defineProperties(Constructor, staticProps);
465
- Object.defineProperty(Constructor, "prototype", {
466
- writable: false
467
- });
468
- return Constructor;
469
- }
470
- function _defineProperty(obj, key, value) {
471
- key = _toPropertyKey(key);
472
- if (key in obj) {
473
- Object.defineProperty(obj, key, {
474
- value: value,
475
- enumerable: true,
476
- configurable: true,
477
- writable: true
478
- });
479
- } else {
480
- obj[key] = value;
481
- }
482
- return obj;
483
- }
484
- function _inherits(subClass, superClass) {
485
- if (typeof superClass !== "function" && superClass !== null) {
486
- throw new TypeError("Super expression must either be null or a function");
487
- }
488
- subClass.prototype = Object.create(superClass && superClass.prototype, {
489
- constructor: {
490
- value: subClass,
491
- writable: true,
492
- configurable: true
493
- }
494
- });
495
- Object.defineProperty(subClass, "prototype", {
496
- writable: false
497
- });
498
- if (superClass) _setPrototypeOf(subClass, superClass);
499
- }
500
- function _getPrototypeOf(o) {
501
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
502
- return o.__proto__ || Object.getPrototypeOf(o);
503
- };
504
- return _getPrototypeOf(o);
505
- }
506
- function _setPrototypeOf(o, p) {
507
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
508
- o.__proto__ = p;
509
- return o;
510
- };
511
- return _setPrototypeOf(o, p);
512
- }
513
- function _objectDestructuringEmpty(obj) {
514
- if (obj == null) throw new TypeError("Cannot destructure " + obj);
515
- }
516
- function _objectWithoutPropertiesLoose(source, excluded) {
517
- if (source == null) return {};
518
- var target = {};
519
- for (var key in source) {
520
- if (Object.prototype.hasOwnProperty.call(source, key)) {
521
- if (excluded.indexOf(key) >= 0) continue;
522
- target[key] = source[key];
523
- }
548
+ function _unsupportedIterableToArray(r, a) {
549
+ if (r) {
550
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
551
+ var t = {}.toString.call(r).slice(8, -1);
552
+ 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;
524
553
  }
525
- return target;
526
- }
527
- function _objectWithoutProperties(source, excluded) {
528
- if (source == null) return {};
529
- var target = _objectWithoutPropertiesLoose(source, excluded);
530
- var key, i;
531
- if (Object.getOwnPropertySymbols) {
532
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
533
- for (i = 0; i < sourceSymbolKeys.length; i++) {
534
- key = sourceSymbolKeys[i];
535
- if (excluded.indexOf(key) >= 0) continue;
536
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
537
- target[key] = source[key];
538
- }
539
- }
540
- return target;
541
- }
542
- function _assertThisInitialized(self) {
543
- if (self === void 0) {
544
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
545
- }
546
- return self;
547
- }
548
- function _possibleConstructorReturn(self, call) {
549
- if (call && (typeof call === "object" || typeof call === "function")) {
550
- return call;
551
- } else if (call !== void 0) {
552
- throw new TypeError("Derived constructors may only return object or undefined");
553
- }
554
- return _assertThisInitialized(self);
555
- }
556
- function _slicedToArray(arr, i) {
557
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
558
- }
559
- function _toArray(arr) {
560
- return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
561
- }
562
- function _toConsumableArray(arr) {
563
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
564
- }
565
- function _arrayWithoutHoles(arr) {
566
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
567
- }
568
- function _arrayWithHoles(arr) {
569
- if (Array.isArray(arr)) return arr;
570
- }
571
- function _iterableToArray(iter) {
572
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
573
- }
574
- function _unsupportedIterableToArray(o, minLen) {
575
- if (!o) return;
576
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
577
- var n = Object.prototype.toString.call(o).slice(8, -1);
578
- if (n === "Object" && o.constructor) n = o.constructor.name;
579
- if (n === "Map" || n === "Set") return Array.from(o);
580
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
581
- }
582
- function _arrayLikeToArray(arr, len) {
583
- if (len == null || len > arr.length) len = arr.length;
584
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
585
- return arr2;
586
- }
587
- function _nonIterableSpread() {
588
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
589
- }
590
- function _nonIterableRest() {
591
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
592
554
  }
593
555
 
594
556
  var ENUM = {
@@ -1098,13 +1060,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
1098
1060
  imgHtml.innerHTML = str;
1099
1061
  }
1100
1062
  // 测试使用 测试类型缩小 end
1101
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1063
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1102
1064
  className: "clomnsImg"
1103
1065
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1104
1066
  src: url,
1105
1067
  width: "16px",
1106
1068
  height: "16px"
1107
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("div", {
1069
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
1108
1070
  className: "clomnsImg2"
1109
1071
  }, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1110
1072
  src: noImg
@@ -1241,7 +1203,7 @@ function downloadExcel(data, fileName, isResUrl) {
1241
1203
  }
1242
1204
  save_link.click();
1243
1205
  }
1244
- var formatter = function formatter(data, parentAuthority, parentName) {
1206
+ var _formatter = function formatter(data, parentAuthority, parentName) {
1245
1207
  return data.map(function (item) {
1246
1208
  if (!item.name || !item.path) {
1247
1209
  return null;
@@ -1261,7 +1223,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1261
1223
  authority: item.authority || parentAuthority
1262
1224
  });
1263
1225
  if (item.routes) {
1264
- var children = formatter(item.routes, item.authority, locale);
1226
+ var children = _formatter(item.routes, item.authority, locale);
1265
1227
  // Reduce memory usage
1266
1228
  result.children = children;
1267
1229
  }
@@ -1271,7 +1233,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1271
1233
  return item;
1272
1234
  });
1273
1235
  };
1274
- var memoizeOneFormatter = memoizeOne(formatter, isEqual);
1236
+ var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
1275
1237
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1276
1238
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1277
1239
  if (backHistoryPath) {
@@ -1580,7 +1542,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1580
1542
  // sheepMap是表头字段中英文映射
1581
1543
  // sheetCount:表的数量,默认一张
1582
1544
  var resolveFile = /*#__PURE__*/function () {
1583
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1545
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1584
1546
  var config,
1585
1547
  data,
1586
1548
  _args = arguments;
@@ -1619,7 +1581,7 @@ var resolveFile = /*#__PURE__*/function () {
1619
1581
  }();
1620
1582
  //读取文件
1621
1583
  var readerXlsxToList = /*#__PURE__*/function () {
1622
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1584
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1623
1585
  var _ref5, callback, sheetMap, nowFile, data2, data;
1624
1586
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1625
1587
  while (1) switch (_context2.prev = _context2.next) {
@@ -1712,14 +1674,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
1712
1674
  /**---------------------数据写入excel-------结束------------------------*/
1713
1675
 
1714
1676
  // 获取树平行结构
1715
- var coverToParallel = function coverToParallel(treeData, result, chilKey) {
1677
+ var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
1716
1678
  var childrenKey = chilKey || 'children';
1717
1679
  treeData.forEach(function (el) {
1718
1680
  var _el$childrenKey;
1719
1681
  result.push(el);
1720
1682
  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) {
1721
1683
  // 子级递归
1722
- coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1684
+ _coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1723
1685
  }
1724
1686
  });
1725
1687
  return result;
@@ -1996,13 +1958,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
1996
1958
  imgHtml.innerHTML = str;
1997
1959
  }
1998
1960
  // 测试使用 测试类型缩小 end
1999
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1961
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
2000
1962
  className: "clomnsImg"
2001
1963
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
2002
1964
  src: url,
2003
1965
  width: "16px",
2004
1966
  height: "16px"
2005
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1967
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
2006
1968
  src: noImg
2007
1969
  }))));
2008
1970
  };
@@ -2064,7 +2026,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2064
2026
  }
2065
2027
  });
2066
2028
  };
2067
- var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && ( /*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2029
+ var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2068
2030
  disabled: disabled,
2069
2031
  onChange: function onChange(e) {
2070
2032
  var v = e.target.value;
@@ -2074,7 +2036,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2074
2036
  width: 170
2075
2037
  },
2076
2038
  value: inputValue
2077
- }, inpProps))), type === 'number' && ( /*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2039
+ }, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2078
2040
  disabled: disabled,
2079
2041
  onBlur: function onBlur(e) {
2080
2042
  var v = parseFloat(e.target.value);
@@ -2453,16 +2415,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2453
2415
  var handleExportBarCode = handleExport;
2454
2416
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2455
2417
  var routerMap = {};
2456
- var flattenMenuData = function flattenMenuData(data) {
2418
+ var _flattenMenuData = function flattenMenuData(data) {
2457
2419
  data.forEach(function (menuItem) {
2458
2420
  if (menuItem.children) {
2459
- flattenMenuData(menuItem.children);
2421
+ _flattenMenuData(menuItem.children);
2460
2422
  }
2461
2423
  // Reduce memory usage
2462
2424
  routerMap[menuItem.path] = menuItem;
2463
2425
  });
2464
2426
  };
2465
- flattenMenuData(menuData);
2427
+ _flattenMenuData(menuData);
2466
2428
  return routerMap;
2467
2429
  };
2468
2430
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -2605,7 +2567,7 @@ var requestUtil = function requestUtil(_ref) {
2605
2567
  return request$1(url, parms).then(handleResponseData);
2606
2568
  };
2607
2569
  var handleResponseData = /*#__PURE__*/function () {
2608
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2570
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2609
2571
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2610
2572
  while (1) switch (_context.prev = _context.next) {
2611
2573
  case 0:
@@ -3284,7 +3246,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3284
3246
  style: {
3285
3247
  color: 'red'
3286
3248
  }
3287
- }, "\uFF08\u9F20\u6807\u79FB\u5165\u611F\u53F9\u53F7\u56FE\u6807\u67E5\u770B\u5BFC\u5165\u4F7F\u7528\u8BF4\u660E\uFF09")), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, getTemplate && ( /*#__PURE__*/React$1.createElement(Button, {
3249
+ }, "\uFF08\u9F20\u6807\u79FB\u5165\u611F\u53F9\u53F7\u56FE\u6807\u67E5\u770B\u5BFC\u5165\u4F7F\u7528\u8BF4\u660E\uFF09")), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, getTemplate && (/*#__PURE__*/React$1.createElement(Button, {
3288
3250
  onClick: getTemplate
3289
3251
  }, "\u4E0B\u8F7D\u6A21\u677F")), /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165")))), /*#__PURE__*/React$1.createElement(Dropdown, {
3290
3252
  trigger: ['click'],
@@ -3961,7 +3923,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
3961
3923
  placement: "bottomLeft"
3962
3924
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3963
3925
  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"))
3964
- }, /*#__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, {
3926
+ }, /*#__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, {
3965
3927
  trigger: ['click'],
3966
3928
  overlay: this.menuList,
3967
3929
  placement: "bottomRight"
@@ -4267,13 +4229,16 @@ var handleParams = function handleParams(params) {
4267
4229
  });
4268
4230
  delete params[key];
4269
4231
  } else if (element && key.indexOf('*multiInput') >= 0) {
4232
+ var _ref3, _ref3$trim, _key$split, _value, _value$trim;
4270
4233
  var name = '',
4271
- value = element['value'];
4234
+ value = (_ref3 = (element === null || element === void 0 ? void 0 : element['value']) || element) === null || _ref3 === void 0 ? void 0 : (_ref3$trim = _ref3.trim) === null || _ref3$trim === void 0 ? void 0 : _ref3$trim.call(_ref3);
4235
+ var searchKey = (element === null || element === void 0 ? void 0 : element['name']) || (key === null || key === void 0 ? void 0 : (_key$split = key.split('*multiInput')) === null || _key$split === void 0 ? void 0 : _key$split[0]);
4272
4236
  if (value.indexOf(',') >= 0) {
4273
- name = "qp-".concat(element['name'], "-in");
4237
+ name = "qp-".concat(searchKey, "-in");
4274
4238
  } else {
4275
- name = "qp-".concat(element['name'], "-like");
4239
+ name = "qp-".concat(searchKey, "-like");
4276
4240
  }
4241
+ value = (_value = value) === null || _value === void 0 ? void 0 : (_value$trim = _value.trim) === null || _value$trim === void 0 ? void 0 : _value$trim.call(_value);
4277
4242
  params[name] = value;
4278
4243
  delete params[key];
4279
4244
  } else if (element && key.indexOf('*') >= 0) {
@@ -4462,11 +4427,11 @@ var LightHeightOption = function LightHeightOption(props) {
4462
4427
  title: text
4463
4428
  }, renderContent);
4464
4429
  };
4465
- var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
4466
- var selectProps = _ref3.selectProps,
4467
- onChange = _ref3.onChange,
4468
- value = _ref3.value,
4469
- setIsMaxTagsOpen = _ref3.setIsMaxTagsOpen;
4430
+ var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref4) {
4431
+ var selectProps = _ref4.selectProps,
4432
+ onChange = _ref4.onChange,
4433
+ value = _ref4.value,
4434
+ setIsMaxTagsOpen = _ref4.setIsMaxTagsOpen;
4470
4435
  var labelInValue = selectProps.labelInValue;
4471
4436
  var _onClose = function onClose(e, item) {
4472
4437
  e.preventDefault();
@@ -4482,7 +4447,7 @@ var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
4482
4447
  destroyTooltipOnHide: true,
4483
4448
  placement: "topRight",
4484
4449
  autoAdjustOverflow: false,
4485
- title: ( /*#__PURE__*/React$1.createElement("div", {
4450
+ title: (/*#__PURE__*/React$1.createElement("div", {
4486
4451
  style: {
4487
4452
  margin: '6px 8px 0px'
4488
4453
  },
@@ -4520,11 +4485,11 @@ var handleTableColumns = function handleTableColumns(tableColumns) {
4520
4485
  };
4521
4486
  // ------------------------------------------ 数据源展示 相关处理--结束----------------------------------------
4522
4487
  // ------------------------------------------ 选中数据展示 相关处理--开始----------------------------------------
4523
- var getShowLabelTextStr = function getShowLabelTextStr(_ref4) {
4524
- var kongValue = _ref4.kongValue,
4525
- selectMode = _ref4.selectMode,
4526
- value = _ref4.value,
4527
- items = _ref4.items;
4488
+ var getShowLabelTextStr = function getShowLabelTextStr(_ref5) {
4489
+ var kongValue = _ref5.kongValue,
4490
+ selectMode = _ref5.selectMode,
4491
+ value = _ref5.value,
4492
+ items = _ref5.items;
4528
4493
  if (selectMode) {
4529
4494
  var _value$map;
4530
4495
  return Array.isArray(value) && (value === null || value === void 0 ? void 0 : (_value$map = value.map(function (item) {
@@ -4539,11 +4504,11 @@ var getSelectValueText = function getSelectValueText(v, items) {
4539
4504
  return item.value === v;
4540
4505
  })) === null || _filter === void 0 ? void 0 : (_filter$ = _filter[0]) === null || _filter$ === void 0 ? void 0 : _filter$.text) || v || '';
4541
4506
  };
4542
- var getShowValueStr = function getShowValueStr(_ref5) {
4543
- var kongValue = _ref5.kongValue,
4544
- selectMode = _ref5.selectMode,
4545
- value = _ref5.value,
4546
- items = _ref5.items;
4507
+ var getShowValueStr = function getShowValueStr(_ref6) {
4508
+ var kongValue = _ref6.kongValue,
4509
+ selectMode = _ref6.selectMode,
4510
+ value = _ref6.value,
4511
+ items = _ref6.items;
4547
4512
  if (selectMode) {
4548
4513
  var _value$map2;
4549
4514
  return Array.isArray(value) && (value === null || value === void 0 ? void 0 : (_value$map2 = value.map(function (item) {
@@ -4552,12 +4517,12 @@ var getShowValueStr = function getShowValueStr(_ref5) {
4552
4517
  }
4553
4518
  return getSelectValueText(value, items) || kongValue;
4554
4519
  };
4555
- var getShowStr = function getShowStr(_ref6) {
4556
- var viewShowValueStr = _ref6.viewShowValueStr,
4557
- labelInValue = _ref6.labelInValue,
4558
- selectMode = _ref6.selectMode,
4559
- value = _ref6.value,
4560
- items = _ref6.items;
4520
+ var getShowStr = function getShowStr(_ref7) {
4521
+ var viewShowValueStr = _ref7.viewShowValueStr,
4522
+ labelInValue = _ref7.labelInValue,
4523
+ selectMode = _ref7.selectMode,
4524
+ value = _ref7.value,
4525
+ items = _ref7.items;
4561
4526
  // 优先使用业务使用传入的展示
4562
4527
  if (viewShowValueStr) return viewShowValueStr;
4563
4528
  var kongValue = '无';
@@ -4784,10 +4749,10 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4784
4749
  setIsMaxTagsOpen: function setIsMaxTagsOpen() {}
4785
4750
  });
4786
4751
  },
4787
- notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
4752
+ notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
4788
4753
  size: "small",
4789
4754
  className: 'searchSelectSpin'
4790
- })) : ( /*#__PURE__*/React$1.createElement("div", {
4755
+ })) : (/*#__PURE__*/React$1.createElement("div", {
4791
4756
  style: {
4792
4757
  textAlign: 'center'
4793
4758
  }
@@ -5019,7 +4984,7 @@ var PropertyGroup = function PropertyGroup(props) {
5019
4984
  title: item.name,
5020
4985
  className: "propertyGroup_checkbox_container"
5021
4986
  }, item.name));
5022
- }), !!notCommonUseProperty.length && ( /*#__PURE__*/React$1.createElement("div", {
4987
+ }), !!notCommonUseProperty.length && (/*#__PURE__*/React$1.createElement("div", {
5023
4988
  style: {
5024
4989
  width: '50px',
5025
4990
  cursor: 'pointer',
@@ -5032,7 +4997,7 @@ var PropertyGroup = function PropertyGroup(props) {
5032
4997
  setShowNotCommon(!showNotCommon);
5033
4998
  handleIndeterminate(commonUseProperty, notCommonUseProperty);
5034
4999
  }
5035
- }, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
5000
+ }, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
5036
5001
  };
5037
5002
  var PropertyGroup$1 = /*#__PURE__*/React$1.memo(PropertyGroup, function (props, nextProps) {
5038
5003
  if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
@@ -5262,7 +5227,7 @@ var PropertySelector = function PropertySelector(_ref) {
5262
5227
  propertyData: item,
5263
5228
  handleProperyItemChange: handleProperyItemChange
5264
5229
  });
5265
- }))), !!notCommonProperty.length && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5230
+ }))), !!notCommonProperty.length && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5266
5231
  style: {
5267
5232
  width: '50px',
5268
5233
  cursor: 'pointer',
@@ -5272,7 +5237,7 @@ var PropertySelector = function PropertySelector(_ref) {
5272
5237
  onClick: function onClick() {
5273
5238
  return setShowNotCommon(!showNotCommon);
5274
5239
  }
5275
- }, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
5240
+ }, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
5276
5241
  };
5277
5242
 
5278
5243
  var _excluded$4 = ["onChange", "value", "propertyCode", "name"];
@@ -6390,13 +6355,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6390
6355
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
6391
6356
  return /*#__PURE__*/React$1.createElement("div", {
6392
6357
  className: 'search_select'
6393
- }, fieldComponent ? ( /*#__PURE__*/React$1.createElement("div", {
6358
+ }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
6394
6359
  onClick: function onClick() {
6395
6360
  var _fieldComponent$props, _fieldComponent$props2;
6396
6361
  (_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);
6397
6362
  showModal();
6398
6363
  }
6399
- }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
6364
+ }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
6400
6365
  title: getShowStr({
6401
6366
  viewShowValueStr: viewShowValueStr,
6402
6367
  labelInValue: labelInValue,
@@ -6435,10 +6400,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6435
6400
  dropdownRender: function dropdownRender(menu) {
6436
6401
  return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
6437
6402
  },
6438
- notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
6403
+ notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
6439
6404
  size: "small",
6440
6405
  className: 'searchSelectSpin'
6441
- })) : ( /*#__PURE__*/React$1.createElement("div", {
6406
+ })) : (/*#__PURE__*/React$1.createElement("div", {
6442
6407
  style: {
6443
6408
  textAlign: 'center'
6444
6409
  }
@@ -6478,7 +6443,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6478
6443
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
6479
6444
  filterTxt: searchValue
6480
6445
  }));
6481
- }))), needModalTable && isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6446
+ }))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6482
6447
  maskClosable: false,
6483
6448
  destroyOnClose: true,
6484
6449
  width: "calc(100% - 320px)",
@@ -7077,7 +7042,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
7077
7042
  style: {
7078
7043
  width: 525
7079
7044
  }
7080
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
7045
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
7081
7046
  checked: !dataSource.some(function (item) {
7082
7047
  if (item.hidden) return true;
7083
7048
  return false;
@@ -7115,13 +7080,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
7115
7080
  _this2.onChange(e, item.title);
7116
7081
  }
7117
7082
  }, item.title);
7118
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
7083
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
7119
7084
  style: {
7120
7085
  width: '144px'
7121
7086
  }
7122
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
7087
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
7123
7088
  className: 'sort_table_column_all_empty'
7124
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
7089
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
7125
7090
  className: 'sort_table_column_special'
7126
7091
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
7127
7092
  className: 'sort_table_column_all'
@@ -7310,7 +7275,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
7310
7275
  });
7311
7276
  };
7312
7277
  // 格式化树选择器数据源
7313
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7278
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7314
7279
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
7315
7280
  return {
7316
7281
  title: treeDataItem[resKeyValue[1]],
@@ -7320,7 +7285,7 @@ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7320
7285
  isLeaf: !haveChildren,
7321
7286
  disabled: haveChildren,
7322
7287
  children: haveChildren ? treeDataItem.children.map(function (i) {
7323
- return mapSearchTree(i, resKeyValue);
7288
+ return _mapSearchTree(i, resKeyValue);
7324
7289
  }) : []
7325
7290
  };
7326
7291
  };
@@ -7329,7 +7294,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
7329
7294
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
7330
7295
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
7331
7296
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
7332
- return mapSearchTree(ites, resKeyValue);
7297
+ return _mapSearchTree(ites, resKeyValue);
7333
7298
  }) || [];
7334
7299
  changeSearchForm[changePosition].field.props.treeData = formatData;
7335
7300
  };
@@ -7501,7 +7466,7 @@ var AddSelect = function AddSelect(props) {
7501
7466
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
7502
7467
  // FIXME: 特殊业务逻辑
7503
7468
  var checkSelectChange = /*#__PURE__*/function () {
7504
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7469
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7505
7470
  var result;
7506
7471
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7507
7472
  while (1) switch (_context.prev = _context.next) {
@@ -7754,7 +7719,7 @@ var AddSelect = function AddSelect(props) {
7754
7719
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
7755
7720
  value: text || null,
7756
7721
  onChange: function () {
7757
- var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7722
+ var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7758
7723
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
7759
7724
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
7760
7725
  while (1) switch (_context2.prev = _context2.next) {
@@ -8362,10 +8327,10 @@ var AddSelect = function AddSelect(props) {
8362
8327
  var newColumns = arr.map(function (col) {
8363
8328
  return _objectSpread2({}, col);
8364
8329
  });
8365
- var handleIndex = function handleIndex(arr, indexArr) {
8330
+ var _handleIndex = function handleIndex(arr, indexArr) {
8366
8331
  var i = indexArr.shift();
8367
8332
  if (indexArr.length > 0) {
8368
- handleIndex(arr[i].children, indexArr);
8333
+ _handleIndex(arr[i].children, indexArr);
8369
8334
  } else {
8370
8335
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8371
8336
  width: size.width
@@ -8373,7 +8338,7 @@ var AddSelect = function AddSelect(props) {
8373
8338
  handleAntdColumnsSpecialParams(arr[i]);
8374
8339
  }
8375
8340
  };
8376
- handleIndex(newColumns, _toConsumableArray(index));
8341
+ _handleIndex(newColumns, _toConsumableArray(index));
8377
8342
  callback(newColumns);
8378
8343
  };
8379
8344
  };
@@ -8383,13 +8348,13 @@ var AddSelect = function AddSelect(props) {
8383
8348
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
8384
8349
  setShowToChooseColumns(_toConsumableArray(newColumns));
8385
8350
  };
8386
- var handleColumns = function handleColumns(arr, indexArr, callback) {
8351
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
8387
8352
  arr.forEach(function (item, index) {
8388
8353
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8389
8354
  return i || i === 0;
8390
8355
  });
8391
8356
  if (noEmptyArray$1(item.children)) {
8392
- handleColumns(item.children, indexArrInside);
8357
+ _handleColumns(item.children, indexArrInside);
8393
8358
  } else {
8394
8359
  item.width = item.width || getItemDefaultWidth$2(item);
8395
8360
  item.onHeaderCell = function (column) {
@@ -8405,14 +8370,14 @@ var AddSelect = function AddSelect(props) {
8405
8370
  handleAntdColumnsSpecialParams(item);
8406
8371
  return _objectSpread2({}, item);
8407
8372
  });
8408
- handleColumns(showToChooseCol, [], function (res) {
8373
+ _handleColumns(showToChooseCol, [], function (res) {
8409
8374
  return setShowToChooseColumnsCallback(res);
8410
8375
  });
8411
8376
  var showSelectedCol = showColumns.map(function (item) {
8412
8377
  handleAntdColumnsSpecialParams(item);
8413
8378
  return _objectSpread2({}, item);
8414
8379
  });
8415
- handleColumns(showSelectedCol, [], function (res) {
8380
+ _handleColumns(showSelectedCol, [], function (res) {
8416
8381
  return setShowColumnsCallback(res);
8417
8382
  });
8418
8383
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -8423,7 +8388,7 @@ var AddSelect = function AddSelect(props) {
8423
8388
  id: "add_select_div_".concat(uniqueValue)
8424
8389
  }, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
8425
8390
  onClick: handleShowModal
8426
- }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, {
8391
+ }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
8427
8392
  width: "calc(100% - 320px)",
8428
8393
  style: {
8429
8394
  top: 20
@@ -9337,7 +9302,7 @@ var BillEntry = function BillEntry(_ref3) {
9337
9302
  });
9338
9303
  };
9339
9304
  var handleSubmit = /*#__PURE__*/function () {
9340
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9305
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9341
9306
  var canEntryObject, _canEntryObject$error, messageInfo;
9342
9307
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9343
9308
  while (1) switch (_context.prev = _context.next) {
@@ -9420,10 +9385,10 @@ var BillEntry = function BillEntry(_ref3) {
9420
9385
  var newColumns = arr.map(function (col) {
9421
9386
  return _objectSpread2({}, col);
9422
9387
  });
9423
- var handleIndex = function handleIndex(arr, indexArr) {
9388
+ var _handleIndex = function handleIndex(arr, indexArr) {
9424
9389
  var i = indexArr.shift();
9425
9390
  if (indexArr.length > 0) {
9426
- handleIndex(arr[i].children, indexArr);
9391
+ _handleIndex(arr[i].children, indexArr);
9427
9392
  } else {
9428
9393
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
9429
9394
  width: size.width
@@ -9431,17 +9396,17 @@ var BillEntry = function BillEntry(_ref3) {
9431
9396
  handleAntdColumnsSpecialParams(arr[i]);
9432
9397
  }
9433
9398
  };
9434
- handleIndex(newColumns, _toConsumableArray(index));
9399
+ _handleIndex(newColumns, _toConsumableArray(index));
9435
9400
  callback(newColumns);
9436
9401
  };
9437
9402
  };
9438
- var handleColumns = function handleColumns(arr, indexArr, callback) {
9403
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
9439
9404
  arr.forEach(function (item, index) {
9440
9405
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
9441
9406
  return i || i === 0;
9442
9407
  });
9443
9408
  if (noEmptyArray$1(item.children)) {
9444
- handleColumns(item.children, indexArrInside);
9409
+ _handleColumns(item.children, indexArrInside);
9445
9410
  } else {
9446
9411
  item.width = item.width || getItemDefaultWidth$2(item);
9447
9412
  item.onHeaderCell = function (column) {
@@ -9457,7 +9422,7 @@ var BillEntry = function BillEntry(_ref3) {
9457
9422
  handleAntdColumnsSpecialParams(item);
9458
9423
  return _objectSpread2({}, item);
9459
9424
  });
9460
- handleColumns(showSelectedCol, [], function (res) {
9425
+ _handleColumns(showSelectedCol, [], function (res) {
9461
9426
  return setShowColumnsCallback(res);
9462
9427
  });
9463
9428
  return /*#__PURE__*/React$1.createElement("div", {
@@ -9773,7 +9738,7 @@ function commonFun(type, prefixUrl, parentProps) {
9773
9738
  });
9774
9739
  };
9775
9740
  // 格式化树选择器数据源
9776
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9741
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9777
9742
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
9778
9743
  return {
9779
9744
  title: treeDataItem[resKeyValue[1]],
@@ -9783,7 +9748,7 @@ function commonFun(type, prefixUrl, parentProps) {
9783
9748
  isLeaf: !haveChildren,
9784
9749
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
9785
9750
  children: haveChildren ? treeDataItem.children.map(function (i) {
9786
- return mapSearchTree(i, resKeyValue, disabledJudge);
9751
+ return _mapSearchTree(i, resKeyValue, disabledJudge);
9787
9752
  }) : []
9788
9753
  };
9789
9754
  };
@@ -9797,7 +9762,7 @@ function commonFun(type, prefixUrl, parentProps) {
9797
9762
  disabledJudge = false;
9798
9763
  }
9799
9764
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
9800
- return mapSearchTree(ites, resKeyValue, disabledJudge);
9765
+ return _mapSearchTree(ites, resKeyValue, disabledJudge);
9801
9766
  }) || [];
9802
9767
  changeSearchForm[changePosition].field.props.treeData = formatData;
9803
9768
  };
@@ -10801,11 +10766,13 @@ function commonFun(type, prefixUrl, parentProps) {
10801
10766
  sourceName: 'warehouseIds'
10802
10767
  }, requestConfigProp);
10803
10768
  tableSearchForm = [{
10804
- name: 'qp-physicalWarehouseName-like',
10805
- label: '物理仓名称'
10769
+ name: 'physicalWarehouseName*multiInput',
10770
+ label: '物理仓名称',
10771
+ type: 'multipleQueryInput'
10806
10772
  }, {
10807
- name: 'qp-physicalWarehouseCode-like',
10808
- label: '物理仓编码'
10773
+ name: 'physicalWarehouseCode*multiInput',
10774
+ label: '物理仓编码',
10775
+ type: 'multipleQueryInput'
10809
10776
  }, {
10810
10777
  name: 'qp-physicalWarehouseType-eq',
10811
10778
  type: 'select',
@@ -10904,11 +10871,13 @@ function commonFun(type, prefixUrl, parentProps) {
10904
10871
  sourceName: 'warehouseIds'
10905
10872
  }, requestConfigProp);
10906
10873
  tableSearchForm = [{
10907
- name: 'qp-realWarehouseName-like',
10908
- label: '逻辑仓名称'
10874
+ name: 'realWarehouseName*multiInput',
10875
+ label: '逻辑仓名称',
10876
+ type: 'multipleQueryInput'
10909
10877
  }, {
10910
- name: 'qp-realWarehouseCode-like',
10911
- label: '逻辑仓编码'
10878
+ name: 'realWarehouseCode*multiInput',
10879
+ label: '逻辑仓编码',
10880
+ type: 'multipleQueryInput'
10912
10881
  }, {
10913
10882
  name: 'qp-realWarehouseType-eq',
10914
10883
  type: 'select',
@@ -10989,11 +10958,13 @@ function commonFun(type, prefixUrl, parentProps) {
10989
10958
  sourceName: 'qp-operationWarehouseCode-in'
10990
10959
  }, requestConfigProp);
10991
10960
  tableSearchForm = [{
10992
- name: 'qp-name-like',
10993
- label: '运营仓名称'
10961
+ name: 'name*multiInput',
10962
+ label: '运营仓名称',
10963
+ type: 'multipleQueryInput'
10994
10964
  }, {
10995
- name: 'qp-operationWarehouseCode-like',
10996
- label: '运营仓编码'
10965
+ name: 'operationWarehouseCode*multiInput',
10966
+ label: '运营仓编码',
10967
+ type: 'multipleQueryInput'
10997
10968
  }, {
10998
10969
  name: 'qp-groupCode-in',
10999
10970
  type: 'select',
@@ -11574,11 +11545,11 @@ function commonFun(type, prefixUrl, parentProps) {
11574
11545
  sourceName: 'code'
11575
11546
  }, requestConfigProp);
11576
11547
  tableSearchForm = [{
11577
- name: 'qp-name-in',
11548
+ name: 'name*multiInput',
11578
11549
  label: '商店名称',
11579
11550
  type: 'multipleQueryInput'
11580
11551
  }, {
11581
- name: 'qp-code-in',
11552
+ name: 'code*multiInput',
11582
11553
  label: '商店编码',
11583
11554
  type: 'multipleQueryInput'
11584
11555
  }, {
@@ -14112,7 +14083,7 @@ var CommodityEntry = function CommodityEntry(props) {
14112
14083
  };
14113
14084
  return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
14114
14085
  onClick: handleShowModal
14115
- }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
14086
+ }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
14116
14087
  onOk: handleOk,
14117
14088
  onCancel: handleCancel,
14118
14089
  destroyOnClose: true,
@@ -14231,7 +14202,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14231
14202
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
14232
14203
  _remoteSource$special = remoteSource.specialBracket,
14233
14204
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
14234
- var mapSearchTree = function mapSearchTree(treeDataItem) {
14205
+ var _mapSearchTree = function mapSearchTree(treeDataItem) {
14235
14206
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
14236
14207
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
14237
14208
  return {
@@ -14243,7 +14214,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14243
14214
  isLeaf: !haveChildren,
14244
14215
  disabled: isDisabled(haveChildren, isRoot),
14245
14216
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
14246
- return mapSearchTree(i);
14217
+ return _mapSearchTree(i);
14247
14218
  }) : []
14248
14219
  };
14249
14220
  };
@@ -14261,8 +14232,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14261
14232
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
14262
14233
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
14263
14234
  headers: headers
14264
- }).then( /*#__PURE__*/function () {
14265
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
14235
+ }).then(/*#__PURE__*/function () {
14236
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
14266
14237
  var _ctx$form;
14267
14238
  var resData, coverData, data, dataList;
14268
14239
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -14289,7 +14260,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14289
14260
  case 9:
14290
14261
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
14291
14262
  coverData = dataList.length && dataList.map(function (ites) {
14292
- return mapSearchTree(ites);
14263
+ return _mapSearchTree(ites);
14293
14264
  }) || [];
14294
14265
  case 11:
14295
14266
  _context.next = 14;
@@ -14327,11 +14298,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14327
14298
  return _formatResult;
14328
14299
  }
14329
14300
  };
14330
- var parallelData = function parallelData(data, result) {
14301
+ var _parallelData = function parallelData(data, result) {
14331
14302
  data.forEach(function (i) {
14332
14303
  result.push(i);
14333
14304
  if (i[treeChildrenRoom]) {
14334
- parallelData(i[treeChildrenRoom], result);
14305
+ _parallelData(i[treeChildrenRoom], result);
14335
14306
  }
14336
14307
  });
14337
14308
  return result;
@@ -14371,7 +14342,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14371
14342
  var _ctx$form2;
14372
14343
  var handleData = formatData(data);
14373
14344
  // 获取选中树节点当条数据,并返回给调用业务
14374
- var parallelTreeData = parallelData(treeData, []);
14345
+ var parallelTreeData = _parallelData(treeData, []);
14375
14346
  var currentItem = getSelectItem(parallelTreeData, data);
14376
14347
  onChange(handleData, data, currentItem, parallelTreeData);
14377
14348
  onChangeName && onChangeName(dataName);
@@ -14414,7 +14385,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14414
14385
  var getShowStr = function getShowStr() {
14415
14386
  var isMultiple = multiple || treeCheckable;
14416
14387
  var kongValue = '无';
14417
- var parallelTreeData = parallelData(treeData, []);
14388
+ var parallelTreeData = _parallelData(treeData, []);
14418
14389
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
14419
14390
  if (isMultiple) {
14420
14391
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -14426,7 +14397,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14426
14397
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
14427
14398
  return /*#__PURE__*/React$1.createElement("div", {
14428
14399
  className: 'tree_search_select'
14429
- }, isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
14400
+ }, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
14430
14401
  title: getShowStr(),
14431
14402
  style: {
14432
14403
  overflow: 'hidden',
@@ -14434,7 +14405,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14434
14405
  whiteSpace: 'nowrap'
14435
14406
  },
14436
14407
  className: 'search_select_show'
14437
- }, getShowStr())) : ( /*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14408
+ }, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14438
14409
  treeCheckable: treeCheckable,
14439
14410
  maxTagCount: maxTagCount,
14440
14411
  showSearch: showSearch,
@@ -14631,7 +14602,7 @@ var index$2 = (function (props) {
14631
14602
  } : {}
14632
14603
  }, item.text)), /*#__PURE__*/React$1.createElement("div", {
14633
14604
  className: 'status-label-operate'
14634
- }, item.isDone ? ( /*#__PURE__*/React$1.createElement("div", {
14605
+ }, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
14635
14606
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
14636
14607
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
14637
14608
  style: {
@@ -15412,7 +15383,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15412
15383
  style: {
15413
15384
  width: 525
15414
15385
  }
15415
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
15386
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
15416
15387
  checked: !dataSource.some(function (item) {
15417
15388
  if (item.hidden) return true;
15418
15389
  return false;
@@ -15450,13 +15421,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15450
15421
  _this2.onChange(e, item.title);
15451
15422
  }
15452
15423
  }, item.title);
15453
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
15424
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
15454
15425
  style: {
15455
15426
  width: '144px'
15456
15427
  }
15457
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
15428
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
15458
15429
  className: 'sort_table_column_all_empty'
15459
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15430
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15460
15431
  className: 'sort_table_column_special'
15461
15432
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
15462
15433
  className: 'sort_table_column_all'
@@ -15635,10 +15606,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15635
15606
  var newColumns = _this.state.showColumns.map(function (col) {
15636
15607
  return _objectSpread2({}, col);
15637
15608
  });
15638
- var handleIndex = function handleIndex(arr, indexArr) {
15609
+ var _handleIndex = function handleIndex(arr, indexArr) {
15639
15610
  var i = indexArr.shift();
15640
15611
  if (indexArr.length > 0) {
15641
- handleIndex(arr[i].children, indexArr);
15612
+ _handleIndex(arr[i].children, indexArr);
15642
15613
  } else {
15643
15614
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15644
15615
  width: size.width
@@ -15646,7 +15617,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15646
15617
  handleBssulaColumnsSpecialParams(arr[i]);
15647
15618
  }
15648
15619
  };
15649
- handleIndex(newColumns, _toConsumableArray(index));
15620
+ _handleIndex(newColumns, _toConsumableArray(index));
15650
15621
  _this.setState({
15651
15622
  showColumns: _toConsumableArray(newColumns)
15652
15623
  });
@@ -15687,7 +15658,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15687
15658
  };
15688
15659
  setIsResizing(true);
15689
15660
  document.addEventListener('mousemove', handleMouseMove);
15690
- document.addEventListener('mouseup', handleMouseUp);
15661
+ document.addEventListener('mouseup', _handleMouseUp);
15691
15662
  };
15692
15663
  var handleMouseMove = function handleMouseMove(e) {
15693
15664
  e.stopPropagation();
@@ -15703,9 +15674,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15703
15674
  dom.style.top = "".concat(e.clientY - 20, "px");
15704
15675
  }
15705
15676
  };
15706
- var handleMouseUp = function handleMouseUp(e) {
15677
+ var _handleMouseUp = function handleMouseUp(e) {
15707
15678
  document.removeEventListener('mousemove', handleMouseMove);
15708
- document.removeEventListener('mouseup', handleMouseUp);
15679
+ document.removeEventListener('mouseup', _handleMouseUp);
15709
15680
  setIsResizing(false);
15710
15681
  };
15711
15682
  var handleresize = function handleresize(e, data, title) {
@@ -15826,13 +15797,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15826
15797
  showSummary = summary;
15827
15798
  }
15828
15799
  }
15829
- var handleColumns = function handleColumns(arr, indexArr) {
15800
+ var _handleColumns = function handleColumns(arr, indexArr) {
15830
15801
  arr.forEach(function (item, index) {
15831
15802
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15832
15803
  return i || i === 0;
15833
15804
  });
15834
15805
  if (noEmptyArray$1(item.children)) {
15835
- handleColumns(item.children, indexArrInside);
15806
+ _handleColumns(item.children, indexArrInside);
15836
15807
  } else {
15837
15808
  item.width = item.width || getItemDefaultWidth$2(item);
15838
15809
  item.onHeaderCell = function (column) {
@@ -15848,7 +15819,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15848
15819
  handleBssulaColumnsSpecialParams(item);
15849
15820
  return _objectSpread2({}, item);
15850
15821
  });
15851
- handleColumns(showCol, []);
15822
+ _handleColumns(showCol, []);
15852
15823
  if (dynamicColumns.length) {
15853
15824
  showCol = this.handledynamicColumns(showCol);
15854
15825
  }
@@ -15889,7 +15860,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15889
15860
  cell: this.ResizeableTitle
15890
15861
  }
15891
15862
  }
15892
- }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15863
+ }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
15893
15864
  summary: summary
15894
15865
  })));
15895
15866
  }
@@ -15986,10 +15957,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15986
15957
  var newColumns = _this.state.showColumns.map(function (col) {
15987
15958
  return _objectSpread2({}, col);
15988
15959
  });
15989
- var handleIndex = function handleIndex(arr, indexArr) {
15960
+ var _handleIndex = function handleIndex(arr, indexArr) {
15990
15961
  var i = indexArr.shift();
15991
15962
  if (indexArr.length > 0) {
15992
- handleIndex(arr[i].children, indexArr);
15963
+ _handleIndex(arr[i].children, indexArr);
15993
15964
  } else {
15994
15965
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15995
15966
  width: size.width
@@ -15997,7 +15968,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15997
15968
  handleAntdColumnsSpecialParams(arr[i]);
15998
15969
  }
15999
15970
  };
16000
- handleIndex(newColumns, _toConsumableArray(index));
15971
+ _handleIndex(newColumns, _toConsumableArray(index));
16001
15972
  _this.setState({
16002
15973
  showColumns: _toConsumableArray(newColumns)
16003
15974
  });
@@ -16073,13 +16044,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
16073
16044
  showSummary = summary;
16074
16045
  }
16075
16046
  }
16076
- var handleColumns = function handleColumns(arr, indexArr) {
16047
+ var _handleColumns = function handleColumns(arr, indexArr) {
16077
16048
  arr.forEach(function (item, index) {
16078
16049
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
16079
16050
  return i || i === 0;
16080
16051
  });
16081
16052
  if (noEmptyArray$1(item.children)) {
16082
- handleColumns(item.children, indexArrInside);
16053
+ _handleColumns(item.children, indexArrInside);
16083
16054
  } else {
16084
16055
  item.width = item.width || getItemDefaultWidth$2(item);
16085
16056
  item.onHeaderCell = function (column) {
@@ -16095,7 +16066,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
16095
16066
  handleAntdColumnsSpecialParams(item);
16096
16067
  return _objectSpread2({}, item);
16097
16068
  });
16098
- handleColumns(showCol, []);
16069
+ _handleColumns(showCol, []);
16099
16070
  if (dynamicColumns.length) {
16100
16071
  showCol = this.handledynamicColumns(showCol);
16101
16072
  }
@@ -16135,7 +16106,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
16135
16106
  cell: this.ResizeableTitle
16136
16107
  }
16137
16108
  }
16138
- }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
16109
+ }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
16139
16110
  summary: summary
16140
16111
  })));
16141
16112
  }
@@ -16195,7 +16166,7 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
16195
16166
  };
16196
16167
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
16197
16168
  var routerMap = {};
16198
- var flattenMenuData = function flattenMenuData(data, parent) {
16169
+ var _flattenMenuData2 = function flattenMenuData(data, parent) {
16199
16170
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
16200
16171
  data.forEach(function (menuItem) {
16201
16172
  // 面包屑路径,增加显示一级导航路径显示
@@ -16210,13 +16181,13 @@ var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
16210
16181
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
16211
16182
  });
16212
16183
  if (newMenuItem.children) {
16213
- flattenMenuData(newMenuItem.children, newMenuItem);
16184
+ _flattenMenuData2(newMenuItem.children, newMenuItem);
16214
16185
  }
16215
16186
  // Reduce memory usage
16216
16187
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
16217
16188
  });
16218
16189
  };
16219
- flattenMenuData(menuData, {
16190
+ _flattenMenuData2(menuData, {
16220
16191
  isMenuRoot: true
16221
16192
  });
16222
16193
  return routerMap;
@@ -16581,7 +16552,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16581
16552
  display: 'flex',
16582
16553
  gap: '8px'
16583
16554
  }
16584
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
16555
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
16585
16556
  title: "\u53D6\u6D88\u5168\u5C4F"
16586
16557
  }, /*#__PURE__*/React$1.createElement("img", {
16587
16558
  onClick: function onClick() {
@@ -16589,7 +16560,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16589
16560
  },
16590
16561
  width: 24,
16591
16562
  src: scanning
16592
- }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
16563
+ }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
16593
16564
  title: "\u5168\u5C4F"
16594
16565
  }, /*#__PURE__*/React$1.createElement("img", {
16595
16566
  onClick: function onClick() {
@@ -16597,7 +16568,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16597
16568
  },
16598
16569
  width: 24,
16599
16570
  src: quanping
16600
- }))))) : null)), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16571
+ }))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16601
16572
  }, function (prevProps, nextProps) {
16602
16573
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
16603
16574
  return false;
@@ -16682,7 +16653,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16682
16653
  }, /*#__PURE__*/React$1.createElement("span", {
16683
16654
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
16684
16655
  }, item));
16685
- }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16656
+ }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16686
16657
  }, function (prevProps, nextProps) {
16687
16658
  if (prevProps.title !== nextProps.title) {
16688
16659
  return false;
@@ -17322,7 +17293,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17322
17293
  });
17323
17294
  return /*#__PURE__*/React$1.createElement("div", {
17324
17295
  className: 'sort_table_wrapper'
17325
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
17296
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
17326
17297
  title: "\u5C55\u793A\u5217\u8BBE\u7F6E",
17327
17298
  wrapClassName: 'sort_table_wrapper',
17328
17299
  width: 810,
@@ -17373,7 +17344,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17373
17344
  width: 525,
17374
17345
  height: 24
17375
17346
  }
17376
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
17347
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
17377
17348
  checked: !dataSource.some(function (item) {
17378
17349
  if (item.hidden) return true;
17379
17350
  return false;
@@ -17427,13 +17398,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17427
17398
  _this2.onChange(e, item.title);
17428
17399
  }
17429
17400
  }, item.title);
17430
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17401
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
17431
17402
  style: {
17432
17403
  width: '144px'
17433
17404
  }
17434
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17405
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
17435
17406
  className: 'sort_table_column_all_empty'
17436
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
17407
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
17437
17408
  className: 'sort_table_column_special'
17438
17409
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
17439
17410
  className: 'sort_table_column_all'
@@ -17907,7 +17878,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17907
17878
  });
17908
17879
  return /*#__PURE__*/React$1.createElement("div", {
17909
17880
  className: 'sort_table_wrapper'
17910
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
17881
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
17911
17882
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
17912
17883
  wrapClassName: 'sort_table_wrapper',
17913
17884
  width: 820,
@@ -17952,7 +17923,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17952
17923
  style: {
17953
17924
  width: 525
17954
17925
  }
17955
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
17926
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
17956
17927
  checked: !dataSource.some(function (item) {
17957
17928
  if (item.hidden) return true;
17958
17929
  return false;
@@ -17988,11 +17959,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17988
17959
  _this2.onChange(e, item.name);
17989
17960
  }
17990
17961
  }, item.label);
17991
- }), !!newSearchSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17962
+ }), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
17992
17963
  style: {
17993
17964
  width: '144px'
17994
17965
  }
17995
- })), !newSearchSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17966
+ })), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
17996
17967
  className: 'sort_table_column_all_empty'
17997
17968
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
17998
17969
  className: 'sort_table_content_wrapper'
@@ -18091,7 +18062,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
18091
18062
  };
18092
18063
  setIsResizing(true);
18093
18064
  document.addEventListener('mousemove', handleMouseMove);
18094
- document.addEventListener('mouseup', handleMouseUp);
18065
+ document.addEventListener('mouseup', _handleMouseUp);
18095
18066
  };
18096
18067
  var handleMouseMove = function handleMouseMove(e) {
18097
18068
  e.stopPropagation();
@@ -18107,9 +18078,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
18107
18078
  dom.style.top = "".concat(e.clientY - 20, "px");
18108
18079
  }
18109
18080
  };
18110
- var handleMouseUp = function handleMouseUp(e) {
18081
+ var _handleMouseUp = function handleMouseUp(e) {
18111
18082
  document.removeEventListener('mousemove', handleMouseMove);
18112
- document.removeEventListener('mouseup', handleMouseUp);
18083
+ document.removeEventListener('mouseup', _handleMouseUp);
18113
18084
  setIsResizing(false);
18114
18085
  };
18115
18086
  var handleresize = function handleresize(e, data, title) {
@@ -18520,7 +18491,7 @@ var BsSulaQueryTable = (function (props) {
18520
18491
  actionsRender = actionsRender.concat([{
18521
18492
  type: 'text',
18522
18493
  props: {
18523
- children: ( /*#__PURE__*/React$1.createElement(ExportIcon, {
18494
+ children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
18524
18495
  request: {
18525
18496
  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),
18526
18497
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -18766,7 +18737,7 @@ var BsSulaQueryTable = (function (props) {
18766
18737
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
18767
18738
  bsTableCode: bsTableCode,
18768
18739
  onlyModal: true
18769
- }), (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, {
18740
+ }), (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, {
18770
18741
  ref: exportTableRef,
18771
18742
  setShowColumns: setShowExportColumns,
18772
18743
  setInitialTableInfo: setInitialTableInfo,
@@ -18859,11 +18830,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18859
18830
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
18860
18831
  var resultList = [];
18861
18832
  var newRouter = cloneDeep(router);
18862
- var deep = function deep(router) {
18833
+ var _deep = function deep(router) {
18863
18834
  if (router && Array.isArray(router)) {
18864
18835
  router.forEach(function (item) {
18865
18836
  if (item.children && Array.isArray(item.children)) {
18866
- deep(item.children);
18837
+ _deep(item.children);
18867
18838
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
18868
18839
  return d === item.code;
18869
18840
  })) {
@@ -18877,10 +18848,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18877
18848
  resultList.push(_objectSpread2({}, router));
18878
18849
  }
18879
18850
  };
18880
- deep(newRouter);
18851
+ _deep(newRouter);
18881
18852
  callBack([].concat(resultList));
18882
18853
  };
18883
- var setMenuTreeData = function setMenuTreeData(routesData) {
18854
+ var _setMenuTreeData = function setMenuTreeData(routesData) {
18884
18855
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
18885
18856
  var _loop = function _loop(i) {
18886
18857
  if (routesData[i].hideInMenu) {
@@ -18894,7 +18865,7 @@ var setMenuTreeData = function setMenuTreeData(routesData) {
18894
18865
  return 0; // continue
18895
18866
  }
18896
18867
  if (routesData[i].children) {
18897
- setMenuTreeData(routesData[i].children);
18868
+ _setMenuTreeData(routesData[i].children);
18898
18869
  }
18899
18870
  },
18900
18871
  _ret;
@@ -18915,16 +18886,16 @@ var setLoginOutPath = function setLoginOutPath() {
18915
18886
  };
18916
18887
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
18917
18888
  var routerMap = {};
18918
- var flattenMenuData = function flattenMenuData(data) {
18889
+ var _flattenMenuData = function flattenMenuData(data) {
18919
18890
  data.forEach(function (menuItem) {
18920
18891
  if (menuItem.children) {
18921
- flattenMenuData(menuItem.children);
18892
+ _flattenMenuData(menuItem.children);
18922
18893
  }
18923
18894
  // Reduce memory usage
18924
18895
  routerMap[menuItem.path] = menuItem;
18925
18896
  });
18926
18897
  };
18927
- flattenMenuData(menuData);
18898
+ _flattenMenuData(menuData);
18928
18899
  return routerMap;
18929
18900
  };
18930
18901
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -19070,7 +19041,7 @@ var DrawContent = function DrawContent(_ref) {
19070
19041
  sethomepageData(homepageDataList);
19071
19042
  setroutesData(routesDataList);
19072
19043
  }, []);
19073
- var renderChildItem = function renderChildItem(child) {
19044
+ var _renderChildItem = function renderChildItem(child) {
19074
19045
  if (!child.hideInMenu && child.children) {
19075
19046
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
19076
19047
  style: {
@@ -19080,7 +19051,7 @@ var DrawContent = function DrawContent(_ref) {
19080
19051
  }, formatMessage({
19081
19052
  id: "".concat(child.locale)
19082
19053
  })), child.children.map(function (menuItem) {
19083
- return renderChildItem(menuItem);
19054
+ return _renderChildItem(menuItem);
19084
19055
  }));
19085
19056
  } else if (!child.hideInMenu && child.path) {
19086
19057
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -19115,7 +19086,7 @@ var DrawContent = function DrawContent(_ref) {
19115
19086
  className: 'drawerWarp'
19116
19087
  }, homepageData && homepageData.filter(function (d) {
19117
19088
  return !d.hideInMenu;
19118
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
19089
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
19119
19090
  className: classNames('allFunsList', 'allFunsListWarp'),
19120
19091
  dataSource: homepageData,
19121
19092
  renderItem: function renderItem(child) {
@@ -19150,7 +19121,7 @@ var DrawContent = function DrawContent(_ref) {
19150
19121
  bordered: true,
19151
19122
  dataSource: item.children,
19152
19123
  renderItem: function renderItem(child) {
19153
- return renderChildItem(child);
19124
+ return _renderChildItem(child);
19154
19125
  }
19155
19126
  });
19156
19127
  })));
@@ -19210,7 +19181,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
19210
19181
  src: allfunc
19211
19182
  })), /*#__PURE__*/React$1.createElement("span", {
19212
19183
  className: 'btnSpan2'
19213
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
19184
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
19214
19185
  style: {
19215
19186
  left: isDrawer ? 140 : 0,
19216
19187
  top: 50
@@ -19256,7 +19227,7 @@ function outLogin(_x) {
19256
19227
  return _outLogin.apply(this, arguments);
19257
19228
  }
19258
19229
  function _outLogin() {
19259
- _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19230
+ _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19260
19231
  var res;
19261
19232
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19262
19233
  while (1) switch (_context.prev = _context.next) {
@@ -19398,7 +19369,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
19398
19369
  });
19399
19370
  };
19400
19371
  var loginOut = /*#__PURE__*/function () {
19401
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19372
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19402
19373
  var sessionId;
19403
19374
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19404
19375
  while (1) switch (_context.prev = _context.next) {
@@ -19502,7 +19473,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
19502
19473
  marginRight: '0px'
19503
19474
  },
19504
19475
  src: './xialajiantou-new.svg'
19505
- }))))), loginModalParams.visible && ( /*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19476
+ }))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19506
19477
  };
19507
19478
 
19508
19479
  // -- 查询店铺 --
@@ -19510,7 +19481,7 @@ function getStoreByName(_x) {
19510
19481
  return _getStoreByName.apply(this, arguments);
19511
19482
  }
19512
19483
  function _getStoreByName() {
19513
- _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19484
+ _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19514
19485
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19515
19486
  while (1) switch (_context.prev = _context.next) {
19516
19487
  case 0:
@@ -19578,7 +19549,7 @@ var ChooseStore = function ChooseStore(props) {
19578
19549
  return _fetchUserList.apply(this, arguments);
19579
19550
  }
19580
19551
  function _fetchUserList() {
19581
- _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19552
+ _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19582
19553
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
19583
19554
  while (1) switch (_context3.prev = _context3.next) {
19584
19555
  case 0:
@@ -19626,7 +19597,7 @@ var ChooseStore = function ChooseStore(props) {
19626
19597
  return debounce$1(loadOptions, debounceTimeout);
19627
19598
  }, [debounceTimeout, key]);
19628
19599
  var changeInput = /*#__PURE__*/function () {
19629
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19600
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19630
19601
  var res;
19631
19602
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19632
19603
  while (1) switch (_context.prev = _context.next) {
@@ -19648,7 +19619,7 @@ var ChooseStore = function ChooseStore(props) {
19648
19619
  };
19649
19620
  }();
19650
19621
  useEffect(function () {
19651
- _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19622
+ _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19652
19623
  var res;
19653
19624
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
19654
19625
  while (1) switch (_context2.prev = _context2.next) {
@@ -19813,7 +19784,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19813
19784
  var resultList = [];
19814
19785
  var newRouter = cloneDeep$1(router);
19815
19786
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
19816
- var deep = function deep(router) {
19787
+ var _deep = function deep(router) {
19817
19788
  if (router && Array.isArray(router)) {
19818
19789
  router.forEach(function (item) {
19819
19790
  if (item.routes && Array.isArray(item.routes)) {
@@ -19823,7 +19794,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19823
19794
  d.nameEdit = true;
19824
19795
  }
19825
19796
  });
19826
- deep(item.routes);
19797
+ _deep(item.routes);
19827
19798
  } else if (!item.hideInMenu && (name ? formatMessage({
19828
19799
  id: "menu.".concat(item.name)
19829
19800
  }).indexOf(name) !== -1 : true)) {
@@ -19842,7 +19813,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19842
19813
  }));
19843
19814
  }
19844
19815
  };
19845
- deep(newRouter);
19816
+ _deep(newRouter);
19846
19817
  setroutesData([].concat(resultList));
19847
19818
  };
19848
19819
  var renderLineStyl = function renderLineStyl(name) {
@@ -19924,7 +19895,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19924
19895
  },
19925
19896
  title: item.fullPathName
19926
19897
  }, renderLineStyl(item.fullPathName));
19927
- }))))), showSelectStore && ( /*#__PURE__*/React$1.createElement(ChooseStore, {
19898
+ }))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
19928
19899
  employeeCode: employeeCode
19929
19900
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
19930
19901
  };
@@ -19939,7 +19910,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
19939
19910
  var TreeNode = Tree.TreeNode;
19940
19911
  var Search$2 = Input.Search;
19941
19912
  var dataList = [];
19942
- var generateList = function generateList(data) {
19913
+ var _generateList = function generateList(data) {
19943
19914
  for (var i = 0; i < data.length; i++) {
19944
19915
  var node = data[i];
19945
19916
  var path = node.path,
@@ -19949,11 +19920,11 @@ var generateList = function generateList(data) {
19949
19920
  name: name
19950
19921
  });
19951
19922
  if (node.children) {
19952
- generateList(node.children);
19923
+ _generateList(node.children);
19953
19924
  }
19954
19925
  }
19955
19926
  };
19956
- var getParentKey = function getParentKey(path, tree) {
19927
+ var _getParentKey = function getParentKey(path, tree) {
19957
19928
  var parentKey;
19958
19929
  for (var i = 0; i < tree.length; i++) {
19959
19930
  var node = tree[i];
@@ -19962,8 +19933,8 @@ var getParentKey = function getParentKey(path, tree) {
19962
19933
  return item.path === path;
19963
19934
  })) {
19964
19935
  parentKey = node.path;
19965
- } else if (getParentKey(path, node.children)) {
19966
- parentKey = getParentKey(path, node.children);
19936
+ } else if (_getParentKey(path, node.children)) {
19937
+ parentKey = _getParentKey(path, node.children);
19967
19938
  }
19968
19939
  }
19969
19940
  }
@@ -19994,7 +19965,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19994
19965
  var treeData = _this.state.treeData;
19995
19966
  var expandedKeys = dataList.map(function (item) {
19996
19967
  if (item.name.indexOf(value) > -1) {
19997
- return getParentKey(item.path, treeData);
19968
+ return _getParentKey(item.path, treeData);
19998
19969
  }
19999
19970
  return null;
20000
19971
  }).filter(function (item, i, self) {
@@ -20008,22 +19979,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
20008
19979
  };
20009
19980
  _this.getPathList = function (originData) {
20010
19981
  var pathList = [];
20011
- var getList = function getList(data) {
19982
+ var _getList = function getList(data) {
20012
19983
  if (Array.isArray(data)) {
20013
19984
  data.forEach(function (item) {
20014
19985
  pathList.push(item.path);
20015
19986
  if (item.children) {
20016
- getList(item.children);
19987
+ _getList(item.children);
20017
19988
  }
20018
19989
  });
20019
19990
  } else {
20020
19991
  pathList.push(data.path);
20021
19992
  if (data.children) {
20022
- getList(data.children);
19993
+ _getList(data.children);
20023
19994
  }
20024
19995
  }
20025
19996
  };
20026
- getList(originData);
19997
+ _getList(originData);
20027
19998
  return pathList;
20028
19999
  };
20029
20000
  _this.handleAdd2Menu = function (path) {
@@ -20032,18 +20003,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
20032
20003
  customerMenuData = _this$props.customerMenuData,
20033
20004
  setCustomerMenuData = _this$props.setCustomerMenuData;
20034
20005
  var filterItem;
20035
- var filterMenuItem = function filterMenuItem(menuData) {
20006
+ var _filterMenuItem = function filterMenuItem(menuData) {
20036
20007
  menuData.forEach(function (item) {
20037
20008
  if (item.path === path) {
20038
20009
  filterItem = _objectSpread2({}, item);
20039
20010
  return;
20040
20011
  }
20041
20012
  if (item.children) {
20042
- filterMenuItem(item.children);
20013
+ _filterMenuItem(item.children);
20043
20014
  }
20044
20015
  });
20045
20016
  };
20046
- filterMenuItem(treeData);
20017
+ _filterMenuItem(treeData);
20047
20018
  var addPathList = _this.getPathList(filterItem);
20048
20019
  var oldPathList = _this.getPathList(customerMenuData);
20049
20020
  var isRepet = false;
@@ -20073,8 +20044,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
20073
20044
  return item.path === '/';
20074
20045
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
20075
20046
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
20076
- setMenuTreeData(routesData);
20077
- generateList(routesData);
20047
+ _setMenuTreeData(routesData);
20048
+ _generateList(routesData);
20078
20049
  this.setState({
20079
20050
  treeData: routesData
20080
20051
  });
@@ -20088,16 +20059,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
20088
20059
  expandedKeys = _this$state.expandedKeys,
20089
20060
  autoExpandParent = _this$state.autoExpandParent,
20090
20061
  treeData = _this$state.treeData;
20091
- var loop = function loop(data) {
20062
+ var _loop = function loop(data) {
20092
20063
  return data.map(function (item) {
20093
20064
  var index = item.name.indexOf(searchValue);
20094
20065
  var beforeStr = item.name.substr(0, index);
20095
20066
  var afterStr = item.name.substr(index + searchValue.length);
20096
- var name = index > -1 ? ( /*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
20067
+ var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
20097
20068
  style: {
20098
20069
  color: '#f50'
20099
20070
  }
20100
- }, searchValue), afterStr)) : ( /*#__PURE__*/React$1.createElement("span", null, item.name));
20071
+ }, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
20101
20072
  if (item.children && item.children.length) {
20102
20073
  return /*#__PURE__*/React$1.createElement(TreeNode, {
20103
20074
  path: item.path,
@@ -20119,7 +20090,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
20119
20090
  width: 18,
20120
20091
  src: arrowRight
20121
20092
  }))))
20122
- }, loop(item.children));
20093
+ }, _loop(item.children));
20123
20094
  }
20124
20095
  return /*#__PURE__*/React$1.createElement(TreeNode, {
20125
20096
  path: item.path,
@@ -20169,7 +20140,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
20169
20140
  onExpand: this.onExpand,
20170
20141
  expandedKeys: expandedKeys,
20171
20142
  autoExpandParent: autoExpandParent
20172
- }, loop(treeData))));
20143
+ }, _loop(treeData))));
20173
20144
  }
20174
20145
  }]);
20175
20146
  }(React$1.Component);
@@ -20202,24 +20173,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20202
20173
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
20203
20174
  var dragObj;
20204
20175
  var finalDropItem;
20205
- var loop = function loop(data, path, callback) {
20176
+ var _loop = function loop(data, path, callback) {
20206
20177
  for (var i = 0; i < data.length; i++) {
20207
20178
  if (data[i].path === path) {
20208
20179
  return callback(data[i], i, data);
20209
20180
  }
20210
20181
  if (data[i].children) {
20211
- loop(data[i].children, path, callback);
20182
+ _loop(data[i].children, path, callback);
20212
20183
  }
20213
20184
  }
20214
20185
  };
20215
20186
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
20216
- loop(data, dragKey, function (item, index, arr) {
20187
+ _loop(data, dragKey, function (item, index, arr) {
20217
20188
  arr.splice(index, 1);
20218
20189
  dragObj = item;
20219
20190
  });
20220
20191
  if (!info.dropToGap) {
20221
20192
  // Drop on the content
20222
- loop(data, dropKey, function (item) {
20193
+ _loop(data, dropKey, function (item) {
20223
20194
  item.children = item.children || [];
20224
20195
  item.children.unshift(dragObj);
20225
20196
  finalDropItem = _objectSpread2({}, item);
@@ -20230,7 +20201,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20230
20201
  // Is expanded
20231
20202
  dropPosition === 1 // On the bottom gap
20232
20203
  ) {
20233
- loop(data, dropKey, function (item) {
20204
+ _loop(data, dropKey, function (item) {
20234
20205
  item.children = item.children || [];
20235
20206
  item.children.unshift(dragObj);
20236
20207
  finalDropItem = _objectSpread2({}, item);
@@ -20238,7 +20209,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20238
20209
  } else {
20239
20210
  var ar;
20240
20211
  var i;
20241
- loop(data, dropKey, function (item, index, arr) {
20212
+ _loop(data, dropKey, function (item, index, arr) {
20242
20213
  ar = arr;
20243
20214
  i = index;
20244
20215
  });
@@ -20277,17 +20248,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20277
20248
  title: '编辑名称',
20278
20249
  callBack: function callBack(newName) {
20279
20250
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
20280
- var editTreeDataName = function editTreeDataName(oldTreeData) {
20251
+ var _editTreeDataName = function editTreeDataName(oldTreeData) {
20281
20252
  oldTreeData.forEach(function (treeItem) {
20282
20253
  if (treeItem.path === item.path) {
20283
20254
  treeItem.name = newName;
20284
20255
  }
20285
20256
  if (treeItem.children) {
20286
- editTreeDataName(treeItem.children);
20257
+ _editTreeDataName(treeItem.children);
20287
20258
  }
20288
20259
  });
20289
20260
  };
20290
- editTreeDataName(oldTreeData);
20261
+ _editTreeDataName(oldTreeData);
20291
20262
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
20292
20263
  _this.setState({
20293
20264
  modalInfo: {
@@ -20332,7 +20303,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20332
20303
  title: '新增子目录',
20333
20304
  callBack: function callBack(newName) {
20334
20305
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
20335
- var addChildFolder = function addChildFolder(oldTreeData) {
20306
+ var _addChildFolder = function addChildFolder(oldTreeData) {
20336
20307
  oldTreeData.forEach(function (treeItem) {
20337
20308
  if (treeItem.path === item.path) {
20338
20309
  treeItem.children ? treeItem.children.push({
@@ -20344,11 +20315,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20344
20315
  }];
20345
20316
  }
20346
20317
  if (treeItem.children) {
20347
- addChildFolder(treeItem.children);
20318
+ _addChildFolder(treeItem.children);
20348
20319
  }
20349
20320
  });
20350
20321
  };
20351
- addChildFolder(oldTreeData);
20322
+ _addChildFolder(oldTreeData);
20352
20323
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
20353
20324
  _this.setState({
20354
20325
  modalInfo: {
@@ -20407,7 +20378,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20407
20378
  var _this$state = this.state,
20408
20379
  modalInfo = _this$state.modalInfo,
20409
20380
  checkedKeys = _this$state.checkedKeys;
20410
- var loop = function loop(data) {
20381
+ var _loop2 = function loop(data) {
20411
20382
  return data.map(function (item) {
20412
20383
  if (item.children && item.children.length) {
20413
20384
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -20424,7 +20395,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20424
20395
  e.stopPropagation();
20425
20396
  }
20426
20397
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
20427
- }, loop(item.children));
20398
+ }, _loop2(item.children));
20428
20399
  }
20429
20400
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
20430
20401
  path: item.path,
@@ -20503,7 +20474,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20503
20474
  children: 'children'
20504
20475
  },
20505
20476
  onDrop: this.onDrop
20506
- }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20477
+ }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20507
20478
  width: 600,
20508
20479
  bodyStyle: {
20509
20480
  paddingTop: '32px',
@@ -20616,7 +20587,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20616
20587
  pathname: item.path
20617
20588
  });
20618
20589
  };
20619
- var getMenuDom = function getMenuDom(menuData) {
20590
+ var _getMenuDom = function getMenuDom(menuData) {
20620
20591
  return menuData.map(function (item) {
20621
20592
  return /*#__PURE__*/React$1.createElement("div", {
20622
20593
  style: {
@@ -20631,7 +20602,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20631
20602
  fontWeight: item.children || !item.component ? 'bolder' : '400',
20632
20603
  paddingLeft: '4px'
20633
20604
  }
20634
- }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
20605
+ }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
20635
20606
  });
20636
20607
  };
20637
20608
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20657,7 +20628,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20657
20628
  style: {
20658
20629
  paddingLeft: '5px'
20659
20630
  }
20660
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
20631
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
20661
20632
  style: {
20662
20633
  left: isDrawer ? 140 : 0
20663
20634
  },
@@ -20678,7 +20649,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20678
20649
  visible: isDrawer
20679
20650
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
20680
20651
  className: 'menu_title_line'
20681
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20652
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20682
20653
  title: /*#__PURE__*/React$1.createElement("span", {
20683
20654
  style: {
20684
20655
  fontWeight: '600',
@@ -20752,7 +20723,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20752
20723
  return item.path === '/';
20753
20724
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
20754
20725
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
20755
- setMenuTreeData(routesData);
20726
+ _setMenuTreeData(routesData);
20756
20727
  routesData.forEach(function (item) {
20757
20728
  if (item.children) {
20758
20729
  routesDataList.push(item);
@@ -20782,7 +20753,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20782
20753
  setHeight(clientHeight - 190);
20783
20754
  setDrawHeight(clientHeight - 70);
20784
20755
  };
20785
- var renderChildItem = function renderChildItem(child) {
20756
+ var _renderChildItem = function renderChildItem(child) {
20786
20757
  if (!child.hideInMenu && child.children) {
20787
20758
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
20788
20759
  style: {
@@ -20792,7 +20763,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20792
20763
  }, formatMessage({
20793
20764
  id: "".concat(child.locale)
20794
20765
  })), child.children.map(function (menuItem) {
20795
- return renderChildItem(menuItem);
20766
+ return _renderChildItem(menuItem);
20796
20767
  }));
20797
20768
  } else if (!child.hideInMenu && child.path) {
20798
20769
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -20934,7 +20905,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20934
20905
  onMenuClick(e, item);
20935
20906
  }
20936
20907
  }, item.name);
20937
- }))), !!SearhData.length ? ( /*#__PURE__*/React$1.createElement("div", {
20908
+ }))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
20938
20909
  className: 'search_menu_content'
20939
20910
  }, SearhData.map(function (item) {
20940
20911
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20943,7 +20914,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20943
20914
  },
20944
20915
  key: item.path
20945
20916
  }, item.name);
20946
- }))) : ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20917
+ }))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20947
20918
  style: {
20948
20919
  height: "".concat(rightMenuHeight, "px"),
20949
20920
  overflowY: 'scroll',
@@ -20955,7 +20926,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20955
20926
  className: 'drawerWarp_right'
20956
20927
  }, homepageData && homepageData.filter(function (d) {
20957
20928
  return !d.hideInMenu;
20958
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
20929
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
20959
20930
  className: classNames('allFunsList', 'allFunsListWarp'),
20960
20931
  dataSource: homepageData,
20961
20932
  renderItem: function renderItem(child) {
@@ -20996,7 +20967,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20996
20967
  bordered: true,
20997
20968
  dataSource: item.children,
20998
20969
  renderItem: function renderItem(child) {
20999
- return renderChildItem(child);
20970
+ return _renderChildItem(child);
21000
20971
  }
21001
20972
  });
21002
20973
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -21154,10 +21125,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
21154
21125
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
21155
21126
  var menuKeys = [];
21156
21127
  var docsId = [];
21157
- var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
21128
+ var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
21158
21129
  data.forEach(function (item) {
21159
21130
  if (item.children && item.children.length > 0) {
21160
- getLimitedMenuKeys(item.children);
21131
+ _getLimitedMenuKeys(item.children);
21161
21132
  } else {
21162
21133
  var originPath = item.path.replace(/^\/\w+\//, '/');
21163
21134
  menuKeys.push(originPath);
@@ -21168,7 +21139,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
21168
21139
  });
21169
21140
  };
21170
21141
  try {
21171
- getLimitedMenuKeys(limitedMenuData);
21142
+ _getLimitedMenuKeys(limitedMenuData);
21172
21143
  } catch (e) {}
21173
21144
  return {
21174
21145
  menuKeys: menuKeys,
@@ -21402,10 +21373,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21402
21373
  return (node.path || '').includes('all-general-documents');
21403
21374
  };
21404
21375
  // 递归获取树列表
21405
- var getTreeList = function getTreeList(data) {
21376
+ var _getTreeList = function getTreeList(data) {
21406
21377
  data.forEach(function (node) {
21407
21378
  if (node.routes && node.routes.length > 0) {
21408
- getTreeList(node.routes);
21379
+ _getTreeList(node.routes);
21409
21380
  return;
21410
21381
  }
21411
21382
  // todo:暂时处理非wujie环境不做404管控
@@ -21436,7 +21407,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21436
21407
  }
21437
21408
  });
21438
21409
  };
21439
- getTreeList(treeData);
21410
+ _getTreeList(treeData);
21440
21411
  return treeList;
21441
21412
  };
21442
21413
  _this.getDictionarySource = function (dicCode) {
@@ -22065,7 +22036,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
22065
22036
  updateState = _ref8.updateState;
22066
22037
  return /*#__PURE__*/React$1.createElement("div", {
22067
22038
  className: "tab_title_content"
22068
- }, item.tab, item.key !== '/' && ( /*#__PURE__*/React$1.createElement(ItemMenu, {
22039
+ }, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
22069
22040
  info: item,
22070
22041
  operateFun: _this3.operateFun,
22071
22042
  listenRouterState: listenRouterState
@@ -22201,7 +22172,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
22201
22172
  };
22202
22173
  }
22203
22174
  var OperationsSlot = {
22204
- left: ( /*#__PURE__*/React$1.createElement("div", {
22175
+ left: (/*#__PURE__*/React$1.createElement("div", {
22205
22176
  className: 'tab_left_operate'
22206
22177
  }, /*#__PURE__*/React$1.createElement("div", {
22207
22178
  onClick: function onClick() {
@@ -22217,7 +22188,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
22217
22188
  _this3.setTabNavTransLate(-100);
22218
22189
  }
22219
22190
  }, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
22220
- right: ( /*#__PURE__*/React$1.createElement("div", {
22191
+ right: (/*#__PURE__*/React$1.createElement("div", {
22221
22192
  style: {
22222
22193
  opacity: this.state.isSlider ? 1 : 0.5
22223
22194
  },
@@ -22315,7 +22286,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
22315
22286
  onMouseLeave: function onMouseLeave() {
22316
22287
  _this3.setShowMenu(false);
22317
22288
  }
22318
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
22289
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
22319
22290
  style: {
22320
22291
  position: 'absolute',
22321
22292
  top: '14px',
@@ -22334,7 +22305,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
22334
22305
  postMenuData: function postMenuData(menus) {
22335
22306
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
22336
22307
  },
22337
- links: [!this.state.collapse ? ( /*#__PURE__*/React$1.createElement(AllFunc$1, {
22308
+ links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
22338
22309
  ref: this.allFunc,
22339
22310
  itemPath: itemPath,
22340
22311
  handleClose: this.handleClose,
@@ -22352,7 +22323,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
22352
22323
  },
22353
22324
  menu: {
22354
22325
  request: function () {
22355
- var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
22326
+ var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
22356
22327
  return _regeneratorRuntime().wrap(function _callee$(_context) {
22357
22328
  while (1) switch (_context.prev = _context.next) {
22358
22329
  case 0:
@@ -22487,7 +22458,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
22487
22458
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
22488
22459
  timeFormat = _this$props4.timeFormat,
22489
22460
  transparentProps = _this$props4.transparentProps;
22490
- 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({
22461
+ 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({
22491
22462
  getDictionarySource: getDictionarySource,
22492
22463
  getDictionaryTextByValue: getDictionaryTextByValue,
22493
22464
  timeFormat: timeFormat
@@ -22511,12 +22482,12 @@ var index$5 = (function (props) {
22511
22482
  });
22512
22483
 
22513
22484
  // @ts-nocheck
22514
- var getAllColumns = function getAllColumns(columns) {
22485
+ var _getAllColumns = function getAllColumns(columns) {
22515
22486
  var result = [];
22516
22487
  columns.forEach(function (column) {
22517
22488
  if (column.children) {
22518
22489
  result.push(column);
22519
- result.push.apply(result, getAllColumns(column.children));
22490
+ result.push.apply(result, _getAllColumns(column.children));
22520
22491
  } else {
22521
22492
  result.push(column);
22522
22493
  }
@@ -22525,7 +22496,7 @@ var getAllColumns = function getAllColumns(columns) {
22525
22496
  };
22526
22497
  var convertToRows = function convertToRows(originColumns) {
22527
22498
  var maxLevel = 1;
22528
- var traverse = function traverse(column, parent) {
22499
+ var _traverse = function traverse(column, parent) {
22529
22500
  if (parent) {
22530
22501
  column.level = parent.level + 1;
22531
22502
  if (maxLevel < column.level) {
@@ -22535,7 +22506,7 @@ var convertToRows = function convertToRows(originColumns) {
22535
22506
  if (column.children) {
22536
22507
  var colSpan = 0;
22537
22508
  column.children.forEach(function (subColumn) {
22538
- traverse(subColumn, column);
22509
+ _traverse(subColumn, column);
22539
22510
  colSpan += subColumn.colSpan;
22540
22511
  });
22541
22512
  column.colSpan = colSpan;
@@ -22545,13 +22516,13 @@ var convertToRows = function convertToRows(originColumns) {
22545
22516
  };
22546
22517
  originColumns.forEach(function (column) {
22547
22518
  column.level = 1;
22548
- traverse(column);
22519
+ _traverse(column);
22549
22520
  });
22550
22521
  var rows = [];
22551
22522
  for (var i = 0; i < maxLevel; i++) {
22552
22523
  rows.push([]);
22553
22524
  }
22554
- var allColumns = getAllColumns(originColumns);
22525
+ var allColumns = _getAllColumns(originColumns);
22555
22526
  allColumns.forEach(function (column) {
22556
22527
  if (!column.children) {
22557
22528
  column.rowSpan = maxLevel - column.level + 1;
@@ -22591,7 +22562,7 @@ var convertToRows = function convertToRows(originColumns) {
22591
22562
  };
22592
22563
  var headersToRows = function headersToRows(originColumns) {
22593
22564
  var maxLevel = 1;
22594
- var traverse = function traverse(column, parent) {
22565
+ var _traverse2 = function traverse(column, parent) {
22595
22566
  if (parent) {
22596
22567
  //计算当前元素属于第几个层级
22597
22568
  column.level = parent.level + 1;
@@ -22604,7 +22575,7 @@ var headersToRows = function headersToRows(originColumns) {
22604
22575
  var colSpan = 0;
22605
22576
  column.children.forEach(function (subColumn) {
22606
22577
  //进行递归
22607
- traverse(subColumn, column);
22578
+ _traverse2(subColumn, column);
22608
22579
  colSpan += subColumn.colSpan;
22609
22580
  });
22610
22581
  column.colSpan = colSpan;
@@ -22614,14 +22585,14 @@ var headersToRows = function headersToRows(originColumns) {
22614
22585
  };
22615
22586
  originColumns.forEach(function (column) {
22616
22587
  column.level = 1;
22617
- traverse(column);
22588
+ _traverse2(column);
22618
22589
  });
22619
22590
  var rows = [];
22620
22591
  var lastData = [];
22621
22592
  for (var i = 0; i < maxLevel; i++) {
22622
22593
  rows.push([]);
22623
22594
  }
22624
- var allColumns = getAllColumns(originColumns);
22595
+ var allColumns = _getAllColumns(originColumns);
22625
22596
  allColumns.forEach(function (column) {
22626
22597
  if (!column.children) {
22627
22598
  column.rowSpan = maxLevel - column.level + 1;
@@ -28638,7 +28609,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
28638
28609
  }
28639
28610
  return lineStart <= highLightLine && lineEnd >= highLightLine;
28640
28611
  };
28641
- var hasHighLightChildren = function hasHighLightChildren() {
28612
+ var _hasHighLightChildren = function hasHighLightChildren() {
28642
28613
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
28643
28614
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
28644
28615
  var children = hightLightData.children,
@@ -28649,7 +28620,7 @@ var hasHighLightChildren = function hasHighLightChildren() {
28649
28620
  lineEnd = _loc2[2];
28650
28621
  if (children) {
28651
28622
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
28652
- return hasHighLightChildren(v, highLightLine);
28623
+ return _hasHighLightChildren(v, highLightLine);
28653
28624
  });
28654
28625
  }
28655
28626
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -28661,7 +28632,7 @@ function createHighLightTreeData(treeData, highLightLine) {
28661
28632
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
28662
28633
  data.forEach(function (node) {
28663
28634
  if (!node) return;
28664
- node.toggled = hasHighLightChildren(node, highLightLine);
28635
+ node.toggled = _hasHighLightChildren(node, highLightLine);
28665
28636
  node.active = isHightLight(node, highLightLine);
28666
28637
  if (node.children) {
28667
28638
  if (node.active) {
@@ -30092,7 +30063,7 @@ var valueType = {
30092
30063
  };
30093
30064
 
30094
30065
  var getDynamicDict = /*#__PURE__*/function () {
30095
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
30066
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
30096
30067
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30097
30068
  while (1) switch (_context.prev = _context.next) {
30098
30069
  case 0:
@@ -30160,7 +30131,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30160
30131
  value: false
30161
30132
  }];
30162
30133
  var ref = useRef();
30163
- useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30134
+ useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30164
30135
  var _ref$current, source;
30165
30136
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30166
30137
  while (1) switch (_context.prev = _context.next) {
@@ -30274,7 +30245,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30274
30245
  source: {
30275
30246
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
30276
30247
  type: function () {
30277
- var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
30248
+ var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
30278
30249
  var form, values, name, relates, source;
30279
30250
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
30280
30251
  while (1) switch (_context2.prev = _context2.next) {
@@ -30754,7 +30725,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30754
30725
  source: {
30755
30726
  relates: ['choiceType', 'inputType'],
30756
30727
  type: function () {
30757
- var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30728
+ var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30758
30729
  var values, name, form, source;
30759
30730
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
30760
30731
  while (1) switch (_context3.prev = _context3.next) {
@@ -30976,7 +30947,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30976
30947
  width: 900,
30977
30948
  maskClosable: false,
30978
30949
  onOk: function () {
30979
- var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30950
+ var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30980
30951
  var _ref$current4, _res$editableStatus;
30981
30952
  var res, _res$defaultValue;
30982
30953
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -31048,7 +31019,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31048
31019
  }()
31049
31020
  }), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
31050
31021
  ref: ref
31051
- })), maintainOptionsModal.visible && ( /*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
31022
+ })), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
31052
31023
  };
31053
31024
 
31054
31025
  // @ts-nocheck
@@ -31662,7 +31633,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31662
31633
  return setVisible(false);
31663
31634
  },
31664
31635
  className: 'customFieldsDrawer'
31665
- }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React$1.createElement("div", {
31636
+ }, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
31666
31637
  style: {
31667
31638
  display: 'flex'
31668
31639
  }
@@ -31671,13 +31642,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31671
31642
  flex: 1,
31672
31643
  width: 500
31673
31644
  }
31674
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31645
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31675
31646
  style: {
31676
31647
  padding: "10px 0",
31677
31648
  fontSize: "16px",
31678
31649
  fontWeight: "bolder"
31679
31650
  }
31680
- }, "\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", {
31651
+ }, "\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", {
31681
31652
  style: {
31682
31653
  flex: 1
31683
31654
  }
@@ -31686,7 +31657,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31686
31657
  onRun: onClickRun,
31687
31658
  value: jsonEditorVal,
31688
31659
  shallowHeight: height
31689
- })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React$1.createElement(Tabs, {
31660
+ })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
31690
31661
  defaultActiveKey: activeKey,
31691
31662
  onChange: function onChange(v) {
31692
31663
  return setActiveKey(v);
@@ -31703,13 +31674,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31703
31674
  flex: 1,
31704
31675
  width: 500
31705
31676
  }
31706
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31677
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31707
31678
  style: {
31708
31679
  padding: "10px 0",
31709
31680
  fontSize: "16px",
31710
31681
  fontWeight: "bolder"
31711
31682
  }
31712
- }, "\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", {
31683
+ }, "\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", {
31713
31684
  style: {
31714
31685
  flex: 1
31715
31686
  }
@@ -31731,13 +31702,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31731
31702
  flex: 1,
31732
31703
  width: 500
31733
31704
  }
31734
- }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React$1.createElement("div", {
31705
+ }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
31735
31706
  style: {
31736
31707
  padding: "10px 0",
31737
31708
  fontSize: "16px",
31738
31709
  fontWeight: "bolder"
31739
31710
  }
31740
- }, "\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", {
31711
+ }, "\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", {
31741
31712
  style: {
31742
31713
  flex: 1
31743
31714
  }
@@ -31883,7 +31854,7 @@ function getMetaData(_x) {
31883
31854
 
31884
31855
  // 获取数据
31885
31856
  function _getMetaData() {
31886
- _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31857
+ _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31887
31858
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31888
31859
  while (1) switch (_context.prev = _context.next) {
31889
31860
  case 0:
@@ -32105,7 +32076,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
32105
32076
  tableState = _useState4[0],
32106
32077
  setTableState = _useState4[1];
32107
32078
  var handleOpen = /*#__PURE__*/function () {
32108
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32079
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32109
32080
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
32110
32081
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
32111
32082
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -32424,7 +32395,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
32424
32395
  destroyOnClose: true
32425
32396
  }, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
32426
32397
  ref: queryTableRef
32427
- }, 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, {
32398
+ }, 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, {
32428
32399
  justify: "center",
32429
32400
  style: {
32430
32401
  marginBottom: 30,
@@ -32540,7 +32511,7 @@ var CustomSelector = (function (props) {
32540
32511
  var _props$ctx7;
32541
32512
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
32542
32513
  }
32543
- })), showType === 'modalTable' && ( /*#__PURE__*/React$1.createElement(Button, {
32514
+ })), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
32544
32515
  type: "primary",
32545
32516
  style: {
32546
32517
  width: '30px',
@@ -32626,7 +32597,7 @@ var BsCascader = function BsCascader(_ref) {
32626
32597
  _useState2 = _slicedToArray(_useState, 2),
32627
32598
  handSource = _useState2[0],
32628
32599
  setHandSource = _useState2[1];
32629
- useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32600
+ useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32630
32601
  var resData, data;
32631
32602
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32632
32603
  while (1) switch (_context.prev = _context.next) {
@@ -32778,7 +32749,7 @@ function getRegularThresholdRange(_x) {
32778
32749
  return _getRegularThresholdRange.apply(this, arguments);
32779
32750
  }
32780
32751
  function _getRegularThresholdRange() {
32781
- _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32752
+ _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32782
32753
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32783
32754
  while (1) switch (_context.prev = _context.next) {
32784
32755
  case 0:
@@ -32932,7 +32903,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32932
32903
  };
32933
32904
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
32934
32905
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
32935
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32906
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32936
32907
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
32937
32908
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32938
32909
  while (1) switch (_context.prev = _context.next) {
@@ -33889,7 +33860,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33889
33860
  isAll: true,
33890
33861
  needNameAndCode: true,
33891
33862
  notChangeOnSelect: true,
33892
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33863
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33893
33864
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
33894
33865
  while (1) switch (_context2.prev = _context2.next) {
33895
33866
  case 0:
@@ -33938,7 +33909,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33938
33909
  isAll: true,
33939
33910
  needNameAndCode: true,
33940
33911
  notChangeOnSelect: true,
33941
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33912
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33942
33913
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
33943
33914
  while (1) switch (_context3.prev = _context3.next) {
33944
33915
  case 0:
@@ -33989,7 +33960,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33989
33960
  isAll: true,
33990
33961
  needNameAndCode: true,
33991
33962
  notChangeOnSelect: true,
33992
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33963
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33993
33964
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
33994
33965
  while (1) switch (_context4.prev = _context4.next) {
33995
33966
  case 0:
@@ -35967,7 +35938,7 @@ var App$1 = function App(_ref) {
35967
35938
  borderRadius: '5px',
35968
35939
  cursor: 'pointer'
35969
35940
  }
35970
- }, isStaticNumber ? ( /*#__PURE__*/React$1.createElement(Input, {
35941
+ }, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
35971
35942
  autoFocus: true,
35972
35943
  onClick: function onClick(e) {
35973
35944
  return e.stopPropagation();
@@ -36254,7 +36225,7 @@ function RenderCompItem(props) {
36254
36225
  dictData = _useState2[0],
36255
36226
  setDictData = _useState2[1];
36256
36227
  var getDictData = /*#__PURE__*/function () {
36257
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
36228
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
36258
36229
  var _data$map;
36259
36230
  var data;
36260
36231
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -36296,7 +36267,7 @@ function RenderCompItem(props) {
36296
36267
  var style2 = {
36297
36268
  width: '100px'
36298
36269
  };
36299
- 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, {
36270
+ 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, {
36300
36271
  disabled: disabled,
36301
36272
  allowClear: true,
36302
36273
  onClear: function onClear() {
@@ -36307,7 +36278,7 @@ function RenderCompItem(props) {
36307
36278
  onBlur: function onBlur(e) {
36308
36279
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
36309
36280
  }
36310
- })) || 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, {
36281
+ })) || 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, {
36311
36282
  disabled: disabled,
36312
36283
  // max={Number.MAX_SAFE_INTEGER}
36313
36284
  max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
@@ -36320,7 +36291,7 @@ function RenderCompItem(props) {
36320
36291
  onChange: function onChange(value) {
36321
36292
  handleEdit(ites.code, value);
36322
36293
  }
36323
- })) || 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, {
36294
+ })) || 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, {
36324
36295
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
36325
36296
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
36326
36297
  disabled: disabled,
@@ -36330,7 +36301,7 @@ function RenderCompItem(props) {
36330
36301
  onChange: function onChange(value, dateString) {
36331
36302
  handleEdit(ites.code, dateString);
36332
36303
  }
36333
- })) || 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, {
36304
+ })) || 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, {
36334
36305
  showTime: true,
36335
36306
  disabled: disabled,
36336
36307
  defaultValue: ites.defaultValue,
@@ -36339,7 +36310,7 @@ function RenderCompItem(props) {
36339
36310
  onChange: function onChange(value, timeString) {
36340
36311
  handleEdit(ites.code, timeString);
36341
36312
  }
36342
- })) || 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, {
36313
+ })) || 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, {
36343
36314
  disabled: disabled,
36344
36315
  defaultChecked: !!ites.defaultValue,
36345
36316
  style: style2,
@@ -36347,7 +36318,7 @@ function RenderCompItem(props) {
36347
36318
  onChange: function onChange(value) {
36348
36319
  handleEdit(ites.code, value);
36349
36320
  }
36350
- })) || 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({
36321
+ })) || 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({
36351
36322
  disabled: disabled,
36352
36323
  allowClear: true,
36353
36324
  showArrow: true
@@ -36365,7 +36336,7 @@ function RenderCompItem(props) {
36365
36336
  key: it,
36366
36337
  value: it
36367
36338
  }, ites.enumeration[it]);
36368
- }))) || 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, {
36339
+ }))) || 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, {
36369
36340
  disabled: disabled,
36370
36341
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
36371
36342
  defaultValue: ites.defaultValue,
@@ -36375,7 +36346,7 @@ function RenderCompItem(props) {
36375
36346
  handleEdit(ites.code, value);
36376
36347
  },
36377
36348
  dictionaryCode: ites.dictionaryCode
36378
- })) || 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, {
36349
+ })) || 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, {
36379
36350
  selectBusinessType: "physicalWarehouse",
36380
36351
  selectProps: _objectSpread2({
36381
36352
  style: styleCommon,
@@ -36397,7 +36368,7 @@ function RenderCompItem(props) {
36397
36368
  getPopupContainer: function getPopupContainer() {
36398
36369
  return document.body;
36399
36370
  }
36400
- })) || 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, {
36371
+ })) || 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, {
36401
36372
  selectBusinessType: "realWarehouse",
36402
36373
  selectProps: _objectSpread2({
36403
36374
  style: styleCommon,
@@ -36419,7 +36390,7 @@ function RenderCompItem(props) {
36419
36390
  getPopupContainer: function getPopupContainer() {
36420
36391
  return document.body;
36421
36392
  }
36422
- })) || 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, {
36393
+ })) || 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, {
36423
36394
  selectBusinessType: "virtualWarehouse",
36424
36395
  selectProps: _objectSpread2({
36425
36396
  style: styleCommon,
@@ -36441,7 +36412,7 @@ function RenderCompItem(props) {
36441
36412
  getPopupContainer: function getPopupContainer() {
36442
36413
  return document.body;
36443
36414
  }
36444
- })) || 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, {
36415
+ })) || 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, {
36445
36416
  selectBusinessType: "channelWarehouse",
36446
36417
  selectProps: _objectSpread2({
36447
36418
  style: styleCommon,
@@ -36463,7 +36434,7 @@ function RenderCompItem(props) {
36463
36434
  getPopupContainer: function getPopupContainer() {
36464
36435
  return document.body;
36465
36436
  }
36466
- })) || 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, {
36437
+ })) || 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, {
36467
36438
  selectBusinessType: "spuCommodity",
36468
36439
  selectProps: _objectSpread2({
36469
36440
  style: styleCommon,
@@ -36484,7 +36455,7 @@ function RenderCompItem(props) {
36484
36455
  getPopupContainer: function getPopupContainer() {
36485
36456
  return document.body;
36486
36457
  }
36487
- })) || 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, {
36458
+ })) || 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, {
36488
36459
  selectBusinessType: "skuCommodity",
36489
36460
  selectProps: _objectSpread2({
36490
36461
  style: styleCommon,
@@ -36505,13 +36476,13 @@ function RenderCompItem(props) {
36505
36476
  getPopupContainer: function getPopupContainer() {
36506
36477
  return document.body;
36507
36478
  }
36508
- })) || 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, {
36479
+ })) || 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, {
36509
36480
  disabled: disabled,
36510
36481
  isAll: true,
36511
36482
  needNameAndCode: true,
36512
36483
  notChangeOnSelect: true,
36513
36484
  initRequestSource: function () {
36514
- var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36485
+ var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36515
36486
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
36516
36487
  while (1) switch (_context2.prev = _context2.next) {
36517
36488
  case 0:
@@ -36553,7 +36524,7 @@ function RenderCompItem(props) {
36553
36524
  getPopupContainer: function getPopupContainer() {
36554
36525
  return document.body;
36555
36526
  }
36556
- })) || 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, {
36527
+ })) || 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, {
36557
36528
  disabled: disabled,
36558
36529
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36559
36530
  businessType: "department",
@@ -36566,7 +36537,7 @@ function RenderCompItem(props) {
36566
36537
  getPopupContainer: function getPopupContainer() {
36567
36538
  return document.body;
36568
36539
  }
36569
- })) || 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, {
36540
+ })) || 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, {
36570
36541
  disabled: disabled,
36571
36542
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36572
36543
  businessType: "purchase-organization",
@@ -36579,7 +36550,7 @@ function RenderCompItem(props) {
36579
36550
  getPopupContainer: function getPopupContainer() {
36580
36551
  return document.body;
36581
36552
  }
36582
- })) || 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, {
36553
+ })) || 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, {
36583
36554
  disabled: disabled,
36584
36555
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36585
36556
  businessType: "sales-organization",
@@ -36592,7 +36563,7 @@ function RenderCompItem(props) {
36592
36563
  getPopupContainer: function getPopupContainer() {
36593
36564
  return document.body;
36594
36565
  }
36595
- })) || 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, {
36566
+ })) || 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, {
36596
36567
  selectBusinessType: "supplier2",
36597
36568
  selectProps: _objectSpread2({
36598
36569
  style: styleCommon,
@@ -36613,7 +36584,7 @@ function RenderCompItem(props) {
36613
36584
  getPopupContainer: function getPopupContainer() {
36614
36585
  return document.body;
36615
36586
  }
36616
- })) || 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, {
36587
+ })) || 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, {
36617
36588
  selectBusinessType: "customer2",
36618
36589
  selectProps: _objectSpread2({
36619
36590
  style: styleCommon,
@@ -36634,7 +36605,7 @@ function RenderCompItem(props) {
36634
36605
  getPopupContainer: function getPopupContainer() {
36635
36606
  return document.body;
36636
36607
  }
36637
- })) || 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, {
36608
+ })) || 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, {
36638
36609
  selectBusinessType: "shopFile2",
36639
36610
  selectProps: _objectSpread2({
36640
36611
  style: styleCommon,
@@ -36655,7 +36626,7 @@ function RenderCompItem(props) {
36655
36626
  getPopupContainer: function getPopupContainer() {
36656
36627
  return document.body;
36657
36628
  }
36658
- })) || 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, {
36629
+ })) || 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, {
36659
36630
  selectBusinessType: "employee2",
36660
36631
  selectProps: _objectSpread2({
36661
36632
  style: styleCommon,
@@ -36676,7 +36647,7 @@ function RenderCompItem(props) {
36676
36647
  getPopupContainer: function getPopupContainer() {
36677
36648
  return document.body;
36678
36649
  }
36679
- })) || 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, {
36650
+ })) || 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, {
36680
36651
  disabled: disabled,
36681
36652
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36682
36653
  businessType: "stock-organization",
@@ -36689,7 +36660,7 @@ function RenderCompItem(props) {
36689
36660
  getPopupContainer: function getPopupContainer() {
36690
36661
  return document.body;
36691
36662
  }
36692
- })) || 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, {
36663
+ })) || 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, {
36693
36664
  disabled: disabled,
36694
36665
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36695
36666
  businessType: "settle-organization",
@@ -36702,7 +36673,7 @@ function RenderCompItem(props) {
36702
36673
  getPopupContainer: function getPopupContainer() {
36703
36674
  return document.body;
36704
36675
  }
36705
- })) || 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, {
36676
+ })) || 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, {
36706
36677
  selectBusinessType: "deliveryMode",
36707
36678
  selectProps: _objectSpread2({
36708
36679
  style: styleCommon,
@@ -36723,7 +36694,7 @@ function RenderCompItem(props) {
36723
36694
  getPopupContainer: function getPopupContainer() {
36724
36695
  return document.body;
36725
36696
  }
36726
- })) || 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, {
36697
+ })) || 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, {
36727
36698
  selectBusinessType: "role",
36728
36699
  selectProps: _objectSpread2({
36729
36700
  style: styleCommon,
@@ -36744,7 +36715,7 @@ function RenderCompItem(props) {
36744
36715
  getPopupContainer: function getPopupContainer() {
36745
36716
  return document.body;
36746
36717
  }
36747
- })) || 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, {
36718
+ })) || 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, {
36748
36719
  selectBusinessType: "brand",
36749
36720
  selectProps: _objectSpread2({
36750
36721
  style: styleCommon,
@@ -36765,7 +36736,7 @@ function RenderCompItem(props) {
36765
36736
  getPopupContainer: function getPopupContainer() {
36766
36737
  return document.body;
36767
36738
  }
36768
- })) || 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, {
36739
+ })) || 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, {
36769
36740
  disabled: disabled,
36770
36741
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36771
36742
  businessType: "background-category",
@@ -36778,7 +36749,7 @@ function RenderCompItem(props) {
36778
36749
  getPopupContainer: function getPopupContainer() {
36779
36750
  return document.body;
36780
36751
  }
36781
- })) || 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, {
36752
+ })) || 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, {
36782
36753
  selectProps: _objectSpread2(_objectSpread2({
36783
36754
  style: styleCommon,
36784
36755
  placeholder: '请选择'
@@ -36801,7 +36772,7 @@ function RenderCompItem(props) {
36801
36772
  onChange: function onChange(value) {
36802
36773
  handleEdit(ites.code, value);
36803
36774
  }
36804
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React$1.createElement("div", {
36775
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
36805
36776
  style: {
36806
36777
  display: 'flex'
36807
36778
  }
@@ -37314,7 +37285,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
37314
37285
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
37315
37286
  queryIdentifyType = 'dynamicDictCodeIdentify';
37316
37287
  }
37317
- var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
37288
+ var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
37318
37289
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
37319
37290
  var _i$key;
37320
37291
  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);
@@ -38283,13 +38254,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
38283
38254
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
38284
38255
  // 处理对象-设置了必填-规则实例保存时数据必填校验
38285
38256
  if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
38286
- var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
38257
+ var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
38287
38258
  var requiredList = list.filter(function (c) {
38288
38259
  return c.required == 1;
38289
38260
  }) || []; // 获取对象属性为true的集合
38290
38261
  (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
38291
38262
  var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
38292
- 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];
38263
+ 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];
38293
38264
  (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) {
38294
38265
  if (requiredList.some(function (r) {
38295
38266
  return r.id === e.elementId;
@@ -38878,7 +38849,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38878
38849
  style: {
38879
38850
  float: 'right'
38880
38851
  }
38881
- })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? ( /*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38852
+ })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38882
38853
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
38883
38854
  ruleGroupInfo: {
38884
38855
  ruleGroupList: ruleGroupList,
@@ -38896,7 +38867,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38896
38867
  callBack: function callBack(newData) {
38897
38868
  upDateData(newData);
38898
38869
  }
38899
- }))) : ( /*#__PURE__*/React$1.createElement("div", {
38870
+ }))) : (/*#__PURE__*/React$1.createElement("div", {
38900
38871
  style: {
38901
38872
  padding: 20
38902
38873
  }
@@ -39271,4 +39242,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
39271
39242
  }, children));
39272
39243
  };
39273
39244
 
39274
- 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, PropertySelector, QueryMutipleInput, QueryMutipleSearchSelect, 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 };
39245
+ 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, PropertySelector, QueryMutipleInput, QueryMutipleSearchSelect, 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 };