@kmkf-fe-packages/services-components 0.7.5-alpha.10 → 0.7.5-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.
|
@@ -100,15 +100,16 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
100
100
|
var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, 'dateTime');
|
|
101
101
|
return _filterFn.filterDateFn(value, recordDateTime);
|
|
102
102
|
};
|
|
103
|
-
}
|
|
103
|
+
},
|
|
104
104
|
// TODO: 自定义时间类型特殊,不需要转换,直接使用 YYYY-MM-DD HH:mm:ss格式查询
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
105
|
+
formatFilterValue: function formatFilterValue(val) {
|
|
106
|
+
if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
|
|
107
|
+
return val === null || val === void 0 ? void 0 : val.map(function (v) {
|
|
108
|
+
return moment(v).valueOf();
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
}
|
|
110
112
|
};
|
|
111
|
-
|
|
112
113
|
if (dateType !== null && dateType !== void 0 && dateType.includes('RANGE')) {
|
|
113
114
|
obj.componentDataType = 'dateArray';
|
|
114
115
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.7.5-alpha.
|
|
3
|
+
"version": "0.7.5-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": "36be14b90e0c52a19dc2ca6e24975384ee9da34e"
|
|
44
44
|
}
|