@mui/x-tree-view 8.1.0 → 8.2.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 +126 -7
- package/RichTreeView/RichTreeView.plugins.d.ts +1 -1
- package/RichTreeView/index.d.ts +2 -2
- package/SimpleTreeView/SimpleTreeView.plugins.d.ts +1 -1
- package/SimpleTreeView/index.d.ts +1 -1
- package/TreeItem/index.d.ts +2 -2
- package/TreeItemDragAndDropOverlay/index.d.ts +1 -1
- package/TreeItemIcon/index.d.ts +1 -1
- package/TreeItemLabelInput/index.d.ts +1 -1
- package/TreeItemProvider/index.d.ts +1 -1
- package/esm/RichTreeView/RichTreeView.plugins.d.ts +1 -1
- package/esm/RichTreeView/index.d.ts +2 -2
- package/esm/SimpleTreeView/SimpleTreeView.plugins.d.ts +1 -1
- package/esm/SimpleTreeView/index.d.ts +1 -1
- package/esm/TreeItem/index.d.ts +2 -2
- package/esm/TreeItemDragAndDropOverlay/index.d.ts +1 -1
- package/esm/TreeItemIcon/index.d.ts +1 -1
- package/esm/TreeItemLabelInput/index.d.ts +1 -1
- package/esm/TreeItemProvider/index.d.ts +1 -1
- package/esm/hooks/useTreeItemUtils/useTreeItemUtils.d.ts +6 -6
- package/esm/index.js +1 -1
- package/esm/internals/TreeViewItemDepthContext/TreeViewItemDepthContext.d.ts +1 -1
- package/esm/internals/TreeViewProvider/TreeViewProvider.types.d.ts +1 -1
- package/esm/internals/TreeViewProvider/index.d.ts +1 -1
- package/esm/internals/corePlugins/corePlugins.d.ts +1 -1
- package/esm/internals/corePlugins/index.d.ts +1 -1
- package/esm/internals/corePlugins/useTreeViewId/index.d.ts +1 -1
- package/esm/internals/corePlugins/useTreeViewId/useTreeViewId.selectors.d.ts +2 -2
- package/esm/internals/corePlugins/useTreeViewInstanceEvents/index.d.ts +1 -1
- package/esm/internals/corePlugins/useTreeViewInstanceEvents/useTreeViewInstanceEvents.d.ts +1 -1
- package/esm/internals/corePlugins/useTreeViewOptionalPlugins/index.d.ts +1 -1
- package/esm/internals/index.d.ts +13 -13
- package/esm/internals/models/helpers.d.ts +1 -1
- package/esm/internals/models/itemPlugin.d.ts +3 -3
- package/esm/internals/models/plugin.d.ts +2 -2
- package/esm/internals/models/treeView.d.ts +3 -3
- package/esm/internals/plugins/useTreeViewExpansion/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.selectors.d.ts +31 -31
- package/esm/internals/plugins/useTreeViewFocus/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewFocus/useTreeViewFocus.selectors.d.ts +72 -72
- package/esm/internals/plugins/useTreeViewFocus/useTreeViewFocus.types.d.ts +2 -2
- package/esm/internals/plugins/useTreeViewItems/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewItems/useTreeViewItems.selectors.d.ts +54 -54
- package/esm/internals/plugins/useTreeViewJSXItems/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewKeyboardNavigation/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewLabel/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewLabel/useTreeViewLabel.selectors.d.ts +5 -5
- package/esm/internals/plugins/useTreeViewLazyLoading/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.selectors.d.ts +56 -56
- package/esm/internals/plugins/useTreeViewSelection/index.d.ts +1 -1
- package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.selectors.d.ts +71 -71
- package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.types.d.ts +1 -1
- package/esm/internals/useTreeView/useTreeView.types.d.ts +1 -1
- package/esm/internals/utils/TreeViewStore.d.ts +1 -1
- package/esm/internals/utils/tree.d.ts +2 -2
- package/esm/themeAugmentation/components.js +1 -0
- package/esm/themeAugmentation/index.d.ts +3 -3
- package/esm/themeAugmentation/overrides.d.ts +0 -4
- package/esm/themeAugmentation/overrides.js +4 -0
- package/esm/themeAugmentation/props.d.ts +0 -2
- package/esm/themeAugmentation/props.js +2 -0
- package/esm/useTreeItem/index.d.ts +1 -1
- package/hooks/useTreeItemUtils/useTreeItemUtils.d.ts +6 -6
- package/index.js +1 -1
- package/internals/TreeViewItemDepthContext/TreeViewItemDepthContext.d.ts +1 -1
- package/internals/TreeViewProvider/TreeViewProvider.types.d.ts +1 -1
- package/internals/TreeViewProvider/index.d.ts +1 -1
- package/internals/corePlugins/corePlugins.d.ts +1 -1
- package/internals/corePlugins/index.d.ts +1 -1
- package/internals/corePlugins/useTreeViewId/index.d.ts +1 -1
- package/internals/corePlugins/useTreeViewId/useTreeViewId.selectors.d.ts +2 -2
- package/internals/corePlugins/useTreeViewInstanceEvents/index.d.ts +1 -1
- package/internals/corePlugins/useTreeViewInstanceEvents/useTreeViewInstanceEvents.d.ts +1 -1
- package/internals/corePlugins/useTreeViewOptionalPlugins/index.d.ts +1 -1
- package/internals/index.d.ts +13 -13
- package/internals/models/helpers.d.ts +1 -1
- package/internals/models/itemPlugin.d.ts +3 -3
- package/internals/models/plugin.d.ts +2 -2
- package/internals/models/treeView.d.ts +3 -3
- package/internals/plugins/useTreeViewExpansion/index.d.ts +1 -1
- package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.selectors.d.ts +31 -31
- package/internals/plugins/useTreeViewFocus/index.d.ts +1 -1
- package/internals/plugins/useTreeViewFocus/useTreeViewFocus.selectors.d.ts +72 -72
- package/internals/plugins/useTreeViewFocus/useTreeViewFocus.types.d.ts +2 -2
- package/internals/plugins/useTreeViewItems/index.d.ts +1 -1
- package/internals/plugins/useTreeViewItems/useTreeViewItems.selectors.d.ts +54 -54
- package/internals/plugins/useTreeViewJSXItems/index.d.ts +1 -1
- package/internals/plugins/useTreeViewKeyboardNavigation/index.d.ts +1 -1
- package/internals/plugins/useTreeViewLabel/index.d.ts +1 -1
- package/internals/plugins/useTreeViewLabel/useTreeViewLabel.selectors.d.ts +5 -5
- package/internals/plugins/useTreeViewLazyLoading/index.d.ts +1 -1
- package/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.selectors.d.ts +56 -56
- package/internals/plugins/useTreeViewSelection/index.d.ts +1 -1
- package/internals/plugins/useTreeViewSelection/useTreeViewSelection.selectors.d.ts +71 -71
- package/internals/plugins/useTreeViewSelection/useTreeViewSelection.types.d.ts +1 -1
- package/internals/useTreeView/useTreeView.types.d.ts +1 -1
- package/internals/utils/TreeViewStore.d.ts +1 -1
- package/internals/utils/tree.d.ts +2 -2
- package/package.json +2 -2
- package/themeAugmentation/components.js +5 -0
- package/themeAugmentation/index.d.ts +3 -3
- package/themeAugmentation/overrides.d.ts +0 -4
- package/themeAugmentation/overrides.js +5 -0
- package/themeAugmentation/props.d.ts +0 -2
- package/themeAugmentation/props.js +5 -0
- package/useTreeItem/index.d.ts +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TreeViewRootSelector, TreeViewRootSelectorForOptionalPlugin } from "../../utils/selectors.js";
|
|
2
2
|
import { UseTreeViewLazyLoadingSignature } from "./useTreeViewLazyLoading.types.js";
|
|
3
|
-
export declare const selectorDataSourceState: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewLazyLoading.types").UseTreeViewLazyLoadingState & Partial<{}> & {
|
|
4
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
3
|
+
export declare const selectorDataSourceState: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewLazyLoading.types.js").UseTreeViewLazyLoadingState & Partial<{}> & {
|
|
4
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
5
5
|
}) => {
|
|
6
|
-
loading: Record<import("
|
|
7
|
-
errors: Record<import("
|
|
6
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
7
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
8
8
|
}) & {
|
|
9
9
|
clearCache: () => void;
|
|
10
10
|
resultsCount: () => number;
|
|
@@ -13,30 +13,30 @@ export declare const selectorDataSourceState: ((state: import("../../corePlugins
|
|
|
13
13
|
resultFunc: (resultFuncArgs_0: {
|
|
14
14
|
enabled: boolean;
|
|
15
15
|
dataSource: {
|
|
16
|
-
loading: Record<import("
|
|
17
|
-
errors: Record<import("
|
|
16
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
17
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
18
18
|
};
|
|
19
19
|
}) => {
|
|
20
|
-
loading: Record<import("
|
|
21
|
-
errors: Record<import("
|
|
20
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
21
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
22
22
|
};
|
|
23
23
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
24
24
|
enabled: boolean;
|
|
25
25
|
dataSource: {
|
|
26
|
-
loading: Record<import("
|
|
27
|
-
errors: Record<import("
|
|
26
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
27
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
28
28
|
};
|
|
29
29
|
}) => {
|
|
30
|
-
loading: Record<import("
|
|
31
|
-
errors: Record<import("
|
|
30
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
31
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
32
32
|
}) & {
|
|
33
33
|
clearCache: () => void;
|
|
34
34
|
resultsCount: () => number;
|
|
35
35
|
resetResultsCount: () => void;
|
|
36
36
|
};
|
|
37
37
|
lastResult: () => {
|
|
38
|
-
loading: Record<import("
|
|
39
|
-
errors: Record<import("
|
|
38
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
39
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
40
40
|
};
|
|
41
41
|
dependencies: [TreeViewRootSelector<UseTreeViewLazyLoadingSignature>];
|
|
42
42
|
recomputations: () => number;
|
|
@@ -52,8 +52,8 @@ export declare const selectorDataSourceState: ((state: import("../../corePlugins
|
|
|
52
52
|
* @param {TreeViewState<[UseTreeViewLazyLoadingSignature]>} state The state of the tree view.
|
|
53
53
|
* @returns {boolean} True if lazy loading is enabled, false if it isn't.
|
|
54
54
|
*/
|
|
55
|
-
export declare const selectorIsLazyLoadingEnabled: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & Partial<import("./useTreeViewLazyLoading.types").UseTreeViewLazyLoadingState> & {
|
|
56
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
55
|
+
export declare const selectorIsLazyLoadingEnabled: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & Partial<import("./useTreeViewLazyLoading.types.js").UseTreeViewLazyLoadingState> & {
|
|
56
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
57
57
|
}) => boolean) & {
|
|
58
58
|
clearCache: () => void;
|
|
59
59
|
resultsCount: () => number;
|
|
@@ -62,15 +62,15 @@ export declare const selectorIsLazyLoadingEnabled: ((state: import("../../corePl
|
|
|
62
62
|
resultFunc: (resultFuncArgs_0: {
|
|
63
63
|
enabled: boolean;
|
|
64
64
|
dataSource: {
|
|
65
|
-
loading: Record<import("
|
|
66
|
-
errors: Record<import("
|
|
65
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
66
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
67
67
|
};
|
|
68
68
|
} | undefined) => boolean;
|
|
69
69
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
70
70
|
enabled: boolean;
|
|
71
71
|
dataSource: {
|
|
72
|
-
loading: Record<import("
|
|
73
|
-
errors: Record<import("
|
|
72
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
73
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
74
74
|
};
|
|
75
75
|
} | undefined) => boolean) & {
|
|
76
76
|
clearCache: () => void;
|
|
@@ -99,23 +99,23 @@ export declare const selectorIsItemLoading: ((state: any, itemId: string) => boo
|
|
|
99
99
|
resetResultsCount: () => void;
|
|
100
100
|
} & {
|
|
101
101
|
resultFunc: (resultFuncArgs_0: {
|
|
102
|
-
loading: Record<import("
|
|
103
|
-
errors: Record<import("
|
|
102
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
103
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
104
104
|
}, resultFuncArgs_1: string) => boolean;
|
|
105
105
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
106
|
-
loading: Record<import("
|
|
107
|
-
errors: Record<import("
|
|
106
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
107
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
108
108
|
}, resultFuncArgs_1: string) => boolean) & {
|
|
109
109
|
clearCache: () => void;
|
|
110
110
|
resultsCount: () => number;
|
|
111
111
|
resetResultsCount: () => void;
|
|
112
112
|
};
|
|
113
113
|
lastResult: () => boolean;
|
|
114
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewLazyLoading.types").UseTreeViewLazyLoadingState & Partial<{}> & {
|
|
115
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
114
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewLazyLoading.types.js").UseTreeViewLazyLoadingState & Partial<{}> & {
|
|
115
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
116
116
|
}) => {
|
|
117
|
-
loading: Record<import("
|
|
118
|
-
errors: Record<import("
|
|
117
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
118
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
119
119
|
}) & {
|
|
120
120
|
clearCache: () => void;
|
|
121
121
|
resultsCount: () => number;
|
|
@@ -124,30 +124,30 @@ export declare const selectorIsItemLoading: ((state: any, itemId: string) => boo
|
|
|
124
124
|
resultFunc: (resultFuncArgs_0: {
|
|
125
125
|
enabled: boolean;
|
|
126
126
|
dataSource: {
|
|
127
|
-
loading: Record<import("
|
|
128
|
-
errors: Record<import("
|
|
127
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
128
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
129
129
|
};
|
|
130
130
|
}) => {
|
|
131
|
-
loading: Record<import("
|
|
132
|
-
errors: Record<import("
|
|
131
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
132
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
133
133
|
};
|
|
134
134
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
135
135
|
enabled: boolean;
|
|
136
136
|
dataSource: {
|
|
137
|
-
loading: Record<import("
|
|
138
|
-
errors: Record<import("
|
|
137
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
138
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
139
139
|
};
|
|
140
140
|
}) => {
|
|
141
|
-
loading: Record<import("
|
|
142
|
-
errors: Record<import("
|
|
141
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
142
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
143
143
|
}) & {
|
|
144
144
|
clearCache: () => void;
|
|
145
145
|
resultsCount: () => number;
|
|
146
146
|
resetResultsCount: () => void;
|
|
147
147
|
};
|
|
148
148
|
lastResult: () => {
|
|
149
|
-
loading: Record<import("
|
|
150
|
-
errors: Record<import("
|
|
149
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
150
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
151
151
|
};
|
|
152
152
|
dependencies: [TreeViewRootSelector<UseTreeViewLazyLoadingSignature>];
|
|
153
153
|
recomputations: () => number;
|
|
@@ -178,23 +178,23 @@ export declare const selectorGetTreeItemError: ((state: any, itemId: string) =>
|
|
|
178
178
|
resetResultsCount: () => void;
|
|
179
179
|
} & {
|
|
180
180
|
resultFunc: (resultFuncArgs_0: {
|
|
181
|
-
loading: Record<import("
|
|
182
|
-
errors: Record<import("
|
|
181
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
182
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
183
183
|
}, resultFuncArgs_1: string) => Error | null;
|
|
184
184
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
185
|
-
loading: Record<import("
|
|
186
|
-
errors: Record<import("
|
|
185
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
186
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
187
187
|
}, resultFuncArgs_1: string) => Error | null) & {
|
|
188
188
|
clearCache: () => void;
|
|
189
189
|
resultsCount: () => number;
|
|
190
190
|
resetResultsCount: () => void;
|
|
191
191
|
};
|
|
192
192
|
lastResult: () => Error | null;
|
|
193
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewLazyLoading.types").UseTreeViewLazyLoadingState & Partial<{}> & {
|
|
194
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
193
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewLazyLoading.types.js").UseTreeViewLazyLoadingState & Partial<{}> & {
|
|
194
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
195
195
|
}) => {
|
|
196
|
-
loading: Record<import("
|
|
197
|
-
errors: Record<import("
|
|
196
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
197
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
198
198
|
}) & {
|
|
199
199
|
clearCache: () => void;
|
|
200
200
|
resultsCount: () => number;
|
|
@@ -203,30 +203,30 @@ export declare const selectorGetTreeItemError: ((state: any, itemId: string) =>
|
|
|
203
203
|
resultFunc: (resultFuncArgs_0: {
|
|
204
204
|
enabled: boolean;
|
|
205
205
|
dataSource: {
|
|
206
|
-
loading: Record<import("
|
|
207
|
-
errors: Record<import("
|
|
206
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
207
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
208
208
|
};
|
|
209
209
|
}) => {
|
|
210
|
-
loading: Record<import("
|
|
211
|
-
errors: Record<import("
|
|
210
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
211
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
212
212
|
};
|
|
213
213
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
214
214
|
enabled: boolean;
|
|
215
215
|
dataSource: {
|
|
216
|
-
loading: Record<import("
|
|
217
|
-
errors: Record<import("
|
|
216
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
217
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
218
218
|
};
|
|
219
219
|
}) => {
|
|
220
|
-
loading: Record<import("
|
|
221
|
-
errors: Record<import("
|
|
220
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
221
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
222
222
|
}) & {
|
|
223
223
|
clearCache: () => void;
|
|
224
224
|
resultsCount: () => number;
|
|
225
225
|
resetResultsCount: () => void;
|
|
226
226
|
};
|
|
227
227
|
lastResult: () => {
|
|
228
|
-
loading: Record<import("
|
|
229
|
-
errors: Record<import("
|
|
228
|
+
loading: Record<import("../../../index.js").TreeViewItemId, boolean>;
|
|
229
|
+
errors: Record<import("../../../index.js").TreeViewItemId, Error | null>;
|
|
230
230
|
};
|
|
231
231
|
dependencies: [TreeViewRootSelector<UseTreeViewLazyLoadingSignature>];
|
|
232
232
|
recomputations: () => number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { useTreeViewSelection } from "./useTreeViewSelection.js";
|
|
2
|
-
export type { UseTreeViewSelectionSignature, UseTreeViewSelectionParameters, UseTreeViewSelectionDefaultizedParameters } from
|
|
2
|
+
export type { UseTreeViewSelectionSignature, UseTreeViewSelectionParameters, UseTreeViewSelectionDefaultizedParameters } from "./useTreeViewSelection.types.js";
|
|
@@ -5,26 +5,26 @@ import { UseTreeViewSelectionSignature } from "./useTreeViewSelection.types.js";
|
|
|
5
5
|
* @param {TreeViewState<[UseTreeViewSelectionSignature]>} state The state of the tree view.
|
|
6
6
|
* @returns {TreeViewSelectionValue<boolean>} The selected items.
|
|
7
7
|
*/
|
|
8
|
-
export declare const selectorSelectionModel: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
9
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
8
|
+
export declare const selectorSelectionModel: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
9
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
10
10
|
}) => string | string[] | null) & {
|
|
11
11
|
clearCache: () => void;
|
|
12
12
|
resultsCount: () => number;
|
|
13
13
|
resetResultsCount: () => void;
|
|
14
14
|
} & {
|
|
15
15
|
resultFunc: (resultFuncArgs_0: {
|
|
16
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
16
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
17
17
|
isEnabled: boolean;
|
|
18
18
|
isMultiSelectEnabled: boolean;
|
|
19
19
|
isCheckboxSelectionEnabled: boolean;
|
|
20
|
-
selectionPropagation: import("
|
|
20
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
21
21
|
}) => string | string[] | null;
|
|
22
22
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
23
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
23
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
24
24
|
isEnabled: boolean;
|
|
25
25
|
isMultiSelectEnabled: boolean;
|
|
26
26
|
isCheckboxSelectionEnabled: boolean;
|
|
27
|
-
selectionPropagation: import("
|
|
27
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
28
28
|
}) => string | string[] | null) & {
|
|
29
29
|
clearCache: () => void;
|
|
30
30
|
resultsCount: () => number;
|
|
@@ -45,8 +45,8 @@ export declare const selectorSelectionModel: ((state: import("../../corePlugins/
|
|
|
45
45
|
* @param {TreeViewState<[UseTreeViewSelectionSignature]>} state The state of the tree view.
|
|
46
46
|
* @returns {TreeViewItemId[]} The selected items as an array.
|
|
47
47
|
*/
|
|
48
|
-
export declare const selectorSelectionModelArray: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
49
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
48
|
+
export declare const selectorSelectionModelArray: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
49
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
50
50
|
}) => string[]) & {
|
|
51
51
|
clearCache: () => void;
|
|
52
52
|
resultsCount: () => number;
|
|
@@ -59,26 +59,26 @@ export declare const selectorSelectionModelArray: ((state: import("../../corePlu
|
|
|
59
59
|
resetResultsCount: () => void;
|
|
60
60
|
};
|
|
61
61
|
lastResult: () => string[];
|
|
62
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
63
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
62
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
63
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
64
64
|
}) => string | string[] | null) & {
|
|
65
65
|
clearCache: () => void;
|
|
66
66
|
resultsCount: () => number;
|
|
67
67
|
resetResultsCount: () => void;
|
|
68
68
|
} & {
|
|
69
69
|
resultFunc: (resultFuncArgs_0: {
|
|
70
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
70
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
71
71
|
isEnabled: boolean;
|
|
72
72
|
isMultiSelectEnabled: boolean;
|
|
73
73
|
isCheckboxSelectionEnabled: boolean;
|
|
74
|
-
selectionPropagation: import("
|
|
74
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
75
75
|
}) => string | string[] | null;
|
|
76
76
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
77
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
77
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
78
78
|
isEnabled: boolean;
|
|
79
79
|
isMultiSelectEnabled: boolean;
|
|
80
80
|
isCheckboxSelectionEnabled: boolean;
|
|
81
|
-
selectionPropagation: import("
|
|
81
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
82
82
|
}) => string | string[] | null) & {
|
|
83
83
|
clearCache: () => void;
|
|
84
84
|
resultsCount: () => number;
|
|
@@ -119,8 +119,8 @@ export declare const selectorIsItemSelected: ((state: any, itemId: string) => bo
|
|
|
119
119
|
resetResultsCount: () => void;
|
|
120
120
|
};
|
|
121
121
|
lastResult: () => boolean;
|
|
122
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
123
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
122
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
123
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
124
124
|
}) => Map<string, true>) & {
|
|
125
125
|
clearCache: () => void;
|
|
126
126
|
resultsCount: () => number;
|
|
@@ -133,8 +133,8 @@ export declare const selectorIsItemSelected: ((state: any, itemId: string) => bo
|
|
|
133
133
|
resetResultsCount: () => void;
|
|
134
134
|
};
|
|
135
135
|
lastResult: () => Map<string, true>;
|
|
136
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
137
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
136
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
137
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
138
138
|
}) => string[]) & {
|
|
139
139
|
clearCache: () => void;
|
|
140
140
|
resultsCount: () => number;
|
|
@@ -147,26 +147,26 @@ export declare const selectorIsItemSelected: ((state: any, itemId: string) => bo
|
|
|
147
147
|
resetResultsCount: () => void;
|
|
148
148
|
};
|
|
149
149
|
lastResult: () => string[];
|
|
150
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
151
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
150
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
151
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
152
152
|
}) => string | string[] | null) & {
|
|
153
153
|
clearCache: () => void;
|
|
154
154
|
resultsCount: () => number;
|
|
155
155
|
resetResultsCount: () => void;
|
|
156
156
|
} & {
|
|
157
157
|
resultFunc: (resultFuncArgs_0: {
|
|
158
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
158
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
159
159
|
isEnabled: boolean;
|
|
160
160
|
isMultiSelectEnabled: boolean;
|
|
161
161
|
isCheckboxSelectionEnabled: boolean;
|
|
162
|
-
selectionPropagation: import("
|
|
162
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
163
163
|
}) => string | string[] | null;
|
|
164
164
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
165
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
165
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
166
166
|
isEnabled: boolean;
|
|
167
167
|
isMultiSelectEnabled: boolean;
|
|
168
168
|
isCheckboxSelectionEnabled: boolean;
|
|
169
|
-
selectionPropagation: import("
|
|
169
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
170
170
|
}) => string | string[] | null) & {
|
|
171
171
|
clearCache: () => void;
|
|
172
172
|
resultsCount: () => number;
|
|
@@ -211,26 +211,26 @@ export declare const selectorIsItemSelected: ((state: any, itemId: string) => bo
|
|
|
211
211
|
* @param {TreeViewState<[UseTreeViewSelectionSignature]>} state The state of the tree view.
|
|
212
212
|
* @returns {boolean} `true` if multi selection is enabled, `false` otherwise.
|
|
213
213
|
*/
|
|
214
|
-
export declare const selectorIsMultiSelectEnabled: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
215
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
214
|
+
export declare const selectorIsMultiSelectEnabled: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
215
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
216
216
|
}) => boolean) & {
|
|
217
217
|
clearCache: () => void;
|
|
218
218
|
resultsCount: () => number;
|
|
219
219
|
resetResultsCount: () => void;
|
|
220
220
|
} & {
|
|
221
221
|
resultFunc: (resultFuncArgs_0: {
|
|
222
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
222
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
223
223
|
isEnabled: boolean;
|
|
224
224
|
isMultiSelectEnabled: boolean;
|
|
225
225
|
isCheckboxSelectionEnabled: boolean;
|
|
226
|
-
selectionPropagation: import("
|
|
226
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
227
227
|
}) => boolean;
|
|
228
228
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
229
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
229
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
230
230
|
isEnabled: boolean;
|
|
231
231
|
isMultiSelectEnabled: boolean;
|
|
232
232
|
isCheckboxSelectionEnabled: boolean;
|
|
233
|
-
selectionPropagation: import("
|
|
233
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
234
234
|
}) => boolean) & {
|
|
235
235
|
clearCache: () => void;
|
|
236
236
|
resultsCount: () => number;
|
|
@@ -251,26 +251,26 @@ export declare const selectorIsMultiSelectEnabled: ((state: import("../../corePl
|
|
|
251
251
|
* @param {TreeViewState<[UseTreeViewSelectionSignature]>} state The state of the tree view.
|
|
252
252
|
* @returns {boolean} `true` if selection is enabled, `false` otherwise.
|
|
253
253
|
*/
|
|
254
|
-
export declare const selectorIsSelectionEnabled: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
255
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
254
|
+
export declare const selectorIsSelectionEnabled: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
255
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
256
256
|
}) => boolean) & {
|
|
257
257
|
clearCache: () => void;
|
|
258
258
|
resultsCount: () => number;
|
|
259
259
|
resetResultsCount: () => void;
|
|
260
260
|
} & {
|
|
261
261
|
resultFunc: (resultFuncArgs_0: {
|
|
262
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
262
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
263
263
|
isEnabled: boolean;
|
|
264
264
|
isMultiSelectEnabled: boolean;
|
|
265
265
|
isCheckboxSelectionEnabled: boolean;
|
|
266
|
-
selectionPropagation: import("
|
|
266
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
267
267
|
}) => boolean;
|
|
268
268
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
269
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
269
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
270
270
|
isEnabled: boolean;
|
|
271
271
|
isMultiSelectEnabled: boolean;
|
|
272
272
|
isCheckboxSelectionEnabled: boolean;
|
|
273
|
-
selectionPropagation: import("
|
|
273
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
274
274
|
}) => boolean) & {
|
|
275
275
|
clearCache: () => void;
|
|
276
276
|
resultsCount: () => number;
|
|
@@ -291,26 +291,26 @@ export declare const selectorIsSelectionEnabled: ((state: import("../../corePlug
|
|
|
291
291
|
* @param {TreeViewState<[UseTreeViewSelectionSignature]>} state The state of the tree view.
|
|
292
292
|
* @returns {boolean} `true` if checkbox selection is enabled, `false` otherwise.
|
|
293
293
|
*/
|
|
294
|
-
export declare const selectorIsCheckboxSelectionEnabled: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
295
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
294
|
+
export declare const selectorIsCheckboxSelectionEnabled: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
295
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
296
296
|
}) => boolean) & {
|
|
297
297
|
clearCache: () => void;
|
|
298
298
|
resultsCount: () => number;
|
|
299
299
|
resetResultsCount: () => void;
|
|
300
300
|
} & {
|
|
301
301
|
resultFunc: (resultFuncArgs_0: {
|
|
302
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
302
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
303
303
|
isEnabled: boolean;
|
|
304
304
|
isMultiSelectEnabled: boolean;
|
|
305
305
|
isCheckboxSelectionEnabled: boolean;
|
|
306
|
-
selectionPropagation: import("
|
|
306
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
307
307
|
}) => boolean;
|
|
308
308
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
309
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
309
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
310
310
|
isEnabled: boolean;
|
|
311
311
|
isMultiSelectEnabled: boolean;
|
|
312
312
|
isCheckboxSelectionEnabled: boolean;
|
|
313
|
-
selectionPropagation: import("
|
|
313
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
314
314
|
}) => boolean) & {
|
|
315
315
|
clearCache: () => void;
|
|
316
316
|
resultsCount: () => number;
|
|
@@ -350,20 +350,20 @@ export declare const selectorIsItemSelectionEnabled: ((state: any, itemId: strin
|
|
|
350
350
|
resetResultsCount: () => void;
|
|
351
351
|
} & {
|
|
352
352
|
resultFunc: (resultFuncArgs_0: {
|
|
353
|
-
[itemId: string]: import("
|
|
353
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
354
354
|
}, resultFuncArgs_1: string) => boolean;
|
|
355
355
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
356
|
-
[itemId: string]: import("
|
|
356
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
357
357
|
}, resultFuncArgs_1: string) => boolean) & {
|
|
358
358
|
clearCache: () => void;
|
|
359
359
|
resultsCount: () => number;
|
|
360
360
|
resetResultsCount: () => void;
|
|
361
361
|
};
|
|
362
362
|
lastResult: () => boolean;
|
|
363
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewItems").UseTreeViewItemsState<import("
|
|
364
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
363
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewItems/index.js").UseTreeViewItemsState<import("../../../index.js").TreeViewDefaultItemModelProperties> & Partial<{}> & {
|
|
364
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
365
365
|
}) => {
|
|
366
|
-
[itemId: string]: import("
|
|
366
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
367
367
|
}) & {
|
|
368
368
|
clearCache: () => void;
|
|
369
369
|
resultsCount: () => number;
|
|
@@ -372,10 +372,10 @@ export declare const selectorIsItemSelectionEnabled: ((state: any, itemId: strin
|
|
|
372
372
|
resultFunc: (resultFuncArgs_0: {
|
|
373
373
|
disabledItemsFocusable: boolean;
|
|
374
374
|
itemModelLookup: {
|
|
375
|
-
[itemId: string]: import("
|
|
375
|
+
[itemId: string]: import("../../../index.js").TreeViewBaseItem<import("../../../index.js").TreeViewDefaultItemModelProperties>;
|
|
376
376
|
};
|
|
377
377
|
itemMetaLookup: {
|
|
378
|
-
[itemId: string]: import("
|
|
378
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
379
379
|
};
|
|
380
380
|
itemOrderedChildrenIdsLookup: {
|
|
381
381
|
[parentItemId: string]: string[];
|
|
@@ -388,15 +388,15 @@ export declare const selectorIsItemSelectionEnabled: ((state: any, itemId: strin
|
|
|
388
388
|
loading: boolean;
|
|
389
389
|
error: Error | null;
|
|
390
390
|
}) => {
|
|
391
|
-
[itemId: string]: import("
|
|
391
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
392
392
|
};
|
|
393
393
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
394
394
|
disabledItemsFocusable: boolean;
|
|
395
395
|
itemModelLookup: {
|
|
396
|
-
[itemId: string]: import("
|
|
396
|
+
[itemId: string]: import("../../../index.js").TreeViewBaseItem<import("../../../index.js").TreeViewDefaultItemModelProperties>;
|
|
397
397
|
};
|
|
398
398
|
itemMetaLookup: {
|
|
399
|
-
[itemId: string]: import("
|
|
399
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
400
400
|
};
|
|
401
401
|
itemOrderedChildrenIdsLookup: {
|
|
402
402
|
[parentItemId: string]: string[];
|
|
@@ -409,16 +409,16 @@ export declare const selectorIsItemSelectionEnabled: ((state: any, itemId: strin
|
|
|
409
409
|
loading: boolean;
|
|
410
410
|
error: Error | null;
|
|
411
411
|
}) => {
|
|
412
|
-
[itemId: string]: import("
|
|
412
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
413
413
|
}) & {
|
|
414
414
|
clearCache: () => void;
|
|
415
415
|
resultsCount: () => number;
|
|
416
416
|
resetResultsCount: () => void;
|
|
417
417
|
};
|
|
418
418
|
lastResult: () => {
|
|
419
|
-
[itemId: string]: import("
|
|
419
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
420
420
|
};
|
|
421
|
-
dependencies: [TreeViewRootSelector<import("../useTreeViewItems").UseTreeViewItemsSignature>];
|
|
421
|
+
dependencies: [TreeViewRootSelector<import("../useTreeViewItems/index.js").UseTreeViewItemsSignature>];
|
|
422
422
|
recomputations: () => number;
|
|
423
423
|
resetRecomputations: () => void;
|
|
424
424
|
dependencyRecomputations: () => number;
|
|
@@ -434,26 +434,26 @@ export declare const selectorIsItemSelectionEnabled: ((state: any, itemId: strin
|
|
|
434
434
|
} & {
|
|
435
435
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
436
436
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
437
|
-
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
438
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
437
|
+
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
438
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
439
439
|
}) => boolean) & {
|
|
440
440
|
clearCache: () => void;
|
|
441
441
|
resultsCount: () => number;
|
|
442
442
|
resetResultsCount: () => void;
|
|
443
443
|
} & {
|
|
444
444
|
resultFunc: (resultFuncArgs_0: {
|
|
445
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
445
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
446
446
|
isEnabled: boolean;
|
|
447
447
|
isMultiSelectEnabled: boolean;
|
|
448
448
|
isCheckboxSelectionEnabled: boolean;
|
|
449
|
-
selectionPropagation: import("
|
|
449
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
450
450
|
}) => boolean;
|
|
451
451
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
452
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
452
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
453
453
|
isEnabled: boolean;
|
|
454
454
|
isMultiSelectEnabled: boolean;
|
|
455
455
|
isCheckboxSelectionEnabled: boolean;
|
|
456
|
-
selectionPropagation: import("
|
|
456
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
457
457
|
}) => boolean) & {
|
|
458
458
|
clearCache: () => void;
|
|
459
459
|
resultsCount: () => number;
|
|
@@ -482,32 +482,32 @@ export declare const selectorIsItemSelectionEnabled: ((state: any, itemId: strin
|
|
|
482
482
|
* @param {TreeViewState<[UseTreeViewSelectionSignature]>} state The state of the tree view.
|
|
483
483
|
* @returns {TreeViewSelectionPropagation} The selection propagation rules.
|
|
484
484
|
*/
|
|
485
|
-
export declare const selectorSelectionPropagationRules: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
486
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
487
|
-
}) => import("
|
|
485
|
+
export declare const selectorSelectionPropagationRules: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
486
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
487
|
+
}) => import("../../../index.js").TreeViewSelectionPropagation) & {
|
|
488
488
|
clearCache: () => void;
|
|
489
489
|
resultsCount: () => number;
|
|
490
490
|
resetResultsCount: () => void;
|
|
491
491
|
} & {
|
|
492
492
|
resultFunc: (resultFuncArgs_0: {
|
|
493
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
493
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
494
494
|
isEnabled: boolean;
|
|
495
495
|
isMultiSelectEnabled: boolean;
|
|
496
496
|
isCheckboxSelectionEnabled: boolean;
|
|
497
|
-
selectionPropagation: import("
|
|
498
|
-
}) => import("
|
|
497
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
498
|
+
}) => import("../../../index.js").TreeViewSelectionPropagation;
|
|
499
499
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
500
|
-
selectedItems: import("./useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
500
|
+
selectedItems: import("./useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
501
501
|
isEnabled: boolean;
|
|
502
502
|
isMultiSelectEnabled: boolean;
|
|
503
503
|
isCheckboxSelectionEnabled: boolean;
|
|
504
|
-
selectionPropagation: import("
|
|
505
|
-
}) => import("
|
|
504
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
505
|
+
}) => import("../../../index.js").TreeViewSelectionPropagation) & {
|
|
506
506
|
clearCache: () => void;
|
|
507
507
|
resultsCount: () => number;
|
|
508
508
|
resetResultsCount: () => void;
|
|
509
509
|
};
|
|
510
|
-
lastResult: () => import("
|
|
510
|
+
lastResult: () => import("../../../index.js").TreeViewSelectionPropagation;
|
|
511
511
|
dependencies: [TreeViewRootSelector<UseTreeViewSelectionSignature>];
|
|
512
512
|
recomputations: () => number;
|
|
513
513
|
resetRecomputations: () => void;
|