@kmkf-fe-packages/services-components 0.7.5-alpha.11 → 0.7.5-alpha.12

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.
@@ -26,6 +26,7 @@ declare class ActualPayment implements ComponentInterface {
26
26
  rules: {
27
27
  validator: (_: any, value: Array<number>) => Promise<void>;
28
28
  }[];
29
+ formatFilterValue: (val: Array<number | null>) => never[] | undefined;
29
30
  filterFn: (value: string) => (i: Record) => boolean;
30
31
  };
31
32
  }
@@ -113,6 +113,13 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
113
113
  return validator;
114
114
  }()
115
115
  }],
116
+ formatFilterValue: function formatFilterValue(val) {
117
+ if (val !== null && val !== void 0 && val.some(function (v) {
118
+ return isNull(v);
119
+ })) {
120
+ return [];
121
+ }
122
+ },
116
123
  filterFn: function filterFn(value) {
117
124
  return function (i) {
118
125
  return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'actualPayment')).includes(value);
@@ -29,6 +29,7 @@ declare class OrdinaryMoney implements ComponentInterface {
29
29
  rules: {
30
30
  validator: (_: any, value: Array<number>) => Promise<void>;
31
31
  }[];
32
+ formatFilterValue: (val: Array<number | null>) => never[] | undefined;
32
33
  filterFn: (value: string) => (i: Record) => boolean;
33
34
  };
34
35
  }
@@ -110,6 +110,13 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
110
110
  return validator;
111
111
  }()
112
112
  }],
113
+ formatFilterValue: function formatFilterValue(val) {
114
+ if (val !== null && val !== void 0 && val.some(function (v) {
115
+ return isNull(v);
116
+ })) {
117
+ return [];
118
+ }
119
+ },
113
120
  filterFn: function filterFn(value) {
114
121
  return function (i) {
115
122
  return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'ordinaryMoney')).includes(value);
@@ -28,6 +28,7 @@ declare class PaymentAmount implements ComponentInterface {
28
28
  rules: {
29
29
  validator: (_: any, value: Array<number>) => Promise<void>;
30
30
  }[];
31
+ formatFilterValue: (val: Array<number | null>) => never[] | undefined;
31
32
  filterFn: (value: string) => (i: Record) => boolean;
32
33
  };
33
34
  }
@@ -109,6 +109,13 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
109
109
  return validator;
110
110
  }()
111
111
  }],
112
+ formatFilterValue: function formatFilterValue(val) {
113
+ if (val !== null && val !== void 0 && val.some(function (v) {
114
+ return isNull(v);
115
+ })) {
116
+ return [];
117
+ }
118
+ },
112
119
  filterFn: function filterFn(value) {
113
120
  return function (i) {
114
121
  return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentRefundFee')).includes(value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.7.5-alpha.11",
3
+ "version": "0.7.5-alpha.12",
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": "36be14b90e0c52a19dc2ca6e24975384ee9da34e"
43
+ "gitHead": "9743d51742f764f09c76e75bad29ad9004249c46"
44
44
  }