@kmkf-fe-packages/services-components 0.7.4 → 0.7.5-alpha.0
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 +3 -1
- package/dist/esm/components/ActualPayment/index.js +6 -2
- package/dist/esm/components/Address/index.d.ts +20 -3
- package/dist/esm/components/Address/index.js +33 -3
- package/dist/esm/components/Alipay/index.d.ts +2 -0
- package/dist/esm/components/Alipay/index.js +2 -0
- package/dist/esm/components/AlipayAccount/index.d.ts +2 -0
- package/dist/esm/components/AlipayAccount/index.js +4 -0
- package/dist/esm/components/AlipayName/index.d.ts +2 -0
- package/dist/esm/components/AlipayName/index.js +4 -0
- package/dist/esm/components/BuyerNick/index.d.ts +2 -0
- package/dist/esm/components/BuyerNick/index.js +4 -0
- package/dist/esm/components/Cascader/index.d.ts +11 -1
- package/dist/esm/components/Cascader/index.js +18 -2
- package/dist/esm/components/Checkbox/index.d.ts +5 -1
- package/dist/esm/components/Checkbox/index.js +11 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +3 -0
- package/dist/esm/components/CommonDataTime/index.js +11 -0
- package/dist/esm/components/CompletedUser/index.d.ts +8 -4
- package/dist/esm/components/CompletedUser/index.js +7 -1
- package/dist/esm/components/DataTime/index.d.ts +6 -1
- package/dist/esm/components/DataTime/index.js +15 -2
- package/dist/esm/components/EItemEnCode/index.d.ts +2 -0
- package/dist/esm/components/EItemEnCode/index.js +5 -1
- package/dist/esm/components/EItemId/index.d.ts +2 -0
- package/dist/esm/components/EItemId/index.js +5 -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 +3 -0
- package/dist/esm/components/ErpTradeId/index.js +8 -1
- package/dist/esm/components/Express/index.d.ts +5 -1
- package/dist/esm/components/Express/index.js +7 -1
- package/dist/esm/components/ExpressCode/index.d.ts +2 -0
- package/dist/esm/components/ExpressCode/index.js +4 -0
- package/dist/esm/components/FlowStatusSelect/index.d.ts +8 -4
- package/dist/esm/components/FlowStatusSelect/index.js +12 -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 +8 -4
- package/dist/esm/components/Handler/index.js +7 -1
- package/dist/esm/components/Input/index.d.ts +2 -0
- package/dist/esm/components/Input/index.js +5 -1
- package/dist/esm/components/JstItemSelect/index.d.ts +2 -0
- package/dist/esm/components/JstItemSelect/index.js +21 -15
- package/dist/esm/components/JstLogistics/index.d.ts +7 -2
- package/dist/esm/components/JstLogistics/index.js +8 -1
- package/dist/esm/components/JstSendGood/index.d.ts +2 -0
- package/dist/esm/components/JstSendGood/index.js +5 -0
- package/dist/esm/components/JstSupply/index.d.ts +2 -0
- package/dist/esm/components/JstSupply/index.js +5 -0
- package/dist/esm/components/Logistics/index.d.ts +6 -1
- package/dist/esm/components/Logistics/index.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +2 -1
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +9 -5
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +7 -1
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +9 -5
- package/dist/esm/components/LogisticsInterception/InterceptType.js +7 -1
- package/dist/esm/components/LogisticsInterception/index.d.ts +13 -5
- package/dist/esm/components/LogisticsInterception/index.js +2 -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 +5 -1
- package/dist/esm/components/MultSelect/index.js +8 -2
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +2 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +7 -3
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +3 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +8 -4
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +2 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.js +4 -0
- package/dist/esm/components/Ordinary/index.d.ts +11 -2
- package/dist/esm/components/Ordinary/index.js +2 -0
- package/dist/esm/components/Payment/AlipayNick.d.ts +2 -0
- package/dist/esm/components/Payment/AlipayNick.js +4 -0
- package/dist/esm/components/Payment/AlipayNo.d.ts +2 -0
- package/dist/esm/components/Payment/AlipayNo.js +4 -0
- package/dist/esm/components/Payment/AlipayTime.d.ts +3 -0
- package/dist/esm/components/Payment/AlipayTime.js +11 -0
- package/dist/esm/components/Payment/BuyerNick.d.ts +2 -0
- package/dist/esm/components/Payment/BuyerNick.js +4 -0
- package/dist/esm/components/Payment/PaymentAmount.d.ts +3 -1
- package/dist/esm/components/Payment/PaymentAmount.js +5 -1
- package/dist/esm/components/Payment/PaymentStatus.d.ts +8 -4
- package/dist/esm/components/Payment/PaymentStatus.js +7 -1
- package/dist/esm/components/Payment/PaymentTid.d.ts +3 -0
- package/dist/esm/components/Payment/PaymentTid.js +7 -0
- package/dist/esm/components/Payment/index.d.ts +33 -4
- 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 +3 -1
- package/dist/esm/components/PlatForm/index.js +4 -0
- package/dist/esm/components/Radio/index.d.ts +5 -1
- package/dist/esm/components/Radio/index.js +11 -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 +2 -1
- package/dist/esm/components/ReceiverAddress/index.js +2 -0
- package/dist/esm/components/ReceiverMobile/index.d.ts +2 -0
- package/dist/esm/components/ReceiverMobile/index.js +5 -1
- package/dist/esm/components/ReceiverName/index.d.ts +2 -0
- package/dist/esm/components/ReceiverName/index.js +5 -1
- package/dist/esm/components/Remark/index.d.ts +2 -0
- package/dist/esm/components/Remark/index.js +5 -1
- package/dist/esm/components/ReturnLogistics/index.d.ts +6 -1
- package/dist/esm/components/ReturnLogistics/index.js +2 -0
- package/dist/esm/components/Select/index.d.ts +5 -1
- package/dist/esm/components/Select/index.js +8 -2
- package/dist/esm/components/ShopInput/index.d.ts +7 -2
- package/dist/esm/components/ShopInput/index.js +17 -2
- package/dist/esm/components/ShopName/index.d.ts +2 -0
- package/dist/esm/components/ShopName/index.js +5 -1
- package/dist/esm/components/Submitter/index.d.ts +9 -4
- package/dist/esm/components/Submitter/index.js +15 -1
- package/dist/esm/components/SystemOrderNo/index.d.ts +3 -0
- package/dist/esm/components/SystemOrderNo/index.js +8 -1
- package/dist/esm/components/TemplateSelect/index.d.ts +2 -0
- package/dist/esm/components/TemplateSelect/index.js +4 -0
- package/dist/esm/components/TextArea/index.d.ts +2 -0
- package/dist/esm/components/TextArea/index.js +5 -1
- package/dist/esm/components/ThirdItemSelect/index.d.ts +2 -0
- package/dist/esm/components/ThirdItemSelect/index.js +5 -1
- package/dist/esm/components/TradeDateTime/index.d.ts +3 -0
- package/dist/esm/components/TradeDateTime/index.js +14 -2
- package/dist/esm/components/TradeId/index.d.ts +3 -0
- package/dist/esm/components/TradeId/index.js +8 -1
- package/dist/esm/components/WorkOrderId/index.d.ts +2 -0
- package/dist/esm/components/WorkOrderId/index.js +11 -1
- package/dist/esm/constant.d.ts +14 -0
- package/dist/esm/constant.js +14 -0
- package/dist/esm/type.d.ts +8 -2
- package/package.json +4 -4
|
@@ -10,6 +10,7 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
|
10
10
|
import GetFormItem from "../GetFormItem";
|
|
11
11
|
import ItemView from "../../commonComponents/ItemView";
|
|
12
12
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
13
|
+
import { SYMBOL } from "../../constant";
|
|
13
14
|
var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
14
15
|
var _this = this;
|
|
15
16
|
_classCallCheck(this, PaymentTid);
|
|
@@ -21,6 +22,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
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, "renderClient", function (record) {
|
|
26
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -55,6 +57,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
55
57
|
});
|
|
56
58
|
_defineProperty(this, "filterConfig", function (item) {
|
|
57
59
|
return {
|
|
60
|
+
searchDefaultConditions: SYMBOL.in,
|
|
58
61
|
type: item.type,
|
|
59
62
|
id: "".concat(item.id, "_enterprisePaymentTid"),
|
|
60
63
|
name: "".concat(item.name, "-\u8BA2\u5355\u7F16\u53F7"),
|
|
@@ -63,6 +66,9 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
63
66
|
return function (i) {
|
|
64
67
|
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentTid'), value);
|
|
65
68
|
};
|
|
69
|
+
},
|
|
70
|
+
formatFilterValue: function formatFilterValue(input) {
|
|
71
|
+
return input.split(/[,|,]/);
|
|
66
72
|
}
|
|
67
73
|
};
|
|
68
74
|
});
|
|
@@ -74,6 +80,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
74
80
|
this.align = 'left';
|
|
75
81
|
this.width = 200;
|
|
76
82
|
this.isCombinationComponent = false;
|
|
83
|
+
this.canSort = true;
|
|
77
84
|
this.children = [];
|
|
78
85
|
});
|
|
79
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;
|
|
@@ -38,27 +39,55 @@ declare class Logistics implements ComponentInterface {
|
|
|
38
39
|
renderExport: () => null;
|
|
39
40
|
editRender: (value: any) => React.JSX.Element;
|
|
40
41
|
filterConfig: (item: ColumnConfig) => ({
|
|
42
|
+
searchDefaultConditions: "eq";
|
|
41
43
|
type: string;
|
|
42
44
|
id: string;
|
|
43
45
|
name: string;
|
|
44
46
|
filterComponentType: "Input";
|
|
45
47
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
46
48
|
} | {
|
|
49
|
+
searchDefaultConditions: "between";
|
|
50
|
+
type: string;
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
filterComponentType: "Rate";
|
|
54
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
55
|
+
} | {
|
|
56
|
+
searchDefaultConditions: "like";
|
|
57
|
+
type: string;
|
|
58
|
+
id: string;
|
|
59
|
+
name: string;
|
|
60
|
+
filterComponentType: "Input";
|
|
61
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
62
|
+
} | {
|
|
63
|
+
searchDefaultConditions: "in";
|
|
64
|
+
type: string;
|
|
65
|
+
id: string;
|
|
66
|
+
name: string;
|
|
67
|
+
filterComponentType: "Input";
|
|
68
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
69
|
+
formatFilterValue: (input: string) => string[];
|
|
70
|
+
} | {
|
|
71
|
+
searchDefaultConditions: "in";
|
|
47
72
|
type: string;
|
|
48
73
|
id: string;
|
|
49
74
|
name: string;
|
|
50
75
|
filterComponentType: "MultipleSelect";
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
76
|
+
props: {
|
|
77
|
+
options: {
|
|
78
|
+
label: string;
|
|
79
|
+
value: string;
|
|
80
|
+
}[];
|
|
81
|
+
};
|
|
55
82
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
56
83
|
} | {
|
|
84
|
+
searchDefaultConditions: "between";
|
|
57
85
|
type: string;
|
|
58
86
|
id: string;
|
|
59
87
|
name: string;
|
|
60
88
|
filterComponentType: "Date";
|
|
61
89
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
90
|
+
formatFilterValue: (val: any[]) => number[] | undefined;
|
|
62
91
|
})[];
|
|
63
92
|
}
|
|
64
93
|
export default Logistics;
|
|
@@ -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,8 +7,9 @@ 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
|
-
platInstance: PlatData
|
|
12
|
+
platInstance: InstanceType<typeof PlatData>;
|
|
12
13
|
constructor();
|
|
13
14
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
14
15
|
renderExport: (value: any, record: Record) => string;
|
|
@@ -17,6 +18,7 @@ declare class PlatForm implements ComponentInterface {
|
|
|
17
18
|
renderClient: () => null;
|
|
18
19
|
editRender: () => null;
|
|
19
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
searchDefaultConditions: "in";
|
|
20
22
|
type: string;
|
|
21
23
|
id: string;
|
|
22
24
|
name: string;
|
|
@@ -7,6 +7,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
7
7
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { PlatData, filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
|
+
import { SYMBOL } from "../../constant";
|
|
10
11
|
var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
11
12
|
var _this = this;
|
|
12
13
|
_classCallCheck(this, PlatForm);
|
|
@@ -15,6 +16,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
|
15
16
|
_defineProperty(this, "type", void 0);
|
|
16
17
|
_defineProperty(this, "componentConfig", void 0);
|
|
17
18
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
19
|
+
_defineProperty(this, "canSort", void 0);
|
|
18
20
|
_defineProperty(this, "children", void 0);
|
|
19
21
|
_defineProperty(this, "platInstance", void 0);
|
|
20
22
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
@@ -43,6 +45,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
|
43
45
|
_defineProperty(this, "filterConfig", function (item) {
|
|
44
46
|
var platData = _this.platInstance.getPlatSelectList();
|
|
45
47
|
return {
|
|
48
|
+
searchDefaultConditions: SYMBOL.in,
|
|
46
49
|
type: item.type,
|
|
47
50
|
id: item.id,
|
|
48
51
|
// 过滤组件id
|
|
@@ -61,6 +64,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
|
61
64
|
this.id = "platform";
|
|
62
65
|
this.type = "PLATFORM_INPUT";
|
|
63
66
|
this.isCombinationComponent = false;
|
|
67
|
+
this.canSort = false;
|
|
64
68
|
this.children = [];
|
|
65
69
|
this.platInstance = PlatData.getInstance();
|
|
66
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;
|
|
@@ -24,11 +25,14 @@ declare class BasicRadio implements ComponentInterface {
|
|
|
24
25
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
25
26
|
editRender: () => React.JSX.Element;
|
|
26
27
|
filterConfig: (item: ColumnConfig) => {
|
|
28
|
+
searchDefaultConditions: "in";
|
|
27
29
|
type: string;
|
|
28
30
|
id: string;
|
|
29
31
|
name: string;
|
|
30
32
|
filterComponentType: "MultipleSelect";
|
|
31
|
-
|
|
33
|
+
props: {
|
|
34
|
+
options: any[] | undefined;
|
|
35
|
+
};
|
|
32
36
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
33
37
|
};
|
|
34
38
|
}
|
|
@@ -11,6 +11,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
11
11
|
import ItemView from "../../commonComponents/ItemView";
|
|
12
12
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
13
13
|
import get from 'lodash/get';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
|
|
15
16
|
var _this = this,
|
|
16
17
|
_this$componentConfig3;
|
|
@@ -21,6 +22,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
|
|
|
21
22
|
_defineProperty(this, "rules", void 0);
|
|
22
23
|
_defineProperty(this, "componentConfig", 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, "render", function (value) {
|
|
26
28
|
var _value$value;
|
|
@@ -68,16 +70,19 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
|
|
|
68
70
|
_defineProperty(this, "filterConfig", function (item) {
|
|
69
71
|
var _item$config, _item$config2, _item$config2$options, _item$config3;
|
|
70
72
|
return {
|
|
73
|
+
searchDefaultConditions: SYMBOL.in,
|
|
71
74
|
type: item.type,
|
|
72
|
-
id: item.id,
|
|
75
|
+
id: "".concat(item.id, "_radio"),
|
|
73
76
|
// 过滤组件id
|
|
74
77
|
name: item.name,
|
|
75
78
|
// 过滤组件名称
|
|
76
79
|
filterComponentType: 'MultipleSelect',
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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
|
+
},
|
|
81
86
|
filterFn: function filterFn(value) {
|
|
82
87
|
return function (i) {
|
|
83
88
|
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'radio'));
|
|
@@ -89,6 +94,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
|
|
|
89
94
|
this.id = options.id;
|
|
90
95
|
this.type = options.type;
|
|
91
96
|
this.isCombinationComponent = false;
|
|
97
|
+
this.canSort = true;
|
|
92
98
|
this.children = [];
|
|
93
99
|
this.componentConfig = options.componentConfig;
|
|
94
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,8 +13,9 @@ 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
|
-
addressDateInstance: AddressData
|
|
18
|
+
addressDateInstance: InstanceType<typeof AddressData>;
|
|
18
19
|
constructor(options: PickOption);
|
|
19
20
|
render: (value: Value) => React.JSX.Element;
|
|
20
21
|
transTextToNumber: (value?: string) => string | number | undefined;
|
|
@@ -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,6 +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) => {
|
|
21
|
+
searchDefaultConditions: "eq";
|
|
20
22
|
type: string;
|
|
21
23
|
id: string;
|
|
22
24
|
name: string;
|
|
@@ -11,6 +11,7 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, ReceiverMobile);
|
|
@@ -21,6 +22,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
21
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
23
|
_defineProperty(this, "effects", 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, "renderClient", function (record) {
|
|
26
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -68,8 +70,9 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
68
70
|
});
|
|
69
71
|
_defineProperty(this, "filterConfig", function (item) {
|
|
70
72
|
return {
|
|
73
|
+
searchDefaultConditions: SYMBOL.eq,
|
|
71
74
|
type: item.type,
|
|
72
|
-
id: item.id,
|
|
75
|
+
id: "".concat(item.id, "_receiveMobile"),
|
|
73
76
|
// 过滤组件id
|
|
74
77
|
name: item.name,
|
|
75
78
|
// 过滤组件名称
|
|
@@ -88,6 +91,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
88
91
|
this.rules = [];
|
|
89
92
|
this.effects = options.effects;
|
|
90
93
|
this.isCombinationComponent = false;
|
|
94
|
+
this.canSort = true;
|
|
91
95
|
this.children = [];
|
|
92
96
|
});
|
|
93
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,6 +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) => {
|
|
21
|
+
searchDefaultConditions: "eq";
|
|
20
22
|
type: string;
|
|
21
23
|
id: string;
|
|
22
24
|
name: string;
|
|
@@ -11,6 +11,7 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, ReceiverName);
|
|
@@ -21,6 +22,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
21
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
23
|
_defineProperty(this, "effects", 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, "renderClient", function (record) {
|
|
26
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -65,8 +67,9 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
65
67
|
});
|
|
66
68
|
_defineProperty(this, "filterConfig", function (item) {
|
|
67
69
|
return {
|
|
70
|
+
searchDefaultConditions: SYMBOL.eq,
|
|
68
71
|
type: item.type,
|
|
69
|
-
id: item.id,
|
|
72
|
+
id: "".concat(item.id, "_receiveName"),
|
|
70
73
|
// 过滤组件id
|
|
71
74
|
name: item.name,
|
|
72
75
|
// 过滤组件名称
|
|
@@ -85,6 +88,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
85
88
|
this.rules = [];
|
|
86
89
|
this.effects = options.effects;
|
|
87
90
|
this.isCombinationComponent = false;
|
|
91
|
+
this.canSort = true;
|
|
88
92
|
this.children = [];
|
|
89
93
|
});
|
|
90
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,6 +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) => {
|
|
30
|
+
searchDefaultConditions: "like";
|
|
29
31
|
type: string;
|
|
30
32
|
id: string;
|
|
31
33
|
name: string;
|
|
@@ -17,6 +17,7 @@ import trade5 from "./flag/trade-icon-flag-5.png";
|
|
|
17
17
|
import get from 'lodash/get';
|
|
18
18
|
import ItemView from "../../commonComponents/ItemView";
|
|
19
19
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
20
|
+
import { SYMBOL } from "../../constant";
|
|
20
21
|
var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
21
22
|
var _this = this,
|
|
22
23
|
_this$componentConfig3;
|
|
@@ -29,6 +30,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
29
30
|
_defineProperty(this, "imgList", void 0);
|
|
30
31
|
_defineProperty(this, "flagColors", void 0);
|
|
31
32
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
33
|
+
_defineProperty(this, "canSort", void 0);
|
|
32
34
|
_defineProperty(this, "children", void 0);
|
|
33
35
|
_defineProperty(this, "render", function (value) {
|
|
34
36
|
var index = get(value, 'flag');
|
|
@@ -84,8 +86,9 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
84
86
|
});
|
|
85
87
|
_defineProperty(this, "filterConfig", function (item) {
|
|
86
88
|
return {
|
|
89
|
+
searchDefaultConditions: SYMBOL.like,
|
|
87
90
|
type: item.type,
|
|
88
|
-
id: item.id,
|
|
91
|
+
id: "".concat(item.id, "_remark"),
|
|
89
92
|
// 过滤组件id
|
|
90
93
|
name: item.name,
|
|
91
94
|
// 过滤组件名称
|
|
@@ -116,6 +119,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
116
119
|
this.imgList = [trade0, trade1, trade2, trade3, trade4, trade5];
|
|
117
120
|
this.flagColors = ['gray', 'red', 'yellow', 'green', 'blue', 'purple'];
|
|
118
121
|
this.isCombinationComponent = false;
|
|
122
|
+
this.canSort = true;
|
|
119
123
|
this.children = [];
|
|
120
124
|
});
|
|
121
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;
|
|
@@ -30,13 +31,17 @@ declare class ReturnLogistics implements ComponentInterface {
|
|
|
30
31
|
renderExport: () => null;
|
|
31
32
|
editRender: (value: any) => React.JSX.Element;
|
|
32
33
|
filterConfig: (item: ColumnConfig) => ({
|
|
34
|
+
searchDefaultConditions: "in";
|
|
33
35
|
type: string;
|
|
34
36
|
id: string;
|
|
35
37
|
name: string;
|
|
36
38
|
filterComponentType: "MultipleSelect";
|
|
37
|
-
|
|
39
|
+
props: {
|
|
40
|
+
options: any[];
|
|
41
|
+
};
|
|
38
42
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
39
43
|
} | {
|
|
44
|
+
searchDefaultConditions: "like";
|
|
40
45
|
type: string;
|
|
41
46
|
id: string;
|
|
42
47
|
name: string;
|
|
@@ -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;
|
|
@@ -16,11 +17,14 @@ declare class BasicSelect implements ComponentInterface {
|
|
|
16
17
|
getComponentValue: (r: Record) => any;
|
|
17
18
|
renderExport: (value: any, record: Record) => any;
|
|
18
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
searchDefaultConditions: "in";
|
|
19
21
|
type: string;
|
|
20
22
|
id: string;
|
|
21
23
|
name: string;
|
|
22
24
|
filterComponentType: "MultipleSelect";
|
|
23
|
-
|
|
25
|
+
props: {
|
|
26
|
+
options: any[];
|
|
27
|
+
};
|
|
24
28
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
25
29
|
};
|
|
26
30
|
}
|
|
@@ -11,6 +11,7 @@ import { ApaasSelect } from '@kmkf-fe-packages/basic-components';
|
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, BasicSelect);
|
|
@@ -20,6 +21,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
20
21
|
_defineProperty(this, "rules", void 0);
|
|
21
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
23
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
|
+
_defineProperty(this, "canSort", void 0);
|
|
23
25
|
_defineProperty(this, "children", void 0);
|
|
24
26
|
_defineProperty(this, "editRender", function () {
|
|
25
27
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -59,13 +61,16 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
59
61
|
_defineProperty(this, "filterConfig", function (item) {
|
|
60
62
|
var _item$config;
|
|
61
63
|
return {
|
|
64
|
+
searchDefaultConditions: SYMBOL.in,
|
|
62
65
|
type: item.type,
|
|
63
|
-
id: item.id,
|
|
66
|
+
id: "".concat(item.id, "_select"),
|
|
64
67
|
// 过滤组件id
|
|
65
68
|
name: item.name,
|
|
66
69
|
// 过滤组件名称
|
|
67
70
|
filterComponentType: 'MultipleSelect',
|
|
68
|
-
|
|
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
|
+
},
|
|
69
74
|
filterFn: function filterFn(value) {
|
|
70
75
|
return function (i) {
|
|
71
76
|
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'select'));
|
|
@@ -79,6 +84,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
79
84
|
this.componentConfig = options.componentConfig;
|
|
80
85
|
this.rules = [];
|
|
81
86
|
this.isCombinationComponent = false;
|
|
87
|
+
this.canSort = true;
|
|
82
88
|
this.children = [];
|
|
83
89
|
});
|
|
84
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;
|
|
@@ -16,13 +17,17 @@ declare class ShopInput implements ComponentInterface {
|
|
|
16
17
|
renderClient: () => null;
|
|
17
18
|
editRender: () => null;
|
|
18
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
searchDefaultConditions: "in";
|
|
19
21
|
type: string;
|
|
20
22
|
id: string;
|
|
21
23
|
name: string;
|
|
22
24
|
filterComponentType: "ShopList";
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
props: {
|
|
26
|
+
shopList: any[];
|
|
27
|
+
mode: string;
|
|
28
|
+
};
|
|
25
29
|
filterFn: (value: string) => (i: Record) => boolean | undefined;
|
|
30
|
+
formatFilterValue: (shopList: Array<string>) => any[];
|
|
26
31
|
};
|
|
27
32
|
}
|
|
28
33
|
export default ShopInput;
|