@monolith-forensics/monolith-ui 1.2.86 → 1.2.88

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.
@@ -267,18 +267,14 @@ const TableProvider = (_a) => {
267
267
  break;
268
268
  case "contains":
269
269
  processedData = processedData.filter((row) => {
270
- var _a;
271
- return row[dataField]
272
- .toLowerCase()
273
- .includes((_a = value[0]) === null || _a === void 0 ? void 0 : _a.toString().toLowerCase());
270
+ var _a, _b;
271
+ return (_a = row[dataField]) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes((_b = value[0]) === null || _b === void 0 ? void 0 : _b.toString().toLowerCase());
274
272
  });
275
273
  break;
276
274
  case "doesNotContain":
277
275
  processedData = processedData.filter((row) => {
278
- var _a;
279
- return !row[dataField]
280
- .toLowerCase()
281
- .includes((_a = value[0]) === null || _a === void 0 ? void 0 : _a.toString().toLowerCase());
276
+ var _a, _b;
277
+ return !((_a = row[dataField]) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes((_b = value[0]) === null || _b === void 0 ? void 0 : _b.toString().toLowerCase()));
282
278
  });
283
279
  break;
284
280
  case "in":
@@ -303,6 +299,16 @@ const TableProvider = (_a) => {
303
299
  return !value.find((v) => v == row[dataField]);
304
300
  });
305
301
  break;
302
+ case "isEmpty":
303
+ processedData = processedData.filter((row) => {
304
+ return !row[dataField];
305
+ });
306
+ break;
307
+ case "isNotEmpty":
308
+ processedData = processedData.filter((row) => {
309
+ return row[dataField];
310
+ });
311
+ break;
306
312
  default:
307
313
  break;
308
314
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "1.2.86",
3
+ "version": "1.2.88",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",