@bit-sun/business-component 4.0.12-alpha.17 → 4.0.12-alpha.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -31,9 +31,88 @@ import { parse as parse$1 } from '@babel/parser';
31
31
  import { visit } from 'ast-types';
32
32
  import isArray$1 from 'lodash/isArray';
33
33
 
34
+ function _arrayLikeToArray(r, a) {
35
+ (null == a || a > r.length) && (a = r.length);
36
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
37
+ return n;
38
+ }
39
+ function _arrayWithHoles(r) {
40
+ if (Array.isArray(r)) return r;
41
+ }
42
+ function _arrayWithoutHoles(r) {
43
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
44
+ }
45
+ function _assertThisInitialized(e) {
46
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
47
+ return e;
48
+ }
49
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
50
+ try {
51
+ var i = n[a](c),
52
+ u = i.value;
53
+ } catch (n) {
54
+ return void e(n);
55
+ }
56
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
57
+ }
58
+ function _asyncToGenerator(n) {
59
+ return function () {
60
+ var t = this,
61
+ e = arguments;
62
+ return new Promise(function (r, o) {
63
+ var a = n.apply(t, e);
64
+ function _next(n) {
65
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
66
+ }
67
+ function _throw(n) {
68
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
69
+ }
70
+ _next(void 0);
71
+ });
72
+ };
73
+ }
34
74
  function _callSuper(t, o, e) {
35
75
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
36
76
  }
77
+ function _classCallCheck(a, n) {
78
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
79
+ }
80
+ function _defineProperties(e, r) {
81
+ for (var t = 0; t < r.length; t++) {
82
+ var o = r[t];
83
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
84
+ }
85
+ }
86
+ function _createClass(e, r, t) {
87
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
88
+ writable: !1
89
+ }), e;
90
+ }
91
+ function _defineProperty(e, r, t) {
92
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
93
+ value: t,
94
+ enumerable: !0,
95
+ configurable: !0,
96
+ writable: !0
97
+ }) : e[r] = t, e;
98
+ }
99
+ function _getPrototypeOf(t) {
100
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
101
+ return t.__proto__ || Object.getPrototypeOf(t);
102
+ }, _getPrototypeOf(t);
103
+ }
104
+ function _inherits(t, e) {
105
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
106
+ t.prototype = Object.create(e && e.prototype, {
107
+ constructor: {
108
+ value: t,
109
+ writable: !0,
110
+ configurable: !0
111
+ }
112
+ }), Object.defineProperty(t, "prototype", {
113
+ writable: !1
114
+ }), e && _setPrototypeOf(t, e);
115
+ }
37
116
  function _isNativeReflectConstruct() {
38
117
  try {
39
118
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
@@ -42,6 +121,9 @@ function _isNativeReflectConstruct() {
42
121
  return !!t;
43
122
  })();
44
123
  }
124
+ function _iterableToArray(r) {
125
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
126
+ }
45
127
  function _iterableToArrayLimit(r, l) {
46
128
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
47
129
  if (null != t) {
@@ -69,6 +151,15 @@ function _iterableToArrayLimit(r, l) {
69
151
  return a;
70
152
  }
71
153
  }
154
+ function _nonIterableRest() {
155
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
156
+ }
157
+ function _nonIterableSpread() {
158
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
159
+ }
160
+ function _objectDestructuringEmpty(t) {
161
+ if (null == t) throw new TypeError("Cannot destructure " + t);
162
+ }
72
163
  function ownKeys(e, r) {
73
164
  var t = Object.keys(e);
74
165
  if (Object.getOwnPropertySymbols) {
@@ -90,6 +181,31 @@ function _objectSpread2(e) {
90
181
  }
91
182
  return e;
92
183
  }
184
+ function _objectWithoutProperties(e, t) {
185
+ if (null == e) return {};
186
+ var o,
187
+ r,
188
+ i = _objectWithoutPropertiesLoose(e, t);
189
+ if (Object.getOwnPropertySymbols) {
190
+ var s = Object.getOwnPropertySymbols(e);
191
+ for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
192
+ }
193
+ return i;
194
+ }
195
+ function _objectWithoutPropertiesLoose(r, e) {
196
+ if (null == r) return {};
197
+ var t = {};
198
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
199
+ if (e.includes(n)) continue;
200
+ t[n] = r[n];
201
+ }
202
+ return t;
203
+ }
204
+ function _possibleConstructorReturn(t, e) {
205
+ if (e && ("object" == typeof e || "function" == typeof e)) return e;
206
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
207
+ return _assertThisInitialized(t);
208
+ }
93
209
  function _regeneratorRuntime() {
94
210
  _regeneratorRuntime = function () {
95
211
  return e;
@@ -391,6 +507,20 @@ function _regeneratorRuntime() {
391
507
  }
392
508
  }, e;
393
509
  }
510
+ function _setPrototypeOf(t, e) {
511
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
512
+ return t.__proto__ = e, t;
513
+ }, _setPrototypeOf(t, e);
514
+ }
515
+ function _slicedToArray(r, e) {
516
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
517
+ }
518
+ function _toArray(r) {
519
+ return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
520
+ }
521
+ function _toConsumableArray(r) {
522
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
523
+ }
394
524
  function _toPrimitive(t, r) {
395
525
  if ("object" != typeof t || !t) return t;
396
526
  var e = t[Symbol.toPrimitive];
@@ -414,180 +544,12 @@ function _typeof(o) {
414
544
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
415
545
  }, _typeof(o);
416
546
  }
417
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
418
- try {
419
- var info = gen[key](arg);
420
- var value = info.value;
421
- } catch (error) {
422
- reject(error);
423
- return;
547
+ function _unsupportedIterableToArray(r, a) {
548
+ if (r) {
549
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
550
+ var t = {}.toString.call(r).slice(8, -1);
551
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
424
552
  }
425
- if (info.done) {
426
- resolve(value);
427
- } else {
428
- Promise.resolve(value).then(_next, _throw);
429
- }
430
- }
431
- function _asyncToGenerator(fn) {
432
- return function () {
433
- var self = this,
434
- args = arguments;
435
- return new Promise(function (resolve, reject) {
436
- var gen = fn.apply(self, args);
437
- function _next(value) {
438
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
439
- }
440
- function _throw(err) {
441
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
442
- }
443
- _next(undefined);
444
- });
445
- };
446
- }
447
- function _classCallCheck(instance, Constructor) {
448
- if (!(instance instanceof Constructor)) {
449
- throw new TypeError("Cannot call a class as a function");
450
- }
451
- }
452
- function _defineProperties(target, props) {
453
- for (var i = 0; i < props.length; i++) {
454
- var descriptor = props[i];
455
- descriptor.enumerable = descriptor.enumerable || false;
456
- descriptor.configurable = true;
457
- if ("value" in descriptor) descriptor.writable = true;
458
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
459
- }
460
- }
461
- function _createClass(Constructor, protoProps, staticProps) {
462
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
463
- if (staticProps) _defineProperties(Constructor, staticProps);
464
- Object.defineProperty(Constructor, "prototype", {
465
- writable: false
466
- });
467
- return Constructor;
468
- }
469
- function _defineProperty(obj, key, value) {
470
- key = _toPropertyKey(key);
471
- if (key in obj) {
472
- Object.defineProperty(obj, key, {
473
- value: value,
474
- enumerable: true,
475
- configurable: true,
476
- writable: true
477
- });
478
- } else {
479
- obj[key] = value;
480
- }
481
- return obj;
482
- }
483
- function _inherits(subClass, superClass) {
484
- if (typeof superClass !== "function" && superClass !== null) {
485
- throw new TypeError("Super expression must either be null or a function");
486
- }
487
- subClass.prototype = Object.create(superClass && superClass.prototype, {
488
- constructor: {
489
- value: subClass,
490
- writable: true,
491
- configurable: true
492
- }
493
- });
494
- Object.defineProperty(subClass, "prototype", {
495
- writable: false
496
- });
497
- if (superClass) _setPrototypeOf(subClass, superClass);
498
- }
499
- function _getPrototypeOf(o) {
500
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
501
- return o.__proto__ || Object.getPrototypeOf(o);
502
- };
503
- return _getPrototypeOf(o);
504
- }
505
- function _setPrototypeOf(o, p) {
506
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
507
- o.__proto__ = p;
508
- return o;
509
- };
510
- return _setPrototypeOf(o, p);
511
- }
512
- function _objectDestructuringEmpty(obj) {
513
- if (obj == null) throw new TypeError("Cannot destructure " + obj);
514
- }
515
- function _objectWithoutPropertiesLoose(source, excluded) {
516
- if (source == null) return {};
517
- var target = {};
518
- for (var key in source) {
519
- if (Object.prototype.hasOwnProperty.call(source, key)) {
520
- if (excluded.indexOf(key) >= 0) continue;
521
- target[key] = source[key];
522
- }
523
- }
524
- return target;
525
- }
526
- function _objectWithoutProperties(source, excluded) {
527
- if (source == null) return {};
528
- var target = _objectWithoutPropertiesLoose(source, excluded);
529
- var key, i;
530
- if (Object.getOwnPropertySymbols) {
531
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
532
- for (i = 0; i < sourceSymbolKeys.length; i++) {
533
- key = sourceSymbolKeys[i];
534
- if (excluded.indexOf(key) >= 0) continue;
535
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
536
- target[key] = source[key];
537
- }
538
- }
539
- return target;
540
- }
541
- function _assertThisInitialized(self) {
542
- if (self === void 0) {
543
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
544
- }
545
- return self;
546
- }
547
- function _possibleConstructorReturn(self, call) {
548
- if (call && (typeof call === "object" || typeof call === "function")) {
549
- return call;
550
- } else if (call !== void 0) {
551
- throw new TypeError("Derived constructors may only return object or undefined");
552
- }
553
- return _assertThisInitialized(self);
554
- }
555
- function _slicedToArray(arr, i) {
556
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
557
- }
558
- function _toArray(arr) {
559
- return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
560
- }
561
- function _toConsumableArray(arr) {
562
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
563
- }
564
- function _arrayWithoutHoles(arr) {
565
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
566
- }
567
- function _arrayWithHoles(arr) {
568
- if (Array.isArray(arr)) return arr;
569
- }
570
- function _iterableToArray(iter) {
571
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
572
- }
573
- function _unsupportedIterableToArray(o, minLen) {
574
- if (!o) return;
575
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
576
- var n = Object.prototype.toString.call(o).slice(8, -1);
577
- if (n === "Object" && o.constructor) n = o.constructor.name;
578
- if (n === "Map" || n === "Set") return Array.from(o);
579
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
580
- }
581
- function _arrayLikeToArray(arr, len) {
582
- if (len == null || len > arr.length) len = arr.length;
583
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
584
- return arr2;
585
- }
586
- function _nonIterableSpread() {
587
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
588
- }
589
- function _nonIterableRest() {
590
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
591
553
  }
592
554
 
593
555
  var ENUM = {
@@ -1097,13 +1059,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
1097
1059
  imgHtml.innerHTML = str;
1098
1060
  }
1099
1061
  // 测试使用 测试类型缩小 end
1100
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1062
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1101
1063
  className: "clomnsImg"
1102
1064
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1103
1065
  src: url,
1104
1066
  width: "16px",
1105
1067
  height: "16px"
1106
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("div", {
1068
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
1107
1069
  className: "clomnsImg2"
1108
1070
  }, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1109
1071
  src: noImg
@@ -1242,7 +1204,7 @@ function downloadExcel(data, fileName, isResUrl) {
1242
1204
  }
1243
1205
  save_link.click();
1244
1206
  }
1245
- var formatter = function formatter(data, parentAuthority, parentName) {
1207
+ var _formatter = function formatter(data, parentAuthority, parentName) {
1246
1208
  return data.map(function (item) {
1247
1209
  if (!item.name || !item.path) {
1248
1210
  return null;
@@ -1262,7 +1224,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1262
1224
  authority: item.authority || parentAuthority
1263
1225
  });
1264
1226
  if (item.routes) {
1265
- var children = formatter(item.routes, item.authority, locale);
1227
+ var children = _formatter(item.routes, item.authority, locale);
1266
1228
  // Reduce memory usage
1267
1229
  result.children = children;
1268
1230
  }
@@ -1272,7 +1234,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1272
1234
  return item;
1273
1235
  });
1274
1236
  };
1275
- var memoizeOneFormatter = memoizeOne(formatter, isEqual);
1237
+ var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
1276
1238
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1277
1239
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1278
1240
  if (backHistoryPath) {
@@ -1581,7 +1543,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1581
1543
  // sheepMap是表头字段中英文映射
1582
1544
  // sheetCount:表的数量,默认一张
1583
1545
  var resolveFile = /*#__PURE__*/function () {
1584
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1546
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1585
1547
  var config,
1586
1548
  data,
1587
1549
  _args = arguments;
@@ -1620,7 +1582,7 @@ var resolveFile = /*#__PURE__*/function () {
1620
1582
  }();
1621
1583
  //读取文件
1622
1584
  var readerXlsxToList = /*#__PURE__*/function () {
1623
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1585
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1624
1586
  var _ref5, callback, sheetMap, nowFile, data2, data;
1625
1587
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1626
1588
  while (1) switch (_context2.prev = _context2.next) {
@@ -1713,14 +1675,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
1713
1675
  /**---------------------数据写入excel-------结束------------------------*/
1714
1676
 
1715
1677
  // 获取树平行结构
1716
- var coverToParallel = function coverToParallel(treeData, result, chilKey) {
1678
+ var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
1717
1679
  var childrenKey = chilKey || 'children';
1718
1680
  treeData.forEach(function (el) {
1719
1681
  var _el$childrenKey;
1720
1682
  result.push(el);
1721
1683
  if ((el === null || el === void 0 ? void 0 : el[childrenKey]) && (el === null || el === void 0 ? void 0 : (_el$childrenKey = el[childrenKey]) === null || _el$childrenKey === void 0 ? void 0 : _el$childrenKey.length) > 0) {
1722
1684
  // 子级递归
1723
- coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1685
+ _coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1724
1686
  }
1725
1687
  });
1726
1688
  return result;
@@ -1997,13 +1959,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
1997
1959
  imgHtml.innerHTML = str;
1998
1960
  }
1999
1961
  // 测试使用 测试类型缩小 end
2000
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1962
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
2001
1963
  className: "clomnsImg"
2002
1964
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
2003
1965
  src: url,
2004
1966
  width: "16px",
2005
1967
  height: "16px"
2006
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1968
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
2007
1969
  src: noImg
2008
1970
  }))));
2009
1971
  };
@@ -2065,7 +2027,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2065
2027
  }
2066
2028
  });
2067
2029
  };
2068
- var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && ( /*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2030
+ var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2069
2031
  disabled: disabled,
2070
2032
  onChange: function onChange(e) {
2071
2033
  var v = e.target.value;
@@ -2075,7 +2037,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2075
2037
  width: 170
2076
2038
  },
2077
2039
  value: inputValue
2078
- }, inpProps))), type === 'number' && ( /*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2040
+ }, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2079
2041
  disabled: disabled,
2080
2042
  onBlur: function onBlur(e) {
2081
2043
  var v = parseFloat(e.target.value);
@@ -2454,16 +2416,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2454
2416
  var handleExportBarCode = handleExport;
2455
2417
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2456
2418
  var routerMap = {};
2457
- var flattenMenuData = function flattenMenuData(data) {
2419
+ var _flattenMenuData = function flattenMenuData(data) {
2458
2420
  data.forEach(function (menuItem) {
2459
2421
  if (menuItem.children) {
2460
- flattenMenuData(menuItem.children);
2422
+ _flattenMenuData(menuItem.children);
2461
2423
  }
2462
2424
  // Reduce memory usage
2463
2425
  routerMap[menuItem.path] = menuItem;
2464
2426
  });
2465
2427
  };
2466
- flattenMenuData(menuData);
2428
+ _flattenMenuData(menuData);
2467
2429
  return routerMap;
2468
2430
  };
2469
2431
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -2606,7 +2568,7 @@ var requestUtil = function requestUtil(_ref) {
2606
2568
  return request$1(url, parms).then(handleResponseData);
2607
2569
  };
2608
2570
  var handleResponseData = /*#__PURE__*/function () {
2609
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2571
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2610
2572
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2611
2573
  while (1) switch (_context.prev = _context.next) {
2612
2574
  case 0:
@@ -3280,7 +3242,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3280
3242
  placement: "bottomLeft"
3281
3243
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3282
3244
  title: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
3283
- }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && ( /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3245
+ }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3284
3246
  trigger: ['click'],
3285
3247
  overlay: this.menuList,
3286
3248
  placement: "bottomRight"
@@ -3955,7 +3917,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
3955
3917
  placement: "bottomLeft"
3956
3918
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3957
3919
  title: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
3958
- }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && ( /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3920
+ }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3959
3921
  trigger: ['click'],
3960
3922
  overlay: this.menuList,
3961
3923
  placement: "bottomRight"
@@ -4634,7 +4596,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4634
4596
  textShowText: textShowText,
4635
4597
  textShowKey: item[mappingTextShowKeyField || mappingValueField],
4636
4598
  value: item[mappingValueField],
4637
- keyIndex: index + 1
4599
+ keyIndex: type != 1 ? ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.currentPage) - 1) * (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) + index + 1 : index + 1
4638
4600
  });
4639
4601
  }) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
4640
4602
  var _item$children2;
@@ -4657,13 +4619,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4657
4619
  textShowText: textShowText,
4658
4620
  textShowKey: item[mappingTextShowKeyField || mappingValueField],
4659
4621
  value: item[mappingValueField],
4660
- keyIndex: index + 1
4622
+ keyIndex: type != 1 ? ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.currentPage) - 1) * (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) + index + 1 : index + 1
4661
4623
  });
4662
4624
  })) : [];
4663
4625
  }
4664
4626
  // 补充搜索项--选中的数据添加到数据源中去
4665
4627
  var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
4666
- if ((currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
4628
+ if (type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
4667
4629
  var _source;
4668
4630
  return !((_source = source) === null || _source === void 0 ? void 0 : _source.find(function (r) {
4669
4631
  return r.value == s;
@@ -5352,7 +5314,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5352
5314
  destroyTooltipOnHide: true,
5353
5315
  placement: "topRight",
5354
5316
  autoAdjustOverflow: false,
5355
- title: ( /*#__PURE__*/React$1.createElement("div", {
5317
+ title: (/*#__PURE__*/React$1.createElement("div", {
5356
5318
  style: {
5357
5319
  margin: '6px 8px 0px'
5358
5320
  },
@@ -5424,13 +5386,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5424
5386
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
5425
5387
  return /*#__PURE__*/React$1.createElement("div", {
5426
5388
  className: 'search_select'
5427
- }, fieldComponent ? ( /*#__PURE__*/React$1.createElement("div", {
5389
+ }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
5428
5390
  onClick: function onClick() {
5429
5391
  var _fieldComponent$props, _fieldComponent$props2;
5430
5392
  (_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);
5431
5393
  showModal();
5432
5394
  }
5433
- }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
5395
+ }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
5434
5396
  title: getShowStr(),
5435
5397
  style: {
5436
5398
  overflow: 'hidden',
@@ -5457,10 +5419,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5457
5419
  dropdownRender: function dropdownRender(menu) {
5458
5420
  return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
5459
5421
  },
5460
- notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
5422
+ notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
5461
5423
  size: "small",
5462
5424
  className: 'searchSelectSpin'
5463
- })) : ( /*#__PURE__*/React$1.createElement("div", {
5425
+ })) : (/*#__PURE__*/React$1.createElement("div", {
5464
5426
  style: {
5465
5427
  textAlign: 'center'
5466
5428
  }
@@ -5491,7 +5453,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5491
5453
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
5492
5454
  filterTxt: searchValue
5493
5455
  }));
5494
- }))), needModalTable && isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
5456
+ }))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
5495
5457
  maskClosable: false,
5496
5458
  destroyOnClose: true,
5497
5459
  width: "80%",
@@ -6088,7 +6050,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6088
6050
  style: {
6089
6051
  width: 525
6090
6052
  }
6091
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
6053
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
6092
6054
  checked: !dataSource.some(function (item) {
6093
6055
  if (item.hidden) return true;
6094
6056
  return false;
@@ -6126,13 +6088,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6126
6088
  _this2.onChange(e, item.title);
6127
6089
  }
6128
6090
  }, item.title);
6129
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
6091
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
6130
6092
  style: {
6131
6093
  width: '144px'
6132
6094
  }
6133
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
6095
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
6134
6096
  className: 'sort_table_column_all_empty'
6135
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
6097
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
6136
6098
  className: 'sort_table_column_special'
6137
6099
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
6138
6100
  className: 'sort_table_column_all'
@@ -6321,7 +6283,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
6321
6283
  });
6322
6284
  };
6323
6285
  // 格式化树选择器数据源
6324
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6286
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6325
6287
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
6326
6288
  return {
6327
6289
  title: treeDataItem[resKeyValue[1]],
@@ -6331,7 +6293,7 @@ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6331
6293
  isLeaf: !haveChildren,
6332
6294
  disabled: haveChildren,
6333
6295
  children: haveChildren ? treeDataItem.children.map(function (i) {
6334
- return mapSearchTree(i, resKeyValue);
6296
+ return _mapSearchTree(i, resKeyValue);
6335
6297
  }) : []
6336
6298
  };
6337
6299
  };
@@ -6340,7 +6302,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
6340
6302
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
6341
6303
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
6342
6304
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
6343
- return mapSearchTree(ites, resKeyValue);
6305
+ return _mapSearchTree(ites, resKeyValue);
6344
6306
  }) || [];
6345
6307
  changeSearchForm[changePosition].field.props.treeData = formatData;
6346
6308
  };
@@ -6511,7 +6473,7 @@ var AddSelect = function AddSelect(props) {
6511
6473
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
6512
6474
  // FIXME: 特殊业务逻辑
6513
6475
  var checkSelectChange = /*#__PURE__*/function () {
6514
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
6476
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
6515
6477
  var result;
6516
6478
  return _regeneratorRuntime().wrap(function _callee$(_context) {
6517
6479
  while (1) switch (_context.prev = _context.next) {
@@ -6764,7 +6726,7 @@ var AddSelect = function AddSelect(props) {
6764
6726
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
6765
6727
  value: text || null,
6766
6728
  onChange: function () {
6767
- var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
6729
+ var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
6768
6730
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
6769
6731
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
6770
6732
  while (1) switch (_context2.prev = _context2.next) {
@@ -7372,10 +7334,10 @@ var AddSelect = function AddSelect(props) {
7372
7334
  var newColumns = arr.map(function (col) {
7373
7335
  return _objectSpread2({}, col);
7374
7336
  });
7375
- var handleIndex = function handleIndex(arr, indexArr) {
7337
+ var _handleIndex = function handleIndex(arr, indexArr) {
7376
7338
  var i = indexArr.shift();
7377
7339
  if (indexArr.length > 0) {
7378
- handleIndex(arr[i].children, indexArr);
7340
+ _handleIndex(arr[i].children, indexArr);
7379
7341
  } else {
7380
7342
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
7381
7343
  width: size.width
@@ -7383,7 +7345,7 @@ var AddSelect = function AddSelect(props) {
7383
7345
  handleAntdColumnsSpecialParams(arr[i]);
7384
7346
  }
7385
7347
  };
7386
- handleIndex(newColumns, _toConsumableArray(index));
7348
+ _handleIndex(newColumns, _toConsumableArray(index));
7387
7349
  callback(newColumns);
7388
7350
  };
7389
7351
  };
@@ -7393,13 +7355,13 @@ var AddSelect = function AddSelect(props) {
7393
7355
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
7394
7356
  setShowToChooseColumns(_toConsumableArray(newColumns));
7395
7357
  };
7396
- var handleColumns = function handleColumns(arr, indexArr, callback) {
7358
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
7397
7359
  arr.forEach(function (item, index) {
7398
7360
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
7399
7361
  return i || i === 0;
7400
7362
  });
7401
7363
  if (noEmptyArray$1(item.children)) {
7402
- handleColumns(item.children, indexArrInside);
7364
+ _handleColumns(item.children, indexArrInside);
7403
7365
  } else {
7404
7366
  item.width = item.width || getItemDefaultWidth$2(item);
7405
7367
  item.onHeaderCell = function (column) {
@@ -7415,14 +7377,14 @@ var AddSelect = function AddSelect(props) {
7415
7377
  handleAntdColumnsSpecialParams(item);
7416
7378
  return _objectSpread2({}, item);
7417
7379
  });
7418
- handleColumns(showToChooseCol, [], function (res) {
7380
+ _handleColumns(showToChooseCol, [], function (res) {
7419
7381
  return setShowToChooseColumnsCallback(res);
7420
7382
  });
7421
7383
  var showSelectedCol = showColumns.map(function (item) {
7422
7384
  handleAntdColumnsSpecialParams(item);
7423
7385
  return _objectSpread2({}, item);
7424
7386
  });
7425
- handleColumns(showSelectedCol, [], function (res) {
7387
+ _handleColumns(showSelectedCol, [], function (res) {
7426
7388
  return setShowColumnsCallback(res);
7427
7389
  });
7428
7390
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -7433,7 +7395,7 @@ var AddSelect = function AddSelect(props) {
7433
7395
  id: "add_select_div_".concat(uniqueValue)
7434
7396
  }, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
7435
7397
  onClick: handleShowModal
7436
- }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, {
7398
+ }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
7437
7399
  width: '1200px',
7438
7400
  style: {
7439
7401
  top: 20
@@ -8347,7 +8309,7 @@ var BillEntry = function BillEntry(_ref3) {
8347
8309
  });
8348
8310
  };
8349
8311
  var handleSubmit = /*#__PURE__*/function () {
8350
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
8312
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
8351
8313
  var canEntryObject, _canEntryObject$error, messageInfo;
8352
8314
  return _regeneratorRuntime().wrap(function _callee$(_context) {
8353
8315
  while (1) switch (_context.prev = _context.next) {
@@ -8430,10 +8392,10 @@ var BillEntry = function BillEntry(_ref3) {
8430
8392
  var newColumns = arr.map(function (col) {
8431
8393
  return _objectSpread2({}, col);
8432
8394
  });
8433
- var handleIndex = function handleIndex(arr, indexArr) {
8395
+ var _handleIndex = function handleIndex(arr, indexArr) {
8434
8396
  var i = indexArr.shift();
8435
8397
  if (indexArr.length > 0) {
8436
- handleIndex(arr[i].children, indexArr);
8398
+ _handleIndex(arr[i].children, indexArr);
8437
8399
  } else {
8438
8400
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8439
8401
  width: size.width
@@ -8441,17 +8403,17 @@ var BillEntry = function BillEntry(_ref3) {
8441
8403
  handleAntdColumnsSpecialParams(arr[i]);
8442
8404
  }
8443
8405
  };
8444
- handleIndex(newColumns, _toConsumableArray(index));
8406
+ _handleIndex(newColumns, _toConsumableArray(index));
8445
8407
  callback(newColumns);
8446
8408
  };
8447
8409
  };
8448
- var handleColumns = function handleColumns(arr, indexArr, callback) {
8410
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
8449
8411
  arr.forEach(function (item, index) {
8450
8412
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8451
8413
  return i || i === 0;
8452
8414
  });
8453
8415
  if (noEmptyArray$1(item.children)) {
8454
- handleColumns(item.children, indexArrInside);
8416
+ _handleColumns(item.children, indexArrInside);
8455
8417
  } else {
8456
8418
  item.width = item.width || getItemDefaultWidth$2(item);
8457
8419
  item.onHeaderCell = function (column) {
@@ -8467,7 +8429,7 @@ var BillEntry = function BillEntry(_ref3) {
8467
8429
  handleAntdColumnsSpecialParams(item);
8468
8430
  return _objectSpread2({}, item);
8469
8431
  });
8470
- handleColumns(showSelectedCol, [], function (res) {
8432
+ _handleColumns(showSelectedCol, [], function (res) {
8471
8433
  return setShowColumnsCallback(res);
8472
8434
  });
8473
8435
  return /*#__PURE__*/React$1.createElement("div", {
@@ -8781,7 +8743,7 @@ function commonFun(type, prefixUrl, parentProps) {
8781
8743
  });
8782
8744
  };
8783
8745
  // 格式化树选择器数据源
8784
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
8746
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
8785
8747
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
8786
8748
  return {
8787
8749
  title: treeDataItem[resKeyValue[1]],
@@ -8791,7 +8753,7 @@ function commonFun(type, prefixUrl, parentProps) {
8791
8753
  isLeaf: !haveChildren,
8792
8754
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
8793
8755
  children: haveChildren ? treeDataItem.children.map(function (i) {
8794
- return mapSearchTree(i, resKeyValue, disabledJudge);
8756
+ return _mapSearchTree(i, resKeyValue, disabledJudge);
8795
8757
  }) : []
8796
8758
  };
8797
8759
  };
@@ -8805,7 +8767,7 @@ function commonFun(type, prefixUrl, parentProps) {
8805
8767
  disabledJudge = false;
8806
8768
  }
8807
8769
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
8808
- return mapSearchTree(ites, resKeyValue, disabledJudge);
8770
+ return _mapSearchTree(ites, resKeyValue, disabledJudge);
8809
8771
  }) || [];
8810
8772
  changeSearchForm[changePosition].field.props.treeData = formatData;
8811
8773
  };
@@ -12855,7 +12817,7 @@ var CommodityEntry = function CommodityEntry(props) {
12855
12817
  };
12856
12818
  return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
12857
12819
  onClick: handleShowModal
12858
- }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
12820
+ }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
12859
12821
  onOk: handleOk,
12860
12822
  onCancel: handleCancel,
12861
12823
  destroyOnClose: true,
@@ -12974,7 +12936,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12974
12936
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
12975
12937
  _remoteSource$special = remoteSource.specialBracket,
12976
12938
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
12977
- var mapSearchTree = function mapSearchTree(treeDataItem) {
12939
+ var _mapSearchTree = function mapSearchTree(treeDataItem) {
12978
12940
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
12979
12941
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
12980
12942
  return {
@@ -12986,7 +12948,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12986
12948
  isLeaf: !haveChildren,
12987
12949
  disabled: isDisabled(haveChildren, isRoot),
12988
12950
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
12989
- return mapSearchTree(i);
12951
+ return _mapSearchTree(i);
12990
12952
  }) : []
12991
12953
  };
12992
12954
  };
@@ -13004,8 +12966,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13004
12966
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
13005
12967
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
13006
12968
  headers: headers
13007
- }).then( /*#__PURE__*/function () {
13008
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
12969
+ }).then(/*#__PURE__*/function () {
12970
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
13009
12971
  var _ctx$form;
13010
12972
  var resData, coverData, data, dataList;
13011
12973
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -13032,7 +12994,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13032
12994
  case 9:
13033
12995
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
13034
12996
  coverData = dataList.length && dataList.map(function (ites) {
13035
- return mapSearchTree(ites);
12997
+ return _mapSearchTree(ites);
13036
12998
  }) || [];
13037
12999
  case 11:
13038
13000
  _context.next = 14;
@@ -13070,11 +13032,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13070
13032
  return _formatResult;
13071
13033
  }
13072
13034
  };
13073
- var parallelData = function parallelData(data, result) {
13035
+ var _parallelData = function parallelData(data, result) {
13074
13036
  data.forEach(function (i) {
13075
13037
  result.push(i);
13076
13038
  if (i[treeChildrenRoom]) {
13077
- parallelData(i[treeChildrenRoom], result);
13039
+ _parallelData(i[treeChildrenRoom], result);
13078
13040
  }
13079
13041
  });
13080
13042
  return result;
@@ -13114,7 +13076,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13114
13076
  var _ctx$form2;
13115
13077
  var handleData = formatData(data);
13116
13078
  // 获取选中树节点当条数据,并返回给调用业务
13117
- var parallelTreeData = parallelData(treeData, []);
13079
+ var parallelTreeData = _parallelData(treeData, []);
13118
13080
  var currentItem = getSelectItem(parallelTreeData, data);
13119
13081
  onChange(handleData, data, currentItem, parallelTreeData);
13120
13082
  onChangeName && onChangeName(dataName);
@@ -13157,7 +13119,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13157
13119
  var getShowStr = function getShowStr() {
13158
13120
  var isMultiple = multiple || treeCheckable;
13159
13121
  var kongValue = '无';
13160
- var parallelTreeData = parallelData(treeData, []);
13122
+ var parallelTreeData = _parallelData(treeData, []);
13161
13123
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
13162
13124
  if (isMultiple) {
13163
13125
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -13169,7 +13131,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13169
13131
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
13170
13132
  return /*#__PURE__*/React$1.createElement("div", {
13171
13133
  className: 'tree_search_select'
13172
- }, isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
13134
+ }, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
13173
13135
  title: getShowStr(),
13174
13136
  style: {
13175
13137
  overflow: 'hidden',
@@ -13177,7 +13139,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13177
13139
  whiteSpace: 'nowrap'
13178
13140
  },
13179
13141
  className: 'search_select_show'
13180
- }, getShowStr())) : ( /*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
13142
+ }, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
13181
13143
  treeCheckable: treeCheckable,
13182
13144
  maxTagCount: maxTagCount,
13183
13145
  showSearch: showSearch,
@@ -13374,7 +13336,7 @@ var index$2 = (function (props) {
13374
13336
  } : {}
13375
13337
  }, item.text)), /*#__PURE__*/React$1.createElement("div", {
13376
13338
  className: 'status-label-operate'
13377
- }, item.isDone ? ( /*#__PURE__*/React$1.createElement("div", {
13339
+ }, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
13378
13340
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
13379
13341
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
13380
13342
  style: {
@@ -14155,7 +14117,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14155
14117
  style: {
14156
14118
  width: 525
14157
14119
  }
14158
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
14120
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
14159
14121
  checked: !dataSource.some(function (item) {
14160
14122
  if (item.hidden) return true;
14161
14123
  return false;
@@ -14193,13 +14155,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14193
14155
  _this2.onChange(e, item.title);
14194
14156
  }
14195
14157
  }, item.title);
14196
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
14158
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
14197
14159
  style: {
14198
14160
  width: '144px'
14199
14161
  }
14200
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
14162
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
14201
14163
  className: 'sort_table_column_all_empty'
14202
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
14164
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
14203
14165
  className: 'sort_table_column_special'
14204
14166
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
14205
14167
  className: 'sort_table_column_all'
@@ -14378,10 +14340,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14378
14340
  var newColumns = _this.state.showColumns.map(function (col) {
14379
14341
  return _objectSpread2({}, col);
14380
14342
  });
14381
- var handleIndex = function handleIndex(arr, indexArr) {
14343
+ var _handleIndex = function handleIndex(arr, indexArr) {
14382
14344
  var i = indexArr.shift();
14383
14345
  if (indexArr.length > 0) {
14384
- handleIndex(arr[i].children, indexArr);
14346
+ _handleIndex(arr[i].children, indexArr);
14385
14347
  } else {
14386
14348
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
14387
14349
  width: size.width
@@ -14389,7 +14351,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14389
14351
  handleBssulaColumnsSpecialParams(arr[i]);
14390
14352
  }
14391
14353
  };
14392
- handleIndex(newColumns, _toConsumableArray(index));
14354
+ _handleIndex(newColumns, _toConsumableArray(index));
14393
14355
  _this.setState({
14394
14356
  showColumns: _toConsumableArray(newColumns)
14395
14357
  });
@@ -14430,7 +14392,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14430
14392
  };
14431
14393
  setIsResizing(true);
14432
14394
  document.addEventListener('mousemove', handleMouseMove);
14433
- document.addEventListener('mouseup', handleMouseUp);
14395
+ document.addEventListener('mouseup', _handleMouseUp);
14434
14396
  };
14435
14397
  var handleMouseMove = function handleMouseMove(e) {
14436
14398
  e.stopPropagation();
@@ -14446,9 +14408,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14446
14408
  dom.style.top = "".concat(e.clientY - 20, "px");
14447
14409
  }
14448
14410
  };
14449
- var handleMouseUp = function handleMouseUp(e) {
14411
+ var _handleMouseUp = function handleMouseUp(e) {
14450
14412
  document.removeEventListener('mousemove', handleMouseMove);
14451
- document.removeEventListener('mouseup', handleMouseUp);
14413
+ document.removeEventListener('mouseup', _handleMouseUp);
14452
14414
  setIsResizing(false);
14453
14415
  };
14454
14416
  var handleresize = function handleresize(e, data, title) {
@@ -14569,13 +14531,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14569
14531
  showSummary = summary;
14570
14532
  }
14571
14533
  }
14572
- var handleColumns = function handleColumns(arr, indexArr) {
14534
+ var _handleColumns = function handleColumns(arr, indexArr) {
14573
14535
  arr.forEach(function (item, index) {
14574
14536
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
14575
14537
  return i || i === 0;
14576
14538
  });
14577
14539
  if (noEmptyArray$1(item.children)) {
14578
- handleColumns(item.children, indexArrInside);
14540
+ _handleColumns(item.children, indexArrInside);
14579
14541
  } else {
14580
14542
  item.width = item.width || getItemDefaultWidth$2(item);
14581
14543
  item.onHeaderCell = function (column) {
@@ -14591,7 +14553,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14591
14553
  handleBssulaColumnsSpecialParams(item);
14592
14554
  return _objectSpread2({}, item);
14593
14555
  });
14594
- handleColumns(showCol, []);
14556
+ _handleColumns(showCol, []);
14595
14557
  if (dynamicColumns.length) {
14596
14558
  showCol = this.handledynamicColumns(showCol);
14597
14559
  }
@@ -14632,7 +14594,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14632
14594
  cell: this.ResizeableTitle
14633
14595
  }
14634
14596
  }
14635
- }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
14597
+ }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
14636
14598
  summary: summary
14637
14599
  })));
14638
14600
  }
@@ -14729,10 +14691,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14729
14691
  var newColumns = _this.state.showColumns.map(function (col) {
14730
14692
  return _objectSpread2({}, col);
14731
14693
  });
14732
- var handleIndex = function handleIndex(arr, indexArr) {
14694
+ var _handleIndex = function handleIndex(arr, indexArr) {
14733
14695
  var i = indexArr.shift();
14734
14696
  if (indexArr.length > 0) {
14735
- handleIndex(arr[i].children, indexArr);
14697
+ _handleIndex(arr[i].children, indexArr);
14736
14698
  } else {
14737
14699
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
14738
14700
  width: size.width
@@ -14740,7 +14702,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14740
14702
  handleAntdColumnsSpecialParams(arr[i]);
14741
14703
  }
14742
14704
  };
14743
- handleIndex(newColumns, _toConsumableArray(index));
14705
+ _handleIndex(newColumns, _toConsumableArray(index));
14744
14706
  _this.setState({
14745
14707
  showColumns: _toConsumableArray(newColumns)
14746
14708
  });
@@ -14816,13 +14778,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14816
14778
  showSummary = summary;
14817
14779
  }
14818
14780
  }
14819
- var handleColumns = function handleColumns(arr, indexArr) {
14781
+ var _handleColumns = function handleColumns(arr, indexArr) {
14820
14782
  arr.forEach(function (item, index) {
14821
14783
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
14822
14784
  return i || i === 0;
14823
14785
  });
14824
14786
  if (noEmptyArray$1(item.children)) {
14825
- handleColumns(item.children, indexArrInside);
14787
+ _handleColumns(item.children, indexArrInside);
14826
14788
  } else {
14827
14789
  item.width = item.width || getItemDefaultWidth$2(item);
14828
14790
  item.onHeaderCell = function (column) {
@@ -14838,7 +14800,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14838
14800
  handleAntdColumnsSpecialParams(item);
14839
14801
  return _objectSpread2({}, item);
14840
14802
  });
14841
- handleColumns(showCol, []);
14803
+ _handleColumns(showCol, []);
14842
14804
  if (dynamicColumns.length) {
14843
14805
  showCol = this.handledynamicColumns(showCol);
14844
14806
  }
@@ -14878,7 +14840,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14878
14840
  cell: this.ResizeableTitle
14879
14841
  }
14880
14842
  }
14881
- }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
14843
+ }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
14882
14844
  summary: summary
14883
14845
  })));
14884
14846
  }
@@ -14938,20 +14900,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
14938
14900
  };
14939
14901
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
14940
14902
  var routerMap = {};
14941
- var flattenMenuData = function flattenMenuData(data, parent) {
14903
+ var _flattenMenuData2 = function flattenMenuData(data, parent) {
14942
14904
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
14943
14905
  data.forEach(function (menuItem) {
14944
14906
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
14945
14907
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
14946
14908
  });
14947
14909
  if (newMenuItem.children) {
14948
- flattenMenuData(newMenuItem.children, newMenuItem);
14910
+ _flattenMenuData2(newMenuItem.children, newMenuItem);
14949
14911
  }
14950
14912
  // Reduce memory usage
14951
14913
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
14952
14914
  });
14953
14915
  };
14954
- flattenMenuData(menuData, {});
14916
+ _flattenMenuData2(menuData, {});
14955
14917
  return routerMap;
14956
14918
  };
14957
14919
  // mode类型判断
@@ -15277,7 +15239,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
15277
15239
  display: 'flex',
15278
15240
  gap: '8px'
15279
15241
  }
15280
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
15242
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
15281
15243
  title: "\u53D6\u6D88\u5168\u5C4F"
15282
15244
  }, /*#__PURE__*/React$1.createElement("img", {
15283
15245
  onClick: function onClick() {
@@ -15285,7 +15247,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
15285
15247
  },
15286
15248
  width: 24,
15287
15249
  src: scanning
15288
- }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
15250
+ }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
15289
15251
  title: "\u5168\u5C4F"
15290
15252
  }, /*#__PURE__*/React$1.createElement("img", {
15291
15253
  onClick: function onClick() {
@@ -15293,7 +15255,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
15293
15255
  },
15294
15256
  width: 24,
15295
15257
  src: quanping
15296
- }))))) : null)), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15258
+ }))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15297
15259
  }, function (prevProps, nextProps) {
15298
15260
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
15299
15261
  return false;
@@ -15378,7 +15340,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
15378
15340
  }, /*#__PURE__*/React$1.createElement("span", {
15379
15341
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
15380
15342
  }, item));
15381
- }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15343
+ }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15382
15344
  }, function (prevProps, nextProps) {
15383
15345
  if (prevProps.title !== nextProps.title) {
15384
15346
  return false;
@@ -16018,7 +15980,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16018
15980
  });
16019
15981
  return /*#__PURE__*/React$1.createElement("div", {
16020
15982
  className: 'sort_table_wrapper'
16021
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
15983
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
16022
15984
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
16023
15985
  wrapClassName: 'sort_table_wrapper',
16024
15986
  width: 810,
@@ -16069,7 +16031,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16069
16031
  width: 525,
16070
16032
  height: 24
16071
16033
  }
16072
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
16034
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
16073
16035
  checked: !dataSource.some(function (item) {
16074
16036
  if (item.hidden) return true;
16075
16037
  return false;
@@ -16123,13 +16085,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16123
16085
  _this2.onChange(e, item.title);
16124
16086
  }
16125
16087
  }, item.title);
16126
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
16088
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
16127
16089
  style: {
16128
16090
  width: '144px'
16129
16091
  }
16130
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
16092
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
16131
16093
  className: 'sort_table_column_all_empty'
16132
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
16094
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
16133
16095
  className: 'sort_table_column_special'
16134
16096
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
16135
16097
  className: 'sort_table_column_all'
@@ -16603,7 +16565,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16603
16565
  });
16604
16566
  return /*#__PURE__*/React$1.createElement("div", {
16605
16567
  className: 'sort_table_wrapper'
16606
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
16568
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
16607
16569
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
16608
16570
  wrapClassName: 'sort_table_wrapper',
16609
16571
  width: 820,
@@ -16648,7 +16610,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16648
16610
  style: {
16649
16611
  width: 525
16650
16612
  }
16651
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
16613
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
16652
16614
  checked: !dataSource.some(function (item) {
16653
16615
  if (item.hidden) return true;
16654
16616
  return false;
@@ -16684,11 +16646,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16684
16646
  _this2.onChange(e, item.name);
16685
16647
  }
16686
16648
  }, item.label);
16687
- }), !!newSearchSource.length && ( /*#__PURE__*/React$1.createElement("span", {
16649
+ }), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
16688
16650
  style: {
16689
16651
  width: '144px'
16690
16652
  }
16691
- })), !newSearchSource.length && ( /*#__PURE__*/React$1.createElement("div", {
16653
+ })), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
16692
16654
  className: 'sort_table_column_all_empty'
16693
16655
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
16694
16656
  className: 'sort_table_content_wrapper'
@@ -16787,7 +16749,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
16787
16749
  };
16788
16750
  setIsResizing(true);
16789
16751
  document.addEventListener('mousemove', handleMouseMove);
16790
- document.addEventListener('mouseup', handleMouseUp);
16752
+ document.addEventListener('mouseup', _handleMouseUp);
16791
16753
  };
16792
16754
  var handleMouseMove = function handleMouseMove(e) {
16793
16755
  e.stopPropagation();
@@ -16803,9 +16765,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
16803
16765
  dom.style.top = "".concat(e.clientY - 20, "px");
16804
16766
  }
16805
16767
  };
16806
- var handleMouseUp = function handleMouseUp(e) {
16768
+ var _handleMouseUp = function handleMouseUp(e) {
16807
16769
  document.removeEventListener('mousemove', handleMouseMove);
16808
- document.removeEventListener('mouseup', handleMouseUp);
16770
+ document.removeEventListener('mouseup', _handleMouseUp);
16809
16771
  setIsResizing(false);
16810
16772
  };
16811
16773
  var handleresize = function handleresize(e, data, title) {
@@ -17216,7 +17178,7 @@ var BsSulaQueryTable = (function (props) {
17216
17178
  actionsRender = actionsRender.concat([{
17217
17179
  type: 'text',
17218
17180
  props: {
17219
- children: ( /*#__PURE__*/React$1.createElement(ExportIcon, {
17181
+ children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
17220
17182
  request: {
17221
17183
  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),
17222
17184
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -17462,7 +17424,7 @@ var BsSulaQueryTable = (function (props) {
17462
17424
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
17463
17425
  bsTableCode: bsTableCode,
17464
17426
  onlyModal: true
17465
- }), (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, {
17427
+ }), (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, {
17466
17428
  ref: exportTableRef,
17467
17429
  setShowColumns: setShowExportColumns,
17468
17430
  setInitialTableInfo: setInitialTableInfo,
@@ -17555,11 +17517,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
17555
17517
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
17556
17518
  var resultList = [];
17557
17519
  var newRouter = cloneDeep(router);
17558
- var deep = function deep(router) {
17520
+ var _deep = function deep(router) {
17559
17521
  if (router && Array.isArray(router)) {
17560
17522
  router.forEach(function (item) {
17561
17523
  if (item.children && Array.isArray(item.children)) {
17562
- deep(item.children);
17524
+ _deep(item.children);
17563
17525
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
17564
17526
  return d === item.code;
17565
17527
  })) {
@@ -17573,10 +17535,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
17573
17535
  resultList.push(_objectSpread2({}, router));
17574
17536
  }
17575
17537
  };
17576
- deep(newRouter);
17538
+ _deep(newRouter);
17577
17539
  callBack([].concat(resultList));
17578
17540
  };
17579
- var setMenuTreeData = function setMenuTreeData(routesData) {
17541
+ var _setMenuTreeData = function setMenuTreeData(routesData) {
17580
17542
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
17581
17543
  var _loop = function _loop(i) {
17582
17544
  if (routesData[i].hideInMenu) {
@@ -17590,7 +17552,7 @@ var setMenuTreeData = function setMenuTreeData(routesData) {
17590
17552
  return 0; // continue
17591
17553
  }
17592
17554
  if (routesData[i].children) {
17593
- setMenuTreeData(routesData[i].children);
17555
+ _setMenuTreeData(routesData[i].children);
17594
17556
  }
17595
17557
  },
17596
17558
  _ret;
@@ -17611,16 +17573,16 @@ var setLoginOutPath = function setLoginOutPath() {
17611
17573
  };
17612
17574
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
17613
17575
  var routerMap = {};
17614
- var flattenMenuData = function flattenMenuData(data) {
17576
+ var _flattenMenuData = function flattenMenuData(data) {
17615
17577
  data.forEach(function (menuItem) {
17616
17578
  if (menuItem.children) {
17617
- flattenMenuData(menuItem.children);
17579
+ _flattenMenuData(menuItem.children);
17618
17580
  }
17619
17581
  // Reduce memory usage
17620
17582
  routerMap[menuItem.path] = menuItem;
17621
17583
  });
17622
17584
  };
17623
- flattenMenuData(menuData);
17585
+ _flattenMenuData(menuData);
17624
17586
  return routerMap;
17625
17587
  };
17626
17588
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -17766,7 +17728,7 @@ var DrawContent = function DrawContent(_ref) {
17766
17728
  sethomepageData(homepageDataList);
17767
17729
  setroutesData(routesDataList);
17768
17730
  }, []);
17769
- var renderChildItem = function renderChildItem(child) {
17731
+ var _renderChildItem = function renderChildItem(child) {
17770
17732
  if (!child.hideInMenu && child.children) {
17771
17733
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
17772
17734
  style: {
@@ -17776,7 +17738,7 @@ var DrawContent = function DrawContent(_ref) {
17776
17738
  }, formatMessage({
17777
17739
  id: "".concat(child.locale)
17778
17740
  })), child.children.map(function (menuItem) {
17779
- return renderChildItem(menuItem);
17741
+ return _renderChildItem(menuItem);
17780
17742
  }));
17781
17743
  } else if (!child.hideInMenu && child.path) {
17782
17744
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -17811,7 +17773,7 @@ var DrawContent = function DrawContent(_ref) {
17811
17773
  className: 'drawerWarp'
17812
17774
  }, homepageData && homepageData.filter(function (d) {
17813
17775
  return !d.hideInMenu;
17814
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
17776
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
17815
17777
  className: classNames('allFunsList', 'allFunsListWarp'),
17816
17778
  dataSource: homepageData,
17817
17779
  renderItem: function renderItem(child) {
@@ -17846,7 +17808,7 @@ var DrawContent = function DrawContent(_ref) {
17846
17808
  bordered: true,
17847
17809
  dataSource: item.children,
17848
17810
  renderItem: function renderItem(child) {
17849
- return renderChildItem(child);
17811
+ return _renderChildItem(child);
17850
17812
  }
17851
17813
  });
17852
17814
  })));
@@ -17906,7 +17868,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
17906
17868
  src: allfunc
17907
17869
  })), /*#__PURE__*/React$1.createElement("span", {
17908
17870
  className: 'btnSpan2'
17909
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
17871
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
17910
17872
  style: {
17911
17873
  left: isDrawer ? 140 : 0,
17912
17874
  top: 50
@@ -17952,7 +17914,7 @@ function outLogin(_x) {
17952
17914
  return _outLogin.apply(this, arguments);
17953
17915
  }
17954
17916
  function _outLogin() {
17955
- _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
17917
+ _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
17956
17918
  var res;
17957
17919
  return _regeneratorRuntime().wrap(function _callee$(_context) {
17958
17920
  while (1) switch (_context.prev = _context.next) {
@@ -18094,7 +18056,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
18094
18056
  });
18095
18057
  };
18096
18058
  var loginOut = /*#__PURE__*/function () {
18097
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
18059
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
18098
18060
  var sessionId;
18099
18061
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18100
18062
  while (1) switch (_context.prev = _context.next) {
@@ -18198,7 +18160,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
18198
18160
  marginRight: '0px'
18199
18161
  },
18200
18162
  src: './xialajiantou-new.svg'
18201
- }))))), loginModalParams.visible && ( /*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
18163
+ }))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
18202
18164
  };
18203
18165
 
18204
18166
  // -- 查询店铺 --
@@ -18206,7 +18168,7 @@ function getStoreByName(_x) {
18206
18168
  return _getStoreByName.apply(this, arguments);
18207
18169
  }
18208
18170
  function _getStoreByName() {
18209
- _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18171
+ _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18210
18172
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18211
18173
  while (1) switch (_context.prev = _context.next) {
18212
18174
  case 0:
@@ -18274,7 +18236,7 @@ var ChooseStore = function ChooseStore(props) {
18274
18236
  return _fetchUserList.apply(this, arguments);
18275
18237
  }
18276
18238
  function _fetchUserList() {
18277
- _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
18239
+ _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
18278
18240
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
18279
18241
  while (1) switch (_context3.prev = _context3.next) {
18280
18242
  case 0:
@@ -18322,7 +18284,7 @@ var ChooseStore = function ChooseStore(props) {
18322
18284
  return debounce$1(loadOptions, debounceTimeout);
18323
18285
  }, [debounceTimeout, key]);
18324
18286
  var changeInput = /*#__PURE__*/function () {
18325
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
18287
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
18326
18288
  var res;
18327
18289
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18328
18290
  while (1) switch (_context.prev = _context.next) {
@@ -18344,7 +18306,7 @@ var ChooseStore = function ChooseStore(props) {
18344
18306
  };
18345
18307
  }();
18346
18308
  useEffect(function () {
18347
- _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
18309
+ _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
18348
18310
  var res;
18349
18311
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
18350
18312
  while (1) switch (_context2.prev = _context2.next) {
@@ -18509,7 +18471,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
18509
18471
  var resultList = [];
18510
18472
  var newRouter = cloneDeep$1(router);
18511
18473
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
18512
- var deep = function deep(router) {
18474
+ var _deep = function deep(router) {
18513
18475
  if (router && Array.isArray(router)) {
18514
18476
  router.forEach(function (item) {
18515
18477
  if (item.routes && Array.isArray(item.routes)) {
@@ -18519,7 +18481,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
18519
18481
  d.nameEdit = true;
18520
18482
  }
18521
18483
  });
18522
- deep(item.routes);
18484
+ _deep(item.routes);
18523
18485
  } else if (!item.hideInMenu && (name ? formatMessage({
18524
18486
  id: "menu.".concat(item.name)
18525
18487
  }).indexOf(name) !== -1 : true)) {
@@ -18538,7 +18500,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
18538
18500
  }));
18539
18501
  }
18540
18502
  };
18541
- deep(newRouter);
18503
+ _deep(newRouter);
18542
18504
  setroutesData([].concat(resultList));
18543
18505
  };
18544
18506
  var renderLineStyl = function renderLineStyl(name) {
@@ -18620,7 +18582,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
18620
18582
  },
18621
18583
  title: item.fullPathName
18622
18584
  }, renderLineStyl(item.fullPathName));
18623
- }))))), showSelectStore && ( /*#__PURE__*/React$1.createElement(ChooseStore, {
18585
+ }))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
18624
18586
  employeeCode: employeeCode
18625
18587
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
18626
18588
  };
@@ -18635,7 +18597,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
18635
18597
  var TreeNode = Tree.TreeNode;
18636
18598
  var Search$2 = Input.Search;
18637
18599
  var dataList = [];
18638
- var generateList = function generateList(data) {
18600
+ var _generateList = function generateList(data) {
18639
18601
  for (var i = 0; i < data.length; i++) {
18640
18602
  var node = data[i];
18641
18603
  var path = node.path,
@@ -18645,11 +18607,11 @@ var generateList = function generateList(data) {
18645
18607
  name: name
18646
18608
  });
18647
18609
  if (node.children) {
18648
- generateList(node.children);
18610
+ _generateList(node.children);
18649
18611
  }
18650
18612
  }
18651
18613
  };
18652
- var getParentKey = function getParentKey(path, tree) {
18614
+ var _getParentKey = function getParentKey(path, tree) {
18653
18615
  var parentKey;
18654
18616
  for (var i = 0; i < tree.length; i++) {
18655
18617
  var node = tree[i];
@@ -18658,8 +18620,8 @@ var getParentKey = function getParentKey(path, tree) {
18658
18620
  return item.path === path;
18659
18621
  })) {
18660
18622
  parentKey = node.path;
18661
- } else if (getParentKey(path, node.children)) {
18662
- parentKey = getParentKey(path, node.children);
18623
+ } else if (_getParentKey(path, node.children)) {
18624
+ parentKey = _getParentKey(path, node.children);
18663
18625
  }
18664
18626
  }
18665
18627
  }
@@ -18690,7 +18652,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18690
18652
  var treeData = _this.state.treeData;
18691
18653
  var expandedKeys = dataList.map(function (item) {
18692
18654
  if (item.name.indexOf(value) > -1) {
18693
- return getParentKey(item.path, treeData);
18655
+ return _getParentKey(item.path, treeData);
18694
18656
  }
18695
18657
  return null;
18696
18658
  }).filter(function (item, i, self) {
@@ -18704,22 +18666,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18704
18666
  };
18705
18667
  _this.getPathList = function (originData) {
18706
18668
  var pathList = [];
18707
- var getList = function getList(data) {
18669
+ var _getList = function getList(data) {
18708
18670
  if (Array.isArray(data)) {
18709
18671
  data.forEach(function (item) {
18710
18672
  pathList.push(item.path);
18711
18673
  if (item.children) {
18712
- getList(item.children);
18674
+ _getList(item.children);
18713
18675
  }
18714
18676
  });
18715
18677
  } else {
18716
18678
  pathList.push(data.path);
18717
18679
  if (data.children) {
18718
- getList(data.children);
18680
+ _getList(data.children);
18719
18681
  }
18720
18682
  }
18721
18683
  };
18722
- getList(originData);
18684
+ _getList(originData);
18723
18685
  return pathList;
18724
18686
  };
18725
18687
  _this.handleAdd2Menu = function (path) {
@@ -18728,18 +18690,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18728
18690
  customerMenuData = _this$props.customerMenuData,
18729
18691
  setCustomerMenuData = _this$props.setCustomerMenuData;
18730
18692
  var filterItem;
18731
- var filterMenuItem = function filterMenuItem(menuData) {
18693
+ var _filterMenuItem = function filterMenuItem(menuData) {
18732
18694
  menuData.forEach(function (item) {
18733
18695
  if (item.path === path) {
18734
18696
  filterItem = _objectSpread2({}, item);
18735
18697
  return;
18736
18698
  }
18737
18699
  if (item.children) {
18738
- filterMenuItem(item.children);
18700
+ _filterMenuItem(item.children);
18739
18701
  }
18740
18702
  });
18741
18703
  };
18742
- filterMenuItem(treeData);
18704
+ _filterMenuItem(treeData);
18743
18705
  var addPathList = _this.getPathList(filterItem);
18744
18706
  var oldPathList = _this.getPathList(customerMenuData);
18745
18707
  var isRepet = false;
@@ -18769,8 +18731,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18769
18731
  return item.path === '/';
18770
18732
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
18771
18733
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
18772
- setMenuTreeData(routesData);
18773
- generateList(routesData);
18734
+ _setMenuTreeData(routesData);
18735
+ _generateList(routesData);
18774
18736
  this.setState({
18775
18737
  treeData: routesData
18776
18738
  });
@@ -18784,16 +18746,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18784
18746
  expandedKeys = _this$state.expandedKeys,
18785
18747
  autoExpandParent = _this$state.autoExpandParent,
18786
18748
  treeData = _this$state.treeData;
18787
- var loop = function loop(data) {
18749
+ var _loop = function loop(data) {
18788
18750
  return data.map(function (item) {
18789
18751
  var index = item.name.indexOf(searchValue);
18790
18752
  var beforeStr = item.name.substr(0, index);
18791
18753
  var afterStr = item.name.substr(index + searchValue.length);
18792
- var name = index > -1 ? ( /*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
18754
+ var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
18793
18755
  style: {
18794
18756
  color: '#f50'
18795
18757
  }
18796
- }, searchValue), afterStr)) : ( /*#__PURE__*/React$1.createElement("span", null, item.name));
18758
+ }, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
18797
18759
  if (item.children && item.children.length) {
18798
18760
  return /*#__PURE__*/React$1.createElement(TreeNode, {
18799
18761
  path: item.path,
@@ -18815,7 +18777,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18815
18777
  width: 18,
18816
18778
  src: arrowRight
18817
18779
  }))))
18818
- }, loop(item.children));
18780
+ }, _loop(item.children));
18819
18781
  }
18820
18782
  return /*#__PURE__*/React$1.createElement(TreeNode, {
18821
18783
  path: item.path,
@@ -18865,7 +18827,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18865
18827
  onExpand: this.onExpand,
18866
18828
  expandedKeys: expandedKeys,
18867
18829
  autoExpandParent: autoExpandParent
18868
- }, loop(treeData))));
18830
+ }, _loop(treeData))));
18869
18831
  }
18870
18832
  }]);
18871
18833
  }(React$1.Component);
@@ -18898,24 +18860,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18898
18860
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
18899
18861
  var dragObj;
18900
18862
  var finalDropItem;
18901
- var loop = function loop(data, path, callback) {
18863
+ var _loop = function loop(data, path, callback) {
18902
18864
  for (var i = 0; i < data.length; i++) {
18903
18865
  if (data[i].path === path) {
18904
18866
  return callback(data[i], i, data);
18905
18867
  }
18906
18868
  if (data[i].children) {
18907
- loop(data[i].children, path, callback);
18869
+ _loop(data[i].children, path, callback);
18908
18870
  }
18909
18871
  }
18910
18872
  };
18911
18873
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
18912
- loop(data, dragKey, function (item, index, arr) {
18874
+ _loop(data, dragKey, function (item, index, arr) {
18913
18875
  arr.splice(index, 1);
18914
18876
  dragObj = item;
18915
18877
  });
18916
18878
  if (!info.dropToGap) {
18917
18879
  // Drop on the content
18918
- loop(data, dropKey, function (item) {
18880
+ _loop(data, dropKey, function (item) {
18919
18881
  item.children = item.children || [];
18920
18882
  item.children.unshift(dragObj);
18921
18883
  finalDropItem = _objectSpread2({}, item);
@@ -18926,7 +18888,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18926
18888
  // Is expanded
18927
18889
  dropPosition === 1 // On the bottom gap
18928
18890
  ) {
18929
- loop(data, dropKey, function (item) {
18891
+ _loop(data, dropKey, function (item) {
18930
18892
  item.children = item.children || [];
18931
18893
  item.children.unshift(dragObj);
18932
18894
  finalDropItem = _objectSpread2({}, item);
@@ -18934,7 +18896,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18934
18896
  } else {
18935
18897
  var ar;
18936
18898
  var i;
18937
- loop(data, dropKey, function (item, index, arr) {
18899
+ _loop(data, dropKey, function (item, index, arr) {
18938
18900
  ar = arr;
18939
18901
  i = index;
18940
18902
  });
@@ -18973,17 +18935,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18973
18935
  title: '编辑名称',
18974
18936
  callBack: function callBack(newName) {
18975
18937
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
18976
- var editTreeDataName = function editTreeDataName(oldTreeData) {
18938
+ var _editTreeDataName = function editTreeDataName(oldTreeData) {
18977
18939
  oldTreeData.forEach(function (treeItem) {
18978
18940
  if (treeItem.path === item.path) {
18979
18941
  treeItem.name = newName;
18980
18942
  }
18981
18943
  if (treeItem.children) {
18982
- editTreeDataName(treeItem.children);
18944
+ _editTreeDataName(treeItem.children);
18983
18945
  }
18984
18946
  });
18985
18947
  };
18986
- editTreeDataName(oldTreeData);
18948
+ _editTreeDataName(oldTreeData);
18987
18949
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
18988
18950
  _this.setState({
18989
18951
  modalInfo: {
@@ -19028,7 +18990,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19028
18990
  title: '新增子目录',
19029
18991
  callBack: function callBack(newName) {
19030
18992
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19031
- var addChildFolder = function addChildFolder(oldTreeData) {
18993
+ var _addChildFolder = function addChildFolder(oldTreeData) {
19032
18994
  oldTreeData.forEach(function (treeItem) {
19033
18995
  if (treeItem.path === item.path) {
19034
18996
  treeItem.children ? treeItem.children.push({
@@ -19040,11 +19002,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19040
19002
  }];
19041
19003
  }
19042
19004
  if (treeItem.children) {
19043
- addChildFolder(treeItem.children);
19005
+ _addChildFolder(treeItem.children);
19044
19006
  }
19045
19007
  });
19046
19008
  };
19047
- addChildFolder(oldTreeData);
19009
+ _addChildFolder(oldTreeData);
19048
19010
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19049
19011
  _this.setState({
19050
19012
  modalInfo: {
@@ -19103,7 +19065,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19103
19065
  var _this$state = this.state,
19104
19066
  modalInfo = _this$state.modalInfo,
19105
19067
  checkedKeys = _this$state.checkedKeys;
19106
- var loop = function loop(data) {
19068
+ var _loop2 = function loop(data) {
19107
19069
  return data.map(function (item) {
19108
19070
  if (item.children && item.children.length) {
19109
19071
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -19120,7 +19082,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19120
19082
  e.stopPropagation();
19121
19083
  }
19122
19084
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
19123
- }, loop(item.children));
19085
+ }, _loop2(item.children));
19124
19086
  }
19125
19087
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
19126
19088
  path: item.path,
@@ -19199,7 +19161,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19199
19161
  children: 'children'
19200
19162
  },
19201
19163
  onDrop: this.onDrop
19202
- }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
19164
+ }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
19203
19165
  width: 600,
19204
19166
  bodyStyle: {
19205
19167
  paddingTop: '32px',
@@ -19312,7 +19274,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
19312
19274
  pathname: item.path
19313
19275
  });
19314
19276
  };
19315
- var getMenuDom = function getMenuDom(menuData) {
19277
+ var _getMenuDom = function getMenuDom(menuData) {
19316
19278
  return menuData.map(function (item) {
19317
19279
  return /*#__PURE__*/React$1.createElement("div", {
19318
19280
  style: {
@@ -19327,7 +19289,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
19327
19289
  fontWeight: item.children || !item.component ? 'bolder' : '400',
19328
19290
  paddingLeft: '4px'
19329
19291
  }
19330
- }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
19292
+ }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
19331
19293
  });
19332
19294
  };
19333
19295
  return /*#__PURE__*/React$1.createElement("div", {
@@ -19353,7 +19315,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
19353
19315
  style: {
19354
19316
  paddingLeft: '5px'
19355
19317
  }
19356
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
19318
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
19357
19319
  style: {
19358
19320
  left: isDrawer ? 140 : 0
19359
19321
  },
@@ -19374,7 +19336,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
19374
19336
  visible: isDrawer
19375
19337
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
19376
19338
  className: 'menu_title_line'
19377
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
19339
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
19378
19340
  title: /*#__PURE__*/React$1.createElement("span", {
19379
19341
  style: {
19380
19342
  fontWeight: '600',
@@ -19448,7 +19410,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19448
19410
  return item.path === '/';
19449
19411
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
19450
19412
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
19451
- setMenuTreeData(routesData);
19413
+ _setMenuTreeData(routesData);
19452
19414
  routesData.forEach(function (item) {
19453
19415
  if (item.children) {
19454
19416
  routesDataList.push(item);
@@ -19478,7 +19440,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19478
19440
  setHeight(clientHeight - 190);
19479
19441
  setDrawHeight(clientHeight - 70);
19480
19442
  };
19481
- var renderChildItem = function renderChildItem(child) {
19443
+ var _renderChildItem = function renderChildItem(child) {
19482
19444
  if (!child.hideInMenu && child.children) {
19483
19445
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
19484
19446
  style: {
@@ -19488,7 +19450,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19488
19450
  }, formatMessage({
19489
19451
  id: "".concat(child.locale)
19490
19452
  })), child.children.map(function (menuItem) {
19491
- return renderChildItem(menuItem);
19453
+ return _renderChildItem(menuItem);
19492
19454
  }));
19493
19455
  } else if (!child.hideInMenu && child.path) {
19494
19456
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -19630,7 +19592,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19630
19592
  onMenuClick(e, item);
19631
19593
  }
19632
19594
  }, item.name);
19633
- }))), !!SearhData.length ? ( /*#__PURE__*/React$1.createElement("div", {
19595
+ }))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
19634
19596
  className: 'search_menu_content'
19635
19597
  }, SearhData.map(function (item) {
19636
19598
  return /*#__PURE__*/React$1.createElement("div", {
@@ -19639,7 +19601,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19639
19601
  },
19640
19602
  key: item.path
19641
19603
  }, item.name);
19642
- }))) : ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
19604
+ }))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
19643
19605
  style: {
19644
19606
  height: "".concat(rightMenuHeight, "px"),
19645
19607
  overflowY: 'scroll',
@@ -19651,7 +19613,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19651
19613
  className: 'drawerWarp_right'
19652
19614
  }, homepageData && homepageData.filter(function (d) {
19653
19615
  return !d.hideInMenu;
19654
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
19616
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
19655
19617
  className: classNames('allFunsList', 'allFunsListWarp'),
19656
19618
  dataSource: homepageData,
19657
19619
  renderItem: function renderItem(child) {
@@ -19692,7 +19654,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19692
19654
  bordered: true,
19693
19655
  dataSource: item.children,
19694
19656
  renderItem: function renderItem(child) {
19695
- return renderChildItem(child);
19657
+ return _renderChildItem(child);
19696
19658
  }
19697
19659
  });
19698
19660
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -19850,10 +19812,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
19850
19812
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
19851
19813
  var menuKeys = [];
19852
19814
  var docsId = [];
19853
- var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
19815
+ var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
19854
19816
  data.forEach(function (item) {
19855
19817
  if (item.children && item.children.length > 0) {
19856
- getLimitedMenuKeys(item.children);
19818
+ _getLimitedMenuKeys(item.children);
19857
19819
  } else {
19858
19820
  var originPath = item.path.replace(/^\/\w+\//, '/');
19859
19821
  menuKeys.push(originPath);
@@ -19864,7 +19826,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
19864
19826
  });
19865
19827
  };
19866
19828
  try {
19867
- getLimitedMenuKeys(limitedMenuData);
19829
+ _getLimitedMenuKeys(limitedMenuData);
19868
19830
  } catch (e) {}
19869
19831
  return {
19870
19832
  menuKeys: menuKeys,
@@ -20098,10 +20060,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20098
20060
  return (node.path || '').includes('all-general-documents');
20099
20061
  };
20100
20062
  // 递归获取树列表
20101
- var getTreeList = function getTreeList(data) {
20063
+ var _getTreeList = function getTreeList(data) {
20102
20064
  data.forEach(function (node) {
20103
20065
  if (node.routes && node.routes.length > 0) {
20104
- getTreeList(node.routes);
20066
+ _getTreeList(node.routes);
20105
20067
  return;
20106
20068
  }
20107
20069
  // todo:暂时处理非wujie环境不做404管控
@@ -20132,7 +20094,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20132
20094
  }
20133
20095
  });
20134
20096
  };
20135
- getTreeList(treeData);
20097
+ _getTreeList(treeData);
20136
20098
  return treeList;
20137
20099
  };
20138
20100
  _this.getDictionarySource = function (dicCode) {
@@ -20761,7 +20723,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20761
20723
  updateState = _ref8.updateState;
20762
20724
  return /*#__PURE__*/React$1.createElement("div", {
20763
20725
  className: "tab_title_content"
20764
- }, item.tab, item.key !== '/' && ( /*#__PURE__*/React$1.createElement(ItemMenu, {
20726
+ }, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
20765
20727
  info: item,
20766
20728
  operateFun: _this3.operateFun,
20767
20729
  listenRouterState: listenRouterState
@@ -20897,7 +20859,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20897
20859
  };
20898
20860
  }
20899
20861
  var OperationsSlot = {
20900
- left: ( /*#__PURE__*/React$1.createElement("div", {
20862
+ left: (/*#__PURE__*/React$1.createElement("div", {
20901
20863
  className: 'tab_left_operate'
20902
20864
  }, /*#__PURE__*/React$1.createElement("div", {
20903
20865
  onClick: function onClick() {
@@ -20913,7 +20875,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20913
20875
  _this3.setTabNavTransLate(-100);
20914
20876
  }
20915
20877
  }, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
20916
- right: ( /*#__PURE__*/React$1.createElement("div", {
20878
+ right: (/*#__PURE__*/React$1.createElement("div", {
20917
20879
  style: {
20918
20880
  opacity: this.state.isSlider ? 1 : 0.5
20919
20881
  },
@@ -21011,7 +20973,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21011
20973
  onMouseLeave: function onMouseLeave() {
21012
20974
  _this3.setShowMenu(false);
21013
20975
  }
21014
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
20976
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
21015
20977
  style: {
21016
20978
  position: 'absolute',
21017
20979
  top: '14px',
@@ -21030,7 +20992,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21030
20992
  postMenuData: function postMenuData(menus) {
21031
20993
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
21032
20994
  },
21033
- links: [!this.state.collapse ? ( /*#__PURE__*/React$1.createElement(AllFunc$1, {
20995
+ links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
21034
20996
  ref: this.allFunc,
21035
20997
  itemPath: itemPath,
21036
20998
  handleClose: this.handleClose,
@@ -21048,7 +21010,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21048
21010
  },
21049
21011
  menu: {
21050
21012
  request: function () {
21051
- var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21013
+ var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21052
21014
  return _regeneratorRuntime().wrap(function _callee$(_context) {
21053
21015
  while (1) switch (_context.prev = _context.next) {
21054
21016
  case 0:
@@ -21183,7 +21145,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
21183
21145
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
21184
21146
  timeFormat = _this$props4.timeFormat,
21185
21147
  transparentProps = _this$props4.transparentProps;
21186
- 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({
21148
+ 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({
21187
21149
  getDictionarySource: getDictionarySource,
21188
21150
  getDictionaryTextByValue: getDictionaryTextByValue,
21189
21151
  timeFormat: timeFormat
@@ -21207,12 +21169,12 @@ var index$5 = (function (props) {
21207
21169
  });
21208
21170
 
21209
21171
  // @ts-nocheck
21210
- var getAllColumns = function getAllColumns(columns) {
21172
+ var _getAllColumns = function getAllColumns(columns) {
21211
21173
  var result = [];
21212
21174
  columns.forEach(function (column) {
21213
21175
  if (column.children) {
21214
21176
  result.push(column);
21215
- result.push.apply(result, getAllColumns(column.children));
21177
+ result.push.apply(result, _getAllColumns(column.children));
21216
21178
  } else {
21217
21179
  result.push(column);
21218
21180
  }
@@ -21221,7 +21183,7 @@ var getAllColumns = function getAllColumns(columns) {
21221
21183
  };
21222
21184
  var convertToRows = function convertToRows(originColumns) {
21223
21185
  var maxLevel = 1;
21224
- var traverse = function traverse(column, parent) {
21186
+ var _traverse = function traverse(column, parent) {
21225
21187
  if (parent) {
21226
21188
  column.level = parent.level + 1;
21227
21189
  if (maxLevel < column.level) {
@@ -21231,7 +21193,7 @@ var convertToRows = function convertToRows(originColumns) {
21231
21193
  if (column.children) {
21232
21194
  var colSpan = 0;
21233
21195
  column.children.forEach(function (subColumn) {
21234
- traverse(subColumn, column);
21196
+ _traverse(subColumn, column);
21235
21197
  colSpan += subColumn.colSpan;
21236
21198
  });
21237
21199
  column.colSpan = colSpan;
@@ -21241,13 +21203,13 @@ var convertToRows = function convertToRows(originColumns) {
21241
21203
  };
21242
21204
  originColumns.forEach(function (column) {
21243
21205
  column.level = 1;
21244
- traverse(column);
21206
+ _traverse(column);
21245
21207
  });
21246
21208
  var rows = [];
21247
21209
  for (var i = 0; i < maxLevel; i++) {
21248
21210
  rows.push([]);
21249
21211
  }
21250
- var allColumns = getAllColumns(originColumns);
21212
+ var allColumns = _getAllColumns(originColumns);
21251
21213
  allColumns.forEach(function (column) {
21252
21214
  if (!column.children) {
21253
21215
  column.rowSpan = maxLevel - column.level + 1;
@@ -21287,7 +21249,7 @@ var convertToRows = function convertToRows(originColumns) {
21287
21249
  };
21288
21250
  var headersToRows = function headersToRows(originColumns) {
21289
21251
  var maxLevel = 1;
21290
- var traverse = function traverse(column, parent) {
21252
+ var _traverse2 = function traverse(column, parent) {
21291
21253
  if (parent) {
21292
21254
  //计算当前元素属于第几个层级
21293
21255
  column.level = parent.level + 1;
@@ -21300,7 +21262,7 @@ var headersToRows = function headersToRows(originColumns) {
21300
21262
  var colSpan = 0;
21301
21263
  column.children.forEach(function (subColumn) {
21302
21264
  //进行递归
21303
- traverse(subColumn, column);
21265
+ _traverse2(subColumn, column);
21304
21266
  colSpan += subColumn.colSpan;
21305
21267
  });
21306
21268
  column.colSpan = colSpan;
@@ -21310,14 +21272,14 @@ var headersToRows = function headersToRows(originColumns) {
21310
21272
  };
21311
21273
  originColumns.forEach(function (column) {
21312
21274
  column.level = 1;
21313
- traverse(column);
21275
+ _traverse2(column);
21314
21276
  });
21315
21277
  var rows = [];
21316
21278
  var lastData = [];
21317
21279
  for (var i = 0; i < maxLevel; i++) {
21318
21280
  rows.push([]);
21319
21281
  }
21320
- var allColumns = getAllColumns(originColumns);
21282
+ var allColumns = _getAllColumns(originColumns);
21321
21283
  allColumns.forEach(function (column) {
21322
21284
  if (!column.children) {
21323
21285
  column.rowSpan = maxLevel - column.level + 1;
@@ -27334,7 +27296,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
27334
27296
  }
27335
27297
  return lineStart <= highLightLine && lineEnd >= highLightLine;
27336
27298
  };
27337
- var hasHighLightChildren = function hasHighLightChildren() {
27299
+ var _hasHighLightChildren = function hasHighLightChildren() {
27338
27300
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
27339
27301
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
27340
27302
  var children = hightLightData.children,
@@ -27345,7 +27307,7 @@ var hasHighLightChildren = function hasHighLightChildren() {
27345
27307
  lineEnd = _loc2[2];
27346
27308
  if (children) {
27347
27309
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
27348
- return hasHighLightChildren(v, highLightLine);
27310
+ return _hasHighLightChildren(v, highLightLine);
27349
27311
  });
27350
27312
  }
27351
27313
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -27357,7 +27319,7 @@ function createHighLightTreeData(treeData, highLightLine) {
27357
27319
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
27358
27320
  data.forEach(function (node) {
27359
27321
  if (!node) return;
27360
- node.toggled = hasHighLightChildren(node, highLightLine);
27322
+ node.toggled = _hasHighLightChildren(node, highLightLine);
27361
27323
  node.active = isHightLight(node, highLightLine);
27362
27324
  if (node.children) {
27363
27325
  if (node.active) {
@@ -28788,7 +28750,7 @@ var valueType = {
28788
28750
  };
28789
28751
 
28790
28752
  var getDynamicDict = /*#__PURE__*/function () {
28791
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
28753
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
28792
28754
  return _regeneratorRuntime().wrap(function _callee$(_context) {
28793
28755
  while (1) switch (_context.prev = _context.next) {
28794
28756
  case 0:
@@ -28856,7 +28818,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
28856
28818
  value: false
28857
28819
  }];
28858
28820
  var ref = useRef();
28859
- useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
28821
+ useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
28860
28822
  var _ref$current, source;
28861
28823
  return _regeneratorRuntime().wrap(function _callee$(_context) {
28862
28824
  while (1) switch (_context.prev = _context.next) {
@@ -28970,7 +28932,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
28970
28932
  source: {
28971
28933
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
28972
28934
  type: function () {
28973
- var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
28935
+ var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
28974
28936
  var form, values, name, relates, source;
28975
28937
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
28976
28938
  while (1) switch (_context2.prev = _context2.next) {
@@ -29450,7 +29412,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29450
29412
  source: {
29451
29413
  relates: ['choiceType', 'inputType'],
29452
29414
  type: function () {
29453
- var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
29415
+ var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
29454
29416
  var values, name, form, source;
29455
29417
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
29456
29418
  while (1) switch (_context3.prev = _context3.next) {
@@ -29672,7 +29634,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29672
29634
  width: 900,
29673
29635
  maskClosable: false,
29674
29636
  onOk: function () {
29675
- var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
29637
+ var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
29676
29638
  var _ref$current4, _res$editableStatus;
29677
29639
  var res, _res$defaultValue;
29678
29640
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -29744,7 +29706,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29744
29706
  }()
29745
29707
  }), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
29746
29708
  ref: ref
29747
- })), maintainOptionsModal.visible && ( /*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
29709
+ })), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
29748
29710
  };
29749
29711
 
29750
29712
  // @ts-nocheck
@@ -30358,7 +30320,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
30358
30320
  return setVisible(false);
30359
30321
  },
30360
30322
  className: 'customFieldsDrawer'
30361
- }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React$1.createElement("div", {
30323
+ }, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
30362
30324
  style: {
30363
30325
  display: 'flex'
30364
30326
  }
@@ -30367,13 +30329,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
30367
30329
  flex: 1,
30368
30330
  width: 500
30369
30331
  }
30370
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
30332
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
30371
30333
  style: {
30372
30334
  padding: "10px 0",
30373
30335
  fontSize: "16px",
30374
30336
  fontWeight: "bolder"
30375
30337
  }
30376
- }, "\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", {
30338
+ }, "\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", {
30377
30339
  style: {
30378
30340
  flex: 1
30379
30341
  }
@@ -30382,7 +30344,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
30382
30344
  onRun: onClickRun,
30383
30345
  value: jsonEditorVal,
30384
30346
  shallowHeight: height
30385
- })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React$1.createElement(Tabs, {
30347
+ })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
30386
30348
  defaultActiveKey: activeKey,
30387
30349
  onChange: function onChange(v) {
30388
30350
  return setActiveKey(v);
@@ -30399,13 +30361,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
30399
30361
  flex: 1,
30400
30362
  width: 500
30401
30363
  }
30402
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
30364
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
30403
30365
  style: {
30404
30366
  padding: "10px 0",
30405
30367
  fontSize: "16px",
30406
30368
  fontWeight: "bolder"
30407
30369
  }
30408
- }, "\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", {
30370
+ }, "\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", {
30409
30371
  style: {
30410
30372
  flex: 1
30411
30373
  }
@@ -30427,13 +30389,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
30427
30389
  flex: 1,
30428
30390
  width: 500
30429
30391
  }
30430
- }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React$1.createElement("div", {
30392
+ }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
30431
30393
  style: {
30432
30394
  padding: "10px 0",
30433
30395
  fontSize: "16px",
30434
30396
  fontWeight: "bolder"
30435
30397
  }
30436
- }, "\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", {
30398
+ }, "\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", {
30437
30399
  style: {
30438
30400
  flex: 1
30439
30401
  }
@@ -30579,7 +30541,7 @@ function getMetaData(_x) {
30579
30541
 
30580
30542
  // 获取数据
30581
30543
  function _getMetaData() {
30582
- _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
30544
+ _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
30583
30545
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30584
30546
  while (1) switch (_context.prev = _context.next) {
30585
30547
  case 0:
@@ -30801,7 +30763,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
30801
30763
  tableState = _useState4[0],
30802
30764
  setTableState = _useState4[1];
30803
30765
  var handleOpen = /*#__PURE__*/function () {
30804
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30766
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30805
30767
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
30806
30768
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
30807
30769
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -31120,7 +31082,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
31120
31082
  destroyOnClose: true
31121
31083
  }, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
31122
31084
  ref: queryTableRef
31123
- }, 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, {
31085
+ }, 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, {
31124
31086
  justify: "center",
31125
31087
  style: {
31126
31088
  marginBottom: 30,
@@ -31236,7 +31198,7 @@ var CustomSelector = (function (props) {
31236
31198
  var _props$ctx7;
31237
31199
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
31238
31200
  }
31239
- })), showType === 'modalTable' && ( /*#__PURE__*/React$1.createElement(Button, {
31201
+ })), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
31240
31202
  type: "primary",
31241
31203
  style: {
31242
31204
  width: '30px',
@@ -31322,7 +31284,7 @@ var BsCascader = function BsCascader(_ref) {
31322
31284
  _useState2 = _slicedToArray(_useState, 2),
31323
31285
  handSource = _useState2[0],
31324
31286
  setHandSource = _useState2[1];
31325
- useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31287
+ useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31326
31288
  var resData, data;
31327
31289
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31328
31290
  while (1) switch (_context.prev = _context.next) {
@@ -31474,7 +31436,7 @@ function getRegularThresholdRange(_x) {
31474
31436
  return _getRegularThresholdRange.apply(this, arguments);
31475
31437
  }
31476
31438
  function _getRegularThresholdRange() {
31477
- _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
31439
+ _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
31478
31440
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31479
31441
  while (1) switch (_context.prev = _context.next) {
31480
31442
  case 0:
@@ -31628,7 +31590,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
31628
31590
  };
31629
31591
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
31630
31592
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
31631
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
31593
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
31632
31594
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
31633
31595
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31634
31596
  while (1) switch (_context.prev = _context.next) {
@@ -32573,7 +32535,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32573
32535
  isAll: true,
32574
32536
  needNameAndCode: true,
32575
32537
  notChangeOnSelect: true,
32576
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
32538
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
32577
32539
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
32578
32540
  while (1) switch (_context2.prev = _context2.next) {
32579
32541
  case 0:
@@ -32622,7 +32584,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32622
32584
  isAll: true,
32623
32585
  needNameAndCode: true,
32624
32586
  notChangeOnSelect: true,
32625
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
32587
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
32626
32588
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
32627
32589
  while (1) switch (_context3.prev = _context3.next) {
32628
32590
  case 0:
@@ -32673,7 +32635,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32673
32635
  isAll: true,
32674
32636
  needNameAndCode: true,
32675
32637
  notChangeOnSelect: true,
32676
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
32638
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
32677
32639
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
32678
32640
  while (1) switch (_context4.prev = _context4.next) {
32679
32641
  case 0:
@@ -34637,7 +34599,7 @@ var App$1 = function App(_ref) {
34637
34599
  borderRadius: '5px',
34638
34600
  cursor: 'pointer'
34639
34601
  }
34640
- }, isStaticNumber ? ( /*#__PURE__*/React$1.createElement(Input, {
34602
+ }, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
34641
34603
  autoFocus: true,
34642
34604
  onClick: function onClick(e) {
34643
34605
  return e.stopPropagation();
@@ -34924,7 +34886,7 @@ function RenderCompItem(props) {
34924
34886
  dictData = _useState2[0],
34925
34887
  setDictData = _useState2[1];
34926
34888
  var getDictData = /*#__PURE__*/function () {
34927
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
34889
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
34928
34890
  var _data$map;
34929
34891
  var data;
34930
34892
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -34966,7 +34928,7 @@ function RenderCompItem(props) {
34966
34928
  var style2 = {
34967
34929
  width: '100px'
34968
34930
  };
34969
- 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, {
34931
+ 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, {
34970
34932
  disabled: disabled,
34971
34933
  allowClear: true,
34972
34934
  onClear: function onClear() {
@@ -34977,7 +34939,7 @@ function RenderCompItem(props) {
34977
34939
  onBlur: function onBlur(e) {
34978
34940
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
34979
34941
  }
34980
- })) || 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, {
34942
+ })) || 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, {
34981
34943
  disabled: disabled,
34982
34944
  // max={Number.MAX_SAFE_INTEGER}
34983
34945
  max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
@@ -34990,7 +34952,7 @@ function RenderCompItem(props) {
34990
34952
  onChange: function onChange(value) {
34991
34953
  handleEdit(ites.code, value);
34992
34954
  }
34993
- })) || 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, {
34955
+ })) || 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, {
34994
34956
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
34995
34957
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
34996
34958
  disabled: disabled,
@@ -35000,7 +34962,7 @@ function RenderCompItem(props) {
35000
34962
  onChange: function onChange(value, dateString) {
35001
34963
  handleEdit(ites.code, dateString);
35002
34964
  }
35003
- })) || 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, {
34965
+ })) || 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, {
35004
34966
  showTime: true,
35005
34967
  disabled: disabled,
35006
34968
  defaultValue: ites.defaultValue,
@@ -35009,7 +34971,7 @@ function RenderCompItem(props) {
35009
34971
  onChange: function onChange(value, timeString) {
35010
34972
  handleEdit(ites.code, timeString);
35011
34973
  }
35012
- })) || 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, {
34974
+ })) || 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, {
35013
34975
  disabled: disabled,
35014
34976
  defaultChecked: !!ites.defaultValue,
35015
34977
  style: style2,
@@ -35017,7 +34979,7 @@ function RenderCompItem(props) {
35017
34979
  onChange: function onChange(value) {
35018
34980
  handleEdit(ites.code, value);
35019
34981
  }
35020
- })) || 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({
34982
+ })) || 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({
35021
34983
  disabled: disabled,
35022
34984
  allowClear: true,
35023
34985
  showArrow: true
@@ -35035,7 +34997,7 @@ function RenderCompItem(props) {
35035
34997
  key: it,
35036
34998
  value: it
35037
34999
  }, ites.enumeration[it]);
35038
- }))) || 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, {
35000
+ }))) || 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, {
35039
35001
  disabled: disabled,
35040
35002
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
35041
35003
  defaultValue: ites.defaultValue,
@@ -35045,7 +35007,7 @@ function RenderCompItem(props) {
35045
35007
  handleEdit(ites.code, value);
35046
35008
  },
35047
35009
  dictionaryCode: ites.dictionaryCode
35048
- })) || 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, {
35010
+ })) || 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, {
35049
35011
  selectBusinessType: "physicalWarehouse",
35050
35012
  selectProps: _objectSpread2({
35051
35013
  style: styleCommon,
@@ -35067,7 +35029,7 @@ function RenderCompItem(props) {
35067
35029
  getPopupContainer: function getPopupContainer() {
35068
35030
  return document.body;
35069
35031
  }
35070
- })) || 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, {
35032
+ })) || 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, {
35071
35033
  selectBusinessType: "realWarehouse",
35072
35034
  selectProps: _objectSpread2({
35073
35035
  style: styleCommon,
@@ -35089,7 +35051,7 @@ function RenderCompItem(props) {
35089
35051
  getPopupContainer: function getPopupContainer() {
35090
35052
  return document.body;
35091
35053
  }
35092
- })) || 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, {
35054
+ })) || 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, {
35093
35055
  selectBusinessType: "virtualWarehouse",
35094
35056
  selectProps: _objectSpread2({
35095
35057
  style: styleCommon,
@@ -35111,7 +35073,7 @@ function RenderCompItem(props) {
35111
35073
  getPopupContainer: function getPopupContainer() {
35112
35074
  return document.body;
35113
35075
  }
35114
- })) || 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, {
35076
+ })) || 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, {
35115
35077
  selectBusinessType: "channelWarehouse",
35116
35078
  selectProps: _objectSpread2({
35117
35079
  style: styleCommon,
@@ -35133,7 +35095,7 @@ function RenderCompItem(props) {
35133
35095
  getPopupContainer: function getPopupContainer() {
35134
35096
  return document.body;
35135
35097
  }
35136
- })) || 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, {
35098
+ })) || 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, {
35137
35099
  selectBusinessType: "spuCommodity",
35138
35100
  selectProps: _objectSpread2({
35139
35101
  style: styleCommon,
@@ -35154,7 +35116,7 @@ function RenderCompItem(props) {
35154
35116
  getPopupContainer: function getPopupContainer() {
35155
35117
  return document.body;
35156
35118
  }
35157
- })) || 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, {
35119
+ })) || 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, {
35158
35120
  selectBusinessType: "skuCommodity",
35159
35121
  selectProps: _objectSpread2({
35160
35122
  style: styleCommon,
@@ -35175,13 +35137,13 @@ function RenderCompItem(props) {
35175
35137
  getPopupContainer: function getPopupContainer() {
35176
35138
  return document.body;
35177
35139
  }
35178
- })) || 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, {
35140
+ })) || 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, {
35179
35141
  disabled: disabled,
35180
35142
  isAll: true,
35181
35143
  needNameAndCode: true,
35182
35144
  notChangeOnSelect: true,
35183
35145
  initRequestSource: function () {
35184
- var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
35146
+ var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
35185
35147
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
35186
35148
  while (1) switch (_context2.prev = _context2.next) {
35187
35149
  case 0:
@@ -35223,7 +35185,7 @@ function RenderCompItem(props) {
35223
35185
  getPopupContainer: function getPopupContainer() {
35224
35186
  return document.body;
35225
35187
  }
35226
- })) || 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, {
35188
+ })) || 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, {
35227
35189
  disabled: disabled,
35228
35190
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35229
35191
  businessType: "department",
@@ -35236,7 +35198,7 @@ function RenderCompItem(props) {
35236
35198
  getPopupContainer: function getPopupContainer() {
35237
35199
  return document.body;
35238
35200
  }
35239
- })) || 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, {
35201
+ })) || 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, {
35240
35202
  disabled: disabled,
35241
35203
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35242
35204
  businessType: "purchase-organization",
@@ -35249,7 +35211,7 @@ function RenderCompItem(props) {
35249
35211
  getPopupContainer: function getPopupContainer() {
35250
35212
  return document.body;
35251
35213
  }
35252
- })) || 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, {
35214
+ })) || 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, {
35253
35215
  disabled: disabled,
35254
35216
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35255
35217
  businessType: "sales-organization",
@@ -35262,7 +35224,7 @@ function RenderCompItem(props) {
35262
35224
  getPopupContainer: function getPopupContainer() {
35263
35225
  return document.body;
35264
35226
  }
35265
- })) || 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, {
35227
+ })) || 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, {
35266
35228
  selectBusinessType: "supplier2",
35267
35229
  selectProps: _objectSpread2({
35268
35230
  style: styleCommon,
@@ -35283,7 +35245,7 @@ function RenderCompItem(props) {
35283
35245
  getPopupContainer: function getPopupContainer() {
35284
35246
  return document.body;
35285
35247
  }
35286
- })) || 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, {
35248
+ })) || 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, {
35287
35249
  selectBusinessType: "customer2",
35288
35250
  selectProps: _objectSpread2({
35289
35251
  style: styleCommon,
@@ -35304,7 +35266,7 @@ function RenderCompItem(props) {
35304
35266
  getPopupContainer: function getPopupContainer() {
35305
35267
  return document.body;
35306
35268
  }
35307
- })) || 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, {
35269
+ })) || 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, {
35308
35270
  selectBusinessType: "shopFile2",
35309
35271
  selectProps: _objectSpread2({
35310
35272
  style: styleCommon,
@@ -35325,7 +35287,7 @@ function RenderCompItem(props) {
35325
35287
  getPopupContainer: function getPopupContainer() {
35326
35288
  return document.body;
35327
35289
  }
35328
- })) || 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, {
35290
+ })) || 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, {
35329
35291
  selectBusinessType: "employee2",
35330
35292
  selectProps: _objectSpread2({
35331
35293
  style: styleCommon,
@@ -35346,7 +35308,7 @@ function RenderCompItem(props) {
35346
35308
  getPopupContainer: function getPopupContainer() {
35347
35309
  return document.body;
35348
35310
  }
35349
- })) || 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, {
35311
+ })) || 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, {
35350
35312
  disabled: disabled,
35351
35313
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35352
35314
  businessType: "stock-organization",
@@ -35359,7 +35321,7 @@ function RenderCompItem(props) {
35359
35321
  getPopupContainer: function getPopupContainer() {
35360
35322
  return document.body;
35361
35323
  }
35362
- })) || 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, {
35324
+ })) || 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, {
35363
35325
  disabled: disabled,
35364
35326
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35365
35327
  businessType: "settle-organization",
@@ -35372,7 +35334,7 @@ function RenderCompItem(props) {
35372
35334
  getPopupContainer: function getPopupContainer() {
35373
35335
  return document.body;
35374
35336
  }
35375
- })) || 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, {
35337
+ })) || 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, {
35376
35338
  selectBusinessType: "deliveryMode",
35377
35339
  selectProps: _objectSpread2({
35378
35340
  style: styleCommon,
@@ -35393,7 +35355,7 @@ function RenderCompItem(props) {
35393
35355
  getPopupContainer: function getPopupContainer() {
35394
35356
  return document.body;
35395
35357
  }
35396
- })) || 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, {
35358
+ })) || 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, {
35397
35359
  selectBusinessType: "role",
35398
35360
  selectProps: _objectSpread2({
35399
35361
  style: styleCommon,
@@ -35414,7 +35376,7 @@ function RenderCompItem(props) {
35414
35376
  getPopupContainer: function getPopupContainer() {
35415
35377
  return document.body;
35416
35378
  }
35417
- })) || 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, {
35379
+ })) || 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, {
35418
35380
  selectBusinessType: "brand",
35419
35381
  selectProps: _objectSpread2({
35420
35382
  style: styleCommon,
@@ -35435,7 +35397,7 @@ function RenderCompItem(props) {
35435
35397
  getPopupContainer: function getPopupContainer() {
35436
35398
  return document.body;
35437
35399
  }
35438
- })) || 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, {
35400
+ })) || 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, {
35439
35401
  disabled: disabled,
35440
35402
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35441
35403
  businessType: "background-category",
@@ -35448,7 +35410,7 @@ function RenderCompItem(props) {
35448
35410
  getPopupContainer: function getPopupContainer() {
35449
35411
  return document.body;
35450
35412
  }
35451
- })) || 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, {
35413
+ })) || 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, {
35452
35414
  selectProps: _objectSpread2(_objectSpread2({
35453
35415
  style: styleCommon,
35454
35416
  placeholder: '请选择'
@@ -35471,7 +35433,7 @@ function RenderCompItem(props) {
35471
35433
  onChange: function onChange(value) {
35472
35434
  handleEdit(ites.code, value);
35473
35435
  }
35474
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React$1.createElement("div", {
35436
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
35475
35437
  style: {
35476
35438
  display: 'flex'
35477
35439
  }
@@ -35983,7 +35945,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
35983
35945
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
35984
35946
  queryIdentifyType = 'dynamicDictCodeIdentify';
35985
35947
  }
35986
- var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
35948
+ var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
35987
35949
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
35988
35950
  var _i$key;
35989
35951
  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);
@@ -36910,13 +36872,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
36910
36872
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
36911
36873
  // 处理对象-设置了必填-规则实例保存时数据必填校验
36912
36874
  if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
36913
- var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
36875
+ var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
36914
36876
  var requiredList = list.filter(function (c) {
36915
36877
  return c.required == 1;
36916
36878
  }) || []; // 获取对象属性为true的集合
36917
36879
  (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
36918
36880
  var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
36919
- 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];
36881
+ 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];
36920
36882
  (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) {
36921
36883
  if (requiredList.some(function (r) {
36922
36884
  return r.id === e.elementId;
@@ -37505,7 +37467,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
37505
37467
  style: {
37506
37468
  float: 'right'
37507
37469
  }
37508
- })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? ( /*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
37470
+ })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
37509
37471
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
37510
37472
  ruleGroupInfo: {
37511
37473
  ruleGroupList: ruleGroupList,
@@ -37523,7 +37485,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
37523
37485
  callBack: function callBack(newData) {
37524
37486
  upDateData(newData);
37525
37487
  }
37526
- }))) : ( /*#__PURE__*/React$1.createElement("div", {
37488
+ }))) : (/*#__PURE__*/React$1.createElement("div", {
37527
37489
  style: {
37528
37490
  padding: 20
37529
37491
  }
@@ -37898,4 +37860,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
37898
37860
  }, children));
37899
37861
  };
37900
37862
 
37901
- export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
37863
+ export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };