@kmkf-fe-packages/services-components 0.5.2-alpha.11 → 0.5.2-alpha.13
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/AlipayAccount/index.d.ts +1 -1
- package/dist/esm/components/AlipayAccount/index.js +3 -3
- package/dist/esm/components/AlipayName/index.js +2 -2
- package/dist/esm/components/DataTime/index.d.ts +1 -1
- package/dist/esm/components/DataTime/index.js +1 -1
- package/dist/esm/components/FlowStatusSelect/index.js +2 -2
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +2 -1
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +6 -2
- package/dist/esm/components/LogisticsInterception/index.d.ts +2 -1
- package/dist/esm/components/LogisticsInterception/index.js +3 -0
- package/dist/esm/components/Payment/AlipayNick.d.ts +1 -1
- package/dist/esm/components/Payment/AlipayNick.js +2 -2
- package/dist/esm/components/Payment/AlipayNo.js +2 -2
- package/dist/esm/components/Payment/AlipayTime.d.ts +1 -1
- package/dist/esm/components/Payment/AlipayTime.js +1 -1
- package/dist/esm/components/ReceiverAddress/index.js +3 -7
- package/dist/esm/components/ReceiverMobile/index.d.ts +1 -1
- package/dist/esm/components/ReceiverMobile/index.js +2 -2
- package/dist/esm/components/ReceiverName/index.js +2 -2
- package/dist/esm/components/TradeDateTime/index.d.ts +1 -1
- package/dist/esm/components/TradeDateTime/index.js +1 -1
- package/dist/esm/components/WorkOrderId/index.js +2 -2
- package/dist/esm/type.d.ts +10 -10
- package/package.json +2 -2
|
@@ -12,7 +12,7 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
render: (value: string
|
|
15
|
+
render: (value: string) => JSX.Element;
|
|
16
16
|
renderClient: (record: Record) => JSX.Element | null;
|
|
17
17
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
18
|
renderExport: (value?: string) => string;
|
|
@@ -26,7 +26,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
26
26
|
_defineProperty(this, "width", void 0);
|
|
27
27
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
28
|
_defineProperty(this, "children", void 0);
|
|
29
|
-
_defineProperty(this, "render", function (value
|
|
29
|
+
_defineProperty(this, "render", function (value) {
|
|
30
30
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
31
31
|
});
|
|
32
32
|
_defineProperty(this, "renderClient", function (record) {
|
|
@@ -40,8 +40,8 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
40
40
|
return /*#__PURE__*/React.createElement("span", {
|
|
41
41
|
className: "pointer",
|
|
42
42
|
onClick: function onClick() {
|
|
43
|
-
var _this$effects;
|
|
44
|
-
|
|
43
|
+
var _this$effects, _this$effects2;
|
|
44
|
+
typeof ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
|
|
45
45
|
}
|
|
46
46
|
}, value !== null && value !== void 0 ? value : '--');
|
|
47
47
|
});
|
|
@@ -40,8 +40,8 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
40
40
|
return /*#__PURE__*/React.createElement("span", {
|
|
41
41
|
className: "pointer",
|
|
42
42
|
onClick: function onClick() {
|
|
43
|
-
var _this$effects;
|
|
44
|
-
|
|
43
|
+
var _this$effects, _this$effects2;
|
|
44
|
+
typeof ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
|
|
45
45
|
}
|
|
46
46
|
}, value !== null && value !== void 0 ? value : '--');
|
|
47
47
|
});
|
|
@@ -22,7 +22,7 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
22
22
|
name: string;
|
|
23
23
|
filterComponentType: "Date";
|
|
24
24
|
options: any[];
|
|
25
|
-
filterFn: (value: string[]) => (i: Record) =>
|
|
25
|
+
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
export default BasicDataTime;
|
|
@@ -86,7 +86,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
86
86
|
filterFn: function filterFn(value) {
|
|
87
87
|
return function (i) {
|
|
88
88
|
var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, 'dateTime');
|
|
89
|
-
return _filterFn.
|
|
89
|
+
return _filterFn.filterDateFn(value, recordDateTime);
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
};
|
|
@@ -27,9 +27,9 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
27
27
|
_defineProperty(this, "renderMenu", function (record) {
|
|
28
28
|
var menu = /*#__PURE__*/React.createElement(Menu, {
|
|
29
29
|
onClick: function onClick(_ref) {
|
|
30
|
-
var _this$effects;
|
|
30
|
+
var _this$effects, _this$effects2;
|
|
31
31
|
var key = _ref.key;
|
|
32
|
-
|
|
32
|
+
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.handleChangeSingleWorkOrderStatus) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.handleChangeSingleWorkOrderStatus(key, record));
|
|
33
33
|
}
|
|
34
34
|
}, /*#__PURE__*/React.createElement(Menu.Item, {
|
|
35
35
|
key: "HANDLING"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
3
3
|
import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare class PaymentTid implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -20,5 +20,6 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
20
20
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
21
21
|
renderExport: (value: any, record: Record) => any;
|
|
22
22
|
editRender: () => JSX.Element;
|
|
23
|
+
filterConfig: (item: ColumnConfig) => never[];
|
|
23
24
|
}
|
|
24
25
|
export default PaymentTid;
|
|
@@ -52,8 +52,8 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
52
52
|
return /*#__PURE__*/React.createElement("span", {
|
|
53
53
|
className: "pointer",
|
|
54
54
|
onClick: function onClick() {
|
|
55
|
-
var _this$effects;
|
|
56
|
-
|
|
55
|
+
var _this$effects, _this$effects2;
|
|
56
|
+
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
|
|
57
57
|
}
|
|
58
58
|
}, value);
|
|
59
59
|
});
|
|
@@ -70,6 +70,9 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
70
70
|
component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
|
|
71
71
|
});
|
|
72
72
|
});
|
|
73
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
74
|
+
return [];
|
|
75
|
+
});
|
|
73
76
|
this.name = '新派送地';
|
|
74
77
|
this.id = "".concat(options.id, "_interceptAddress");
|
|
75
78
|
this.type = options.type;
|
|
@@ -80,6 +83,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
80
83
|
this.originId = options.id;
|
|
81
84
|
this.isCombinationComponent = false;
|
|
82
85
|
this.children = [];
|
|
86
|
+
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
83
87
|
this.addressDateInstance = AddressData.getInstance();
|
|
84
88
|
});
|
|
85
89
|
export default PaymentTid;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig } from '../../type';
|
|
3
3
|
import InterceptAddress from './InterceptAddress';
|
|
4
4
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
5
5
|
declare class Logistics implements ComponentInterface {
|
|
@@ -18,5 +18,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
18
18
|
renderPc: () => null;
|
|
19
19
|
renderExport: () => null;
|
|
20
20
|
editRender: (value: any) => JSX.Element;
|
|
21
|
+
filterConfig: (item: ColumnConfig) => never[];
|
|
21
22
|
}
|
|
22
23
|
export default Logistics;
|
|
@@ -44,6 +44,9 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
44
44
|
component: /*#__PURE__*/React.createElement(LogisticsInterception, _this.componentConfig)
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
48
|
+
return [];
|
|
49
|
+
});
|
|
47
50
|
this.name = options.name;
|
|
48
51
|
this.id = options.id;
|
|
49
52
|
this.type = options.type;
|
|
@@ -12,7 +12,7 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
render: (value: any, record
|
|
15
|
+
render: (value: any, record?: Record) => JSX.Element;
|
|
16
16
|
renderClient: (record: any) => JSX.Element | null;
|
|
17
17
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
18
|
renderExport: (value: any, record: Record) => any;
|
|
@@ -40,8 +40,8 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
40
40
|
return /*#__PURE__*/React.createElement("span", {
|
|
41
41
|
className: "pointer",
|
|
42
42
|
onClick: function onClick() {
|
|
43
|
-
var _this$effects;
|
|
44
|
-
|
|
43
|
+
var _this$effects, _this$effects2;
|
|
44
|
+
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
|
|
45
45
|
}
|
|
46
46
|
}, value);
|
|
47
47
|
});
|
|
@@ -40,8 +40,8 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
40
40
|
return /*#__PURE__*/React.createElement("span", {
|
|
41
41
|
className: "pointer",
|
|
42
42
|
onClick: function onClick() {
|
|
43
|
-
var _this$effects;
|
|
44
|
-
|
|
43
|
+
var _this$effects, _this$effects2;
|
|
44
|
+
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
|
|
45
45
|
}
|
|
46
46
|
}, value);
|
|
47
47
|
});
|
|
@@ -20,7 +20,7 @@ declare class AlipayTime implements ComponentInterface {
|
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
22
22
|
filterComponentType: "Input";
|
|
23
|
-
filterFn: (value: string) => (i: Record) =>
|
|
23
|
+
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
export default AlipayTime;
|
|
@@ -64,7 +64,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
|
|
|
64
64
|
filterFn: function filterFn(value) {
|
|
65
65
|
return function (i) {
|
|
66
66
|
var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentTime');
|
|
67
|
-
return _filterFn.
|
|
67
|
+
return _filterFn.filterDateFn(value, recordDateTime);
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
};
|
|
@@ -28,11 +28,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
28
28
|
_defineProperty(this, "render", function (value, record) {
|
|
29
29
|
var _value$address;
|
|
30
30
|
return /*#__PURE__*/React.createElement("span", {
|
|
31
|
-
className: "pointer"
|
|
32
|
-
onClick: function onClick() {
|
|
33
|
-
var _this$effects;
|
|
34
|
-
return _this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail(record);
|
|
35
|
-
}
|
|
31
|
+
className: "pointer"
|
|
36
32
|
}, value === null || value === void 0 ? void 0 : (_value$address = value.address) === null || _value$address === void 0 ? void 0 : _value$address.map(function (suffix) {
|
|
37
33
|
return _this.addressDateInstance.getNameByCode(suffix);
|
|
38
34
|
}).join(''), value === null || value === void 0 ? void 0 : value.detail);
|
|
@@ -53,8 +49,8 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
53
49
|
return /*#__PURE__*/React.createElement("span", {
|
|
54
50
|
className: "pointer",
|
|
55
51
|
onClick: function onClick() {
|
|
56
|
-
var _this$effects2;
|
|
57
|
-
|
|
52
|
+
var _this$effects, _this$effects2;
|
|
53
|
+
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
|
|
58
54
|
}
|
|
59
55
|
}, (_address = address) === null || _address === void 0 ? void 0 : _address.map(function () {
|
|
60
56
|
var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
@@ -10,7 +10,7 @@ declare class ReceiverMobile implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
render: (value: string, record
|
|
13
|
+
render: (value: string, record?: Record) => JSX.Element;
|
|
14
14
|
renderClient: (record: Record) => JSX.Element | null;
|
|
15
15
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
16
|
renderExport: (value: any, record: Record) => any;
|
|
@@ -39,8 +39,8 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
39
39
|
return /*#__PURE__*/React.createElement("span", {
|
|
40
40
|
className: "pointer",
|
|
41
41
|
onClick: function onClick() {
|
|
42
|
-
var _this$effects;
|
|
43
|
-
|
|
42
|
+
var _this$effects, _this$effects2;
|
|
43
|
+
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
|
|
44
44
|
}
|
|
45
45
|
}, record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_receiveMobile")]);
|
|
46
46
|
});
|
|
@@ -39,8 +39,8 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
39
39
|
return /*#__PURE__*/React.createElement("span", {
|
|
40
40
|
className: "pointer",
|
|
41
41
|
onClick: function onClick() {
|
|
42
|
-
var _this$effects;
|
|
43
|
-
|
|
42
|
+
var _this$effects, _this$effects2;
|
|
43
|
+
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
|
|
44
44
|
}
|
|
45
45
|
}, record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_receiveName")]);
|
|
46
46
|
});
|
|
@@ -25,7 +25,7 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
25
25
|
id: string;
|
|
26
26
|
name: string;
|
|
27
27
|
filterComponentType: "Date";
|
|
28
|
-
filterFn: (value: string) => (i: Record) =>
|
|
28
|
+
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
export default BasicDataTime;
|
|
@@ -95,7 +95,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
95
95
|
return function (i) {
|
|
96
96
|
var key = _this.getKeyByComponentType(item.type);
|
|
97
97
|
var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, key);
|
|
98
|
-
return _filterFn.
|
|
98
|
+
return _filterFn.filterDateFn(value, recordDateTime);
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
};
|
|
@@ -38,8 +38,8 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
38
38
|
},
|
|
39
39
|
alt: "",
|
|
40
40
|
onClick: function onClick() {
|
|
41
|
-
var _this$effects;
|
|
42
|
-
|
|
41
|
+
var _this$effects, _this$effects2;
|
|
42
|
+
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.handleOpenRepeatList) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.handleOpenRepeatList(record === null || record === void 0 ? void 0 : record.repeatConfig));
|
|
43
43
|
}
|
|
44
44
|
}), (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--', (record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) && /*#__PURE__*/React.createElement(React.Fragment, null, record === null || record === void 0 ? void 0 : record["".concat(_this.id)], /*#__PURE__*/React.createElement("span", {
|
|
45
45
|
onClick: function onClick() {
|
package/dist/esm/type.d.ts
CHANGED
|
@@ -5,6 +5,14 @@ export declare type ALignType = 'left' | 'right' | 'center';
|
|
|
5
5
|
export declare type Record = {
|
|
6
6
|
[props in string]: any;
|
|
7
7
|
};
|
|
8
|
+
export declare type FilterConfigType = {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
options?: any[];
|
|
12
|
+
filterComponentType: FilterComponentType;
|
|
13
|
+
filterFn?: (p: any) => (r: Record) => unknown;
|
|
14
|
+
};
|
|
15
|
+
export declare type FilterComponentType = 'MultipleSelect' | 'Input' | 'Date' | 'Cascader' | 'ShopList';
|
|
8
16
|
export interface ComponentInterface {
|
|
9
17
|
id: string;
|
|
10
18
|
name: string;
|
|
@@ -112,7 +120,7 @@ export interface ComponentInterface {
|
|
|
112
120
|
effects?: {
|
|
113
121
|
queryWorkOrderDetail?: (r: Record) => void;
|
|
114
122
|
handleOpenRepeatList?: (r: Record) => void;
|
|
115
|
-
handleChangeSingleWorkOrderStatus?: (r: Record) => void;
|
|
123
|
+
handleChangeSingleWorkOrderStatus?: (t: string, r: Record) => void;
|
|
116
124
|
templateList?: any[];
|
|
117
125
|
isEditing?: boolean;
|
|
118
126
|
form?: FormInstance;
|
|
@@ -156,7 +164,7 @@ export interface ComponentInterface {
|
|
|
156
164
|
formItemIndex?: number;
|
|
157
165
|
onBlur?: (p1: any, p2: any) => void;
|
|
158
166
|
}) => JSX.Element | null;
|
|
159
|
-
filterConfig
|
|
167
|
+
filterConfig: (p: ColumnConfig) => FilterConfigType | FilterConfigType[];
|
|
160
168
|
}
|
|
161
169
|
export declare type PickOption = Pick<ComponentInterface, 'name' | 'id' | 'type' | 'componentConfig' | 'effects'>;
|
|
162
170
|
export declare type ColumnConfig = {
|
|
@@ -167,11 +175,3 @@ export declare type ColumnConfig = {
|
|
|
167
175
|
mode?: 'multiple';
|
|
168
176
|
config?: ComponentInterface['componentConfig'];
|
|
169
177
|
};
|
|
170
|
-
export declare type FilterConfigType = {
|
|
171
|
-
id: string;
|
|
172
|
-
name: string;
|
|
173
|
-
options?: any[];
|
|
174
|
-
filterComponentType: FilterComponentType;
|
|
175
|
-
filterFn?: (p: any) => (r: Record) => unknown;
|
|
176
|
-
};
|
|
177
|
-
export declare type FilterComponentType = 'MultipleSelect' | 'Input' | 'Date' | 'Cascader' | 'ShopList';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.5.2-alpha.
|
|
3
|
+
"version": "0.5.2-alpha.13",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"gitHooks": {
|
|
36
36
|
"pre-commit": "lint-staged"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "bae220a8e98978b0ba7ca4bfb4db7cd529d04e41"
|
|
39
39
|
}
|