@kmkf-fe-packages/services-components 0.13.0-beta.1 → 0.13.0-beta.2
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.
|
@@ -25,7 +25,14 @@ declare class CommonMultiStatus implements ComponentInterface {
|
|
|
25
25
|
type: string;
|
|
26
26
|
id: string;
|
|
27
27
|
name: string;
|
|
28
|
-
filterComponentType: "Input";
|
|
28
|
+
filterComponentType: "MultipleSelect" | "Input";
|
|
29
|
+
props: {
|
|
30
|
+
options: any[] | undefined;
|
|
31
|
+
fieldNames: {
|
|
32
|
+
label: string;
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
29
36
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
30
37
|
};
|
|
31
38
|
}
|
|
@@ -162,13 +162,20 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
|
|
|
162
162
|
});
|
|
163
163
|
});
|
|
164
164
|
_defineProperty(this, "filterConfig", function (item) {
|
|
165
|
-
var _typeMap$_this$type18;
|
|
165
|
+
var _typeMap$_this$type18, _item$templateConfig;
|
|
166
166
|
return {
|
|
167
167
|
searchDefaultConditions: SYMBOL.like,
|
|
168
168
|
type: item.type,
|
|
169
169
|
id: "".concat(item.id, "_").concat((_typeMap$_this$type18 = typeMap[_this.type]) === null || _typeMap$_this$type18 === void 0 ? void 0 : _typeMap$_this$type18.code),
|
|
170
170
|
name: "".concat(_this.name),
|
|
171
|
-
filterComponentType: 'Input
|
|
171
|
+
filterComponentType: _this.type === 'WAREHOUSING_STATUS' ? 'MultipleSelect' : "Input",
|
|
172
|
+
props: {
|
|
173
|
+
options: item === null || item === void 0 ? void 0 : (_item$templateConfig = item.templateConfig) === null || _item$templateConfig === void 0 ? void 0 : _item$templateConfig.reasonList,
|
|
174
|
+
fieldNames: {
|
|
175
|
+
label: "label",
|
|
176
|
+
value: "value"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
172
179
|
filterFn: function filterFn(value) {
|
|
173
180
|
return function (i) {
|
|
174
181
|
var _typeMap$_this$type19;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.13.0-beta.
|
|
3
|
+
"version": "0.13.0-beta.2",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"father": "^4.1.7"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@kmkf-fe-packages/basic-components": "^0.13.0-beta.
|
|
29
|
+
"@kmkf-fe-packages/basic-components": "^0.13.0-beta.2",
|
|
30
30
|
"@kmkf-fe-packages/kmkf-utils": "^0.13.0-beta.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"gitHooks": {
|
|
41
41
|
"pre-commit": "lint-staged"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "f6e588014c54ae541f5a33b98ba77452b84aaefc"
|
|
44
44
|
}
|