@kmkf-fe-packages/services-components 2.9.1-beta.1 → 2.9.1-beta.3
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.
|
@@ -101,7 +101,8 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
101
101
|
return [{
|
|
102
102
|
searchDefaultConditions: {
|
|
103
103
|
in: SYMBOL.in,
|
|
104
|
-
anylike: SYMBOL.anylike
|
|
104
|
+
anylike: SYMBOL.anylike,
|
|
105
|
+
nincludeLike: SYMBOL.nincludeLike
|
|
105
106
|
},
|
|
106
107
|
type: item.type,
|
|
107
108
|
id: "".concat(item.id, "_remark"),
|
|
@@ -118,8 +119,10 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
118
119
|
};
|
|
119
120
|
},
|
|
120
121
|
formatFilterValue: function formatFilterValue(value) {
|
|
121
|
-
if (['in', 'anylike'
|
|
122
|
+
if (['in', 'anylike'].includes(value.type)) {
|
|
122
123
|
return batchInput(value.keywords);
|
|
124
|
+
} else if ('nincludeLike' === value.type) {
|
|
125
|
+
return value.keywords;
|
|
123
126
|
} else {
|
|
124
127
|
return value;
|
|
125
128
|
}
|
package/dist/esm/constant.d.ts
CHANGED
package/dist/esm/constant.js
CHANGED
|
@@ -11,7 +11,8 @@ export var SYMBOL = {
|
|
|
11
11
|
nin: "nin",
|
|
12
12
|
anylike: "anylike",
|
|
13
13
|
non: "non",
|
|
14
|
-
notnull: "notnull"
|
|
14
|
+
notnull: "notnull",
|
|
15
|
+
nincludeLike: "nincludeLike"
|
|
15
16
|
};
|
|
16
17
|
export var batchInput = function batchInput(val) {
|
|
17
18
|
return val ? val.split(/[,|,|\s|\n|\r]/).filter(function (t) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "2.9.1-beta.
|
|
3
|
+
"version": "2.9.1-beta.3",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "48bf3378988df967c79a46057da2d5620cd4e032",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|