@osdk/react-components 0.54.0 → 0.55.0-main-caff0c0ea39b54fba6782b0f2a1514f491afa4c1
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 +8 -0
- package/build/browser/filter-list/FilterList.js.map +1 -1
- package/build/browser/filter-list/FilterListApi.js.map +1 -1
- package/build/browser/filter-list/hooks/useFilterListState.js +92 -16
- package/build/browser/filter-list/hooks/useFilterListState.js.map +1 -1
- package/build/browser/filter-list/types/LinkedFilterTypes.js.map +1 -1
- package/build/browser/object-table/ObjectTableApi.js.map +1 -1
- package/build/browser/public/experimental/filter-list.js.map +1 -1
- package/build/browser/util/UserAgent.js +1 -1
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/chunk-4OB3E6KJ.cjs +11 -0
- package/build/cjs/{chunk-D2XXXPH6.cjs.map → chunk-4OB3E6KJ.cjs.map} +1 -1
- package/build/cjs/chunk-C4M2S3UN.cjs +11 -0
- package/build/cjs/{chunk-EYGD2H45.cjs.map → chunk-C4M2S3UN.cjs.map} +1 -1
- package/build/cjs/chunk-DRCXFM73.cjs +11 -0
- package/build/cjs/{chunk-LJLLTHYK.cjs.map → chunk-DRCXFM73.cjs.map} +1 -1
- package/build/cjs/{chunk-HWY2YSBD.cjs → chunk-GL2UPD5Q.cjs} +4 -4
- package/build/cjs/{chunk-HWY2YSBD.cjs.map → chunk-GL2UPD5Q.cjs.map} +1 -1
- package/build/cjs/{chunk-4QUYZCMR.cjs → chunk-HG2XX6LZ.cjs} +4 -4
- package/build/cjs/{chunk-4QUYZCMR.cjs.map → chunk-HG2XX6LZ.cjs.map} +1 -1
- package/build/cjs/{chunk-EANEZ7DS.cjs → chunk-K6OEAX2T.cjs} +4 -4
- package/build/cjs/{chunk-EANEZ7DS.cjs.map → chunk-K6OEAX2T.cjs.map} +1 -1
- package/build/cjs/{chunk-B2VLYFEO.cjs → chunk-L57CLKED.cjs} +4 -4
- package/build/cjs/{chunk-B2VLYFEO.cjs.map → chunk-L57CLKED.cjs.map} +1 -1
- package/build/cjs/{chunk-JJTZZ4AO.cjs → chunk-LUHPM2MY.cjs} +91 -20
- package/build/cjs/chunk-LUHPM2MY.cjs.map +1 -0
- package/build/cjs/{chunk-RCPPRRRK.cjs → chunk-R3KKO3FP.cjs} +4 -4
- package/build/cjs/{chunk-RCPPRRRK.cjs.map → chunk-R3KKO3FP.cjs.map} +1 -1
- package/build/cjs/{chunk-G7M3NOUP.cjs → chunk-WATCUA6R.cjs} +3 -3
- package/build/cjs/chunk-WATCUA6R.cjs.map +1 -0
- package/build/cjs/chunk-WTIDFE4H.cjs +11 -0
- package/build/cjs/{chunk-NX3YZIHN.cjs.map → chunk-WTIDFE4H.cjs.map} +1 -1
- package/build/cjs/{chunk-R6TVZR37.cjs → chunk-YCBXWCQB.cjs} +4 -4
- package/build/cjs/{chunk-R6TVZR37.cjs.map → chunk-YCBXWCQB.cjs.map} +1 -1
- package/build/cjs/{chunk-LCSQHTQ2.cjs → chunk-YU4NMPPG.cjs} +4 -4
- package/build/cjs/{chunk-LCSQHTQ2.cjs.map → chunk-YU4NMPPG.cjs.map} +1 -1
- package/build/cjs/{chunk-USKT6B3H.cjs → chunk-Z3LAOM6L.cjs} +4 -4
- package/build/cjs/{chunk-USKT6B3H.cjs.map → chunk-Z3LAOM6L.cjs.map} +1 -1
- package/build/cjs/public/experimental/action-form.cjs +4 -4
- package/build/cjs/public/experimental/cbac-picker.cjs +11 -11
- package/build/cjs/public/experimental/document-viewer.cjs +4 -4
- package/build/cjs/public/experimental/email-viewer.cjs +3 -3
- package/build/cjs/public/experimental/filter-list.cjs +15 -15
- package/build/cjs/public/experimental/filter-list.d.cts +66 -12
- package/build/cjs/public/experimental/image-viewer.cjs +3 -3
- package/build/cjs/public/experimental/markdown-renderer.cjs +5 -5
- package/build/cjs/public/experimental/object-table.cjs +22 -22
- package/build/cjs/public/experimental/object-table.d.cts +0 -1
- package/build/cjs/public/experimental/pdf-viewer.cjs +7 -7
- package/build/cjs/public/experimental/spreadsheet-viewer.cjs +3 -3
- package/build/cjs/public/experimental/tiff-renderer.cjs +5 -5
- package/build/cjs/public/experimental/video-viewer.cjs +3 -3
- package/build/cjs/public/experimental/xml-viewer.cjs +3 -3
- package/build/cjs/public/experimental.cjs +76 -76
- package/build/cjs/public/experimental.d.cts +1 -1
- package/build/esm/filter-list/FilterList.js.map +1 -1
- package/build/esm/filter-list/FilterListApi.js.map +1 -1
- package/build/esm/filter-list/hooks/useFilterListState.js +92 -16
- package/build/esm/filter-list/hooks/useFilterListState.js.map +1 -1
- package/build/esm/filter-list/types/LinkedFilterTypes.js.map +1 -1
- package/build/esm/object-table/ObjectTableApi.js.map +1 -1
- package/build/esm/public/experimental/filter-list.js.map +1 -1
- package/build/esm/util/UserAgent.js +1 -1
- package/build/esm/util/UserAgent.js.map +1 -1
- package/build/types/filter-list/FilterList.d.ts.map +1 -1
- package/build/types/filter-list/FilterListApi.d.ts +56 -10
- package/build/types/filter-list/FilterListApi.d.ts.map +1 -1
- package/build/types/filter-list/hooks/useFilterListState.d.ts.map +1 -1
- package/build/types/filter-list/types/LinkedFilterTypes.d.ts +1 -1
- package/build/types/object-table/ObjectTableApi.d.ts +0 -1
- package/build/types/object-table/ObjectTableApi.d.ts.map +1 -1
- package/build/types/public/experimental/filter-list.d.ts +1 -1
- package/build/types/public/experimental/filter-list.d.ts.map +1 -1
- package/docs/FilterList.md +93 -27
- package/docs/ObjectTable.md +1 -1
- package/docs/ObjectTableOverview.md +1 -1
- package/package.json +4 -4
- package/build/cjs/chunk-D2XXXPH6.cjs +0 -11
- package/build/cjs/chunk-EYGD2H45.cjs +0 -11
- package/build/cjs/chunk-G7M3NOUP.cjs.map +0 -1
- package/build/cjs/chunk-JJTZZ4AO.cjs.map +0 -1
- package/build/cjs/chunk-LJLLTHYK.cjs +0 -11
- package/build/cjs/chunk-NX3YZIHN.cjs +0 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYU4NMPPG_cjs = require('../../chunk-YU4NMPPG.cjs');
|
|
4
4
|
require('../../chunk-WBLPQ375.cjs');
|
|
5
5
|
require('../../chunk-HC3KLZHF.cjs');
|
|
6
6
|
require('../../chunk-3KMJ6NKF.cjs');
|
|
@@ -10,18 +10,18 @@ require('../../chunk-HNBSGCSZ.cjs');
|
|
|
10
10
|
require('../../chunk-7LXS66DW.cjs');
|
|
11
11
|
require('../../chunk-QP2LHBCZ.cjs');
|
|
12
12
|
require('../../chunk-UCTQICPR.cjs');
|
|
13
|
-
require('../../chunk-
|
|
13
|
+
require('../../chunk-WATCUA6R.cjs');
|
|
14
14
|
require('../../chunk-PZPCRXSV.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "ActionForm", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkYU4NMPPG_cjs.ActionForm; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "BaseForm", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkYU4NMPPG_cjs.BaseForm; }
|
|
25
25
|
});
|
|
26
26
|
//# sourceMappingURL=action-form.cjs.map
|
|
27
27
|
//# sourceMappingURL=action-form.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkK6OEAX2T_cjs = require('../../chunk-K6OEAX2T.cjs');
|
|
4
4
|
var chunkAMIL4453_cjs = require('../../chunk-AMIL4453.cjs');
|
|
5
5
|
require('../../chunk-VFRZREZV.cjs');
|
|
6
6
|
require('../../chunk-C6IPNPMZ.cjs');
|
|
@@ -8,46 +8,46 @@ require('../../chunk-DWNKXV5E.cjs');
|
|
|
8
8
|
require('../../chunk-HNBSGCSZ.cjs');
|
|
9
9
|
require('../../chunk-7LXS66DW.cjs');
|
|
10
10
|
require('../../chunk-QP2LHBCZ.cjs');
|
|
11
|
-
require('../../chunk-
|
|
11
|
+
require('../../chunk-WATCUA6R.cjs');
|
|
12
12
|
require('../../chunk-PZPCRXSV.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "BaseCbacPicker", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkK6OEAX2T_cjs.BaseCbacPicker; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "BaseCbacPickerDialog", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkK6OEAX2T_cjs.BaseCbacPickerDialog; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "CbacBannerPopover", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkK6OEAX2T_cjs.CbacBannerPopover; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "CbacPicker", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkK6OEAX2T_cjs.CbacPicker; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "CbacPickerDialog", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkK6OEAX2T_cjs.CbacPickerDialog; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "MaxClassificationField", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkK6OEAX2T_cjs.MaxClassificationField; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "computeMarkingStates", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkK6OEAX2T_cjs.computeMarkingStates; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "groupMarkingsByCategory", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkK6OEAX2T_cjs.groupMarkingsByCategory; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "toggleMarking", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkK6OEAX2T_cjs.toggleMarking; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "BaseCbacBanner", {
|
|
53
53
|
enumerable: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGL2UPD5Q_cjs = require('../../chunk-GL2UPD5Q.cjs');
|
|
4
4
|
require('../../chunk-KHMOMROL.cjs');
|
|
5
5
|
require('../../chunk-RVZE7LPI.cjs');
|
|
6
6
|
require('../../chunk-VOROB7KJ.cjs');
|
|
@@ -11,18 +11,18 @@ require('../../chunk-DTYFQRFD.cjs');
|
|
|
11
11
|
require('../../chunk-UCTQICPR.cjs');
|
|
12
12
|
require('../../chunk-PA7IYPBX.cjs');
|
|
13
13
|
require('../../chunk-MVQKV5BJ.cjs');
|
|
14
|
-
require('../../chunk-
|
|
14
|
+
require('../../chunk-WATCUA6R.cjs');
|
|
15
15
|
require('../../chunk-PZPCRXSV.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "DocumentViewer", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkGL2UPD5Q_cjs.DocumentViewer; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ViewerType", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkGL2UPD5Q_cjs.ViewerType; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=document-viewer.cjs.map
|
|
28
28
|
//# sourceMappingURL=document-viewer.cjs.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWTIDFE4H_cjs = require('../../chunk-WTIDFE4H.cjs');
|
|
4
4
|
var chunkPA7IYPBX_cjs = require('../../chunk-PA7IYPBX.cjs');
|
|
5
5
|
require('../../chunk-MVQKV5BJ.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-WATCUA6R.cjs');
|
|
7
7
|
require('../../chunk-PZPCRXSV.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "EmailViewer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkWTIDFE4H_cjs.EmailViewer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "BaseEmailViewer", {
|
|
16
16
|
enumerable: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLUHPM2MY_cjs = require('../../chunk-LUHPM2MY.cjs');
|
|
4
4
|
require('../../chunk-HWBCFCBO.cjs');
|
|
5
5
|
require('../../chunk-WBLPQ375.cjs');
|
|
6
6
|
require('../../chunk-3KMJ6NKF.cjs');
|
|
@@ -10,62 +10,62 @@ require('../../chunk-DWNKXV5E.cjs');
|
|
|
10
10
|
require('../../chunk-7LXS66DW.cjs');
|
|
11
11
|
require('../../chunk-QP2LHBCZ.cjs');
|
|
12
12
|
require('../../chunk-UCTQICPR.cjs');
|
|
13
|
-
require('../../chunk-
|
|
13
|
+
require('../../chunk-WATCUA6R.cjs');
|
|
14
14
|
require('../../chunk-PZPCRXSV.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "BaseFilterList", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkLUHPM2MY_cjs.BaseFilterList; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "FilterInput", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkLUHPM2MY_cjs.FilterInput; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "FilterList", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkLUHPM2MY_cjs.FilterList; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "FilterPopover", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkLUHPM2MY_cjs.FilterPopover; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "NO_VALUE", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkLUHPM2MY_cjs.NO_VALUE; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "deserializeFilterStates", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkLUHPM2MY_cjs.deserializeFilterStates; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "filterHasActiveState", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkLUHPM2MY_cjs.filterHasActiveState; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "getFilterKey", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkLUHPM2MY_cjs.getFilterKey; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "getFilterLabel", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkLUHPM2MY_cjs.getFilterLabel; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "narrowObjectSet", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkLUHPM2MY_cjs.narrowObjectSet; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "serializeFilterStates", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkLUHPM2MY_cjs.serializeFilterStates; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "summarizeFilterValue", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkLUHPM2MY_cjs.summarizeFilterValue; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "useFilterListState", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkLUHPM2MY_cjs.useFilterListState; }
|
|
69
69
|
});
|
|
70
70
|
//# sourceMappingURL=filter-list.cjs.map
|
|
71
71
|
//# sourceMappingURL=filter-list.cjs.map
|
|
@@ -110,7 +110,7 @@ interface KeywordSearchFilterDefinition<Q extends ObjectTypeDefinition, K extend
|
|
|
110
110
|
*/
|
|
111
111
|
type LinkedFilter<Q extends ObjectTypeDefinition> = {
|
|
112
112
|
[L in LinkNames<Q>]: {
|
|
113
|
-
/**
|
|
113
|
+
/** The filter definition's `getFilterKey` value. */
|
|
114
114
|
id: string;
|
|
115
115
|
linkName: L;
|
|
116
116
|
/**
|
|
@@ -629,14 +629,54 @@ type DistributeLinkedProperty<Q extends ObjectTypeDefinition, L extends LinkName
|
|
|
629
629
|
*/
|
|
630
630
|
type FilterDefinitionUnion<Q extends ObjectTypeDefinition> = PropertyFilterDefinition<Q> | HasLinkFilterDefinition<Q> | DistributeLinkedProperty<Q, LinkNames<Q>> | KeywordSearchFilterDefinition<Q> | CustomFilterDefinition<Q> | StaticValuesFilterDefinition<Q>;
|
|
631
631
|
/**
|
|
632
|
-
*
|
|
632
|
+
* The filter state after a change, in one payload.
|
|
633
633
|
*/
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
634
|
+
interface FilterChangeSnapshot<Q extends ObjectTypeDefinition> {
|
|
635
|
+
/**
|
|
636
|
+
* The combined clause for all active filters.
|
|
637
|
+
*
|
|
638
|
+
* `HAS_LINK` and `LINKED_PROPERTY` filters are not represented in the clause —
|
|
639
|
+
* read `filteredObjectSet` for those.
|
|
640
|
+
*/
|
|
641
|
+
filterClause: WhereClause<Q>;
|
|
642
|
+
/**
|
|
643
|
+
* The `objectSet` prop filtered by all active filters, including `HAS_LINK`
|
|
644
|
+
* and `LINKED_PROPERTY`, or `undefined` when no `objectSet` was supplied.
|
|
645
|
+
*/
|
|
646
|
+
filteredObjectSet: ObjectSet<Q> | undefined;
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* What the user did to the filter state.
|
|
650
|
+
*/
|
|
651
|
+
type FilterChangeReason =
|
|
652
|
+
/** A filter's state was set — selected values changed, include/exclude mode toggled, or filter cleared. */
|
|
653
|
+
{
|
|
654
|
+
type: "FILTER_STATE_CHANGED";
|
|
655
|
+
filterKey: string;
|
|
656
|
+
newState: FilterState;
|
|
657
|
+
}
|
|
658
|
+
/** A filter was removed from the list. */
|
|
659
|
+
| {
|
|
660
|
+
type: "FILTER_REMOVED";
|
|
661
|
+
filterKey: string;
|
|
662
|
+
}
|
|
663
|
+
/** Every filter was restored to the state it mounted with. */
|
|
664
|
+
| {
|
|
665
|
+
type: "FILTER_LIST_RESET";
|
|
666
|
+
}
|
|
667
|
+
/** The list mounted, reporting the state it started with. */
|
|
668
|
+
| {
|
|
669
|
+
type: "FILTER_LIST_INITIALIZED";
|
|
670
|
+
};
|
|
671
|
+
/**
|
|
672
|
+
* The payload delivered to `onFilterListChanged`.
|
|
673
|
+
*/
|
|
674
|
+
interface FilterChangeEvent<Q extends ObjectTypeDefinition> {
|
|
675
|
+
/** The filter state the change produced. */
|
|
676
|
+
snapshot: FilterChangeSnapshot<Q>;
|
|
677
|
+
/** What changed. */
|
|
678
|
+
reason: FilterChangeReason;
|
|
679
|
+
}
|
|
640
680
|
interface FilterListProps<Q extends ObjectTypeDefinition> {
|
|
641
681
|
/**
|
|
642
682
|
* The object type definition for the objects being filtered.
|
|
@@ -658,6 +698,8 @@ interface FilterListProps<Q extends ObjectTypeDefinition> {
|
|
|
658
698
|
* — use `onEffectiveObjectSet` for those.
|
|
659
699
|
*
|
|
660
700
|
* @param newClause The updated filter clause
|
|
701
|
+
* @deprecated Use `onFilterListChanged`, whose `snapshot` reports the clause
|
|
702
|
+
* alongside the filtered `ObjectSet`.
|
|
661
703
|
*/
|
|
662
704
|
onFilterClauseChanged?: (newClause: WhereClause<Q>) => void;
|
|
663
705
|
/**
|
|
@@ -678,12 +720,24 @@ interface FilterListProps<Q extends ObjectTypeDefinition> {
|
|
|
678
720
|
*
|
|
679
721
|
* @param definition The filter definition whose state changed
|
|
680
722
|
* @param newState The updated filter state
|
|
723
|
+
* @deprecated Use `onFilterListChanged`, which reports every set / clear / reset
|
|
724
|
+
* with an `event` describing what changed.
|
|
681
725
|
*/
|
|
682
726
|
onFilterStateChanged?: (definition: FilterDefinitionUnion<Q>, newState: FilterState) => void;
|
|
727
|
+
/**
|
|
728
|
+
* Called on filter init and when filter state changes.
|
|
729
|
+
*
|
|
730
|
+
* @param event `snapshot` carries the filter state the change produced;
|
|
731
|
+
* `reason` carries what changed.
|
|
732
|
+
*/
|
|
733
|
+
onFilterListChanged?: (event: FilterChangeEvent<Q>) => void;
|
|
683
734
|
/**
|
|
684
735
|
* Called with the narrowed `ObjectSet` whenever filters change. Requires
|
|
685
736
|
* `objectSet` to be set. `HAS_LINK` and `LINKED_PROPERTY` filters narrow only
|
|
686
737
|
* here, never through the filter clause.
|
|
738
|
+
*
|
|
739
|
+
* @deprecated Use `onFilterListChanged`, whose `snapshot.filteredObjectSet`
|
|
740
|
+
* reports the same narrowed set alongside the clause.
|
|
687
741
|
*/
|
|
688
742
|
onEffectiveObjectSet?: (objectSet: ObjectSet<Q>) => void;
|
|
689
743
|
/**
|
|
@@ -715,7 +769,7 @@ interface FilterListProps<Q extends ObjectTypeDefinition> {
|
|
|
715
769
|
* @param newDefinitions Deprecated. The `filterDefinitions` you passed in,
|
|
716
770
|
* unchanged — not the post-add state. Use `onFilterVisibilityChange`.
|
|
717
771
|
*/
|
|
718
|
-
onFilterAdded?: (filterKey:
|
|
772
|
+
onFilterAdded?: (filterKey: string,
|
|
719
773
|
/** @deprecated Use `onFilterVisibilityChange`. */
|
|
720
774
|
newDefinitions: Array<FilterDefinitionUnion<Q>>) => void;
|
|
721
775
|
/**
|
|
@@ -724,7 +778,7 @@ interface FilterListProps<Q extends ObjectTypeDefinition> {
|
|
|
724
778
|
*
|
|
725
779
|
* @param filterKey The key of the removed filter
|
|
726
780
|
*/
|
|
727
|
-
onFilterRemoved?: (filterKey:
|
|
781
|
+
onFilterRemoved?: (filterKey: string) => void;
|
|
728
782
|
/**
|
|
729
783
|
* Called when filter visibility or ordering changes, i.e. when filters are
|
|
730
784
|
* reordered, added or removed via the built-in show/remove controls, or
|
|
@@ -737,7 +791,7 @@ interface FilterListProps<Q extends ObjectTypeDefinition> {
|
|
|
737
791
|
* @param newStates The filters in current display order with their visibility state
|
|
738
792
|
*/
|
|
739
793
|
onFilterVisibilityChange?: (newStates: Array<{
|
|
740
|
-
filterKey:
|
|
794
|
+
filterKey: string;
|
|
741
795
|
isVisible: boolean;
|
|
742
796
|
}>) => void;
|
|
743
797
|
/**
|
|
@@ -919,4 +973,4 @@ declare function narrowObjectSet<Q extends ObjectTypeDefinition>(objectSet: Obje
|
|
|
919
973
|
|
|
920
974
|
declare const FilterList: typeof FilterList$1;
|
|
921
975
|
|
|
922
|
-
export { BaseFilterList, type BaseFilterListProps, type FilterComponentType, type FilterDefinitionControls, type FilterDefinitionUnion, FilterInput, type FilterInputProps, FilterList, type FilterListProps, FilterPopover, type FilterPopoverProps, type FilterState, type LinkedFilter, NO_VALUE, type PropertyFilterDefinition, type RenderFilterInput, type UseFilterListStateResult, deserializeFilterStates, filterHasActiveState, getFilterKey, getFilterLabel, narrowObjectSet, serializeFilterStates, summarizeFilterValue, useFilterListState };
|
|
976
|
+
export { BaseFilterList, type BaseFilterListProps, type FilterChangeEvent, type FilterChangeReason, type FilterChangeSnapshot, type FilterComponentType, type FilterDefinitionControls, type FilterDefinitionUnion, FilterInput, type FilterInputProps, FilterList, type FilterListProps, FilterPopover, type FilterPopoverProps, type FilterState, type LinkedFilter, NO_VALUE, type PropertyFilterDefinition, type RenderFilterInput, type UseFilterListStateResult, deserializeFilterStates, filterHasActiveState, getFilterKey, getFilterLabel, narrowObjectSet, serializeFilterStates, summarizeFilterValue, useFilterListState };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDRCXFM73_cjs = require('../../chunk-DRCXFM73.cjs');
|
|
4
4
|
var chunkVOROB7KJ_cjs = require('../../chunk-VOROB7KJ.cjs');
|
|
5
5
|
require('../../chunk-MVQKV5BJ.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-WATCUA6R.cjs');
|
|
7
7
|
require('../../chunk-PZPCRXSV.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "ImageViewer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkDRCXFM73_cjs.ImageViewer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "BaseImageViewer", {
|
|
16
16
|
enumerable: true,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYCBXWCQB_cjs = require('../../chunk-YCBXWCQB.cjs');
|
|
4
4
|
var chunkKFV264XS_cjs = require('../../chunk-KFV264XS.cjs');
|
|
5
5
|
require('../../chunk-MVQKV5BJ.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-WATCUA6R.cjs');
|
|
7
7
|
require('../../chunk-PZPCRXSV.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYCBXWCQB_cjs.MarkdownRenderer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "MarkdownViewer", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYCBXWCQB_cjs.MarkdownViewer; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "MarkdownViewerMedia", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYCBXWCQB_cjs.MarkdownViewerMedia; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "BaseMarkdownViewer", {
|
|
24
24
|
enumerable: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZ3LAOM6L_cjs = require('../../chunk-Z3LAOM6L.cjs');
|
|
4
4
|
require('../../chunk-HWBCFCBO.cjs');
|
|
5
5
|
require('../../chunk-HC3KLZHF.cjs');
|
|
6
6
|
require('../../chunk-3KMJ6NKF.cjs');
|
|
@@ -12,90 +12,90 @@ require('../../chunk-DWNKXV5E.cjs');
|
|
|
12
12
|
require('../../chunk-HNBSGCSZ.cjs');
|
|
13
13
|
require('../../chunk-7LXS66DW.cjs');
|
|
14
14
|
require('../../chunk-QP2LHBCZ.cjs');
|
|
15
|
-
require('../../chunk-
|
|
15
|
+
require('../../chunk-WATCUA6R.cjs');
|
|
16
16
|
require('../../chunk-PZPCRXSV.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
Object.defineProperty(exports, "BaseTable", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkZ3LAOM6L_cjs.BaseTable; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ColumnConfigDialog", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkZ3LAOM6L_cjs.ColumnConfigDialog; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "LoadingCell", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkZ3LAOM6L_cjs.LoadingCell; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "LoadingCellContent", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkZ3LAOM6L_cjs.LoadingCellContent; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "MultiColumnSortDialog", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkZ3LAOM6L_cjs.MultiColumnSortDialog; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "ObjectTable", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkZ3LAOM6L_cjs.ObjectTable; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "useCellContextMenu", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkZ3LAOM6L_cjs.useCellContextMenu; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "useColumnDefs", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkZ3LAOM6L_cjs.useColumnDefs; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "useColumnPinning", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkZ3LAOM6L_cjs.useColumnPinning; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "useColumnResize", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkZ3LAOM6L_cjs.useColumnResize; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "useColumnVisibility", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkZ3LAOM6L_cjs.useColumnVisibility; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "useEditableTable", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkZ3LAOM6L_cjs.useEditableTable; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "useFocusedRow", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkZ3LAOM6L_cjs.useFocusedRow; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "useFunctionColumnsData", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkZ3LAOM6L_cjs.useFunctionColumnsData; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "useLoadedObjectsChanged", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkZ3LAOM6L_cjs.useLoadedObjectsChanged; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "useObjectTableData", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkZ3LAOM6L_cjs.useObjectTableData; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "useObjectTableSnapshot", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkZ3LAOM6L_cjs.useObjectTableSnapshot; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "useRowSelection", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkZ3LAOM6L_cjs.useRowSelection; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "useSelectionColumn", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkZ3LAOM6L_cjs.useSelectionColumn; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "useTableSorting", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkZ3LAOM6L_cjs.useTableSorting; }
|
|
99
99
|
});
|
|
100
100
|
//# sourceMappingURL=object-table.cjs.map
|
|
101
101
|
//# sourceMappingURL=object-table.cjs.map
|
|
@@ -413,7 +413,6 @@ interface ObjectTableProps<Q extends ObjectOrInterfaceDefinition, RDPs extends R
|
|
|
413
413
|
pageSize?: number;
|
|
414
414
|
/**
|
|
415
415
|
* The current where clause to filter the objects in the table.
|
|
416
|
-
* If provided, the filter is controlled.
|
|
417
416
|
*/
|
|
418
417
|
filter?: WhereClause<Q, RDPs>;
|
|
419
418
|
/**
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkR3KKO3FP_cjs = require('../../chunk-R3KKO3FP.cjs');
|
|
4
4
|
var chunkHVJTECCC_cjs = require('../../chunk-HVJTECCC.cjs');
|
|
5
|
-
require('../../chunk-
|
|
5
|
+
require('../../chunk-WATCUA6R.cjs');
|
|
6
6
|
require('../../chunk-PZPCRXSV.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "PdfViewer", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkR3KKO3FP_cjs.PdfViewer; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "PdfViewerContent", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkR3KKO3FP_cjs.PdfViewerContent; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "PdfViewerProvider", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkR3KKO3FP_cjs.PdfViewerProvider; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "usePdfViewerContext", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkR3KKO3FP_cjs.usePdfViewerContext; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "usePdfViewerInstance", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkR3KKO3FP_cjs.usePdfViewerInstance; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "BasePdfViewer", {
|
|
31
31
|
enumerable: true,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkL57CLKED_cjs = require('../../chunk-L57CLKED.cjs');
|
|
4
4
|
var chunkVWHXC6MQ_cjs = require('../../chunk-VWHXC6MQ.cjs');
|
|
5
5
|
require('../../chunk-MVQKV5BJ.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-WATCUA6R.cjs');
|
|
7
7
|
require('../../chunk-PZPCRXSV.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "SpreadsheetViewer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkL57CLKED_cjs.SpreadsheetViewer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "BaseSpreadsheetViewer", {
|
|
16
16
|
enumerable: true,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHG2XX6LZ_cjs = require('../../chunk-HG2XX6LZ.cjs');
|
|
4
4
|
var chunkDTYFQRFD_cjs = require('../../chunk-DTYFQRFD.cjs');
|
|
5
5
|
require('../../chunk-MVQKV5BJ.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-WATCUA6R.cjs');
|
|
7
7
|
require('../../chunk-PZPCRXSV.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "TiffRenderer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkHG2XX6LZ_cjs.TiffRenderer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "TiffViewer", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkHG2XX6LZ_cjs.TiffViewer; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "TiffViewerMedia", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkHG2XX6LZ_cjs.TiffViewerMedia; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "BaseTiffViewer", {
|
|
24
24
|
enumerable: true,
|