@object-ui/plugin-list 11.5.0 → 13.1.0
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/CHANGELOG.md +37 -0
- package/dist/ListView.d.ts +11 -0
- package/dist/ListView.d.ts.map +1 -1
- package/dist/index.js +629 -625
- package/dist/index.umd.cjs +2 -2
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @object-ui/plugin-list
|
|
2
2
|
|
|
3
|
+
## 13.1.0
|
|
4
|
+
|
|
5
|
+
## 13.0.0
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [9e38270]
|
|
10
|
+
- Updated dependencies [ac04b76]
|
|
11
|
+
- Updated dependencies [619097e]
|
|
12
|
+
- @object-ui/i18n@13.0.0
|
|
13
|
+
- @object-ui/components@13.0.0
|
|
14
|
+
- @object-ui/types@13.0.0
|
|
15
|
+
- @object-ui/fields@13.0.0
|
|
16
|
+
- @object-ui/react@13.0.0
|
|
17
|
+
- @object-ui/core@13.0.0
|
|
18
|
+
- @object-ui/mobile@13.0.0
|
|
19
|
+
- @object-ui/permissions@13.0.0
|
|
20
|
+
|
|
21
|
+
## 12.1.0
|
|
22
|
+
|
|
23
|
+
## 12.0.0
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [226fde9]
|
|
28
|
+
- Updated dependencies [e36a9c7]
|
|
29
|
+
- Updated dependencies [e4de456]
|
|
30
|
+
- Updated dependencies [68e2d1c]
|
|
31
|
+
- @object-ui/types@12.0.0
|
|
32
|
+
- @object-ui/core@12.0.0
|
|
33
|
+
- @object-ui/components@12.0.0
|
|
34
|
+
- @object-ui/fields@12.0.0
|
|
35
|
+
- @object-ui/mobile@12.0.0
|
|
36
|
+
- @object-ui/permissions@12.0.0
|
|
37
|
+
- @object-ui/react@12.0.0
|
|
38
|
+
- @object-ui/i18n@12.0.0
|
|
39
|
+
|
|
3
40
|
## 11.5.0
|
|
4
41
|
|
|
5
42
|
## 11.4.0
|
package/dist/ListView.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FilterGroup } from '@object-ui/components';
|
|
1
2
|
import { ViewType } from './ViewSwitcher';
|
|
2
3
|
import { ListViewSchema } from '@object-ui/types';
|
|
3
4
|
/**
|
|
@@ -32,6 +33,15 @@ export interface ListViewProps {
|
|
|
32
33
|
userFilterSelections?: Record<string, Array<string | number | boolean>>;
|
|
33
34
|
/** Fires with the raw user-filter selections whenever the user changes them. */
|
|
34
35
|
onUserFilterSelectionsChange?: (selections: Record<string, Array<string | number | boolean>>) => void;
|
|
36
|
+
/**
|
|
37
|
+
* Initial advanced-filter (FilterBuilder) group to restore at mount, e.g.
|
|
38
|
+
* from a per-user localStorage cache. Read once by the lazy initializer —
|
|
39
|
+
* later prop changes don't override in-flight user edits, so hosts remount
|
|
40
|
+
* (via `key`) when they need to swap the restored value (view switch).
|
|
41
|
+
*/
|
|
42
|
+
initialFilters?: FilterGroup;
|
|
43
|
+
/** Initial search term to restore at mount (same one-shot semantics as `initialFilters`). */
|
|
44
|
+
initialSearchTerm?: string;
|
|
35
45
|
[key: string]: any;
|
|
36
46
|
}
|
|
37
47
|
/**
|
|
@@ -45,6 +55,7 @@ export declare function normalizeFilterCondition(condition: any[]): any[];
|
|
|
45
55
|
* and ensuring consistent AST structure.
|
|
46
56
|
*/
|
|
47
57
|
export declare function normalizeFilters(filters: any[]): any[];
|
|
58
|
+
export declare function convertFilterGroupToAST(group: FilterGroup): any[];
|
|
48
59
|
/**
|
|
49
60
|
* Evaluate conditional formatting rules against a record.
|
|
50
61
|
* Returns a CSSProperties object for the first matching rule, or empty object.
|
package/dist/ListView.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../src/ListView.tsx"],"names":[],"mappings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