@kmkf-fe-packages/services-components 0.7.3-alpha.5 → 0.7.3-alpha.7
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 +1 -0
- package/dist/esm/components/ActualPayment/index.js +2 -0
- package/dist/esm/components/Address/index.d.ts +3 -0
- package/dist/esm/components/Address/index.js +8 -0
- 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 +3 -1
- package/dist/esm/components/Cascader/index.js +8 -1
- package/dist/esm/components/Checkbox/index.d.ts +1 -0
- package/dist/esm/components/Checkbox/index.js +2 -0
- 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 +1 -0
- package/dist/esm/components/CompletedUser/index.js +2 -0
- package/dist/esm/components/DataTime/index.d.ts +2 -0
- package/dist/esm/components/DataTime/index.js +9 -0
- package/dist/esm/components/EItemEnCode/index.d.ts +2 -1
- package/dist/esm/components/EItemEnCode/index.js +3 -1
- package/dist/esm/components/EItemId/index.d.ts +2 -1
- package/dist/esm/components/EItemId/index.js +3 -1
- 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 +5 -0
- package/dist/esm/components/Express/index.d.ts +1 -0
- package/dist/esm/components/Express/index.js +2 -0
- package/dist/esm/components/ExpressCode/index.d.ts +1 -0
- package/dist/esm/components/ExpressCode/index.js +2 -0
- package/dist/esm/components/FlowStatusSelect/index.d.ts +1 -0
- package/dist/esm/components/FlowStatusSelect/index.js +2 -0
- 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 +1 -0
- package/dist/esm/components/Handler/index.js +2 -0
- package/dist/esm/components/Input/index.d.ts +2 -1
- package/dist/esm/components/Input/index.js +3 -1
- 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 +2 -1
- package/dist/esm/components/JstLogistics/index.js +3 -1
- 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 +1 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.js +2 -0
- 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 +1 -0
- package/dist/esm/components/MultSelect/index.js +2 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +2 -1
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +3 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +2 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/esm/components/Payment/PaymentAmount.js +2 -0
- package/dist/esm/components/Payment/PaymentStatus.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentStatus.js +2 -0
- 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 +1 -0
- package/dist/esm/components/Radio/index.js +2 -0
- 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 +3 -1
- package/dist/esm/components/ReceiverName/index.d.ts +2 -1
- package/dist/esm/components/ReceiverName/index.js +3 -1
- package/dist/esm/components/Remark/index.d.ts +2 -1
- package/dist/esm/components/Remark/index.js +3 -1
- 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 +1 -0
- package/dist/esm/components/Select/index.js +2 -0
- package/dist/esm/components/ShopInput/index.d.ts +1 -0
- package/dist/esm/components/ShopInput/index.js +2 -0
- package/dist/esm/components/ShopName/index.d.ts +2 -1
- package/dist/esm/components/ShopName/index.js +3 -1
- package/dist/esm/components/Submitter/index.d.ts +1 -0
- package/dist/esm/components/Submitter/index.js +2 -0
- package/dist/esm/components/SystemOrderNo/index.d.ts +2 -0
- package/dist/esm/components/SystemOrderNo/index.js +5 -0
- 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 +3 -1
- package/dist/esm/components/ThirdItemSelect/index.d.ts +2 -1
- package/dist/esm/components/ThirdItemSelect/index.js +3 -1
- package/dist/esm/components/TradeDateTime/index.d.ts +2 -0
- package/dist/esm/components/TradeDateTime/index.js +10 -0
- package/dist/esm/components/TradeId/index.d.ts +2 -0
- package/dist/esm/components/TradeId/index.js +5 -0
- package/dist/esm/components/WorkOrderId/index.d.ts +2 -1
- package/dist/esm/components/WorkOrderId/index.js +3 -1
- package/dist/esm/type.d.ts +3 -0
- package/package.json +2 -2
|
@@ -6,6 +6,7 @@ declare class ActualPayment implements ComponentInterface {
|
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
8
|
isCombinationComponent: boolean;
|
|
9
|
+
canSort: boolean;
|
|
9
10
|
children: ComponentInterface[];
|
|
10
11
|
componentConfig: ComponentInterface["componentConfig"];
|
|
11
12
|
constructor(options: PickOption);
|
|
@@ -20,6 +20,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
20
20
|
_defineProperty(this, "type", void 0);
|
|
21
21
|
_defineProperty(this, "rules", void 0);
|
|
22
22
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
23
|
+
_defineProperty(this, "canSort", void 0);
|
|
23
24
|
_defineProperty(this, "children", void 0);
|
|
24
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
26
|
_defineProperty(this, "renderClient", function (record) {
|
|
@@ -76,6 +77,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
76
77
|
this.name = options.name;
|
|
77
78
|
this.type = options.type;
|
|
78
79
|
this.isCombinationComponent = false;
|
|
80
|
+
this.canSort = true;
|
|
79
81
|
this.children = [];
|
|
80
82
|
this.componentConfig = options.componentConfig;
|
|
81
83
|
this.rules = [{
|
|
@@ -8,6 +8,7 @@ declare class Address implements ComponentInterface {
|
|
|
8
8
|
type: string;
|
|
9
9
|
rules: any[];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
canSort: boolean;
|
|
11
12
|
children: ComponentInterface[];
|
|
12
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
13
14
|
addressDateInstance: InstanceType<typeof AddressData>;
|
|
@@ -30,6 +31,7 @@ declare class Address implements ComponentInterface {
|
|
|
30
31
|
type: string;
|
|
31
32
|
id: string;
|
|
32
33
|
name: string;
|
|
34
|
+
filterKey: string;
|
|
33
35
|
filterComponentType: "Cascader";
|
|
34
36
|
props: {
|
|
35
37
|
options: any;
|
|
@@ -40,6 +42,7 @@ declare class Address implements ComponentInterface {
|
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
45
|
+
formatFilterValue: (val: Array<number>) => number | undefined;
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
export default Address;
|
|
@@ -22,6 +22,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
|
22
22
|
_defineProperty(this, "type", void 0);
|
|
23
23
|
_defineProperty(this, "rules", 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, "componentConfig", void 0);
|
|
27
28
|
_defineProperty(this, "addressDateInstance", void 0);
|
|
@@ -92,6 +93,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
|
92
93
|
// 过滤组件id
|
|
93
94
|
name: item.name,
|
|
94
95
|
// 过滤组件名称
|
|
96
|
+
filterKey: "".concat(item.id, "_basicDistrict"),
|
|
95
97
|
filterComponentType: 'Cascader',
|
|
96
98
|
props: {
|
|
97
99
|
options: _this.addressDateInstance.addressOptions || [],
|
|
@@ -105,6 +107,11 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
|
105
107
|
return function (i) {
|
|
106
108
|
return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
|
|
107
109
|
};
|
|
110
|
+
},
|
|
111
|
+
formatFilterValue: function formatFilterValue(val) {
|
|
112
|
+
if ((val === null || val === void 0 ? void 0 : val.length) > 2) {
|
|
113
|
+
return val === null || val === void 0 ? void 0 : val[2];
|
|
114
|
+
}
|
|
108
115
|
}
|
|
109
116
|
};
|
|
110
117
|
});
|
|
@@ -112,6 +119,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
|
112
119
|
this.id = options.id;
|
|
113
120
|
this.type = options.type;
|
|
114
121
|
this.isCombinationComponent = false;
|
|
122
|
+
this.canSort = true;
|
|
115
123
|
this.children = [];
|
|
116
124
|
this.rules = [];
|
|
117
125
|
this.componentConfig = options.componentConfig;
|
|
@@ -11,6 +11,7 @@ declare class Alipay implements ComponentInterface {
|
|
|
11
11
|
alipayAccount: EAlipayAccount;
|
|
12
12
|
alipayName: EAlipayName;
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
|
+
canSort: boolean;
|
|
14
15
|
children: ComponentInterface[];
|
|
15
16
|
constructor(options: PickOption);
|
|
16
17
|
renderClient: (record: Record) => React.JSX.Element;
|
|
@@ -25,6 +25,7 @@ var Alipay = /*#__PURE__*/_createClass(function Alipay(options) {
|
|
|
25
25
|
_defineProperty(this, "alipayAccount", void 0);
|
|
26
26
|
_defineProperty(this, "alipayName", void 0);
|
|
27
27
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
|
+
_defineProperty(this, "canSort", void 0);
|
|
28
29
|
_defineProperty(this, "children", void 0);
|
|
29
30
|
_defineProperty(this, "renderClient", function (record) {
|
|
30
31
|
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.alipayName.renderClient(record), _this.alipayAccount.renderClient(record));
|
|
@@ -63,6 +64,7 @@ var Alipay = /*#__PURE__*/_createClass(function Alipay(options) {
|
|
|
63
64
|
this.id = options.id;
|
|
64
65
|
this.type = options.type;
|
|
65
66
|
this.isCombinationComponent = true;
|
|
67
|
+
this.canSort = false;
|
|
66
68
|
this.componentConfig = options.componentConfig;
|
|
67
69
|
this.alipayAccount = new EAlipayAccount(_objectSpread({}, options));
|
|
68
70
|
this.alipayName = new EAlipayName(_objectSpread({}, options));
|
|
@@ -10,6 +10,7 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
10
10
|
align: ALignType;
|
|
11
11
|
width: number;
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
|
+
canSort: boolean;
|
|
13
14
|
children: ComponentInterface[];
|
|
14
15
|
constructor(options: PickOption);
|
|
15
16
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
@@ -19,7 +20,7 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
19
20
|
renderExport: (value?: string) => string;
|
|
20
21
|
editRender: () => React.JSX.Element;
|
|
21
22
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
-
searchDefaultConditions: "
|
|
23
|
+
searchDefaultConditions: "eq";
|
|
23
24
|
type: string;
|
|
24
25
|
id: string;
|
|
25
26
|
name: string;
|
|
@@ -26,6 +26,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
26
26
|
_defineProperty(this, "align", void 0);
|
|
27
27
|
_defineProperty(this, "width", void 0);
|
|
28
28
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
29
|
+
_defineProperty(this, "canSort", void 0);
|
|
29
30
|
_defineProperty(this, "children", void 0);
|
|
30
31
|
_defineProperty(this, "renderClient", function (record) {
|
|
31
32
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -66,7 +67,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(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
72
|
id: "".concat(item.id, "_alipayAccount"),
|
|
72
73
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u8D26\u53F7"),
|
|
@@ -82,6 +83,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
82
83
|
this.id = "".concat(options.id, "_alipayAccount");
|
|
83
84
|
this.type = options.type;
|
|
84
85
|
this.isCombinationComponent = false;
|
|
86
|
+
this.canSort = true;
|
|
85
87
|
this.children = [];
|
|
86
88
|
this.align = 'left';
|
|
87
89
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
@@ -8,6 +8,7 @@ declare class EAlipayAccount 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
|
align: ALignType;
|
|
13
14
|
width: number;
|
|
@@ -19,7 +20,7 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
19
20
|
renderExport: (value?: string) => string;
|
|
20
21
|
editRender: () => React.JSX.Element;
|
|
21
22
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
-
searchDefaultConditions: "
|
|
23
|
+
searchDefaultConditions: "eq";
|
|
23
24
|
type: string;
|
|
24
25
|
id: string;
|
|
25
26
|
name: string;
|
|
@@ -24,6 +24,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
24
24
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
25
|
_defineProperty(this, "effects", void 0);
|
|
26
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
+
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "align", void 0);
|
|
29
30
|
_defineProperty(this, "width", void 0);
|
|
@@ -66,7 +67,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(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
72
|
id: "".concat(item.id, "_alipayName"),
|
|
72
73
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u540D\u79F0"),
|
|
@@ -82,6 +83,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
82
83
|
this.id = "".concat(options.id, "_alipayName");
|
|
83
84
|
this.type = options.type;
|
|
84
85
|
this.isCombinationComponent = false;
|
|
86
|
+
this.canSort = true;
|
|
85
87
|
this.children = [];
|
|
86
88
|
this.align = 'left';
|
|
87
89
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
@@ -8,6 +8,7 @@ declare class EBuyerNick 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;
|
|
@@ -20,7 +21,7 @@ declare class EBuyerNick implements ComponentInterface {
|
|
|
20
21
|
renderExport: (value: any, record: any) => any;
|
|
21
22
|
editRender: (value: any) => React.JSX.Element;
|
|
22
23
|
filterConfig: (item: ColumnConfig) => {
|
|
23
|
-
searchDefaultConditions: "
|
|
24
|
+
searchDefaultConditions: "like";
|
|
24
25
|
type: string;
|
|
25
26
|
id: string;
|
|
26
27
|
name: string;
|
|
@@ -25,6 +25,7 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
|
25
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
26
|
_defineProperty(this, "effects", void 0);
|
|
27
27
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
|
+
_defineProperty(this, "canSort", void 0);
|
|
28
29
|
_defineProperty(this, "children", void 0);
|
|
29
30
|
_defineProperty(this, "renderClient", function (record) {
|
|
30
31
|
var _record$_this$id;
|
|
@@ -77,7 +78,7 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
|
77
78
|
});
|
|
78
79
|
_defineProperty(this, "filterConfig", function (item) {
|
|
79
80
|
return {
|
|
80
|
-
searchDefaultConditions: SYMBOL.
|
|
81
|
+
searchDefaultConditions: SYMBOL.like,
|
|
81
82
|
type: item.type,
|
|
82
83
|
id: "".concat(item.id, "_buyerNick"),
|
|
83
84
|
// 过滤组件id
|
|
@@ -95,6 +96,7 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
|
95
96
|
this.id = options.id;
|
|
96
97
|
this.type = options.type;
|
|
97
98
|
this.isCombinationComponent = false;
|
|
99
|
+
this.canSort = true;
|
|
98
100
|
this.children = [];
|
|
99
101
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
100
102
|
validator: function validator(_, value) {
|
|
@@ -7,6 +7,7 @@ declare class BasicCascader 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
|
/**
|
|
@@ -22,7 +23,7 @@ declare class BasicCascader implements ComponentInterface {
|
|
|
22
23
|
renderExport: (value: any, record: Record) => string;
|
|
23
24
|
editRender: () => React.JSX.Element;
|
|
24
25
|
filterConfig: (item: ColumnConfig) => {
|
|
25
|
-
searchDefaultConditions: "
|
|
26
|
+
searchDefaultConditions: "in";
|
|
26
27
|
type: string;
|
|
27
28
|
id: string;
|
|
28
29
|
name: string;
|
|
@@ -36,6 +37,7 @@ declare class BasicCascader implements ComponentInterface {
|
|
|
36
37
|
};
|
|
37
38
|
};
|
|
38
39
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
40
|
+
formatFilterValue: (val: Array<string>) => string | undefined;
|
|
39
41
|
};
|
|
40
42
|
}
|
|
41
43
|
export default BasicCascader;
|
|
@@ -23,6 +23,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
23
23
|
_defineProperty(this, "rules", void 0);
|
|
24
24
|
_defineProperty(this, "componentConfig", 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, "getValue", function (value) {
|
|
28
29
|
var _findLabelBySelectVal, _findLabelBySelectVal2, _this$componentConfig;
|
|
@@ -88,7 +89,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
88
89
|
_defineProperty(this, "filterConfig", function (item) {
|
|
89
90
|
var _item$config;
|
|
90
91
|
return {
|
|
91
|
-
searchDefaultConditions: SYMBOL.
|
|
92
|
+
searchDefaultConditions: SYMBOL.in,
|
|
92
93
|
type: item.type,
|
|
93
94
|
id: item.id,
|
|
94
95
|
// 过滤组件id
|
|
@@ -107,6 +108,11 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
107
108
|
return function (i) {
|
|
108
109
|
return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
|
|
109
110
|
};
|
|
111
|
+
},
|
|
112
|
+
formatFilterValue: function formatFilterValue(val) {
|
|
113
|
+
if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
|
|
114
|
+
return val[val.length - 1];
|
|
115
|
+
}
|
|
110
116
|
}
|
|
111
117
|
};
|
|
112
118
|
});
|
|
@@ -117,6 +123,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
117
123
|
this.rules = [];
|
|
118
124
|
this.children = [];
|
|
119
125
|
this.isCombinationComponent = false;
|
|
126
|
+
this.canSort = true;
|
|
120
127
|
}
|
|
121
128
|
|
|
122
129
|
/**
|
|
@@ -11,6 +11,7 @@ declare class BasicCheckbox 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
|
getValue: (value: Value) => string | null | undefined;
|
|
@@ -22,6 +22,7 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(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, "getValue", function (value) {
|
|
27
28
|
var _value$value, _value$value2, _value$value3;
|
|
@@ -110,6 +111,7 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
|
|
|
110
111
|
this.id = options.id;
|
|
111
112
|
this.type = options.type;
|
|
112
113
|
this.isCombinationComponent = false;
|
|
114
|
+
this.canSort = true;
|
|
113
115
|
this.children = [];
|
|
114
116
|
this.componentConfig = options.componentConfig;
|
|
115
117
|
this.rules = options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.required ? [{
|
|
@@ -10,6 +10,7 @@ declare class CommonDataTime implements ComponentInterface {
|
|
|
10
10
|
rules: any[];
|
|
11
11
|
componentConfig: ComponentInterface["componentConfig"];
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
|
+
canSort: boolean;
|
|
13
14
|
children: ComponentInterface[];
|
|
14
15
|
constructor(options: PickOption);
|
|
15
16
|
getValue: (value: string) => string;
|
|
@@ -26,6 +27,7 @@ declare class CommonDataTime implements ComponentInterface {
|
|
|
26
27
|
name: string;
|
|
27
28
|
filterComponentType: "Date";
|
|
28
29
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
30
|
+
formatFilterValue: (val: Array<any>) => number[] | undefined;
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
export default CommonDataTime;
|
|
@@ -23,6 +23,7 @@ var CommonDataTime = /*#__PURE__*/_createClass(function CommonDataTime(options)
|
|
|
23
23
|
_defineProperty(this, "rules", void 0);
|
|
24
24
|
_defineProperty(this, "componentConfig", 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, "getValue", function (value) {
|
|
28
29
|
return moment(value).format('YYYY-MM-DD HH:mm:ss');
|
|
@@ -70,6 +71,13 @@ var CommonDataTime = /*#__PURE__*/_createClass(function CommonDataTime(options)
|
|
|
70
71
|
var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, '');
|
|
71
72
|
return _filterFn.filterDateFn(value, recordDateTime);
|
|
72
73
|
};
|
|
74
|
+
},
|
|
75
|
+
formatFilterValue: function formatFilterValue(val) {
|
|
76
|
+
if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
|
|
77
|
+
return val === null || val === void 0 ? void 0 : val.map(function (v) {
|
|
78
|
+
return moment(v).valueOf();
|
|
79
|
+
});
|
|
80
|
+
}
|
|
73
81
|
}
|
|
74
82
|
};
|
|
75
83
|
});
|
|
@@ -79,6 +87,7 @@ var CommonDataTime = /*#__PURE__*/_createClass(function CommonDataTime(options)
|
|
|
79
87
|
this.componentConfig = options.componentConfig;
|
|
80
88
|
this.rules = [];
|
|
81
89
|
this.isCombinationComponent = false;
|
|
90
|
+
this.canSort = true;
|
|
82
91
|
this.children = [];
|
|
83
92
|
});
|
|
84
93
|
export default CommonDataTime;
|
|
@@ -7,6 +7,7 @@ declare class CompletedUser 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: (value: unknown, record: Record) => React.JSX.Element;
|
|
@@ -17,6 +17,7 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
|
|
|
17
17
|
_defineProperty(this, "componentConfig", void 0);
|
|
18
18
|
_defineProperty(this, "effects", void 0);
|
|
19
19
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
20
|
+
_defineProperty(this, "canSort", void 0);
|
|
20
21
|
_defineProperty(this, "children", void 0);
|
|
21
22
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
22
23
|
var _record;
|
|
@@ -63,6 +64,7 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
|
|
|
63
64
|
this.type = "COMPLETED_USER_INPUT";
|
|
64
65
|
this.effects = options.effects;
|
|
65
66
|
this.isCombinationComponent = false;
|
|
67
|
+
this.canSort = true;
|
|
66
68
|
this.children = [];
|
|
67
69
|
});
|
|
68
70
|
export default CompletedUser;
|
|
@@ -9,6 +9,7 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
9
9
|
rules: any[];
|
|
10
10
|
componentConfig: ComponentInterface["componentConfig"];
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
|
+
canSort: boolean;
|
|
12
13
|
children: ComponentInterface[];
|
|
13
14
|
constructor(options: PickOption);
|
|
14
15
|
getValue: (value: Value) => string | undefined;
|
|
@@ -28,6 +29,7 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
28
29
|
options: any[];
|
|
29
30
|
};
|
|
30
31
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
32
|
+
formatFilterValue: (val: Array<any>) => number[] | undefined;
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
35
|
export default BasicDataTime;
|
|
@@ -39,6 +39,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
39
39
|
_defineProperty(this, "rules", void 0);
|
|
40
40
|
_defineProperty(this, "componentConfig", void 0);
|
|
41
41
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
42
|
+
_defineProperty(this, "canSort", void 0);
|
|
42
43
|
_defineProperty(this, "children", void 0);
|
|
43
44
|
_defineProperty(this, "getValue", function (value) {
|
|
44
45
|
return Array.isArray(value) ? value.join('~') : value;
|
|
@@ -97,6 +98,13 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
97
98
|
var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, 'dateTime');
|
|
98
99
|
return _filterFn.filterDateFn(value, recordDateTime);
|
|
99
100
|
};
|
|
101
|
+
},
|
|
102
|
+
formatFilterValue: function formatFilterValue(val) {
|
|
103
|
+
if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
|
|
104
|
+
return val === null || val === void 0 ? void 0 : val.map(function (v) {
|
|
105
|
+
return moment(v).valueOf();
|
|
106
|
+
});
|
|
107
|
+
}
|
|
100
108
|
}
|
|
101
109
|
};
|
|
102
110
|
});
|
|
@@ -106,6 +114,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
106
114
|
this.componentConfig = options.componentConfig;
|
|
107
115
|
this.rules = [];
|
|
108
116
|
this.isCombinationComponent = false;
|
|
117
|
+
this.canSort = true;
|
|
109
118
|
this.children = [];
|
|
110
119
|
});
|
|
111
120
|
export default BasicDataTime;
|
|
@@ -8,6 +8,7 @@ declare class EItemEncode 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 EItemEncode implements ComponentInterface {
|
|
|
17
18
|
renderExport: (value: unknown, record: Record) => any;
|
|
18
19
|
editRender: () => React.JSX.Element;
|
|
19
20
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
-
searchDefaultConditions: "
|
|
21
|
+
searchDefaultConditions: "like";
|
|
21
22
|
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
@@ -24,6 +24,7 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
|
|
|
24
24
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
25
|
_defineProperty(this, "effects", void 0);
|
|
26
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
+
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
30
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -74,7 +75,7 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
|
|
|
74
75
|
});
|
|
75
76
|
_defineProperty(this, "filterConfig", function (item) {
|
|
76
77
|
return {
|
|
77
|
-
searchDefaultConditions: SYMBOL.
|
|
78
|
+
searchDefaultConditions: SYMBOL.like,
|
|
78
79
|
type: item.type,
|
|
79
80
|
id: item.id,
|
|
80
81
|
// 过滤组件id
|
|
@@ -98,6 +99,7 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
|
|
|
98
99
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
99
100
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
100
101
|
this.isCombinationComponent = false;
|
|
102
|
+
this.canSort = true;
|
|
101
103
|
this.children = [];
|
|
102
104
|
this.rules = this !== null && this !== void 0 && (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
|
103
105
|
required: true,
|
|
@@ -8,6 +8,7 @@ declare class EItemId 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 EItemId implements ComponentInterface {
|
|
|
17
18
|
renderExport: (value: any, record: any) => any;
|
|
18
19
|
editRender: () => React.JSX.Element;
|
|
19
20
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
-
searchDefaultConditions: "
|
|
21
|
+
searchDefaultConditions: "like";
|
|
21
22
|
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
@@ -24,6 +24,7 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
|
|
|
24
24
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
25
|
_defineProperty(this, "effects", void 0);
|
|
26
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
+
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
30
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -75,7 +76,7 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
|
|
|
75
76
|
});
|
|
76
77
|
_defineProperty(this, "filterConfig", function (item) {
|
|
77
78
|
return {
|
|
78
|
-
searchDefaultConditions: SYMBOL.
|
|
79
|
+
searchDefaultConditions: SYMBOL.like,
|
|
79
80
|
type: item.type,
|
|
80
81
|
id: item.id,
|
|
81
82
|
// 过滤组件id
|
|
@@ -98,6 +99,7 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
|
|
|
98
99
|
this.type = options.type;
|
|
99
100
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
100
101
|
this.isCombinationComponent = false;
|
|
102
|
+
this.canSort = true;
|
|
101
103
|
this.children = [];
|
|
102
104
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
103
105
|
this.rules = this !== null && this !== void 0 && (_this$componentConfig2 = this.componentConfig) !== null && _this$componentConfig2 !== void 0 && _this$componentConfig2.required ? [{
|
|
@@ -8,6 +8,7 @@ declare class EItemSelect 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;
|
|
@@ -22,6 +22,7 @@ var EItemSelect = /*#__PURE__*/_createClass(function EItemSelect(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, {
|
|
@@ -78,6 +79,7 @@ var EItemSelect = /*#__PURE__*/_createClass(function EItemSelect(options) {
|
|
|
78
79
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
79
80
|
this.rules = [];
|
|
80
81
|
this.isCombinationComponent = false;
|
|
82
|
+
this.canSort = true;
|
|
81
83
|
this.children = [];
|
|
82
84
|
});
|
|
83
85
|
export default EItemSelect;
|
|
@@ -7,6 +7,7 @@ declare class ErpTradeId 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;
|
|
@@ -22,6 +23,7 @@ declare class ErpTradeId implements ComponentInterface {
|
|
|
22
23
|
name: string;
|
|
23
24
|
filterComponentType: "Input";
|
|
24
25
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
26
|
+
formatFilterValue: (input: string) => string[];
|
|
25
27
|
};
|
|
26
28
|
}
|
|
27
29
|
export default ErpTradeId;
|
|
@@ -20,6 +20,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
|
20
20
|
_defineProperty(this, "rules", void 0);
|
|
21
21
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
22
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
23
|
+
_defineProperty(this, "canSort", void 0);
|
|
23
24
|
_defineProperty(this, "children", void 0);
|
|
24
25
|
_defineProperty(this, "renderClient", function (record) {
|
|
25
26
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -66,6 +67,9 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
|
66
67
|
return function (i) {
|
|
67
68
|
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, 'tradeId'), value);
|
|
68
69
|
};
|
|
70
|
+
},
|
|
71
|
+
formatFilterValue: function formatFilterValue(input) {
|
|
72
|
+
return input.split(/[,|,]/);
|
|
69
73
|
}
|
|
70
74
|
};
|
|
71
75
|
});
|
|
@@ -75,6 +79,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
|
75
79
|
this.componentConfig = options.componentConfig;
|
|
76
80
|
this.rules = [];
|
|
77
81
|
this.isCombinationComponent = false;
|
|
82
|
+
this.canSort = true;
|
|
78
83
|
this.children = [];
|
|
79
84
|
});
|
|
80
85
|
export default ErpTradeId;
|
|
@@ -11,6 +11,7 @@ declare class Express implements ComponentInterface {
|
|
|
11
11
|
expressDateInstance: InstanceType<typeof ExpressData>;
|
|
12
12
|
width: number;
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
|
+
canSort: boolean;
|
|
14
15
|
children: ComponentInterface[];
|
|
15
16
|
constructor(options: PickOption);
|
|
16
17
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -24,6 +24,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
24
24
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
25
25
|
_defineProperty(this, "width", void 0);
|
|
26
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
+
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
30
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -87,6 +88,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
87
88
|
this.expressDateInstance = ExpressData.getInstance();
|
|
88
89
|
this.width = 200;
|
|
89
90
|
this.isCombinationComponent = false;
|
|
91
|
+
this.canSort = true;
|
|
90
92
|
this.children = [];
|
|
91
93
|
});
|
|
92
94
|
export default Express;
|
|
@@ -9,6 +9,7 @@ declare class ExpressCode 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;
|