@bit-sun/business-component 2.2.35 → 2.2.37

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.
@@ -1,4 +1,4 @@
1
1
  import './index.less';
2
- export declare type SiderTheme = 'light' | 'dark';
2
+ export type SiderTheme = 'light' | 'dark';
3
3
  declare const DrawContent: ({ onClose, itemPath }: any) => JSX.Element;
4
4
  export default DrawContent;
@@ -1,4 +1,4 @@
1
1
  import './index.less';
2
- export declare type SiderTheme = 'light' | 'dark';
2
+ export type SiderTheme = 'light' | 'dark';
3
3
  declare const AllFunc: any;
4
4
  export default AllFunc;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import './home.less';
3
- export declare type SiderTheme = 'light' | 'dark';
4
- export declare type GlobalHeaderRightProps = {
3
+ export type SiderTheme = 'light' | 'dark';
4
+ export type GlobalHeaderRightProps = {
5
5
  menu?: boolean;
6
6
  };
7
7
  declare const GlobalHeaderRight: React.FC<GlobalHeaderRightProps>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import './index.less';
3
- export declare type SiderTheme = 'light' | 'dark';
4
- export declare type GlobalHeaderRightProps = {
3
+ export type SiderTheme = 'light' | 'dark';
4
+ export type GlobalHeaderRightProps = {
5
5
  menu?: boolean;
6
6
  };
7
7
  declare const AllFunc: React.FC<GlobalHeaderRightProps>;
@@ -2,14 +2,14 @@ import type { MenuDataItem, BasicLayoutProps as ProLayoutProps, Settings } from
2
2
  import React from 'react';
3
3
  import './index.less';
4
4
  export declare const RouterContext: React.Context<{}>;
5
- export declare type BasicLayoutProps = {
5
+ export type BasicLayoutProps = {
6
6
  breadcrumbNameMap: Record<string, MenuDataItem>;
7
7
  route: ProLayoutProps['route'] & {
8
8
  authority: string[];
9
9
  };
10
10
  settings: Settings;
11
11
  } & ProLayoutProps;
12
- export declare type BasicLayoutContext = {
12
+ export type BasicLayoutContext = {
13
13
  [K in 'location']: BasicLayoutProps[K];
14
14
  } & {
15
15
  breadcrumbNameMap: Record<string, MenuDataItem>;
@@ -46,13 +46,13 @@ export declare const handleTextLineFeed: (text: string | undefined, width?: numb
46
46
  export declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
47
47
  export declare const handleTooltip: (text: any, timeTrue?: boolean) => JSX.Element;
48
48
  export declare const handleTooltipHours: (text: any, timeTrue?: boolean) => JSX.Element;
49
- declare type tableColumnsImageType = {
49
+ type tableColumnsImageType = {
50
50
  width?: number | string;
51
51
  height?: number | string;
52
52
  [key: string]: any;
53
53
  };
54
54
  export declare const tableColumnsImage: (url?: string, paramsObj?: tableColumnsImageType) => JSX.Element;
55
- declare type UserColumnsType = {
55
+ type UserColumnsType = {
56
56
  name: string;
57
57
  department?: string;
58
58
  position?: string;
@@ -30,7 +30,7 @@ export declare const choiceType: Readonly<{
30
30
  280: "库存组织选择器";
31
31
  310: "配送方式选择器";
32
32
  330: "变量";
33
- 340: "规则场景选择器";
33
+ 340: "规则模板选择器";
34
34
  350: "营销区域选择器";
35
35
  }>;
36
36
  export declare const inputType: any;
package/dist/index.esm.js CHANGED
@@ -10,7 +10,7 @@ import { Resizable } from 'react-resizable';
10
10
  import { SortableHandle, SortableElement, SortableContainer } from 'react-sortable-hoc';
11
11
  import { arrayMoveImmutable } from 'array-move';
12
12
  import { history, formatMessage, useLocation, Link, useModel, useIntl } from 'umi';
13
- import isEqual from 'lodash/isEqual';
13
+ import isEqual$1 from 'lodash/isEqual';
14
14
  import { Table as Table$1, request as request$1, QueryTable, Form as Form$1 } from 'bssula';
15
15
  import ProLayout from '@ant-design/pro-layout';
16
16
  import cloneDeep from 'lodash/cloneDeep';
@@ -135,6 +135,33 @@ axios.interceptors.request.use(function (config) {
135
135
  return config;
136
136
  });
137
137
 
138
+ function _iterableToArrayLimit(arr, i) {
139
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
140
+ if (null != _i) {
141
+ var _s,
142
+ _e,
143
+ _x,
144
+ _r,
145
+ _arr = [],
146
+ _n = !0,
147
+ _d = !1;
148
+ try {
149
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
150
+ if (Object(_i) !== _i) return;
151
+ _n = !1;
152
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
153
+ } catch (err) {
154
+ _d = !0, _e = err;
155
+ } finally {
156
+ try {
157
+ if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
158
+ } finally {
159
+ if (_d) throw _e;
160
+ }
161
+ }
162
+ return _arr;
163
+ }
164
+ }
138
165
  function ownKeys(object, enumerableOnly) {
139
166
  var keys = Object.keys(object);
140
167
  if (Object.getOwnPropertySymbols) {
@@ -291,14 +318,9 @@ function _regeneratorRuntime() {
291
318
  };
292
319
  }
293
320
  function maybeInvokeDelegate(delegate, context) {
294
- var method = delegate.iterator[context.method];
295
- if (undefined === method) {
296
- if (context.delegate = null, "throw" === context.method) {
297
- if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
298
- context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
299
- }
300
- return ContinueSentinel;
301
- }
321
+ var methodName = context.method,
322
+ method = delegate.iterator[methodName];
323
+ if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
302
324
  var record = tryCatch(method, delegate.iterator, context.arg);
303
325
  if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
304
326
  var info = record.arg;
@@ -512,7 +534,7 @@ function _defineProperties(target, props) {
512
534
  descriptor.enumerable = descriptor.enumerable || false;
513
535
  descriptor.configurable = true;
514
536
  if ("value" in descriptor) descriptor.writable = true;
515
- Object.defineProperty(target, descriptor.key, descriptor);
537
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
516
538
  }
517
539
  }
518
540
  function _createClass(Constructor, protoProps, staticProps) {
@@ -524,6 +546,7 @@ function _createClass(Constructor, protoProps, staticProps) {
524
546
  return Constructor;
525
547
  }
526
548
  function _defineProperty(obj, key, value) {
549
+ key = _toPropertyKey(key);
527
550
  if (key in obj) {
528
551
  Object.defineProperty(obj, key, {
529
552
  value: value,
@@ -652,30 +675,6 @@ function _arrayWithHoles(arr) {
652
675
  function _iterableToArray(iter) {
653
676
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
654
677
  }
655
- function _iterableToArrayLimit(arr, i) {
656
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
657
- if (_i == null) return;
658
- var _arr = [];
659
- var _n = true;
660
- var _d = false;
661
- var _s, _e;
662
- try {
663
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
664
- _arr.push(_s.value);
665
- if (i && _arr.length === i) break;
666
- }
667
- } catch (err) {
668
- _d = true;
669
- _e = err;
670
- } finally {
671
- try {
672
- if (!_n && _i["return"] != null) _i["return"]();
673
- } finally {
674
- if (_d) throw _e;
675
- }
676
- }
677
- return _arr;
678
- }
679
678
  function _unsupportedIterableToArray(o, minLen) {
680
679
  if (!o) return;
681
680
  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
@@ -695,6 +694,20 @@ function _nonIterableSpread() {
695
694
  function _nonIterableRest() {
696
695
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
697
696
  }
697
+ function _toPrimitive(input, hint) {
698
+ if (typeof input !== "object" || input === null) return input;
699
+ var prim = input[Symbol.toPrimitive];
700
+ if (prim !== undefined) {
701
+ var res = prim.call(input, hint || "default");
702
+ if (typeof res !== "object") return res;
703
+ throw new TypeError("@@toPrimitive must return a primitive value.");
704
+ }
705
+ return (hint === "string" ? String : Number)(input);
706
+ }
707
+ function _toPropertyKey(arg) {
708
+ var key = _toPrimitive(arg, "string");
709
+ return typeof key === "symbol" ? key : String(key);
710
+ }
698
711
 
699
712
  var checkQuantityAccuracy = function checkQuantityAccuracy(value, accuracy, errorInfo) {
700
713
  var errorMessage = _objectSpread2({
@@ -3662,41 +3675,52 @@ var setInitialShowColumn = function setInitialShowColumn(tableCode, columns, cal
3662
3675
  callback(showColumns);
3663
3676
  };
3664
3677
 
3665
- var simpleIsEqual = function simpleIsEqual(a, b) {
3666
- return a === b;
3667
- };
3668
-
3669
- function index (resultFn, isEqual) {
3670
- if (isEqual === void 0) {
3671
- isEqual = simpleIsEqual;
3672
- }
3673
-
3674
- var lastThis;
3675
- var lastArgs = [];
3676
- var lastResult;
3677
- var calledOnce = false;
3678
-
3679
- var isNewArgEqualToLast = function isNewArgEqualToLast(newArg, index) {
3680
- return isEqual(newArg, lastArgs[index], index);
3681
- };
3682
-
3683
- var result = function result() {
3684
- for (var _len = arguments.length, newArgs = new Array(_len), _key = 0; _key < _len; _key++) {
3685
- newArgs[_key] = arguments[_key];
3678
+ var safeIsNaN = Number.isNaN ||
3679
+ function ponyfill(value) {
3680
+ return typeof value === 'number' && value !== value;
3681
+ };
3682
+ function isEqual(first, second) {
3683
+ if (first === second) {
3684
+ return true;
3686
3685
  }
3687
-
3688
- if (calledOnce && lastThis === this && newArgs.length === lastArgs.length && newArgs.every(isNewArgEqualToLast)) {
3689
- return lastResult;
3686
+ if (safeIsNaN(first) && safeIsNaN(second)) {
3687
+ return true;
3690
3688
  }
3689
+ return false;
3690
+ }
3691
+ function areInputsEqual(newInputs, lastInputs) {
3692
+ if (newInputs.length !== lastInputs.length) {
3693
+ return false;
3694
+ }
3695
+ for (var i = 0; i < newInputs.length; i++) {
3696
+ if (!isEqual(newInputs[i], lastInputs[i])) {
3697
+ return false;
3698
+ }
3699
+ }
3700
+ return true;
3701
+ }
3691
3702
 
3692
- lastResult = resultFn.apply(this, newArgs);
3693
- calledOnce = true;
3694
- lastThis = this;
3695
- lastArgs = newArgs;
3696
- return lastResult;
3697
- };
3698
-
3699
- return result;
3703
+ function memoizeOne(resultFn, isEqual) {
3704
+ if (isEqual === void 0) { isEqual = areInputsEqual; }
3705
+ var lastThis;
3706
+ var lastArgs = [];
3707
+ var lastResult;
3708
+ var calledOnce = false;
3709
+ function memoized() {
3710
+ var newArgs = [];
3711
+ for (var _i = 0; _i < arguments.length; _i++) {
3712
+ newArgs[_i] = arguments[_i];
3713
+ }
3714
+ if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
3715
+ return lastResult;
3716
+ }
3717
+ lastResult = resultFn.apply(this, newArgs);
3718
+ calledOnce = true;
3719
+ lastThis = this;
3720
+ lastArgs = newArgs;
3721
+ return lastResult;
3722
+ }
3723
+ return memoized;
3700
3724
  }
3701
3725
 
3702
3726
  //! moment.js
@@ -9656,7 +9680,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
9656
9680
  return item;
9657
9681
  });
9658
9682
  };
9659
- var memoizeOneFormatter = index(formatter, isEqual);
9683
+ var memoizeOneFormatter = memoizeOne(formatter, isEqual$1);
9660
9684
  var go2BackAndClose = function go2BackAndClose() {
9661
9685
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
9662
9686
  history.goBack();
@@ -10781,8 +10805,15 @@ var AddSelect = function AddSelect(props) {
10781
10805
  handleLoading(isContinue, true);
10782
10806
  onSaveCallback(popvalue).then(function (res) {
10783
10807
  {
10784
- var _document$getElementB3;
10785
- message.success('保存成功');
10808
+ var _Object$keys, _document$getElementB3;
10809
+ // 成功信息可以在调用处处理 即resolve({messageSuccessBackInfo: { needThrowSuccess: false } })、resolve({messageSuccessBackInfo: { needThrowSuccess: true, successMessage: '已保存' } })
10810
+ var initSuccessMessage = '保存成功';
10811
+ var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
10812
+ if (rmsbi && ((_Object$keys = Object.keys(rmsbi)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
10813
+ (rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.needThrowSuccess) ? message.success((rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.successMessage) || initSuccessMessage) : null;
10814
+ } else {
10815
+ message.success(initSuccessMessage);
10816
+ }
10786
10817
  deleteSelectRows();
10787
10818
  (_document$getElementB3 = document.getElementById('first-query')) === null || _document$getElementB3 === void 0 ? void 0 : _document$getElementB3.focus();
10788
10819
  !isContinue && handleCancel();
@@ -12056,7 +12087,14 @@ var BillEntry = function BillEntry(_ref3) {
12056
12087
  setLoading(true);
12057
12088
  onSaveCallback(data).then(function (res) {
12058
12089
  {
12059
- message.success('保存成功');
12090
+ var _Object$keys;
12091
+ var initSuccessMessage = '保存成功';
12092
+ var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
12093
+ if (rmsbi && ((_Object$keys = Object.keys(rmsbi)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
12094
+ (rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.needThrowSuccess) ? message.success((rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.successMessage) || initSuccessMessage) : null;
12095
+ } else {
12096
+ message.success(initSuccessMessage);
12097
+ }
12060
12098
  }
12061
12099
  setLoading(false);
12062
12100
  }).catch(function (Error) {
@@ -13481,6 +13519,8 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
13481
13519
  mappingTextField: 'name',
13482
13520
  mappingValueField: 'code',
13483
13521
  otherParams: {
13522
+ 'qp-isMain-eq': 1,
13523
+ 'qp-status-eq': 1,
13484
13524
  sorter: 'desc-id'
13485
13525
  },
13486
13526
  sourceName: 'customCode'
@@ -14119,7 +14159,7 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
14119
14159
  }]
14120
14160
  }, modalTableBusProps);
14121
14161
  }
14122
- // 规则场景选择器
14162
+ // 规则模板选择器
14123
14163
  if (type === 'ruleTemplate') {
14124
14164
  requestConfig = _objectSpread2({
14125
14165
  url: "".concat(prefixUrl.selectPrefix, "/ruleTemplate"),
@@ -14134,19 +14174,19 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
14134
14174
  }, requestConfigProp);
14135
14175
  tableSearchForm = [{
14136
14176
  name: 'qp-name-like',
14137
- label: '规则场景名称'
14177
+ label: '规则模板名称'
14138
14178
  }, {
14139
14179
  name: 'qp-code-like',
14140
- label: '规则场景编码'
14180
+ label: '规则模板编码'
14141
14181
  }];
14142
14182
  modalTableProps = _objectSpread2({
14143
- modalTableTitle: '选择规则场景',
14183
+ modalTableTitle: '选择规则模板',
14144
14184
  tableSearchForm: tableSearchForm,
14145
14185
  tableColumns: [{
14146
- title: '规则场景编码',
14186
+ title: '规则模板编码',
14147
14187
  dataIndex: 'code'
14148
14188
  }, {
14149
- title: '规则场景名称',
14189
+ title: '规则模板名称',
14150
14190
  dataIndex: 'name',
14151
14191
  render: function render(text) {
14152
14192
  return handleTextOverflow(text);
@@ -15199,7 +15239,7 @@ var CommodityEntry = function CommodityEntry(props) {
15199
15239
  * @LastEditTime: 2022-01-14 17:17:26
15200
15240
  * @LastEditors: rodchen
15201
15241
  */
15202
- var index$1 = (function (storageKeyString) {
15242
+ var index = (function (storageKeyString) {
15203
15243
  var seconds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
15204
15244
  var tipsCallFunction = arguments.length > 2 ? arguments[2] : undefined;
15205
15245
  if (typeof seconds !== 'number') throw new Error('seconds should be number');
@@ -15542,7 +15582,7 @@ var BusinessTreeSearchSelect = function BusinessTreeSearchSelect(props) {
15542
15582
  }, [props === null || props === void 0 ? void 0 : props.value]);
15543
15583
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(MemoTreeSearchSelect, _objectSpread2({}, currentProps)));
15544
15584
  };
15545
- var index$2 = /*#__PURE__*/React.memo(BusinessTreeSearchSelect, function (props, nextProps) {
15585
+ var index$1 = /*#__PURE__*/React.memo(BusinessTreeSearchSelect, function (props, nextProps) {
15546
15586
  if (props && props.labelInValue && props.value && JSON.stringify(props.value) !== JSON.stringify(nextProps.value)) {
15547
15587
  return false;
15548
15588
  }
@@ -15555,7 +15595,7 @@ var index$2 = /*#__PURE__*/React.memo(BusinessTreeSearchSelect, function (props,
15555
15595
  var css_248z$8 = ".form-status-label {\n height: 48px;\n margin-right: 12px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.choosed-status-label.form-status-label {\n background-color: #005CFF;\n}\n.form-status-label:last-child {\n margin-right: 0px;\n}\n.form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.choosed-status-label.form-status-label::after {\n border-left: 12px solid #005CFF;\n}\n.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #005CFF;\n}\n.form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::before {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.status-label-index {\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n border-radius: 50%;\n font-family: Montserrat;\n font-size: 14px;\n line-height: 24px;\n text-align: center;\n margin: 0 6px 0 20px;\n}\n.status-label-key {\n width: 50px;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n}\n.status-label-operate {\n float: left;\n width: calc(100% - 50px);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 100%;\n margin: 4px 0;\n}\n.status-label-operate > div {\n font-size: 12px;\n height: 20px;\n line-height: 20px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.status-label-operate > div:first-child {\n font-size: 14px;\n font-weight: 600;\n}\n.only-one-child.form-status-label::after,\n.only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
15556
15596
  styleInject(css_248z$8);
15557
15597
 
15558
- var index$3 = (function (props) {
15598
+ var index$2 = (function (props) {
15559
15599
  var _props$formStatusMapp = props.formStatusMapping,
15560
15600
  formStatusMapping = _props$formStatusMapp === void 0 ? [] : _props$formStatusMapp;
15561
15601
  return /*#__PURE__*/React.createElement("div", {
@@ -16979,7 +17019,7 @@ var iconMap = {
16979
17019
  src: moreIcon
16980
17020
  })
16981
17021
  };
16982
- var index$4 = (function (props) {
17022
+ var index$3 = (function (props) {
16983
17023
  var _useLocation = useLocation(),
16984
17024
  pathname = _useLocation.pathname;
16985
17025
  var _useState = useState(pathname + 'id'),
@@ -17196,7 +17236,7 @@ var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justif
17196
17236
  styleInject(css_248z$d);
17197
17237
 
17198
17238
  var _excluded$c = ["children"];
17199
- var index$5 = (function (props) {
17239
+ var index$4 = (function (props) {
17200
17240
  var _useLocation = useLocation(),
17201
17241
  pathname = _useLocation.pathname;
17202
17242
  var _useState = useState(pathname + 'id'),
@@ -22212,7 +22252,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
22212
22252
  }]);
22213
22253
  return WrapperComponent;
22214
22254
  }(React.Component);
22215
- var index$6 = (function (props) {
22255
+ var index$5 = (function (props) {
22216
22256
  var _useModel = useModel('@@initialState'),
22217
22257
  _useModel$initialStat = _useModel.initialState,
22218
22258
  initialState = _useModel$initialStat === void 0 ? {} : _useModel$initialStat;
@@ -22355,7 +22395,7 @@ var headersToRows = function headersToRows(originColumns) {
22355
22395
  var css_248z$n = ".editTableWrapper {\n width: 1000px;\n height: 500px;\n overflow: auto;\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.editTableWrapper table {\n table-layout: fixed;\n}\n.editTableWrapper .editTable {\n position: relative;\n overflow: hidden;\n border-top: 0;\n background: #fff;\n}\n.editTableWrapper .north__west {\n position: sticky;\n background-color: #f7f8fb;\n left: 0px;\n top: 0px;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .north__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .south__west {\n z-index: 4;\n position: absolute;\n left: 0px;\n top: 0;\n}\n.editTableWrapper .south__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 4;\n}\n.editTableWrapper .south__west td {\n font-size: 12px;\n background: #fff;\n color: #6a6a6a;\n}\n.editTableWrapper .south__west td svg {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n}\n.editTableWrapper .editTable__block {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n position: absolute;\n border-collapse: collapse;\n padding: 0;\n}\n.editTableWrapper .editTable__block th,\n.editTableWrapper .editTable__block td {\n box-sizing: border-box;\n font-size: 11px;\n color: #6a6a6a;\n}\n.editTableWrapper .value_table table {\n table-layout: fixed;\n min-width: 100%;\n}\n.editTableWrapper .table_border_style {\n border-collapse: separate;\n border-spacing: 0;\n border-left: 1px solid #f0f0f0;\n border-top: 1px solid #f0f0f0;\n}\n.editTableWrapper .table_border_style td {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n box-sizing: border-box;\n border-right: 1px solid #f0f0f0;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 10px;\n font-size: 14px;\n line-height: 28px;\n}\n";
22356
22396
  styleInject(css_248z$n);
22357
22397
 
22358
- var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
22398
+ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
22359
22399
  var _useState = useState(false),
22360
22400
  _useState2 = _slicedToArray(_useState, 2),
22361
22401
  show = _useState2[0],
@@ -22605,7 +22645,7 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
22605
22645
  return /*#__PURE__*/React.createElement("td", {
22606
22646
  style: {
22607
22647
  display: tdHidden,
22608
- background: index % 2 === 1 || item.fixed ? '#FAFAFA' : '#fff',
22648
+ background: index % 2 === 1 || item.fixed ? '#f7f8fb' : '#fff',
22609
22649
  minWidth: '100px',
22610
22650
  width: "".concat(itemWidth, "px"),
22611
22651
  height: '40px',
@@ -29612,7 +29652,7 @@ var choiceType = Object.freeze({
29612
29652
  280: '库存组织选择器',
29613
29653
  310: '配送方式选择器',
29614
29654
  330: '变量',
29615
- 340: '规则场景选择器',
29655
+ 340: '规则模板选择器',
29616
29656
  350: '营销区域选择器'
29617
29657
  });
29618
29658
  var inputType = {
@@ -31053,4 +31093,4 @@ var JsonQueryTable = /*#__PURE__*/React.memo(function (props) {
31053
31093
  }, "setting"));
31054
31094
  });
31055
31095
 
31056
- export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, BillEntry, index$6 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, index$2 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, CommodityEntry, DataImport, DataValidation, index$4 as DetailPageWrapper, ExportIcon, GuideWrapper, index$5 as HomePageWrapper, JsonQueryTable, index$7 as MoreTreeTable, QueryMutipleInput, SearchSelect, index$3 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect };
31096
+ export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, BillEntry, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, index$1 as BusinessTreeSearchSelect, index as CheckOneUser, ColumnSettingTable, CommodityEntry, DataImport, DataValidation, index$3 as DetailPageWrapper, ExportIcon, GuideWrapper, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, QueryMutipleInput, SearchSelect, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect };