@kmkf-fe-packages/services-components 0.7.3-alpha.10 → 0.7.3-alpha.11
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/Alipay/index.d.ts +1 -1
- package/dist/esm/components/Logistics/index.d.ts +1 -1
- package/dist/esm/components/LogisticsInterception/index.d.ts +1 -1
- package/dist/esm/components/Ordinary/index.d.ts +1 -1
- package/dist/esm/components/Payment/index.d.ts +17 -1
- package/dist/esm/components/ReturnLogistics/index.d.ts +1 -1
- package/dist/esm/components/Submitter/index.d.ts +1 -0
- package/dist/esm/components/Submitter/index.js +8 -0
- package/package.json +2 -2
|
@@ -24,7 +24,7 @@ declare class Alipay implements ComponentInterface {
|
|
|
24
24
|
renderExport: () => null;
|
|
25
25
|
editRender: (value: any) => React.JSX.Element;
|
|
26
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
|
-
searchDefaultConditions: "
|
|
27
|
+
searchDefaultConditions: "eq";
|
|
28
28
|
type: string;
|
|
29
29
|
id: string;
|
|
30
30
|
name: string;
|
|
@@ -39,7 +39,7 @@ declare class Ordinary implements ComponentInterface {
|
|
|
39
39
|
filterComponentType: "Rate";
|
|
40
40
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
41
41
|
} | {
|
|
42
|
-
searchDefaultConditions: "
|
|
42
|
+
searchDefaultConditions: "like";
|
|
43
43
|
type: string;
|
|
44
44
|
id: string;
|
|
45
45
|
name: string;
|
|
@@ -39,7 +39,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
39
39
|
renderExport: () => null;
|
|
40
40
|
editRender: (value: any) => React.JSX.Element;
|
|
41
41
|
filterConfig: (item: ColumnConfig) => ({
|
|
42
|
-
searchDefaultConditions: "
|
|
42
|
+
searchDefaultConditions: "eq";
|
|
43
43
|
type: string;
|
|
44
44
|
id: string;
|
|
45
45
|
name: string;
|
|
@@ -52,6 +52,21 @@ declare class Logistics implements ComponentInterface {
|
|
|
52
52
|
name: string;
|
|
53
53
|
filterComponentType: "Rate";
|
|
54
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[];
|
|
55
70
|
} | {
|
|
56
71
|
searchDefaultConditions: "in";
|
|
57
72
|
type: string;
|
|
@@ -72,6 +87,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
72
87
|
name: string;
|
|
73
88
|
filterComponentType: "Date";
|
|
74
89
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
90
|
+
formatFilterValue: (val: any[]) => number[] | undefined;
|
|
75
91
|
})[];
|
|
76
92
|
}
|
|
77
93
|
export default Logistics;
|
|
@@ -52,6 +52,14 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
52
52
|
props: {
|
|
53
53
|
options: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList
|
|
54
54
|
},
|
|
55
|
+
formatFilterValue: function formatFilterValue(val) {
|
|
56
|
+
return val === null || val === void 0 ? void 0 : val.map(function (v) {
|
|
57
|
+
var _this$effects2, _this$effects2$userLi, _this$effects2$userLi2;
|
|
58
|
+
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) {
|
|
59
|
+
return u.value === v;
|
|
60
|
+
})) === null || _this$effects2$userLi2 === void 0 ? void 0 : _this$effects2$userLi2.label;
|
|
61
|
+
});
|
|
62
|
+
},
|
|
55
63
|
filterFn: function filterFn(value) {
|
|
56
64
|
return function (i) {
|
|
57
65
|
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
|
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.11",
|
|
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": "6e10cd973edb4b9161bc8b0016c8211c211a05e0"
|
|
44
44
|
}
|