@vuu-ui/vuu-filters 4.0.0-alpha.22 → 4.0.0-alpha.23

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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.0.0-alpha.22",
2
+ "version": "4.0.0-alpha.23",
3
3
  "main": "./src/index.js",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
@@ -10,19 +10,19 @@
10
10
  "type-defs": "node ../../scripts/build-type-defs.mjs"
11
11
  },
12
12
  "devDependencies": {
13
- "@vuu-ui/vuu-data-types": "4.0.0-alpha.22",
14
- "@vuu-ui/vuu-protocol-types": "4.0.0-alpha.22",
15
- "@vuu-ui/vuu-table-types": "4.0.0-alpha.22",
16
- "@vuu-ui/vuu-filter-types": "4.0.0-alpha.22"
13
+ "@vuu-ui/vuu-data-types": "4.0.0-alpha.23",
14
+ "@vuu-ui/vuu-protocol-types": "4.0.0-alpha.23",
15
+ "@vuu-ui/vuu-table-types": "4.0.0-alpha.23",
16
+ "@vuu-ui/vuu-filter-types": "4.0.0-alpha.23"
17
17
  },
18
18
  "dependencies": {
19
- "@vuu-ui/vuu-context-menu": "4.0.0-alpha.22",
20
- "@vuu-ui/vuu-data-react": "4.0.0-alpha.22",
21
- "@vuu-ui/vuu-filter-parser": "4.0.0-alpha.22",
22
- "@vuu-ui/vuu-popups": "4.0.0-alpha.22",
23
- "@vuu-ui/vuu-ui-controls": "4.0.0-alpha.22",
24
- "@vuu-ui/vuu-table": "4.0.0-alpha.22",
25
- "@vuu-ui/vuu-utils": "4.0.0-alpha.22",
19
+ "@vuu-ui/vuu-context-menu": "4.0.0-alpha.23",
20
+ "@vuu-ui/vuu-data-react": "4.0.0-alpha.23",
21
+ "@vuu-ui/vuu-filter-parser": "4.0.0-alpha.23",
22
+ "@vuu-ui/vuu-popups": "4.0.0-alpha.23",
23
+ "@vuu-ui/vuu-ui-controls": "4.0.0-alpha.23",
24
+ "@vuu-ui/vuu-table": "4.0.0-alpha.23",
25
+ "@vuu-ui/vuu-utils": "4.0.0-alpha.23",
26
26
  "@salt-ds/core": "1.72.0",
27
27
  "@salt-ds/styles": "0.4.1",
28
28
  "@salt-ds/window": "0.1.2"
@@ -0,0 +1,8 @@
1
+ import type { ColumnFilterOp, ColumnFilterValue, FilterContainerFilter } from "@vuu-ui/vuu-filter-types";
2
+ import type { ColumnDescriptor } from "@vuu-ui/vuu-table-types";
3
+ export type SelectableColumnFilterOp = Exclude<ColumnFilterOp, "in">;
4
+ export declare const getColumnFilterOperators: (column: ColumnDescriptor, operators?: readonly SelectableColumnFilterOp[]) => readonly SelectableColumnFilterOp[];
5
+ export declare const getDefaultColumnFilterOperator: (operators: readonly SelectableColumnFilterOp[], operator?: ColumnFilterOp) => SelectableColumnFilterOp;
6
+ export declare const getColumnFilterOperator: (column: ColumnDescriptor, filter?: FilterContainerFilter) => SelectableColumnFilterOp | undefined;
7
+ export declare const getColumnFilterClause: (column: ColumnDescriptor, filter?: FilterContainerFilter) => FilterContainerFilter | undefined;
8
+ export declare const normalizeColumnFilterValue: (operator: ColumnFilterOp, value?: ColumnFilterValue) => ColumnFilterValue;