@kmkf-fe-packages/services-components 0.7.8 → 0.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/ActualPayment/index.d.ts +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 +25 -8
- 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
|
@@ -8,15 +8,18 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import PlatformAvatar from "../../commonComponents/PlatformAvatar";
|
|
10
10
|
import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
|
+
import { SYMBOL } from "../../constant";
|
|
11
12
|
var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
12
13
|
var _this = this;
|
|
13
14
|
_classCallCheck(this, ShopInput);
|
|
14
15
|
_defineProperty(this, "name", void 0);
|
|
15
16
|
_defineProperty(this, "id", void 0);
|
|
17
|
+
_defineProperty(this, "sortField", void 0);
|
|
16
18
|
_defineProperty(this, "type", void 0);
|
|
17
19
|
_defineProperty(this, "componentConfig", void 0);
|
|
18
20
|
_defineProperty(this, "effects", void 0);
|
|
19
21
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
22
|
+
_defineProperty(this, "canSort", void 0);
|
|
20
23
|
_defineProperty(this, "children", void 0);
|
|
21
24
|
_defineProperty(this, "renderPc", function (shopName, record) {
|
|
22
25
|
return /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(PlatformAvatar, {
|
|
@@ -46,14 +49,17 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
46
49
|
_defineProperty(this, "filterConfig", function (item) {
|
|
47
50
|
var _this$effects;
|
|
48
51
|
return {
|
|
52
|
+
searchDefaultConditions: SYMBOL.in,
|
|
49
53
|
type: item.type,
|
|
50
54
|
id: item.id,
|
|
51
55
|
// 过滤组件id
|
|
52
56
|
name: item.name,
|
|
53
57
|
// 过滤组件名称
|
|
54
58
|
filterComponentType: 'ShopList',
|
|
55
|
-
|
|
56
|
-
|
|
59
|
+
props: {
|
|
60
|
+
shopList: (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopList) || [],
|
|
61
|
+
mode: 'multiple'
|
|
62
|
+
},
|
|
57
63
|
filterFn: function filterFn(value) {
|
|
58
64
|
return function (i) {
|
|
59
65
|
var _this$effects2, _this$effects2$shopLi, _this$effects2$shopLi2, _this$effects2$shopLi3;
|
|
@@ -63,14 +69,25 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
63
69
|
return item.shopId;
|
|
64
70
|
})) === null || _this$effects2$shopLi3 === void 0 ? void 0 : _this$effects2$shopLi3.includes(_filterFn.filterTableListItemColumnValue(i, 'shopId', ''));
|
|
65
71
|
};
|
|
72
|
+
},
|
|
73
|
+
formatFilterValue: function formatFilterValue(shopList) {
|
|
74
|
+
return shopList === null || shopList === void 0 ? void 0 : shopList.map(function (shopId) {
|
|
75
|
+
var _ref, _ref$find, _this$effects3;
|
|
76
|
+
var shopUniqueKey = (_ref = (_this === null || _this === void 0 ? void 0 : (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.shopList) || []) === null || _ref === void 0 ? void 0 : (_ref$find = _ref.find(function (item) {
|
|
77
|
+
return item.shopId === shopId;
|
|
78
|
+
})) === null || _ref$find === void 0 ? void 0 : _ref$find.uniqueKey;
|
|
79
|
+
return shopUniqueKey !== null && shopUniqueKey !== void 0 ? shopUniqueKey : shopId;
|
|
80
|
+
});
|
|
66
81
|
}
|
|
67
82
|
};
|
|
68
83
|
});
|
|
69
84
|
this.name = "店铺名称";
|
|
70
85
|
this.id = "shopName";
|
|
71
86
|
this.type = "SHOP_INPUT";
|
|
87
|
+
this.sortField = "shopName";
|
|
72
88
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
73
89
|
this.isCombinationComponent = false;
|
|
90
|
+
this.canSort = true;
|
|
74
91
|
this.children = [];
|
|
75
92
|
});
|
|
76
93
|
export default ShopInput;
|
|
@@ -3,10 +3,12 @@ import React from 'react';
|
|
|
3
3
|
declare class BasicInput 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,6 +18,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
16
18
|
renderExport: (value: any, record: Record) => any;
|
|
17
19
|
editRender: () => React.JSX.Element;
|
|
18
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
searchDefaultConditions: "like";
|
|
19
22
|
type: string;
|
|
20
23
|
id: string;
|
|
21
24
|
name: string;
|
|
@@ -11,15 +11,18 @@ 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 BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, BasicInput);
|
|
17
18
|
_defineProperty(this, "name", void 0);
|
|
18
19
|
_defineProperty(this, "id", void 0);
|
|
20
|
+
_defineProperty(this, "sortField", void 0);
|
|
19
21
|
_defineProperty(this, "type", void 0);
|
|
20
22
|
_defineProperty(this, "rules", void 0);
|
|
21
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
23
26
|
_defineProperty(this, "children", void 0);
|
|
24
27
|
_defineProperty(this, "renderClient", function (record) {
|
|
25
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -57,8 +60,9 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
57
60
|
});
|
|
58
61
|
_defineProperty(this, "filterConfig", function (item) {
|
|
59
62
|
return {
|
|
63
|
+
searchDefaultConditions: SYMBOL.like,
|
|
60
64
|
type: item.type,
|
|
61
|
-
id: item.id,
|
|
65
|
+
id: "".concat(item.id, "_shopName"),
|
|
62
66
|
// 过滤组件id
|
|
63
67
|
name: item.name,
|
|
64
68
|
// 过滤组件名称
|
|
@@ -73,9 +77,11 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
73
77
|
this.name = options.name;
|
|
74
78
|
this.id = options.id;
|
|
75
79
|
this.type = options.type;
|
|
80
|
+
this.sortField = "".concat(options.id, "_shopName");
|
|
76
81
|
this.componentConfig = options.componentConfig;
|
|
77
82
|
this.rules = [];
|
|
78
83
|
this.isCombinationComponent = false;
|
|
84
|
+
this.canSort = true;
|
|
79
85
|
this.children = [];
|
|
80
86
|
});
|
|
81
87
|
export default BasicInput;
|
|
@@ -3,10 +3,12 @@ import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type
|
|
|
3
3
|
declare class Submitter implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
|
+
sortField: string;
|
|
6
7
|
type: string;
|
|
7
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
8
9
|
effects: ComponentInterface["effects"];
|
|
9
10
|
isCombinationComponent: boolean;
|
|
11
|
+
canSort: boolean;
|
|
10
12
|
children: ComponentInterface[];
|
|
11
13
|
constructor(options: PickOption);
|
|
12
14
|
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
@@ -16,14 +18,18 @@ declare class Submitter implements ComponentInterface {
|
|
|
16
18
|
renderClient: () => null;
|
|
17
19
|
editRender: () => null;
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
props: {
|
|
27
|
+
options: {
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
}[] | undefined;
|
|
31
|
+
};
|
|
32
|
+
formatFilterValue: (val: Array<string>) => (string | undefined)[];
|
|
27
33
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
28
34
|
};
|
|
29
35
|
}
|
|
@@ -7,15 +7,18 @@ 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 { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
|
+
import { SYMBOL } from "../../constant";
|
|
10
11
|
var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
11
12
|
var _this = this;
|
|
12
13
|
_classCallCheck(this, Submitter);
|
|
13
14
|
_defineProperty(this, "name", void 0);
|
|
14
15
|
_defineProperty(this, "id", void 0);
|
|
16
|
+
_defineProperty(this, "sortField", void 0);
|
|
15
17
|
_defineProperty(this, "type", void 0);
|
|
16
18
|
_defineProperty(this, "componentConfig", void 0);
|
|
17
19
|
_defineProperty(this, "effects", void 0);
|
|
18
20
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
21
|
+
_defineProperty(this, "canSort", void 0);
|
|
19
22
|
_defineProperty(this, "children", void 0);
|
|
20
23
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
21
24
|
var _record;
|
|
@@ -40,13 +43,24 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
40
43
|
_defineProperty(this, "filterConfig", function (item) {
|
|
41
44
|
var _this$effects;
|
|
42
45
|
return {
|
|
46
|
+
searchDefaultConditions: SYMBOL.in,
|
|
43
47
|
type: item.type,
|
|
44
48
|
id: item.id,
|
|
45
49
|
// 过滤组件id
|
|
46
50
|
name: item.name,
|
|
47
51
|
// 过滤组件名称
|
|
48
52
|
filterComponentType: 'MultipleSelect',
|
|
49
|
-
|
|
53
|
+
props: {
|
|
54
|
+
options: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList
|
|
55
|
+
},
|
|
56
|
+
formatFilterValue: function formatFilterValue(val) {
|
|
57
|
+
return val === null || val === void 0 ? void 0 : val.map(function (v) {
|
|
58
|
+
var _this$effects2, _this$effects2$userLi, _this$effects2$userLi2;
|
|
59
|
+
return (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : (_this$effects2$userLi = _this$effects2.userList) === null || _this$effects2$userLi === void 0 ? void 0 : (_this$effects2$userLi2 = _this$effects2$userLi.find(function (u) {
|
|
60
|
+
return u.value === v;
|
|
61
|
+
})) === null || _this$effects2$userLi2 === void 0 ? void 0 : _this$effects2$userLi2.label;
|
|
62
|
+
});
|
|
63
|
+
},
|
|
50
64
|
filterFn: function filterFn(value) {
|
|
51
65
|
return function (i) {
|
|
52
66
|
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
|
|
@@ -57,8 +71,10 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
57
71
|
this.name = "提交人";
|
|
58
72
|
this.id = "submitter";
|
|
59
73
|
this.type = "OPERATOR_INPUT";
|
|
74
|
+
this.sortField = "submitter";
|
|
60
75
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
61
76
|
this.isCombinationComponent = false;
|
|
77
|
+
this.canSort = true;
|
|
62
78
|
this.children = [];
|
|
63
79
|
});
|
|
64
80
|
export default Submitter;
|
|
@@ -3,11 +3,13 @@ import React from 'react';
|
|
|
3
3
|
declare class SystemOrderNo 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
|
effects: ComponentInterface["effects"];
|
|
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,11 +19,13 @@ declare class SystemOrderNo implements ComponentInterface {
|
|
|
17
19
|
renderExport: (value: string, record: Record) => any;
|
|
18
20
|
editRender: () => React.JSX.Element;
|
|
19
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
searchDefaultConditions: "in";
|
|
20
23
|
type: string;
|
|
21
24
|
id: string;
|
|
22
25
|
name: string;
|
|
23
26
|
filterComponentType: "Input";
|
|
24
27
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
28
|
+
formatFilterValue: (input: string) => string[];
|
|
25
29
|
};
|
|
26
30
|
}
|
|
27
31
|
export default SystemOrderNo;
|
|
@@ -11,16 +11,19 @@ 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 SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, SystemOrderNo);
|
|
17
18
|
_defineProperty(this, "name", void 0);
|
|
18
19
|
_defineProperty(this, "id", void 0);
|
|
20
|
+
_defineProperty(this, "sortField", void 0);
|
|
19
21
|
_defineProperty(this, "type", void 0);
|
|
20
22
|
_defineProperty(this, "rules", void 0);
|
|
21
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
24
|
_defineProperty(this, "effects", void 0);
|
|
23
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
+
_defineProperty(this, "canSort", void 0);
|
|
24
27
|
_defineProperty(this, "children", void 0);
|
|
25
28
|
_defineProperty(this, "renderClient", function (record) {
|
|
26
29
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -58,8 +61,9 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
|
58
61
|
});
|
|
59
62
|
_defineProperty(this, "filterConfig", function (item) {
|
|
60
63
|
return {
|
|
64
|
+
searchDefaultConditions: SYMBOL.in,
|
|
61
65
|
type: item.type,
|
|
62
|
-
id: item.id,
|
|
66
|
+
id: "".concat(item.id, "_systemOrderNo"),
|
|
63
67
|
// 过滤组件id
|
|
64
68
|
name: item.name,
|
|
65
69
|
// 过滤组件名称
|
|
@@ -68,16 +72,21 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
|
68
72
|
return function (i) {
|
|
69
73
|
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, 'systemOrderNo'), value);
|
|
70
74
|
};
|
|
75
|
+
},
|
|
76
|
+
formatFilterValue: function formatFilterValue(input) {
|
|
77
|
+
return input.split(/[,|,]/);
|
|
71
78
|
}
|
|
72
79
|
};
|
|
73
80
|
});
|
|
74
81
|
this.name = options.name;
|
|
75
82
|
this.id = options.id;
|
|
83
|
+
this.sortField = "".concat(options.id, "_systemOrderNo");
|
|
76
84
|
this.type = options.type;
|
|
77
85
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
78
86
|
this.componentConfig = options.componentConfig;
|
|
79
87
|
this.rules = [];
|
|
80
88
|
this.isCombinationComponent = false;
|
|
89
|
+
this.canSort = true;
|
|
81
90
|
this.children = [];
|
|
82
91
|
});
|
|
83
92
|
export default SystemOrderNo;
|
|
@@ -3,11 +3,13 @@ import React from 'react';
|
|
|
3
3
|
declare class TemplateSelect 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
|
effects: ComponentInterface["effects"];
|
|
10
11
|
isCombinationComponent: boolean;
|
|
12
|
+
canSort: boolean;
|
|
11
13
|
children: ComponentInterface[];
|
|
12
14
|
constructor(options: PickOption);
|
|
13
15
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
@@ -17,6 +19,7 @@ declare class TemplateSelect implements ComponentInterface {
|
|
|
17
19
|
renderClient: () => null;
|
|
18
20
|
editRender: () => null;
|
|
19
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
searchDefaultConditions: "in";
|
|
20
23
|
type: string;
|
|
21
24
|
id: string;
|
|
22
25
|
name: string;
|
|
@@ -9,16 +9,19 @@ import React from 'react';
|
|
|
9
9
|
import find from 'lodash/find';
|
|
10
10
|
import get from 'lodash/get';
|
|
11
11
|
import { filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
12
|
+
import { SYMBOL } from "../../constant";
|
|
12
13
|
var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options) {
|
|
13
14
|
var _this = this;
|
|
14
15
|
_classCallCheck(this, TemplateSelect);
|
|
15
16
|
_defineProperty(this, "name", void 0);
|
|
16
17
|
_defineProperty(this, "id", void 0);
|
|
18
|
+
_defineProperty(this, "sortField", void 0);
|
|
17
19
|
_defineProperty(this, "type", void 0);
|
|
18
20
|
_defineProperty(this, "rules", void 0);
|
|
19
21
|
_defineProperty(this, "componentConfig", void 0);
|
|
20
22
|
_defineProperty(this, "effects", void 0);
|
|
21
23
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
|
+
_defineProperty(this, "canSort", void 0);
|
|
22
25
|
_defineProperty(this, "children", void 0);
|
|
23
26
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
24
27
|
var _this$effects;
|
|
@@ -58,6 +61,7 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
|
|
|
58
61
|
_defineProperty(this, "filterConfig", function (item) {
|
|
59
62
|
var _this$effects3;
|
|
60
63
|
return {
|
|
64
|
+
searchDefaultConditions: SYMBOL.in,
|
|
61
65
|
type: item.type,
|
|
62
66
|
id: item.id,
|
|
63
67
|
// 过滤组件id
|
|
@@ -74,11 +78,13 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
|
|
|
74
78
|
});
|
|
75
79
|
this.name = options.name;
|
|
76
80
|
this.id = options.id;
|
|
81
|
+
this.sortField = options.id;
|
|
77
82
|
this.type = options.type;
|
|
78
83
|
this.componentConfig = options.componentConfig;
|
|
79
84
|
this.rules = [];
|
|
80
85
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
81
86
|
this.isCombinationComponent = false;
|
|
87
|
+
this.canSort = true;
|
|
82
88
|
this.children = [];
|
|
83
89
|
});
|
|
84
90
|
export default TemplateSelect;
|
|
@@ -3,10 +3,12 @@ import React from 'react';
|
|
|
3
3
|
declare class BasicInput 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
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
@@ -16,6 +18,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
16
18
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
17
19
|
editRender: () => React.JSX.Element;
|
|
18
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
searchDefaultConditions: "like";
|
|
19
22
|
type: string;
|
|
20
23
|
id: string;
|
|
21
24
|
name: string;
|
|
@@ -11,15 +11,18 @@ import { ApaasTextArea } 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 BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, BasicInput);
|
|
17
18
|
_defineProperty(this, "name", void 0);
|
|
18
19
|
_defineProperty(this, "id", void 0);
|
|
20
|
+
_defineProperty(this, "sortField", void 0);
|
|
19
21
|
_defineProperty(this, "type", void 0);
|
|
20
22
|
_defineProperty(this, "rules", void 0);
|
|
21
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
23
26
|
_defineProperty(this, "children", void 0);
|
|
24
27
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
25
28
|
var _record;
|
|
@@ -57,8 +60,9 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
57
60
|
});
|
|
58
61
|
_defineProperty(this, "filterConfig", function (item) {
|
|
59
62
|
return {
|
|
63
|
+
searchDefaultConditions: SYMBOL.like,
|
|
60
64
|
type: item.type,
|
|
61
|
-
id: item.id,
|
|
65
|
+
id: "".concat(item.id, "_textarea"),
|
|
62
66
|
// 过滤组件id
|
|
63
67
|
name: item.name,
|
|
64
68
|
// 过滤组件名称
|
|
@@ -72,10 +76,12 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
72
76
|
});
|
|
73
77
|
this.name = options.name;
|
|
74
78
|
this.id = options.id;
|
|
79
|
+
this.sortField = "".concat(options.id, "_textarea");
|
|
75
80
|
this.type = options.type;
|
|
76
81
|
this.componentConfig = options.componentConfig;
|
|
77
82
|
this.rules = [];
|
|
78
83
|
this.isCombinationComponent = false;
|
|
84
|
+
this.canSort = true;
|
|
79
85
|
this.children = [];
|
|
80
86
|
});
|
|
81
87
|
export default BasicInput;
|
|
@@ -3,11 +3,13 @@ import React from 'react';
|
|
|
3
3
|
declare class ThirdItemSelect 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
|
effects: ComponentInterface["effects"];
|
|
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 ThirdItemSelect implements ComponentInterface {
|
|
|
17
19
|
renderExport: (value: any, record: Record) => 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;
|
|
@@ -12,17 +12,20 @@ import ItemEncode from "./ItemEncode";
|
|
|
12
12
|
import { GoodImage } from "../Common";
|
|
13
13
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
14
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
|
+
import { SYMBOL } from "../../constant";
|
|
15
16
|
var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options) {
|
|
16
17
|
var _this = this,
|
|
17
18
|
_this$componentConfig2;
|
|
18
19
|
_classCallCheck(this, ThirdItemSelect);
|
|
19
20
|
_defineProperty(this, "name", void 0);
|
|
20
21
|
_defineProperty(this, "id", void 0);
|
|
22
|
+
_defineProperty(this, "sortField", void 0);
|
|
21
23
|
_defineProperty(this, "type", void 0);
|
|
22
24
|
_defineProperty(this, "rules", void 0);
|
|
23
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
26
|
_defineProperty(this, "effects", void 0);
|
|
25
27
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
|
+
_defineProperty(this, "canSort", void 0);
|
|
26
29
|
_defineProperty(this, "children", void 0);
|
|
27
30
|
_defineProperty(this, "renderClient", function (record) {
|
|
28
31
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -76,8 +79,9 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
|
|
|
76
79
|
});
|
|
77
80
|
_defineProperty(this, "filterConfig", function (item) {
|
|
78
81
|
return {
|
|
82
|
+
searchDefaultConditions: SYMBOL.like,
|
|
79
83
|
type: item.type,
|
|
80
|
-
id: item.id,
|
|
84
|
+
id: "".concat(item.id, "_itemList"),
|
|
81
85
|
// 过滤组件id
|
|
82
86
|
name: item.name,
|
|
83
87
|
// 过滤组件名称
|
|
@@ -97,10 +101,12 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
|
|
|
97
101
|
});
|
|
98
102
|
this.name = options.name || '供应商编码/名称';
|
|
99
103
|
this.id = options.id;
|
|
104
|
+
this.sortField = "".concat(options.id, "_itemList");
|
|
100
105
|
this.type = options.type;
|
|
101
106
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
102
107
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
103
108
|
this.isCombinationComponent = false;
|
|
109
|
+
this.canSort = false;
|
|
104
110
|
this.children = [];
|
|
105
111
|
this.rules = (_this$componentConfig2 = this.componentConfig) !== null && _this$componentConfig2 !== void 0 && _this$componentConfig2.required ? [{
|
|
106
112
|
required: true,
|
|
@@ -4,6 +4,7 @@ declare type Value = string | string[] | undefined;
|
|
|
4
4
|
declare class BasicDataTime implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
6
6
|
id: string;
|
|
7
|
+
sortField: string;
|
|
7
8
|
type: string;
|
|
8
9
|
rules: any[];
|
|
9
10
|
canFilter: boolean;
|
|
@@ -13,6 +14,7 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
13
14
|
showContains: boolean;
|
|
14
15
|
componentConfig: ComponentInterface["componentConfig"];
|
|
15
16
|
isCombinationComponent: boolean;
|
|
17
|
+
canSort: boolean;
|
|
16
18
|
children: ComponentInterface[];
|
|
17
19
|
dataMap: Record;
|
|
18
20
|
constructor(options: PickOption);
|
|
@@ -25,11 +27,13 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
25
27
|
editRender: () => React.JSX.Element;
|
|
26
28
|
getKeyByComponentType: (type: string) => "tradeCreateDateTime" | "tradePaymentDateTime" | "tradeDeliveryDateTime" | "tradeClosingDateTime" | undefined;
|
|
27
29
|
filterConfig: (item: ColumnConfig) => {
|
|
30
|
+
searchDefaultConditions: "between";
|
|
28
31
|
type: string;
|
|
29
32
|
id: string;
|
|
30
33
|
name: string;
|
|
31
34
|
filterComponentType: "Date";
|
|
32
35
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
36
|
+
formatFilterValue: (val: Array<any>) => number[] | undefined;
|
|
33
37
|
};
|
|
34
38
|
}
|
|
35
39
|
export default BasicDataTime;
|
|
@@ -7,15 +7,18 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
7
7
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
8
|
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); }
|
|
9
9
|
import React from 'react';
|
|
10
|
+
import moment from 'moment';
|
|
10
11
|
import { DateTime } from "../DataTime";
|
|
11
12
|
import GetFormItem from "../GetFormItem";
|
|
12
13
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
14
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
|
+
import { SYMBOL } from "../../constant";
|
|
14
16
|
var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
15
17
|
var _this = this;
|
|
16
18
|
_classCallCheck(this, BasicDataTime);
|
|
17
19
|
_defineProperty(this, "name", void 0);
|
|
18
20
|
_defineProperty(this, "id", void 0);
|
|
21
|
+
_defineProperty(this, "sortField", void 0);
|
|
19
22
|
_defineProperty(this, "type", void 0);
|
|
20
23
|
_defineProperty(this, "rules", void 0);
|
|
21
24
|
_defineProperty(this, "canFilter", void 0);
|
|
@@ -25,6 +28,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
25
28
|
_defineProperty(this, "showContains", void 0);
|
|
26
29
|
_defineProperty(this, "componentConfig", void 0);
|
|
27
30
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
31
|
+
_defineProperty(this, "canSort", void 0);
|
|
28
32
|
_defineProperty(this, "children", void 0);
|
|
29
33
|
_defineProperty(this, "dataMap", void 0);
|
|
30
34
|
_defineProperty(this, "render", function (value) {
|
|
@@ -89,24 +93,33 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
89
93
|
}
|
|
90
94
|
});
|
|
91
95
|
_defineProperty(this, "filterConfig", function (item) {
|
|
96
|
+
var key = _this.getKeyByComponentType(item.type);
|
|
92
97
|
return {
|
|
98
|
+
searchDefaultConditions: SYMBOL.between,
|
|
93
99
|
type: item.type,
|
|
94
|
-
id: item.id,
|
|
100
|
+
id: "".concat(item.id, "_").concat(key),
|
|
95
101
|
// 过滤组件id
|
|
96
102
|
name: item.name,
|
|
97
103
|
// 过滤组件名称
|
|
98
104
|
filterComponentType: 'Date',
|
|
99
105
|
filterFn: function filterFn(value) {
|
|
100
106
|
return function (i) {
|
|
101
|
-
var key = _this.getKeyByComponentType(item.type);
|
|
102
107
|
var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, key);
|
|
103
108
|
return _filterFn.filterDateFn(value, recordDateTime);
|
|
104
109
|
};
|
|
110
|
+
},
|
|
111
|
+
formatFilterValue: function formatFilterValue(val) {
|
|
112
|
+
if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
|
|
113
|
+
return val === null || val === void 0 ? void 0 : val.map(function (v) {
|
|
114
|
+
return moment(v).startOf('second').valueOf();
|
|
115
|
+
});
|
|
116
|
+
}
|
|
105
117
|
}
|
|
106
118
|
};
|
|
107
119
|
});
|
|
108
120
|
this.name = options.name;
|
|
109
121
|
this.id = options.id;
|
|
122
|
+
this.sortField = "".concat(options.id, "_").concat(this.getKeyByComponentType(options.type));
|
|
110
123
|
this.type = options.type;
|
|
111
124
|
this.canFilter = true;
|
|
112
125
|
this.canGroup = true;
|
|
@@ -116,6 +129,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
116
129
|
this.componentConfig = options.componentConfig;
|
|
117
130
|
this.rules = [];
|
|
118
131
|
this.isCombinationComponent = false;
|
|
132
|
+
this.canSort = true;
|
|
119
133
|
this.children = [];
|
|
120
134
|
this.dataMap = {
|
|
121
135
|
TRADE_CREATE_DATETIME: 'tradeCreateDateTime',
|
|
@@ -3,6 +3,7 @@ import React from 'react';
|
|
|
3
3
|
declare class ETradeId implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
|
+
sortField: string;
|
|
6
7
|
type: string;
|
|
7
8
|
rules: any[];
|
|
8
9
|
canFilter: boolean;
|
|
@@ -14,6 +15,7 @@ declare class ETradeId implements ComponentInterface {
|
|
|
14
15
|
componentConfig: ComponentInterface["componentConfig"];
|
|
15
16
|
effects: ComponentInterface["effects"];
|
|
16
17
|
isCombinationComponent: boolean;
|
|
18
|
+
canSort: boolean;
|
|
17
19
|
children: ComponentInterface[];
|
|
18
20
|
constructor(options: PickOption);
|
|
19
21
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -23,11 +25,13 @@ declare class ETradeId implements ComponentInterface {
|
|
|
23
25
|
renderExport: (value: unknown, record: Record) => any;
|
|
24
26
|
editRender: (value: any) => React.JSX.Element;
|
|
25
27
|
filterConfig: (item: ColumnConfig) => {
|
|
28
|
+
searchDefaultConditions: "in";
|
|
26
29
|
type: string;
|
|
27
30
|
id: string;
|
|
28
31
|
name: string;
|
|
29
32
|
filterComponentType: "Input";
|
|
30
33
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
34
|
+
formatFilterValue: (input: string) => string[];
|
|
31
35
|
};
|
|
32
36
|
}
|
|
33
37
|
export default ETradeId;
|