@workday/canvas-kit-react 9.0.0-alpha.415-next.17 → 9.0.0-alpha.417-next.19
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/collection/index.ts +1 -0
- package/collection/lib/useCursorListModel.tsx +17 -18
- package/collection/lib/useListItemAllowChildStrings.ts +3 -3
- package/collection/lib/useListItemRovingFocus.tsx +26 -7
- package/collection/lib/useListLoader.ts +313 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +427 -124
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +21 -12
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +21 -12
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +28 -16
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +205 -52
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +448 -136
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +28 -16
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +21 -12
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +14 -8
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +208 -64
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +28 -16
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +205 -52
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/commonjs/collection/index.d.ts +1 -0
- package/dist/commonjs/collection/index.d.ts.map +1 -1
- package/dist/commonjs/collection/index.js +1 -0
- package/dist/commonjs/collection/lib/ListBox.d.ts +162 -48
- package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts +354 -56
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useCursorListModel.js +12 -15
- package/dist/commonjs/collection/lib/useGridModel.d.ts +155 -44
- package/dist/commonjs/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts +10 -7
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.js +3 -3
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts +7 -4
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts +7 -5
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.js +21 -8
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts +7 -4
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListLoader.d.ts +67 -0
- package/dist/commonjs/collection/lib/useListLoader.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useListLoader.js +213 -0
- package/dist/commonjs/collection/lib/useListModel.d.ts +155 -44
- package/dist/commonjs/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts +7 -4
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +7 -4
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +7 -4
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +191 -44
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +7 -4
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts +155 -44
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/Menu.d.ts +201 -60
- package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuCard.d.ts +14 -8
- package/dist/commonjs/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +21 -12
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.d.ts +14 -9
- package/dist/commonjs/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuList.d.ts +14 -8
- package/dist/commonjs/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuPopper.d.ts +7 -4
- package/dist/commonjs/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuTarget.d.ts +35 -20
- package/dist/commonjs/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/useMenuModel.d.ts +173 -44
- package/dist/commonjs/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts +626 -176
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +28 -17
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.d.ts +28 -16
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +7 -4
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +28 -16
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +28 -16
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +14 -8
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +521 -116
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +427 -124
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +21 -12
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +21 -12
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +28 -16
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +205 -52
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +448 -136
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +28 -16
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +21 -12
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +14 -8
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +208 -64
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +28 -16
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +205 -52
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/es6/collection/index.d.ts +1 -0
- package/dist/es6/collection/index.d.ts.map +1 -1
- package/dist/es6/collection/index.js +1 -0
- package/dist/es6/collection/lib/ListBox.d.ts +162 -48
- package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/es6/collection/lib/useCursorListModel.d.ts +354 -56
- package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useCursorListModel.js +12 -15
- package/dist/es6/collection/lib/useGridModel.d.ts +155 -44
- package/dist/es6/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts +10 -7
- package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemAllowChildStrings.js +3 -3
- package/dist/es6/collection/lib/useListItemRegister.d.ts +7 -4
- package/dist/es6/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts +7 -5
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.js +21 -8
- package/dist/es6/collection/lib/useListItemSelect.d.ts +7 -4
- package/dist/es6/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListLoader.d.ts +67 -0
- package/dist/es6/collection/lib/useListLoader.d.ts.map +1 -0
- package/dist/es6/collection/lib/useListLoader.js +204 -0
- package/dist/es6/collection/lib/useListModel.d.ts +155 -44
- package/dist/es6/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts +7 -4
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +7 -4
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +7 -4
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +191 -44
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +7 -4
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/collection/lib/useSelectionListModel.d.ts +155 -44
- package/dist/es6/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/es6/menu/lib/Menu.d.ts +201 -60
- package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuCard.d.ts +14 -8
- package/dist/es6/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuContextTarget.d.ts +21 -12
- package/dist/es6/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.d.ts +14 -9
- package/dist/es6/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuList.d.ts +14 -8
- package/dist/es6/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuPopper.d.ts +7 -4
- package/dist/es6/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuTarget.d.ts +35 -20
- package/dist/es6/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/useMenuModel.d.ts +173 -44
- package/dist/es6/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +626 -176
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.d.ts +28 -17
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts +28 -16
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +7 -4
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +28 -16
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.d.ts +28 -16
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.d.ts +14 -8
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.d.ts +521 -116
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -72,6 +72,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
72
72
|
cursorId: string;
|
|
73
73
|
columnCount: number;
|
|
74
74
|
pageSizeRef: React.MutableRefObject<number>;
|
|
75
|
+
cursorIndexRef: {
|
|
76
|
+
readonly current: number;
|
|
77
|
+
};
|
|
75
78
|
UNSTABLE_virtual: {
|
|
76
79
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
77
80
|
totalSize: number;
|
|
@@ -101,6 +104,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
101
104
|
cursorId: string;
|
|
102
105
|
columnCount: number;
|
|
103
106
|
pageSizeRef: React.MutableRefObject<number>;
|
|
107
|
+
cursorIndexRef: {
|
|
108
|
+
readonly current: number;
|
|
109
|
+
};
|
|
104
110
|
UNSTABLE_virtual: {
|
|
105
111
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
106
112
|
totalSize: number;
|
|
@@ -130,6 +136,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
130
136
|
cursorId: string;
|
|
131
137
|
columnCount: number;
|
|
132
138
|
pageSizeRef: React.MutableRefObject<number>;
|
|
139
|
+
cursorIndexRef: {
|
|
140
|
+
readonly current: number;
|
|
141
|
+
};
|
|
133
142
|
UNSTABLE_virtual: {
|
|
134
143
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
135
144
|
totalSize: number;
|
|
@@ -161,6 +170,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
161
170
|
cursorId: string;
|
|
162
171
|
columnCount: number;
|
|
163
172
|
pageSizeRef: React.MutableRefObject<number>;
|
|
173
|
+
cursorIndexRef: {
|
|
174
|
+
readonly current: number;
|
|
175
|
+
};
|
|
164
176
|
UNSTABLE_virtual: {
|
|
165
177
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
166
178
|
totalSize: number;
|
|
@@ -190,6 +202,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
190
202
|
cursorId: string;
|
|
191
203
|
columnCount: number;
|
|
192
204
|
pageSizeRef: React.MutableRefObject<number>;
|
|
205
|
+
cursorIndexRef: {
|
|
206
|
+
readonly current: number;
|
|
207
|
+
};
|
|
193
208
|
UNSTABLE_virtual: {
|
|
194
209
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
195
210
|
totalSize: number;
|
|
@@ -219,6 +234,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
219
234
|
cursorId: string;
|
|
220
235
|
columnCount: number;
|
|
221
236
|
pageSizeRef: React.MutableRefObject<number>;
|
|
237
|
+
cursorIndexRef: {
|
|
238
|
+
readonly current: number;
|
|
239
|
+
};
|
|
222
240
|
UNSTABLE_virtual: {
|
|
223
241
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
224
242
|
totalSize: number;
|
|
@@ -235,9 +253,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
235
253
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
236
254
|
mode: "multiple" | "single";
|
|
237
255
|
}) => void) | undefined;
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
textValue: string;
|
|
256
|
+
onGoTo?: ((data: {
|
|
257
|
+
id: string;
|
|
241
258
|
}, prevState: {
|
|
242
259
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
243
260
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -251,6 +268,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
251
268
|
cursorId: string;
|
|
252
269
|
columnCount: number;
|
|
253
270
|
pageSizeRef: React.MutableRefObject<number>;
|
|
271
|
+
cursorIndexRef: {
|
|
272
|
+
readonly current: number;
|
|
273
|
+
};
|
|
254
274
|
UNSTABLE_virtual: {
|
|
255
275
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
256
276
|
totalSize: number;
|
|
@@ -267,9 +287,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
267
287
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
268
288
|
mode: "multiple" | "single";
|
|
269
289
|
}) => void) | undefined;
|
|
270
|
-
|
|
271
|
-
id: string;
|
|
272
|
-
}, prevState: {
|
|
290
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
273
291
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
274
292
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
275
293
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -282,6 +300,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
282
300
|
cursorId: string;
|
|
283
301
|
columnCount: number;
|
|
284
302
|
pageSizeRef: React.MutableRefObject<number>;
|
|
303
|
+
cursorIndexRef: {
|
|
304
|
+
readonly current: number;
|
|
305
|
+
};
|
|
285
306
|
UNSTABLE_virtual: {
|
|
286
307
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
287
308
|
totalSize: number;
|
|
@@ -298,7 +319,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
298
319
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
299
320
|
mode: "multiple" | "single";
|
|
300
321
|
}) => void) | undefined;
|
|
301
|
-
|
|
322
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
302
323
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
303
324
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
304
325
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -311,6 +332,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
311
332
|
cursorId: string;
|
|
312
333
|
columnCount: number;
|
|
313
334
|
pageSizeRef: React.MutableRefObject<number>;
|
|
335
|
+
cursorIndexRef: {
|
|
336
|
+
readonly current: number;
|
|
337
|
+
};
|
|
314
338
|
UNSTABLE_virtual: {
|
|
315
339
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
316
340
|
totalSize: number;
|
|
@@ -327,7 +351,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
327
351
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
328
352
|
mode: "multiple" | "single";
|
|
329
353
|
}) => void) | undefined;
|
|
330
|
-
|
|
354
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
331
355
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
332
356
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
333
357
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -340,6 +364,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
340
364
|
cursorId: string;
|
|
341
365
|
columnCount: number;
|
|
342
366
|
pageSizeRef: React.MutableRefObject<number>;
|
|
367
|
+
cursorIndexRef: {
|
|
368
|
+
readonly current: number;
|
|
369
|
+
};
|
|
343
370
|
UNSTABLE_virtual: {
|
|
344
371
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
345
372
|
totalSize: number;
|
|
@@ -356,7 +383,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
356
383
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
357
384
|
mode: "multiple" | "single";
|
|
358
385
|
}) => void) | undefined;
|
|
359
|
-
|
|
386
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
360
387
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
361
388
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
362
389
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -369,6 +396,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
369
396
|
cursorId: string;
|
|
370
397
|
columnCount: number;
|
|
371
398
|
pageSizeRef: React.MutableRefObject<number>;
|
|
399
|
+
cursorIndexRef: {
|
|
400
|
+
readonly current: number;
|
|
401
|
+
};
|
|
372
402
|
UNSTABLE_virtual: {
|
|
373
403
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
374
404
|
totalSize: number;
|
|
@@ -385,7 +415,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
385
415
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
386
416
|
mode: "multiple" | "single";
|
|
387
417
|
}) => void) | undefined;
|
|
388
|
-
|
|
418
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
389
419
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
390
420
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
391
421
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -398,6 +428,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
398
428
|
cursorId: string;
|
|
399
429
|
columnCount: number;
|
|
400
430
|
pageSizeRef: React.MutableRefObject<number>;
|
|
431
|
+
cursorIndexRef: {
|
|
432
|
+
readonly current: number;
|
|
433
|
+
};
|
|
401
434
|
UNSTABLE_virtual: {
|
|
402
435
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
403
436
|
totalSize: number;
|
|
@@ -414,7 +447,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
414
447
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
415
448
|
mode: "multiple" | "single";
|
|
416
449
|
}) => void) | undefined;
|
|
417
|
-
|
|
450
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
418
451
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
419
452
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
420
453
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -427,6 +460,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
427
460
|
cursorId: string;
|
|
428
461
|
columnCount: number;
|
|
429
462
|
pageSizeRef: React.MutableRefObject<number>;
|
|
463
|
+
cursorIndexRef: {
|
|
464
|
+
readonly current: number;
|
|
465
|
+
};
|
|
430
466
|
UNSTABLE_virtual: {
|
|
431
467
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
432
468
|
totalSize: number;
|
|
@@ -443,7 +479,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
443
479
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
444
480
|
mode: "multiple" | "single";
|
|
445
481
|
}) => void) | undefined;
|
|
446
|
-
|
|
482
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
447
483
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
448
484
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
449
485
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -456,6 +492,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
456
492
|
cursorId: string;
|
|
457
493
|
columnCount: number;
|
|
458
494
|
pageSizeRef: React.MutableRefObject<number>;
|
|
495
|
+
cursorIndexRef: {
|
|
496
|
+
readonly current: number;
|
|
497
|
+
};
|
|
459
498
|
UNSTABLE_virtual: {
|
|
460
499
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
461
500
|
totalSize: number;
|
|
@@ -472,7 +511,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
472
511
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
473
512
|
mode: "multiple" | "single";
|
|
474
513
|
}) => void) | undefined;
|
|
475
|
-
|
|
514
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
476
515
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
477
516
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
478
517
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -485,6 +524,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
485
524
|
cursorId: string;
|
|
486
525
|
columnCount: number;
|
|
487
526
|
pageSizeRef: React.MutableRefObject<number>;
|
|
527
|
+
cursorIndexRef: {
|
|
528
|
+
readonly current: number;
|
|
529
|
+
};
|
|
488
530
|
UNSTABLE_virtual: {
|
|
489
531
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
490
532
|
totalSize: number;
|
|
@@ -501,7 +543,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
501
543
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
502
544
|
mode: "multiple" | "single";
|
|
503
545
|
}) => void) | undefined;
|
|
504
|
-
|
|
546
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
505
547
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
506
548
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
507
549
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -514,6 +556,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
514
556
|
cursorId: string;
|
|
515
557
|
columnCount: number;
|
|
516
558
|
pageSizeRef: React.MutableRefObject<number>;
|
|
559
|
+
cursorIndexRef: {
|
|
560
|
+
readonly current: number;
|
|
561
|
+
};
|
|
517
562
|
UNSTABLE_virtual: {
|
|
518
563
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
519
564
|
totalSize: number;
|
|
@@ -530,7 +575,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
530
575
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
531
576
|
mode: "multiple" | "single";
|
|
532
577
|
}) => void) | undefined;
|
|
533
|
-
|
|
578
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
534
579
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
535
580
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
536
581
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -543,6 +588,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
543
588
|
cursorId: string;
|
|
544
589
|
columnCount: number;
|
|
545
590
|
pageSizeRef: React.MutableRefObject<number>;
|
|
591
|
+
cursorIndexRef: {
|
|
592
|
+
readonly current: number;
|
|
593
|
+
};
|
|
546
594
|
UNSTABLE_virtual: {
|
|
547
595
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
548
596
|
totalSize: number;
|
|
@@ -559,7 +607,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
559
607
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
560
608
|
mode: "multiple" | "single";
|
|
561
609
|
}) => void) | undefined;
|
|
562
|
-
|
|
610
|
+
onRegisterItem?: ((data: {
|
|
611
|
+
item: any;
|
|
612
|
+
textValue: string;
|
|
613
|
+
}, prevState: {
|
|
563
614
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
564
615
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
565
616
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -572,6 +623,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
572
623
|
cursorId: string;
|
|
573
624
|
columnCount: number;
|
|
574
625
|
pageSizeRef: React.MutableRefObject<number>;
|
|
626
|
+
cursorIndexRef: {
|
|
627
|
+
readonly current: number;
|
|
628
|
+
};
|
|
575
629
|
UNSTABLE_virtual: {
|
|
576
630
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
577
631
|
totalSize: number;
|
|
@@ -603,6 +657,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
603
657
|
cursorId: string;
|
|
604
658
|
columnCount: number;
|
|
605
659
|
pageSizeRef: React.MutableRefObject<number>;
|
|
660
|
+
cursorIndexRef: {
|
|
661
|
+
readonly current: number;
|
|
662
|
+
};
|
|
606
663
|
UNSTABLE_virtual: {
|
|
607
664
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
608
665
|
totalSize: number;
|
|
@@ -634,6 +691,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
634
691
|
cursorId: string;
|
|
635
692
|
columnCount: number;
|
|
636
693
|
pageSizeRef: React.MutableRefObject<number>;
|
|
694
|
+
cursorIndexRef: {
|
|
695
|
+
readonly current: number;
|
|
696
|
+
};
|
|
637
697
|
UNSTABLE_virtual: {
|
|
638
698
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
639
699
|
totalSize: number;
|
|
@@ -666,6 +726,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
666
726
|
cursorId: string;
|
|
667
727
|
columnCount: number;
|
|
668
728
|
pageSizeRef: React.MutableRefObject<number>;
|
|
729
|
+
cursorIndexRef: {
|
|
730
|
+
readonly current: number;
|
|
731
|
+
};
|
|
669
732
|
UNSTABLE_virtual: {
|
|
670
733
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
671
734
|
totalSize: number;
|
|
@@ -695,6 +758,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
695
758
|
cursorId: string;
|
|
696
759
|
columnCount: number;
|
|
697
760
|
pageSizeRef: React.MutableRefObject<number>;
|
|
761
|
+
cursorIndexRef: {
|
|
762
|
+
readonly current: number;
|
|
763
|
+
};
|
|
698
764
|
UNSTABLE_virtual: {
|
|
699
765
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
700
766
|
totalSize: number;
|
|
@@ -724,6 +790,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
724
790
|
cursorId: string;
|
|
725
791
|
columnCount: number;
|
|
726
792
|
pageSizeRef: React.MutableRefObject<number>;
|
|
793
|
+
cursorIndexRef: {
|
|
794
|
+
readonly current: number;
|
|
795
|
+
};
|
|
727
796
|
UNSTABLE_virtual: {
|
|
728
797
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
729
798
|
totalSize: number;
|
|
@@ -755,6 +824,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
755
824
|
cursorId: string;
|
|
756
825
|
columnCount: number;
|
|
757
826
|
pageSizeRef: React.MutableRefObject<number>;
|
|
827
|
+
cursorIndexRef: {
|
|
828
|
+
readonly current: number;
|
|
829
|
+
};
|
|
758
830
|
UNSTABLE_virtual: {
|
|
759
831
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
760
832
|
totalSize: number;
|
|
@@ -784,6 +856,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
784
856
|
cursorId: string;
|
|
785
857
|
columnCount: number;
|
|
786
858
|
pageSizeRef: React.MutableRefObject<number>;
|
|
859
|
+
cursorIndexRef: {
|
|
860
|
+
readonly current: number;
|
|
861
|
+
};
|
|
787
862
|
UNSTABLE_virtual: {
|
|
788
863
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
789
864
|
totalSize: number;
|
|
@@ -813,6 +888,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
813
888
|
cursorId: string;
|
|
814
889
|
columnCount: number;
|
|
815
890
|
pageSizeRef: React.MutableRefObject<number>;
|
|
891
|
+
cursorIndexRef: {
|
|
892
|
+
readonly current: number;
|
|
893
|
+
};
|
|
816
894
|
UNSTABLE_virtual: {
|
|
817
895
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
818
896
|
totalSize: number;
|
|
@@ -829,9 +907,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
829
907
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
830
908
|
mode: "multiple" | "single";
|
|
831
909
|
}) => boolean) | undefined;
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
textValue: string;
|
|
910
|
+
shouldGoTo?: ((data: {
|
|
911
|
+
id: string;
|
|
835
912
|
}, state: {
|
|
836
913
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
837
914
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -845,6 +922,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
845
922
|
cursorId: string;
|
|
846
923
|
columnCount: number;
|
|
847
924
|
pageSizeRef: React.MutableRefObject<number>;
|
|
925
|
+
cursorIndexRef: {
|
|
926
|
+
readonly current: number;
|
|
927
|
+
};
|
|
848
928
|
UNSTABLE_virtual: {
|
|
849
929
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
850
930
|
totalSize: number;
|
|
@@ -861,9 +941,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
861
941
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
862
942
|
mode: "multiple" | "single";
|
|
863
943
|
}) => boolean) | undefined;
|
|
864
|
-
|
|
865
|
-
id: string;
|
|
866
|
-
}, state: {
|
|
944
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
867
945
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
868
946
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
869
947
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -876,6 +954,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
876
954
|
cursorId: string;
|
|
877
955
|
columnCount: number;
|
|
878
956
|
pageSizeRef: React.MutableRefObject<number>;
|
|
957
|
+
cursorIndexRef: {
|
|
958
|
+
readonly current: number;
|
|
959
|
+
};
|
|
879
960
|
UNSTABLE_virtual: {
|
|
880
961
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
881
962
|
totalSize: number;
|
|
@@ -892,7 +973,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
892
973
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
893
974
|
mode: "multiple" | "single";
|
|
894
975
|
}) => boolean) | undefined;
|
|
895
|
-
|
|
976
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
896
977
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
897
978
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
898
979
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -905,6 +986,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
905
986
|
cursorId: string;
|
|
906
987
|
columnCount: number;
|
|
907
988
|
pageSizeRef: React.MutableRefObject<number>;
|
|
989
|
+
cursorIndexRef: {
|
|
990
|
+
readonly current: number;
|
|
991
|
+
};
|
|
908
992
|
UNSTABLE_virtual: {
|
|
909
993
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
910
994
|
totalSize: number;
|
|
@@ -921,7 +1005,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
921
1005
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
922
1006
|
mode: "multiple" | "single";
|
|
923
1007
|
}) => boolean) | undefined;
|
|
924
|
-
|
|
1008
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
925
1009
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
926
1010
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
927
1011
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -934,6 +1018,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
934
1018
|
cursorId: string;
|
|
935
1019
|
columnCount: number;
|
|
936
1020
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1021
|
+
cursorIndexRef: {
|
|
1022
|
+
readonly current: number;
|
|
1023
|
+
};
|
|
937
1024
|
UNSTABLE_virtual: {
|
|
938
1025
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
939
1026
|
totalSize: number;
|
|
@@ -950,7 +1037,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
950
1037
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
951
1038
|
mode: "multiple" | "single";
|
|
952
1039
|
}) => boolean) | undefined;
|
|
953
|
-
|
|
1040
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
954
1041
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
955
1042
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
956
1043
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -963,6 +1050,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
963
1050
|
cursorId: string;
|
|
964
1051
|
columnCount: number;
|
|
965
1052
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1053
|
+
cursorIndexRef: {
|
|
1054
|
+
readonly current: number;
|
|
1055
|
+
};
|
|
966
1056
|
UNSTABLE_virtual: {
|
|
967
1057
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
968
1058
|
totalSize: number;
|
|
@@ -979,7 +1069,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
979
1069
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
980
1070
|
mode: "multiple" | "single";
|
|
981
1071
|
}) => boolean) | undefined;
|
|
982
|
-
|
|
1072
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
983
1073
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
984
1074
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
985
1075
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -992,6 +1082,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
992
1082
|
cursorId: string;
|
|
993
1083
|
columnCount: number;
|
|
994
1084
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1085
|
+
cursorIndexRef: {
|
|
1086
|
+
readonly current: number;
|
|
1087
|
+
};
|
|
995
1088
|
UNSTABLE_virtual: {
|
|
996
1089
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
997
1090
|
totalSize: number;
|
|
@@ -1008,7 +1101,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1008
1101
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1009
1102
|
mode: "multiple" | "single";
|
|
1010
1103
|
}) => boolean) | undefined;
|
|
1011
|
-
|
|
1104
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
1012
1105
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1013
1106
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1014
1107
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1021,6 +1114,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1021
1114
|
cursorId: string;
|
|
1022
1115
|
columnCount: number;
|
|
1023
1116
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1117
|
+
cursorIndexRef: {
|
|
1118
|
+
readonly current: number;
|
|
1119
|
+
};
|
|
1024
1120
|
UNSTABLE_virtual: {
|
|
1025
1121
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1026
1122
|
totalSize: number;
|
|
@@ -1037,7 +1133,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1037
1133
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1038
1134
|
mode: "multiple" | "single";
|
|
1039
1135
|
}) => boolean) | undefined;
|
|
1040
|
-
|
|
1136
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
1041
1137
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1042
1138
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1043
1139
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1050,6 +1146,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1050
1146
|
cursorId: string;
|
|
1051
1147
|
columnCount: number;
|
|
1052
1148
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1149
|
+
cursorIndexRef: {
|
|
1150
|
+
readonly current: number;
|
|
1151
|
+
};
|
|
1053
1152
|
UNSTABLE_virtual: {
|
|
1054
1153
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1055
1154
|
totalSize: number;
|
|
@@ -1066,7 +1165,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1066
1165
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1067
1166
|
mode: "multiple" | "single";
|
|
1068
1167
|
}) => boolean) | undefined;
|
|
1069
|
-
|
|
1168
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
1070
1169
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1071
1170
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1072
1171
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1079,6 +1178,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1079
1178
|
cursorId: string;
|
|
1080
1179
|
columnCount: number;
|
|
1081
1180
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1181
|
+
cursorIndexRef: {
|
|
1182
|
+
readonly current: number;
|
|
1183
|
+
};
|
|
1082
1184
|
UNSTABLE_virtual: {
|
|
1083
1185
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1084
1186
|
totalSize: number;
|
|
@@ -1095,7 +1197,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1095
1197
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1096
1198
|
mode: "multiple" | "single";
|
|
1097
1199
|
}) => boolean) | undefined;
|
|
1098
|
-
|
|
1200
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
1099
1201
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1100
1202
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1101
1203
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1108,6 +1210,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1108
1210
|
cursorId: string;
|
|
1109
1211
|
columnCount: number;
|
|
1110
1212
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1213
|
+
cursorIndexRef: {
|
|
1214
|
+
readonly current: number;
|
|
1215
|
+
};
|
|
1111
1216
|
UNSTABLE_virtual: {
|
|
1112
1217
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1113
1218
|
totalSize: number;
|
|
@@ -1124,7 +1229,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1124
1229
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1125
1230
|
mode: "multiple" | "single";
|
|
1126
1231
|
}) => boolean) | undefined;
|
|
1127
|
-
|
|
1232
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
1128
1233
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1129
1234
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1130
1235
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1137,6 +1242,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1137
1242
|
cursorId: string;
|
|
1138
1243
|
columnCount: number;
|
|
1139
1244
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1245
|
+
cursorIndexRef: {
|
|
1246
|
+
readonly current: number;
|
|
1247
|
+
};
|
|
1140
1248
|
UNSTABLE_virtual: {
|
|
1141
1249
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1142
1250
|
totalSize: number;
|
|
@@ -1153,7 +1261,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1153
1261
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1154
1262
|
mode: "multiple" | "single";
|
|
1155
1263
|
}) => boolean) | undefined;
|
|
1156
|
-
|
|
1264
|
+
shouldRegisterItem?: ((data: {
|
|
1265
|
+
item: any;
|
|
1266
|
+
textValue: string;
|
|
1267
|
+
}, state: {
|
|
1157
1268
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1158
1269
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1159
1270
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1166,6 +1277,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1166
1277
|
cursorId: string;
|
|
1167
1278
|
columnCount: number;
|
|
1168
1279
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1280
|
+
cursorIndexRef: {
|
|
1281
|
+
readonly current: number;
|
|
1282
|
+
};
|
|
1169
1283
|
UNSTABLE_virtual: {
|
|
1170
1284
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1171
1285
|
totalSize: number;
|
|
@@ -1197,6 +1311,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1197
1311
|
cursorId: string;
|
|
1198
1312
|
columnCount: number;
|
|
1199
1313
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1314
|
+
cursorIndexRef: {
|
|
1315
|
+
readonly current: number;
|
|
1316
|
+
};
|
|
1200
1317
|
UNSTABLE_virtual: {
|
|
1201
1318
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1202
1319
|
totalSize: number;
|
|
@@ -1228,6 +1345,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1228
1345
|
cursorId: string;
|
|
1229
1346
|
columnCount: number;
|
|
1230
1347
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1348
|
+
cursorIndexRef: {
|
|
1349
|
+
readonly current: number;
|
|
1350
|
+
};
|
|
1231
1351
|
UNSTABLE_virtual: {
|
|
1232
1352
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1233
1353
|
totalSize: number;
|
|
@@ -1289,6 +1409,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1289
1409
|
cursorId: string;
|
|
1290
1410
|
columnCount: number;
|
|
1291
1411
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1412
|
+
cursorIndexRef: {
|
|
1413
|
+
readonly current: number;
|
|
1414
|
+
};
|
|
1292
1415
|
UNSTABLE_virtual: {
|
|
1293
1416
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1294
1417
|
totalSize: number;
|
|
@@ -1328,6 +1451,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1328
1451
|
cursorId: string;
|
|
1329
1452
|
columnCount: number;
|
|
1330
1453
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1454
|
+
cursorIndexRef: {
|
|
1455
|
+
readonly current: number;
|
|
1456
|
+
};
|
|
1331
1457
|
UNSTABLE_virtual: {
|
|
1332
1458
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1333
1459
|
totalSize: number;
|
|
@@ -1367,6 +1493,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1367
1493
|
cursorId: string;
|
|
1368
1494
|
columnCount: number;
|
|
1369
1495
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1496
|
+
cursorIndexRef: {
|
|
1497
|
+
readonly current: number;
|
|
1498
|
+
};
|
|
1370
1499
|
UNSTABLE_virtual: {
|
|
1371
1500
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1372
1501
|
totalSize: number;
|
|
@@ -1406,6 +1535,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1406
1535
|
cursorId: string;
|
|
1407
1536
|
columnCount: number;
|
|
1408
1537
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1538
|
+
cursorIndexRef: {
|
|
1539
|
+
readonly current: number;
|
|
1540
|
+
};
|
|
1409
1541
|
UNSTABLE_virtual: {
|
|
1410
1542
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1411
1543
|
totalSize: number;
|
|
@@ -1445,6 +1577,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1445
1577
|
cursorId: string;
|
|
1446
1578
|
columnCount: number;
|
|
1447
1579
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1580
|
+
cursorIndexRef: {
|
|
1581
|
+
readonly current: number;
|
|
1582
|
+
};
|
|
1448
1583
|
UNSTABLE_virtual: {
|
|
1449
1584
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1450
1585
|
totalSize: number;
|
|
@@ -1485,6 +1620,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1485
1620
|
cursorId: string;
|
|
1486
1621
|
columnCount: number;
|
|
1487
1622
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1623
|
+
cursorIndexRef: {
|
|
1624
|
+
readonly current: number;
|
|
1625
|
+
};
|
|
1488
1626
|
UNSTABLE_virtual: {
|
|
1489
1627
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1490
1628
|
totalSize: number;
|
|
@@ -1524,6 +1662,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1524
1662
|
cursorId: string;
|
|
1525
1663
|
columnCount: number;
|
|
1526
1664
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1665
|
+
cursorIndexRef: {
|
|
1666
|
+
readonly current: number;
|
|
1667
|
+
};
|
|
1527
1668
|
UNSTABLE_virtual: {
|
|
1528
1669
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1529
1670
|
totalSize: number;
|
|
@@ -1563,6 +1704,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1563
1704
|
cursorId: string;
|
|
1564
1705
|
columnCount: number;
|
|
1565
1706
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1707
|
+
cursorIndexRef: {
|
|
1708
|
+
readonly current: number;
|
|
1709
|
+
};
|
|
1566
1710
|
UNSTABLE_virtual: {
|
|
1567
1711
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1568
1712
|
totalSize: number;
|
|
@@ -1602,6 +1746,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1602
1746
|
cursorId: string;
|
|
1603
1747
|
columnCount: number;
|
|
1604
1748
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1749
|
+
cursorIndexRef: {
|
|
1750
|
+
readonly current: number;
|
|
1751
|
+
};
|
|
1605
1752
|
UNSTABLE_virtual: {
|
|
1606
1753
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1607
1754
|
totalSize: number;
|
|
@@ -1639,6 +1786,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1639
1786
|
cursorId: string;
|
|
1640
1787
|
columnCount: number;
|
|
1641
1788
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1789
|
+
cursorIndexRef: {
|
|
1790
|
+
readonly current: number;
|
|
1791
|
+
};
|
|
1642
1792
|
UNSTABLE_virtual: {
|
|
1643
1793
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1644
1794
|
totalSize: number;
|
|
@@ -1676,6 +1826,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1676
1826
|
cursorId: string;
|
|
1677
1827
|
columnCount: number;
|
|
1678
1828
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1829
|
+
cursorIndexRef: {
|
|
1830
|
+
readonly current: number;
|
|
1831
|
+
};
|
|
1679
1832
|
UNSTABLE_virtual: {
|
|
1680
1833
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1681
1834
|
totalSize: number;
|
|
@@ -1691,9 +1844,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1691
1844
|
isVirtualized: boolean;
|
|
1692
1845
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1693
1846
|
}) => void) | undefined;
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
textValue: string;
|
|
1847
|
+
onGoTo?: ((data: {
|
|
1848
|
+
id: string;
|
|
1697
1849
|
}, prevState: {
|
|
1698
1850
|
getId: (item: any) => string;
|
|
1699
1851
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -1716,6 +1868,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1716
1868
|
cursorId: string;
|
|
1717
1869
|
columnCount: number;
|
|
1718
1870
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1871
|
+
cursorIndexRef: {
|
|
1872
|
+
readonly current: number;
|
|
1873
|
+
};
|
|
1719
1874
|
UNSTABLE_virtual: {
|
|
1720
1875
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1721
1876
|
totalSize: number;
|
|
@@ -1731,9 +1886,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1731
1886
|
isVirtualized: boolean;
|
|
1732
1887
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1733
1888
|
}) => void) | undefined;
|
|
1734
|
-
|
|
1735
|
-
id: string;
|
|
1736
|
-
}, prevState: {
|
|
1889
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
1737
1890
|
getId: (item: any) => string;
|
|
1738
1891
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1739
1892
|
/**
|
|
@@ -1755,6 +1908,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1755
1908
|
cursorId: string;
|
|
1756
1909
|
columnCount: number;
|
|
1757
1910
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1911
|
+
cursorIndexRef: {
|
|
1912
|
+
readonly current: number;
|
|
1913
|
+
};
|
|
1758
1914
|
UNSTABLE_virtual: {
|
|
1759
1915
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1760
1916
|
totalSize: number;
|
|
@@ -1770,7 +1926,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1770
1926
|
isVirtualized: boolean;
|
|
1771
1927
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1772
1928
|
}) => void) | undefined;
|
|
1773
|
-
|
|
1929
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
1774
1930
|
getId: (item: any) => string;
|
|
1775
1931
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1776
1932
|
/**
|
|
@@ -1792,6 +1948,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1792
1948
|
cursorId: string;
|
|
1793
1949
|
columnCount: number;
|
|
1794
1950
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1951
|
+
cursorIndexRef: {
|
|
1952
|
+
readonly current: number;
|
|
1953
|
+
};
|
|
1795
1954
|
UNSTABLE_virtual: {
|
|
1796
1955
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1797
1956
|
totalSize: number;
|
|
@@ -1807,7 +1966,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1807
1966
|
isVirtualized: boolean;
|
|
1808
1967
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1809
1968
|
}) => void) | undefined;
|
|
1810
|
-
|
|
1969
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
1811
1970
|
getId: (item: any) => string;
|
|
1812
1971
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1813
1972
|
/**
|
|
@@ -1829,6 +1988,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1829
1988
|
cursorId: string;
|
|
1830
1989
|
columnCount: number;
|
|
1831
1990
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1991
|
+
cursorIndexRef: {
|
|
1992
|
+
readonly current: number;
|
|
1993
|
+
};
|
|
1832
1994
|
UNSTABLE_virtual: {
|
|
1833
1995
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1834
1996
|
totalSize: number;
|
|
@@ -1844,7 +2006,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1844
2006
|
isVirtualized: boolean;
|
|
1845
2007
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1846
2008
|
}) => void) | undefined;
|
|
1847
|
-
|
|
2009
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
1848
2010
|
getId: (item: any) => string;
|
|
1849
2011
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1850
2012
|
/**
|
|
@@ -1866,6 +2028,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1866
2028
|
cursorId: string;
|
|
1867
2029
|
columnCount: number;
|
|
1868
2030
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2031
|
+
cursorIndexRef: {
|
|
2032
|
+
readonly current: number;
|
|
2033
|
+
};
|
|
1869
2034
|
UNSTABLE_virtual: {
|
|
1870
2035
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1871
2036
|
totalSize: number;
|
|
@@ -1881,7 +2046,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1881
2046
|
isVirtualized: boolean;
|
|
1882
2047
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1883
2048
|
}) => void) | undefined;
|
|
1884
|
-
|
|
2049
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
1885
2050
|
getId: (item: any) => string;
|
|
1886
2051
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1887
2052
|
/**
|
|
@@ -1903,6 +2068,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1903
2068
|
cursorId: string;
|
|
1904
2069
|
columnCount: number;
|
|
1905
2070
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2071
|
+
cursorIndexRef: {
|
|
2072
|
+
readonly current: number;
|
|
2073
|
+
};
|
|
1906
2074
|
UNSTABLE_virtual: {
|
|
1907
2075
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1908
2076
|
totalSize: number;
|
|
@@ -1918,7 +2086,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1918
2086
|
isVirtualized: boolean;
|
|
1919
2087
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1920
2088
|
}) => void) | undefined;
|
|
1921
|
-
|
|
2089
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
1922
2090
|
getId: (item: any) => string;
|
|
1923
2091
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1924
2092
|
/**
|
|
@@ -1940,6 +2108,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1940
2108
|
cursorId: string;
|
|
1941
2109
|
columnCount: number;
|
|
1942
2110
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2111
|
+
cursorIndexRef: {
|
|
2112
|
+
readonly current: number;
|
|
2113
|
+
};
|
|
1943
2114
|
UNSTABLE_virtual: {
|
|
1944
2115
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1945
2116
|
totalSize: number;
|
|
@@ -1955,7 +2126,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1955
2126
|
isVirtualized: boolean;
|
|
1956
2127
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1957
2128
|
}) => void) | undefined;
|
|
1958
|
-
|
|
2129
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
1959
2130
|
getId: (item: any) => string;
|
|
1960
2131
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1961
2132
|
/**
|
|
@@ -1977,6 +2148,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1977
2148
|
cursorId: string;
|
|
1978
2149
|
columnCount: number;
|
|
1979
2150
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2151
|
+
cursorIndexRef: {
|
|
2152
|
+
readonly current: number;
|
|
2153
|
+
};
|
|
1980
2154
|
UNSTABLE_virtual: {
|
|
1981
2155
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1982
2156
|
totalSize: number;
|
|
@@ -1992,7 +2166,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1992
2166
|
isVirtualized: boolean;
|
|
1993
2167
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1994
2168
|
}) => void) | undefined;
|
|
1995
|
-
|
|
2169
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
1996
2170
|
getId: (item: any) => string;
|
|
1997
2171
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1998
2172
|
/**
|
|
@@ -2014,6 +2188,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2014
2188
|
cursorId: string;
|
|
2015
2189
|
columnCount: number;
|
|
2016
2190
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2191
|
+
cursorIndexRef: {
|
|
2192
|
+
readonly current: number;
|
|
2193
|
+
};
|
|
2017
2194
|
UNSTABLE_virtual: {
|
|
2018
2195
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2019
2196
|
totalSize: number;
|
|
@@ -2029,7 +2206,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2029
2206
|
isVirtualized: boolean;
|
|
2030
2207
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2031
2208
|
}) => void) | undefined;
|
|
2032
|
-
|
|
2209
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
2033
2210
|
getId: (item: any) => string;
|
|
2034
2211
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2035
2212
|
/**
|
|
@@ -2051,6 +2228,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2051
2228
|
cursorId: string;
|
|
2052
2229
|
columnCount: number;
|
|
2053
2230
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2231
|
+
cursorIndexRef: {
|
|
2232
|
+
readonly current: number;
|
|
2233
|
+
};
|
|
2054
2234
|
UNSTABLE_virtual: {
|
|
2055
2235
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2056
2236
|
totalSize: number;
|
|
@@ -2066,7 +2246,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2066
2246
|
isVirtualized: boolean;
|
|
2067
2247
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2068
2248
|
}) => void) | undefined;
|
|
2069
|
-
|
|
2249
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
2070
2250
|
getId: (item: any) => string;
|
|
2071
2251
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2072
2252
|
/**
|
|
@@ -2088,6 +2268,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2088
2268
|
cursorId: string;
|
|
2089
2269
|
columnCount: number;
|
|
2090
2270
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2271
|
+
cursorIndexRef: {
|
|
2272
|
+
readonly current: number;
|
|
2273
|
+
};
|
|
2091
2274
|
UNSTABLE_virtual: {
|
|
2092
2275
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2093
2276
|
totalSize: number;
|
|
@@ -2103,7 +2286,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2103
2286
|
isVirtualized: boolean;
|
|
2104
2287
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2105
2288
|
}) => void) | undefined;
|
|
2106
|
-
|
|
2289
|
+
onRegisterItem?: ((data: {
|
|
2290
|
+
item: any;
|
|
2291
|
+
textValue: string;
|
|
2292
|
+
}, prevState: {
|
|
2107
2293
|
getId: (item: any) => string;
|
|
2108
2294
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2109
2295
|
/**
|
|
@@ -2125,6 +2311,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2125
2311
|
cursorId: string;
|
|
2126
2312
|
columnCount: number;
|
|
2127
2313
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2314
|
+
cursorIndexRef: {
|
|
2315
|
+
readonly current: number;
|
|
2316
|
+
};
|
|
2128
2317
|
UNSTABLE_virtual: {
|
|
2129
2318
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2130
2319
|
totalSize: number;
|
|
@@ -2164,6 +2353,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2164
2353
|
cursorId: string;
|
|
2165
2354
|
columnCount: number;
|
|
2166
2355
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2356
|
+
cursorIndexRef: {
|
|
2357
|
+
readonly current: number;
|
|
2358
|
+
};
|
|
2167
2359
|
UNSTABLE_virtual: {
|
|
2168
2360
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2169
2361
|
totalSize: number;
|
|
@@ -2203,6 +2395,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2203
2395
|
cursorId: string;
|
|
2204
2396
|
columnCount: number;
|
|
2205
2397
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2398
|
+
cursorIndexRef: {
|
|
2399
|
+
readonly current: number;
|
|
2400
|
+
};
|
|
2206
2401
|
UNSTABLE_virtual: {
|
|
2207
2402
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2208
2403
|
totalSize: number;
|
|
@@ -2244,6 +2439,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2244
2439
|
cursorId: string;
|
|
2245
2440
|
columnCount: number;
|
|
2246
2441
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2442
|
+
cursorIndexRef: {
|
|
2443
|
+
readonly current: number;
|
|
2444
|
+
};
|
|
2247
2445
|
UNSTABLE_virtual: {
|
|
2248
2446
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2249
2447
|
totalSize: number;
|
|
@@ -2283,6 +2481,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2283
2481
|
cursorId: string;
|
|
2284
2482
|
columnCount: number;
|
|
2285
2483
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2484
|
+
cursorIndexRef: {
|
|
2485
|
+
readonly current: number;
|
|
2486
|
+
};
|
|
2286
2487
|
UNSTABLE_virtual: {
|
|
2287
2488
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2288
2489
|
totalSize: number;
|
|
@@ -2322,6 +2523,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2322
2523
|
cursorId: string;
|
|
2323
2524
|
columnCount: number;
|
|
2324
2525
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2526
|
+
cursorIndexRef: {
|
|
2527
|
+
readonly current: number;
|
|
2528
|
+
};
|
|
2325
2529
|
UNSTABLE_virtual: {
|
|
2326
2530
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2327
2531
|
totalSize: number;
|
|
@@ -2361,6 +2565,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2361
2565
|
cursorId: string;
|
|
2362
2566
|
columnCount: number;
|
|
2363
2567
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2568
|
+
cursorIndexRef: {
|
|
2569
|
+
readonly current: number;
|
|
2570
|
+
};
|
|
2364
2571
|
UNSTABLE_virtual: {
|
|
2365
2572
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2366
2573
|
totalSize: number;
|
|
@@ -2400,6 +2607,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2400
2607
|
cursorId: string;
|
|
2401
2608
|
columnCount: number;
|
|
2402
2609
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2610
|
+
cursorIndexRef: {
|
|
2611
|
+
readonly current: number;
|
|
2612
|
+
};
|
|
2403
2613
|
UNSTABLE_virtual: {
|
|
2404
2614
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2405
2615
|
totalSize: number;
|
|
@@ -2440,6 +2650,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2440
2650
|
cursorId: string;
|
|
2441
2651
|
columnCount: number;
|
|
2442
2652
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2653
|
+
cursorIndexRef: {
|
|
2654
|
+
readonly current: number;
|
|
2655
|
+
};
|
|
2443
2656
|
UNSTABLE_virtual: {
|
|
2444
2657
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2445
2658
|
totalSize: number;
|
|
@@ -2479,6 +2692,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2479
2692
|
cursorId: string;
|
|
2480
2693
|
columnCount: number;
|
|
2481
2694
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2695
|
+
cursorIndexRef: {
|
|
2696
|
+
readonly current: number;
|
|
2697
|
+
};
|
|
2482
2698
|
UNSTABLE_virtual: {
|
|
2483
2699
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2484
2700
|
totalSize: number;
|
|
@@ -2518,6 +2734,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2518
2734
|
cursorId: string;
|
|
2519
2735
|
columnCount: number;
|
|
2520
2736
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2737
|
+
cursorIndexRef: {
|
|
2738
|
+
readonly current: number;
|
|
2739
|
+
};
|
|
2521
2740
|
UNSTABLE_virtual: {
|
|
2522
2741
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2523
2742
|
totalSize: number;
|
|
@@ -2557,6 +2776,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2557
2776
|
cursorId: string;
|
|
2558
2777
|
columnCount: number;
|
|
2559
2778
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2779
|
+
cursorIndexRef: {
|
|
2780
|
+
readonly current: number;
|
|
2781
|
+
};
|
|
2560
2782
|
UNSTABLE_virtual: {
|
|
2561
2783
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2562
2784
|
totalSize: number;
|
|
@@ -2594,6 +2816,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2594
2816
|
cursorId: string;
|
|
2595
2817
|
columnCount: number;
|
|
2596
2818
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2819
|
+
cursorIndexRef: {
|
|
2820
|
+
readonly current: number;
|
|
2821
|
+
};
|
|
2597
2822
|
UNSTABLE_virtual: {
|
|
2598
2823
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2599
2824
|
totalSize: number;
|
|
@@ -2631,6 +2856,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2631
2856
|
cursorId: string;
|
|
2632
2857
|
columnCount: number;
|
|
2633
2858
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2859
|
+
cursorIndexRef: {
|
|
2860
|
+
readonly current: number;
|
|
2861
|
+
};
|
|
2634
2862
|
UNSTABLE_virtual: {
|
|
2635
2863
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2636
2864
|
totalSize: number;
|
|
@@ -2646,9 +2874,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2646
2874
|
isVirtualized: boolean;
|
|
2647
2875
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2648
2876
|
}) => boolean) | undefined;
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
textValue: string;
|
|
2877
|
+
shouldGoTo?: ((data: {
|
|
2878
|
+
id: string;
|
|
2652
2879
|
}, state: {
|
|
2653
2880
|
getId: (item: any) => string;
|
|
2654
2881
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -2671,6 +2898,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2671
2898
|
cursorId: string;
|
|
2672
2899
|
columnCount: number;
|
|
2673
2900
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2901
|
+
cursorIndexRef: {
|
|
2902
|
+
readonly current: number;
|
|
2903
|
+
};
|
|
2674
2904
|
UNSTABLE_virtual: {
|
|
2675
2905
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2676
2906
|
totalSize: number;
|
|
@@ -2686,9 +2916,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2686
2916
|
isVirtualized: boolean;
|
|
2687
2917
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2688
2918
|
}) => boolean) | undefined;
|
|
2689
|
-
|
|
2690
|
-
id: string;
|
|
2691
|
-
}, state: {
|
|
2919
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
2692
2920
|
getId: (item: any) => string;
|
|
2693
2921
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2694
2922
|
/**
|
|
@@ -2710,6 +2938,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2710
2938
|
cursorId: string;
|
|
2711
2939
|
columnCount: number;
|
|
2712
2940
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2941
|
+
cursorIndexRef: {
|
|
2942
|
+
readonly current: number;
|
|
2943
|
+
};
|
|
2713
2944
|
UNSTABLE_virtual: {
|
|
2714
2945
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2715
2946
|
totalSize: number;
|
|
@@ -2725,7 +2956,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2725
2956
|
isVirtualized: boolean;
|
|
2726
2957
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2727
2958
|
}) => boolean) | undefined;
|
|
2728
|
-
|
|
2959
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
2729
2960
|
getId: (item: any) => string;
|
|
2730
2961
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2731
2962
|
/**
|
|
@@ -2747,6 +2978,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2747
2978
|
cursorId: string;
|
|
2748
2979
|
columnCount: number;
|
|
2749
2980
|
pageSizeRef: React.MutableRefObject<number>;
|
|
2981
|
+
cursorIndexRef: {
|
|
2982
|
+
readonly current: number;
|
|
2983
|
+
};
|
|
2750
2984
|
UNSTABLE_virtual: {
|
|
2751
2985
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2752
2986
|
totalSize: number;
|
|
@@ -2762,7 +2996,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2762
2996
|
isVirtualized: boolean;
|
|
2763
2997
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2764
2998
|
}) => boolean) | undefined;
|
|
2765
|
-
|
|
2999
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
2766
3000
|
getId: (item: any) => string;
|
|
2767
3001
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2768
3002
|
/**
|
|
@@ -2784,6 +3018,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2784
3018
|
cursorId: string;
|
|
2785
3019
|
columnCount: number;
|
|
2786
3020
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3021
|
+
cursorIndexRef: {
|
|
3022
|
+
readonly current: number;
|
|
3023
|
+
};
|
|
2787
3024
|
UNSTABLE_virtual: {
|
|
2788
3025
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2789
3026
|
totalSize: number;
|
|
@@ -2799,7 +3036,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2799
3036
|
isVirtualized: boolean;
|
|
2800
3037
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2801
3038
|
}) => boolean) | undefined;
|
|
2802
|
-
|
|
3039
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
2803
3040
|
getId: (item: any) => string;
|
|
2804
3041
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2805
3042
|
/**
|
|
@@ -2821,6 +3058,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2821
3058
|
cursorId: string;
|
|
2822
3059
|
columnCount: number;
|
|
2823
3060
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3061
|
+
cursorIndexRef: {
|
|
3062
|
+
readonly current: number;
|
|
3063
|
+
};
|
|
2824
3064
|
UNSTABLE_virtual: {
|
|
2825
3065
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2826
3066
|
totalSize: number;
|
|
@@ -2836,7 +3076,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2836
3076
|
isVirtualized: boolean;
|
|
2837
3077
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2838
3078
|
}) => boolean) | undefined;
|
|
2839
|
-
|
|
3079
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
2840
3080
|
getId: (item: any) => string;
|
|
2841
3081
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2842
3082
|
/**
|
|
@@ -2858,6 +3098,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2858
3098
|
cursorId: string;
|
|
2859
3099
|
columnCount: number;
|
|
2860
3100
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3101
|
+
cursorIndexRef: {
|
|
3102
|
+
readonly current: number;
|
|
3103
|
+
};
|
|
2861
3104
|
UNSTABLE_virtual: {
|
|
2862
3105
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2863
3106
|
totalSize: number;
|
|
@@ -2873,7 +3116,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2873
3116
|
isVirtualized: boolean;
|
|
2874
3117
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2875
3118
|
}) => boolean) | undefined;
|
|
2876
|
-
|
|
3119
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
2877
3120
|
getId: (item: any) => string;
|
|
2878
3121
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2879
3122
|
/**
|
|
@@ -2895,6 +3138,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2895
3138
|
cursorId: string;
|
|
2896
3139
|
columnCount: number;
|
|
2897
3140
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3141
|
+
cursorIndexRef: {
|
|
3142
|
+
readonly current: number;
|
|
3143
|
+
};
|
|
2898
3144
|
UNSTABLE_virtual: {
|
|
2899
3145
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2900
3146
|
totalSize: number;
|
|
@@ -2910,7 +3156,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2910
3156
|
isVirtualized: boolean;
|
|
2911
3157
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2912
3158
|
}) => boolean) | undefined;
|
|
2913
|
-
|
|
3159
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
2914
3160
|
getId: (item: any) => string;
|
|
2915
3161
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2916
3162
|
/**
|
|
@@ -2932,6 +3178,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2932
3178
|
cursorId: string;
|
|
2933
3179
|
columnCount: number;
|
|
2934
3180
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3181
|
+
cursorIndexRef: {
|
|
3182
|
+
readonly current: number;
|
|
3183
|
+
};
|
|
2935
3184
|
UNSTABLE_virtual: {
|
|
2936
3185
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2937
3186
|
totalSize: number;
|
|
@@ -2947,7 +3196,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2947
3196
|
isVirtualized: boolean;
|
|
2948
3197
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2949
3198
|
}) => boolean) | undefined;
|
|
2950
|
-
|
|
3199
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
2951
3200
|
getId: (item: any) => string;
|
|
2952
3201
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2953
3202
|
/**
|
|
@@ -2969,6 +3218,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2969
3218
|
cursorId: string;
|
|
2970
3219
|
columnCount: number;
|
|
2971
3220
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3221
|
+
cursorIndexRef: {
|
|
3222
|
+
readonly current: number;
|
|
3223
|
+
};
|
|
2972
3224
|
UNSTABLE_virtual: {
|
|
2973
3225
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2974
3226
|
totalSize: number;
|
|
@@ -2984,7 +3236,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2984
3236
|
isVirtualized: boolean;
|
|
2985
3237
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2986
3238
|
}) => boolean) | undefined;
|
|
2987
|
-
|
|
3239
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
2988
3240
|
getId: (item: any) => string;
|
|
2989
3241
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2990
3242
|
/**
|
|
@@ -3006,6 +3258,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3006
3258
|
cursorId: string;
|
|
3007
3259
|
columnCount: number;
|
|
3008
3260
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3261
|
+
cursorIndexRef: {
|
|
3262
|
+
readonly current: number;
|
|
3263
|
+
};
|
|
3009
3264
|
UNSTABLE_virtual: {
|
|
3010
3265
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3011
3266
|
totalSize: number;
|
|
@@ -3021,7 +3276,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3021
3276
|
isVirtualized: boolean;
|
|
3022
3277
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3023
3278
|
}) => boolean) | undefined;
|
|
3024
|
-
|
|
3279
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
3025
3280
|
getId: (item: any) => string;
|
|
3026
3281
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3027
3282
|
/**
|
|
@@ -3043,6 +3298,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3043
3298
|
cursorId: string;
|
|
3044
3299
|
columnCount: number;
|
|
3045
3300
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3301
|
+
cursorIndexRef: {
|
|
3302
|
+
readonly current: number;
|
|
3303
|
+
};
|
|
3046
3304
|
UNSTABLE_virtual: {
|
|
3047
3305
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3048
3306
|
totalSize: number;
|
|
@@ -3058,7 +3316,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3058
3316
|
isVirtualized: boolean;
|
|
3059
3317
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3060
3318
|
}) => boolean) | undefined;
|
|
3061
|
-
|
|
3319
|
+
shouldRegisterItem?: ((data: {
|
|
3320
|
+
item: any;
|
|
3321
|
+
textValue: string;
|
|
3322
|
+
}, state: {
|
|
3062
3323
|
getId: (item: any) => string;
|
|
3063
3324
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3064
3325
|
/**
|
|
@@ -3080,6 +3341,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3080
3341
|
cursorId: string;
|
|
3081
3342
|
columnCount: number;
|
|
3082
3343
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3344
|
+
cursorIndexRef: {
|
|
3345
|
+
readonly current: number;
|
|
3346
|
+
};
|
|
3083
3347
|
UNSTABLE_virtual: {
|
|
3084
3348
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3085
3349
|
totalSize: number;
|
|
@@ -3119,6 +3383,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3119
3383
|
cursorId: string;
|
|
3120
3384
|
columnCount: number;
|
|
3121
3385
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3386
|
+
cursorIndexRef: {
|
|
3387
|
+
readonly current: number;
|
|
3388
|
+
};
|
|
3122
3389
|
UNSTABLE_virtual: {
|
|
3123
3390
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3124
3391
|
totalSize: number;
|
|
@@ -3158,6 +3425,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3158
3425
|
cursorId: string;
|
|
3159
3426
|
columnCount: number;
|
|
3160
3427
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3428
|
+
cursorIndexRef: {
|
|
3429
|
+
readonly current: number;
|
|
3430
|
+
};
|
|
3161
3431
|
UNSTABLE_virtual: {
|
|
3162
3432
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3163
3433
|
totalSize: number;
|
|
@@ -3196,6 +3466,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3196
3466
|
cursorId: string;
|
|
3197
3467
|
columnCount: number;
|
|
3198
3468
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3469
|
+
cursorIndexRef: {
|
|
3470
|
+
readonly current: number;
|
|
3471
|
+
};
|
|
3199
3472
|
UNSTABLE_virtual: {
|
|
3200
3473
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3201
3474
|
totalSize: number;
|
|
@@ -3249,10 +3522,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3249
3522
|
}): void;
|
|
3250
3523
|
selectAll(): void;
|
|
3251
3524
|
unselectAll(): void;
|
|
3252
|
-
registerItem(data: {
|
|
3253
|
-
item: any;
|
|
3254
|
-
textValue: string;
|
|
3255
|
-
}): void;
|
|
3256
3525
|
goTo(data: {
|
|
3257
3526
|
id: string;
|
|
3258
3527
|
}): void;
|
|
@@ -3266,6 +3535,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3266
3535
|
goToLastOfRow(): void;
|
|
3267
3536
|
goToNextPage(): void;
|
|
3268
3537
|
goToPreviousPage(): void;
|
|
3538
|
+
registerItem(data: {
|
|
3539
|
+
item: any;
|
|
3540
|
+
textValue: string;
|
|
3541
|
+
}): void;
|
|
3269
3542
|
unregisterItem(data: {
|
|
3270
3543
|
id: string;
|
|
3271
3544
|
}): void;
|
|
@@ -3287,6 +3560,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3287
3560
|
cursorId: string;
|
|
3288
3561
|
columnCount: number;
|
|
3289
3562
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3563
|
+
cursorIndexRef: {
|
|
3564
|
+
readonly current: number;
|
|
3565
|
+
};
|
|
3290
3566
|
UNSTABLE_virtual: {
|
|
3291
3567
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3292
3568
|
totalSize: number;
|
|
@@ -3316,10 +3592,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3316
3592
|
}): void;
|
|
3317
3593
|
selectAll(): void;
|
|
3318
3594
|
unselectAll(): void;
|
|
3319
|
-
registerItem(data: {
|
|
3320
|
-
item: any;
|
|
3321
|
-
textValue: string;
|
|
3322
|
-
}): void;
|
|
3323
3595
|
goTo(data: {
|
|
3324
3596
|
id: string;
|
|
3325
3597
|
}): void;
|
|
@@ -3333,6 +3605,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3333
3605
|
goToLastOfRow(): void;
|
|
3334
3606
|
goToNextPage(): void;
|
|
3335
3607
|
goToPreviousPage(): void;
|
|
3608
|
+
registerItem(data: {
|
|
3609
|
+
item: any;
|
|
3610
|
+
textValue: string;
|
|
3611
|
+
}): void;
|
|
3336
3612
|
unregisterItem(data: {
|
|
3337
3613
|
id: string;
|
|
3338
3614
|
}): void;
|
|
@@ -3404,6 +3680,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3404
3680
|
cursorId: string;
|
|
3405
3681
|
columnCount: number;
|
|
3406
3682
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3683
|
+
cursorIndexRef: {
|
|
3684
|
+
readonly current: number;
|
|
3685
|
+
};
|
|
3407
3686
|
UNSTABLE_virtual: {
|
|
3408
3687
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3409
3688
|
totalSize: number;
|
|
@@ -3433,6 +3712,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3433
3712
|
cursorId: string;
|
|
3434
3713
|
columnCount: number;
|
|
3435
3714
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3715
|
+
cursorIndexRef: {
|
|
3716
|
+
readonly current: number;
|
|
3717
|
+
};
|
|
3436
3718
|
UNSTABLE_virtual: {
|
|
3437
3719
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3438
3720
|
totalSize: number;
|
|
@@ -3462,6 +3744,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3462
3744
|
cursorId: string;
|
|
3463
3745
|
columnCount: number;
|
|
3464
3746
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3747
|
+
cursorIndexRef: {
|
|
3748
|
+
readonly current: number;
|
|
3749
|
+
};
|
|
3465
3750
|
UNSTABLE_virtual: {
|
|
3466
3751
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3467
3752
|
totalSize: number;
|
|
@@ -3493,6 +3778,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3493
3778
|
cursorId: string;
|
|
3494
3779
|
columnCount: number;
|
|
3495
3780
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3781
|
+
cursorIndexRef: {
|
|
3782
|
+
readonly current: number;
|
|
3783
|
+
};
|
|
3496
3784
|
UNSTABLE_virtual: {
|
|
3497
3785
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3498
3786
|
totalSize: number;
|
|
@@ -3522,6 +3810,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3522
3810
|
cursorId: string;
|
|
3523
3811
|
columnCount: number;
|
|
3524
3812
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3813
|
+
cursorIndexRef: {
|
|
3814
|
+
readonly current: number;
|
|
3815
|
+
};
|
|
3525
3816
|
UNSTABLE_virtual: {
|
|
3526
3817
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3527
3818
|
totalSize: number;
|
|
@@ -3551,6 +3842,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3551
3842
|
cursorId: string;
|
|
3552
3843
|
columnCount: number;
|
|
3553
3844
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3845
|
+
cursorIndexRef: {
|
|
3846
|
+
readonly current: number;
|
|
3847
|
+
};
|
|
3554
3848
|
UNSTABLE_virtual: {
|
|
3555
3849
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3556
3850
|
totalSize: number;
|
|
@@ -3567,9 +3861,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3567
3861
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3568
3862
|
mode: "multiple" | "single";
|
|
3569
3863
|
}) => void) | undefined;
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
textValue: string;
|
|
3864
|
+
onGoTo?: ((data: {
|
|
3865
|
+
id: string;
|
|
3573
3866
|
}, prevState: {
|
|
3574
3867
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3575
3868
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -3583,6 +3876,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3583
3876
|
cursorId: string;
|
|
3584
3877
|
columnCount: number;
|
|
3585
3878
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3879
|
+
cursorIndexRef: {
|
|
3880
|
+
readonly current: number;
|
|
3881
|
+
};
|
|
3586
3882
|
UNSTABLE_virtual: {
|
|
3587
3883
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3588
3884
|
totalSize: number;
|
|
@@ -3599,9 +3895,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3599
3895
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3600
3896
|
mode: "multiple" | "single";
|
|
3601
3897
|
}) => void) | undefined;
|
|
3602
|
-
|
|
3603
|
-
id: string;
|
|
3604
|
-
}, prevState: {
|
|
3898
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
3605
3899
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3606
3900
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3607
3901
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3614,6 +3908,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3614
3908
|
cursorId: string;
|
|
3615
3909
|
columnCount: number;
|
|
3616
3910
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3911
|
+
cursorIndexRef: {
|
|
3912
|
+
readonly current: number;
|
|
3913
|
+
};
|
|
3617
3914
|
UNSTABLE_virtual: {
|
|
3618
3915
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3619
3916
|
totalSize: number;
|
|
@@ -3630,7 +3927,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3630
3927
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3631
3928
|
mode: "multiple" | "single";
|
|
3632
3929
|
}) => void) | undefined;
|
|
3633
|
-
|
|
3930
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
3634
3931
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3635
3932
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3636
3933
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3643,6 +3940,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3643
3940
|
cursorId: string;
|
|
3644
3941
|
columnCount: number;
|
|
3645
3942
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3943
|
+
cursorIndexRef: {
|
|
3944
|
+
readonly current: number;
|
|
3945
|
+
};
|
|
3646
3946
|
UNSTABLE_virtual: {
|
|
3647
3947
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3648
3948
|
totalSize: number;
|
|
@@ -3659,7 +3959,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3659
3959
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3660
3960
|
mode: "multiple" | "single";
|
|
3661
3961
|
}) => void) | undefined;
|
|
3662
|
-
|
|
3962
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
3663
3963
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3664
3964
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3665
3965
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3672,6 +3972,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3672
3972
|
cursorId: string;
|
|
3673
3973
|
columnCount: number;
|
|
3674
3974
|
pageSizeRef: React.MutableRefObject<number>;
|
|
3975
|
+
cursorIndexRef: {
|
|
3976
|
+
readonly current: number;
|
|
3977
|
+
};
|
|
3675
3978
|
UNSTABLE_virtual: {
|
|
3676
3979
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3677
3980
|
totalSize: number;
|
|
@@ -3688,7 +3991,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3688
3991
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3689
3992
|
mode: "multiple" | "single";
|
|
3690
3993
|
}) => void) | undefined;
|
|
3691
|
-
|
|
3994
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
3692
3995
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3693
3996
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3694
3997
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3701,6 +4004,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3701
4004
|
cursorId: string;
|
|
3702
4005
|
columnCount: number;
|
|
3703
4006
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4007
|
+
cursorIndexRef: {
|
|
4008
|
+
readonly current: number;
|
|
4009
|
+
};
|
|
3704
4010
|
UNSTABLE_virtual: {
|
|
3705
4011
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3706
4012
|
totalSize: number;
|
|
@@ -3717,7 +4023,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3717
4023
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3718
4024
|
mode: "multiple" | "single";
|
|
3719
4025
|
}) => void) | undefined;
|
|
3720
|
-
|
|
4026
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
3721
4027
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3722
4028
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3723
4029
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3730,6 +4036,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3730
4036
|
cursorId: string;
|
|
3731
4037
|
columnCount: number;
|
|
3732
4038
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4039
|
+
cursorIndexRef: {
|
|
4040
|
+
readonly current: number;
|
|
4041
|
+
};
|
|
3733
4042
|
UNSTABLE_virtual: {
|
|
3734
4043
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3735
4044
|
totalSize: number;
|
|
@@ -3746,7 +4055,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3746
4055
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3747
4056
|
mode: "multiple" | "single";
|
|
3748
4057
|
}) => void) | undefined;
|
|
3749
|
-
|
|
4058
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
3750
4059
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3751
4060
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3752
4061
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3759,6 +4068,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3759
4068
|
cursorId: string;
|
|
3760
4069
|
columnCount: number;
|
|
3761
4070
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4071
|
+
cursorIndexRef: {
|
|
4072
|
+
readonly current: number;
|
|
4073
|
+
};
|
|
3762
4074
|
UNSTABLE_virtual: {
|
|
3763
4075
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3764
4076
|
totalSize: number;
|
|
@@ -3775,7 +4087,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3775
4087
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3776
4088
|
mode: "multiple" | "single";
|
|
3777
4089
|
}) => void) | undefined;
|
|
3778
|
-
|
|
4090
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
3779
4091
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3780
4092
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3781
4093
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3788,6 +4100,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3788
4100
|
cursorId: string;
|
|
3789
4101
|
columnCount: number;
|
|
3790
4102
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4103
|
+
cursorIndexRef: {
|
|
4104
|
+
readonly current: number;
|
|
4105
|
+
};
|
|
3791
4106
|
UNSTABLE_virtual: {
|
|
3792
4107
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3793
4108
|
totalSize: number;
|
|
@@ -3804,7 +4119,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3804
4119
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3805
4120
|
mode: "multiple" | "single";
|
|
3806
4121
|
}) => void) | undefined;
|
|
3807
|
-
|
|
4122
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
3808
4123
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3809
4124
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3810
4125
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3817,6 +4132,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3817
4132
|
cursorId: string;
|
|
3818
4133
|
columnCount: number;
|
|
3819
4134
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4135
|
+
cursorIndexRef: {
|
|
4136
|
+
readonly current: number;
|
|
4137
|
+
};
|
|
3820
4138
|
UNSTABLE_virtual: {
|
|
3821
4139
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3822
4140
|
totalSize: number;
|
|
@@ -3833,7 +4151,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3833
4151
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3834
4152
|
mode: "multiple" | "single";
|
|
3835
4153
|
}) => void) | undefined;
|
|
3836
|
-
|
|
4154
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
3837
4155
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3838
4156
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3839
4157
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3846,6 +4164,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3846
4164
|
cursorId: string;
|
|
3847
4165
|
columnCount: number;
|
|
3848
4166
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4167
|
+
cursorIndexRef: {
|
|
4168
|
+
readonly current: number;
|
|
4169
|
+
};
|
|
3849
4170
|
UNSTABLE_virtual: {
|
|
3850
4171
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3851
4172
|
totalSize: number;
|
|
@@ -3862,7 +4183,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3862
4183
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3863
4184
|
mode: "multiple" | "single";
|
|
3864
4185
|
}) => void) | undefined;
|
|
3865
|
-
|
|
4186
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
3866
4187
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3867
4188
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3868
4189
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3875,6 +4196,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3875
4196
|
cursorId: string;
|
|
3876
4197
|
columnCount: number;
|
|
3877
4198
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4199
|
+
cursorIndexRef: {
|
|
4200
|
+
readonly current: number;
|
|
4201
|
+
};
|
|
3878
4202
|
UNSTABLE_virtual: {
|
|
3879
4203
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3880
4204
|
totalSize: number;
|
|
@@ -3891,7 +4215,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3891
4215
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3892
4216
|
mode: "multiple" | "single";
|
|
3893
4217
|
}) => void) | undefined;
|
|
3894
|
-
|
|
4218
|
+
onRegisterItem?: ((data: {
|
|
4219
|
+
item: any;
|
|
4220
|
+
textValue: string;
|
|
4221
|
+
}, prevState: {
|
|
3895
4222
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3896
4223
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3897
4224
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3904,6 +4231,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3904
4231
|
cursorId: string;
|
|
3905
4232
|
columnCount: number;
|
|
3906
4233
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4234
|
+
cursorIndexRef: {
|
|
4235
|
+
readonly current: number;
|
|
4236
|
+
};
|
|
3907
4237
|
UNSTABLE_virtual: {
|
|
3908
4238
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3909
4239
|
totalSize: number;
|
|
@@ -3935,6 +4265,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3935
4265
|
cursorId: string;
|
|
3936
4266
|
columnCount: number;
|
|
3937
4267
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4268
|
+
cursorIndexRef: {
|
|
4269
|
+
readonly current: number;
|
|
4270
|
+
};
|
|
3938
4271
|
UNSTABLE_virtual: {
|
|
3939
4272
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3940
4273
|
totalSize: number;
|
|
@@ -3966,6 +4299,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3966
4299
|
cursorId: string;
|
|
3967
4300
|
columnCount: number;
|
|
3968
4301
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4302
|
+
cursorIndexRef: {
|
|
4303
|
+
readonly current: number;
|
|
4304
|
+
};
|
|
3969
4305
|
UNSTABLE_virtual: {
|
|
3970
4306
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3971
4307
|
totalSize: number;
|
|
@@ -3998,6 +4334,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3998
4334
|
cursorId: string;
|
|
3999
4335
|
columnCount: number;
|
|
4000
4336
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4337
|
+
cursorIndexRef: {
|
|
4338
|
+
readonly current: number;
|
|
4339
|
+
};
|
|
4001
4340
|
UNSTABLE_virtual: {
|
|
4002
4341
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4003
4342
|
totalSize: number;
|
|
@@ -4027,6 +4366,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4027
4366
|
cursorId: string;
|
|
4028
4367
|
columnCount: number;
|
|
4029
4368
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4369
|
+
cursorIndexRef: {
|
|
4370
|
+
readonly current: number;
|
|
4371
|
+
};
|
|
4030
4372
|
UNSTABLE_virtual: {
|
|
4031
4373
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4032
4374
|
totalSize: number;
|
|
@@ -4056,6 +4398,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4056
4398
|
cursorId: string;
|
|
4057
4399
|
columnCount: number;
|
|
4058
4400
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4401
|
+
cursorIndexRef: {
|
|
4402
|
+
readonly current: number;
|
|
4403
|
+
};
|
|
4059
4404
|
UNSTABLE_virtual: {
|
|
4060
4405
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4061
4406
|
totalSize: number;
|
|
@@ -4087,6 +4432,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4087
4432
|
cursorId: string;
|
|
4088
4433
|
columnCount: number;
|
|
4089
4434
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4435
|
+
cursorIndexRef: {
|
|
4436
|
+
readonly current: number;
|
|
4437
|
+
};
|
|
4090
4438
|
UNSTABLE_virtual: {
|
|
4091
4439
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4092
4440
|
totalSize: number;
|
|
@@ -4116,6 +4464,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4116
4464
|
cursorId: string;
|
|
4117
4465
|
columnCount: number;
|
|
4118
4466
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4467
|
+
cursorIndexRef: {
|
|
4468
|
+
readonly current: number;
|
|
4469
|
+
};
|
|
4119
4470
|
UNSTABLE_virtual: {
|
|
4120
4471
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4121
4472
|
totalSize: number;
|
|
@@ -4145,6 +4496,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4145
4496
|
cursorId: string;
|
|
4146
4497
|
columnCount: number;
|
|
4147
4498
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4499
|
+
cursorIndexRef: {
|
|
4500
|
+
readonly current: number;
|
|
4501
|
+
};
|
|
4148
4502
|
UNSTABLE_virtual: {
|
|
4149
4503
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4150
4504
|
totalSize: number;
|
|
@@ -4161,9 +4515,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4161
4515
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4162
4516
|
mode: "multiple" | "single";
|
|
4163
4517
|
}) => boolean) | undefined;
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
textValue: string;
|
|
4518
|
+
shouldGoTo?: ((data: {
|
|
4519
|
+
id: string;
|
|
4167
4520
|
}, state: {
|
|
4168
4521
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4169
4522
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -4177,6 +4530,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4177
4530
|
cursorId: string;
|
|
4178
4531
|
columnCount: number;
|
|
4179
4532
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4533
|
+
cursorIndexRef: {
|
|
4534
|
+
readonly current: number;
|
|
4535
|
+
};
|
|
4180
4536
|
UNSTABLE_virtual: {
|
|
4181
4537
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4182
4538
|
totalSize: number;
|
|
@@ -4193,9 +4549,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4193
4549
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4194
4550
|
mode: "multiple" | "single";
|
|
4195
4551
|
}) => boolean) | undefined;
|
|
4196
|
-
|
|
4197
|
-
id: string;
|
|
4198
|
-
}, state: {
|
|
4552
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
4199
4553
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4200
4554
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4201
4555
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4208,6 +4562,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4208
4562
|
cursorId: string;
|
|
4209
4563
|
columnCount: number;
|
|
4210
4564
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4565
|
+
cursorIndexRef: {
|
|
4566
|
+
readonly current: number;
|
|
4567
|
+
};
|
|
4211
4568
|
UNSTABLE_virtual: {
|
|
4212
4569
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4213
4570
|
totalSize: number;
|
|
@@ -4224,7 +4581,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4224
4581
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4225
4582
|
mode: "multiple" | "single";
|
|
4226
4583
|
}) => boolean) | undefined;
|
|
4227
|
-
|
|
4584
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
4228
4585
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4229
4586
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4230
4587
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4237,6 +4594,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4237
4594
|
cursorId: string;
|
|
4238
4595
|
columnCount: number;
|
|
4239
4596
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4597
|
+
cursorIndexRef: {
|
|
4598
|
+
readonly current: number;
|
|
4599
|
+
};
|
|
4240
4600
|
UNSTABLE_virtual: {
|
|
4241
4601
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4242
4602
|
totalSize: number;
|
|
@@ -4253,7 +4613,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4253
4613
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4254
4614
|
mode: "multiple" | "single";
|
|
4255
4615
|
}) => boolean) | undefined;
|
|
4256
|
-
|
|
4616
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
4257
4617
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4258
4618
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4259
4619
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4266,6 +4626,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4266
4626
|
cursorId: string;
|
|
4267
4627
|
columnCount: number;
|
|
4268
4628
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4629
|
+
cursorIndexRef: {
|
|
4630
|
+
readonly current: number;
|
|
4631
|
+
};
|
|
4269
4632
|
UNSTABLE_virtual: {
|
|
4270
4633
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4271
4634
|
totalSize: number;
|
|
@@ -4282,7 +4645,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4282
4645
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4283
4646
|
mode: "multiple" | "single";
|
|
4284
4647
|
}) => boolean) | undefined;
|
|
4285
|
-
|
|
4648
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
4286
4649
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4287
4650
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4288
4651
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4295,6 +4658,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4295
4658
|
cursorId: string;
|
|
4296
4659
|
columnCount: number;
|
|
4297
4660
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4661
|
+
cursorIndexRef: {
|
|
4662
|
+
readonly current: number;
|
|
4663
|
+
};
|
|
4298
4664
|
UNSTABLE_virtual: {
|
|
4299
4665
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4300
4666
|
totalSize: number;
|
|
@@ -4311,7 +4677,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4311
4677
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4312
4678
|
mode: "multiple" | "single";
|
|
4313
4679
|
}) => boolean) | undefined;
|
|
4314
|
-
|
|
4680
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
4315
4681
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4316
4682
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4317
4683
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4324,6 +4690,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4324
4690
|
cursorId: string;
|
|
4325
4691
|
columnCount: number;
|
|
4326
4692
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4693
|
+
cursorIndexRef: {
|
|
4694
|
+
readonly current: number;
|
|
4695
|
+
};
|
|
4327
4696
|
UNSTABLE_virtual: {
|
|
4328
4697
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4329
4698
|
totalSize: number;
|
|
@@ -4340,7 +4709,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4340
4709
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4341
4710
|
mode: "multiple" | "single";
|
|
4342
4711
|
}) => boolean) | undefined;
|
|
4343
|
-
|
|
4712
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
4344
4713
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4345
4714
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4346
4715
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4353,6 +4722,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4353
4722
|
cursorId: string;
|
|
4354
4723
|
columnCount: number;
|
|
4355
4724
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4725
|
+
cursorIndexRef: {
|
|
4726
|
+
readonly current: number;
|
|
4727
|
+
};
|
|
4356
4728
|
UNSTABLE_virtual: {
|
|
4357
4729
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4358
4730
|
totalSize: number;
|
|
@@ -4369,7 +4741,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4369
4741
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4370
4742
|
mode: "multiple" | "single";
|
|
4371
4743
|
}) => boolean) | undefined;
|
|
4372
|
-
|
|
4744
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
4373
4745
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4374
4746
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4375
4747
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4382,6 +4754,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4382
4754
|
cursorId: string;
|
|
4383
4755
|
columnCount: number;
|
|
4384
4756
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4757
|
+
cursorIndexRef: {
|
|
4758
|
+
readonly current: number;
|
|
4759
|
+
};
|
|
4385
4760
|
UNSTABLE_virtual: {
|
|
4386
4761
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4387
4762
|
totalSize: number;
|
|
@@ -4398,7 +4773,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4398
4773
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4399
4774
|
mode: "multiple" | "single";
|
|
4400
4775
|
}) => boolean) | undefined;
|
|
4401
|
-
|
|
4776
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
4402
4777
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4403
4778
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4404
4779
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4411,6 +4786,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4411
4786
|
cursorId: string;
|
|
4412
4787
|
columnCount: number;
|
|
4413
4788
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4789
|
+
cursorIndexRef: {
|
|
4790
|
+
readonly current: number;
|
|
4791
|
+
};
|
|
4414
4792
|
UNSTABLE_virtual: {
|
|
4415
4793
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4416
4794
|
totalSize: number;
|
|
@@ -4427,7 +4805,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4427
4805
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4428
4806
|
mode: "multiple" | "single";
|
|
4429
4807
|
}) => boolean) | undefined;
|
|
4430
|
-
|
|
4808
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
4431
4809
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4432
4810
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4433
4811
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4440,6 +4818,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4440
4818
|
cursorId: string;
|
|
4441
4819
|
columnCount: number;
|
|
4442
4820
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4821
|
+
cursorIndexRef: {
|
|
4822
|
+
readonly current: number;
|
|
4823
|
+
};
|
|
4443
4824
|
UNSTABLE_virtual: {
|
|
4444
4825
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4445
4826
|
totalSize: number;
|
|
@@ -4456,7 +4837,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4456
4837
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4457
4838
|
mode: "multiple" | "single";
|
|
4458
4839
|
}) => boolean) | undefined;
|
|
4459
|
-
|
|
4840
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
4460
4841
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4461
4842
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4462
4843
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4469,6 +4850,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4469
4850
|
cursorId: string;
|
|
4470
4851
|
columnCount: number;
|
|
4471
4852
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4853
|
+
cursorIndexRef: {
|
|
4854
|
+
readonly current: number;
|
|
4855
|
+
};
|
|
4472
4856
|
UNSTABLE_virtual: {
|
|
4473
4857
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4474
4858
|
totalSize: number;
|
|
@@ -4485,7 +4869,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4485
4869
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4486
4870
|
mode: "multiple" | "single";
|
|
4487
4871
|
}) => boolean) | undefined;
|
|
4488
|
-
|
|
4872
|
+
shouldRegisterItem?: ((data: {
|
|
4873
|
+
item: any;
|
|
4874
|
+
textValue: string;
|
|
4875
|
+
}, state: {
|
|
4489
4876
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4490
4877
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4491
4878
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4498,6 +4885,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4498
4885
|
cursorId: string;
|
|
4499
4886
|
columnCount: number;
|
|
4500
4887
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4888
|
+
cursorIndexRef: {
|
|
4889
|
+
readonly current: number;
|
|
4890
|
+
};
|
|
4501
4891
|
UNSTABLE_virtual: {
|
|
4502
4892
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4503
4893
|
totalSize: number;
|
|
@@ -4529,6 +4919,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4529
4919
|
cursorId: string;
|
|
4530
4920
|
columnCount: number;
|
|
4531
4921
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4922
|
+
cursorIndexRef: {
|
|
4923
|
+
readonly current: number;
|
|
4924
|
+
};
|
|
4532
4925
|
UNSTABLE_virtual: {
|
|
4533
4926
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4534
4927
|
totalSize: number;
|
|
@@ -4560,6 +4953,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4560
4953
|
cursorId: string;
|
|
4561
4954
|
columnCount: number;
|
|
4562
4955
|
pageSizeRef: React.MutableRefObject<number>;
|
|
4956
|
+
cursorIndexRef: {
|
|
4957
|
+
readonly current: number;
|
|
4958
|
+
};
|
|
4563
4959
|
UNSTABLE_virtual: {
|
|
4564
4960
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4565
4961
|
totalSize: number;
|
|
@@ -4617,6 +5013,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4617
5013
|
cursorId: string;
|
|
4618
5014
|
columnCount: number;
|
|
4619
5015
|
pageSizeRef: React.MutableRefObject<number>;
|
|
5016
|
+
cursorIndexRef: {
|
|
5017
|
+
readonly current: number;
|
|
5018
|
+
};
|
|
4620
5019
|
UNSTABLE_virtual: {
|
|
4621
5020
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4622
5021
|
totalSize: number;
|
|
@@ -4669,10 +5068,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4669
5068
|
}): void;
|
|
4670
5069
|
selectAll(): void;
|
|
4671
5070
|
unselectAll(): void;
|
|
4672
|
-
registerItem(data: {
|
|
4673
|
-
item: any;
|
|
4674
|
-
textValue: string;
|
|
4675
|
-
}): void;
|
|
4676
5071
|
goTo(data: {
|
|
4677
5072
|
id: string;
|
|
4678
5073
|
}): void;
|
|
@@ -4686,6 +5081,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4686
5081
|
goToLastOfRow(): void;
|
|
4687
5082
|
goToNextPage(): void;
|
|
4688
5083
|
goToPreviousPage(): void;
|
|
5084
|
+
registerItem(data: {
|
|
5085
|
+
item: any;
|
|
5086
|
+
textValue: string;
|
|
5087
|
+
}): void;
|
|
4689
5088
|
unregisterItem(data: {
|
|
4690
5089
|
id: string;
|
|
4691
5090
|
}): void;
|
|
@@ -4715,6 +5114,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4715
5114
|
cursorId: string;
|
|
4716
5115
|
columnCount: number;
|
|
4717
5116
|
pageSizeRef: React.MutableRefObject<number>;
|
|
5117
|
+
cursorIndexRef: {
|
|
5118
|
+
readonly current: number;
|
|
5119
|
+
};
|
|
4718
5120
|
UNSTABLE_virtual: {
|
|
4719
5121
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4720
5122
|
totalSize: number;
|
|
@@ -4768,10 +5170,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4768
5170
|
}): void;
|
|
4769
5171
|
selectAll(): void;
|
|
4770
5172
|
unselectAll(): void;
|
|
4771
|
-
registerItem(data: {
|
|
4772
|
-
item: any;
|
|
4773
|
-
textValue: string;
|
|
4774
|
-
}): void;
|
|
4775
5173
|
goTo(data: {
|
|
4776
5174
|
id: string;
|
|
4777
5175
|
}): void;
|
|
@@ -4785,6 +5183,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4785
5183
|
goToLastOfRow(): void;
|
|
4786
5184
|
goToNextPage(): void;
|
|
4787
5185
|
goToPreviousPage(): void;
|
|
5186
|
+
registerItem(data: {
|
|
5187
|
+
item: any;
|
|
5188
|
+
textValue: string;
|
|
5189
|
+
}): void;
|
|
4788
5190
|
unregisterItem(data: {
|
|
4789
5191
|
id: string;
|
|
4790
5192
|
}): void;
|
|
@@ -4806,6 +5208,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4806
5208
|
cursorId: string;
|
|
4807
5209
|
columnCount: number;
|
|
4808
5210
|
pageSizeRef: React.MutableRefObject<number>;
|
|
5211
|
+
cursorIndexRef: {
|
|
5212
|
+
readonly current: number;
|
|
5213
|
+
};
|
|
4809
5214
|
UNSTABLE_virtual: {
|
|
4810
5215
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4811
5216
|
totalSize: number;
|
|
@@ -4835,10 +5240,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4835
5240
|
}): void;
|
|
4836
5241
|
selectAll(): void;
|
|
4837
5242
|
unselectAll(): void;
|
|
4838
|
-
registerItem(data: {
|
|
4839
|
-
item: any;
|
|
4840
|
-
textValue: string;
|
|
4841
|
-
}): void;
|
|
4842
5243
|
goTo(data: {
|
|
4843
5244
|
id: string;
|
|
4844
5245
|
}): void;
|
|
@@ -4852,6 +5253,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4852
5253
|
goToLastOfRow(): void;
|
|
4853
5254
|
goToNextPage(): void;
|
|
4854
5255
|
goToPreviousPage(): void;
|
|
5256
|
+
registerItem(data: {
|
|
5257
|
+
item: any;
|
|
5258
|
+
textValue: string;
|
|
5259
|
+
}): void;
|
|
4855
5260
|
unregisterItem(data: {
|
|
4856
5261
|
id: string;
|
|
4857
5262
|
}): void;
|