@kmkf-fe-packages/services-components 0.7.8 → 0.7.9
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 +11 -1
- package/dist/esm/components/ActualPayment/index.js +65 -2
- package/dist/esm/components/Address/index.d.ts +21 -3
- package/dist/esm/components/Address/index.js +35 -3
- package/dist/esm/components/Alipay/index.d.ts +3 -0
- package/dist/esm/components/Alipay/index.js +4 -0
- package/dist/esm/components/AlipayAccount/index.d.ts +3 -0
- package/dist/esm/components/AlipayAccount/index.js +6 -0
- package/dist/esm/components/AlipayName/index.d.ts +3 -0
- package/dist/esm/components/AlipayName/index.js +6 -0
- package/dist/esm/components/BuyerNick/index.d.ts +3 -0
- package/dist/esm/components/BuyerNick/index.js +6 -0
- package/dist/esm/components/Cascader/index.d.ts +12 -1
- package/dist/esm/components/Cascader/index.js +35 -8
- package/dist/esm/components/Checkbox/index.d.ts +6 -1
- package/dist/esm/components/Checkbox/index.js +13 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +6 -2
- package/dist/esm/components/CommonDataTime/index.js +23 -4
- package/dist/esm/components/CompletedUser/index.d.ts +9 -4
- package/dist/esm/components/CompletedUser/index.js +9 -1
- package/dist/esm/components/DataTime/index.d.ts +3 -8
- package/dist/esm/components/DataTime/index.js +25 -4
- package/dist/esm/components/EItemEnCode/index.d.ts +3 -0
- package/dist/esm/components/EItemEnCode/index.js +7 -1
- package/dist/esm/components/EItemId/index.d.ts +3 -0
- package/dist/esm/components/EItemId/index.js +7 -1
- package/dist/esm/components/EItemSelect/index.d.ts +2 -0
- package/dist/esm/components/EItemSelect/index.js +4 -0
- package/dist/esm/components/ErpTradeId/index.d.ts +4 -0
- package/dist/esm/components/ErpTradeId/index.js +10 -1
- package/dist/esm/components/Express/index.d.ts +6 -1
- package/dist/esm/components/Express/index.js +9 -1
- package/dist/esm/components/ExpressCode/index.d.ts +3 -0
- package/dist/esm/components/ExpressCode/index.js +6 -0
- package/dist/esm/components/FlowStatusSelect/index.d.ts +9 -4
- package/dist/esm/components/FlowStatusSelect/index.js +14 -6
- package/dist/esm/components/Grade/index.d.ts +2 -0
- package/dist/esm/components/Grade/index.js +4 -0
- package/dist/esm/components/Handler/index.d.ts +9 -4
- package/dist/esm/components/Handler/index.js +9 -1
- package/dist/esm/components/Input/index.d.ts +3 -0
- package/dist/esm/components/Input/index.js +7 -1
- package/dist/esm/components/JstItemSelect/index.d.ts +3 -0
- package/dist/esm/components/JstItemSelect/index.js +23 -15
- package/dist/esm/components/JstLogistics/index.d.ts +8 -2
- package/dist/esm/components/JstLogistics/index.js +10 -1
- package/dist/esm/components/JstSendGood/index.d.ts +3 -0
- package/dist/esm/components/JstSendGood/index.js +7 -0
- package/dist/esm/components/JstSupply/index.d.ts +3 -0
- package/dist/esm/components/JstSupply/index.js +7 -0
- package/dist/esm/components/Logistics/index.d.ts +7 -1
- package/dist/esm/components/Logistics/index.js +4 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +3 -1
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +4 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +11 -5
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +18 -4
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +11 -5
- package/dist/esm/components/LogisticsInterception/InterceptType.js +18 -4
- package/dist/esm/components/LogisticsInterception/index.d.ts +15 -5
- package/dist/esm/components/LogisticsInterception/index.js +4 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +2 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +4 -0
- package/dist/esm/components/MultSelect/index.d.ts +6 -1
- package/dist/esm/components/MultSelect/index.js +10 -2
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +3 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +9 -3
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +11 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +67 -4
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +3 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.js +6 -0
- package/dist/esm/components/Ordinary/index.d.ts +19 -2
- package/dist/esm/components/Ordinary/index.js +4 -0
- package/dist/esm/components/Payment/AlipayNick.d.ts +3 -0
- package/dist/esm/components/Payment/AlipayNick.js +6 -0
- package/dist/esm/components/Payment/AlipayNo.d.ts +3 -0
- package/dist/esm/components/Payment/AlipayNo.js +6 -0
- package/dist/esm/components/Payment/AlipayTime.d.ts +6 -2
- package/dist/esm/components/Payment/AlipayTime.js +23 -6
- package/dist/esm/components/Payment/BuyerNick.d.ts +3 -0
- package/dist/esm/components/Payment/BuyerNick.js +6 -0
- package/dist/esm/components/Payment/PaymentAmount.d.ts +11 -1
- package/dist/esm/components/Payment/PaymentAmount.js +64 -1
- package/dist/esm/components/Payment/PaymentStatus.d.ts +9 -4
- package/dist/esm/components/Payment/PaymentStatus.js +9 -1
- package/dist/esm/components/Payment/PaymentTid.d.ts +4 -0
- package/dist/esm/components/Payment/PaymentTid.js +9 -0
- package/dist/esm/components/Payment/index.d.ts +41 -4
- package/dist/esm/components/Payment/index.js +4 -0
- package/dist/esm/components/Picture/index.d.ts +2 -0
- package/dist/esm/components/Picture/index.js +4 -0
- package/dist/esm/components/PlatForm/index.d.ts +4 -1
- package/dist/esm/components/PlatForm/index.js +6 -0
- package/dist/esm/components/Radio/index.d.ts +6 -1
- package/dist/esm/components/Radio/index.js +13 -5
- package/dist/esm/components/Rate/index.d.ts +2 -0
- package/dist/esm/components/Rate/index.js +4 -0
- package/dist/esm/components/ReceiverAddress/index.d.ts +3 -1
- package/dist/esm/components/ReceiverAddress/index.js +4 -0
- package/dist/esm/components/ReceiverMobile/index.d.ts +3 -0
- package/dist/esm/components/ReceiverMobile/index.js +7 -1
- package/dist/esm/components/ReceiverName/index.d.ts +3 -0
- package/dist/esm/components/ReceiverName/index.js +7 -1
- package/dist/esm/components/Remark/index.d.ts +3 -0
- package/dist/esm/components/Remark/index.js +7 -1
- package/dist/esm/components/ReturnLogistics/index.d.ts +7 -1
- package/dist/esm/components/ReturnLogistics/index.js +4 -0
- package/dist/esm/components/Select/index.d.ts +6 -1
- package/dist/esm/components/Select/index.js +10 -2
- package/dist/esm/components/ShopInput/index.d.ts +8 -2
- package/dist/esm/components/ShopInput/index.js +19 -2
- package/dist/esm/components/ShopName/index.d.ts +3 -0
- package/dist/esm/components/ShopName/index.js +7 -1
- package/dist/esm/components/Submitter/index.d.ts +10 -4
- package/dist/esm/components/Submitter/index.js +17 -1
- package/dist/esm/components/SystemOrderNo/index.d.ts +4 -0
- package/dist/esm/components/SystemOrderNo/index.js +10 -1
- package/dist/esm/components/TemplateSelect/index.d.ts +3 -0
- package/dist/esm/components/TemplateSelect/index.js +6 -0
- package/dist/esm/components/TextArea/index.d.ts +3 -0
- package/dist/esm/components/TextArea/index.js +7 -1
- package/dist/esm/components/ThirdItemSelect/index.d.ts +3 -0
- package/dist/esm/components/ThirdItemSelect/index.js +7 -1
- package/dist/esm/components/TradeDateTime/index.d.ts +4 -0
- package/dist/esm/components/TradeDateTime/index.js +16 -2
- package/dist/esm/components/TradeId/index.d.ts +4 -0
- package/dist/esm/components/TradeId/index.js +10 -1
- package/dist/esm/components/WorkOrderId/index.d.ts +3 -0
- package/dist/esm/components/WorkOrderId/index.js +15 -3
- package/dist/esm/constant.d.ts +14 -0
- package/dist/esm/constant.js +14 -0
- package/dist/esm/type.d.ts +10 -2
- package/package.json +4 -4
|
@@ -3,11 +3,13 @@ import React from 'react';
|
|
|
3
3
|
declare class JstSendGood implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
|
+
sortField: string;
|
|
6
7
|
type: string;
|
|
7
8
|
rules: any[];
|
|
8
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
10
|
align: ALignType;
|
|
10
11
|
isCombinationComponent: boolean;
|
|
12
|
+
canSort: boolean;
|
|
11
13
|
children: ComponentInterface[];
|
|
12
14
|
constructor(options: PickOption);
|
|
13
15
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
@@ -17,6 +19,7 @@ declare class JstSendGood implements ComponentInterface {
|
|
|
17
19
|
renderExport: (value: any, record: any) => any;
|
|
18
20
|
editRender: () => React.JSX.Element;
|
|
19
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
searchDefaultConditions: "like";
|
|
20
23
|
type: string;
|
|
21
24
|
id: string;
|
|
22
25
|
name: string;
|
|
@@ -13,17 +13,20 @@ import { JstGoodImage } from "../Common";
|
|
|
13
13
|
import { JstGoods } from '@kmkf-fe-packages/basic-components';
|
|
14
14
|
import ItemView from "../../commonComponents/ItemView";
|
|
15
15
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
16
|
+
import { SYMBOL } from "../../constant";
|
|
16
17
|
var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
17
18
|
var _this = this,
|
|
18
19
|
_this$componentConfig;
|
|
19
20
|
_classCallCheck(this, JstSendGood);
|
|
20
21
|
_defineProperty(this, "name", void 0);
|
|
21
22
|
_defineProperty(this, "id", void 0);
|
|
23
|
+
_defineProperty(this, "sortField", void 0);
|
|
22
24
|
_defineProperty(this, "type", void 0);
|
|
23
25
|
_defineProperty(this, "rules", void 0);
|
|
24
26
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
27
|
_defineProperty(this, "align", void 0);
|
|
26
28
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
29
|
+
_defineProperty(this, "canSort", void 0);
|
|
27
30
|
_defineProperty(this, "children", void 0);
|
|
28
31
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
32
|
var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
|
|
@@ -73,6 +76,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
73
76
|
});
|
|
74
77
|
_defineProperty(this, "filterConfig", function (item) {
|
|
75
78
|
return [{
|
|
79
|
+
searchDefaultConditions: SYMBOL.like,
|
|
76
80
|
type: item.type,
|
|
77
81
|
id: "".concat(item.id, "_sendName"),
|
|
78
82
|
name: "jst\u53D1\u8D27\u4ED3\u540D\u79F0",
|
|
@@ -88,6 +92,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
88
92
|
};
|
|
89
93
|
}
|
|
90
94
|
}, {
|
|
95
|
+
searchDefaultConditions: SYMBOL.like,
|
|
91
96
|
type: item.type,
|
|
92
97
|
id: "".concat(item.id, "_sendId"),
|
|
93
98
|
name: "jst\u53D1\u8D27\u4ED3\u7F16\u7801",
|
|
@@ -106,6 +111,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
106
111
|
});
|
|
107
112
|
this.name = options.name;
|
|
108
113
|
this.id = options.id;
|
|
114
|
+
this.sortField = "".concat(options.id, "_jstItemList");
|
|
109
115
|
this.type = options.type;
|
|
110
116
|
this.componentConfig = options.componentConfig;
|
|
111
117
|
this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
|
@@ -132,6 +138,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
132
138
|
}] : [];
|
|
133
139
|
this.align = 'left';
|
|
134
140
|
this.isCombinationComponent = false;
|
|
141
|
+
this.canSort = false;
|
|
135
142
|
this.children = [];
|
|
136
143
|
});
|
|
137
144
|
export default JstSendGood;
|
|
@@ -3,11 +3,13 @@ import React from 'react';
|
|
|
3
3
|
declare class JstSupply implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
|
+
sortField: string;
|
|
6
7
|
type: string;
|
|
7
8
|
rules: any[];
|
|
8
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
10
|
align: ALignType;
|
|
10
11
|
isCombinationComponent: boolean;
|
|
12
|
+
canSort: boolean;
|
|
11
13
|
children: ComponentInterface[];
|
|
12
14
|
constructor(options: PickOption);
|
|
13
15
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
@@ -17,6 +19,7 @@ declare class JstSupply implements ComponentInterface {
|
|
|
17
19
|
renderExport: (value: any, record: any) => any;
|
|
18
20
|
editRender: () => React.JSX.Element;
|
|
19
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
searchDefaultConditions: "like";
|
|
20
23
|
type: string;
|
|
21
24
|
id: string;
|
|
22
25
|
name: string;
|
|
@@ -13,17 +13,20 @@ import { JstGoodImage } from "../Common";
|
|
|
13
13
|
import { JstGoods } from '@kmkf-fe-packages/basic-components';
|
|
14
14
|
import ItemView from "../../commonComponents/ItemView";
|
|
15
15
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
16
|
+
import { SYMBOL } from "../../constant";
|
|
16
17
|
var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
17
18
|
var _this = this,
|
|
18
19
|
_this$componentConfig;
|
|
19
20
|
_classCallCheck(this, JstSupply);
|
|
20
21
|
_defineProperty(this, "name", void 0);
|
|
21
22
|
_defineProperty(this, "id", void 0);
|
|
23
|
+
_defineProperty(this, "sortField", void 0);
|
|
22
24
|
_defineProperty(this, "type", void 0);
|
|
23
25
|
_defineProperty(this, "rules", void 0);
|
|
24
26
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
27
|
_defineProperty(this, "align", void 0);
|
|
26
28
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
29
|
+
_defineProperty(this, "canSort", void 0);
|
|
27
30
|
_defineProperty(this, "children", void 0);
|
|
28
31
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
32
|
var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
|
|
@@ -73,6 +76,7 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
73
76
|
});
|
|
74
77
|
_defineProperty(this, "filterConfig", function (item) {
|
|
75
78
|
return [{
|
|
79
|
+
searchDefaultConditions: SYMBOL.like,
|
|
76
80
|
type: item.type,
|
|
77
81
|
id: "".concat(item.id, "_supplyName"),
|
|
78
82
|
name: "jst\u4F9B\u9500\u5546\u540D\u79F0",
|
|
@@ -88,6 +92,7 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
88
92
|
};
|
|
89
93
|
}
|
|
90
94
|
}, {
|
|
95
|
+
searchDefaultConditions: SYMBOL.like,
|
|
91
96
|
type: item.type,
|
|
92
97
|
id: "".concat(item.id, "_supplyId"),
|
|
93
98
|
name: "jst\u4F9B\u9500\u5546\u7F16\u7801",
|
|
@@ -106,9 +111,11 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
106
111
|
});
|
|
107
112
|
this.name = options.name;
|
|
108
113
|
this.id = options.id;
|
|
114
|
+
this.sortField = "".concat(options.id, "_jstItemList");
|
|
109
115
|
this.type = options.type;
|
|
110
116
|
this.componentConfig = options.componentConfig;
|
|
111
117
|
this.isCombinationComponent = false;
|
|
118
|
+
this.canSort = false;
|
|
112
119
|
this.children = [];
|
|
113
120
|
this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
|
114
121
|
required: true,
|
|
@@ -6,6 +6,7 @@ import ExpressCode from '../ExpressCode';
|
|
|
6
6
|
declare class Logistics implements ComponentInterface {
|
|
7
7
|
name: string;
|
|
8
8
|
id: string;
|
|
9
|
+
sortField: string;
|
|
9
10
|
type: string;
|
|
10
11
|
rules: any[];
|
|
11
12
|
componentConfig: ComponentInterface["componentConfig"];
|
|
@@ -13,6 +14,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
13
14
|
express: Express;
|
|
14
15
|
expressCode: ExpressCode;
|
|
15
16
|
isCombinationComponent: boolean;
|
|
17
|
+
canSort: boolean;
|
|
16
18
|
children: ComponentInterface[];
|
|
17
19
|
constructor(options: PickOption);
|
|
18
20
|
editRender: (value: any) => React.JSX.Element;
|
|
@@ -25,13 +27,17 @@ declare class Logistics implements ComponentInterface {
|
|
|
25
27
|
};
|
|
26
28
|
renderExport: () => null;
|
|
27
29
|
filterConfig: (item: ColumnConfig) => ({
|
|
30
|
+
searchDefaultConditions: "in";
|
|
28
31
|
type: string;
|
|
29
32
|
id: string;
|
|
30
33
|
name: string;
|
|
31
34
|
filterComponentType: "MultipleSelect";
|
|
32
|
-
|
|
35
|
+
props: {
|
|
36
|
+
options: any[];
|
|
37
|
+
};
|
|
33
38
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
34
39
|
} | {
|
|
40
|
+
searchDefaultConditions: "like";
|
|
35
41
|
type: string;
|
|
36
42
|
id: string;
|
|
37
43
|
name: string;
|
|
@@ -20,6 +20,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
20
20
|
_classCallCheck(this, Logistics);
|
|
21
21
|
_defineProperty(this, "name", void 0);
|
|
22
22
|
_defineProperty(this, "id", void 0);
|
|
23
|
+
_defineProperty(this, "sortField", void 0);
|
|
23
24
|
_defineProperty(this, "type", void 0);
|
|
24
25
|
_defineProperty(this, "rules", void 0);
|
|
25
26
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -27,6 +28,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
27
28
|
_defineProperty(this, "express", void 0);
|
|
28
29
|
_defineProperty(this, "expressCode", void 0);
|
|
29
30
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
31
|
+
_defineProperty(this, "canSort", void 0);
|
|
30
32
|
_defineProperty(this, "children", void 0);
|
|
31
33
|
_defineProperty(this, "editRender", function (value) {
|
|
32
34
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -68,6 +70,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
68
70
|
});
|
|
69
71
|
this.name = options.name;
|
|
70
72
|
this.id = options.id;
|
|
73
|
+
this.sortField = options.id;
|
|
71
74
|
this.type = options.type;
|
|
72
75
|
this.componentConfig = options.componentConfig;
|
|
73
76
|
this.expressDateInstance = ExpressData.getInstance();
|
|
@@ -80,6 +83,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
80
83
|
id: "".concat(this.id, "_expressLogisticsCode")
|
|
81
84
|
}));
|
|
82
85
|
this.isCombinationComponent = true;
|
|
86
|
+
this.canSort = false;
|
|
83
87
|
this.children = [this.express, this.expressCode];
|
|
84
88
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
85
89
|
validator: function validator(_, value) {
|
|
@@ -4,6 +4,7 @@ import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
|
|
|
4
4
|
declare class PaymentTid implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
6
6
|
id: string;
|
|
7
|
+
sortField: string;
|
|
7
8
|
type: string;
|
|
8
9
|
rules: any[];
|
|
9
10
|
componentConfig: ComponentInterface["componentConfig"];
|
|
@@ -11,9 +12,10 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
11
12
|
align: ALignType;
|
|
12
13
|
width: number;
|
|
13
14
|
isCombinationComponent: boolean;
|
|
15
|
+
canSort: boolean;
|
|
14
16
|
children: ComponentInterface[];
|
|
15
17
|
originId: string;
|
|
16
|
-
addressDateInstance: AddressData
|
|
18
|
+
addressDateInstance: InstanceType<typeof AddressData>;
|
|
17
19
|
constructor(options: PickOption);
|
|
18
20
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
19
21
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
@@ -16,6 +16,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
16
16
|
_classCallCheck(this, PaymentTid);
|
|
17
17
|
_defineProperty(this, "name", void 0);
|
|
18
18
|
_defineProperty(this, "id", void 0);
|
|
19
|
+
_defineProperty(this, "sortField", void 0);
|
|
19
20
|
_defineProperty(this, "type", void 0);
|
|
20
21
|
_defineProperty(this, "rules", void 0);
|
|
21
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -23,6 +24,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
23
24
|
_defineProperty(this, "align", void 0);
|
|
24
25
|
_defineProperty(this, "width", void 0);
|
|
25
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
+
_defineProperty(this, "canSort", void 0);
|
|
26
28
|
_defineProperty(this, "children", void 0);
|
|
27
29
|
_defineProperty(this, "originId", void 0);
|
|
28
30
|
_defineProperty(this, "addressDateInstance", void 0);
|
|
@@ -120,6 +122,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
120
122
|
});
|
|
121
123
|
this.name = "派送地址";
|
|
122
124
|
this.id = "".concat(options.id, "_interceptProvince");
|
|
125
|
+
this.sortField = "".concat(options.id, "_interceptDistrict");
|
|
123
126
|
this.type = options.type;
|
|
124
127
|
this.componentConfig = options.componentConfig;
|
|
125
128
|
this.rules = [];
|
|
@@ -127,6 +130,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
127
130
|
this.width = 350;
|
|
128
131
|
this.originId = options.id;
|
|
129
132
|
this.isCombinationComponent = false;
|
|
133
|
+
this.canSort = true;
|
|
130
134
|
this.children = [];
|
|
131
135
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
132
136
|
this.addressDateInstance = AddressData.getInstance();
|
|
@@ -5,6 +5,7 @@ declare class InterceptStatus implements ComponentInterface {
|
|
|
5
5
|
name: string;
|
|
6
6
|
parentId: string;
|
|
7
7
|
id: string;
|
|
8
|
+
sortField: string;
|
|
8
9
|
companyId: string;
|
|
9
10
|
type: string;
|
|
10
11
|
rules: any[];
|
|
@@ -13,8 +14,9 @@ declare class InterceptStatus implements ComponentInterface {
|
|
|
13
14
|
align: ALignType;
|
|
14
15
|
width: number;
|
|
15
16
|
isCombinationComponent: boolean;
|
|
17
|
+
canSort: boolean;
|
|
16
18
|
children: ComponentInterface[];
|
|
17
|
-
expressInterceptInstance: ExpressInterceptData
|
|
19
|
+
expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
|
|
18
20
|
constructor(options: PickOption);
|
|
19
21
|
getComponentValue: (r: Record) => any;
|
|
20
22
|
renderStatus: (record: any, w?: number) => React.JSX.Element;
|
|
@@ -24,14 +26,18 @@ declare class InterceptStatus implements ComponentInterface {
|
|
|
24
26
|
renderExport: (value: any, record: Record) => any;
|
|
25
27
|
editRender: () => null;
|
|
26
28
|
filterConfig: (item: ColumnConfig) => {
|
|
29
|
+
searchDefaultConditions: "in";
|
|
27
30
|
type: string;
|
|
28
31
|
id: string;
|
|
29
32
|
name: string;
|
|
30
33
|
filterComponentType: "MultipleSelect";
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
props: {
|
|
35
|
+
options: {
|
|
36
|
+
label: string;
|
|
37
|
+
value: string;
|
|
38
|
+
}[];
|
|
39
|
+
};
|
|
40
|
+
formatFilterValue: (value: string[]) => string[];
|
|
35
41
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
36
42
|
};
|
|
37
43
|
}
|
|
@@ -10,12 +10,14 @@ import ItemView from "../../commonComponents/ItemView";
|
|
|
10
10
|
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
11
|
import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
12
12
|
import QueryLogisticsTrack from "../../commonComponents/QueryLogisticsTrack";
|
|
13
|
+
import { SYMBOL } from "../../constant";
|
|
13
14
|
var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options) {
|
|
14
15
|
var _this = this;
|
|
15
16
|
_classCallCheck(this, InterceptStatus);
|
|
16
17
|
_defineProperty(this, "name", void 0);
|
|
17
18
|
_defineProperty(this, "parentId", void 0);
|
|
18
19
|
_defineProperty(this, "id", void 0);
|
|
20
|
+
_defineProperty(this, "sortField", void 0);
|
|
19
21
|
_defineProperty(this, "companyId", void 0);
|
|
20
22
|
_defineProperty(this, "type", void 0);
|
|
21
23
|
_defineProperty(this, "rules", void 0);
|
|
@@ -24,6 +26,7 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
24
26
|
_defineProperty(this, "align", void 0);
|
|
25
27
|
_defineProperty(this, "width", void 0);
|
|
26
28
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
29
|
+
_defineProperty(this, "canSort", void 0);
|
|
27
30
|
_defineProperty(this, "children", void 0);
|
|
28
31
|
_defineProperty(this, "expressInterceptInstance", void 0);
|
|
29
32
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
@@ -66,17 +69,26 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
66
69
|
});
|
|
67
70
|
_defineProperty(this, "filterConfig", function (item) {
|
|
68
71
|
return {
|
|
72
|
+
searchDefaultConditions: SYMBOL.in,
|
|
69
73
|
type: item.type,
|
|
70
74
|
id: "".concat(item.id, "_interceptLogisticsStatus"),
|
|
71
75
|
name: "".concat(item.name, "-\u7269\u6D41\u72B6\u6001"),
|
|
72
76
|
filterComponentType: "MultipleSelect",
|
|
73
|
-
|
|
77
|
+
props: {
|
|
78
|
+
options: _this.expressInterceptInstance.getStatusOptions() || []
|
|
79
|
+
},
|
|
80
|
+
formatFilterValue: function formatFilterValue(value) {
|
|
81
|
+
var _value$map;
|
|
82
|
+
return value === null || value === void 0 ? void 0 : (_value$map = value.map(function (v) {
|
|
83
|
+
return v === null || v === void 0 ? void 0 : v.split(",");
|
|
84
|
+
})) === null || _value$map === void 0 ? void 0 : _value$map.flat();
|
|
85
|
+
},
|
|
74
86
|
filterFn: function filterFn(value) {
|
|
75
87
|
return function (i) {
|
|
76
|
-
var _value$
|
|
77
|
-
return value === null || value === void 0 ? void 0 : (_value$
|
|
88
|
+
var _value$map2, _value$map2$flat;
|
|
89
|
+
return value === null || value === void 0 ? void 0 : (_value$map2 = value.map(function (v) {
|
|
78
90
|
return v === null || v === void 0 ? void 0 : v.split(",");
|
|
79
|
-
})) === null || _value$
|
|
91
|
+
})) === null || _value$map2 === void 0 ? void 0 : (_value$map2$flat = _value$map2.flat()) === null || _value$map2$flat === void 0 ? void 0 : _value$map2$flat.includes(_filterFn.filterTableListItemColumnValue(i, item.id, "interceptLogisticsStatus"));
|
|
80
92
|
};
|
|
81
93
|
}
|
|
82
94
|
};
|
|
@@ -84,6 +96,7 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
84
96
|
this.name = "物流状态";
|
|
85
97
|
this.parentId = options.id;
|
|
86
98
|
this.id = "".concat(options.id, "_interceptLogisticsStatus");
|
|
99
|
+
this.sortField = "".concat(options.id, "_interceptLogisticsStatus");
|
|
87
100
|
this.companyId = "".concat(options.id, "_interceptCompany");
|
|
88
101
|
this.type = options.type;
|
|
89
102
|
this.componentConfig = options.componentConfig;
|
|
@@ -91,6 +104,7 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
91
104
|
this.align = "left";
|
|
92
105
|
this.width = 220;
|
|
93
106
|
this.isCombinationComponent = false;
|
|
107
|
+
this.canSort = true;
|
|
94
108
|
this.children = [];
|
|
95
109
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
96
110
|
this.expressInterceptInstance = ExpressInterceptData.getInstance();
|
|
@@ -4,6 +4,7 @@ import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
|
4
4
|
declare class InterceptType implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
6
6
|
id: string;
|
|
7
|
+
sortField: string;
|
|
7
8
|
companyId: string;
|
|
8
9
|
type: string;
|
|
9
10
|
rules: any[];
|
|
@@ -12,8 +13,9 @@ declare class InterceptType implements ComponentInterface {
|
|
|
12
13
|
align: ALignType;
|
|
13
14
|
width: number;
|
|
14
15
|
isCombinationComponent: boolean;
|
|
16
|
+
canSort: boolean;
|
|
15
17
|
children: ComponentInterface[];
|
|
16
|
-
expressInterceptInstance: ExpressInterceptData
|
|
18
|
+
expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
|
|
17
19
|
constructor(options: PickOption);
|
|
18
20
|
getComponentValue: (r: Record) => any;
|
|
19
21
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -22,14 +24,18 @@ declare class InterceptType implements ComponentInterface {
|
|
|
22
24
|
renderExport: (value: any, record: Record) => any;
|
|
23
25
|
editRender: () => null;
|
|
24
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
|
+
searchDefaultConditions: "in";
|
|
25
28
|
type: string;
|
|
26
29
|
id: string;
|
|
27
30
|
name: string;
|
|
28
31
|
filterComponentType: "MultipleSelect";
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
props: {
|
|
33
|
+
options: {
|
|
34
|
+
label: string;
|
|
35
|
+
value: string;
|
|
36
|
+
}[];
|
|
37
|
+
};
|
|
38
|
+
formatFilterValue: (value: string[]) => string[];
|
|
33
39
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
34
40
|
};
|
|
35
41
|
}
|
|
@@ -9,11 +9,13 @@ import React from "react";
|
|
|
9
9
|
import ItemView from "../../commonComponents/ItemView";
|
|
10
10
|
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
11
|
import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
12
|
+
import { SYMBOL } from "../../constant";
|
|
12
13
|
var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
13
14
|
var _this = this;
|
|
14
15
|
_classCallCheck(this, InterceptType);
|
|
15
16
|
_defineProperty(this, "name", void 0);
|
|
16
17
|
_defineProperty(this, "id", void 0);
|
|
18
|
+
_defineProperty(this, "sortField", void 0);
|
|
17
19
|
_defineProperty(this, "companyId", void 0);
|
|
18
20
|
_defineProperty(this, "type", void 0);
|
|
19
21
|
_defineProperty(this, "rules", void 0);
|
|
@@ -22,6 +24,7 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
|
22
24
|
_defineProperty(this, "align", void 0);
|
|
23
25
|
_defineProperty(this, "width", void 0);
|
|
24
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
+
_defineProperty(this, "canSort", void 0);
|
|
25
28
|
_defineProperty(this, "children", void 0);
|
|
26
29
|
_defineProperty(this, "expressInterceptInstance", void 0);
|
|
27
30
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
@@ -53,23 +56,33 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
|
53
56
|
});
|
|
54
57
|
_defineProperty(this, "filterConfig", function (item) {
|
|
55
58
|
return {
|
|
59
|
+
searchDefaultConditions: SYMBOL.in,
|
|
56
60
|
type: item.type,
|
|
57
61
|
id: "".concat(item.id, "_interceptType"),
|
|
58
62
|
name: "".concat(item.name, "-\u62E6\u622A\u7C7B\u578B"),
|
|
59
63
|
filterComponentType: "MultipleSelect",
|
|
60
|
-
|
|
64
|
+
props: {
|
|
65
|
+
options: _this.expressInterceptInstance.getTypeOptions() || []
|
|
66
|
+
},
|
|
67
|
+
formatFilterValue: function formatFilterValue(value) {
|
|
68
|
+
var _value$map;
|
|
69
|
+
return value === null || value === void 0 ? void 0 : (_value$map = value.map(function (v) {
|
|
70
|
+
return v === null || v === void 0 ? void 0 : v.split(",");
|
|
71
|
+
})) === null || _value$map === void 0 ? void 0 : _value$map.flat();
|
|
72
|
+
},
|
|
61
73
|
filterFn: function filterFn(value) {
|
|
62
74
|
return function (i) {
|
|
63
|
-
var _value$
|
|
64
|
-
return value === null || value === void 0 ? void 0 : (_value$
|
|
75
|
+
var _value$map2, _value$map2$flat;
|
|
76
|
+
return value === null || value === void 0 ? void 0 : (_value$map2 = value.map(function (v) {
|
|
65
77
|
return v === null || v === void 0 ? void 0 : v.split(",");
|
|
66
|
-
})) === null || _value$
|
|
78
|
+
})) === null || _value$map2 === void 0 ? void 0 : (_value$map2$flat = _value$map2.flat()) === null || _value$map2$flat === void 0 ? void 0 : _value$map2$flat.includes(_filterFn.filterTableListItemColumnValue(i, item.id, "interceptType"));
|
|
67
79
|
};
|
|
68
80
|
}
|
|
69
81
|
};
|
|
70
82
|
});
|
|
71
83
|
this.name = "拦截类型";
|
|
72
84
|
this.id = "".concat(options.id, "_interceptType");
|
|
85
|
+
this.sortField = "".concat(options.id, "_interceptType");
|
|
73
86
|
this.companyId = "".concat(options.id, "_interceptCompany");
|
|
74
87
|
this.type = options.type;
|
|
75
88
|
this.componentConfig = options.componentConfig;
|
|
@@ -77,6 +90,7 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
|
77
90
|
this.align = "left";
|
|
78
91
|
this.width = 200;
|
|
79
92
|
this.isCombinationComponent = false;
|
|
93
|
+
this.canSort = true;
|
|
80
94
|
this.children = [];
|
|
81
95
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
82
96
|
this.expressInterceptInstance = ExpressInterceptData.getInstance();
|
|
@@ -11,6 +11,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
11
11
|
name: string;
|
|
12
12
|
columnHeader: string | JSX.Element;
|
|
13
13
|
id: string;
|
|
14
|
+
sortField: string;
|
|
14
15
|
type: string;
|
|
15
16
|
rules: any[];
|
|
16
17
|
componentConfig: ComponentInterface["componentConfig"];
|
|
@@ -19,6 +20,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
19
20
|
interceptLogisticsStatus: InterceptStatus;
|
|
20
21
|
interceptSenderMobile: InterceptSenderMobile;
|
|
21
22
|
isCombinationComponent: boolean;
|
|
23
|
+
canSort: boolean;
|
|
22
24
|
children: ComponentInterface[];
|
|
23
25
|
express: Express;
|
|
24
26
|
expressCode: ExpressCode;
|
|
@@ -48,27 +50,35 @@ declare class Logistics implements ComponentInterface {
|
|
|
48
50
|
renderExport: () => null;
|
|
49
51
|
editRender: () => React.JSX.Element;
|
|
50
52
|
filterConfig: (item: ColumnConfig) => ({
|
|
53
|
+
searchDefaultConditions: "in";
|
|
51
54
|
type: string;
|
|
52
55
|
id: string;
|
|
53
56
|
name: string;
|
|
54
57
|
filterComponentType: "MultipleSelect";
|
|
55
|
-
|
|
58
|
+
props: {
|
|
59
|
+
options: any[];
|
|
60
|
+
};
|
|
56
61
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
57
62
|
} | {
|
|
63
|
+
searchDefaultConditions: "like";
|
|
58
64
|
type: string;
|
|
59
65
|
id: string;
|
|
60
66
|
name: string;
|
|
61
67
|
filterComponentType: "Input";
|
|
62
68
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
63
69
|
} | {
|
|
70
|
+
searchDefaultConditions: "in";
|
|
64
71
|
type: string;
|
|
65
72
|
id: string;
|
|
66
73
|
name: string;
|
|
67
74
|
filterComponentType: "MultipleSelect";
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
75
|
+
props: {
|
|
76
|
+
options: {
|
|
77
|
+
label: string;
|
|
78
|
+
value: string;
|
|
79
|
+
}[];
|
|
80
|
+
};
|
|
81
|
+
formatFilterValue: (value: string[]) => string[];
|
|
72
82
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
73
83
|
})[];
|
|
74
84
|
}
|
|
@@ -25,6 +25,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
25
25
|
_defineProperty(this, "name", void 0);
|
|
26
26
|
_defineProperty(this, "columnHeader", void 0);
|
|
27
27
|
_defineProperty(this, "id", void 0);
|
|
28
|
+
_defineProperty(this, "sortField", void 0);
|
|
28
29
|
_defineProperty(this, "type", void 0);
|
|
29
30
|
_defineProperty(this, "rules", void 0);
|
|
30
31
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -33,6 +34,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
33
34
|
_defineProperty(this, "interceptLogisticsStatus", void 0);
|
|
34
35
|
_defineProperty(this, "interceptSenderMobile", void 0);
|
|
35
36
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
37
|
+
_defineProperty(this, "canSort", void 0);
|
|
36
38
|
_defineProperty(this, "children", void 0);
|
|
37
39
|
_defineProperty(this, "express", void 0);
|
|
38
40
|
_defineProperty(this, "expressCode", void 0);
|
|
@@ -89,6 +91,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
89
91
|
name: options.name
|
|
90
92
|
});
|
|
91
93
|
this.id = options.id;
|
|
94
|
+
this.sortField = options.id;
|
|
92
95
|
this.type = options.type;
|
|
93
96
|
this.componentConfig = options.componentConfig;
|
|
94
97
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
@@ -108,6 +111,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
108
111
|
name: "物流单号"
|
|
109
112
|
}));
|
|
110
113
|
this.isCombinationComponent = true;
|
|
114
|
+
this.canSort = false;
|
|
111
115
|
this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus];
|
|
112
116
|
this.rules = [{
|
|
113
117
|
validator: function validator(_, value) {
|
|
@@ -11,6 +11,7 @@ declare class InterceptSenderMobile implements ComponentInterface {
|
|
|
11
11
|
align: ALignType;
|
|
12
12
|
width: number;
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
|
+
canSort: boolean;
|
|
14
15
|
children: ComponentInterface[];
|
|
15
16
|
constructor(options: PickOption);
|
|
16
17
|
getComponentValue: (r: Record) => any;
|
|
@@ -20,6 +21,7 @@ declare class InterceptSenderMobile implements ComponentInterface {
|
|
|
20
21
|
renderExport: (value: any, record: Record) => any;
|
|
21
22
|
editRender: () => null;
|
|
22
23
|
filterConfig: (item: ColumnConfig) => {
|
|
24
|
+
searchDefaultConditions: "like";
|
|
23
25
|
type: string;
|
|
24
26
|
id: string;
|
|
25
27
|
name: string;
|
|
@@ -8,6 +8,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from "react";
|
|
9
9
|
import ItemView from "../../commonComponents/ItemView";
|
|
10
10
|
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
|
+
import { SYMBOL } from "../../constant";
|
|
11
12
|
var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMobile(options) {
|
|
12
13
|
var _this = this;
|
|
13
14
|
_classCallCheck(this, InterceptSenderMobile);
|
|
@@ -21,6 +22,7 @@ var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMo
|
|
|
21
22
|
_defineProperty(this, "align", void 0);
|
|
22
23
|
_defineProperty(this, "width", void 0);
|
|
23
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
24
26
|
_defineProperty(this, "children", void 0);
|
|
25
27
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
26
28
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
@@ -48,6 +50,7 @@ var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMo
|
|
|
48
50
|
});
|
|
49
51
|
_defineProperty(this, "filterConfig", function (item) {
|
|
50
52
|
return {
|
|
53
|
+
searchDefaultConditions: SYMBOL.like,
|
|
51
54
|
type: item.type,
|
|
52
55
|
id: "".concat(item.id, "_interceptSenderMobile"),
|
|
53
56
|
name: "".concat(item.name, "-\u53D1\u4EF6\u4EBA\u624B\u673A\u53F7"),
|
|
@@ -68,6 +71,7 @@ var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMo
|
|
|
68
71
|
this.align = "left";
|
|
69
72
|
this.width = 200;
|
|
70
73
|
this.isCombinationComponent = false;
|
|
74
|
+
this.canSort = true;
|
|
71
75
|
this.children = [];
|
|
72
76
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
73
77
|
});
|
|
@@ -3,10 +3,12 @@ import React from 'react';
|
|
|
3
3
|
declare class BasicMultSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
|
+
sortField: string;
|
|
6
7
|
type: string;
|
|
7
8
|
rules: any[];
|
|
8
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
10
|
isCombinationComponent: boolean;
|
|
11
|
+
canSort: boolean;
|
|
10
12
|
children: ComponentInterface[];
|
|
11
13
|
constructor(options: PickOption);
|
|
12
14
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -16,11 +18,14 @@ declare class BasicMultSelect implements ComponentInterface {
|
|
|
16
18
|
renderExport: (value: any, record: Record) => any;
|
|
17
19
|
editRender: () => React.JSX.Element;
|
|
18
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
searchDefaultConditions: "in";
|
|
19
22
|
type: string;
|
|
20
23
|
id: string;
|
|
21
24
|
name: string;
|
|
22
25
|
filterComponentType: "MultipleSelect";
|
|
23
|
-
|
|
26
|
+
props: {
|
|
27
|
+
options: any[];
|
|
28
|
+
};
|
|
24
29
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
25
30
|
};
|
|
26
31
|
}
|