@bit-sun/business-component 4.0.13-alpha.18 → 4.0.13-alpha.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -32,88 +32,9 @@ import { parse as parse$1 } from '@babel/parser';
32
32
  import { visit } from 'ast-types';
33
33
  import isArray$1 from 'lodash/isArray';
34
34
 
35
- function _arrayLikeToArray(r, a) {
36
- (null == a || a > r.length) && (a = r.length);
37
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
38
- return n;
39
- }
40
- function _arrayWithHoles(r) {
41
- if (Array.isArray(r)) return r;
42
- }
43
- function _arrayWithoutHoles(r) {
44
- if (Array.isArray(r)) return _arrayLikeToArray(r);
45
- }
46
- function _assertThisInitialized(e) {
47
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
48
- return e;
49
- }
50
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
51
- try {
52
- var i = n[a](c),
53
- u = i.value;
54
- } catch (n) {
55
- return void e(n);
56
- }
57
- i.done ? t(u) : Promise.resolve(u).then(r, o);
58
- }
59
- function _asyncToGenerator(n) {
60
- return function () {
61
- var t = this,
62
- e = arguments;
63
- return new Promise(function (r, o) {
64
- var a = n.apply(t, e);
65
- function _next(n) {
66
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
67
- }
68
- function _throw(n) {
69
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
70
- }
71
- _next(void 0);
72
- });
73
- };
74
- }
75
35
  function _callSuper(t, o, e) {
76
36
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
77
37
  }
78
- function _classCallCheck(a, n) {
79
- if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
80
- }
81
- function _defineProperties(e, r) {
82
- for (var t = 0; t < r.length; t++) {
83
- var o = r[t];
84
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
85
- }
86
- }
87
- function _createClass(e, r, t) {
88
- return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
89
- writable: !1
90
- }), e;
91
- }
92
- function _defineProperty(e, r, t) {
93
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
94
- value: t,
95
- enumerable: !0,
96
- configurable: !0,
97
- writable: !0
98
- }) : e[r] = t, e;
99
- }
100
- function _getPrototypeOf(t) {
101
- return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
102
- return t.__proto__ || Object.getPrototypeOf(t);
103
- }, _getPrototypeOf(t);
104
- }
105
- function _inherits(t, e) {
106
- if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
107
- t.prototype = Object.create(e && e.prototype, {
108
- constructor: {
109
- value: t,
110
- writable: !0,
111
- configurable: !0
112
- }
113
- }), Object.defineProperty(t, "prototype", {
114
- writable: !1
115
- }), e && _setPrototypeOf(t, e);
116
- }
117
38
  function _isNativeReflectConstruct() {
118
39
  try {
119
40
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
@@ -122,9 +43,6 @@ function _isNativeReflectConstruct() {
122
43
  return !!t;
123
44
  })();
124
45
  }
125
- function _iterableToArray(r) {
126
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
127
- }
128
46
  function _iterableToArrayLimit(r, l) {
129
47
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
130
48
  if (null != t) {
@@ -152,15 +70,6 @@ function _iterableToArrayLimit(r, l) {
152
70
  return a;
153
71
  }
154
72
  }
155
- function _nonIterableRest() {
156
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
157
- }
158
- function _nonIterableSpread() {
159
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
160
- }
161
- function _objectDestructuringEmpty(t) {
162
- if (null == t) throw new TypeError("Cannot destructure " + t);
163
- }
164
73
  function ownKeys(e, r) {
165
74
  var t = Object.keys(e);
166
75
  if (Object.getOwnPropertySymbols) {
@@ -182,31 +91,6 @@ function _objectSpread2(e) {
182
91
  }
183
92
  return e;
184
93
  }
185
- function _objectWithoutProperties(e, t) {
186
- if (null == e) return {};
187
- var o,
188
- r,
189
- i = _objectWithoutPropertiesLoose(e, t);
190
- if (Object.getOwnPropertySymbols) {
191
- var s = Object.getOwnPropertySymbols(e);
192
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
193
- }
194
- return i;
195
- }
196
- function _objectWithoutPropertiesLoose(r, e) {
197
- if (null == r) return {};
198
- var t = {};
199
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
200
- if (e.includes(n)) continue;
201
- t[n] = r[n];
202
- }
203
- return t;
204
- }
205
- function _possibleConstructorReturn(t, e) {
206
- if (e && ("object" == typeof e || "function" == typeof e)) return e;
207
- if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
208
- return _assertThisInitialized(t);
209
- }
210
94
  function _regeneratorRuntime() {
211
95
  _regeneratorRuntime = function () {
212
96
  return e;
@@ -508,20 +392,6 @@ function _regeneratorRuntime() {
508
392
  }
509
393
  }, e;
510
394
  }
511
- function _setPrototypeOf(t, e) {
512
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
513
- return t.__proto__ = e, t;
514
- }, _setPrototypeOf(t, e);
515
- }
516
- function _slicedToArray(r, e) {
517
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
518
- }
519
- function _toArray(r) {
520
- return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
521
- }
522
- function _toConsumableArray(r) {
523
- return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
524
- }
525
395
  function _toPrimitive(t, r) {
526
396
  if ("object" != typeof t || !t) return t;
527
397
  var e = t[Symbol.toPrimitive];
@@ -545,12 +415,180 @@ function _typeof(o) {
545
415
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
546
416
  }, _typeof(o);
547
417
  }
548
- function _unsupportedIterableToArray(r, a) {
549
- if (r) {
550
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
551
- var t = {}.toString.call(r).slice(8, -1);
552
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
418
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
419
+ try {
420
+ var info = gen[key](arg);
421
+ var value = info.value;
422
+ } catch (error) {
423
+ reject(error);
424
+ return;
425
+ }
426
+ if (info.done) {
427
+ resolve(value);
428
+ } else {
429
+ Promise.resolve(value).then(_next, _throw);
430
+ }
431
+ }
432
+ function _asyncToGenerator(fn) {
433
+ return function () {
434
+ var self = this,
435
+ args = arguments;
436
+ return new Promise(function (resolve, reject) {
437
+ var gen = fn.apply(self, args);
438
+ function _next(value) {
439
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
440
+ }
441
+ function _throw(err) {
442
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
443
+ }
444
+ _next(undefined);
445
+ });
446
+ };
447
+ }
448
+ function _classCallCheck(instance, Constructor) {
449
+ if (!(instance instanceof Constructor)) {
450
+ throw new TypeError("Cannot call a class as a function");
451
+ }
452
+ }
453
+ function _defineProperties(target, props) {
454
+ for (var i = 0; i < props.length; i++) {
455
+ var descriptor = props[i];
456
+ descriptor.enumerable = descriptor.enumerable || false;
457
+ descriptor.configurable = true;
458
+ if ("value" in descriptor) descriptor.writable = true;
459
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
460
+ }
461
+ }
462
+ function _createClass(Constructor, protoProps, staticProps) {
463
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
464
+ if (staticProps) _defineProperties(Constructor, staticProps);
465
+ Object.defineProperty(Constructor, "prototype", {
466
+ writable: false
467
+ });
468
+ return Constructor;
469
+ }
470
+ function _defineProperty(obj, key, value) {
471
+ key = _toPropertyKey(key);
472
+ if (key in obj) {
473
+ Object.defineProperty(obj, key, {
474
+ value: value,
475
+ enumerable: true,
476
+ configurable: true,
477
+ writable: true
478
+ });
479
+ } else {
480
+ obj[key] = value;
481
+ }
482
+ return obj;
483
+ }
484
+ function _inherits(subClass, superClass) {
485
+ if (typeof superClass !== "function" && superClass !== null) {
486
+ throw new TypeError("Super expression must either be null or a function");
487
+ }
488
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
489
+ constructor: {
490
+ value: subClass,
491
+ writable: true,
492
+ configurable: true
493
+ }
494
+ });
495
+ Object.defineProperty(subClass, "prototype", {
496
+ writable: false
497
+ });
498
+ if (superClass) _setPrototypeOf(subClass, superClass);
499
+ }
500
+ function _getPrototypeOf(o) {
501
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
502
+ return o.__proto__ || Object.getPrototypeOf(o);
503
+ };
504
+ return _getPrototypeOf(o);
505
+ }
506
+ function _setPrototypeOf(o, p) {
507
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
508
+ o.__proto__ = p;
509
+ return o;
510
+ };
511
+ return _setPrototypeOf(o, p);
512
+ }
513
+ function _objectDestructuringEmpty(obj) {
514
+ if (obj == null) throw new TypeError("Cannot destructure " + obj);
515
+ }
516
+ function _objectWithoutPropertiesLoose(source, excluded) {
517
+ if (source == null) return {};
518
+ var target = {};
519
+ for (var key in source) {
520
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
521
+ if (excluded.indexOf(key) >= 0) continue;
522
+ target[key] = source[key];
523
+ }
524
+ }
525
+ return target;
526
+ }
527
+ function _objectWithoutProperties(source, excluded) {
528
+ if (source == null) return {};
529
+ var target = _objectWithoutPropertiesLoose(source, excluded);
530
+ var key, i;
531
+ if (Object.getOwnPropertySymbols) {
532
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
533
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
534
+ key = sourceSymbolKeys[i];
535
+ if (excluded.indexOf(key) >= 0) continue;
536
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
537
+ target[key] = source[key];
538
+ }
553
539
  }
540
+ return target;
541
+ }
542
+ function _assertThisInitialized(self) {
543
+ if (self === void 0) {
544
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
545
+ }
546
+ return self;
547
+ }
548
+ function _possibleConstructorReturn(self, call) {
549
+ if (call && (typeof call === "object" || typeof call === "function")) {
550
+ return call;
551
+ } else if (call !== void 0) {
552
+ throw new TypeError("Derived constructors may only return object or undefined");
553
+ }
554
+ return _assertThisInitialized(self);
555
+ }
556
+ function _slicedToArray(arr, i) {
557
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
558
+ }
559
+ function _toArray(arr) {
560
+ return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
561
+ }
562
+ function _toConsumableArray(arr) {
563
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
564
+ }
565
+ function _arrayWithoutHoles(arr) {
566
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
567
+ }
568
+ function _arrayWithHoles(arr) {
569
+ if (Array.isArray(arr)) return arr;
570
+ }
571
+ function _iterableToArray(iter) {
572
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
573
+ }
574
+ function _unsupportedIterableToArray(o, minLen) {
575
+ if (!o) return;
576
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
577
+ var n = Object.prototype.toString.call(o).slice(8, -1);
578
+ if (n === "Object" && o.constructor) n = o.constructor.name;
579
+ if (n === "Map" || n === "Set") return Array.from(o);
580
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
581
+ }
582
+ function _arrayLikeToArray(arr, len) {
583
+ if (len == null || len > arr.length) len = arr.length;
584
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
585
+ return arr2;
586
+ }
587
+ function _nonIterableSpread() {
588
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
589
+ }
590
+ function _nonIterableRest() {
591
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
554
592
  }
555
593
 
556
594
  var ENUM = {
@@ -1060,13 +1098,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
1060
1098
  imgHtml.innerHTML = str;
1061
1099
  }
1062
1100
  // 测试使用 测试类型缩小 end
1063
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1101
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1064
1102
  className: "clomnsImg"
1065
1103
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1066
1104
  src: url,
1067
1105
  width: "16px",
1068
1106
  height: "16px"
1069
- }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
1107
+ }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("div", {
1070
1108
  className: "clomnsImg2"
1071
1109
  }, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1072
1110
  src: noImg
@@ -1203,7 +1241,7 @@ function downloadExcel(data, fileName, isResUrl) {
1203
1241
  }
1204
1242
  save_link.click();
1205
1243
  }
1206
- var _formatter = function formatter(data, parentAuthority, parentName) {
1244
+ var formatter = function formatter(data, parentAuthority, parentName) {
1207
1245
  return data.map(function (item) {
1208
1246
  if (!item.name || !item.path) {
1209
1247
  return null;
@@ -1223,7 +1261,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
1223
1261
  authority: item.authority || parentAuthority
1224
1262
  });
1225
1263
  if (item.routes) {
1226
- var children = _formatter(item.routes, item.authority, locale);
1264
+ var children = formatter(item.routes, item.authority, locale);
1227
1265
  // Reduce memory usage
1228
1266
  result.children = children;
1229
1267
  }
@@ -1233,7 +1271,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
1233
1271
  return item;
1234
1272
  });
1235
1273
  };
1236
- var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
1274
+ var memoizeOneFormatter = memoizeOne(formatter, isEqual);
1237
1275
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1238
1276
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1239
1277
  if (backHistoryPath) {
@@ -1542,7 +1580,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1542
1580
  // sheepMap是表头字段中英文映射
1543
1581
  // sheetCount:表的数量,默认一张
1544
1582
  var resolveFile = /*#__PURE__*/function () {
1545
- var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1583
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1546
1584
  var config,
1547
1585
  data,
1548
1586
  _args = arguments;
@@ -1581,7 +1619,7 @@ var resolveFile = /*#__PURE__*/function () {
1581
1619
  }();
1582
1620
  //读取文件
1583
1621
  var readerXlsxToList = /*#__PURE__*/function () {
1584
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1622
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1585
1623
  var _ref5, callback, sheetMap, nowFile, data2, data;
1586
1624
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1587
1625
  while (1) switch (_context2.prev = _context2.next) {
@@ -1674,14 +1712,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
1674
1712
  /**---------------------数据写入excel-------结束------------------------*/
1675
1713
 
1676
1714
  // 获取树平行结构
1677
- var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
1715
+ var coverToParallel = function coverToParallel(treeData, result, chilKey) {
1678
1716
  var childrenKey = chilKey || 'children';
1679
1717
  treeData.forEach(function (el) {
1680
1718
  var _el$childrenKey;
1681
1719
  result.push(el);
1682
1720
  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) {
1683
1721
  // 子级递归
1684
- _coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1722
+ coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1685
1723
  }
1686
1724
  });
1687
1725
  return result;
@@ -1958,13 +1996,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
1958
1996
  imgHtml.innerHTML = str;
1959
1997
  }
1960
1998
  // 测试使用 测试类型缩小 end
1961
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1999
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1962
2000
  className: "clomnsImg"
1963
2001
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1964
2002
  src: url,
1965
2003
  width: "16px",
1966
2004
  height: "16px"
1967
- }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
2005
+ }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1968
2006
  src: noImg
1969
2007
  }))));
1970
2008
  };
@@ -2026,7 +2064,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2026
2064
  }
2027
2065
  });
2028
2066
  };
2029
- var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2067
+ var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && ( /*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2030
2068
  disabled: disabled,
2031
2069
  onChange: function onChange(e) {
2032
2070
  var v = e.target.value;
@@ -2036,7 +2074,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2036
2074
  width: 170
2037
2075
  },
2038
2076
  value: inputValue
2039
- }, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2077
+ }, inpProps))), type === 'number' && ( /*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2040
2078
  disabled: disabled,
2041
2079
  onBlur: function onBlur(e) {
2042
2080
  var v = parseFloat(e.target.value);
@@ -2415,16 +2453,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2415
2453
  var handleExportBarCode = handleExport;
2416
2454
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2417
2455
  var routerMap = {};
2418
- var _flattenMenuData = function flattenMenuData(data) {
2456
+ var flattenMenuData = function flattenMenuData(data) {
2419
2457
  data.forEach(function (menuItem) {
2420
2458
  if (menuItem.children) {
2421
- _flattenMenuData(menuItem.children);
2459
+ flattenMenuData(menuItem.children);
2422
2460
  }
2423
2461
  // Reduce memory usage
2424
2462
  routerMap[menuItem.path] = menuItem;
2425
2463
  });
2426
2464
  };
2427
- _flattenMenuData(menuData);
2465
+ flattenMenuData(menuData);
2428
2466
  return routerMap;
2429
2467
  };
2430
2468
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -2567,7 +2605,7 @@ var requestUtil = function requestUtil(_ref) {
2567
2605
  return request$1(url, parms).then(handleResponseData);
2568
2606
  };
2569
2607
  var handleResponseData = /*#__PURE__*/function () {
2570
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2608
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2571
2609
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2572
2610
  while (1) switch (_context.prev = _context.next) {
2573
2611
  case 0:
@@ -3245,7 +3283,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3245
3283
  style: {
3246
3284
  color: 'red'
3247
3285
  }
3248
- }, "\uFF08\u9F20\u6807\u79FB\u5165\u611F\u53F9\u53F7\u56FE\u6807\u67E5\u770B\u5BFC\u5165\u4F7F\u7528\u8BF4\u660E\uFF09")), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3286
+ }, "\uFF08\u9F20\u6807\u79FB\u5165\u611F\u53F9\u53F7\u56FE\u6807\u67E5\u770B\u5BFC\u5165\u4F7F\u7528\u8BF4\u660E\uFF09")), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && ( /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3249
3287
  trigger: ['click'],
3250
3288
  overlay: this.menuList,
3251
3289
  placement: "bottomRight"
@@ -3920,7 +3958,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
3920
3958
  placement: "bottomLeft"
3921
3959
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3922
3960
  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"))
3923
- }, /*#__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, {
3961
+ }, /*#__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, {
3924
3962
  trigger: ['click'],
3925
3963
  overlay: this.menuList,
3926
3964
  placement: "bottomRight"
@@ -4441,7 +4479,7 @@ var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
4441
4479
  destroyTooltipOnHide: true,
4442
4480
  placement: "topRight",
4443
4481
  autoAdjustOverflow: false,
4444
- title: (/*#__PURE__*/React$1.createElement("div", {
4482
+ title: ( /*#__PURE__*/React$1.createElement("div", {
4445
4483
  style: {
4446
4484
  margin: '6px 8px 0px'
4447
4485
  },
@@ -4743,10 +4781,10 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4743
4781
  setIsMaxTagsOpen: function setIsMaxTagsOpen() {}
4744
4782
  });
4745
4783
  },
4746
- notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
4784
+ notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
4747
4785
  size: "small",
4748
4786
  className: 'searchSelectSpin'
4749
- })) : (/*#__PURE__*/React$1.createElement("div", {
4787
+ })) : ( /*#__PURE__*/React$1.createElement("div", {
4750
4788
  style: {
4751
4789
  textAlign: 'center'
4752
4790
  }
@@ -4978,7 +5016,7 @@ var PropertyGroup = function PropertyGroup(props) {
4978
5016
  title: item.name,
4979
5017
  className: "propertyGroup_checkbox_container"
4980
5018
  }, item.name));
4981
- }), !!notCommonUseProperty.length && (/*#__PURE__*/React$1.createElement("div", {
5019
+ }), !!notCommonUseProperty.length && ( /*#__PURE__*/React$1.createElement("div", {
4982
5020
  style: {
4983
5021
  width: '50px',
4984
5022
  cursor: 'pointer',
@@ -4991,7 +5029,7 @@ var PropertyGroup = function PropertyGroup(props) {
4991
5029
  setShowNotCommon(!showNotCommon);
4992
5030
  handleIndeterminate(commonUseProperty, notCommonUseProperty);
4993
5031
  }
4994
- }, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
5032
+ }, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
4995
5033
  };
4996
5034
  var PropertyGroup$1 = /*#__PURE__*/React$1.memo(PropertyGroup, function (props, nextProps) {
4997
5035
  if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
@@ -5221,7 +5259,7 @@ var PropertySelector = function PropertySelector(_ref) {
5221
5259
  propertyData: item,
5222
5260
  handleProperyItemChange: handleProperyItemChange
5223
5261
  });
5224
- }))), !!notCommonProperty.length && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5262
+ }))), !!notCommonProperty.length && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5225
5263
  style: {
5226
5264
  width: '50px',
5227
5265
  cursor: 'pointer',
@@ -5231,7 +5269,54 @@ var PropertySelector = function PropertySelector(_ref) {
5231
5269
  onClick: function onClick() {
5232
5270
  return setShowNotCommon(!showNotCommon);
5233
5271
  }
5234
- }, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
5272
+ }, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
5273
+ };
5274
+
5275
+ var _excluded$4 = ["onChange", "value", "propertyCode", "name"];
5276
+ var ItemPropertySelector = function ItemPropertySelector(_ref) {
5277
+ var _onChange = _ref.onChange,
5278
+ value = _ref.value,
5279
+ propertyCode = _ref.propertyCode,
5280
+ name = _ref.name,
5281
+ restProps = _objectWithoutProperties(_ref, _excluded$4);
5282
+ var _useState = useState([]),
5283
+ _useState2 = _slicedToArray(_useState, 2),
5284
+ source = _useState2[0],
5285
+ setSource = _useState2[1];
5286
+ useEffect(function () {
5287
+ // FIXME: 目前只能通过固定属性编码先获取属性id,再通过属性id去查属性值 @林军
5288
+ if (propertyCode) {
5289
+ request$2({
5290
+ url: "/items/item/propertyValue/getPropertyValueNoPagerByCode?qp-propertyCode-eq=".concat(propertyCode, "&pageSize=5000"),
5291
+ method: 'GET',
5292
+ converter: function converter(_ref2) {
5293
+ var data = _ref2.data;
5294
+ var source = ((data === null || data === void 0 ? void 0 : data.items) || []).map(function (item) {
5295
+ return {
5296
+ text: item.value,
5297
+ value: item.value
5298
+ };
5299
+ });
5300
+ setSource(source);
5301
+ }
5302
+ });
5303
+ return;
5304
+ }
5305
+ }, [propertyCode]);
5306
+ return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, restProps), {}, {
5307
+ value: value,
5308
+ allowClear: true,
5309
+ style: {
5310
+ width: '100%'
5311
+ },
5312
+ onChange: function onChange(v) {
5313
+ _onChange(v);
5314
+ }
5315
+ }), source.map(function (res) {
5316
+ return /*#__PURE__*/React$1.createElement(Select.Option, {
5317
+ value: res.value
5318
+ }, res.text);
5319
+ }));
5235
5320
  };
5236
5321
 
5237
5322
  var Option$1 = Select.Option;
@@ -5937,7 +6022,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5937
6022
  };
5938
6023
  })) || [];
5939
6024
  return list === null || list === void 0 ? void 0 : (_list$concat = list.concat(addKong)) === null || _list$concat === void 0 ? void 0 : _list$concat.map(function (i, index) {
5940
- var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field10, _i$field11, _i$field12, _i$field13;
6025
+ var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field10, _i$field11, _i$field12, _i$field14, _i$field15;
5941
6026
  if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React$1.createElement(Col, {
5942
6027
  span: ColSpan,
5943
6028
  key: i
@@ -6059,7 +6144,23 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6059
6144
  key: i.name
6060
6145
  }, /*#__PURE__*/React$1.createElement(PropertySelector, null)));
6061
6146
  }
6062
- if ((i === null || i === void 0 ? void 0 : (_i$field12 = i.field) === null || _i$field12 === void 0 ? void 0 : _i$field12.type) === 'multipleQuerySearchSelect') {
6147
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'itemPropertySelector' || (i === null || i === void 0 ? void 0 : (_i$field12 = i.field) === null || _i$field12 === void 0 ? void 0 : _i$field12.type) === 'itemPropertySelector') {
6148
+ var _i$field13;
6149
+ return /*#__PURE__*/React$1.createElement(Col, {
6150
+ span: ColSpan,
6151
+ key: i.name
6152
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
6153
+ name: i.name,
6154
+ label: i.label,
6155
+ key: i.name
6156
+ }, /*#__PURE__*/React$1.createElement(ItemPropertySelector, _objectSpread2({
6157
+ style: {
6158
+ width: '100%'
6159
+ },
6160
+ placeholder: "\u8BF7\u9009\u62E9"
6161
+ }, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props))));
6162
+ }
6163
+ if ((i === null || i === void 0 ? void 0 : (_i$field14 = i.field) === null || _i$field14 === void 0 ? void 0 : _i$field14.type) === 'multipleQuerySearchSelect') {
6063
6164
  return /*#__PURE__*/React$1.createElement(Col, {
6064
6165
  span: ColSpan,
6065
6166
  key: i.name
@@ -6088,7 +6189,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6088
6189
  placeholder: "\u8BF7\u8F93\u5165",
6089
6190
  allowClear: true,
6090
6191
  maxLength: 100
6091
- }, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props), {}, {
6192
+ }, i === null || i === void 0 ? void 0 : (_i$field15 = i.field) === null || _i$field15 === void 0 ? void 0 : _i$field15.props), {}, {
6092
6193
  disabled: setDisabled(i.name)
6093
6194
  }))));
6094
6195
  });
@@ -6284,13 +6385,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6284
6385
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
6285
6386
  return /*#__PURE__*/React$1.createElement("div", {
6286
6387
  className: 'search_select'
6287
- }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
6388
+ }, fieldComponent ? ( /*#__PURE__*/React$1.createElement("div", {
6288
6389
  onClick: function onClick() {
6289
6390
  var _fieldComponent$props, _fieldComponent$props2;
6290
6391
  (_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);
6291
6392
  showModal();
6292
6393
  }
6293
- }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
6394
+ }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
6294
6395
  title: getShowStr({
6295
6396
  viewShowValueStr: viewShowValueStr,
6296
6397
  labelInValue: labelInValue,
@@ -6329,10 +6430,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6329
6430
  dropdownRender: function dropdownRender(menu) {
6330
6431
  return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
6331
6432
  },
6332
- notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
6433
+ notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
6333
6434
  size: "small",
6334
6435
  className: 'searchSelectSpin'
6335
- })) : (/*#__PURE__*/React$1.createElement("div", {
6436
+ })) : ( /*#__PURE__*/React$1.createElement("div", {
6336
6437
  style: {
6337
6438
  textAlign: 'center'
6338
6439
  }
@@ -6372,7 +6473,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6372
6473
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
6373
6474
  filterTxt: searchValue
6374
6475
  }));
6375
- }))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6476
+ }))), needModalTable && isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6376
6477
  maskClosable: false,
6377
6478
  destroyOnClose: true,
6378
6479
  width: "calc(100% - 320px)",
@@ -6418,7 +6519,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6418
6519
  top: 0,
6419
6520
  right: 0
6420
6521
  }
6421
- }, hasMoreQueryFields(modalTableProps) && (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.isHorizontally) ? /*#__PURE__*/React$1.createElement("img", {
6522
+ }, hasMoreQueryFields(modalTableProps) ? /*#__PURE__*/React$1.createElement("img", {
6422
6523
  onClick: function onClick() {
6423
6524
  toggleCollapsed();
6424
6525
  },
@@ -6467,7 +6568,7 @@ var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20enc
6467
6568
  var css_248z$9 = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
6468
6569
  styleInject(css_248z$9);
6469
6570
 
6470
- var _excluded$4 = ["className", "style"];
6571
+ var _excluded$5 = ["className", "style"];
6471
6572
  var Search = Input.Search;
6472
6573
  var DragHandle = SortableHandle(function () {
6473
6574
  return /*#__PURE__*/React$1.createElement("img", {
@@ -6819,7 +6920,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6819
6920
  _this.DraggableBodyRow = function (_ref2) {
6820
6921
  var className = _ref2.className,
6821
6922
  style = _ref2.style,
6822
- restProps = _objectWithoutProperties(_ref2, _excluded$4);
6923
+ restProps = _objectWithoutProperties(_ref2, _excluded$5);
6823
6924
  var sortDataSource = _this.state.sortDataSource;
6824
6925
  // function findIndex base on Table rowKey props and should always be a right array index
6825
6926
  var index = sortDataSource.findIndex(function (x) {
@@ -6969,7 +7070,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6969
7070
  style: {
6970
7071
  width: 525
6971
7072
  }
6972
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
7073
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
6973
7074
  checked: !dataSource.some(function (item) {
6974
7075
  if (item.hidden) return true;
6975
7076
  return false;
@@ -7007,13 +7108,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
7007
7108
  _this2.onChange(e, item.title);
7008
7109
  }
7009
7110
  }, item.title);
7010
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
7111
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
7011
7112
  style: {
7012
7113
  width: '144px'
7013
7114
  }
7014
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
7115
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
7015
7116
  className: 'sort_table_column_all_empty'
7016
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
7117
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
7017
7118
  className: 'sort_table_column_special'
7018
7119
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
7019
7120
  className: 'sort_table_column_all'
@@ -7202,7 +7303,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
7202
7303
  });
7203
7304
  };
7204
7305
  // 格式化树选择器数据源
7205
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7306
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7206
7307
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
7207
7308
  return {
7208
7309
  title: treeDataItem[resKeyValue[1]],
@@ -7212,7 +7313,7 @@ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7212
7313
  isLeaf: !haveChildren,
7213
7314
  disabled: haveChildren,
7214
7315
  children: haveChildren ? treeDataItem.children.map(function (i) {
7215
- return _mapSearchTree(i, resKeyValue);
7316
+ return mapSearchTree(i, resKeyValue);
7216
7317
  }) : []
7217
7318
  };
7218
7319
  };
@@ -7221,7 +7322,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
7221
7322
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
7222
7323
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
7223
7324
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
7224
- return _mapSearchTree(ites, resKeyValue);
7325
+ return mapSearchTree(ites, resKeyValue);
7225
7326
  }) || [];
7226
7327
  changeSearchForm[changePosition].field.props.treeData = formatData;
7227
7328
  };
@@ -7238,7 +7339,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
7238
7339
  });
7239
7340
  };
7240
7341
 
7241
- var _excluded$5 = ["onResize", "width"],
7342
+ var _excluded$6 = ["onResize", "width"],
7242
7343
  _excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
7243
7344
  var checkSpuMatchCode = function checkSpuMatchCode(data) {
7244
7345
  return new Promise(function (resolve, reject) {
@@ -7258,7 +7359,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
7258
7359
  var ResizeableTitle = function ResizeableTitle(props) {
7259
7360
  var onResize = props.onResize,
7260
7361
  width = props.width,
7261
- restProps = _objectWithoutProperties(props, _excluded$5);
7362
+ restProps = _objectWithoutProperties(props, _excluded$6);
7262
7363
  if (!width) {
7263
7364
  return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
7264
7365
  }
@@ -7392,7 +7493,7 @@ var AddSelect = function AddSelect(props) {
7392
7493
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
7393
7494
  // FIXME: 特殊业务逻辑
7394
7495
  var checkSelectChange = /*#__PURE__*/function () {
7395
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7496
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7396
7497
  var result;
7397
7498
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7398
7499
  while (1) switch (_context.prev = _context.next) {
@@ -7645,7 +7746,7 @@ var AddSelect = function AddSelect(props) {
7645
7746
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
7646
7747
  value: text || null,
7647
7748
  onChange: function () {
7648
- var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7749
+ var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7649
7750
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
7650
7751
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
7651
7752
  while (1) switch (_context2.prev = _context2.next) {
@@ -8253,10 +8354,10 @@ var AddSelect = function AddSelect(props) {
8253
8354
  var newColumns = arr.map(function (col) {
8254
8355
  return _objectSpread2({}, col);
8255
8356
  });
8256
- var _handleIndex = function handleIndex(arr, indexArr) {
8357
+ var handleIndex = function handleIndex(arr, indexArr) {
8257
8358
  var i = indexArr.shift();
8258
8359
  if (indexArr.length > 0) {
8259
- _handleIndex(arr[i].children, indexArr);
8360
+ handleIndex(arr[i].children, indexArr);
8260
8361
  } else {
8261
8362
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8262
8363
  width: size.width
@@ -8264,7 +8365,7 @@ var AddSelect = function AddSelect(props) {
8264
8365
  handleAntdColumnsSpecialParams(arr[i]);
8265
8366
  }
8266
8367
  };
8267
- _handleIndex(newColumns, _toConsumableArray(index));
8368
+ handleIndex(newColumns, _toConsumableArray(index));
8268
8369
  callback(newColumns);
8269
8370
  };
8270
8371
  };
@@ -8274,13 +8375,13 @@ var AddSelect = function AddSelect(props) {
8274
8375
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
8275
8376
  setShowToChooseColumns(_toConsumableArray(newColumns));
8276
8377
  };
8277
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
8378
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
8278
8379
  arr.forEach(function (item, index) {
8279
8380
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8280
8381
  return i || i === 0;
8281
8382
  });
8282
8383
  if (noEmptyArray$1(item.children)) {
8283
- _handleColumns(item.children, indexArrInside);
8384
+ handleColumns(item.children, indexArrInside);
8284
8385
  } else {
8285
8386
  item.width = item.width || getItemDefaultWidth$2(item);
8286
8387
  item.onHeaderCell = function (column) {
@@ -8296,14 +8397,14 @@ var AddSelect = function AddSelect(props) {
8296
8397
  handleAntdColumnsSpecialParams(item);
8297
8398
  return _objectSpread2({}, item);
8298
8399
  });
8299
- _handleColumns(showToChooseCol, [], function (res) {
8400
+ handleColumns(showToChooseCol, [], function (res) {
8300
8401
  return setShowToChooseColumnsCallback(res);
8301
8402
  });
8302
8403
  var showSelectedCol = showColumns.map(function (item) {
8303
8404
  handleAntdColumnsSpecialParams(item);
8304
8405
  return _objectSpread2({}, item);
8305
8406
  });
8306
- _handleColumns(showSelectedCol, [], function (res) {
8407
+ handleColumns(showSelectedCol, [], function (res) {
8307
8408
  return setShowColumnsCallback(res);
8308
8409
  });
8309
8410
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -8314,7 +8415,7 @@ var AddSelect = function AddSelect(props) {
8314
8415
  id: "add_select_div_".concat(uniqueValue)
8315
8416
  }, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
8316
8417
  onClick: handleShowModal
8317
- }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
8418
+ }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, {
8318
8419
  width: '1200px',
8319
8420
  style: {
8320
8421
  top: 20
@@ -8490,7 +8591,7 @@ var AddSelect = function AddSelect(props) {
8490
8591
  var css_248z$a = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick {\n margin: 0;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_base {\n background: #fff;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_odd {\n background: #f7f8fb;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-left,\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-right {\n background: #FFFFFF !important;\n}\n";
8491
8592
  styleInject(css_248z$a);
8492
8593
 
8493
- var _excluded$6 = ["onResize", "width"];
8594
+ var _excluded$7 = ["onResize", "width"];
8494
8595
  var _this = undefined;
8495
8596
  var InputElement = function InputElement(_ref) {
8496
8597
  var _record$packingUnitLi, _record$packingUnitLi2;
@@ -8988,7 +9089,7 @@ var InputElement = function InputElement(_ref) {
8988
9089
  var ResizeableTitle$1 = function ResizeableTitle(props) {
8989
9090
  var onResize = props.onResize,
8990
9091
  width = props.width,
8991
- restProps = _objectWithoutProperties(props, _excluded$6);
9092
+ restProps = _objectWithoutProperties(props, _excluded$7);
8992
9093
  if (!width) {
8993
9094
  return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
8994
9095
  }
@@ -9228,7 +9329,7 @@ var BillEntry = function BillEntry(_ref3) {
9228
9329
  });
9229
9330
  };
9230
9331
  var handleSubmit = /*#__PURE__*/function () {
9231
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9332
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9232
9333
  var canEntryObject, _canEntryObject$error, messageInfo;
9233
9334
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9234
9335
  while (1) switch (_context.prev = _context.next) {
@@ -9311,10 +9412,10 @@ var BillEntry = function BillEntry(_ref3) {
9311
9412
  var newColumns = arr.map(function (col) {
9312
9413
  return _objectSpread2({}, col);
9313
9414
  });
9314
- var _handleIndex = function handleIndex(arr, indexArr) {
9415
+ var handleIndex = function handleIndex(arr, indexArr) {
9315
9416
  var i = indexArr.shift();
9316
9417
  if (indexArr.length > 0) {
9317
- _handleIndex(arr[i].children, indexArr);
9418
+ handleIndex(arr[i].children, indexArr);
9318
9419
  } else {
9319
9420
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
9320
9421
  width: size.width
@@ -9322,17 +9423,17 @@ var BillEntry = function BillEntry(_ref3) {
9322
9423
  handleAntdColumnsSpecialParams(arr[i]);
9323
9424
  }
9324
9425
  };
9325
- _handleIndex(newColumns, _toConsumableArray(index));
9426
+ handleIndex(newColumns, _toConsumableArray(index));
9326
9427
  callback(newColumns);
9327
9428
  };
9328
9429
  };
9329
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
9430
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
9330
9431
  arr.forEach(function (item, index) {
9331
9432
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
9332
9433
  return i || i === 0;
9333
9434
  });
9334
9435
  if (noEmptyArray$1(item.children)) {
9335
- _handleColumns(item.children, indexArrInside);
9436
+ handleColumns(item.children, indexArrInside);
9336
9437
  } else {
9337
9438
  item.width = item.width || getItemDefaultWidth$2(item);
9338
9439
  item.onHeaderCell = function (column) {
@@ -9348,7 +9449,7 @@ var BillEntry = function BillEntry(_ref3) {
9348
9449
  handleAntdColumnsSpecialParams(item);
9349
9450
  return _objectSpread2({}, item);
9350
9451
  });
9351
- _handleColumns(showSelectedCol, [], function (res) {
9452
+ handleColumns(showSelectedCol, [], function (res) {
9352
9453
  return setShowColumnsCallback(res);
9353
9454
  });
9354
9455
  return /*#__PURE__*/React$1.createElement("div", {
@@ -9558,6 +9659,7 @@ var handleDefaultPrefixUrl = function handleDefaultPrefixUrl(type) {
9558
9659
  case 'spuCommodity':
9559
9660
  case 'skcCommodity':
9560
9661
  case 'brand':
9662
+ case 'spuCommodityWithProperty':
9561
9663
  result = '/items';
9562
9664
  break;
9563
9665
  case 'physicalWarehouse':
@@ -9663,7 +9765,7 @@ function commonFun(type, prefixUrl, parentProps) {
9663
9765
  });
9664
9766
  };
9665
9767
  // 格式化树选择器数据源
9666
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9768
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9667
9769
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
9668
9770
  return {
9669
9771
  title: treeDataItem[resKeyValue[1]],
@@ -9673,7 +9775,7 @@ function commonFun(type, prefixUrl, parentProps) {
9673
9775
  isLeaf: !haveChildren,
9674
9776
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
9675
9777
  children: haveChildren ? treeDataItem.children.map(function (i) {
9676
- return _mapSearchTree(i, resKeyValue, disabledJudge);
9778
+ return mapSearchTree(i, resKeyValue, disabledJudge);
9677
9779
  }) : []
9678
9780
  };
9679
9781
  };
@@ -9687,7 +9789,7 @@ function commonFun(type, prefixUrl, parentProps) {
9687
9789
  disabledJudge = false;
9688
9790
  }
9689
9791
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
9690
- return _mapSearchTree(ites, resKeyValue, disabledJudge);
9792
+ return mapSearchTree(ites, resKeyValue, disabledJudge);
9691
9793
  }) || [];
9692
9794
  changeSearchForm[changePosition].field.props.treeData = formatData;
9693
9795
  };
@@ -10262,6 +10364,195 @@ function commonFun(type, prefixUrl, parentProps) {
10262
10364
  }]
10263
10365
  }, modalTableBusProps);
10264
10366
  }
10367
+ // 新库存商品选择器spu
10368
+ if (type === 'spuCommodityWithProperty') {
10369
+ selectProps = _objectSpread2({
10370
+ placeholder: '输入spu编码或名称',
10371
+ renderTableColumns: [{
10372
+ title: 'spu编码',
10373
+ dataIndex: 'itemCode'
10374
+ }, {
10375
+ title: 'spu名称',
10376
+ dataIndex: 'name'
10377
+ }]
10378
+ }, selectConfigProps);
10379
+ requestConfig = _objectSpread2({
10380
+ url: "/stock/item/doItemPageAll",
10381
+ method: 'POST',
10382
+ filter: 'qp-itemCode,name-orGroup,like',
10383
+ mappingTextField: 'name',
10384
+ mappingValueField: 'itemCode',
10385
+ otherParams: _objectSpread2({
10386
+ // 'qp-approveStatus-eq': 1, // 审核状态(0.待审批;1.审批通过;2.驳回;3.审批未通过)
10387
+ sorter: 'desc-id'
10388
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10389
+ sourceName: 'itemCode'
10390
+ }, requestConfigProp);
10391
+ tableSearchForm = [{
10392
+ name: 'qp-name-like',
10393
+ label: 'SPU名称'
10394
+ }, {
10395
+ name: 'qp-itemCode-like',
10396
+ label: 'SPU编码'
10397
+ }, {
10398
+ name: 'qp-brandId-in',
10399
+ type: 'select',
10400
+ label: '品牌',
10401
+ field: {
10402
+ type: 'select',
10403
+ props: {
10404
+ mode: 'multiple',
10405
+ notFoundContent: '暂无数据',
10406
+ allowClear: true,
10407
+ showSearch: true,
10408
+ showArrow: true,
10409
+ maxTagCount: 1,
10410
+ optionFilterProp: 'children',
10411
+ filterOption: function filterOption(input, option) {
10412
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10413
+ }
10414
+ }
10415
+ }
10416
+ }, {
10417
+ name: 'qp-categoryId-in',
10418
+ type: 'treeSelect',
10419
+ label: '类目',
10420
+ field: {
10421
+ type: 'treeSelect',
10422
+ props: {
10423
+ treeData: [],
10424
+ treeCheckable: true,
10425
+ showSearch: true,
10426
+ allowClear: true,
10427
+ showArrow: true,
10428
+ treeNodeFilterProp: 'title',
10429
+ treeDefaultExpandAll: true,
10430
+ maxTagCount: 1,
10431
+ placeholder: '请选择',
10432
+ style: {
10433
+ width: '100%'
10434
+ },
10435
+ dropdownStyle: {
10436
+ maxHeight: 400,
10437
+ maxWidth: 100,
10438
+ overflow: 'auto'
10439
+ }
10440
+ }
10441
+ }
10442
+ }, {
10443
+ name: 'qp-classId-in',
10444
+ type: 'select',
10445
+ label: '品类',
10446
+ field: {
10447
+ type: 'select',
10448
+ props: {
10449
+ mode: 'multiple',
10450
+ notFoundContent: '暂无数据',
10451
+ allowClear: true,
10452
+ showSearch: true,
10453
+ showArrow: true,
10454
+ maxTagCount: 1,
10455
+ optionFilterProp: 'children',
10456
+ filterOption: function filterOption(input, option) {
10457
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10458
+ }
10459
+ }
10460
+ }
10461
+ }, {
10462
+ name: 'qp-year-in',
10463
+ label: '年份',
10464
+ field: {
10465
+ type: 'itemPropertySelector',
10466
+ props: {
10467
+ propertyCode: 'SX0000114',
10468
+ mode: 'multiple'
10469
+ }
10470
+ }
10471
+ }, {
10472
+ name: 'qp-season-in',
10473
+ label: '季节',
10474
+ field: {
10475
+ type: 'itemPropertySelector',
10476
+ props: {
10477
+ propertyCode: 'SX0000070',
10478
+ mode: 'multiple'
10479
+ }
10480
+ }
10481
+ }, {
10482
+ name: 'qp-zzdlbm-in',
10483
+ label: '大类',
10484
+ field: {
10485
+ type: 'itemPropertySelector',
10486
+ props: {
10487
+ propertyCode: 'SX0000071',
10488
+ mode: 'multiple'
10489
+ }
10490
+ }
10491
+ }, {
10492
+ name: 'qp-zzzlbm-in',
10493
+ label: '中类',
10494
+ field: {
10495
+ type: 'itemPropertySelector',
10496
+ props: {
10497
+ propertyCode: 'SX0000072',
10498
+ mode: 'multiple'
10499
+ }
10500
+ }
10501
+ }, {
10502
+ name: 'qp-zzxlbm-in',
10503
+ label: '小类',
10504
+ field: {
10505
+ type: 'itemPropertySelector',
10506
+ props: {
10507
+ propertyCode: 'SX0000110',
10508
+ mode: 'multiple'
10509
+ }
10510
+ }
10511
+ }];
10512
+ Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
10513
+ pageSize: 5000,
10514
+ currentPage: 1,
10515
+ 'ctl-withAuth': true
10516
+ }), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/category/queryCategoryTree"), {
10517
+ pageSize: 5000,
10518
+ currentPage: 1
10519
+ }), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/class/withProperty"), {
10520
+ pageSize: 5000,
10521
+ currentPage: 1
10522
+ })]).then(function (x) {
10523
+ formatSource(x, 0, 2, tableSearchForm, ['id', 'name']);
10524
+ formatTreeDataSource(x, 1, 3, tableSearchForm);
10525
+ formatSource(x, 2, 4, tableSearchForm, ['id', 'name']);
10526
+ });
10527
+ modalTableProps = _objectSpread2({
10528
+ modalTableTitle: '选择SPU',
10529
+ tableSearchForm: tableSearchForm,
10530
+ tableColumns: [{
10531
+ title: '序号',
10532
+ dataIndex: 'keyIndex',
10533
+ defaultSort: 0
10534
+ }, {
10535
+ title: 'SPU编码',
10536
+ dataIndex: 'itemCode',
10537
+ defaultSort: 1
10538
+ }, {
10539
+ title: 'SPU名称',
10540
+ dataIndex: 'name',
10541
+ defaultSort: 2
10542
+ }, {
10543
+ title: '品牌',
10544
+ dataIndex: 'brandName',
10545
+ defaultSort: 3
10546
+ }, {
10547
+ title: '类目',
10548
+ dataIndex: 'categoryText',
10549
+ defaultSort: 4
10550
+ }, {
10551
+ title: '品类',
10552
+ dataIndex: 'className'
10553
+ }]
10554
+ }, modalTableBusProps);
10555
+ }
10265
10556
  // 商品选择器skc
10266
10557
  if (type === 'skcCommodity') {
10267
10558
  selectProps = _objectSpread2({
@@ -13799,7 +14090,7 @@ var CommodityEntry = function CommodityEntry(props) {
13799
14090
  };
13800
14091
  return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
13801
14092
  onClick: handleShowModal
13802
- }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
14093
+ }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
13803
14094
  onOk: handleOk,
13804
14095
  onCancel: handleCancel,
13805
14096
  destroyOnClose: true,
@@ -13863,7 +14154,7 @@ function getStorageVale(storageKeyString) {
13863
14154
  return "";
13864
14155
  }
13865
14156
 
13866
- var _excluded$7 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
14157
+ var _excluded$8 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
13867
14158
  var TreeSearchSelect = function TreeSearchSelect(props) {
13868
14159
  var _useState = useState([]),
13869
14160
  _useState2 = _slicedToArray(_useState, 2),
@@ -13905,7 +14196,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13905
14196
  } : _props$style,
13906
14197
  getTreeData = props.getTreeData,
13907
14198
  disabled = props.disabled,
13908
- restProps = _objectWithoutProperties(props, _excluded$7);
14199
+ restProps = _objectWithoutProperties(props, _excluded$8);
13909
14200
  var url = remoteSource.url,
13910
14201
  headers = remoteSource.headers,
13911
14202
  _remoteSource$paramsK = remoteSource.paramsKey,
@@ -13918,7 +14209,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13918
14209
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
13919
14210
  _remoteSource$special = remoteSource.specialBracket,
13920
14211
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
13921
- var _mapSearchTree = function mapSearchTree(treeDataItem) {
14212
+ var mapSearchTree = function mapSearchTree(treeDataItem) {
13922
14213
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
13923
14214
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
13924
14215
  return {
@@ -13930,7 +14221,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13930
14221
  isLeaf: !haveChildren,
13931
14222
  disabled: isDisabled(haveChildren, isRoot),
13932
14223
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
13933
- return _mapSearchTree(i);
14224
+ return mapSearchTree(i);
13934
14225
  }) : []
13935
14226
  };
13936
14227
  };
@@ -13948,8 +14239,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13948
14239
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
13949
14240
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
13950
14241
  headers: headers
13951
- }).then(/*#__PURE__*/function () {
13952
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
14242
+ }).then( /*#__PURE__*/function () {
14243
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
13953
14244
  var _ctx$form;
13954
14245
  var resData, coverData, data, dataList;
13955
14246
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -13976,7 +14267,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13976
14267
  case 9:
13977
14268
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
13978
14269
  coverData = dataList.length && dataList.map(function (ites) {
13979
- return _mapSearchTree(ites);
14270
+ return mapSearchTree(ites);
13980
14271
  }) || [];
13981
14272
  case 11:
13982
14273
  _context.next = 14;
@@ -14014,11 +14305,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14014
14305
  return _formatResult;
14015
14306
  }
14016
14307
  };
14017
- var _parallelData = function parallelData(data, result) {
14308
+ var parallelData = function parallelData(data, result) {
14018
14309
  data.forEach(function (i) {
14019
14310
  result.push(i);
14020
14311
  if (i[treeChildrenRoom]) {
14021
- _parallelData(i[treeChildrenRoom], result);
14312
+ parallelData(i[treeChildrenRoom], result);
14022
14313
  }
14023
14314
  });
14024
14315
  return result;
@@ -14058,7 +14349,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14058
14349
  var _ctx$form2;
14059
14350
  var handleData = formatData(data);
14060
14351
  // 获取选中树节点当条数据,并返回给调用业务
14061
- var parallelTreeData = _parallelData(treeData, []);
14352
+ var parallelTreeData = parallelData(treeData, []);
14062
14353
  var currentItem = getSelectItem(parallelTreeData, data);
14063
14354
  onChange(handleData, data, currentItem, parallelTreeData);
14064
14355
  onChangeName && onChangeName(dataName);
@@ -14101,7 +14392,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14101
14392
  var getShowStr = function getShowStr() {
14102
14393
  var isMultiple = multiple || treeCheckable;
14103
14394
  var kongValue = '无';
14104
- var parallelTreeData = _parallelData(treeData, []);
14395
+ var parallelTreeData = parallelData(treeData, []);
14105
14396
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
14106
14397
  if (isMultiple) {
14107
14398
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -14113,7 +14404,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14113
14404
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
14114
14405
  return /*#__PURE__*/React$1.createElement("div", {
14115
14406
  className: 'tree_search_select'
14116
- }, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
14407
+ }, isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
14117
14408
  title: getShowStr(),
14118
14409
  style: {
14119
14410
  overflow: 'hidden',
@@ -14121,7 +14412,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14121
14412
  whiteSpace: 'nowrap'
14122
14413
  },
14123
14414
  className: 'search_select_show'
14124
- }, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14415
+ }, getShowStr())) : ( /*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14125
14416
  treeCheckable: treeCheckable,
14126
14417
  maxTagCount: maxTagCount,
14127
14418
  showSearch: showSearch,
@@ -14318,7 +14609,7 @@ var index$2 = (function (props) {
14318
14609
  } : {}
14319
14610
  }, item.text)), /*#__PURE__*/React$1.createElement("div", {
14320
14611
  className: 'status-label-operate'
14321
- }, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
14612
+ }, item.isDone ? ( /*#__PURE__*/React$1.createElement("div", {
14322
14613
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
14323
14614
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
14324
14615
  style: {
@@ -14331,7 +14622,7 @@ var index$2 = (function (props) {
14331
14622
  var css_248z$c = ".guide-wrapper .form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.guide-wrapper .form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.guide-wrapper .form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.guide-wrapper .form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.guide-wrapper .form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.guide-wrapper .white-card.bitsun-form-card-class .guidewrapper-body-wrapper {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.guide-wrapper .bitsun-form-card-class > .guidewrapper-body-wrapper {\n margin-bottom: 10px;\n}\n.guide-wrapper .bitsun-form-card-class .guidewrapper-body-wrapper {\n padding: 12px 0 0;\n background-color: #F3F3F3;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #005cff;\n height: 20px;\n margin-right: 16px;\n}\n.guide-wrapper .field-group-hidden .guidewrapper-body-wrapper {\n display: none !important;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap {\n cursor: pointer;\n color: #B6B6B6;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon {\n transition: transform 0.3s;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.guidewrapper-head-wrap {\n padding-left: 16px;\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: #fff;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left {\n display: flex;\n align-items: center;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left::before {\n content: '';\n display: block;\n width: 3px;\n background: #005cff;\n height: 20px;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left .guidewrapper-head-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n padding: 0 6px;\n}\n.guidewrapper-head-border {\n border-bottom: 1px solid #F0F0F0;\n}\n.guidewrapper-title-extra-wrap {\n padding-left: 5px;\n}\n";
14332
14623
  styleInject(css_248z$c);
14333
14624
 
14334
- var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
14625
+ var _excluded$9 = ["children", "titleExtra", "title", "extra", "bordered"],
14335
14626
  _excluded2$3 = ["children"];
14336
14627
  var Field = function Field(_ref) {
14337
14628
  var children = _ref.children,
@@ -14339,7 +14630,7 @@ var Field = function Field(_ref) {
14339
14630
  title = _ref.title,
14340
14631
  extra = _ref.extra,
14341
14632
  bordered = _ref.bordered,
14342
- props = _objectWithoutProperties(_ref, _excluded$8);
14633
+ props = _objectWithoutProperties(_ref, _excluded$9);
14343
14634
  var _React$useState = React$1.useState(true),
14344
14635
  _React$useState2 = _slicedToArray(_React$useState, 2),
14345
14636
  fieldGroupVisible = _React$useState2[0],
@@ -14466,7 +14757,7 @@ var ExportIcon = function ExportIcon(_ref) {
14466
14757
  var css_248z$d = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
14467
14758
  styleInject(css_248z$d);
14468
14759
 
14469
- var _excluded$9 = ["className", "style"];
14760
+ var _excluded$a = ["className", "style"];
14470
14761
  var Search$1 = Input.Search;
14471
14762
  var DragHandle$1 = SortableHandle(function () {
14472
14763
  return /*#__PURE__*/React$1.createElement("img", {
@@ -14884,7 +15175,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14884
15175
  _this.DraggableBodyRow = function (_ref2) {
14885
15176
  var className = _ref2.className,
14886
15177
  style = _ref2.style,
14887
- restProps = _objectWithoutProperties(_ref2, _excluded$9);
15178
+ restProps = _objectWithoutProperties(_ref2, _excluded$a);
14888
15179
  var sortDataSource = _this.state.sortDataSource;
14889
15180
  // function findIndex base on Table rowKey props and should always be a right array index
14890
15181
  var index = sortDataSource.findIndex(function (x) {
@@ -15099,7 +15390,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15099
15390
  style: {
15100
15391
  width: 525
15101
15392
  }
15102
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
15393
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
15103
15394
  checked: !dataSource.some(function (item) {
15104
15395
  if (item.hidden) return true;
15105
15396
  return false;
@@ -15137,13 +15428,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15137
15428
  _this2.onChange(e, item.title);
15138
15429
  }
15139
15430
  }, item.title);
15140
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
15431
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
15141
15432
  style: {
15142
15433
  width: '144px'
15143
15434
  }
15144
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
15435
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
15145
15436
  className: 'sort_table_column_all_empty'
15146
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15437
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15147
15438
  className: 'sort_table_column_special'
15148
15439
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
15149
15440
  className: 'sort_table_column_all'
@@ -15238,7 +15529,7 @@ var TableSumComponent = (function (_ref) {
15238
15529
  }));
15239
15530
  });
15240
15531
 
15241
- var _excluded$a = ["onResize", "width"],
15532
+ var _excluded$b = ["onResize", "width"],
15242
15533
  _excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
15243
15534
  var Text = Typography.Text;
15244
15535
  var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
@@ -15322,10 +15613,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15322
15613
  var newColumns = _this.state.showColumns.map(function (col) {
15323
15614
  return _objectSpread2({}, col);
15324
15615
  });
15325
- var _handleIndex = function handleIndex(arr, indexArr) {
15616
+ var handleIndex = function handleIndex(arr, indexArr) {
15326
15617
  var i = indexArr.shift();
15327
15618
  if (indexArr.length > 0) {
15328
- _handleIndex(arr[i].children, indexArr);
15619
+ handleIndex(arr[i].children, indexArr);
15329
15620
  } else {
15330
15621
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15331
15622
  width: size.width
@@ -15333,7 +15624,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15333
15624
  handleBssulaColumnsSpecialParams(arr[i]);
15334
15625
  }
15335
15626
  };
15336
- _handleIndex(newColumns, _toConsumableArray(index));
15627
+ handleIndex(newColumns, _toConsumableArray(index));
15337
15628
  _this.setState({
15338
15629
  showColumns: _toConsumableArray(newColumns)
15339
15630
  });
@@ -15342,7 +15633,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15342
15633
  _this.ResizeableTitle = function (props) {
15343
15634
  var onResize = props.onResize,
15344
15635
  width = props.width,
15345
- restProps = _objectWithoutProperties(props, _excluded$a);
15636
+ restProps = _objectWithoutProperties(props, _excluded$b);
15346
15637
  var _useState = useState(width),
15347
15638
  _useState2 = _slicedToArray(_useState, 2),
15348
15639
  innerWidth = _useState2[0],
@@ -15374,7 +15665,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15374
15665
  };
15375
15666
  setIsResizing(true);
15376
15667
  document.addEventListener('mousemove', handleMouseMove);
15377
- document.addEventListener('mouseup', _handleMouseUp);
15668
+ document.addEventListener('mouseup', handleMouseUp);
15378
15669
  };
15379
15670
  var handleMouseMove = function handleMouseMove(e) {
15380
15671
  e.stopPropagation();
@@ -15390,9 +15681,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15390
15681
  dom.style.top = "".concat(e.clientY - 20, "px");
15391
15682
  }
15392
15683
  };
15393
- var _handleMouseUp = function handleMouseUp(e) {
15684
+ var handleMouseUp = function handleMouseUp(e) {
15394
15685
  document.removeEventListener('mousemove', handleMouseMove);
15395
- document.removeEventListener('mouseup', _handleMouseUp);
15686
+ document.removeEventListener('mouseup', handleMouseUp);
15396
15687
  setIsResizing(false);
15397
15688
  };
15398
15689
  var handleresize = function handleresize(e, data, title) {
@@ -15513,13 +15804,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15513
15804
  showSummary = summary;
15514
15805
  }
15515
15806
  }
15516
- var _handleColumns = function handleColumns(arr, indexArr) {
15807
+ var handleColumns = function handleColumns(arr, indexArr) {
15517
15808
  arr.forEach(function (item, index) {
15518
15809
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15519
15810
  return i || i === 0;
15520
15811
  });
15521
15812
  if (noEmptyArray$1(item.children)) {
15522
- _handleColumns(item.children, indexArrInside);
15813
+ handleColumns(item.children, indexArrInside);
15523
15814
  } else {
15524
15815
  item.width = item.width || getItemDefaultWidth$2(item);
15525
15816
  item.onHeaderCell = function (column) {
@@ -15535,7 +15826,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15535
15826
  handleBssulaColumnsSpecialParams(item);
15536
15827
  return _objectSpread2({}, item);
15537
15828
  });
15538
- _handleColumns(showCol, []);
15829
+ handleColumns(showCol, []);
15539
15830
  if (dynamicColumns.length) {
15540
15831
  showCol = this.handledynamicColumns(showCol);
15541
15832
  }
@@ -15576,14 +15867,14 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15576
15867
  cell: this.ResizeableTitle
15577
15868
  }
15578
15869
  }
15579
- }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
15870
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15580
15871
  summary: summary
15581
15872
  })));
15582
15873
  }
15583
15874
  }]);
15584
15875
  }(React$1.Component);
15585
15876
 
15586
- var _excluded$b = ["onResize", "width"],
15877
+ var _excluded$c = ["onResize", "width"],
15587
15878
  _excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
15588
15879
  var Text$1 = Typography.Text;
15589
15880
  var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
@@ -15673,10 +15964,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15673
15964
  var newColumns = _this.state.showColumns.map(function (col) {
15674
15965
  return _objectSpread2({}, col);
15675
15966
  });
15676
- var _handleIndex = function handleIndex(arr, indexArr) {
15967
+ var handleIndex = function handleIndex(arr, indexArr) {
15677
15968
  var i = indexArr.shift();
15678
15969
  if (indexArr.length > 0) {
15679
- _handleIndex(arr[i].children, indexArr);
15970
+ handleIndex(arr[i].children, indexArr);
15680
15971
  } else {
15681
15972
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15682
15973
  width: size.width
@@ -15684,7 +15975,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15684
15975
  handleAntdColumnsSpecialParams(arr[i]);
15685
15976
  }
15686
15977
  };
15687
- _handleIndex(newColumns, _toConsumableArray(index));
15978
+ handleIndex(newColumns, _toConsumableArray(index));
15688
15979
  _this.setState({
15689
15980
  showColumns: _toConsumableArray(newColumns)
15690
15981
  });
@@ -15693,7 +15984,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15693
15984
  _this.ResizeableTitle = function (props) {
15694
15985
  var onResize = props.onResize,
15695
15986
  width = props.width,
15696
- restProps = _objectWithoutProperties(props, _excluded$b);
15987
+ restProps = _objectWithoutProperties(props, _excluded$c);
15697
15988
  if (!width) {
15698
15989
  return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
15699
15990
  }
@@ -15760,13 +16051,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15760
16051
  showSummary = summary;
15761
16052
  }
15762
16053
  }
15763
- var _handleColumns = function handleColumns(arr, indexArr) {
16054
+ var handleColumns = function handleColumns(arr, indexArr) {
15764
16055
  arr.forEach(function (item, index) {
15765
16056
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15766
16057
  return i || i === 0;
15767
16058
  });
15768
16059
  if (noEmptyArray$1(item.children)) {
15769
- _handleColumns(item.children, indexArrInside);
16060
+ handleColumns(item.children, indexArrInside);
15770
16061
  } else {
15771
16062
  item.width = item.width || getItemDefaultWidth$2(item);
15772
16063
  item.onHeaderCell = function (column) {
@@ -15782,7 +16073,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15782
16073
  handleAntdColumnsSpecialParams(item);
15783
16074
  return _objectSpread2({}, item);
15784
16075
  });
15785
- _handleColumns(showCol, []);
16076
+ handleColumns(showCol, []);
15786
16077
  if (dynamicColumns.length) {
15787
16078
  showCol = this.handledynamicColumns(showCol);
15788
16079
  }
@@ -15822,7 +16113,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15822
16113
  cell: this.ResizeableTitle
15823
16114
  }
15824
16115
  }
15825
- }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
16116
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15826
16117
  summary: summary
15827
16118
  })));
15828
16119
  }
@@ -15882,20 +16173,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
15882
16173
  };
15883
16174
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
15884
16175
  var routerMap = {};
15885
- var _flattenMenuData2 = function flattenMenuData(data, parent) {
16176
+ var flattenMenuData = function flattenMenuData(data, parent) {
15886
16177
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
15887
16178
  data.forEach(function (menuItem) {
15888
16179
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
15889
16180
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
15890
16181
  });
15891
16182
  if (newMenuItem.children) {
15892
- _flattenMenuData2(newMenuItem.children, newMenuItem);
16183
+ flattenMenuData(newMenuItem.children, newMenuItem);
15893
16184
  }
15894
16185
  // Reduce memory usage
15895
16186
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
15896
16187
  });
15897
16188
  };
15898
- _flattenMenuData2(menuData, {});
16189
+ flattenMenuData(menuData, {});
15899
16190
  return routerMap;
15900
16191
  };
15901
16192
  // mode类型判断
@@ -15974,12 +16265,12 @@ var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D
15974
16265
  var css_248z$g = "";
15975
16266
  styleInject(css_248z$g);
15976
16267
 
15977
- var _excluded$c = ["message", "type"];
16268
+ var _excluded$d = ["message", "type"];
15978
16269
  var CommonAlert = (function (props) {
15979
16270
  var message = props.message,
15980
16271
  _props$type = props.type,
15981
16272
  type = _props$type === void 0 ? 'info' : _props$type,
15982
- reset = _objectWithoutProperties(props, _excluded$c);
16273
+ reset = _objectWithoutProperties(props, _excluded$d);
15983
16274
  return /*#__PURE__*/React$1.createElement("div", {
15984
16275
  style: {
15985
16276
  width: '100%',
@@ -16000,7 +16291,7 @@ var CommonAlert = (function (props) {
16000
16291
  }, reset)));
16001
16292
  });
16002
16293
 
16003
- var _excluded$d = ["children"];
16294
+ var _excluded$e = ["children"];
16004
16295
  var iconMap = {
16005
16296
  edit: /*#__PURE__*/React$1.createElement("img", {
16006
16297
  src: editIcon
@@ -16022,7 +16313,7 @@ var index$3 = (function (props) {
16022
16313
  _useState2 = _slicedToArray(_useState, 1),
16023
16314
  id = _useState2[0];
16024
16315
  var children = props.children,
16025
- restProps = _objectWithoutProperties(props, _excluded$d);
16316
+ restProps = _objectWithoutProperties(props, _excluded$e);
16026
16317
  return /*#__PURE__*/React$1.createElement("div", {
16027
16318
  id: id,
16028
16319
  className: 'detail_page_wrapper'
@@ -16221,7 +16512,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16221
16512
  display: 'flex',
16222
16513
  gap: '8px'
16223
16514
  }
16224
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
16515
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
16225
16516
  title: "\u53D6\u6D88\u5168\u5C4F"
16226
16517
  }, /*#__PURE__*/React$1.createElement("img", {
16227
16518
  onClick: function onClick() {
@@ -16229,7 +16520,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16229
16520
  },
16230
16521
  width: 24,
16231
16522
  src: scanning
16232
- }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
16523
+ }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
16233
16524
  title: "\u5168\u5C4F"
16234
16525
  }, /*#__PURE__*/React$1.createElement("img", {
16235
16526
  onClick: function onClick() {
@@ -16237,7 +16528,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16237
16528
  },
16238
16529
  width: 24,
16239
16530
  src: quanping
16240
- }))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16531
+ }))))) : null)), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16241
16532
  }, function (prevProps, nextProps) {
16242
16533
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
16243
16534
  return false;
@@ -16248,7 +16539,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16248
16539
  var css_248z$h = ".bs_home_page_head_wrapper {\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
16249
16540
  styleInject(css_248z$h);
16250
16541
 
16251
- var _excluded$e = ["children"];
16542
+ var _excluded$f = ["children"];
16252
16543
  var index$4 = (function (props) {
16253
16544
  var _useLocation = useLocation(),
16254
16545
  pathname = _useLocation.pathname;
@@ -16256,7 +16547,7 @@ var index$4 = (function (props) {
16256
16547
  _useState2 = _slicedToArray(_useState, 1),
16257
16548
  id = _useState2[0];
16258
16549
  var children = props.children,
16259
- restProps = _objectWithoutProperties(props, _excluded$e);
16550
+ restProps = _objectWithoutProperties(props, _excluded$f);
16260
16551
  return /*#__PURE__*/React$1.createElement("div", {
16261
16552
  id: id,
16262
16553
  className: 'home_page_wrapper'
@@ -16322,7 +16613,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16322
16613
  }, /*#__PURE__*/React$1.createElement("span", {
16323
16614
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
16324
16615
  }, item));
16325
- }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16616
+ }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16326
16617
  }, function (prevProps, nextProps) {
16327
16618
  if (prevProps.title !== nextProps.title) {
16328
16619
  return false;
@@ -16333,7 +16624,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16333
16624
  var css_248z$i = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
16334
16625
  styleInject(css_248z$i);
16335
16626
 
16336
- var _excluded$f = ["className", "style"];
16627
+ var _excluded$g = ["className", "style"];
16337
16628
  var DragHandle$2 = SortableHandle(function () {
16338
16629
  return /*#__PURE__*/React$1.createElement("img", {
16339
16630
  width: 25,
@@ -16771,7 +17062,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16771
17062
  _this.DraggableBodyRow = function (_ref2) {
16772
17063
  var className = _ref2.className,
16773
17064
  style = _ref2.style,
16774
- restProps = _objectWithoutProperties(_ref2, _excluded$f);
17065
+ restProps = _objectWithoutProperties(_ref2, _excluded$g);
16775
17066
  var sortDataSource = _this.state.sortDataSource;
16776
17067
  // function findIndex base on Table rowKey props and should always be a right array index
16777
17068
  var index = sortDataSource.findIndex(function (x) {
@@ -16962,7 +17253,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16962
17253
  });
16963
17254
  return /*#__PURE__*/React$1.createElement("div", {
16964
17255
  className: 'sort_table_wrapper'
16965
- }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
17256
+ }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
16966
17257
  title: "\u5C55\u793A\u5217\u8BBE\u7F6E",
16967
17258
  wrapClassName: 'sort_table_wrapper',
16968
17259
  width: 810,
@@ -17013,7 +17304,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17013
17304
  width: 525,
17014
17305
  height: 24
17015
17306
  }
17016
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
17307
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
17017
17308
  checked: !dataSource.some(function (item) {
17018
17309
  if (item.hidden) return true;
17019
17310
  return false;
@@ -17067,13 +17358,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17067
17358
  _this2.onChange(e, item.title);
17068
17359
  }
17069
17360
  }, item.title);
17070
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
17361
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17071
17362
  style: {
17072
17363
  width: '144px'
17073
17364
  }
17074
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
17365
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17075
17366
  className: 'sort_table_column_all_empty'
17076
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
17367
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
17077
17368
  className: 'sort_table_column_special'
17078
17369
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
17079
17370
  className: 'sort_table_column_all'
@@ -17141,7 +17432,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17141
17432
  }]);
17142
17433
  }(React$1.Component);
17143
17434
 
17144
- var _excluded$g = ["className", "style"];
17435
+ var _excluded$h = ["className", "style"];
17145
17436
  var DragHandle$3 = SortableHandle(function () {
17146
17437
  return /*#__PURE__*/React$1.createElement("img", {
17147
17438
  width: 25,
@@ -17394,7 +17685,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17394
17685
  _this.DraggableBodyRow = function (_ref2) {
17395
17686
  var className = _ref2.className,
17396
17687
  style = _ref2.style,
17397
- restProps = _objectWithoutProperties(_ref2, _excluded$g);
17688
+ restProps = _objectWithoutProperties(_ref2, _excluded$h);
17398
17689
  var sortDataSource = _this.state.sortDataSource;
17399
17690
  var index = sortDataSource.findIndex(function (x) {
17400
17691
  return x.name === restProps['data-row-key'];
@@ -17547,7 +17838,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17547
17838
  });
17548
17839
  return /*#__PURE__*/React$1.createElement("div", {
17549
17840
  className: 'sort_table_wrapper'
17550
- }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
17841
+ }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
17551
17842
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
17552
17843
  wrapClassName: 'sort_table_wrapper',
17553
17844
  width: 820,
@@ -17592,7 +17883,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17592
17883
  style: {
17593
17884
  width: 525
17594
17885
  }
17595
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
17886
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
17596
17887
  checked: !dataSource.some(function (item) {
17597
17888
  if (item.hidden) return true;
17598
17889
  return false;
@@ -17628,11 +17919,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17628
17919
  _this2.onChange(e, item.name);
17629
17920
  }
17630
17921
  }, item.label);
17631
- }), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
17922
+ }), !!newSearchSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17632
17923
  style: {
17633
17924
  width: '144px'
17634
17925
  }
17635
- })), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
17926
+ })), !newSearchSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17636
17927
  className: 'sort_table_column_all_empty'
17637
17928
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
17638
17929
  className: 'sort_table_content_wrapper'
@@ -17693,13 +17984,13 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17693
17984
  var css_248z$j = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
17694
17985
  styleInject(css_248z$j);
17695
17986
 
17696
- var _excluded$h = ["onResize", "width"];
17987
+ var _excluded$i = ["onResize", "width"];
17697
17988
  var MemoQueryTable = /*#__PURE__*/React$1.memo(QueryTable);
17698
17989
  var Text$2 = Typography.Text;
17699
17990
  var ResizeableTitle$2 = function ResizeableTitle(props) {
17700
17991
  var onResize = props.onResize,
17701
17992
  width = props.width,
17702
- restProps = _objectWithoutProperties(props, _excluded$h);
17993
+ restProps = _objectWithoutProperties(props, _excluded$i);
17703
17994
  var _useState = useState(width),
17704
17995
  _useState2 = _slicedToArray(_useState, 2),
17705
17996
  innerWidth = _useState2[0],
@@ -17731,7 +18022,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17731
18022
  };
17732
18023
  setIsResizing(true);
17733
18024
  document.addEventListener('mousemove', handleMouseMove);
17734
- document.addEventListener('mouseup', _handleMouseUp);
18025
+ document.addEventListener('mouseup', handleMouseUp);
17735
18026
  };
17736
18027
  var handleMouseMove = function handleMouseMove(e) {
17737
18028
  e.stopPropagation();
@@ -17747,9 +18038,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17747
18038
  dom.style.top = "".concat(e.clientY - 20, "px");
17748
18039
  }
17749
18040
  };
17750
- var _handleMouseUp = function handleMouseUp(e) {
18041
+ var handleMouseUp = function handleMouseUp(e) {
17751
18042
  document.removeEventListener('mousemove', handleMouseMove);
17752
- document.removeEventListener('mouseup', _handleMouseUp);
18043
+ document.removeEventListener('mouseup', handleMouseUp);
17753
18044
  setIsResizing(false);
17754
18045
  };
17755
18046
  var handleresize = function handleresize(e, data, title) {
@@ -18160,7 +18451,7 @@ var BsSulaQueryTable = (function (props) {
18160
18451
  actionsRender = actionsRender.concat([{
18161
18452
  type: 'text',
18162
18453
  props: {
18163
- children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
18454
+ children: ( /*#__PURE__*/React$1.createElement(ExportIcon, {
18164
18455
  request: {
18165
18456
  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),
18166
18457
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -18406,7 +18697,7 @@ var BsSulaQueryTable = (function (props) {
18406
18697
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
18407
18698
  bsTableCode: bsTableCode,
18408
18699
  onlyModal: true
18409
- }), (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, {
18700
+ }), (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, {
18410
18701
  ref: exportTableRef,
18411
18702
  setShowColumns: setShowExportColumns,
18412
18703
  setInitialTableInfo: setInitialTableInfo,
@@ -18499,11 +18790,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18499
18790
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
18500
18791
  var resultList = [];
18501
18792
  var newRouter = cloneDeep(router);
18502
- var _deep = function deep(router) {
18793
+ var deep = function deep(router) {
18503
18794
  if (router && Array.isArray(router)) {
18504
18795
  router.forEach(function (item) {
18505
18796
  if (item.children && Array.isArray(item.children)) {
18506
- _deep(item.children);
18797
+ deep(item.children);
18507
18798
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
18508
18799
  return d === item.code;
18509
18800
  })) {
@@ -18517,10 +18808,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18517
18808
  resultList.push(_objectSpread2({}, router));
18518
18809
  }
18519
18810
  };
18520
- _deep(newRouter);
18811
+ deep(newRouter);
18521
18812
  callBack([].concat(resultList));
18522
18813
  };
18523
- var _setMenuTreeData = function setMenuTreeData(routesData) {
18814
+ var setMenuTreeData = function setMenuTreeData(routesData) {
18524
18815
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
18525
18816
  var _loop = function _loop(i) {
18526
18817
  if (routesData[i].hideInMenu) {
@@ -18534,7 +18825,7 @@ var _setMenuTreeData = function setMenuTreeData(routesData) {
18534
18825
  return 0; // continue
18535
18826
  }
18536
18827
  if (routesData[i].children) {
18537
- _setMenuTreeData(routesData[i].children);
18828
+ setMenuTreeData(routesData[i].children);
18538
18829
  }
18539
18830
  },
18540
18831
  _ret;
@@ -18555,16 +18846,16 @@ var setLoginOutPath = function setLoginOutPath() {
18555
18846
  };
18556
18847
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
18557
18848
  var routerMap = {};
18558
- var _flattenMenuData = function flattenMenuData(data) {
18849
+ var flattenMenuData = function flattenMenuData(data) {
18559
18850
  data.forEach(function (menuItem) {
18560
18851
  if (menuItem.children) {
18561
- _flattenMenuData(menuItem.children);
18852
+ flattenMenuData(menuItem.children);
18562
18853
  }
18563
18854
  // Reduce memory usage
18564
18855
  routerMap[menuItem.path] = menuItem;
18565
18856
  });
18566
18857
  };
18567
- _flattenMenuData(menuData);
18858
+ flattenMenuData(menuData);
18568
18859
  return routerMap;
18569
18860
  };
18570
18861
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -18710,7 +19001,7 @@ var DrawContent = function DrawContent(_ref) {
18710
19001
  sethomepageData(homepageDataList);
18711
19002
  setroutesData(routesDataList);
18712
19003
  }, []);
18713
- var _renderChildItem = function renderChildItem(child) {
19004
+ var renderChildItem = function renderChildItem(child) {
18714
19005
  if (!child.hideInMenu && child.children) {
18715
19006
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
18716
19007
  style: {
@@ -18720,7 +19011,7 @@ var DrawContent = function DrawContent(_ref) {
18720
19011
  }, formatMessage({
18721
19012
  id: "".concat(child.locale)
18722
19013
  })), child.children.map(function (menuItem) {
18723
- return _renderChildItem(menuItem);
19014
+ return renderChildItem(menuItem);
18724
19015
  }));
18725
19016
  } else if (!child.hideInMenu && child.path) {
18726
19017
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -18755,7 +19046,7 @@ var DrawContent = function DrawContent(_ref) {
18755
19046
  className: 'drawerWarp'
18756
19047
  }, homepageData && homepageData.filter(function (d) {
18757
19048
  return !d.hideInMenu;
18758
- }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
19049
+ }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
18759
19050
  className: classNames('allFunsList', 'allFunsListWarp'),
18760
19051
  dataSource: homepageData,
18761
19052
  renderItem: function renderItem(child) {
@@ -18790,7 +19081,7 @@ var DrawContent = function DrawContent(_ref) {
18790
19081
  bordered: true,
18791
19082
  dataSource: item.children,
18792
19083
  renderItem: function renderItem(child) {
18793
- return _renderChildItem(child);
19084
+ return renderChildItem(child);
18794
19085
  }
18795
19086
  });
18796
19087
  })));
@@ -18850,7 +19141,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
18850
19141
  src: allfunc
18851
19142
  })), /*#__PURE__*/React$1.createElement("span", {
18852
19143
  className: 'btnSpan2'
18853
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
19144
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
18854
19145
  style: {
18855
19146
  left: isDrawer ? 140 : 0,
18856
19147
  top: 50
@@ -18896,7 +19187,7 @@ function outLogin(_x) {
18896
19187
  return _outLogin.apply(this, arguments);
18897
19188
  }
18898
19189
  function _outLogin() {
18899
- _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19190
+ _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18900
19191
  var res;
18901
19192
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18902
19193
  while (1) switch (_context.prev = _context.next) {
@@ -19038,7 +19329,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
19038
19329
  });
19039
19330
  };
19040
19331
  var loginOut = /*#__PURE__*/function () {
19041
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19332
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19042
19333
  var sessionId;
19043
19334
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19044
19335
  while (1) switch (_context.prev = _context.next) {
@@ -19142,7 +19433,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
19142
19433
  marginRight: '0px'
19143
19434
  },
19144
19435
  src: './xialajiantou-new.svg'
19145
- }))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19436
+ }))))), loginModalParams.visible && ( /*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19146
19437
  };
19147
19438
 
19148
19439
  // -- 查询店铺 --
@@ -19150,7 +19441,7 @@ function getStoreByName(_x) {
19150
19441
  return _getStoreByName.apply(this, arguments);
19151
19442
  }
19152
19443
  function _getStoreByName() {
19153
- _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19444
+ _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19154
19445
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19155
19446
  while (1) switch (_context.prev = _context.next) {
19156
19447
  case 0:
@@ -19218,7 +19509,7 @@ var ChooseStore = function ChooseStore(props) {
19218
19509
  return _fetchUserList.apply(this, arguments);
19219
19510
  }
19220
19511
  function _fetchUserList() {
19221
- _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19512
+ _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19222
19513
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
19223
19514
  while (1) switch (_context3.prev = _context3.next) {
19224
19515
  case 0:
@@ -19266,7 +19557,7 @@ var ChooseStore = function ChooseStore(props) {
19266
19557
  return debounce$1(loadOptions, debounceTimeout);
19267
19558
  }, [debounceTimeout, key]);
19268
19559
  var changeInput = /*#__PURE__*/function () {
19269
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19560
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19270
19561
  var res;
19271
19562
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19272
19563
  while (1) switch (_context.prev = _context.next) {
@@ -19288,7 +19579,7 @@ var ChooseStore = function ChooseStore(props) {
19288
19579
  };
19289
19580
  }();
19290
19581
  useEffect(function () {
19291
- _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19582
+ _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19292
19583
  var res;
19293
19584
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
19294
19585
  while (1) switch (_context2.prev = _context2.next) {
@@ -19453,7 +19744,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19453
19744
  var resultList = [];
19454
19745
  var newRouter = cloneDeep$1(router);
19455
19746
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
19456
- var _deep = function deep(router) {
19747
+ var deep = function deep(router) {
19457
19748
  if (router && Array.isArray(router)) {
19458
19749
  router.forEach(function (item) {
19459
19750
  if (item.routes && Array.isArray(item.routes)) {
@@ -19463,7 +19754,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19463
19754
  d.nameEdit = true;
19464
19755
  }
19465
19756
  });
19466
- _deep(item.routes);
19757
+ deep(item.routes);
19467
19758
  } else if (!item.hideInMenu && (name ? formatMessage({
19468
19759
  id: "menu.".concat(item.name)
19469
19760
  }).indexOf(name) !== -1 : true)) {
@@ -19482,7 +19773,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19482
19773
  }));
19483
19774
  }
19484
19775
  };
19485
- _deep(newRouter);
19776
+ deep(newRouter);
19486
19777
  setroutesData([].concat(resultList));
19487
19778
  };
19488
19779
  var renderLineStyl = function renderLineStyl(name) {
@@ -19564,7 +19855,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19564
19855
  },
19565
19856
  title: item.fullPathName
19566
19857
  }, renderLineStyl(item.fullPathName));
19567
- }))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
19858
+ }))))), showSelectStore && ( /*#__PURE__*/React$1.createElement(ChooseStore, {
19568
19859
  employeeCode: employeeCode
19569
19860
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
19570
19861
  };
@@ -19579,7 +19870,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
19579
19870
  var TreeNode = Tree.TreeNode;
19580
19871
  var Search$2 = Input.Search;
19581
19872
  var dataList = [];
19582
- var _generateList = function generateList(data) {
19873
+ var generateList = function generateList(data) {
19583
19874
  for (var i = 0; i < data.length; i++) {
19584
19875
  var node = data[i];
19585
19876
  var path = node.path,
@@ -19589,11 +19880,11 @@ var _generateList = function generateList(data) {
19589
19880
  name: name
19590
19881
  });
19591
19882
  if (node.children) {
19592
- _generateList(node.children);
19883
+ generateList(node.children);
19593
19884
  }
19594
19885
  }
19595
19886
  };
19596
- var _getParentKey = function getParentKey(path, tree) {
19887
+ var getParentKey = function getParentKey(path, tree) {
19597
19888
  var parentKey;
19598
19889
  for (var i = 0; i < tree.length; i++) {
19599
19890
  var node = tree[i];
@@ -19602,8 +19893,8 @@ var _getParentKey = function getParentKey(path, tree) {
19602
19893
  return item.path === path;
19603
19894
  })) {
19604
19895
  parentKey = node.path;
19605
- } else if (_getParentKey(path, node.children)) {
19606
- parentKey = _getParentKey(path, node.children);
19896
+ } else if (getParentKey(path, node.children)) {
19897
+ parentKey = getParentKey(path, node.children);
19607
19898
  }
19608
19899
  }
19609
19900
  }
@@ -19634,7 +19925,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19634
19925
  var treeData = _this.state.treeData;
19635
19926
  var expandedKeys = dataList.map(function (item) {
19636
19927
  if (item.name.indexOf(value) > -1) {
19637
- return _getParentKey(item.path, treeData);
19928
+ return getParentKey(item.path, treeData);
19638
19929
  }
19639
19930
  return null;
19640
19931
  }).filter(function (item, i, self) {
@@ -19648,22 +19939,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19648
19939
  };
19649
19940
  _this.getPathList = function (originData) {
19650
19941
  var pathList = [];
19651
- var _getList = function getList(data) {
19942
+ var getList = function getList(data) {
19652
19943
  if (Array.isArray(data)) {
19653
19944
  data.forEach(function (item) {
19654
19945
  pathList.push(item.path);
19655
19946
  if (item.children) {
19656
- _getList(item.children);
19947
+ getList(item.children);
19657
19948
  }
19658
19949
  });
19659
19950
  } else {
19660
19951
  pathList.push(data.path);
19661
19952
  if (data.children) {
19662
- _getList(data.children);
19953
+ getList(data.children);
19663
19954
  }
19664
19955
  }
19665
19956
  };
19666
- _getList(originData);
19957
+ getList(originData);
19667
19958
  return pathList;
19668
19959
  };
19669
19960
  _this.handleAdd2Menu = function (path) {
@@ -19672,18 +19963,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19672
19963
  customerMenuData = _this$props.customerMenuData,
19673
19964
  setCustomerMenuData = _this$props.setCustomerMenuData;
19674
19965
  var filterItem;
19675
- var _filterMenuItem = function filterMenuItem(menuData) {
19966
+ var filterMenuItem = function filterMenuItem(menuData) {
19676
19967
  menuData.forEach(function (item) {
19677
19968
  if (item.path === path) {
19678
19969
  filterItem = _objectSpread2({}, item);
19679
19970
  return;
19680
19971
  }
19681
19972
  if (item.children) {
19682
- _filterMenuItem(item.children);
19973
+ filterMenuItem(item.children);
19683
19974
  }
19684
19975
  });
19685
19976
  };
19686
- _filterMenuItem(treeData);
19977
+ filterMenuItem(treeData);
19687
19978
  var addPathList = _this.getPathList(filterItem);
19688
19979
  var oldPathList = _this.getPathList(customerMenuData);
19689
19980
  var isRepet = false;
@@ -19713,8 +20004,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19713
20004
  return item.path === '/';
19714
20005
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
19715
20006
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
19716
- _setMenuTreeData(routesData);
19717
- _generateList(routesData);
20007
+ setMenuTreeData(routesData);
20008
+ generateList(routesData);
19718
20009
  this.setState({
19719
20010
  treeData: routesData
19720
20011
  });
@@ -19728,16 +20019,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19728
20019
  expandedKeys = _this$state.expandedKeys,
19729
20020
  autoExpandParent = _this$state.autoExpandParent,
19730
20021
  treeData = _this$state.treeData;
19731
- var _loop = function loop(data) {
20022
+ var loop = function loop(data) {
19732
20023
  return data.map(function (item) {
19733
20024
  var index = item.name.indexOf(searchValue);
19734
20025
  var beforeStr = item.name.substr(0, index);
19735
20026
  var afterStr = item.name.substr(index + searchValue.length);
19736
- var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
20027
+ var name = index > -1 ? ( /*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
19737
20028
  style: {
19738
20029
  color: '#f50'
19739
20030
  }
19740
- }, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
20031
+ }, searchValue), afterStr)) : ( /*#__PURE__*/React$1.createElement("span", null, item.name));
19741
20032
  if (item.children && item.children.length) {
19742
20033
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19743
20034
  path: item.path,
@@ -19759,7 +20050,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19759
20050
  width: 18,
19760
20051
  src: arrowRight
19761
20052
  }))))
19762
- }, _loop(item.children));
20053
+ }, loop(item.children));
19763
20054
  }
19764
20055
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19765
20056
  path: item.path,
@@ -19809,7 +20100,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19809
20100
  onExpand: this.onExpand,
19810
20101
  expandedKeys: expandedKeys,
19811
20102
  autoExpandParent: autoExpandParent
19812
- }, _loop(treeData))));
20103
+ }, loop(treeData))));
19813
20104
  }
19814
20105
  }]);
19815
20106
  }(React$1.Component);
@@ -19842,24 +20133,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19842
20133
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
19843
20134
  var dragObj;
19844
20135
  var finalDropItem;
19845
- var _loop = function loop(data, path, callback) {
20136
+ var loop = function loop(data, path, callback) {
19846
20137
  for (var i = 0; i < data.length; i++) {
19847
20138
  if (data[i].path === path) {
19848
20139
  return callback(data[i], i, data);
19849
20140
  }
19850
20141
  if (data[i].children) {
19851
- _loop(data[i].children, path, callback);
20142
+ loop(data[i].children, path, callback);
19852
20143
  }
19853
20144
  }
19854
20145
  };
19855
20146
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
19856
- _loop(data, dragKey, function (item, index, arr) {
20147
+ loop(data, dragKey, function (item, index, arr) {
19857
20148
  arr.splice(index, 1);
19858
20149
  dragObj = item;
19859
20150
  });
19860
20151
  if (!info.dropToGap) {
19861
20152
  // Drop on the content
19862
- _loop(data, dropKey, function (item) {
20153
+ loop(data, dropKey, function (item) {
19863
20154
  item.children = item.children || [];
19864
20155
  item.children.unshift(dragObj);
19865
20156
  finalDropItem = _objectSpread2({}, item);
@@ -19870,7 +20161,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19870
20161
  // Is expanded
19871
20162
  dropPosition === 1 // On the bottom gap
19872
20163
  ) {
19873
- _loop(data, dropKey, function (item) {
20164
+ loop(data, dropKey, function (item) {
19874
20165
  item.children = item.children || [];
19875
20166
  item.children.unshift(dragObj);
19876
20167
  finalDropItem = _objectSpread2({}, item);
@@ -19878,7 +20169,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19878
20169
  } else {
19879
20170
  var ar;
19880
20171
  var i;
19881
- _loop(data, dropKey, function (item, index, arr) {
20172
+ loop(data, dropKey, function (item, index, arr) {
19882
20173
  ar = arr;
19883
20174
  i = index;
19884
20175
  });
@@ -19917,17 +20208,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19917
20208
  title: '编辑名称',
19918
20209
  callBack: function callBack(newName) {
19919
20210
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19920
- var _editTreeDataName = function editTreeDataName(oldTreeData) {
20211
+ var editTreeDataName = function editTreeDataName(oldTreeData) {
19921
20212
  oldTreeData.forEach(function (treeItem) {
19922
20213
  if (treeItem.path === item.path) {
19923
20214
  treeItem.name = newName;
19924
20215
  }
19925
20216
  if (treeItem.children) {
19926
- _editTreeDataName(treeItem.children);
20217
+ editTreeDataName(treeItem.children);
19927
20218
  }
19928
20219
  });
19929
20220
  };
19930
- _editTreeDataName(oldTreeData);
20221
+ editTreeDataName(oldTreeData);
19931
20222
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19932
20223
  _this.setState({
19933
20224
  modalInfo: {
@@ -19972,7 +20263,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19972
20263
  title: '新增子目录',
19973
20264
  callBack: function callBack(newName) {
19974
20265
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19975
- var _addChildFolder = function addChildFolder(oldTreeData) {
20266
+ var addChildFolder = function addChildFolder(oldTreeData) {
19976
20267
  oldTreeData.forEach(function (treeItem) {
19977
20268
  if (treeItem.path === item.path) {
19978
20269
  treeItem.children ? treeItem.children.push({
@@ -19984,11 +20275,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19984
20275
  }];
19985
20276
  }
19986
20277
  if (treeItem.children) {
19987
- _addChildFolder(treeItem.children);
20278
+ addChildFolder(treeItem.children);
19988
20279
  }
19989
20280
  });
19990
20281
  };
19991
- _addChildFolder(oldTreeData);
20282
+ addChildFolder(oldTreeData);
19992
20283
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19993
20284
  _this.setState({
19994
20285
  modalInfo: {
@@ -20047,7 +20338,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20047
20338
  var _this$state = this.state,
20048
20339
  modalInfo = _this$state.modalInfo,
20049
20340
  checkedKeys = _this$state.checkedKeys;
20050
- var _loop2 = function loop(data) {
20341
+ var loop = function loop(data) {
20051
20342
  return data.map(function (item) {
20052
20343
  if (item.children && item.children.length) {
20053
20344
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -20064,7 +20355,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20064
20355
  e.stopPropagation();
20065
20356
  }
20066
20357
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
20067
- }, _loop2(item.children));
20358
+ }, loop(item.children));
20068
20359
  }
20069
20360
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
20070
20361
  path: item.path,
@@ -20143,7 +20434,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20143
20434
  children: 'children'
20144
20435
  },
20145
20436
  onDrop: this.onDrop
20146
- }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20437
+ }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20147
20438
  width: 600,
20148
20439
  bodyStyle: {
20149
20440
  paddingTop: '32px',
@@ -20256,7 +20547,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20256
20547
  pathname: item.path
20257
20548
  });
20258
20549
  };
20259
- var _getMenuDom = function getMenuDom(menuData) {
20550
+ var getMenuDom = function getMenuDom(menuData) {
20260
20551
  return menuData.map(function (item) {
20261
20552
  return /*#__PURE__*/React$1.createElement("div", {
20262
20553
  style: {
@@ -20271,7 +20562,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20271
20562
  fontWeight: item.children || !item.component ? 'bolder' : '400',
20272
20563
  paddingLeft: '4px'
20273
20564
  }
20274
- }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
20565
+ }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
20275
20566
  });
20276
20567
  };
20277
20568
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20297,7 +20588,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20297
20588
  style: {
20298
20589
  paddingLeft: '5px'
20299
20590
  }
20300
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
20591
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
20301
20592
  style: {
20302
20593
  left: isDrawer ? 140 : 0
20303
20594
  },
@@ -20318,7 +20609,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20318
20609
  visible: isDrawer
20319
20610
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
20320
20611
  className: 'menu_title_line'
20321
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20612
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20322
20613
  title: /*#__PURE__*/React$1.createElement("span", {
20323
20614
  style: {
20324
20615
  fontWeight: '600',
@@ -20392,7 +20683,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20392
20683
  return item.path === '/';
20393
20684
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
20394
20685
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
20395
- _setMenuTreeData(routesData);
20686
+ setMenuTreeData(routesData);
20396
20687
  routesData.forEach(function (item) {
20397
20688
  if (item.children) {
20398
20689
  routesDataList.push(item);
@@ -20422,7 +20713,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20422
20713
  setHeight(clientHeight - 190);
20423
20714
  setDrawHeight(clientHeight - 70);
20424
20715
  };
20425
- var _renderChildItem = function renderChildItem(child) {
20716
+ var renderChildItem = function renderChildItem(child) {
20426
20717
  if (!child.hideInMenu && child.children) {
20427
20718
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
20428
20719
  style: {
@@ -20432,7 +20723,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20432
20723
  }, formatMessage({
20433
20724
  id: "".concat(child.locale)
20434
20725
  })), child.children.map(function (menuItem) {
20435
- return _renderChildItem(menuItem);
20726
+ return renderChildItem(menuItem);
20436
20727
  }));
20437
20728
  } else if (!child.hideInMenu && child.path) {
20438
20729
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -20574,7 +20865,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20574
20865
  onMenuClick(e, item);
20575
20866
  }
20576
20867
  }, item.name);
20577
- }))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
20868
+ }))), !!SearhData.length ? ( /*#__PURE__*/React$1.createElement("div", {
20578
20869
  className: 'search_menu_content'
20579
20870
  }, SearhData.map(function (item) {
20580
20871
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20583,7 +20874,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20583
20874
  },
20584
20875
  key: item.path
20585
20876
  }, item.name);
20586
- }))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20877
+ }))) : ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20587
20878
  style: {
20588
20879
  height: "".concat(rightMenuHeight, "px"),
20589
20880
  overflowY: 'scroll',
@@ -20595,7 +20886,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20595
20886
  className: 'drawerWarp_right'
20596
20887
  }, homepageData && homepageData.filter(function (d) {
20597
20888
  return !d.hideInMenu;
20598
- }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
20889
+ }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
20599
20890
  className: classNames('allFunsList', 'allFunsListWarp'),
20600
20891
  dataSource: homepageData,
20601
20892
  renderItem: function renderItem(child) {
@@ -20636,7 +20927,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20636
20927
  bordered: true,
20637
20928
  dataSource: item.children,
20638
20929
  renderItem: function renderItem(child) {
20639
- return _renderChildItem(child);
20930
+ return renderChildItem(child);
20640
20931
  }
20641
20932
  });
20642
20933
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -20776,7 +21067,7 @@ var NoFoundPage = function NoFoundPage(props) {
20776
21067
  }));
20777
21068
  };
20778
21069
 
20779
- var _excluded$i = ["route"];
21070
+ var _excluded$j = ["route"];
20780
21071
  var TabPane = Tabs.TabPane;
20781
21072
  var getId = function getId(str) {
20782
21073
  // 找到最后一个 / 的位置
@@ -20794,10 +21085,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20794
21085
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
20795
21086
  var menuKeys = [];
20796
21087
  var docsId = [];
20797
- var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
21088
+ var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
20798
21089
  data.forEach(function (item) {
20799
21090
  if (item.children && item.children.length > 0) {
20800
- _getLimitedMenuKeys(item.children);
21091
+ getLimitedMenuKeys(item.children);
20801
21092
  } else {
20802
21093
  var originPath = item.path.replace(/^\/\w+\//, '/');
20803
21094
  menuKeys.push(originPath);
@@ -20808,7 +21099,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20808
21099
  });
20809
21100
  };
20810
21101
  try {
20811
- _getLimitedMenuKeys(limitedMenuData);
21102
+ getLimitedMenuKeys(limitedMenuData);
20812
21103
  } catch (e) {}
20813
21104
  return {
20814
21105
  menuKeys: menuKeys,
@@ -21042,10 +21333,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21042
21333
  return (node.path || '').includes('all-general-documents');
21043
21334
  };
21044
21335
  // 递归获取树列表
21045
- var _getTreeList = function getTreeList(data) {
21336
+ var getTreeList = function getTreeList(data) {
21046
21337
  data.forEach(function (node) {
21047
21338
  if (node.routes && node.routes.length > 0) {
21048
- _getTreeList(node.routes);
21339
+ getTreeList(node.routes);
21049
21340
  return;
21050
21341
  }
21051
21342
  // todo:暂时处理非wujie环境不做404管控
@@ -21076,7 +21367,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21076
21367
  }
21077
21368
  });
21078
21369
  };
21079
- _getTreeList(treeData);
21370
+ getTreeList(treeData);
21080
21371
  return treeList;
21081
21372
  };
21082
21373
  _this.getDictionarySource = function (dicCode) {
@@ -21705,7 +21996,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21705
21996
  updateState = _ref8.updateState;
21706
21997
  return /*#__PURE__*/React$1.createElement("div", {
21707
21998
  className: "tab_title_content"
21708
- }, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
21999
+ }, item.tab, item.key !== '/' && ( /*#__PURE__*/React$1.createElement(ItemMenu, {
21709
22000
  info: item,
21710
22001
  operateFun: _this3.operateFun,
21711
22002
  listenRouterState: listenRouterState
@@ -21717,7 +22008,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21717
22008
  }); // 添加数据大屏
21718
22009
  var _this$props3 = this.props,
21719
22010
  route = _this$props3.route,
21720
- restPrpos = _objectWithoutProperties(_this$props3, _excluded$i);
22011
+ restPrpos = _objectWithoutProperties(_this$props3, _excluded$j);
21721
22012
  var exist = route.routes.find(function (route) {
21722
22013
  return route.path === '/homePage/data-show';
21723
22014
  });
@@ -21841,7 +22132,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21841
22132
  };
21842
22133
  }
21843
22134
  var OperationsSlot = {
21844
- left: (/*#__PURE__*/React$1.createElement("div", {
22135
+ left: ( /*#__PURE__*/React$1.createElement("div", {
21845
22136
  className: 'tab_left_operate'
21846
22137
  }, /*#__PURE__*/React$1.createElement("div", {
21847
22138
  onClick: function onClick() {
@@ -21857,7 +22148,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21857
22148
  _this3.setTabNavTransLate(-100);
21858
22149
  }
21859
22150
  }, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
21860
- right: (/*#__PURE__*/React$1.createElement("div", {
22151
+ right: ( /*#__PURE__*/React$1.createElement("div", {
21861
22152
  style: {
21862
22153
  opacity: this.state.isSlider ? 1 : 0.5
21863
22154
  },
@@ -21955,7 +22246,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21955
22246
  onMouseLeave: function onMouseLeave() {
21956
22247
  _this3.setShowMenu(false);
21957
22248
  }
21958
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
22249
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
21959
22250
  style: {
21960
22251
  position: 'absolute',
21961
22252
  top: '14px',
@@ -21974,7 +22265,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21974
22265
  postMenuData: function postMenuData(menus) {
21975
22266
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
21976
22267
  },
21977
- links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
22268
+ links: [!this.state.collapse ? ( /*#__PURE__*/React$1.createElement(AllFunc$1, {
21978
22269
  ref: this.allFunc,
21979
22270
  itemPath: itemPath,
21980
22271
  handleClose: this.handleClose,
@@ -21992,7 +22283,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21992
22283
  },
21993
22284
  menu: {
21994
22285
  request: function () {
21995
- var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
22286
+ var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21996
22287
  return _regeneratorRuntime().wrap(function _callee$(_context) {
21997
22288
  while (1) switch (_context.prev = _context.next) {
21998
22289
  case 0:
@@ -22127,7 +22418,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
22127
22418
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
22128
22419
  timeFormat = _this$props4.timeFormat,
22129
22420
  transparentProps = _this$props4.transparentProps;
22130
- 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({
22421
+ 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({
22131
22422
  getDictionarySource: getDictionarySource,
22132
22423
  getDictionaryTextByValue: getDictionaryTextByValue,
22133
22424
  timeFormat: timeFormat
@@ -22151,12 +22442,12 @@ var index$5 = (function (props) {
22151
22442
  });
22152
22443
 
22153
22444
  // @ts-nocheck
22154
- var _getAllColumns = function getAllColumns(columns) {
22445
+ var getAllColumns = function getAllColumns(columns) {
22155
22446
  var result = [];
22156
22447
  columns.forEach(function (column) {
22157
22448
  if (column.children) {
22158
22449
  result.push(column);
22159
- result.push.apply(result, _getAllColumns(column.children));
22450
+ result.push.apply(result, getAllColumns(column.children));
22160
22451
  } else {
22161
22452
  result.push(column);
22162
22453
  }
@@ -22165,7 +22456,7 @@ var _getAllColumns = function getAllColumns(columns) {
22165
22456
  };
22166
22457
  var convertToRows = function convertToRows(originColumns) {
22167
22458
  var maxLevel = 1;
22168
- var _traverse = function traverse(column, parent) {
22459
+ var traverse = function traverse(column, parent) {
22169
22460
  if (parent) {
22170
22461
  column.level = parent.level + 1;
22171
22462
  if (maxLevel < column.level) {
@@ -22175,7 +22466,7 @@ var convertToRows = function convertToRows(originColumns) {
22175
22466
  if (column.children) {
22176
22467
  var colSpan = 0;
22177
22468
  column.children.forEach(function (subColumn) {
22178
- _traverse(subColumn, column);
22469
+ traverse(subColumn, column);
22179
22470
  colSpan += subColumn.colSpan;
22180
22471
  });
22181
22472
  column.colSpan = colSpan;
@@ -22185,13 +22476,13 @@ var convertToRows = function convertToRows(originColumns) {
22185
22476
  };
22186
22477
  originColumns.forEach(function (column) {
22187
22478
  column.level = 1;
22188
- _traverse(column);
22479
+ traverse(column);
22189
22480
  });
22190
22481
  var rows = [];
22191
22482
  for (var i = 0; i < maxLevel; i++) {
22192
22483
  rows.push([]);
22193
22484
  }
22194
- var allColumns = _getAllColumns(originColumns);
22485
+ var allColumns = getAllColumns(originColumns);
22195
22486
  allColumns.forEach(function (column) {
22196
22487
  if (!column.children) {
22197
22488
  column.rowSpan = maxLevel - column.level + 1;
@@ -22231,7 +22522,7 @@ var convertToRows = function convertToRows(originColumns) {
22231
22522
  };
22232
22523
  var headersToRows = function headersToRows(originColumns) {
22233
22524
  var maxLevel = 1;
22234
- var _traverse2 = function traverse(column, parent) {
22525
+ var traverse = function traverse(column, parent) {
22235
22526
  if (parent) {
22236
22527
  //计算当前元素属于第几个层级
22237
22528
  column.level = parent.level + 1;
@@ -22244,7 +22535,7 @@ var headersToRows = function headersToRows(originColumns) {
22244
22535
  var colSpan = 0;
22245
22536
  column.children.forEach(function (subColumn) {
22246
22537
  //进行递归
22247
- _traverse2(subColumn, column);
22538
+ traverse(subColumn, column);
22248
22539
  colSpan += subColumn.colSpan;
22249
22540
  });
22250
22541
  column.colSpan = colSpan;
@@ -22254,14 +22545,14 @@ var headersToRows = function headersToRows(originColumns) {
22254
22545
  };
22255
22546
  originColumns.forEach(function (column) {
22256
22547
  column.level = 1;
22257
- _traverse2(column);
22548
+ traverse(column);
22258
22549
  });
22259
22550
  var rows = [];
22260
22551
  var lastData = [];
22261
22552
  for (var i = 0; i < maxLevel; i++) {
22262
22553
  rows.push([]);
22263
22554
  }
22264
- var allColumns = _getAllColumns(originColumns);
22555
+ var allColumns = getAllColumns(originColumns);
22265
22556
  allColumns.forEach(function (column) {
22266
22557
  if (!column.children) {
22267
22558
  column.rowSpan = maxLevel - column.level + 1;
@@ -22690,10 +22981,10 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
22690
22981
  }))))));
22691
22982
  });
22692
22983
 
22693
- var _excluded$j = ["children"];
22984
+ var _excluded$k = ["children"];
22694
22985
  var Drawer = (function (props) {
22695
22986
  var children = props.children,
22696
- restProps = _objectWithoutProperties(props, _excluded$j);
22987
+ restProps = _objectWithoutProperties(props, _excluded$k);
22697
22988
  return /*#__PURE__*/React$1.createElement(Drawer$1, _objectSpread2({
22698
22989
  mask: true,
22699
22990
  closable: false,
@@ -28278,7 +28569,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
28278
28569
  }
28279
28570
  return lineStart <= highLightLine && lineEnd >= highLightLine;
28280
28571
  };
28281
- var _hasHighLightChildren = function hasHighLightChildren() {
28572
+ var hasHighLightChildren = function hasHighLightChildren() {
28282
28573
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
28283
28574
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
28284
28575
  var children = hightLightData.children,
@@ -28289,7 +28580,7 @@ var _hasHighLightChildren = function hasHighLightChildren() {
28289
28580
  lineEnd = _loc2[2];
28290
28581
  if (children) {
28291
28582
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
28292
- return _hasHighLightChildren(v, highLightLine);
28583
+ return hasHighLightChildren(v, highLightLine);
28293
28584
  });
28294
28585
  }
28295
28586
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -28301,7 +28592,7 @@ function createHighLightTreeData(treeData, highLightLine) {
28301
28592
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
28302
28593
  data.forEach(function (node) {
28303
28594
  if (!node) return;
28304
- node.toggled = _hasHighLightChildren(node, highLightLine);
28595
+ node.toggled = hasHighLightChildren(node, highLightLine);
28305
28596
  node.active = isHightLight(node, highLightLine);
28306
28597
  if (node.children) {
28307
28598
  if (node.active) {
@@ -29732,7 +30023,7 @@ var valueType = {
29732
30023
  };
29733
30024
 
29734
30025
  var getDynamicDict = /*#__PURE__*/function () {
29735
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
30026
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
29736
30027
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29737
30028
  while (1) switch (_context.prev = _context.next) {
29738
30029
  case 0:
@@ -29800,7 +30091,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29800
30091
  value: false
29801
30092
  }];
29802
30093
  var ref = useRef();
29803
- useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30094
+ useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29804
30095
  var _ref$current, source;
29805
30096
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29806
30097
  while (1) switch (_context.prev = _context.next) {
@@ -29914,7 +30205,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29914
30205
  source: {
29915
30206
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
29916
30207
  type: function () {
29917
- var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
30208
+ var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
29918
30209
  var form, values, name, relates, source;
29919
30210
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
29920
30211
  while (1) switch (_context2.prev = _context2.next) {
@@ -30394,7 +30685,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30394
30685
  source: {
30395
30686
  relates: ['choiceType', 'inputType'],
30396
30687
  type: function () {
30397
- var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30688
+ var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30398
30689
  var values, name, form, source;
30399
30690
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
30400
30691
  while (1) switch (_context3.prev = _context3.next) {
@@ -30616,7 +30907,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30616
30907
  width: 900,
30617
30908
  maskClosable: false,
30618
30909
  onOk: function () {
30619
- var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30910
+ var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30620
30911
  var _ref$current4, _res$editableStatus;
30621
30912
  var res, _res$defaultValue;
30622
30913
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -30688,7 +30979,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30688
30979
  }()
30689
30980
  }), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
30690
30981
  ref: ref
30691
- })), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30982
+ })), maintainOptionsModal.visible && ( /*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30692
30983
  };
30693
30984
 
30694
30985
  // @ts-nocheck
@@ -31302,7 +31593,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31302
31593
  return setVisible(false);
31303
31594
  },
31304
31595
  className: 'customFieldsDrawer'
31305
- }, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
31596
+ }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React$1.createElement("div", {
31306
31597
  style: {
31307
31598
  display: 'flex'
31308
31599
  }
@@ -31311,13 +31602,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31311
31602
  flex: 1,
31312
31603
  width: 500
31313
31604
  }
31314
- }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31605
+ }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31315
31606
  style: {
31316
31607
  padding: "10px 0",
31317
31608
  fontSize: "16px",
31318
31609
  fontWeight: "bolder"
31319
31610
  }
31320
- }, "\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", {
31611
+ }, "\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", {
31321
31612
  style: {
31322
31613
  flex: 1
31323
31614
  }
@@ -31326,7 +31617,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31326
31617
  onRun: onClickRun,
31327
31618
  value: jsonEditorVal,
31328
31619
  shallowHeight: height
31329
- })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
31620
+ })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React$1.createElement(Tabs, {
31330
31621
  defaultActiveKey: activeKey,
31331
31622
  onChange: function onChange(v) {
31332
31623
  return setActiveKey(v);
@@ -31343,13 +31634,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31343
31634
  flex: 1,
31344
31635
  width: 500
31345
31636
  }
31346
- }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31637
+ }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31347
31638
  style: {
31348
31639
  padding: "10px 0",
31349
31640
  fontSize: "16px",
31350
31641
  fontWeight: "bolder"
31351
31642
  }
31352
- }, "\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", {
31643
+ }, "\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", {
31353
31644
  style: {
31354
31645
  flex: 1
31355
31646
  }
@@ -31371,13 +31662,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31371
31662
  flex: 1,
31372
31663
  width: 500
31373
31664
  }
31374
- }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
31665
+ }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React$1.createElement("div", {
31375
31666
  style: {
31376
31667
  padding: "10px 0",
31377
31668
  fontSize: "16px",
31378
31669
  fontWeight: "bolder"
31379
31670
  }
31380
- }, "\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", {
31671
+ }, "\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", {
31381
31672
  style: {
31382
31673
  flex: 1
31383
31674
  }
@@ -31472,7 +31763,7 @@ var formatListName = function formatListName(list, columns) {
31472
31763
  });
31473
31764
  };
31474
31765
 
31475
- var _excluded$k = ["sorter"];
31766
+ var _excluded$l = ["sorter"];
31476
31767
  /**
31477
31768
  * 删掉查询条件的qp- 和 -eq等
31478
31769
  * @param {object} data
@@ -31523,7 +31814,7 @@ function getMetaData(_x) {
31523
31814
 
31524
31815
  // 获取数据
31525
31816
  function _getMetaData() {
31526
- _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31817
+ _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31527
31818
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31528
31819
  while (1) switch (_context.prev = _context.next) {
31529
31820
  case 0:
@@ -31555,7 +31846,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
31555
31846
  var _requestConfig$method;
31556
31847
  var params = _ref.params;
31557
31848
  var sorter = params.sorter,
31558
- paramsTemp = _objectWithoutProperties(params, _excluded$k);
31849
+ paramsTemp = _objectWithoutProperties(params, _excluded$l);
31559
31850
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, requestConfig.params), requestConfig.body), _.omit(paramsTemp, ['filters', 'current'])), (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.filters) || {}), {
31560
31851
  currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
31561
31852
  });
@@ -31745,7 +32036,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
31745
32036
  tableState = _useState4[0],
31746
32037
  setTableState = _useState4[1];
31747
32038
  var handleOpen = /*#__PURE__*/function () {
31748
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32039
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31749
32040
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
31750
32041
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
31751
32042
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -32064,7 +32355,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
32064
32355
  destroyOnClose: true
32065
32356
  }, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
32066
32357
  ref: queryTableRef
32067
- }, 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, {
32358
+ }, 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, {
32068
32359
  justify: "center",
32069
32360
  style: {
32070
32361
  marginBottom: 30,
@@ -32180,7 +32471,7 @@ var CustomSelector = (function (props) {
32180
32471
  var _props$ctx7;
32181
32472
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
32182
32473
  }
32183
- })), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
32474
+ })), showType === 'modalTable' && ( /*#__PURE__*/React$1.createElement(Button, {
32184
32475
  type: "primary",
32185
32476
  style: {
32186
32477
  width: '30px',
@@ -32266,7 +32557,7 @@ var BsCascader = function BsCascader(_ref) {
32266
32557
  _useState2 = _slicedToArray(_useState, 2),
32267
32558
  handSource = _useState2[0],
32268
32559
  setHandSource = _useState2[1];
32269
- useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32560
+ useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32270
32561
  var resData, data;
32271
32562
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32272
32563
  while (1) switch (_context.prev = _context.next) {
@@ -32418,7 +32709,7 @@ function getRegularThresholdRange(_x) {
32418
32709
  return _getRegularThresholdRange.apply(this, arguments);
32419
32710
  }
32420
32711
  function _getRegularThresholdRange() {
32421
- _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32712
+ _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32422
32713
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32423
32714
  while (1) switch (_context.prev = _context.next) {
32424
32715
  case 0:
@@ -32572,7 +32863,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32572
32863
  };
32573
32864
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
32574
32865
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
32575
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32866
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32576
32867
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
32577
32868
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32578
32869
  while (1) switch (_context.prev = _context.next) {
@@ -33529,7 +33820,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33529
33820
  isAll: true,
33530
33821
  needNameAndCode: true,
33531
33822
  notChangeOnSelect: true,
33532
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33823
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33533
33824
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
33534
33825
  while (1) switch (_context2.prev = _context2.next) {
33535
33826
  case 0:
@@ -33578,7 +33869,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33578
33869
  isAll: true,
33579
33870
  needNameAndCode: true,
33580
33871
  notChangeOnSelect: true,
33581
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33872
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33582
33873
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
33583
33874
  while (1) switch (_context3.prev = _context3.next) {
33584
33875
  case 0:
@@ -33629,7 +33920,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33629
33920
  isAll: true,
33630
33921
  needNameAndCode: true,
33631
33922
  notChangeOnSelect: true,
33632
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33923
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33633
33924
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
33634
33925
  while (1) switch (_context4.prev = _context4.next) {
33635
33926
  case 0:
@@ -35607,7 +35898,7 @@ var App$1 = function App(_ref) {
35607
35898
  borderRadius: '5px',
35608
35899
  cursor: 'pointer'
35609
35900
  }
35610
- }, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
35901
+ }, isStaticNumber ? ( /*#__PURE__*/React$1.createElement(Input, {
35611
35902
  autoFocus: true,
35612
35903
  onClick: function onClick(e) {
35613
35904
  return e.stopPropagation();
@@ -35894,7 +36185,7 @@ function RenderCompItem(props) {
35894
36185
  dictData = _useState2[0],
35895
36186
  setDictData = _useState2[1];
35896
36187
  var getDictData = /*#__PURE__*/function () {
35897
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
36188
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
35898
36189
  var _data$map;
35899
36190
  var data;
35900
36191
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -35936,7 +36227,7 @@ function RenderCompItem(props) {
35936
36227
  var style2 = {
35937
36228
  width: '100px'
35938
36229
  };
35939
- 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, {
36230
+ 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, {
35940
36231
  disabled: disabled,
35941
36232
  allowClear: true,
35942
36233
  onClear: function onClear() {
@@ -35947,7 +36238,7 @@ function RenderCompItem(props) {
35947
36238
  onBlur: function onBlur(e) {
35948
36239
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
35949
36240
  }
35950
- })) || 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, {
36241
+ })) || 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, {
35951
36242
  disabled: disabled,
35952
36243
  // max={Number.MAX_SAFE_INTEGER}
35953
36244
  max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
@@ -35960,7 +36251,7 @@ function RenderCompItem(props) {
35960
36251
  onChange: function onChange(value) {
35961
36252
  handleEdit(ites.code, value);
35962
36253
  }
35963
- })) || 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, {
36254
+ })) || 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, {
35964
36255
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
35965
36256
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
35966
36257
  disabled: disabled,
@@ -35970,7 +36261,7 @@ function RenderCompItem(props) {
35970
36261
  onChange: function onChange(value, dateString) {
35971
36262
  handleEdit(ites.code, dateString);
35972
36263
  }
35973
- })) || 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, {
36264
+ })) || 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, {
35974
36265
  showTime: true,
35975
36266
  disabled: disabled,
35976
36267
  defaultValue: ites.defaultValue,
@@ -35979,7 +36270,7 @@ function RenderCompItem(props) {
35979
36270
  onChange: function onChange(value, timeString) {
35980
36271
  handleEdit(ites.code, timeString);
35981
36272
  }
35982
- })) || 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, {
36273
+ })) || 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, {
35983
36274
  disabled: disabled,
35984
36275
  defaultChecked: !!ites.defaultValue,
35985
36276
  style: style2,
@@ -35987,7 +36278,7 @@ function RenderCompItem(props) {
35987
36278
  onChange: function onChange(value) {
35988
36279
  handleEdit(ites.code, value);
35989
36280
  }
35990
- })) || 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({
36281
+ })) || 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({
35991
36282
  disabled: disabled,
35992
36283
  allowClear: true,
35993
36284
  showArrow: true
@@ -36005,7 +36296,7 @@ function RenderCompItem(props) {
36005
36296
  key: it,
36006
36297
  value: it
36007
36298
  }, ites.enumeration[it]);
36008
- }))) || 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, {
36299
+ }))) || 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, {
36009
36300
  disabled: disabled,
36010
36301
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
36011
36302
  defaultValue: ites.defaultValue,
@@ -36015,7 +36306,7 @@ function RenderCompItem(props) {
36015
36306
  handleEdit(ites.code, value);
36016
36307
  },
36017
36308
  dictionaryCode: ites.dictionaryCode
36018
- })) || 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, {
36309
+ })) || 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, {
36019
36310
  selectBusinessType: "physicalWarehouse",
36020
36311
  selectProps: _objectSpread2({
36021
36312
  style: styleCommon,
@@ -36037,7 +36328,7 @@ function RenderCompItem(props) {
36037
36328
  getPopupContainer: function getPopupContainer() {
36038
36329
  return document.body;
36039
36330
  }
36040
- })) || 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, {
36331
+ })) || 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, {
36041
36332
  selectBusinessType: "realWarehouse",
36042
36333
  selectProps: _objectSpread2({
36043
36334
  style: styleCommon,
@@ -36059,7 +36350,7 @@ function RenderCompItem(props) {
36059
36350
  getPopupContainer: function getPopupContainer() {
36060
36351
  return document.body;
36061
36352
  }
36062
- })) || 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, {
36353
+ })) || 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, {
36063
36354
  selectBusinessType: "virtualWarehouse",
36064
36355
  selectProps: _objectSpread2({
36065
36356
  style: styleCommon,
@@ -36081,7 +36372,7 @@ function RenderCompItem(props) {
36081
36372
  getPopupContainer: function getPopupContainer() {
36082
36373
  return document.body;
36083
36374
  }
36084
- })) || 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, {
36375
+ })) || 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, {
36085
36376
  selectBusinessType: "channelWarehouse",
36086
36377
  selectProps: _objectSpread2({
36087
36378
  style: styleCommon,
@@ -36103,7 +36394,7 @@ function RenderCompItem(props) {
36103
36394
  getPopupContainer: function getPopupContainer() {
36104
36395
  return document.body;
36105
36396
  }
36106
- })) || 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, {
36397
+ })) || 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, {
36107
36398
  selectBusinessType: "spuCommodity",
36108
36399
  selectProps: _objectSpread2({
36109
36400
  style: styleCommon,
@@ -36124,7 +36415,7 @@ function RenderCompItem(props) {
36124
36415
  getPopupContainer: function getPopupContainer() {
36125
36416
  return document.body;
36126
36417
  }
36127
- })) || 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, {
36418
+ })) || 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, {
36128
36419
  selectBusinessType: "skuCommodity",
36129
36420
  selectProps: _objectSpread2({
36130
36421
  style: styleCommon,
@@ -36145,13 +36436,13 @@ function RenderCompItem(props) {
36145
36436
  getPopupContainer: function getPopupContainer() {
36146
36437
  return document.body;
36147
36438
  }
36148
- })) || 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, {
36439
+ })) || 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, {
36149
36440
  disabled: disabled,
36150
36441
  isAll: true,
36151
36442
  needNameAndCode: true,
36152
36443
  notChangeOnSelect: true,
36153
36444
  initRequestSource: function () {
36154
- var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36445
+ var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36155
36446
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
36156
36447
  while (1) switch (_context2.prev = _context2.next) {
36157
36448
  case 0:
@@ -36193,7 +36484,7 @@ function RenderCompItem(props) {
36193
36484
  getPopupContainer: function getPopupContainer() {
36194
36485
  return document.body;
36195
36486
  }
36196
- })) || 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, {
36487
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 210 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
36197
36488
  disabled: disabled,
36198
36489
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36199
36490
  businessType: "department",
@@ -36206,7 +36497,7 @@ function RenderCompItem(props) {
36206
36497
  getPopupContainer: function getPopupContainer() {
36207
36498
  return document.body;
36208
36499
  }
36209
- })) || 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, {
36500
+ })) || 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, {
36210
36501
  disabled: disabled,
36211
36502
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36212
36503
  businessType: "purchase-organization",
@@ -36219,7 +36510,7 @@ function RenderCompItem(props) {
36219
36510
  getPopupContainer: function getPopupContainer() {
36220
36511
  return document.body;
36221
36512
  }
36222
- })) || 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, {
36513
+ })) || 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, {
36223
36514
  disabled: disabled,
36224
36515
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36225
36516
  businessType: "sales-organization",
@@ -36232,7 +36523,7 @@ function RenderCompItem(props) {
36232
36523
  getPopupContainer: function getPopupContainer() {
36233
36524
  return document.body;
36234
36525
  }
36235
- })) || 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, {
36526
+ })) || 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, {
36236
36527
  selectBusinessType: "supplier2",
36237
36528
  selectProps: _objectSpread2({
36238
36529
  style: styleCommon,
@@ -36253,7 +36544,7 @@ function RenderCompItem(props) {
36253
36544
  getPopupContainer: function getPopupContainer() {
36254
36545
  return document.body;
36255
36546
  }
36256
- })) || 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, {
36547
+ })) || 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, {
36257
36548
  selectBusinessType: "customer2",
36258
36549
  selectProps: _objectSpread2({
36259
36550
  style: styleCommon,
@@ -36274,7 +36565,7 @@ function RenderCompItem(props) {
36274
36565
  getPopupContainer: function getPopupContainer() {
36275
36566
  return document.body;
36276
36567
  }
36277
- })) || 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, {
36568
+ })) || 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, {
36278
36569
  selectBusinessType: "shopFile2",
36279
36570
  selectProps: _objectSpread2({
36280
36571
  style: styleCommon,
@@ -36295,7 +36586,7 @@ function RenderCompItem(props) {
36295
36586
  getPopupContainer: function getPopupContainer() {
36296
36587
  return document.body;
36297
36588
  }
36298
- })) || 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, {
36589
+ })) || 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, {
36299
36590
  selectBusinessType: "employee2",
36300
36591
  selectProps: _objectSpread2({
36301
36592
  style: styleCommon,
@@ -36316,7 +36607,7 @@ function RenderCompItem(props) {
36316
36607
  getPopupContainer: function getPopupContainer() {
36317
36608
  return document.body;
36318
36609
  }
36319
- })) || 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, {
36610
+ })) || 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, {
36320
36611
  disabled: disabled,
36321
36612
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36322
36613
  businessType: "stock-organization",
@@ -36329,7 +36620,7 @@ function RenderCompItem(props) {
36329
36620
  getPopupContainer: function getPopupContainer() {
36330
36621
  return document.body;
36331
36622
  }
36332
- })) || 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, {
36623
+ })) || 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, {
36333
36624
  disabled: disabled,
36334
36625
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36335
36626
  businessType: "settle-organization",
@@ -36342,7 +36633,7 @@ function RenderCompItem(props) {
36342
36633
  getPopupContainer: function getPopupContainer() {
36343
36634
  return document.body;
36344
36635
  }
36345
- })) || 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, {
36636
+ })) || 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, {
36346
36637
  selectBusinessType: "deliveryMode",
36347
36638
  selectProps: _objectSpread2({
36348
36639
  style: styleCommon,
@@ -36363,7 +36654,7 @@ function RenderCompItem(props) {
36363
36654
  getPopupContainer: function getPopupContainer() {
36364
36655
  return document.body;
36365
36656
  }
36366
- })) || 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, {
36657
+ })) || 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, {
36367
36658
  selectBusinessType: "role",
36368
36659
  selectProps: _objectSpread2({
36369
36660
  style: styleCommon,
@@ -36384,7 +36675,7 @@ function RenderCompItem(props) {
36384
36675
  getPopupContainer: function getPopupContainer() {
36385
36676
  return document.body;
36386
36677
  }
36387
- })) || 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, {
36678
+ })) || 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, {
36388
36679
  selectBusinessType: "brand",
36389
36680
  selectProps: _objectSpread2({
36390
36681
  style: styleCommon,
@@ -36405,7 +36696,7 @@ function RenderCompItem(props) {
36405
36696
  getPopupContainer: function getPopupContainer() {
36406
36697
  return document.body;
36407
36698
  }
36408
- })) || 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, {
36699
+ })) || 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, {
36409
36700
  disabled: disabled,
36410
36701
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36411
36702
  businessType: "background-category",
@@ -36418,7 +36709,7 @@ function RenderCompItem(props) {
36418
36709
  getPopupContainer: function getPopupContainer() {
36419
36710
  return document.body;
36420
36711
  }
36421
- })) || 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, {
36712
+ })) || 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, {
36422
36713
  selectProps: _objectSpread2(_objectSpread2({
36423
36714
  style: styleCommon,
36424
36715
  placeholder: '请选择'
@@ -36441,7 +36732,7 @@ function RenderCompItem(props) {
36441
36732
  onChange: function onChange(value) {
36442
36733
  handleEdit(ites.code, value);
36443
36734
  }
36444
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
36735
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React$1.createElement("div", {
36445
36736
  style: {
36446
36737
  display: 'flex'
36447
36738
  }
@@ -36953,7 +37244,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
36953
37244
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
36954
37245
  queryIdentifyType = 'dynamicDictCodeIdentify';
36955
37246
  }
36956
- var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
37247
+ var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
36957
37248
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
36958
37249
  var _i$key;
36959
37250
  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);
@@ -37880,13 +38171,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
37880
38171
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
37881
38172
  // 处理对象-设置了必填-规则实例保存时数据必填校验
37882
38173
  if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
37883
- var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
38174
+ var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
37884
38175
  var requiredList = list.filter(function (c) {
37885
38176
  return c.required == 1;
37886
38177
  }) || []; // 获取对象属性为true的集合
37887
38178
  (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
37888
38179
  var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
37889
- 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];
38180
+ 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];
37890
38181
  (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) {
37891
38182
  if (requiredList.some(function (r) {
37892
38183
  return r.id === e.elementId;
@@ -38475,7 +38766,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38475
38766
  style: {
38476
38767
  float: 'right'
38477
38768
  }
38478
- })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38769
+ })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? ( /*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38479
38770
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
38480
38771
  ruleGroupInfo: {
38481
38772
  ruleGroupList: ruleGroupList,
@@ -38493,7 +38784,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38493
38784
  callBack: function callBack(newData) {
38494
38785
  upDateData(newData);
38495
38786
  }
38496
- }))) : (/*#__PURE__*/React$1.createElement("div", {
38787
+ }))) : ( /*#__PURE__*/React$1.createElement("div", {
38497
38788
  style: {
38498
38789
  padding: 20
38499
38790
  }
@@ -38723,14 +39014,14 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
38723
39014
  var css_248z$y = ".bs-collapse-wrap {\n border-radius: 4px;\n overflow: hidden;\n}\n.bs-collapse-wrap .bs-collapse-header-wrap {\n background: #fff;\n}\n.bs-collapse-wrap .bs-collapse-icon {\n color: #b6b6b6;\n transition: transform 0.3s;\n}\n.bs-collapse-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.bs-collapse-wrap .bs-collapse-header-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n}\n.bs-collapse-wrap .bs-collapse-header-divider {\n width: 3px;\n height: 20px;\n background: #005cff;\n}\n.bs-collapse-header-boder .ant-collapse .ant-collapse-item > .ant-collapse-header {\n border-bottom: 1px solid #f0f0f0;\n padding: 8px 16px;\n}\n";
38724
39015
  styleInject(css_248z$y);
38725
39016
 
38726
- var _excluded$l = ["titleExtra", "header", "showArrow"];
39017
+ var _excluded$m = ["titleExtra", "header", "showArrow"];
38727
39018
  var Panel = Collapse.Panel;
38728
39019
  var ExtendedPanel = function ExtendedPanel(_ref) {
38729
39020
  var titleExtra = _ref.titleExtra,
38730
39021
  header = _ref.header,
38731
39022
  _ref$showArrow = _ref.showArrow,
38732
39023
  showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
38733
- props = _objectWithoutProperties(_ref, _excluded$l);
39024
+ props = _objectWithoutProperties(_ref, _excluded$m);
38734
39025
  var renderHeader = function renderHeader() {
38735
39026
  return /*#__PURE__*/React$1.createElement(Space, {
38736
39027
  align: "center"
@@ -38754,11 +39045,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
38754
39045
  }), props.children);
38755
39046
  };
38756
39047
 
38757
- var _excluded$m = ["children", "bordered"];
39048
+ var _excluded$n = ["children", "bordered"];
38758
39049
  var ExtendedCollapse = function ExtendedCollapse(props) {
38759
39050
  var children = props.children,
38760
39051
  bordered = props.bordered,
38761
- restProps = _objectWithoutProperties(props, _excluded$m);
39052
+ restProps = _objectWithoutProperties(props, _excluded$n);
38762
39053
  return /*#__PURE__*/React$1.createElement("div", {
38763
39054
  className: classNames({
38764
39055
  'bs-collapse-wrap': true,
@@ -38868,4 +39159,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
38868
39159
  }, children));
38869
39160
  };
38870
39161
 
38871
- export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, PropertySelector, QueryMutipleInput, QueryMutipleSearchSelect, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
39162
+ export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, PropertySelector, QueryMutipleInput, QueryMutipleSearchSelect, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };