@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.
@@ -33,6 +33,7 @@ declare class ERemark implements ComponentInterface {
33
33
  searchDefaultConditions: {
34
34
  in: "in";
35
35
  anylike: "anylike";
36
+ nincludeLike: "nincludeLike";
36
37
  };
37
38
  type: string;
38
39
  id: string;
@@ -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', 'nincludeLike'].includes(value.type)) {
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
  }
@@ -12,6 +12,7 @@ export declare const SYMBOL: {
12
12
  anylike: string;
13
13
  non: string;
14
14
  notnull: string;
15
+ nincludeLike: string;
15
16
  };
16
17
  export declare const batchInput: (val: string) => string | string[];
17
18
  export declare const hostUrl = "https://kefu.kuaimai.com";
@@ -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.1",
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": "2c92f4e748e43ec905808c4039fc9752cf1c93d3",
44
+ "gitHead": "48bf3378988df967c79a46057da2d5620cd4e032",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }