@kmkf-fe-packages/services-components 0.7.3-alpha.2 → 0.7.3-alpha.4

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.
Files changed (36) hide show
  1. package/dist/esm/components/Address/index.d.ts +8 -1
  2. package/dist/esm/components/Address/index.js +8 -1
  3. package/dist/esm/components/Cascader/index.d.ts +3 -1
  4. package/dist/esm/components/Cascader/index.js +3 -1
  5. package/dist/esm/components/Checkbox/index.d.ts +3 -1
  6. package/dist/esm/components/Checkbox/index.js +6 -4
  7. package/dist/esm/components/CompletedUser/index.d.ts +6 -4
  8. package/dist/esm/components/CompletedUser/index.js +3 -1
  9. package/dist/esm/components/DataTime/index.d.ts +3 -1
  10. package/dist/esm/components/DataTime/index.js +3 -1
  11. package/dist/esm/components/Express/index.d.ts +3 -1
  12. package/dist/esm/components/Express/index.js +3 -1
  13. package/dist/esm/components/FlowStatusSelect/index.d.ts +6 -4
  14. package/dist/esm/components/FlowStatusSelect/index.js +8 -6
  15. package/dist/esm/components/Handler/index.d.ts +6 -4
  16. package/dist/esm/components/Handler/index.js +3 -1
  17. package/dist/esm/components/JstLogistics/index.d.ts +4 -2
  18. package/dist/esm/components/JstLogistics/index.js +3 -1
  19. package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +6 -4
  20. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +3 -1
  21. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +6 -4
  22. package/dist/esm/components/LogisticsInterception/InterceptType.js +3 -1
  23. package/dist/esm/components/MultSelect/index.d.ts +3 -1
  24. package/dist/esm/components/MultSelect/index.js +3 -1
  25. package/dist/esm/components/Payment/PaymentStatus.d.ts +6 -4
  26. package/dist/esm/components/Payment/PaymentStatus.js +3 -1
  27. package/dist/esm/components/Radio/index.d.ts +3 -1
  28. package/dist/esm/components/Radio/index.js +6 -4
  29. package/dist/esm/components/Select/index.d.ts +3 -1
  30. package/dist/esm/components/Select/index.js +3 -1
  31. package/dist/esm/components/ShopInput/index.d.ts +4 -2
  32. package/dist/esm/components/ShopInput/index.js +4 -2
  33. package/dist/esm/components/Submitter/index.d.ts +6 -4
  34. package/dist/esm/components/Submitter/index.js +3 -1
  35. package/dist/esm/type.d.ts +1 -1
  36. package/package.json +2 -2
@@ -31,7 +31,14 @@ declare class Address implements ComponentInterface {
31
31
  id: string;
32
32
  name: string;
33
33
  filterComponentType: "Cascader";
34
- options: any;
34
+ props: {
35
+ options: any;
36
+ fieldNames: {
37
+ label: string;
38
+ value: string;
39
+ children: string;
40
+ };
41
+ };
35
42
  filterFn: (value: string) => (i: Record) => boolean;
36
43
  };
37
44
  }
@@ -93,7 +93,14 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
93
93
  name: item.name,
94
94
  // 过滤组件名称
95
95
  filterComponentType: 'Cascader',
96
- options: _this.addressDateInstance.addressOptions || [],
96
+ props: {
97
+ options: _this.addressDateInstance.addressOptions || [],
98
+ fieldNames: {
99
+ label: 'label',
100
+ value: 'value',
101
+ children: 'children'
102
+ }
103
+ },
97
104
  filterFn: function filterFn(value) {
98
105
  return function (i) {
99
106
  return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
@@ -27,7 +27,9 @@ declare class BasicCascader implements ComponentInterface {
27
27
  id: string;
28
28
  name: string;
29
29
  filterComponentType: "Cascader";
30
- options: any;
30
+ props: {
31
+ options: any;
32
+ };
31
33
  filterFn: (value: string) => (i: Record) => boolean;
32
34
  };
33
35
  }
@@ -95,7 +95,9 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
95
95
  name: item.name,
96
96
  // 过滤组件名称
97
97
  filterComponentType: 'Cascader',
98
- options: transMultSelectOptions((item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []),
98
+ props: {
99
+ options: transMultSelectOptions((item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || [])
100
+ },
99
101
  filterFn: function filterFn(value) {
100
102
  return function (i) {
101
103
  return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
@@ -29,7 +29,9 @@ declare class BasicCheckbox implements ComponentInterface {
29
29
  id: string;
30
30
  name: string;
31
31
  filterComponentType: "MultipleSelect";
32
- options: any[] | undefined;
32
+ props: {
33
+ options: any[] | undefined;
34
+ };
33
35
  filterFn: (value: string) => (i: Record) => boolean;
34
36
  };
35
37
  }
@@ -93,10 +93,12 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
93
93
  name: item.name,
94
94
  // 过滤组件名称
95
95
  filterComponentType: 'MultipleSelect',
96
- 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({
97
- label: '其他',
98
- value: '其他'
99
- }) : (item === null || item === void 0 ? void 0 : (_item$config3 = item.config) === null || _item$config3 === void 0 ? void 0 : _item$config3.options) || [],
96
+ props: {
97
+ 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({
98
+ label: '其他',
99
+ value: '其他'
100
+ }) : (item === null || item === void 0 ? void 0 : (_item$config3 = item.config) === null || _item$config3 === void 0 ? void 0 : _item$config3.options) || []
101
+ },
100
102
  filterFn: function filterFn(value) {
101
103
  return function (i) {
102
104
  return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'checkbox')).length > 0;
@@ -21,10 +21,12 @@ declare class CompletedUser implements ComponentInterface {
21
21
  id: string;
22
22
  name: string;
23
23
  filterComponentType: "MultipleSelect";
24
- options: {
25
- label: string;
26
- value: string;
27
- }[];
24
+ props: {
25
+ options: {
26
+ label: string;
27
+ value: string;
28
+ }[];
29
+ };
28
30
  filterFn: (value: string) => (i: Record) => boolean;
29
31
  };
30
32
  }
@@ -48,7 +48,9 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
48
48
  name: item.name,
49
49
  // 过滤组件名称
50
50
  filterComponentType: 'MultipleSelect',
51
- options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || [],
51
+ props: {
52
+ options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || []
53
+ },
52
54
  filterFn: function filterFn(value) {
53
55
  return function (i) {
54
56
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
@@ -24,7 +24,9 @@ declare class BasicDataTime implements ComponentInterface {
24
24
  id: string;
25
25
  name: string;
26
26
  filterComponentType: "Date";
27
- options: any[];
27
+ props: {
28
+ options: any[];
29
+ };
28
30
  filterFn: (value: string[]) => (i: Record) => boolean;
29
31
  };
30
32
  }
@@ -89,7 +89,9 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
89
89
  name: item.name,
90
90
  // 过滤组件名称
91
91
  filterComponentType: 'Date',
92
- options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || [],
92
+ props: {
93
+ options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []
94
+ },
93
95
  filterFn: function filterFn(value) {
94
96
  return function (i) {
95
97
  var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, 'dateTime');
@@ -25,7 +25,9 @@ declare class Express implements ComponentInterface {
25
25
  id: string;
26
26
  name: string;
27
27
  filterComponentType: "MultipleSelect";
28
- options: any[];
28
+ props: {
29
+ options: any[];
30
+ };
29
31
  filterFn: (value: string) => (i: Record) => boolean;
30
32
  };
31
33
  }
@@ -68,7 +68,9 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
68
68
  id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
69
69
  name: "".concat(item.name, "-\u7269\u6D41\u516C\u53F8"),
70
70
  filterComponentType: 'MultipleSelect',
71
- options: _this.expressDateInstance.getExpressData() || [],
71
+ props: {
72
+ options: _this.expressDateInstance.getExpressData() || []
73
+ },
72
74
  filterFn: function filterFn(value) {
73
75
  return function (i) {
74
76
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, "".concat(subKey)));
@@ -24,10 +24,12 @@ declare class WorkOrderId implements ComponentInterface {
24
24
  id: string;
25
25
  name: string;
26
26
  filterComponentType: "MultipleSelect";
27
- options: {
28
- label: any;
29
- value: string;
30
- }[];
27
+ props: {
28
+ options: {
29
+ label: any;
30
+ value: string;
31
+ }[];
32
+ };
31
33
  filterFn: (value: string[]) => (i: Record) => boolean;
32
34
  };
33
35
  }
@@ -92,12 +92,14 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
92
92
  name: item.name,
93
93
  // 过滤组件名称
94
94
  filterComponentType: 'MultipleSelect',
95
- options: (_Object$keys = Object.keys(_this.workOrderStatus)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.map(function (item) {
96
- return {
97
- label: _this.workOrderStatus[item].label,
98
- value: item
99
- };
100
- }),
95
+ props: {
96
+ options: (_Object$keys = Object.keys(_this.workOrderStatus)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.map(function (item) {
97
+ return {
98
+ label: _this.workOrderStatus[item].label,
99
+ value: item
100
+ };
101
+ })
102
+ },
101
103
  filterFn: function filterFn(value) {
102
104
  return function (i) {
103
105
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
@@ -23,10 +23,12 @@ declare class Handler implements ComponentInterface {
23
23
  id: string;
24
24
  name: string;
25
25
  filterComponentType: "MultipleSelect";
26
- options: {
27
- label: string;
28
- value: string;
29
- }[];
26
+ props: {
27
+ options: {
28
+ label: string;
29
+ value: string;
30
+ }[];
31
+ };
30
32
  filterFn: (value: string) => (i: Record) => boolean;
31
33
  };
32
34
  }
@@ -55,7 +55,9 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
55
55
  name: item.name,
56
56
  // 过滤组件名称
57
57
  filterComponentType: 'MultipleSelect',
58
- options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || [],
58
+ props: {
59
+ options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || []
60
+ },
59
61
  filterFn: function filterFn(value) {
60
62
  return function (i) {
61
63
  var _ref;
@@ -25,14 +25,16 @@ declare class JstLogistics implements ComponentInterface {
25
25
  name: string;
26
26
  filterComponentType: "Input";
27
27
  filterFn: (value: string) => (i: Record) => boolean;
28
- options?: undefined;
28
+ props?: undefined;
29
29
  } | {
30
30
  searchDefaultConditions: "in";
31
31
  type: string;
32
32
  id: string;
33
33
  name: string;
34
34
  filterComponentType: "MultipleSelect";
35
- options: any[];
35
+ props: {
36
+ options: any[];
37
+ };
36
38
  filterFn: (value: string) => (i: Record) => any;
37
39
  })[];
38
40
  }
@@ -94,7 +94,9 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
94
94
  id: "".concat(item.id, "_logisticsCompany"),
95
95
  name: "jst\u7269\u6D41\u516C\u53F8",
96
96
  filterComponentType: 'MultipleSelect',
97
- options: _this.expressDateInstance.getExpressData() || [],
97
+ props: {
98
+ options: _this.expressDateInstance.getExpressData() || []
99
+ },
98
100
  filterFn: function filterFn(value) {
99
101
  return function (i) {
100
102
  var _ref;
@@ -29,10 +29,12 @@ declare class InterceptStatus implements ComponentInterface {
29
29
  id: string;
30
30
  name: string;
31
31
  filterComponentType: "MultipleSelect";
32
- options: {
33
- label: string;
34
- value: string;
35
- }[];
32
+ props: {
33
+ options: {
34
+ label: string;
35
+ value: string;
36
+ }[];
37
+ };
36
38
  filterFn: (value: string[]) => (i: Record) => boolean;
37
39
  };
38
40
  }
@@ -72,7 +72,9 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
72
72
  id: "".concat(item.id, "_interceptLogisticsStatus"),
73
73
  name: "".concat(item.name, "-\u7269\u6D41\u72B6\u6001"),
74
74
  filterComponentType: "MultipleSelect",
75
- options: _this.expressInterceptInstance.getStatusOptions() || [],
75
+ props: {
76
+ options: _this.expressInterceptInstance.getStatusOptions() || []
77
+ },
76
78
  filterFn: function filterFn(value) {
77
79
  return function (i) {
78
80
  var _value$map, _value$map$flat;
@@ -27,10 +27,12 @@ declare class InterceptType implements ComponentInterface {
27
27
  id: string;
28
28
  name: string;
29
29
  filterComponentType: "MultipleSelect";
30
- options: {
31
- label: string;
32
- value: string;
33
- }[];
30
+ props: {
31
+ options: {
32
+ label: string;
33
+ value: string;
34
+ }[];
35
+ };
34
36
  filterFn: (value: string[]) => (i: Record) => boolean;
35
37
  };
36
38
  }
@@ -59,7 +59,9 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
59
59
  id: "".concat(item.id, "_interceptType"),
60
60
  name: "".concat(item.name, "-\u62E6\u622A\u7C7B\u578B"),
61
61
  filterComponentType: "MultipleSelect",
62
- options: _this.expressInterceptInstance.getTypeOptions() || [],
62
+ props: {
63
+ options: _this.expressInterceptInstance.getTypeOptions() || []
64
+ },
63
65
  filterFn: function filterFn(value) {
64
66
  return function (i) {
65
67
  var _value$map, _value$map$flat;
@@ -21,7 +21,9 @@ declare class BasicMultSelect implements ComponentInterface {
21
21
  id: string;
22
22
  name: string;
23
23
  filterComponentType: "MultipleSelect";
24
- options: any[];
24
+ props: {
25
+ options: any[];
26
+ };
25
27
  filterFn: (value: string) => (i: Record) => boolean;
26
28
  };
27
29
  }
@@ -74,7 +74,9 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
74
74
  name: item.name,
75
75
  // 过滤组件名称
76
76
  filterComponentType: 'MultipleSelect',
77
- options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || [],
77
+ props: {
78
+ options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []
79
+ },
78
80
  filterFn: function filterFn(value) {
79
81
  return function (i) {
80
82
  return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
@@ -30,10 +30,12 @@ declare class PaymentStatus implements ComponentInterface {
30
30
  id: string;
31
31
  name: string;
32
32
  filterComponentType: "MultipleSelect";
33
- options: {
34
- label: string;
35
- value: string;
36
- }[];
33
+ props: {
34
+ options: {
35
+ label: string;
36
+ value: string;
37
+ }[];
38
+ };
37
39
  filterFn: (value: string) => (i: Record) => boolean;
38
40
  };
39
41
  }
@@ -54,7 +54,9 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
54
54
  id: "".concat(item.id, "_enterprisePaymentStatus"),
55
55
  name: "".concat(item.name, "-\u6253\u6B3E\u72B6\u6001"),
56
56
  filterComponentType: 'MultipleSelect',
57
- options: _this.paymentStatusOptions,
57
+ props: {
58
+ options: _this.paymentStatusOptions
59
+ },
58
60
  filterFn: function filterFn(value) {
59
61
  return function (i) {
60
62
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentStatus'));
@@ -29,7 +29,9 @@ declare class BasicRadio implements ComponentInterface {
29
29
  id: string;
30
30
  name: string;
31
31
  filterComponentType: "MultipleSelect";
32
- options: any[] | undefined;
32
+ props: {
33
+ options: any[] | undefined;
34
+ };
33
35
  filterFn: (value: string) => (i: Record) => boolean;
34
36
  };
35
37
  }
@@ -76,10 +76,12 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
76
76
  name: item.name,
77
77
  // 过滤组件名称
78
78
  filterComponentType: 'MultipleSelect',
79
- 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({
80
- label: '其他',
81
- value: '其他'
82
- }) : (item === null || item === void 0 ? void 0 : (_item$config3 = item.config) === null || _item$config3 === void 0 ? void 0 : _item$config3.options) || [],
79
+ props: {
80
+ 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({
81
+ label: '其他',
82
+ value: '其他'
83
+ }) : (item === null || item === void 0 ? void 0 : (_item$config3 = item.config) === null || _item$config3 === void 0 ? void 0 : _item$config3.options) || []
84
+ },
83
85
  filterFn: function filterFn(value) {
84
86
  return function (i) {
85
87
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'radio'));
@@ -21,7 +21,9 @@ declare class BasicSelect implements ComponentInterface {
21
21
  id: string;
22
22
  name: string;
23
23
  filterComponentType: "MultipleSelect";
24
- options: any[];
24
+ props: {
25
+ options: any[];
26
+ };
25
27
  filterFn: (value: string) => (i: Record) => boolean;
26
28
  };
27
29
  }
@@ -67,7 +67,9 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
67
67
  name: item.name,
68
68
  // 过滤组件名称
69
69
  filterComponentType: 'MultipleSelect',
70
- options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || [],
70
+ props: {
71
+ options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []
72
+ },
71
73
  filterFn: function filterFn(value) {
72
74
  return function (i) {
73
75
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'select'));
@@ -21,8 +21,10 @@ declare class ShopInput implements ComponentInterface {
21
21
  id: string;
22
22
  name: string;
23
23
  filterComponentType: "ShopList";
24
- shopList: any[];
25
- mode: string;
24
+ props: {
25
+ shopList: any[];
26
+ mode: string;
27
+ };
26
28
  filterFn: (value: string) => (i: Record) => boolean | undefined;
27
29
  };
28
30
  }
@@ -54,8 +54,10 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
54
54
  name: item.name,
55
55
  // 过滤组件名称
56
56
  filterComponentType: 'ShopList',
57
- shopList: (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopList) || [],
58
- mode: 'multiple',
57
+ props: {
58
+ shopList: (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopList) || [],
59
+ mode: 'multiple'
60
+ },
59
61
  filterFn: function filterFn(value) {
60
62
  return function (i) {
61
63
  var _this$effects2, _this$effects2$shopLi, _this$effects2$shopLi2, _this$effects2$shopLi3;
@@ -21,10 +21,12 @@ declare class Submitter implements ComponentInterface {
21
21
  id: string;
22
22
  name: string;
23
23
  filterComponentType: "MultipleSelect";
24
- options: {
25
- label: string;
26
- value: string;
27
- }[] | undefined;
24
+ props: {
25
+ options: {
26
+ label: string;
27
+ value: string;
28
+ }[] | undefined;
29
+ };
28
30
  filterFn: (value: string) => (i: Record) => boolean;
29
31
  };
30
32
  }
@@ -48,7 +48,9 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
48
48
  name: item.name,
49
49
  // 过滤组件名称
50
50
  filterComponentType: 'MultipleSelect',
51
- options: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList,
51
+ props: {
52
+ options: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList
53
+ },
52
54
  filterFn: function filterFn(value) {
53
55
  return function (i) {
54
56
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
@@ -12,8 +12,8 @@ export declare type FilterConfigType = {
12
12
  type: string;
13
13
  id: string;
14
14
  name: string;
15
- options?: any[];
16
15
  filterComponentType: FilterComponentType;
16
+ props?: Record;
17
17
  filterFn?: (p: any) => (r: Record) => unknown;
18
18
  };
19
19
  export declare type FilterComponentType = "MultipleSelect" | "Input" | "Date" | "Cascader" | "ShopList" | "Rate";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.7.3-alpha.2",
3
+ "version": "0.7.3-alpha.4",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -40,5 +40,5 @@
40
40
  "gitHooks": {
41
41
  "pre-commit": "lint-staged"
42
42
  },
43
- "gitHead": "7f5d01ac8e779dcc08b09dbaf02acc9ae0304d86"
43
+ "gitHead": "7821d8be18fbfa0df638ed92dd2a98d76bb17530"
44
44
  }