@kmkf-fe-packages/services-components 0.7.3-alpha.8 → 0.7.3-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/ActualPayment/index.js +1 -1
- package/dist/esm/components/Address/index.d.ts +0 -1
- package/dist/esm/components/Address/index.js +1 -2
- package/dist/esm/components/Cascader/index.d.ts +1 -1
- package/dist/esm/components/Cascader/index.js +2 -2
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/DataTime/index.js +1 -1
- package/dist/esm/components/EItemEnCode/index.js +1 -1
- package/dist/esm/components/EItemId/index.js +1 -1
- package/dist/esm/components/ErpTradeId/index.js +1 -1
- package/dist/esm/components/Input/index.js +1 -1
- package/dist/esm/components/MultSelect/index.js +1 -1
- package/dist/esm/components/Radio/index.js +1 -1
- package/dist/esm/components/ReceiverMobile/index.js +1 -1
- package/dist/esm/components/ReceiverName/index.js +1 -1
- package/dist/esm/components/Remark/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/ShopName/index.js +1 -1
- package/dist/esm/components/SystemOrderNo/index.js +1 -1
- package/dist/esm/components/TextArea/index.js +1 -1
- package/dist/esm/components/ThirdItemSelect/index.js +1 -1
- package/dist/esm/components/TradeDateTime/index.js +2 -2
- package/dist/esm/components/TradeId/index.js +1 -1
- package/dist/esm/type.d.ts +0 -1
- package/package.json +2 -2
|
@@ -61,7 +61,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
61
61
|
return {
|
|
62
62
|
searchDefaultConditions: SYMBOL.between,
|
|
63
63
|
type: item.type,
|
|
64
|
-
id: item.id,
|
|
64
|
+
id: "".concat(item.id, "_actualPayment"),
|
|
65
65
|
// 过滤组件id
|
|
66
66
|
name: item.name,
|
|
67
67
|
// 过滤组件名称
|
|
@@ -89,11 +89,10 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
|
89
89
|
return {
|
|
90
90
|
searchDefaultConditions: SYMBOL.eq,
|
|
91
91
|
type: item.type,
|
|
92
|
-
id: item.id,
|
|
92
|
+
id: "".concat(item.id, "_basicDistrict"),
|
|
93
93
|
// 过滤组件id
|
|
94
94
|
name: item.name,
|
|
95
95
|
// 过滤组件名称
|
|
96
|
-
filterKey: "".concat(item.id, "_basicDistrict"),
|
|
97
96
|
filterComponentType: 'Cascader',
|
|
98
97
|
props: {
|
|
99
98
|
options: _this.addressDateInstance.addressOptions || [],
|
|
@@ -23,7 +23,7 @@ declare class BasicCascader implements ComponentInterface {
|
|
|
23
23
|
renderExport: (value: any, record: Record) => string;
|
|
24
24
|
editRender: () => React.JSX.Element;
|
|
25
25
|
filterConfig: (item: ColumnConfig) => {
|
|
26
|
-
searchDefaultConditions: "
|
|
26
|
+
searchDefaultConditions: "eq";
|
|
27
27
|
type: string;
|
|
28
28
|
id: string;
|
|
29
29
|
name: string;
|
|
@@ -89,9 +89,9 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
89
89
|
_defineProperty(this, "filterConfig", function (item) {
|
|
90
90
|
var _item$config;
|
|
91
91
|
return {
|
|
92
|
-
searchDefaultConditions: SYMBOL.
|
|
92
|
+
searchDefaultConditions: SYMBOL.eq,
|
|
93
93
|
type: item.type,
|
|
94
|
-
id: item.id,
|
|
94
|
+
id: "".concat(item.id, "_multSelect"),
|
|
95
95
|
// 过滤组件id
|
|
96
96
|
name: item.name,
|
|
97
97
|
// 过滤组件名称
|
|
@@ -70,7 +70,7 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
|
|
|
70
70
|
return {
|
|
71
71
|
searchDefaultConditions: SYMBOL.in,
|
|
72
72
|
type: item.type,
|
|
73
|
-
id: item.id,
|
|
73
|
+
id: "".concat(item.id, "_basicMultSelect"),
|
|
74
74
|
// 过滤组件id
|
|
75
75
|
name: item.name,
|
|
76
76
|
// 过滤组件名称
|
|
@@ -92,17 +92,17 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
94
|
_defineProperty(this, "filterConfig", function (item) {
|
|
95
|
+
var key = _this.getKeyByComponentType(item.type);
|
|
95
96
|
return {
|
|
96
97
|
searchDefaultConditions: SYMBOL.between,
|
|
97
98
|
type: item.type,
|
|
98
|
-
id: item.id,
|
|
99
|
+
id: "".concat(item.id, "_").concat(key),
|
|
99
100
|
// 过滤组件id
|
|
100
101
|
name: item.name,
|
|
101
102
|
// 过滤组件名称
|
|
102
103
|
filterComponentType: 'Date',
|
|
103
104
|
filterFn: function filterFn(value) {
|
|
104
105
|
return function (i) {
|
|
105
|
-
var key = _this.getKeyByComponentType(item.type);
|
|
106
106
|
var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, key);
|
|
107
107
|
return _filterFn.filterDateFn(value, recordDateTime);
|
|
108
108
|
};
|
package/dist/esm/type.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ export declare type FilterConfigType = {
|
|
|
16
16
|
props?: Record;
|
|
17
17
|
filterFn?: (p: any) => (r: Record) => unknown;
|
|
18
18
|
formatFilterValue?: (p: any) => any;
|
|
19
|
-
filterKey?: string;
|
|
20
19
|
};
|
|
21
20
|
export declare type FilterComponentType = "MultipleSelect" | "Input" | "Date" | "Cascader" | "ShopList" | "Rate";
|
|
22
21
|
export interface ComponentInterface {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.7.3-alpha.
|
|
3
|
+
"version": "0.7.3-alpha.9",
|
|
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": "
|
|
43
|
+
"gitHead": "2f2867dc713f228fc45cb182d8b36702deba1a0c"
|
|
44
44
|
}
|