@bit-sun/business-component 2.4.22 → 2.4.23
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
|
@@ -26,6 +26,17 @@ import { parse as parse$1 } from '@babel/parser';
|
|
|
26
26
|
import { visit } from 'ast-types';
|
|
27
27
|
import isArray$1 from 'lodash/isArray';
|
|
28
28
|
|
|
29
|
+
function _callSuper(t, o, e) {
|
|
30
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
31
|
+
}
|
|
32
|
+
function _isNativeReflectConstruct() {
|
|
33
|
+
try {
|
|
34
|
+
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
35
|
+
} catch (t) {}
|
|
36
|
+
return (_isNativeReflectConstruct = function () {
|
|
37
|
+
return !!t;
|
|
38
|
+
})();
|
|
39
|
+
}
|
|
29
40
|
function _iterableToArrayLimit(r, l) {
|
|
30
41
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
31
42
|
if (null != t) {
|
|
@@ -507,17 +518,6 @@ function _setPrototypeOf(o, p) {
|
|
|
507
518
|
};
|
|
508
519
|
return _setPrototypeOf(o, p);
|
|
509
520
|
}
|
|
510
|
-
function _isNativeReflectConstruct() {
|
|
511
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
512
|
-
if (Reflect.construct.sham) return false;
|
|
513
|
-
if (typeof Proxy === "function") return true;
|
|
514
|
-
try {
|
|
515
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
516
|
-
return true;
|
|
517
|
-
} catch (e) {
|
|
518
|
-
return false;
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
521
|
function _objectDestructuringEmpty(obj) {
|
|
522
522
|
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
523
523
|
}
|
|
@@ -562,20 +562,6 @@ function _possibleConstructorReturn(self, call) {
|
|
|
562
562
|
}
|
|
563
563
|
return _assertThisInitialized(self);
|
|
564
564
|
}
|
|
565
|
-
function _createSuper(Derived) {
|
|
566
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
567
|
-
return function _createSuperInternal() {
|
|
568
|
-
var Super = _getPrototypeOf(Derived),
|
|
569
|
-
result;
|
|
570
|
-
if (hasNativeReflectConstruct) {
|
|
571
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
572
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
573
|
-
} else {
|
|
574
|
-
result = Super.apply(this, arguments);
|
|
575
|
-
}
|
|
576
|
-
return _possibleConstructorReturn(this, result);
|
|
577
|
-
};
|
|
578
|
-
}
|
|
579
565
|
function _slicedToArray(arr, i) {
|
|
580
566
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
581
567
|
}
|
|
@@ -1485,11 +1471,10 @@ var filterLetters = function filterLetters(i) {
|
|
|
1485
1471
|
};
|
|
1486
1472
|
var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
1487
1473
|
_inherits(DataValidation, _React$Component);
|
|
1488
|
-
var _super = _createSuper(DataValidation);
|
|
1489
1474
|
function DataValidation(props) {
|
|
1490
1475
|
var _this;
|
|
1491
1476
|
_classCallCheck(this, DataValidation);
|
|
1492
|
-
_this =
|
|
1477
|
+
_this = _callSuper(this, DataValidation, [props]);
|
|
1493
1478
|
_this.getCount = function () {
|
|
1494
1479
|
var resultData = _this.state.resultData;
|
|
1495
1480
|
return {
|
|
@@ -2054,11 +2039,10 @@ var filterLetters$1 = function filterLetters(i) {
|
|
|
2054
2039
|
};
|
|
2055
2040
|
var DataImport = /*#__PURE__*/function (_React$Component) {
|
|
2056
2041
|
_inherits(DataImport, _React$Component);
|
|
2057
|
-
var _super = _createSuper(DataImport);
|
|
2058
2042
|
function DataImport(props) {
|
|
2059
2043
|
var _this;
|
|
2060
2044
|
_classCallCheck(this, DataImport);
|
|
2061
|
-
_this =
|
|
2045
|
+
_this = _callSuper(this, DataImport, [props]);
|
|
2062
2046
|
_this.getCount = function () {
|
|
2063
2047
|
var resultData = _this.state.resultData;
|
|
2064
2048
|
return {
|
|
@@ -3749,14 +3733,13 @@ var SortableBody = SortableContainer(function (props) {
|
|
|
3749
3733
|
});
|
|
3750
3734
|
var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
3751
3735
|
_inherits(TableColumnSetting, _React$Component);
|
|
3752
|
-
var _super = _createSuper(TableColumnSetting);
|
|
3753
3736
|
function TableColumnSetting() {
|
|
3754
3737
|
var _this;
|
|
3755
3738
|
_classCallCheck(this, TableColumnSetting);
|
|
3756
3739
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
3757
3740
|
args[_key] = arguments[_key];
|
|
3758
3741
|
}
|
|
3759
|
-
_this =
|
|
3742
|
+
_this = _callSuper(this, TableColumnSetting, [].concat(args));
|
|
3760
3743
|
_this.state = {
|
|
3761
3744
|
dataSource: [],
|
|
3762
3745
|
columns: [],
|
|
@@ -9507,6 +9490,9 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
|
|
|
9507
9490
|
}, {
|
|
9508
9491
|
name: 'qp-skuName-like',
|
|
9509
9492
|
label: 'SKU名称'
|
|
9493
|
+
}, {
|
|
9494
|
+
name: 'qp-externalCode-like',
|
|
9495
|
+
label: '外部SPU编码'
|
|
9510
9496
|
}].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
|
|
9511
9497
|
name: 'qp-code-in',
|
|
9512
9498
|
label: '商品条码',
|
|
@@ -10856,10 +10842,9 @@ var Field = function Field(_ref) {
|
|
|
10856
10842
|
};
|
|
10857
10843
|
var GuideWrapper = /*#__PURE__*/function (_Component) {
|
|
10858
10844
|
_inherits(GuideWrapper, _Component);
|
|
10859
|
-
var _super = _createSuper(GuideWrapper);
|
|
10860
10845
|
function GuideWrapper() {
|
|
10861
10846
|
_classCallCheck(this, GuideWrapper);
|
|
10862
|
-
return
|
|
10847
|
+
return _callSuper(this, GuideWrapper, arguments);
|
|
10863
10848
|
}
|
|
10864
10849
|
_createClass(GuideWrapper, [{
|
|
10865
10850
|
key: "render",
|
|
@@ -10971,14 +10956,13 @@ var SortableBody$1 = SortableContainer(function (props) {
|
|
|
10971
10956
|
});
|
|
10972
10957
|
var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
10973
10958
|
_inherits(SortableTable, _React$Component);
|
|
10974
|
-
var _super = _createSuper(SortableTable);
|
|
10975
10959
|
function SortableTable() {
|
|
10976
10960
|
var _this;
|
|
10977
10961
|
_classCallCheck(this, SortableTable);
|
|
10978
10962
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
10979
10963
|
args[_key] = arguments[_key];
|
|
10980
10964
|
}
|
|
10981
|
-
_this =
|
|
10965
|
+
_this = _callSuper(this, SortableTable, [].concat(args));
|
|
10982
10966
|
_this.state = {
|
|
10983
10967
|
dataSource: [],
|
|
10984
10968
|
columns: [],
|
|
@@ -11596,11 +11580,10 @@ var _excluded$8 = ["onResize", "width"],
|
|
|
11596
11580
|
var Text = Typography.Text;
|
|
11597
11581
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
11598
11582
|
_inherits(ColumnSettingSulaTable, _React$Component);
|
|
11599
|
-
var _super = _createSuper(ColumnSettingSulaTable);
|
|
11600
11583
|
function ColumnSettingSulaTable(_props) {
|
|
11601
11584
|
var _this;
|
|
11602
11585
|
_classCallCheck(this, ColumnSettingSulaTable);
|
|
11603
|
-
_this =
|
|
11586
|
+
_this = _callSuper(this, ColumnSettingSulaTable, [_props]);
|
|
11604
11587
|
_this.sulaTableRef = void 0;
|
|
11605
11588
|
_this.state = void 0;
|
|
11606
11589
|
_this.setInitialShowColumn = function (columns) {
|
|
@@ -11845,11 +11828,10 @@ var _excluded$9 = ["onResize", "width"],
|
|
|
11845
11828
|
var Text$1 = Typography.Text;
|
|
11846
11829
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
11847
11830
|
_inherits(ColumnSettingTable, _React$Component);
|
|
11848
|
-
var _super = _createSuper(ColumnSettingTable);
|
|
11849
11831
|
function ColumnSettingTable(_props) {
|
|
11850
11832
|
var _this;
|
|
11851
11833
|
_classCallCheck(this, ColumnSettingTable);
|
|
11852
|
-
_this =
|
|
11834
|
+
_this = _callSuper(this, ColumnSettingTable, [_props]);
|
|
11853
11835
|
_this.state = void 0;
|
|
11854
11836
|
_this.setInitialShowColumn = function (columns) {
|
|
11855
11837
|
// 获取当前列表定义数据
|
|
@@ -12555,14 +12537,13 @@ var SortableBody$2 = SortableContainer(function (props) {
|
|
|
12555
12537
|
});
|
|
12556
12538
|
var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
12557
12539
|
_inherits(SortableTable, _React$Component);
|
|
12558
|
-
var _super = _createSuper(SortableTable);
|
|
12559
12540
|
function SortableTable() {
|
|
12560
12541
|
var _this;
|
|
12561
12542
|
_classCallCheck(this, SortableTable);
|
|
12562
12543
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
12563
12544
|
args[_key] = arguments[_key];
|
|
12564
12545
|
}
|
|
12565
|
-
_this =
|
|
12546
|
+
_this = _callSuper(this, SortableTable, [].concat(args));
|
|
12566
12547
|
_this.state = {
|
|
12567
12548
|
dataSource: [],
|
|
12568
12549
|
columns: [],
|
|
@@ -13307,14 +13288,13 @@ var SortableBody$3 = SortableContainer(function (props) {
|
|
|
13307
13288
|
});
|
|
13308
13289
|
var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
13309
13290
|
_inherits(SearchItemTable, _React$Component);
|
|
13310
|
-
var _super = _createSuper(SearchItemTable);
|
|
13311
13291
|
function SearchItemTable() {
|
|
13312
13292
|
var _this;
|
|
13313
13293
|
_classCallCheck(this, SearchItemTable);
|
|
13314
13294
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
13315
13295
|
args[_key] = arguments[_key];
|
|
13316
13296
|
}
|
|
13317
|
-
_this =
|
|
13297
|
+
_this = _callSuper(this, SearchItemTable, [].concat(args));
|
|
13318
13298
|
_this.state = {
|
|
13319
13299
|
dataSource: [],
|
|
13320
13300
|
columns: [],
|
|
@@ -15175,14 +15155,13 @@ var getParentKey = function getParentKey(path, tree) {
|
|
|
15175
15155
|
};
|
|
15176
15156
|
var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
15177
15157
|
_inherits(LeftTree, _React$Component);
|
|
15178
|
-
var _super = _createSuper(LeftTree);
|
|
15179
15158
|
function LeftTree() {
|
|
15180
15159
|
var _this;
|
|
15181
15160
|
_classCallCheck(this, LeftTree);
|
|
15182
15161
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
15183
15162
|
args[_key] = arguments[_key];
|
|
15184
15163
|
}
|
|
15185
|
-
_this =
|
|
15164
|
+
_this = _callSuper(this, LeftTree, [].concat(args));
|
|
15186
15165
|
_this.state = {
|
|
15187
15166
|
treeData: [],
|
|
15188
15167
|
expandedKeys: [],
|
|
@@ -15383,11 +15362,10 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
15383
15362
|
var TreeNode$1 = Tree.TreeNode;
|
|
15384
15363
|
var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
15385
15364
|
_inherits(rightTree, _React$Component);
|
|
15386
|
-
var _super = _createSuper(rightTree);
|
|
15387
15365
|
function rightTree(props) {
|
|
15388
15366
|
var _this;
|
|
15389
15367
|
_classCallCheck(this, rightTree);
|
|
15390
|
-
_this =
|
|
15368
|
+
_this = _callSuper(this, rightTree, [props]);
|
|
15391
15369
|
_this.formRef = /*#__PURE__*/React.createRef();
|
|
15392
15370
|
_this.state = {
|
|
15393
15371
|
// treeData: [],
|
|
@@ -16519,11 +16497,10 @@ var ItemMenu = function ItemMenu(props) {
|
|
|
16519
16497
|
};
|
|
16520
16498
|
var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
16521
16499
|
_inherits(BasicLayout, _React$PureComponent);
|
|
16522
|
-
var _super = _createSuper(BasicLayout);
|
|
16523
16500
|
function BasicLayout(props) {
|
|
16524
16501
|
var _this;
|
|
16525
16502
|
_classCallCheck(this, BasicLayout);
|
|
16526
|
-
_this =
|
|
16503
|
+
_this = _callSuper(this, BasicLayout, [props]);
|
|
16527
16504
|
_this.allFunc = /*#__PURE__*/createRef('');
|
|
16528
16505
|
_this.customerMenuRef = /*#__PURE__*/createRef('');
|
|
16529
16506
|
_this.actionRef = /*#__PURE__*/createRef();
|
|
@@ -17528,10 +17505,9 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
17528
17505
|
}(React.PureComponent);
|
|
17529
17506
|
var WrapperComponent = /*#__PURE__*/function (_React$Component) {
|
|
17530
17507
|
_inherits(WrapperComponent, _React$Component);
|
|
17531
|
-
var _super2 = _createSuper(WrapperComponent);
|
|
17532
17508
|
function WrapperComponent(props) {
|
|
17533
17509
|
_classCallCheck(this, WrapperComponent);
|
|
17534
|
-
return
|
|
17510
|
+
return _callSuper(this, WrapperComponent, [props]);
|
|
17535
17511
|
}
|
|
17536
17512
|
_createClass(WrapperComponent, [{
|
|
17537
17513
|
key: "shouldComponentUpdate",
|
|
@@ -23838,10 +23814,9 @@ function TreeNode$2(props) {
|
|
|
23838
23814
|
var prefixCls = 'tree-compact';
|
|
23839
23815
|
var CompactArrayView = /*#__PURE__*/function (_React$Component) {
|
|
23840
23816
|
_inherits(CompactArrayView, _React$Component);
|
|
23841
|
-
var _super = _createSuper(CompactArrayView);
|
|
23842
23817
|
function CompactArrayView() {
|
|
23843
23818
|
_classCallCheck(this, CompactArrayView);
|
|
23844
|
-
return
|
|
23819
|
+
return _callSuper(this, CompactArrayView, arguments);
|
|
23845
23820
|
}
|
|
23846
23821
|
_createClass(CompactArrayView, [{
|
|
23847
23822
|
key: "shouldComponentUpdate",
|
|
@@ -23867,10 +23842,9 @@ var CompactArrayView = /*#__PURE__*/function (_React$Component) {
|
|
|
23867
23842
|
var prefixCls$1 = 'tree-compact';
|
|
23868
23843
|
var CompactObjectView = /*#__PURE__*/function (_React$Component) {
|
|
23869
23844
|
_inherits(CompactObjectView, _React$Component);
|
|
23870
|
-
var _super = _createSuper(CompactObjectView);
|
|
23871
23845
|
function CompactObjectView() {
|
|
23872
23846
|
_classCallCheck(this, CompactObjectView);
|
|
23873
|
-
return
|
|
23847
|
+
return _callSuper(this, CompactObjectView, arguments);
|
|
23874
23848
|
}
|
|
23875
23849
|
_createClass(CompactObjectView, [{
|
|
23876
23850
|
key: "shouldComponentUpdate",
|
|
@@ -26832,14 +26806,13 @@ var JsonQueryTable = /*#__PURE__*/React.memo(function (props) {
|
|
|
26832
26806
|
|
|
26833
26807
|
var EllipsisTooltip = /*#__PURE__*/function (_React$Component) {
|
|
26834
26808
|
_inherits(EllipsisTooltip, _React$Component);
|
|
26835
|
-
var _super = _createSuper(EllipsisTooltip);
|
|
26836
26809
|
function EllipsisTooltip() {
|
|
26837
26810
|
var _this;
|
|
26838
26811
|
_classCallCheck(this, EllipsisTooltip);
|
|
26839
26812
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
26840
26813
|
args[_key] = arguments[_key];
|
|
26841
26814
|
}
|
|
26842
|
-
_this =
|
|
26815
|
+
_this = _callSuper(this, EllipsisTooltip, [].concat(args));
|
|
26843
26816
|
_this.state = {
|
|
26844
26817
|
visible: false
|
|
26845
26818
|
};
|
|
@@ -27181,11 +27154,10 @@ var fullDateFormat = 'YYYY-MM-DD HH:mm:ss';
|
|
|
27181
27154
|
var RangePicker = DatePicker.RangePicker;
|
|
27182
27155
|
var RuleField = /*#__PURE__*/function (_Component) {
|
|
27183
27156
|
_inherits(RuleField, _Component);
|
|
27184
|
-
var _super = _createSuper(RuleField);
|
|
27185
27157
|
function RuleField(props) {
|
|
27186
27158
|
var _this;
|
|
27187
27159
|
_classCallCheck(this, RuleField);
|
|
27188
|
-
_this =
|
|
27160
|
+
_this = _callSuper(this, RuleField, [props]);
|
|
27189
27161
|
_this.eventHandle = function (obj) {
|
|
27190
27162
|
var thresholdQuery = _this.state.thresholdQuery;
|
|
27191
27163
|
var _this$props = _this.props,
|
|
@@ -29969,12 +29941,11 @@ function handleRTypeData(props) {
|
|
|
29969
29941
|
}
|
|
29970
29942
|
var RuleField$1 = /*#__PURE__*/function (_Component) {
|
|
29971
29943
|
_inherits(RuleField, _Component);
|
|
29972
|
-
var _super = _createSuper(RuleField);
|
|
29973
29944
|
function RuleField(props) {
|
|
29974
29945
|
var _props$extraInfo2;
|
|
29975
29946
|
var _this;
|
|
29976
29947
|
_classCallCheck(this, RuleField);
|
|
29977
|
-
_this =
|
|
29948
|
+
_this = _callSuper(this, RuleField, [props]);
|
|
29978
29949
|
_this.handleActionName = function (functionDetail) {
|
|
29979
29950
|
var result = functionDetail.functionName;
|
|
29980
29951
|
var code = functionDetail.functionInfo.code;
|
|
@@ -30101,11 +30072,10 @@ var InnerSelect = (function (props) {
|
|
|
30101
30072
|
var RangePicker$1 = DatePicker.RangePicker;
|
|
30102
30073
|
var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
30103
30074
|
_inherits(RuleObjectComponent, _Component);
|
|
30104
|
-
var _super = _createSuper(RuleObjectComponent);
|
|
30105
30075
|
function RuleObjectComponent(props) {
|
|
30106
30076
|
var _this;
|
|
30107
30077
|
_classCallCheck(this, RuleObjectComponent);
|
|
30108
|
-
_this =
|
|
30078
|
+
_this = _callSuper(this, RuleObjectComponent, [props]);
|
|
30109
30079
|
_this.setRegularData = function (regularDataList) {
|
|
30110
30080
|
_this.propertyCodeToRangeIdMap = {};
|
|
30111
30081
|
_this.dictCodeToRangeIdMap = {};
|
package/dist/index.js
CHANGED
|
@@ -46,6 +46,17 @@ var serialize__default = /*#__PURE__*/_interopDefaultLegacy(serialize);
|
|
|
46
46
|
var castArray__default = /*#__PURE__*/_interopDefaultLegacy(castArray);
|
|
47
47
|
var isArray__default = /*#__PURE__*/_interopDefaultLegacy(isArray$1);
|
|
48
48
|
|
|
49
|
+
function _callSuper(t, o, e) {
|
|
50
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
51
|
+
}
|
|
52
|
+
function _isNativeReflectConstruct() {
|
|
53
|
+
try {
|
|
54
|
+
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
55
|
+
} catch (t) {}
|
|
56
|
+
return (_isNativeReflectConstruct = function () {
|
|
57
|
+
return !!t;
|
|
58
|
+
})();
|
|
59
|
+
}
|
|
49
60
|
function _iterableToArrayLimit(r, l) {
|
|
50
61
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
51
62
|
if (null != t) {
|
|
@@ -527,17 +538,6 @@ function _setPrototypeOf(o, p) {
|
|
|
527
538
|
};
|
|
528
539
|
return _setPrototypeOf(o, p);
|
|
529
540
|
}
|
|
530
|
-
function _isNativeReflectConstruct() {
|
|
531
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
532
|
-
if (Reflect.construct.sham) return false;
|
|
533
|
-
if (typeof Proxy === "function") return true;
|
|
534
|
-
try {
|
|
535
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
536
|
-
return true;
|
|
537
|
-
} catch (e) {
|
|
538
|
-
return false;
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
541
|
function _objectDestructuringEmpty(obj) {
|
|
542
542
|
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
543
543
|
}
|
|
@@ -582,20 +582,6 @@ function _possibleConstructorReturn(self, call) {
|
|
|
582
582
|
}
|
|
583
583
|
return _assertThisInitialized(self);
|
|
584
584
|
}
|
|
585
|
-
function _createSuper(Derived) {
|
|
586
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
587
|
-
return function _createSuperInternal() {
|
|
588
|
-
var Super = _getPrototypeOf(Derived),
|
|
589
|
-
result;
|
|
590
|
-
if (hasNativeReflectConstruct) {
|
|
591
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
592
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
593
|
-
} else {
|
|
594
|
-
result = Super.apply(this, arguments);
|
|
595
|
-
}
|
|
596
|
-
return _possibleConstructorReturn(this, result);
|
|
597
|
-
};
|
|
598
|
-
}
|
|
599
585
|
function _slicedToArray(arr, i) {
|
|
600
586
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
601
587
|
}
|
|
@@ -1505,11 +1491,10 @@ var filterLetters = function filterLetters(i) {
|
|
|
1505
1491
|
};
|
|
1506
1492
|
var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
1507
1493
|
_inherits(DataValidation, _React$Component);
|
|
1508
|
-
var _super = _createSuper(DataValidation);
|
|
1509
1494
|
function DataValidation(props) {
|
|
1510
1495
|
var _this;
|
|
1511
1496
|
_classCallCheck(this, DataValidation);
|
|
1512
|
-
_this =
|
|
1497
|
+
_this = _callSuper(this, DataValidation, [props]);
|
|
1513
1498
|
_this.getCount = function () {
|
|
1514
1499
|
var resultData = _this.state.resultData;
|
|
1515
1500
|
return {
|
|
@@ -2074,11 +2059,10 @@ var filterLetters$1 = function filterLetters(i) {
|
|
|
2074
2059
|
};
|
|
2075
2060
|
var DataImport = /*#__PURE__*/function (_React$Component) {
|
|
2076
2061
|
_inherits(DataImport, _React$Component);
|
|
2077
|
-
var _super = _createSuper(DataImport);
|
|
2078
2062
|
function DataImport(props) {
|
|
2079
2063
|
var _this;
|
|
2080
2064
|
_classCallCheck(this, DataImport);
|
|
2081
|
-
_this =
|
|
2065
|
+
_this = _callSuper(this, DataImport, [props]);
|
|
2082
2066
|
_this.getCount = function () {
|
|
2083
2067
|
var resultData = _this.state.resultData;
|
|
2084
2068
|
return {
|
|
@@ -3769,14 +3753,13 @@ var SortableBody = reactSortableHoc.SortableContainer(function (props) {
|
|
|
3769
3753
|
});
|
|
3770
3754
|
var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
3771
3755
|
_inherits(TableColumnSetting, _React$Component);
|
|
3772
|
-
var _super = _createSuper(TableColumnSetting);
|
|
3773
3756
|
function TableColumnSetting() {
|
|
3774
3757
|
var _this;
|
|
3775
3758
|
_classCallCheck(this, TableColumnSetting);
|
|
3776
3759
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
3777
3760
|
args[_key] = arguments[_key];
|
|
3778
3761
|
}
|
|
3779
|
-
_this =
|
|
3762
|
+
_this = _callSuper(this, TableColumnSetting, [].concat(args));
|
|
3780
3763
|
_this.state = {
|
|
3781
3764
|
dataSource: [],
|
|
3782
3765
|
columns: [],
|
|
@@ -9527,6 +9510,9 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
|
|
|
9527
9510
|
}, {
|
|
9528
9511
|
name: 'qp-skuName-like',
|
|
9529
9512
|
label: 'SKU名称'
|
|
9513
|
+
}, {
|
|
9514
|
+
name: 'qp-externalCode-like',
|
|
9515
|
+
label: '外部SPU编码'
|
|
9530
9516
|
}].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
|
|
9531
9517
|
name: 'qp-code-in',
|
|
9532
9518
|
label: '商品条码',
|
|
@@ -10876,10 +10862,9 @@ var Field = function Field(_ref) {
|
|
|
10876
10862
|
};
|
|
10877
10863
|
var GuideWrapper = /*#__PURE__*/function (_Component) {
|
|
10878
10864
|
_inherits(GuideWrapper, _Component);
|
|
10879
|
-
var _super = _createSuper(GuideWrapper);
|
|
10880
10865
|
function GuideWrapper() {
|
|
10881
10866
|
_classCallCheck(this, GuideWrapper);
|
|
10882
|
-
return
|
|
10867
|
+
return _callSuper(this, GuideWrapper, arguments);
|
|
10883
10868
|
}
|
|
10884
10869
|
_createClass(GuideWrapper, [{
|
|
10885
10870
|
key: "render",
|
|
@@ -10991,14 +10976,13 @@ var SortableBody$1 = reactSortableHoc.SortableContainer(function (props) {
|
|
|
10991
10976
|
});
|
|
10992
10977
|
var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
10993
10978
|
_inherits(SortableTable, _React$Component);
|
|
10994
|
-
var _super = _createSuper(SortableTable);
|
|
10995
10979
|
function SortableTable() {
|
|
10996
10980
|
var _this;
|
|
10997
10981
|
_classCallCheck(this, SortableTable);
|
|
10998
10982
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
10999
10983
|
args[_key] = arguments[_key];
|
|
11000
10984
|
}
|
|
11001
|
-
_this =
|
|
10985
|
+
_this = _callSuper(this, SortableTable, [].concat(args));
|
|
11002
10986
|
_this.state = {
|
|
11003
10987
|
dataSource: [],
|
|
11004
10988
|
columns: [],
|
|
@@ -11616,11 +11600,10 @@ var _excluded$8 = ["onResize", "width"],
|
|
|
11616
11600
|
var Text = antd.Typography.Text;
|
|
11617
11601
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
11618
11602
|
_inherits(ColumnSettingSulaTable, _React$Component);
|
|
11619
|
-
var _super = _createSuper(ColumnSettingSulaTable);
|
|
11620
11603
|
function ColumnSettingSulaTable(_props) {
|
|
11621
11604
|
var _this;
|
|
11622
11605
|
_classCallCheck(this, ColumnSettingSulaTable);
|
|
11623
|
-
_this =
|
|
11606
|
+
_this = _callSuper(this, ColumnSettingSulaTable, [_props]);
|
|
11624
11607
|
_this.sulaTableRef = void 0;
|
|
11625
11608
|
_this.state = void 0;
|
|
11626
11609
|
_this.setInitialShowColumn = function (columns) {
|
|
@@ -11865,11 +11848,10 @@ var _excluded$9 = ["onResize", "width"],
|
|
|
11865
11848
|
var Text$1 = antd.Typography.Text;
|
|
11866
11849
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
11867
11850
|
_inherits(ColumnSettingTable, _React$Component);
|
|
11868
|
-
var _super = _createSuper(ColumnSettingTable);
|
|
11869
11851
|
function ColumnSettingTable(_props) {
|
|
11870
11852
|
var _this;
|
|
11871
11853
|
_classCallCheck(this, ColumnSettingTable);
|
|
11872
|
-
_this =
|
|
11854
|
+
_this = _callSuper(this, ColumnSettingTable, [_props]);
|
|
11873
11855
|
_this.state = void 0;
|
|
11874
11856
|
_this.setInitialShowColumn = function (columns) {
|
|
11875
11857
|
// 获取当前列表定义数据
|
|
@@ -12575,14 +12557,13 @@ var SortableBody$2 = reactSortableHoc.SortableContainer(function (props) {
|
|
|
12575
12557
|
});
|
|
12576
12558
|
var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
12577
12559
|
_inherits(SortableTable, _React$Component);
|
|
12578
|
-
var _super = _createSuper(SortableTable);
|
|
12579
12560
|
function SortableTable() {
|
|
12580
12561
|
var _this;
|
|
12581
12562
|
_classCallCheck(this, SortableTable);
|
|
12582
12563
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
12583
12564
|
args[_key] = arguments[_key];
|
|
12584
12565
|
}
|
|
12585
|
-
_this =
|
|
12566
|
+
_this = _callSuper(this, SortableTable, [].concat(args));
|
|
12586
12567
|
_this.state = {
|
|
12587
12568
|
dataSource: [],
|
|
12588
12569
|
columns: [],
|
|
@@ -13327,14 +13308,13 @@ var SortableBody$3 = reactSortableHoc.SortableContainer(function (props) {
|
|
|
13327
13308
|
});
|
|
13328
13309
|
var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
13329
13310
|
_inherits(SearchItemTable, _React$Component);
|
|
13330
|
-
var _super = _createSuper(SearchItemTable);
|
|
13331
13311
|
function SearchItemTable() {
|
|
13332
13312
|
var _this;
|
|
13333
13313
|
_classCallCheck(this, SearchItemTable);
|
|
13334
13314
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
13335
13315
|
args[_key] = arguments[_key];
|
|
13336
13316
|
}
|
|
13337
|
-
_this =
|
|
13317
|
+
_this = _callSuper(this, SearchItemTable, [].concat(args));
|
|
13338
13318
|
_this.state = {
|
|
13339
13319
|
dataSource: [],
|
|
13340
13320
|
columns: [],
|
|
@@ -15195,14 +15175,13 @@ var getParentKey = function getParentKey(path, tree) {
|
|
|
15195
15175
|
};
|
|
15196
15176
|
var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
15197
15177
|
_inherits(LeftTree, _React$Component);
|
|
15198
|
-
var _super = _createSuper(LeftTree);
|
|
15199
15178
|
function LeftTree() {
|
|
15200
15179
|
var _this;
|
|
15201
15180
|
_classCallCheck(this, LeftTree);
|
|
15202
15181
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
15203
15182
|
args[_key] = arguments[_key];
|
|
15204
15183
|
}
|
|
15205
|
-
_this =
|
|
15184
|
+
_this = _callSuper(this, LeftTree, [].concat(args));
|
|
15206
15185
|
_this.state = {
|
|
15207
15186
|
treeData: [],
|
|
15208
15187
|
expandedKeys: [],
|
|
@@ -15403,11 +15382,10 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
15403
15382
|
var TreeNode$1 = antd.Tree.TreeNode;
|
|
15404
15383
|
var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
15405
15384
|
_inherits(rightTree, _React$Component);
|
|
15406
|
-
var _super = _createSuper(rightTree);
|
|
15407
15385
|
function rightTree(props) {
|
|
15408
15386
|
var _this;
|
|
15409
15387
|
_classCallCheck(this, rightTree);
|
|
15410
|
-
_this =
|
|
15388
|
+
_this = _callSuper(this, rightTree, [props]);
|
|
15411
15389
|
_this.formRef = /*#__PURE__*/React__default['default'].createRef();
|
|
15412
15390
|
_this.state = {
|
|
15413
15391
|
// treeData: [],
|
|
@@ -16539,11 +16517,10 @@ var ItemMenu = function ItemMenu(props) {
|
|
|
16539
16517
|
};
|
|
16540
16518
|
var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
16541
16519
|
_inherits(BasicLayout, _React$PureComponent);
|
|
16542
|
-
var _super = _createSuper(BasicLayout);
|
|
16543
16520
|
function BasicLayout(props) {
|
|
16544
16521
|
var _this;
|
|
16545
16522
|
_classCallCheck(this, BasicLayout);
|
|
16546
|
-
_this =
|
|
16523
|
+
_this = _callSuper(this, BasicLayout, [props]);
|
|
16547
16524
|
_this.allFunc = /*#__PURE__*/React.createRef('');
|
|
16548
16525
|
_this.customerMenuRef = /*#__PURE__*/React.createRef('');
|
|
16549
16526
|
_this.actionRef = /*#__PURE__*/React.createRef();
|
|
@@ -17548,10 +17525,9 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
17548
17525
|
}(React__default['default'].PureComponent);
|
|
17549
17526
|
var WrapperComponent = /*#__PURE__*/function (_React$Component) {
|
|
17550
17527
|
_inherits(WrapperComponent, _React$Component);
|
|
17551
|
-
var _super2 = _createSuper(WrapperComponent);
|
|
17552
17528
|
function WrapperComponent(props) {
|
|
17553
17529
|
_classCallCheck(this, WrapperComponent);
|
|
17554
|
-
return
|
|
17530
|
+
return _callSuper(this, WrapperComponent, [props]);
|
|
17555
17531
|
}
|
|
17556
17532
|
_createClass(WrapperComponent, [{
|
|
17557
17533
|
key: "shouldComponentUpdate",
|
|
@@ -23858,10 +23834,9 @@ function TreeNode$2(props) {
|
|
|
23858
23834
|
var prefixCls = 'tree-compact';
|
|
23859
23835
|
var CompactArrayView = /*#__PURE__*/function (_React$Component) {
|
|
23860
23836
|
_inherits(CompactArrayView, _React$Component);
|
|
23861
|
-
var _super = _createSuper(CompactArrayView);
|
|
23862
23837
|
function CompactArrayView() {
|
|
23863
23838
|
_classCallCheck(this, CompactArrayView);
|
|
23864
|
-
return
|
|
23839
|
+
return _callSuper(this, CompactArrayView, arguments);
|
|
23865
23840
|
}
|
|
23866
23841
|
_createClass(CompactArrayView, [{
|
|
23867
23842
|
key: "shouldComponentUpdate",
|
|
@@ -23887,10 +23862,9 @@ var CompactArrayView = /*#__PURE__*/function (_React$Component) {
|
|
|
23887
23862
|
var prefixCls$1 = 'tree-compact';
|
|
23888
23863
|
var CompactObjectView = /*#__PURE__*/function (_React$Component) {
|
|
23889
23864
|
_inherits(CompactObjectView, _React$Component);
|
|
23890
|
-
var _super = _createSuper(CompactObjectView);
|
|
23891
23865
|
function CompactObjectView() {
|
|
23892
23866
|
_classCallCheck(this, CompactObjectView);
|
|
23893
|
-
return
|
|
23867
|
+
return _callSuper(this, CompactObjectView, arguments);
|
|
23894
23868
|
}
|
|
23895
23869
|
_createClass(CompactObjectView, [{
|
|
23896
23870
|
key: "shouldComponentUpdate",
|
|
@@ -26852,14 +26826,13 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
|
|
|
26852
26826
|
|
|
26853
26827
|
var EllipsisTooltip = /*#__PURE__*/function (_React$Component) {
|
|
26854
26828
|
_inherits(EllipsisTooltip, _React$Component);
|
|
26855
|
-
var _super = _createSuper(EllipsisTooltip);
|
|
26856
26829
|
function EllipsisTooltip() {
|
|
26857
26830
|
var _this;
|
|
26858
26831
|
_classCallCheck(this, EllipsisTooltip);
|
|
26859
26832
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
26860
26833
|
args[_key] = arguments[_key];
|
|
26861
26834
|
}
|
|
26862
|
-
_this =
|
|
26835
|
+
_this = _callSuper(this, EllipsisTooltip, [].concat(args));
|
|
26863
26836
|
_this.state = {
|
|
26864
26837
|
visible: false
|
|
26865
26838
|
};
|
|
@@ -27201,11 +27174,10 @@ var fullDateFormat = 'YYYY-MM-DD HH:mm:ss';
|
|
|
27201
27174
|
var RangePicker = antd.DatePicker.RangePicker;
|
|
27202
27175
|
var RuleField = /*#__PURE__*/function (_Component) {
|
|
27203
27176
|
_inherits(RuleField, _Component);
|
|
27204
|
-
var _super = _createSuper(RuleField);
|
|
27205
27177
|
function RuleField(props) {
|
|
27206
27178
|
var _this;
|
|
27207
27179
|
_classCallCheck(this, RuleField);
|
|
27208
|
-
_this =
|
|
27180
|
+
_this = _callSuper(this, RuleField, [props]);
|
|
27209
27181
|
_this.eventHandle = function (obj) {
|
|
27210
27182
|
var thresholdQuery = _this.state.thresholdQuery;
|
|
27211
27183
|
var _this$props = _this.props,
|
|
@@ -29989,12 +29961,11 @@ function handleRTypeData(props) {
|
|
|
29989
29961
|
}
|
|
29990
29962
|
var RuleField$1 = /*#__PURE__*/function (_Component) {
|
|
29991
29963
|
_inherits(RuleField, _Component);
|
|
29992
|
-
var _super = _createSuper(RuleField);
|
|
29993
29964
|
function RuleField(props) {
|
|
29994
29965
|
var _props$extraInfo2;
|
|
29995
29966
|
var _this;
|
|
29996
29967
|
_classCallCheck(this, RuleField);
|
|
29997
|
-
_this =
|
|
29968
|
+
_this = _callSuper(this, RuleField, [props]);
|
|
29998
29969
|
_this.handleActionName = function (functionDetail) {
|
|
29999
29970
|
var result = functionDetail.functionName;
|
|
30000
29971
|
var code = functionDetail.functionInfo.code;
|
|
@@ -30121,11 +30092,10 @@ var InnerSelect = (function (props) {
|
|
|
30121
30092
|
var RangePicker$1 = antd.DatePicker.RangePicker;
|
|
30122
30093
|
var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
30123
30094
|
_inherits(RuleObjectComponent, _Component);
|
|
30124
|
-
var _super = _createSuper(RuleObjectComponent);
|
|
30125
30095
|
function RuleObjectComponent(props) {
|
|
30126
30096
|
var _this;
|
|
30127
30097
|
_classCallCheck(this, RuleObjectComponent);
|
|
30128
|
-
_this =
|
|
30098
|
+
_this = _callSuper(this, RuleObjectComponent, [props]);
|
|
30129
30099
|
_this.setRegularData = function (regularDataList) {
|
|
30130
30100
|
_this.propertyCodeToRangeIdMap = {};
|
|
30131
30101
|
_this.dictCodeToRangeIdMap = {};
|
package/package.json
CHANGED
|
@@ -336,6 +336,7 @@ export const AddSkuSelect = (parProps: any) => {
|
|
|
336
336
|
name: 'qp-skuCode-like', label: 'SKU编码'
|
|
337
337
|
},
|
|
338
338
|
{ name: 'qp-skuName-like', label: 'SKU名称' },
|
|
339
|
+
{ name: 'qp-externalCode-like', label: '外部SPU编码' },
|
|
339
340
|
...(isNoUseItemBarcode ? []: [
|
|
340
341
|
{ name: 'qp-code-in', label: '商品条码', field: {
|
|
341
342
|
type: 'multipleQueryInput',
|