@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
|
@@ -13,18 +13,18 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
13
13
|
resetResultsCount: () => void;
|
|
14
14
|
} & {
|
|
15
15
|
resultFunc: (resultFuncArgs_0: string[], resultFuncArgs_1: Map<string, true>, resultFuncArgs_2: {
|
|
16
|
-
[itemId: string]: import("
|
|
16
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
17
17
|
}, resultFuncArgs_3: boolean, resultFuncArgs_4: string[]) => string | null;
|
|
18
18
|
memoizedResultFunc: ((resultFuncArgs_0: string[], resultFuncArgs_1: Map<string, true>, resultFuncArgs_2: {
|
|
19
|
-
[itemId: string]: import("
|
|
19
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
20
20
|
}, resultFuncArgs_3: boolean, resultFuncArgs_4: string[]) => string | null) & {
|
|
21
21
|
clearCache: () => void;
|
|
22
22
|
resultsCount: () => number;
|
|
23
23
|
resetResultsCount: () => void;
|
|
24
24
|
};
|
|
25
25
|
lastResult: () => string | null;
|
|
26
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewSelection/useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
27
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
26
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewSelection/useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
27
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
28
28
|
}) => string[]) & {
|
|
29
29
|
clearCache: () => void;
|
|
30
30
|
resultsCount: () => number;
|
|
@@ -37,33 +37,33 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
37
37
|
resetResultsCount: () => void;
|
|
38
38
|
};
|
|
39
39
|
lastResult: () => string[];
|
|
40
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewSelection/useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
41
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
40
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewSelection/useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
41
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
42
42
|
}) => string | string[] | null) & {
|
|
43
43
|
clearCache: () => void;
|
|
44
44
|
resultsCount: () => number;
|
|
45
45
|
resetResultsCount: () => void;
|
|
46
46
|
} & {
|
|
47
47
|
resultFunc: (resultFuncArgs_0: {
|
|
48
|
-
selectedItems: import("../useTreeViewSelection/useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
48
|
+
selectedItems: import("../useTreeViewSelection/useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
49
49
|
isEnabled: boolean;
|
|
50
50
|
isMultiSelectEnabled: boolean;
|
|
51
51
|
isCheckboxSelectionEnabled: boolean;
|
|
52
|
-
selectionPropagation: import("
|
|
52
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
53
53
|
}) => string | string[] | null;
|
|
54
54
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
55
|
-
selectedItems: import("../useTreeViewSelection/useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
55
|
+
selectedItems: import("../useTreeViewSelection/useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
56
56
|
isEnabled: boolean;
|
|
57
57
|
isMultiSelectEnabled: boolean;
|
|
58
58
|
isCheckboxSelectionEnabled: boolean;
|
|
59
|
-
selectionPropagation: import("
|
|
59
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
60
60
|
}) => string | string[] | null) & {
|
|
61
61
|
clearCache: () => void;
|
|
62
62
|
resultsCount: () => number;
|
|
63
63
|
resetResultsCount: () => void;
|
|
64
64
|
};
|
|
65
65
|
lastResult: () => string | string[] | null;
|
|
66
|
-
dependencies: [TreeViewRootSelector<import("../useTreeViewSelection").UseTreeViewSelectionSignature>];
|
|
66
|
+
dependencies: [TreeViewRootSelector<import("../useTreeViewSelection/index.js").UseTreeViewSelectionSignature>];
|
|
67
67
|
recomputations: () => number;
|
|
68
68
|
resetRecomputations: () => void;
|
|
69
69
|
dependencyRecomputations: () => number;
|
|
@@ -79,8 +79,8 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
79
79
|
} & {
|
|
80
80
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
81
81
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
82
|
-
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewExpansion/useTreeViewExpansion.types").UseTreeViewExpansionState & Partial<{}> & {
|
|
83
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
82
|
+
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewExpansion/useTreeViewExpansion.types.js").UseTreeViewExpansionState & Partial<{}> & {
|
|
83
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
84
84
|
}) => Map<string, true>) & {
|
|
85
85
|
clearCache: () => void;
|
|
86
86
|
resultsCount: () => number;
|
|
@@ -93,8 +93,8 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
93
93
|
resetResultsCount: () => void;
|
|
94
94
|
};
|
|
95
95
|
lastResult: () => Map<string, true>;
|
|
96
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewExpansion/useTreeViewExpansion.types").UseTreeViewExpansionState & Partial<{}> & {
|
|
97
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
96
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewExpansion/useTreeViewExpansion.types.js").UseTreeViewExpansionState & Partial<{}> & {
|
|
97
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
98
98
|
}) => string[]) & {
|
|
99
99
|
clearCache: () => void;
|
|
100
100
|
resultsCount: () => number;
|
|
@@ -113,7 +113,7 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
113
113
|
resetResultsCount: () => void;
|
|
114
114
|
};
|
|
115
115
|
lastResult: () => string[];
|
|
116
|
-
dependencies: [TreeViewRootSelector<import("../useTreeViewExpansion").UseTreeViewExpansionSignature>];
|
|
116
|
+
dependencies: [TreeViewRootSelector<import("../useTreeViewExpansion/index.js").UseTreeViewExpansionSignature>];
|
|
117
117
|
recomputations: () => number;
|
|
118
118
|
resetRecomputations: () => void;
|
|
119
119
|
dependencyRecomputations: () => number;
|
|
@@ -129,10 +129,10 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
129
129
|
} & {
|
|
130
130
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
131
131
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
132
|
-
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewItems").UseTreeViewItemsState<import("
|
|
133
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
132
|
+
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewItems/index.js").UseTreeViewItemsState<import("../../../index.js").TreeViewDefaultItemModelProperties> & Partial<{}> & {
|
|
133
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
134
134
|
}) => {
|
|
135
|
-
[itemId: string]: import("
|
|
135
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
136
136
|
}) & {
|
|
137
137
|
clearCache: () => void;
|
|
138
138
|
resultsCount: () => number;
|
|
@@ -141,10 +141,10 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
141
141
|
resultFunc: (resultFuncArgs_0: {
|
|
142
142
|
disabledItemsFocusable: boolean;
|
|
143
143
|
itemModelLookup: {
|
|
144
|
-
[itemId: string]: import("
|
|
144
|
+
[itemId: string]: import("../../../index.js").TreeViewBaseItem<import("../../../index.js").TreeViewDefaultItemModelProperties>;
|
|
145
145
|
};
|
|
146
146
|
itemMetaLookup: {
|
|
147
|
-
[itemId: string]: import("
|
|
147
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
148
148
|
};
|
|
149
149
|
itemOrderedChildrenIdsLookup: {
|
|
150
150
|
[parentItemId: string]: string[];
|
|
@@ -157,15 +157,15 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
157
157
|
loading: boolean;
|
|
158
158
|
error: Error | null;
|
|
159
159
|
}) => {
|
|
160
|
-
[itemId: string]: import("
|
|
160
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
161
161
|
};
|
|
162
162
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
163
163
|
disabledItemsFocusable: boolean;
|
|
164
164
|
itemModelLookup: {
|
|
165
|
-
[itemId: string]: import("
|
|
165
|
+
[itemId: string]: import("../../../index.js").TreeViewBaseItem<import("../../../index.js").TreeViewDefaultItemModelProperties>;
|
|
166
166
|
};
|
|
167
167
|
itemMetaLookup: {
|
|
168
|
-
[itemId: string]: import("
|
|
168
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
169
169
|
};
|
|
170
170
|
itemOrderedChildrenIdsLookup: {
|
|
171
171
|
[parentItemId: string]: string[];
|
|
@@ -178,16 +178,16 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
178
178
|
loading: boolean;
|
|
179
179
|
error: Error | null;
|
|
180
180
|
}) => {
|
|
181
|
-
[itemId: string]: import("
|
|
181
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
182
182
|
}) & {
|
|
183
183
|
clearCache: () => void;
|
|
184
184
|
resultsCount: () => number;
|
|
185
185
|
resetResultsCount: () => void;
|
|
186
186
|
};
|
|
187
187
|
lastResult: () => {
|
|
188
|
-
[itemId: string]: import("
|
|
188
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
189
189
|
};
|
|
190
|
-
dependencies: [TreeViewRootSelector<import("../useTreeViewItems").UseTreeViewItemsSignature>];
|
|
190
|
+
dependencies: [TreeViewRootSelector<import("../useTreeViewItems/index.js").UseTreeViewItemsSignature>];
|
|
191
191
|
recomputations: () => number;
|
|
192
192
|
resetRecomputations: () => void;
|
|
193
193
|
dependencyRecomputations: () => number;
|
|
@@ -195,8 +195,8 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
195
195
|
} & {
|
|
196
196
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
197
197
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
198
|
-
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewItems").UseTreeViewItemsState<import("
|
|
199
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
198
|
+
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewItems/index.js").UseTreeViewItemsState<import("../../../index.js").TreeViewDefaultItemModelProperties> & Partial<{}> & {
|
|
199
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
200
200
|
}) => boolean) & {
|
|
201
201
|
clearCache: () => void;
|
|
202
202
|
resultsCount: () => number;
|
|
@@ -205,10 +205,10 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
205
205
|
resultFunc: (resultFuncArgs_0: {
|
|
206
206
|
disabledItemsFocusable: boolean;
|
|
207
207
|
itemModelLookup: {
|
|
208
|
-
[itemId: string]: import("
|
|
208
|
+
[itemId: string]: import("../../../index.js").TreeViewBaseItem<import("../../../index.js").TreeViewDefaultItemModelProperties>;
|
|
209
209
|
};
|
|
210
210
|
itemMetaLookup: {
|
|
211
|
-
[itemId: string]: import("
|
|
211
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
212
212
|
};
|
|
213
213
|
itemOrderedChildrenIdsLookup: {
|
|
214
214
|
[parentItemId: string]: string[];
|
|
@@ -224,10 +224,10 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
224
224
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
225
225
|
disabledItemsFocusable: boolean;
|
|
226
226
|
itemModelLookup: {
|
|
227
|
-
[itemId: string]: import("
|
|
227
|
+
[itemId: string]: import("../../../index.js").TreeViewBaseItem<import("../../../index.js").TreeViewDefaultItemModelProperties>;
|
|
228
228
|
};
|
|
229
229
|
itemMetaLookup: {
|
|
230
|
-
[itemId: string]: import("
|
|
230
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
231
231
|
};
|
|
232
232
|
itemOrderedChildrenIdsLookup: {
|
|
233
233
|
[parentItemId: string]: string[];
|
|
@@ -245,7 +245,7 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
245
245
|
resetResultsCount: () => void;
|
|
246
246
|
};
|
|
247
247
|
lastResult: () => boolean;
|
|
248
|
-
dependencies: [TreeViewRootSelector<import("../useTreeViewItems").UseTreeViewItemsSignature>];
|
|
248
|
+
dependencies: [TreeViewRootSelector<import("../useTreeViewItems/index.js").UseTreeViewItemsSignature>];
|
|
249
249
|
recomputations: () => number;
|
|
250
250
|
resetRecomputations: () => void;
|
|
251
251
|
dependencyRecomputations: () => number;
|
|
@@ -286,18 +286,18 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
286
286
|
resetResultsCount: () => void;
|
|
287
287
|
} & {
|
|
288
288
|
resultFunc: (resultFuncArgs_0: string[], resultFuncArgs_1: Map<string, true>, resultFuncArgs_2: {
|
|
289
|
-
[itemId: string]: import("
|
|
289
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
290
290
|
}, resultFuncArgs_3: boolean, resultFuncArgs_4: string[]) => string | null;
|
|
291
291
|
memoizedResultFunc: ((resultFuncArgs_0: string[], resultFuncArgs_1: Map<string, true>, resultFuncArgs_2: {
|
|
292
|
-
[itemId: string]: import("
|
|
292
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
293
293
|
}, resultFuncArgs_3: boolean, resultFuncArgs_4: string[]) => string | null) & {
|
|
294
294
|
clearCache: () => void;
|
|
295
295
|
resultsCount: () => number;
|
|
296
296
|
resetResultsCount: () => void;
|
|
297
297
|
};
|
|
298
298
|
lastResult: () => string | null;
|
|
299
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewSelection/useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
300
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
299
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewSelection/useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
300
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
301
301
|
}) => string[]) & {
|
|
302
302
|
clearCache: () => void;
|
|
303
303
|
resultsCount: () => number;
|
|
@@ -310,33 +310,33 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
310
310
|
resetResultsCount: () => void;
|
|
311
311
|
};
|
|
312
312
|
lastResult: () => string[];
|
|
313
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewSelection/useTreeViewSelection.types").UseTreeViewSelectionState & Partial<{}> & {
|
|
314
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
313
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewSelection/useTreeViewSelection.types.js").UseTreeViewSelectionState & Partial<{}> & {
|
|
314
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
315
315
|
}) => string | string[] | null) & {
|
|
316
316
|
clearCache: () => void;
|
|
317
317
|
resultsCount: () => number;
|
|
318
318
|
resetResultsCount: () => void;
|
|
319
319
|
} & {
|
|
320
320
|
resultFunc: (resultFuncArgs_0: {
|
|
321
|
-
selectedItems: import("../useTreeViewSelection/useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
321
|
+
selectedItems: import("../useTreeViewSelection/useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
322
322
|
isEnabled: boolean;
|
|
323
323
|
isMultiSelectEnabled: boolean;
|
|
324
324
|
isCheckboxSelectionEnabled: boolean;
|
|
325
|
-
selectionPropagation: import("
|
|
325
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
326
326
|
}) => string | string[] | null;
|
|
327
327
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
328
|
-
selectedItems: import("../useTreeViewSelection/useTreeViewSelection.types").TreeViewSelectionValue<boolean>;
|
|
328
|
+
selectedItems: import("../useTreeViewSelection/useTreeViewSelection.types.js").TreeViewSelectionValue<boolean>;
|
|
329
329
|
isEnabled: boolean;
|
|
330
330
|
isMultiSelectEnabled: boolean;
|
|
331
331
|
isCheckboxSelectionEnabled: boolean;
|
|
332
|
-
selectionPropagation: import("
|
|
332
|
+
selectionPropagation: import("../../../index.js").TreeViewSelectionPropagation;
|
|
333
333
|
}) => string | string[] | null) & {
|
|
334
334
|
clearCache: () => void;
|
|
335
335
|
resultsCount: () => number;
|
|
336
336
|
resetResultsCount: () => void;
|
|
337
337
|
};
|
|
338
338
|
lastResult: () => string | string[] | null;
|
|
339
|
-
dependencies: [TreeViewRootSelector<import("../useTreeViewSelection").UseTreeViewSelectionSignature>];
|
|
339
|
+
dependencies: [TreeViewRootSelector<import("../useTreeViewSelection/index.js").UseTreeViewSelectionSignature>];
|
|
340
340
|
recomputations: () => number;
|
|
341
341
|
resetRecomputations: () => void;
|
|
342
342
|
dependencyRecomputations: () => number;
|
|
@@ -352,8 +352,8 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
352
352
|
} & {
|
|
353
353
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
354
354
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
355
|
-
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewExpansion/useTreeViewExpansion.types").UseTreeViewExpansionState & Partial<{}> & {
|
|
356
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
355
|
+
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewExpansion/useTreeViewExpansion.types.js").UseTreeViewExpansionState & Partial<{}> & {
|
|
356
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
357
357
|
}) => Map<string, true>) & {
|
|
358
358
|
clearCache: () => void;
|
|
359
359
|
resultsCount: () => number;
|
|
@@ -366,8 +366,8 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
366
366
|
resetResultsCount: () => void;
|
|
367
367
|
};
|
|
368
368
|
lastResult: () => Map<string, true>;
|
|
369
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewExpansion/useTreeViewExpansion.types").UseTreeViewExpansionState & Partial<{}> & {
|
|
370
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
369
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewExpansion/useTreeViewExpansion.types.js").UseTreeViewExpansionState & Partial<{}> & {
|
|
370
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
371
371
|
}) => string[]) & {
|
|
372
372
|
clearCache: () => void;
|
|
373
373
|
resultsCount: () => number;
|
|
@@ -386,7 +386,7 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
386
386
|
resetResultsCount: () => void;
|
|
387
387
|
};
|
|
388
388
|
lastResult: () => string[];
|
|
389
|
-
dependencies: [TreeViewRootSelector<import("../useTreeViewExpansion").UseTreeViewExpansionSignature>];
|
|
389
|
+
dependencies: [TreeViewRootSelector<import("../useTreeViewExpansion/index.js").UseTreeViewExpansionSignature>];
|
|
390
390
|
recomputations: () => number;
|
|
391
391
|
resetRecomputations: () => void;
|
|
392
392
|
dependencyRecomputations: () => number;
|
|
@@ -402,10 +402,10 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
402
402
|
} & {
|
|
403
403
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
404
404
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
405
|
-
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewItems").UseTreeViewItemsState<import("
|
|
406
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
405
|
+
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewItems/index.js").UseTreeViewItemsState<import("../../../index.js").TreeViewDefaultItemModelProperties> & Partial<{}> & {
|
|
406
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
407
407
|
}) => {
|
|
408
|
-
[itemId: string]: import("
|
|
408
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
409
409
|
}) & {
|
|
410
410
|
clearCache: () => void;
|
|
411
411
|
resultsCount: () => number;
|
|
@@ -414,10 +414,10 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
414
414
|
resultFunc: (resultFuncArgs_0: {
|
|
415
415
|
disabledItemsFocusable: boolean;
|
|
416
416
|
itemModelLookup: {
|
|
417
|
-
[itemId: string]: import("
|
|
417
|
+
[itemId: string]: import("../../../index.js").TreeViewBaseItem<import("../../../index.js").TreeViewDefaultItemModelProperties>;
|
|
418
418
|
};
|
|
419
419
|
itemMetaLookup: {
|
|
420
|
-
[itemId: string]: import("
|
|
420
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
421
421
|
};
|
|
422
422
|
itemOrderedChildrenIdsLookup: {
|
|
423
423
|
[parentItemId: string]: string[];
|
|
@@ -430,15 +430,15 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
430
430
|
loading: boolean;
|
|
431
431
|
error: Error | null;
|
|
432
432
|
}) => {
|
|
433
|
-
[itemId: string]: import("
|
|
433
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
434
434
|
};
|
|
435
435
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
436
436
|
disabledItemsFocusable: boolean;
|
|
437
437
|
itemModelLookup: {
|
|
438
|
-
[itemId: string]: import("
|
|
438
|
+
[itemId: string]: import("../../../index.js").TreeViewBaseItem<import("../../../index.js").TreeViewDefaultItemModelProperties>;
|
|
439
439
|
};
|
|
440
440
|
itemMetaLookup: {
|
|
441
|
-
[itemId: string]: import("
|
|
441
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
442
442
|
};
|
|
443
443
|
itemOrderedChildrenIdsLookup: {
|
|
444
444
|
[parentItemId: string]: string[];
|
|
@@ -451,16 +451,16 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
451
451
|
loading: boolean;
|
|
452
452
|
error: Error | null;
|
|
453
453
|
}) => {
|
|
454
|
-
[itemId: string]: import("
|
|
454
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
455
455
|
}) & {
|
|
456
456
|
clearCache: () => void;
|
|
457
457
|
resultsCount: () => number;
|
|
458
458
|
resetResultsCount: () => void;
|
|
459
459
|
};
|
|
460
460
|
lastResult: () => {
|
|
461
|
-
[itemId: string]: import("
|
|
461
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
462
462
|
};
|
|
463
|
-
dependencies: [TreeViewRootSelector<import("../useTreeViewItems").UseTreeViewItemsSignature>];
|
|
463
|
+
dependencies: [TreeViewRootSelector<import("../useTreeViewItems/index.js").UseTreeViewItemsSignature>];
|
|
464
464
|
recomputations: () => number;
|
|
465
465
|
resetRecomputations: () => void;
|
|
466
466
|
dependencyRecomputations: () => number;
|
|
@@ -468,8 +468,8 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
468
468
|
} & {
|
|
469
469
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
470
470
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
471
|
-
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("../useTreeViewItems").UseTreeViewItemsState<import("
|
|
472
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
471
|
+
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewItems/index.js").UseTreeViewItemsState<import("../../../index.js").TreeViewDefaultItemModelProperties> & Partial<{}> & {
|
|
472
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
473
473
|
}) => boolean) & {
|
|
474
474
|
clearCache: () => void;
|
|
475
475
|
resultsCount: () => number;
|
|
@@ -478,10 +478,10 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
478
478
|
resultFunc: (resultFuncArgs_0: {
|
|
479
479
|
disabledItemsFocusable: boolean;
|
|
480
480
|
itemModelLookup: {
|
|
481
|
-
[itemId: string]: import("
|
|
481
|
+
[itemId: string]: import("../../../index.js").TreeViewBaseItem<import("../../../index.js").TreeViewDefaultItemModelProperties>;
|
|
482
482
|
};
|
|
483
483
|
itemMetaLookup: {
|
|
484
|
-
[itemId: string]: import("
|
|
484
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
485
485
|
};
|
|
486
486
|
itemOrderedChildrenIdsLookup: {
|
|
487
487
|
[parentItemId: string]: string[];
|
|
@@ -497,10 +497,10 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
497
497
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
498
498
|
disabledItemsFocusable: boolean;
|
|
499
499
|
itemModelLookup: {
|
|
500
|
-
[itemId: string]: import("
|
|
500
|
+
[itemId: string]: import("../../../index.js").TreeViewBaseItem<import("../../../index.js").TreeViewDefaultItemModelProperties>;
|
|
501
501
|
};
|
|
502
502
|
itemMetaLookup: {
|
|
503
|
-
[itemId: string]: import("
|
|
503
|
+
[itemId: string]: import("../../index.js").TreeViewItemMeta;
|
|
504
504
|
};
|
|
505
505
|
itemOrderedChildrenIdsLookup: {
|
|
506
506
|
[parentItemId: string]: string[];
|
|
@@ -518,7 +518,7 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
518
518
|
resetResultsCount: () => void;
|
|
519
519
|
};
|
|
520
520
|
lastResult: () => boolean;
|
|
521
|
-
dependencies: [TreeViewRootSelector<import("../useTreeViewItems").UseTreeViewItemsSignature>];
|
|
521
|
+
dependencies: [TreeViewRootSelector<import("../useTreeViewItems/index.js").UseTreeViewItemsSignature>];
|
|
522
522
|
recomputations: () => number;
|
|
523
523
|
resetRecomputations: () => void;
|
|
524
524
|
dependencyRecomputations: () => number;
|
|
@@ -548,8 +548,8 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
548
548
|
* @param {TreeViewState<[UseTreeViewFocusSignature]>} state The state of the tree view.
|
|
549
549
|
* @returns {TreeViewItemId | null} The id of the item that is currently focused.
|
|
550
550
|
*/
|
|
551
|
-
export declare const selectorFocusedItemId: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewFocus.types").UseTreeViewFocusState & Partial<{}> & {
|
|
552
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
551
|
+
export declare const selectorFocusedItemId: ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewFocus.types.js").UseTreeViewFocusState & Partial<{}> & {
|
|
552
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
553
553
|
}) => string | null) & {
|
|
554
554
|
clearCache: () => void;
|
|
555
555
|
resultsCount: () => number;
|
|
@@ -593,8 +593,8 @@ export declare const selectorIsItemFocused: ((state: any, itemId: string) => boo
|
|
|
593
593
|
resetResultsCount: () => void;
|
|
594
594
|
};
|
|
595
595
|
lastResult: () => boolean;
|
|
596
|
-
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types").UseTreeViewIdState & import("./useTreeViewFocus.types").UseTreeViewFocusState & Partial<{}> & {
|
|
597
|
-
cacheKey: import("../../models").TreeViewStateCacheKey;
|
|
596
|
+
dependencies: [((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("./useTreeViewFocus.types.js").UseTreeViewFocusState & Partial<{}> & {
|
|
597
|
+
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
598
598
|
}) => string | null) & {
|
|
599
599
|
clearCache: () => void;
|
|
600
600
|
resultsCount: () => number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TreeViewPluginSignature } from "../../models/index.js";
|
|
3
|
-
import type { UseTreeViewItemsSignature } from
|
|
4
|
-
import type { UseTreeViewSelectionSignature } from
|
|
3
|
+
import type { UseTreeViewItemsSignature } from "../useTreeViewItems/index.js";
|
|
4
|
+
import type { UseTreeViewSelectionSignature } from "../useTreeViewSelection/index.js";
|
|
5
5
|
import { UseTreeViewExpansionSignature } from "../useTreeViewExpansion/index.js";
|
|
6
6
|
export interface UseTreeViewFocusPublicAPI {
|
|
7
7
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { useTreeViewItems } from "./useTreeViewItems.js";
|
|
2
|
-
export type { UseTreeViewItemsSignature, UseTreeViewItemsParameters, UseTreeViewItemsDefaultizedParameters, UseTreeViewItemsState } from
|
|
2
|
+
export type { UseTreeViewItemsSignature, UseTreeViewItemsParameters, UseTreeViewItemsDefaultizedParameters, UseTreeViewItemsState } from "./useTreeViewItems.types.js";
|
|
3
3
|
export { buildSiblingIndexes, TREE_VIEW_ROOT_PARENT_ID } from "./useTreeViewItems.utils.js";
|