@kmkf-fe-packages/services-components 0.7.3-alpha.0 → 0.7.3-alpha.10
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/esm/components/ActualPayment/index.d.ts +2 -1
- package/dist/esm/components/ActualPayment/index.js +4 -2
- package/dist/esm/components/Address/index.d.ts +10 -1
- package/dist/esm/components/Address/index.js +16 -2
- package/dist/esm/components/Alipay/index.d.ts +1 -0
- package/dist/esm/components/Alipay/index.js +2 -0
- package/dist/esm/components/AlipayAccount/index.d.ts +2 -1
- package/dist/esm/components/AlipayAccount/index.js +3 -1
- package/dist/esm/components/AlipayName/index.d.ts +2 -1
- package/dist/esm/components/AlipayName/index.js +3 -1
- package/dist/esm/components/BuyerNick/index.d.ts +2 -1
- package/dist/esm/components/BuyerNick/index.js +3 -1
- package/dist/esm/components/Cascader/index.d.ts +10 -1
- package/dist/esm/components/Cascader/index.js +16 -2
- package/dist/esm/components/Checkbox/index.d.ts +4 -1
- package/dist/esm/components/Checkbox/index.js +9 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +2 -0
- package/dist/esm/components/CommonDataTime/index.js +9 -0
- package/dist/esm/components/CompletedUser/index.d.ts +7 -4
- package/dist/esm/components/CompletedUser/index.js +5 -1
- package/dist/esm/components/DataTime/index.d.ts +5 -1
- package/dist/esm/components/DataTime/index.js +13 -2
- package/dist/esm/components/EItemEnCode/index.d.ts +2 -1
- package/dist/esm/components/EItemEnCode/index.js +4 -2
- package/dist/esm/components/EItemId/index.d.ts +2 -1
- package/dist/esm/components/EItemId/index.js +4 -2
- package/dist/esm/components/EItemSelect/index.d.ts +1 -0
- package/dist/esm/components/EItemSelect/index.js +2 -0
- package/dist/esm/components/ErpTradeId/index.d.ts +2 -0
- package/dist/esm/components/ErpTradeId/index.js +6 -1
- package/dist/esm/components/Express/index.d.ts +4 -1
- package/dist/esm/components/Express/index.js +5 -1
- package/dist/esm/components/ExpressCode/index.d.ts +2 -1
- package/dist/esm/components/ExpressCode/index.js +3 -1
- package/dist/esm/components/FlowStatusSelect/index.d.ts +7 -4
- package/dist/esm/components/FlowStatusSelect/index.js +10 -6
- package/dist/esm/components/Grade/index.d.ts +1 -0
- package/dist/esm/components/Grade/index.js +2 -0
- package/dist/esm/components/Handler/index.d.ts +7 -4
- package/dist/esm/components/Handler/index.js +5 -1
- package/dist/esm/components/Input/index.d.ts +2 -1
- package/dist/esm/components/Input/index.js +4 -2
- package/dist/esm/components/JstItemSelect/index.d.ts +2 -1
- package/dist/esm/components/JstItemSelect/index.js +4 -2
- package/dist/esm/components/JstLogistics/index.d.ts +6 -3
- package/dist/esm/components/JstLogistics/index.js +6 -2
- package/dist/esm/components/JstSendGood/index.d.ts +2 -1
- package/dist/esm/components/JstSendGood/index.js +4 -2
- package/dist/esm/components/JstSupply/index.d.ts +2 -1
- package/dist/esm/components/JstSupply/index.js +4 -2
- package/dist/esm/components/Logistics/index.d.ts +4 -1
- package/dist/esm/components/Logistics/index.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +7 -4
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +5 -1
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +7 -4
- package/dist/esm/components/LogisticsInterception/InterceptType.js +5 -1
- package/dist/esm/components/LogisticsInterception/index.d.ts +10 -5
- package/dist/esm/components/LogisticsInterception/index.js +2 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +2 -1
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +3 -1
- package/dist/esm/components/MultSelect/index.d.ts +4 -1
- package/dist/esm/components/MultSelect/index.js +6 -2
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +2 -1
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +6 -4
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +2 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +6 -4
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +2 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.js +3 -1
- package/dist/esm/components/Ordinary/index.d.ts +2 -1
- package/dist/esm/components/Ordinary/index.js +2 -0
- package/dist/esm/components/Payment/AlipayNick.d.ts +2 -1
- package/dist/esm/components/Payment/AlipayNick.js +3 -1
- package/dist/esm/components/Payment/AlipayNo.d.ts +2 -1
- package/dist/esm/components/Payment/AlipayNo.js +3 -1
- package/dist/esm/components/Payment/AlipayTime.d.ts +2 -0
- package/dist/esm/components/Payment/AlipayTime.js +9 -0
- package/dist/esm/components/Payment/BuyerNick.d.ts +2 -1
- package/dist/esm/components/Payment/BuyerNick.js +3 -1
- package/dist/esm/components/Payment/PaymentAmount.d.ts +2 -1
- package/dist/esm/components/Payment/PaymentAmount.js +3 -1
- package/dist/esm/components/Payment/PaymentStatus.d.ts +7 -4
- package/dist/esm/components/Payment/PaymentStatus.js +5 -1
- package/dist/esm/components/Payment/PaymentTid.d.ts +2 -0
- package/dist/esm/components/Payment/PaymentTid.js +5 -0
- package/dist/esm/components/Payment/index.d.ts +8 -5
- package/dist/esm/components/Payment/index.js +2 -0
- package/dist/esm/components/Picture/index.d.ts +1 -0
- package/dist/esm/components/Picture/index.js +2 -0
- package/dist/esm/components/PlatForm/index.d.ts +1 -0
- package/dist/esm/components/PlatForm/index.js +2 -0
- package/dist/esm/components/Radio/index.d.ts +4 -1
- package/dist/esm/components/Radio/index.js +9 -5
- package/dist/esm/components/Rate/index.d.ts +1 -0
- package/dist/esm/components/Rate/index.js +2 -0
- package/dist/esm/components/ReceiverAddress/index.d.ts +1 -0
- package/dist/esm/components/ReceiverAddress/index.js +2 -0
- package/dist/esm/components/ReceiverMobile/index.d.ts +2 -1
- package/dist/esm/components/ReceiverMobile/index.js +4 -2
- package/dist/esm/components/ReceiverName/index.d.ts +2 -1
- package/dist/esm/components/ReceiverName/index.js +4 -2
- package/dist/esm/components/Remark/index.d.ts +2 -1
- package/dist/esm/components/Remark/index.js +4 -2
- package/dist/esm/components/ReturnLogistics/index.d.ts +4 -1
- package/dist/esm/components/ReturnLogistics/index.js +2 -0
- package/dist/esm/components/Select/index.d.ts +4 -1
- package/dist/esm/components/Select/index.js +6 -2
- package/dist/esm/components/ShopInput/index.d.ts +6 -2
- package/dist/esm/components/ShopInput/index.js +15 -2
- package/dist/esm/components/ShopName/index.d.ts +2 -1
- package/dist/esm/components/ShopName/index.js +4 -2
- package/dist/esm/components/Submitter/index.d.ts +7 -4
- package/dist/esm/components/Submitter/index.js +5 -1
- package/dist/esm/components/SystemOrderNo/index.d.ts +2 -0
- package/dist/esm/components/SystemOrderNo/index.js +6 -1
- package/dist/esm/components/TemplateSelect/index.d.ts +1 -0
- package/dist/esm/components/TemplateSelect/index.js +2 -0
- package/dist/esm/components/TextArea/index.d.ts +2 -1
- package/dist/esm/components/TextArea/index.js +4 -2
- package/dist/esm/components/ThirdItemSelect/index.d.ts +2 -1
- package/dist/esm/components/ThirdItemSelect/index.js +4 -2
- package/dist/esm/components/TradeDateTime/index.d.ts +2 -0
- package/dist/esm/components/TradeDateTime/index.js +12 -2
- package/dist/esm/components/TradeId/index.d.ts +2 -0
- package/dist/esm/components/TradeId/index.js +6 -1
- package/dist/esm/components/WorkOrderId/index.d.ts +2 -1
- package/dist/esm/components/WorkOrderId/index.js +10 -2
- package/dist/esm/type.d.ts +5 -2
- package/package.json +2 -2
|
@@ -22,6 +22,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
22
22
|
_defineProperty(this, "align", void 0);
|
|
23
23
|
_defineProperty(this, "width", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
25
26
|
_defineProperty(this, "children", void 0);
|
|
26
27
|
_defineProperty(this, "renderClient", function (record) {
|
|
27
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -60,7 +61,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
60
61
|
type: item.type,
|
|
61
62
|
id: "".concat(item.id, "_enterprisePaymentRefundFee"),
|
|
62
63
|
name: "".concat(item.name, "-\u6253\u6B3E\u91D1\u989D"),
|
|
63
|
-
filterComponentType: '
|
|
64
|
+
filterComponentType: 'Rate',
|
|
64
65
|
filterFn: function filterFn(value) {
|
|
65
66
|
return function (i) {
|
|
66
67
|
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentRefundFee')).includes(value);
|
|
@@ -73,6 +74,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
73
74
|
this.type = options.type;
|
|
74
75
|
this.componentConfig = options.componentConfig;
|
|
75
76
|
this.isCombinationComponent = false;
|
|
77
|
+
this.canSort = true;
|
|
76
78
|
this.children = [];
|
|
77
79
|
this.rules = [{
|
|
78
80
|
validator: function validator(_, value) {
|
|
@@ -16,6 +16,7 @@ declare class PaymentStatus implements ComponentInterface {
|
|
|
16
16
|
value: string;
|
|
17
17
|
}[];
|
|
18
18
|
isCombinationComponent: boolean;
|
|
19
|
+
canSort: boolean;
|
|
19
20
|
children: ComponentInterface[];
|
|
20
21
|
constructor(options: PickOption);
|
|
21
22
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -30,10 +31,12 @@ declare class PaymentStatus implements ComponentInterface {
|
|
|
30
31
|
id: string;
|
|
31
32
|
name: string;
|
|
32
33
|
filterComponentType: "MultipleSelect";
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
props: {
|
|
35
|
+
options: {
|
|
36
|
+
label: string;
|
|
37
|
+
value: string;
|
|
38
|
+
}[];
|
|
39
|
+
};
|
|
37
40
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
38
41
|
};
|
|
39
42
|
}
|
|
@@ -22,6 +22,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
22
22
|
_defineProperty(this, "paymentStatus", void 0);
|
|
23
23
|
_defineProperty(this, "paymentStatusOptions", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
25
26
|
_defineProperty(this, "children", void 0);
|
|
26
27
|
_defineProperty(this, "renderClient", function (record) {
|
|
27
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -54,7 +55,9 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
54
55
|
id: "".concat(item.id, "_enterprisePaymentStatus"),
|
|
55
56
|
name: "".concat(item.name, "-\u6253\u6B3E\u72B6\u6001"),
|
|
56
57
|
filterComponentType: 'MultipleSelect',
|
|
57
|
-
|
|
58
|
+
props: {
|
|
59
|
+
options: _this.paymentStatusOptions
|
|
60
|
+
},
|
|
58
61
|
filterFn: function filterFn(value) {
|
|
59
62
|
return function (i) {
|
|
60
63
|
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentStatus'));
|
|
@@ -101,6 +104,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
101
104
|
value: '支付宝打款关闭'
|
|
102
105
|
}];
|
|
103
106
|
this.isCombinationComponent = false;
|
|
107
|
+
this.canSort = true;
|
|
104
108
|
this.children = [];
|
|
105
109
|
});
|
|
106
110
|
export default PaymentStatus;
|
|
@@ -9,6 +9,7 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
9
9
|
align: ALignType;
|
|
10
10
|
width: number;
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
|
+
canSort: boolean;
|
|
12
13
|
children: ComponentInterface[];
|
|
13
14
|
constructor(options: PickOption);
|
|
14
15
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -24,6 +25,7 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
24
25
|
name: string;
|
|
25
26
|
filterComponentType: "Input";
|
|
26
27
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
28
|
+
formatFilterValue: (input: string) => string[];
|
|
27
29
|
};
|
|
28
30
|
}
|
|
29
31
|
export default PaymentTid;
|
|
@@ -22,6 +22,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
22
22
|
_defineProperty(this, "align", void 0);
|
|
23
23
|
_defineProperty(this, "width", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
25
26
|
_defineProperty(this, "children", void 0);
|
|
26
27
|
_defineProperty(this, "renderClient", function (record) {
|
|
27
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -65,6 +66,9 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
65
66
|
return function (i) {
|
|
66
67
|
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentTid'), value);
|
|
67
68
|
};
|
|
69
|
+
},
|
|
70
|
+
formatFilterValue: function formatFilterValue(input) {
|
|
71
|
+
return input.split(/[,|,]/);
|
|
68
72
|
}
|
|
69
73
|
};
|
|
70
74
|
});
|
|
@@ -76,6 +80,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
76
80
|
this.align = 'left';
|
|
77
81
|
this.width = 200;
|
|
78
82
|
this.isCombinationComponent = false;
|
|
83
|
+
this.canSort = true;
|
|
79
84
|
this.children = [];
|
|
80
85
|
});
|
|
81
86
|
export default PaymentTid;
|
|
@@ -21,6 +21,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
21
21
|
alipayNo: AlipayNo;
|
|
22
22
|
payTime: AlipayTime;
|
|
23
23
|
isCombinationComponent: boolean;
|
|
24
|
+
canSort: boolean;
|
|
24
25
|
children: ComponentInterface[];
|
|
25
26
|
constructor(options: PickOption);
|
|
26
27
|
renderClient: (record: any) => React.JSX.Element;
|
|
@@ -49,7 +50,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
49
50
|
type: string;
|
|
50
51
|
id: string;
|
|
51
52
|
name: string;
|
|
52
|
-
filterComponentType: "
|
|
53
|
+
filterComponentType: "Rate";
|
|
53
54
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
54
55
|
} | {
|
|
55
56
|
searchDefaultConditions: "in";
|
|
@@ -57,10 +58,12 @@ declare class Logistics implements ComponentInterface {
|
|
|
57
58
|
id: string;
|
|
58
59
|
name: string;
|
|
59
60
|
filterComponentType: "MultipleSelect";
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
props: {
|
|
62
|
+
options: {
|
|
63
|
+
label: string;
|
|
64
|
+
value: string;
|
|
65
|
+
}[];
|
|
66
|
+
};
|
|
64
67
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
65
68
|
} | {
|
|
66
69
|
searchDefaultConditions: "between";
|
|
@@ -34,6 +34,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
34
34
|
_defineProperty(this, "alipayNo", void 0);
|
|
35
35
|
_defineProperty(this, "payTime", void 0);
|
|
36
36
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
37
|
+
_defineProperty(this, "canSort", void 0);
|
|
37
38
|
_defineProperty(this, "children", void 0);
|
|
38
39
|
_defineProperty(this, "renderClient", function (record) {
|
|
39
40
|
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.alipayNick.renderClient(record), _this.paymentAmount.renderClient(record), _this.alipayNo.renderClient(record), _this.buyerNick.renderClient(record), _this.paymentTid.renderClient(record), _this.paymentStatus.renderClient(record), _this.payTime.renderClient(record));
|
|
@@ -85,6 +86,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
85
86
|
this.alipayNo = new AlipayNo(options);
|
|
86
87
|
this.payTime = new AlipayTime(options);
|
|
87
88
|
this.isCombinationComponent = true;
|
|
89
|
+
this.canSort = false;
|
|
88
90
|
this.children = [this.alipayNick, this.alipayNo, this.buyerNick, this.paymentAmount, this.paymentStatus, this.paymentTid, this.payTime];
|
|
89
91
|
this.rules = [{
|
|
90
92
|
validator: function validator(_, value) {
|
|
@@ -8,6 +8,7 @@ declare class BasicPicture implements ComponentInterface {
|
|
|
8
8
|
rules: any[];
|
|
9
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
canSort: boolean;
|
|
11
12
|
children: ComponentInterface[];
|
|
12
13
|
constructor(options: PickOption);
|
|
13
14
|
formatPictures: (pictures: string) => string[];
|
|
@@ -22,6 +22,7 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
|
|
|
22
22
|
_defineProperty(this, "rules", void 0);
|
|
23
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
25
26
|
_defineProperty(this, "children", void 0);
|
|
26
27
|
_defineProperty(this, "formatPictures", function (pictures) {
|
|
27
28
|
pictures = pictures.replace(/[\[\]]/g, '');
|
|
@@ -108,6 +109,7 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
|
|
|
108
109
|
this.componentConfig = options.componentConfig;
|
|
109
110
|
this.rules = [];
|
|
110
111
|
this.isCombinationComponent = false;
|
|
112
|
+
this.canSort = true;
|
|
111
113
|
this.children = [];
|
|
112
114
|
});
|
|
113
115
|
export default BasicPicture;
|
|
@@ -7,6 +7,7 @@ declare class PlatForm implements ComponentInterface {
|
|
|
7
7
|
type: string;
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
|
+
canSort: boolean;
|
|
10
11
|
children: ComponentInterface[];
|
|
11
12
|
platInstance: InstanceType<typeof PlatData>;
|
|
12
13
|
constructor();
|
|
@@ -16,6 +16,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
|
16
16
|
_defineProperty(this, "type", void 0);
|
|
17
17
|
_defineProperty(this, "componentConfig", void 0);
|
|
18
18
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
19
|
+
_defineProperty(this, "canSort", void 0);
|
|
19
20
|
_defineProperty(this, "children", void 0);
|
|
20
21
|
_defineProperty(this, "platInstance", void 0);
|
|
21
22
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
@@ -63,6 +64,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
|
63
64
|
this.id = "platform";
|
|
64
65
|
this.type = "PLATFORM_INPUT";
|
|
65
66
|
this.isCombinationComponent = false;
|
|
67
|
+
this.canSort = false;
|
|
66
68
|
this.children = [];
|
|
67
69
|
this.platInstance = PlatData.getInstance();
|
|
68
70
|
});
|
|
@@ -11,6 +11,7 @@ declare class BasicRadio implements ComponentInterface {
|
|
|
11
11
|
rules: any[];
|
|
12
12
|
componentConfig: ComponentInterface["componentConfig"];
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
|
+
canSort: boolean;
|
|
14
15
|
children: ComponentInterface[];
|
|
15
16
|
constructor(options: PickOption);
|
|
16
17
|
render: (value: Value) => React.JSX.Element;
|
|
@@ -29,7 +30,9 @@ declare class BasicRadio implements ComponentInterface {
|
|
|
29
30
|
id: string;
|
|
30
31
|
name: string;
|
|
31
32
|
filterComponentType: "MultipleSelect";
|
|
32
|
-
|
|
33
|
+
props: {
|
|
34
|
+
options: any[] | undefined;
|
|
35
|
+
};
|
|
33
36
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
34
37
|
};
|
|
35
38
|
}
|
|
@@ -22,6 +22,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
|
|
|
22
22
|
_defineProperty(this, "rules", void 0);
|
|
23
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
25
26
|
_defineProperty(this, "children", void 0);
|
|
26
27
|
_defineProperty(this, "render", function (value) {
|
|
27
28
|
var _value$value;
|
|
@@ -71,15 +72,17 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
|
|
|
71
72
|
return {
|
|
72
73
|
searchDefaultConditions: SYMBOL.in,
|
|
73
74
|
type: item.type,
|
|
74
|
-
id: item.id,
|
|
75
|
+
id: "".concat(item.id, "_radio"),
|
|
75
76
|
// 过滤组件id
|
|
76
77
|
name: item.name,
|
|
77
78
|
// 过滤组件名称
|
|
78
79
|
filterComponentType: 'MultipleSelect',
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
props: {
|
|
81
|
+
options: item !== null && item !== void 0 && (_item$config = item.config) !== null && _item$config !== void 0 && _item$config.showOther ? item === null || item === void 0 ? void 0 : (_item$config2 = item.config) === null || _item$config2 === void 0 ? void 0 : (_item$config2$options = _item$config2.options) === null || _item$config2$options === void 0 ? void 0 : _item$config2$options.concat({
|
|
82
|
+
label: '其他',
|
|
83
|
+
value: '其他'
|
|
84
|
+
}) : (item === null || item === void 0 ? void 0 : (_item$config3 = item.config) === null || _item$config3 === void 0 ? void 0 : _item$config3.options) || []
|
|
85
|
+
},
|
|
83
86
|
filterFn: function filterFn(value) {
|
|
84
87
|
return function (i) {
|
|
85
88
|
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'radio'));
|
|
@@ -91,6 +94,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
|
|
|
91
94
|
this.id = options.id;
|
|
92
95
|
this.type = options.type;
|
|
93
96
|
this.isCombinationComponent = false;
|
|
97
|
+
this.canSort = true;
|
|
94
98
|
this.children = [];
|
|
95
99
|
this.componentConfig = options.componentConfig;
|
|
96
100
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
@@ -15,6 +15,7 @@ declare class BasicRate implements ComponentInterface {
|
|
|
15
15
|
[prop in number]: string;
|
|
16
16
|
};
|
|
17
17
|
isCombinationComponent: boolean;
|
|
18
|
+
canSort: boolean;
|
|
18
19
|
children: ComponentInterface[];
|
|
19
20
|
constructor(options: PickOption);
|
|
20
21
|
render: (value: Value) => React.JSX.Element;
|
|
@@ -22,6 +22,7 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
|
|
|
22
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
23
23
|
_defineProperty(this, "rateMap", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
25
26
|
_defineProperty(this, "children", void 0);
|
|
26
27
|
_defineProperty(this, "render", function (value) {
|
|
27
28
|
return /*#__PURE__*/React.createElement("div", null, value === null || value === void 0 ? void 0 : value.map(function (item) {
|
|
@@ -124,6 +125,7 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
|
|
|
124
125
|
this.type = options.type;
|
|
125
126
|
this.componentConfig = options.componentConfig;
|
|
126
127
|
this.isCombinationComponent = false;
|
|
128
|
+
this.canSort = true;
|
|
127
129
|
this.children = [];
|
|
128
130
|
this.rules = [];
|
|
129
131
|
this.rateMap = {
|
|
@@ -13,6 +13,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
effects: ComponentInterface["effects"];
|
|
15
15
|
isCombinationComponent: boolean;
|
|
16
|
+
canSort: boolean;
|
|
16
17
|
children: ComponentInterface[];
|
|
17
18
|
addressDateInstance: InstanceType<typeof AddressData>;
|
|
18
19
|
constructor(options: PickOption);
|
|
@@ -23,6 +23,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
23
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
24
|
_defineProperty(this, "effects", void 0);
|
|
25
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
+
_defineProperty(this, "canSort", void 0);
|
|
26
27
|
_defineProperty(this, "children", void 0);
|
|
27
28
|
_defineProperty(this, "addressDateInstance", void 0);
|
|
28
29
|
_defineProperty(this, "render", function (value) {
|
|
@@ -107,6 +108,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
107
108
|
this.type = options.type;
|
|
108
109
|
this.componentConfig = options.componentConfig;
|
|
109
110
|
this.isCombinationComponent = false;
|
|
111
|
+
this.canSort = true;
|
|
110
112
|
this.children = [];
|
|
111
113
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
112
114
|
validator: function validator(_, value) {
|
|
@@ -8,6 +8,7 @@ declare class ReceiverMobile implements ComponentInterface {
|
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
effects: ComponentInterface["effects"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
canSort: boolean;
|
|
11
12
|
children: ComponentInterface[];
|
|
12
13
|
constructor(options: PickOption);
|
|
13
14
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
@@ -17,7 +18,7 @@ declare class ReceiverMobile implements ComponentInterface {
|
|
|
17
18
|
renderExport: (value: any, record: Record) => any;
|
|
18
19
|
editRender: (value: any) => React.JSX.Element;
|
|
19
20
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
-
searchDefaultConditions: "
|
|
21
|
+
searchDefaultConditions: "eq";
|
|
21
22
|
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
@@ -22,6 +22,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
22
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
23
23
|
_defineProperty(this, "effects", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
25
26
|
_defineProperty(this, "children", void 0);
|
|
26
27
|
_defineProperty(this, "renderClient", function (record) {
|
|
27
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -69,9 +70,9 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
69
70
|
});
|
|
70
71
|
_defineProperty(this, "filterConfig", function (item) {
|
|
71
72
|
return {
|
|
72
|
-
searchDefaultConditions: SYMBOL.
|
|
73
|
+
searchDefaultConditions: SYMBOL.eq,
|
|
73
74
|
type: item.type,
|
|
74
|
-
id: item.id,
|
|
75
|
+
id: "".concat(item.id, "_receiveMobile"),
|
|
75
76
|
// 过滤组件id
|
|
76
77
|
name: item.name,
|
|
77
78
|
// 过滤组件名称
|
|
@@ -90,6 +91,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
90
91
|
this.rules = [];
|
|
91
92
|
this.effects = options.effects;
|
|
92
93
|
this.isCombinationComponent = false;
|
|
94
|
+
this.canSort = true;
|
|
93
95
|
this.children = [];
|
|
94
96
|
});
|
|
95
97
|
export default ReceiverMobile;
|
|
@@ -8,6 +8,7 @@ declare class ReceiverName implements ComponentInterface {
|
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
effects: ComponentInterface["effects"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
canSort: boolean;
|
|
11
12
|
children: ComponentInterface[];
|
|
12
13
|
constructor(options: PickOption);
|
|
13
14
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -17,7 +18,7 @@ declare class ReceiverName implements ComponentInterface {
|
|
|
17
18
|
renderExport: (value: any, record: Record) => any;
|
|
18
19
|
editRender: () => React.JSX.Element;
|
|
19
20
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
-
searchDefaultConditions: "
|
|
21
|
+
searchDefaultConditions: "eq";
|
|
21
22
|
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
@@ -22,6 +22,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
22
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
23
23
|
_defineProperty(this, "effects", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
25
26
|
_defineProperty(this, "children", void 0);
|
|
26
27
|
_defineProperty(this, "renderClient", function (record) {
|
|
27
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -66,9 +67,9 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
66
67
|
});
|
|
67
68
|
_defineProperty(this, "filterConfig", function (item) {
|
|
68
69
|
return {
|
|
69
|
-
searchDefaultConditions: SYMBOL.
|
|
70
|
+
searchDefaultConditions: SYMBOL.eq,
|
|
70
71
|
type: item.type,
|
|
71
|
-
id: item.id,
|
|
72
|
+
id: "".concat(item.id, "_receiveName"),
|
|
72
73
|
// 过滤组件id
|
|
73
74
|
name: item.name,
|
|
74
75
|
// 过滤组件名称
|
|
@@ -87,6 +88,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
87
88
|
this.rules = [];
|
|
88
89
|
this.effects = options.effects;
|
|
89
90
|
this.isCombinationComponent = false;
|
|
91
|
+
this.canSort = true;
|
|
90
92
|
this.children = [];
|
|
91
93
|
});
|
|
92
94
|
export default ReceiverName;
|
|
@@ -13,6 +13,7 @@ declare class ERemark implements ComponentInterface {
|
|
|
13
13
|
imgList: any[];
|
|
14
14
|
flagColors: string[];
|
|
15
15
|
isCombinationComponent: boolean;
|
|
16
|
+
canSort: boolean;
|
|
16
17
|
children: ComponentInterface[];
|
|
17
18
|
constructor(options: PickOption);
|
|
18
19
|
render: (value: Value) => React.JSX.Element;
|
|
@@ -26,7 +27,7 @@ declare class ERemark implements ComponentInterface {
|
|
|
26
27
|
renderExport: (value: unknown, record: Record) => any;
|
|
27
28
|
editRender: () => React.JSX.Element;
|
|
28
29
|
filterConfig: (item: ColumnConfig) => {
|
|
29
|
-
searchDefaultConditions: "
|
|
30
|
+
searchDefaultConditions: "like";
|
|
30
31
|
type: string;
|
|
31
32
|
id: string;
|
|
32
33
|
name: string;
|
|
@@ -30,6 +30,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
30
30
|
_defineProperty(this, "imgList", void 0);
|
|
31
31
|
_defineProperty(this, "flagColors", void 0);
|
|
32
32
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
33
|
+
_defineProperty(this, "canSort", void 0);
|
|
33
34
|
_defineProperty(this, "children", void 0);
|
|
34
35
|
_defineProperty(this, "render", function (value) {
|
|
35
36
|
var index = get(value, 'flag');
|
|
@@ -85,9 +86,9 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
85
86
|
});
|
|
86
87
|
_defineProperty(this, "filterConfig", function (item) {
|
|
87
88
|
return {
|
|
88
|
-
searchDefaultConditions: SYMBOL.
|
|
89
|
+
searchDefaultConditions: SYMBOL.like,
|
|
89
90
|
type: item.type,
|
|
90
|
-
id: item.id,
|
|
91
|
+
id: "".concat(item.id, "_remark"),
|
|
91
92
|
// 过滤组件id
|
|
92
93
|
name: item.name,
|
|
93
94
|
// 过滤组件名称
|
|
@@ -118,6 +119,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
118
119
|
this.imgList = [trade0, trade1, trade2, trade3, trade4, trade5];
|
|
119
120
|
this.flagColors = ['gray', 'red', 'yellow', 'green', 'blue', 'purple'];
|
|
120
121
|
this.isCombinationComponent = false;
|
|
122
|
+
this.canSort = true;
|
|
121
123
|
this.children = [];
|
|
122
124
|
});
|
|
123
125
|
export default ERemark;
|
|
@@ -18,6 +18,7 @@ declare class ReturnLogistics implements ComponentInterface {
|
|
|
18
18
|
express: Express;
|
|
19
19
|
expressCode: ExpressCode;
|
|
20
20
|
isCombinationComponent: boolean;
|
|
21
|
+
canSort: boolean;
|
|
21
22
|
children: ComponentInterface[];
|
|
22
23
|
constructor(options: PickOption);
|
|
23
24
|
renderClient: (record: any) => React.JSX.Element;
|
|
@@ -35,7 +36,9 @@ declare class ReturnLogistics implements ComponentInterface {
|
|
|
35
36
|
id: string;
|
|
36
37
|
name: string;
|
|
37
38
|
filterComponentType: "MultipleSelect";
|
|
38
|
-
|
|
39
|
+
props: {
|
|
40
|
+
options: any[];
|
|
41
|
+
};
|
|
39
42
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
40
43
|
} | {
|
|
41
44
|
searchDefaultConditions: "in";
|
|
@@ -32,6 +32,7 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
|
|
|
32
32
|
_defineProperty(this, "express", void 0);
|
|
33
33
|
_defineProperty(this, "expressCode", void 0);
|
|
34
34
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
35
|
+
_defineProperty(this, "canSort", void 0);
|
|
35
36
|
_defineProperty(this, "children", void 0);
|
|
36
37
|
_defineProperty(this, "renderClient", function (record) {
|
|
37
38
|
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record));
|
|
@@ -90,6 +91,7 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
|
|
|
90
91
|
id: "".concat(options.id, "_returnLogisticsCode")
|
|
91
92
|
}));
|
|
92
93
|
this.isCombinationComponent = true;
|
|
94
|
+
this.canSort = false;
|
|
93
95
|
this.children = [this.express, this.expressCode];
|
|
94
96
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
95
97
|
validator: function validator(_, value) {
|
|
@@ -7,6 +7,7 @@ declare class BasicSelect implements ComponentInterface {
|
|
|
7
7
|
rules: any[];
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
|
+
canSort: boolean;
|
|
10
11
|
children: ComponentInterface[];
|
|
11
12
|
constructor(options: PickOption);
|
|
12
13
|
editRender: () => React.JSX.Element;
|
|
@@ -21,7 +22,9 @@ declare class BasicSelect implements ComponentInterface {
|
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
23
24
|
filterComponentType: "MultipleSelect";
|
|
24
|
-
|
|
25
|
+
props: {
|
|
26
|
+
options: any[];
|
|
27
|
+
};
|
|
25
28
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
26
29
|
};
|
|
27
30
|
}
|
|
@@ -21,6 +21,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
21
21
|
_defineProperty(this, "rules", void 0);
|
|
22
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
23
23
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
|
+
_defineProperty(this, "canSort", void 0);
|
|
24
25
|
_defineProperty(this, "children", void 0);
|
|
25
26
|
_defineProperty(this, "editRender", function () {
|
|
26
27
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -62,12 +63,14 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
62
63
|
return {
|
|
63
64
|
searchDefaultConditions: SYMBOL.in,
|
|
64
65
|
type: item.type,
|
|
65
|
-
id: item.id,
|
|
66
|
+
id: "".concat(item.id, "_select"),
|
|
66
67
|
// 过滤组件id
|
|
67
68
|
name: item.name,
|
|
68
69
|
// 过滤组件名称
|
|
69
70
|
filterComponentType: 'MultipleSelect',
|
|
70
|
-
|
|
71
|
+
props: {
|
|
72
|
+
options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []
|
|
73
|
+
},
|
|
71
74
|
filterFn: function filterFn(value) {
|
|
72
75
|
return function (i) {
|
|
73
76
|
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'select'));
|
|
@@ -81,6 +84,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
81
84
|
this.componentConfig = options.componentConfig;
|
|
82
85
|
this.rules = [];
|
|
83
86
|
this.isCombinationComponent = false;
|
|
87
|
+
this.canSort = true;
|
|
84
88
|
this.children = [];
|
|
85
89
|
});
|
|
86
90
|
export default BasicSelect;
|
|
@@ -7,6 +7,7 @@ declare class ShopInput implements ComponentInterface {
|
|
|
7
7
|
componentConfig: ComponentInterface["componentConfig"];
|
|
8
8
|
effects: ComponentInterface["effects"];
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
|
+
canSort: boolean;
|
|
10
11
|
children: ComponentInterface[];
|
|
11
12
|
constructor(options: PickOption);
|
|
12
13
|
renderPc: (shopName: unknown, record: any) => React.JSX.Element;
|
|
@@ -21,9 +22,12 @@ declare class ShopInput implements ComponentInterface {
|
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
23
24
|
filterComponentType: "ShopList";
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
props: {
|
|
26
|
+
shopList: any[];
|
|
27
|
+
mode: string;
|
|
28
|
+
};
|
|
26
29
|
filterFn: (value: string) => (i: Record) => boolean | undefined;
|
|
30
|
+
formatFilterValue: (shopList: Array<string>) => any[];
|
|
27
31
|
};
|
|
28
32
|
}
|
|
29
33
|
export default ShopInput;
|
|
@@ -18,6 +18,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
18
18
|
_defineProperty(this, "componentConfig", void 0);
|
|
19
19
|
_defineProperty(this, "effects", void 0);
|
|
20
20
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
21
|
+
_defineProperty(this, "canSort", void 0);
|
|
21
22
|
_defineProperty(this, "children", void 0);
|
|
22
23
|
_defineProperty(this, "renderPc", function (shopName, record) {
|
|
23
24
|
return /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(PlatformAvatar, {
|
|
@@ -54,8 +55,10 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
54
55
|
name: item.name,
|
|
55
56
|
// 过滤组件名称
|
|
56
57
|
filterComponentType: 'ShopList',
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
props: {
|
|
59
|
+
shopList: (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopList) || [],
|
|
60
|
+
mode: 'multiple'
|
|
61
|
+
},
|
|
59
62
|
filterFn: function filterFn(value) {
|
|
60
63
|
return function (i) {
|
|
61
64
|
var _this$effects2, _this$effects2$shopLi, _this$effects2$shopLi2, _this$effects2$shopLi3;
|
|
@@ -65,6 +68,15 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
65
68
|
return item.shopName;
|
|
66
69
|
})) === null || _this$effects2$shopLi3 === void 0 ? void 0 : _this$effects2$shopLi3.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
|
|
67
70
|
};
|
|
71
|
+
},
|
|
72
|
+
formatFilterValue: function formatFilterValue(shopList) {
|
|
73
|
+
return shopList === null || shopList === void 0 ? void 0 : shopList.map(function (shopId) {
|
|
74
|
+
var _ref, _ref$find, _this$effects3;
|
|
75
|
+
var shopUniqueKey = (_ref = (_this === null || _this === void 0 ? void 0 : (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.shopList) || []) === null || _ref === void 0 ? void 0 : (_ref$find = _ref.find(function (item) {
|
|
76
|
+
return item.shopId === shopId;
|
|
77
|
+
})) === null || _ref$find === void 0 ? void 0 : _ref$find.uniqueKey;
|
|
78
|
+
return shopUniqueKey !== null && shopUniqueKey !== void 0 ? shopUniqueKey : shopId;
|
|
79
|
+
});
|
|
68
80
|
}
|
|
69
81
|
};
|
|
70
82
|
});
|
|
@@ -73,6 +85,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
73
85
|
this.type = "SHOP_INPUT";
|
|
74
86
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
75
87
|
this.isCombinationComponent = false;
|
|
88
|
+
this.canSort = true;
|
|
76
89
|
this.children = [];
|
|
77
90
|
});
|
|
78
91
|
export default ShopInput;
|
|
@@ -7,6 +7,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
7
7
|
rules: any[];
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
|
+
canSort: boolean;
|
|
10
11
|
children: ComponentInterface[];
|
|
11
12
|
constructor(options: PickOption);
|
|
12
13
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -16,7 +17,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
16
17
|
renderExport: (value: any, record: Record) => any;
|
|
17
18
|
editRender: () => React.JSX.Element;
|
|
18
19
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
-
searchDefaultConditions: "
|
|
20
|
+
searchDefaultConditions: "like";
|
|
20
21
|
type: string;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|