@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
|
@@ -40,6 +40,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
40
40
|
cursorId: string;
|
|
41
41
|
columnCount: number;
|
|
42
42
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
43
|
+
cursorIndexRef: {
|
|
44
|
+
readonly current: number;
|
|
45
|
+
};
|
|
43
46
|
UNSTABLE_virtual: {
|
|
44
47
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
45
48
|
totalSize: number;
|
|
@@ -62,6 +65,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
62
65
|
cursorId: string;
|
|
63
66
|
columnCount: number;
|
|
64
67
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
68
|
+
cursorIndexRef: {
|
|
69
|
+
readonly current: number;
|
|
70
|
+
};
|
|
65
71
|
UNSTABLE_virtual: {
|
|
66
72
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
67
73
|
totalSize: number;
|
|
@@ -84,6 +90,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
84
90
|
cursorId: string;
|
|
85
91
|
columnCount: number;
|
|
86
92
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
93
|
+
cursorIndexRef: {
|
|
94
|
+
readonly current: number;
|
|
95
|
+
};
|
|
87
96
|
UNSTABLE_virtual: {
|
|
88
97
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
89
98
|
totalSize: number;
|
|
@@ -100,15 +109,17 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
100
109
|
isVirtualized: boolean;
|
|
101
110
|
items: import("./useBaseListModel").Item<any>[];
|
|
102
111
|
}) => void) | undefined;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
textValue: string;
|
|
112
|
+
onGoTo?: ((data: {
|
|
113
|
+
id: string;
|
|
106
114
|
}, prevState: {
|
|
107
115
|
selectedIds: string[] | "all";
|
|
108
116
|
unselectedIds: string[];
|
|
109
117
|
cursorId: string;
|
|
110
118
|
columnCount: number;
|
|
111
119
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
120
|
+
cursorIndexRef: {
|
|
121
|
+
readonly current: number;
|
|
122
|
+
};
|
|
112
123
|
UNSTABLE_virtual: {
|
|
113
124
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
114
125
|
totalSize: number;
|
|
@@ -125,14 +136,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
125
136
|
isVirtualized: boolean;
|
|
126
137
|
items: import("./useBaseListModel").Item<any>[];
|
|
127
138
|
}) => void) | undefined;
|
|
128
|
-
|
|
129
|
-
id: string;
|
|
130
|
-
}, prevState: {
|
|
139
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
131
140
|
selectedIds: string[] | "all";
|
|
132
141
|
unselectedIds: string[];
|
|
133
142
|
cursorId: string;
|
|
134
143
|
columnCount: number;
|
|
135
144
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
145
|
+
cursorIndexRef: {
|
|
146
|
+
readonly current: number;
|
|
147
|
+
};
|
|
136
148
|
UNSTABLE_virtual: {
|
|
137
149
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
138
150
|
totalSize: number;
|
|
@@ -149,12 +161,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
149
161
|
isVirtualized: boolean;
|
|
150
162
|
items: import("./useBaseListModel").Item<any>[];
|
|
151
163
|
}) => void) | undefined;
|
|
152
|
-
|
|
164
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
153
165
|
selectedIds: string[] | "all";
|
|
154
166
|
unselectedIds: string[];
|
|
155
167
|
cursorId: string;
|
|
156
168
|
columnCount: number;
|
|
157
169
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
170
|
+
cursorIndexRef: {
|
|
171
|
+
readonly current: number;
|
|
172
|
+
};
|
|
158
173
|
UNSTABLE_virtual: {
|
|
159
174
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
160
175
|
totalSize: number;
|
|
@@ -171,12 +186,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
171
186
|
isVirtualized: boolean;
|
|
172
187
|
items: import("./useBaseListModel").Item<any>[];
|
|
173
188
|
}) => void) | undefined;
|
|
174
|
-
|
|
189
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
175
190
|
selectedIds: string[] | "all";
|
|
176
191
|
unselectedIds: string[];
|
|
177
192
|
cursorId: string;
|
|
178
193
|
columnCount: number;
|
|
179
194
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
195
|
+
cursorIndexRef: {
|
|
196
|
+
readonly current: number;
|
|
197
|
+
};
|
|
180
198
|
UNSTABLE_virtual: {
|
|
181
199
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
182
200
|
totalSize: number;
|
|
@@ -193,12 +211,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
193
211
|
isVirtualized: boolean;
|
|
194
212
|
items: import("./useBaseListModel").Item<any>[];
|
|
195
213
|
}) => void) | undefined;
|
|
196
|
-
|
|
214
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
197
215
|
selectedIds: string[] | "all";
|
|
198
216
|
unselectedIds: string[];
|
|
199
217
|
cursorId: string;
|
|
200
218
|
columnCount: number;
|
|
201
219
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
220
|
+
cursorIndexRef: {
|
|
221
|
+
readonly current: number;
|
|
222
|
+
};
|
|
202
223
|
UNSTABLE_virtual: {
|
|
203
224
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
204
225
|
totalSize: number;
|
|
@@ -215,12 +236,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
215
236
|
isVirtualized: boolean;
|
|
216
237
|
items: import("./useBaseListModel").Item<any>[];
|
|
217
238
|
}) => void) | undefined;
|
|
218
|
-
|
|
239
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
219
240
|
selectedIds: string[] | "all";
|
|
220
241
|
unselectedIds: string[];
|
|
221
242
|
cursorId: string;
|
|
222
243
|
columnCount: number;
|
|
223
244
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
245
|
+
cursorIndexRef: {
|
|
246
|
+
readonly current: number;
|
|
247
|
+
};
|
|
224
248
|
UNSTABLE_virtual: {
|
|
225
249
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
226
250
|
totalSize: number;
|
|
@@ -237,12 +261,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
237
261
|
isVirtualized: boolean;
|
|
238
262
|
items: import("./useBaseListModel").Item<any>[];
|
|
239
263
|
}) => void) | undefined;
|
|
240
|
-
|
|
264
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
241
265
|
selectedIds: string[] | "all";
|
|
242
266
|
unselectedIds: string[];
|
|
243
267
|
cursorId: string;
|
|
244
268
|
columnCount: number;
|
|
245
269
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
270
|
+
cursorIndexRef: {
|
|
271
|
+
readonly current: number;
|
|
272
|
+
};
|
|
246
273
|
UNSTABLE_virtual: {
|
|
247
274
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
248
275
|
totalSize: number;
|
|
@@ -259,12 +286,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
259
286
|
isVirtualized: boolean;
|
|
260
287
|
items: import("./useBaseListModel").Item<any>[];
|
|
261
288
|
}) => void) | undefined;
|
|
262
|
-
|
|
289
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
263
290
|
selectedIds: string[] | "all";
|
|
264
291
|
unselectedIds: string[];
|
|
265
292
|
cursorId: string;
|
|
266
293
|
columnCount: number;
|
|
267
294
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
295
|
+
cursorIndexRef: {
|
|
296
|
+
readonly current: number;
|
|
297
|
+
};
|
|
268
298
|
UNSTABLE_virtual: {
|
|
269
299
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
270
300
|
totalSize: number;
|
|
@@ -281,12 +311,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
281
311
|
isVirtualized: boolean;
|
|
282
312
|
items: import("./useBaseListModel").Item<any>[];
|
|
283
313
|
}) => void) | undefined;
|
|
284
|
-
|
|
314
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
285
315
|
selectedIds: string[] | "all";
|
|
286
316
|
unselectedIds: string[];
|
|
287
317
|
cursorId: string;
|
|
288
318
|
columnCount: number;
|
|
289
319
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
320
|
+
cursorIndexRef: {
|
|
321
|
+
readonly current: number;
|
|
322
|
+
};
|
|
290
323
|
UNSTABLE_virtual: {
|
|
291
324
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
292
325
|
totalSize: number;
|
|
@@ -303,12 +336,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
303
336
|
isVirtualized: boolean;
|
|
304
337
|
items: import("./useBaseListModel").Item<any>[];
|
|
305
338
|
}) => void) | undefined;
|
|
306
|
-
|
|
339
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
307
340
|
selectedIds: string[] | "all";
|
|
308
341
|
unselectedIds: string[];
|
|
309
342
|
cursorId: string;
|
|
310
343
|
columnCount: number;
|
|
311
344
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
345
|
+
cursorIndexRef: {
|
|
346
|
+
readonly current: number;
|
|
347
|
+
};
|
|
312
348
|
UNSTABLE_virtual: {
|
|
313
349
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
314
350
|
totalSize: number;
|
|
@@ -325,12 +361,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
325
361
|
isVirtualized: boolean;
|
|
326
362
|
items: import("./useBaseListModel").Item<any>[];
|
|
327
363
|
}) => void) | undefined;
|
|
328
|
-
|
|
364
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
329
365
|
selectedIds: string[] | "all";
|
|
330
366
|
unselectedIds: string[];
|
|
331
367
|
cursorId: string;
|
|
332
368
|
columnCount: number;
|
|
333
369
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
370
|
+
cursorIndexRef: {
|
|
371
|
+
readonly current: number;
|
|
372
|
+
};
|
|
334
373
|
UNSTABLE_virtual: {
|
|
335
374
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
336
375
|
totalSize: number;
|
|
@@ -347,12 +386,18 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
347
386
|
isVirtualized: boolean;
|
|
348
387
|
items: import("./useBaseListModel").Item<any>[];
|
|
349
388
|
}) => void) | undefined;
|
|
350
|
-
|
|
389
|
+
onRegisterItem?: ((data: {
|
|
390
|
+
item: any;
|
|
391
|
+
textValue: string;
|
|
392
|
+
}, prevState: {
|
|
351
393
|
selectedIds: string[] | "all";
|
|
352
394
|
unselectedIds: string[];
|
|
353
395
|
cursorId: string;
|
|
354
396
|
columnCount: number;
|
|
355
397
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
398
|
+
cursorIndexRef: {
|
|
399
|
+
readonly current: number;
|
|
400
|
+
};
|
|
356
401
|
UNSTABLE_virtual: {
|
|
357
402
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
358
403
|
totalSize: number;
|
|
@@ -377,6 +422,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
377
422
|
cursorId: string;
|
|
378
423
|
columnCount: number;
|
|
379
424
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
425
|
+
cursorIndexRef: {
|
|
426
|
+
readonly current: number;
|
|
427
|
+
};
|
|
380
428
|
UNSTABLE_virtual: {
|
|
381
429
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
382
430
|
totalSize: number;
|
|
@@ -401,6 +449,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
401
449
|
cursorId: string;
|
|
402
450
|
columnCount: number;
|
|
403
451
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
452
|
+
cursorIndexRef: {
|
|
453
|
+
readonly current: number;
|
|
454
|
+
};
|
|
404
455
|
UNSTABLE_virtual: {
|
|
405
456
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
406
457
|
totalSize: number;
|
|
@@ -426,6 +477,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
426
477
|
cursorId: string;
|
|
427
478
|
columnCount: number;
|
|
428
479
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
480
|
+
cursorIndexRef: {
|
|
481
|
+
readonly current: number;
|
|
482
|
+
};
|
|
429
483
|
UNSTABLE_virtual: {
|
|
430
484
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
431
485
|
totalSize: number;
|
|
@@ -448,6 +502,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
448
502
|
cursorId: string;
|
|
449
503
|
columnCount: number;
|
|
450
504
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
505
|
+
cursorIndexRef: {
|
|
506
|
+
readonly current: number;
|
|
507
|
+
};
|
|
451
508
|
UNSTABLE_virtual: {
|
|
452
509
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
453
510
|
totalSize: number;
|
|
@@ -470,6 +527,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
470
527
|
cursorId: string;
|
|
471
528
|
columnCount: number;
|
|
472
529
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
530
|
+
cursorIndexRef: {
|
|
531
|
+
readonly current: number;
|
|
532
|
+
};
|
|
473
533
|
UNSTABLE_virtual: {
|
|
474
534
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
475
535
|
totalSize: number;
|
|
@@ -486,15 +546,17 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
486
546
|
isVirtualized: boolean;
|
|
487
547
|
items: import("./useBaseListModel").Item<any>[];
|
|
488
548
|
}) => boolean) | undefined;
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
textValue: string;
|
|
549
|
+
shouldGoTo?: ((data: {
|
|
550
|
+
id: string;
|
|
492
551
|
}, state: {
|
|
493
552
|
selectedIds: string[] | "all";
|
|
494
553
|
unselectedIds: string[];
|
|
495
554
|
cursorId: string;
|
|
496
555
|
columnCount: number;
|
|
497
556
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
557
|
+
cursorIndexRef: {
|
|
558
|
+
readonly current: number;
|
|
559
|
+
};
|
|
498
560
|
UNSTABLE_virtual: {
|
|
499
561
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
500
562
|
totalSize: number;
|
|
@@ -511,14 +573,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
511
573
|
isVirtualized: boolean;
|
|
512
574
|
items: import("./useBaseListModel").Item<any>[];
|
|
513
575
|
}) => boolean) | undefined;
|
|
514
|
-
|
|
515
|
-
id: string;
|
|
516
|
-
}, state: {
|
|
576
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
517
577
|
selectedIds: string[] | "all";
|
|
518
578
|
unselectedIds: string[];
|
|
519
579
|
cursorId: string;
|
|
520
580
|
columnCount: number;
|
|
521
581
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
582
|
+
cursorIndexRef: {
|
|
583
|
+
readonly current: number;
|
|
584
|
+
};
|
|
522
585
|
UNSTABLE_virtual: {
|
|
523
586
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
524
587
|
totalSize: number;
|
|
@@ -535,12 +598,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
535
598
|
isVirtualized: boolean;
|
|
536
599
|
items: import("./useBaseListModel").Item<any>[];
|
|
537
600
|
}) => boolean) | undefined;
|
|
538
|
-
|
|
601
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
539
602
|
selectedIds: string[] | "all";
|
|
540
603
|
unselectedIds: string[];
|
|
541
604
|
cursorId: string;
|
|
542
605
|
columnCount: number;
|
|
543
606
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
607
|
+
cursorIndexRef: {
|
|
608
|
+
readonly current: number;
|
|
609
|
+
};
|
|
544
610
|
UNSTABLE_virtual: {
|
|
545
611
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
546
612
|
totalSize: number;
|
|
@@ -557,12 +623,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
557
623
|
isVirtualized: boolean;
|
|
558
624
|
items: import("./useBaseListModel").Item<any>[];
|
|
559
625
|
}) => boolean) | undefined;
|
|
560
|
-
|
|
626
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
561
627
|
selectedIds: string[] | "all";
|
|
562
628
|
unselectedIds: string[];
|
|
563
629
|
cursorId: string;
|
|
564
630
|
columnCount: number;
|
|
565
631
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
632
|
+
cursorIndexRef: {
|
|
633
|
+
readonly current: number;
|
|
634
|
+
};
|
|
566
635
|
UNSTABLE_virtual: {
|
|
567
636
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
568
637
|
totalSize: number;
|
|
@@ -579,12 +648,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
579
648
|
isVirtualized: boolean;
|
|
580
649
|
items: import("./useBaseListModel").Item<any>[];
|
|
581
650
|
}) => boolean) | undefined;
|
|
582
|
-
|
|
651
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
583
652
|
selectedIds: string[] | "all";
|
|
584
653
|
unselectedIds: string[];
|
|
585
654
|
cursorId: string;
|
|
586
655
|
columnCount: number;
|
|
587
656
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
657
|
+
cursorIndexRef: {
|
|
658
|
+
readonly current: number;
|
|
659
|
+
};
|
|
588
660
|
UNSTABLE_virtual: {
|
|
589
661
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
590
662
|
totalSize: number;
|
|
@@ -601,12 +673,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
601
673
|
isVirtualized: boolean;
|
|
602
674
|
items: import("./useBaseListModel").Item<any>[];
|
|
603
675
|
}) => boolean) | undefined;
|
|
604
|
-
|
|
676
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
605
677
|
selectedIds: string[] | "all";
|
|
606
678
|
unselectedIds: string[];
|
|
607
679
|
cursorId: string;
|
|
608
680
|
columnCount: number;
|
|
609
681
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
682
|
+
cursorIndexRef: {
|
|
683
|
+
readonly current: number;
|
|
684
|
+
};
|
|
610
685
|
UNSTABLE_virtual: {
|
|
611
686
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
612
687
|
totalSize: number;
|
|
@@ -623,12 +698,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
623
698
|
isVirtualized: boolean;
|
|
624
699
|
items: import("./useBaseListModel").Item<any>[];
|
|
625
700
|
}) => boolean) | undefined;
|
|
626
|
-
|
|
701
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
627
702
|
selectedIds: string[] | "all";
|
|
628
703
|
unselectedIds: string[];
|
|
629
704
|
cursorId: string;
|
|
630
705
|
columnCount: number;
|
|
631
706
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
707
|
+
cursorIndexRef: {
|
|
708
|
+
readonly current: number;
|
|
709
|
+
};
|
|
632
710
|
UNSTABLE_virtual: {
|
|
633
711
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
634
712
|
totalSize: number;
|
|
@@ -645,12 +723,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
645
723
|
isVirtualized: boolean;
|
|
646
724
|
items: import("./useBaseListModel").Item<any>[];
|
|
647
725
|
}) => boolean) | undefined;
|
|
648
|
-
|
|
726
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
649
727
|
selectedIds: string[] | "all";
|
|
650
728
|
unselectedIds: string[];
|
|
651
729
|
cursorId: string;
|
|
652
730
|
columnCount: number;
|
|
653
731
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
732
|
+
cursorIndexRef: {
|
|
733
|
+
readonly current: number;
|
|
734
|
+
};
|
|
654
735
|
UNSTABLE_virtual: {
|
|
655
736
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
656
737
|
totalSize: number;
|
|
@@ -667,12 +748,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
667
748
|
isVirtualized: boolean;
|
|
668
749
|
items: import("./useBaseListModel").Item<any>[];
|
|
669
750
|
}) => boolean) | undefined;
|
|
670
|
-
|
|
751
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
671
752
|
selectedIds: string[] | "all";
|
|
672
753
|
unselectedIds: string[];
|
|
673
754
|
cursorId: string;
|
|
674
755
|
columnCount: number;
|
|
675
756
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
757
|
+
cursorIndexRef: {
|
|
758
|
+
readonly current: number;
|
|
759
|
+
};
|
|
676
760
|
UNSTABLE_virtual: {
|
|
677
761
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
678
762
|
totalSize: number;
|
|
@@ -689,12 +773,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
689
773
|
isVirtualized: boolean;
|
|
690
774
|
items: import("./useBaseListModel").Item<any>[];
|
|
691
775
|
}) => boolean) | undefined;
|
|
692
|
-
|
|
776
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
693
777
|
selectedIds: string[] | "all";
|
|
694
778
|
unselectedIds: string[];
|
|
695
779
|
cursorId: string;
|
|
696
780
|
columnCount: number;
|
|
697
781
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
782
|
+
cursorIndexRef: {
|
|
783
|
+
readonly current: number;
|
|
784
|
+
};
|
|
698
785
|
UNSTABLE_virtual: {
|
|
699
786
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
700
787
|
totalSize: number;
|
|
@@ -711,12 +798,15 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
711
798
|
isVirtualized: boolean;
|
|
712
799
|
items: import("./useBaseListModel").Item<any>[];
|
|
713
800
|
}) => boolean) | undefined;
|
|
714
|
-
|
|
801
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
715
802
|
selectedIds: string[] | "all";
|
|
716
803
|
unselectedIds: string[];
|
|
717
804
|
cursorId: string;
|
|
718
805
|
columnCount: number;
|
|
719
806
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
807
|
+
cursorIndexRef: {
|
|
808
|
+
readonly current: number;
|
|
809
|
+
};
|
|
720
810
|
UNSTABLE_virtual: {
|
|
721
811
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
722
812
|
totalSize: number;
|
|
@@ -733,12 +823,18 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
733
823
|
isVirtualized: boolean;
|
|
734
824
|
items: import("./useBaseListModel").Item<any>[];
|
|
735
825
|
}) => boolean) | undefined;
|
|
736
|
-
|
|
826
|
+
shouldRegisterItem?: ((data: {
|
|
827
|
+
item: any;
|
|
828
|
+
textValue: string;
|
|
829
|
+
}, state: {
|
|
737
830
|
selectedIds: string[] | "all";
|
|
738
831
|
unselectedIds: string[];
|
|
739
832
|
cursorId: string;
|
|
740
833
|
columnCount: number;
|
|
741
834
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
835
|
+
cursorIndexRef: {
|
|
836
|
+
readonly current: number;
|
|
837
|
+
};
|
|
742
838
|
UNSTABLE_virtual: {
|
|
743
839
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
744
840
|
totalSize: number;
|
|
@@ -763,6 +859,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
763
859
|
cursorId: string;
|
|
764
860
|
columnCount: number;
|
|
765
861
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
862
|
+
cursorIndexRef: {
|
|
863
|
+
readonly current: number;
|
|
864
|
+
};
|
|
766
865
|
UNSTABLE_virtual: {
|
|
767
866
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
768
867
|
totalSize: number;
|
|
@@ -787,6 +886,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
787
886
|
cursorId: string;
|
|
788
887
|
columnCount: number;
|
|
789
888
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
889
|
+
cursorIndexRef: {
|
|
890
|
+
readonly current: number;
|
|
891
|
+
};
|
|
790
892
|
UNSTABLE_virtual: {
|
|
791
893
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
792
894
|
totalSize: number;
|
|
@@ -810,6 +912,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
810
912
|
cursorId: string;
|
|
811
913
|
columnCount: number;
|
|
812
914
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
915
|
+
cursorIndexRef: {
|
|
916
|
+
readonly current: number;
|
|
917
|
+
};
|
|
813
918
|
UNSTABLE_virtual: {
|
|
814
919
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
815
920
|
totalSize: number;
|
|
@@ -832,10 +937,6 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
832
937
|
}): void;
|
|
833
938
|
selectAll(): void;
|
|
834
939
|
unselectAll(): void;
|
|
835
|
-
registerItem(data: {
|
|
836
|
-
item: any;
|
|
837
|
-
textValue: string;
|
|
838
|
-
}): void;
|
|
839
940
|
goTo(data: {
|
|
840
941
|
id: string;
|
|
841
942
|
}): void;
|
|
@@ -849,6 +950,10 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
849
950
|
goToLastOfRow(): void;
|
|
850
951
|
goToNextPage(): void;
|
|
851
952
|
goToPreviousPage(): void;
|
|
953
|
+
registerItem(data: {
|
|
954
|
+
item: any;
|
|
955
|
+
textValue: string;
|
|
956
|
+
}): void;
|
|
852
957
|
unregisterItem(data: {
|
|
853
958
|
id: string;
|
|
854
959
|
}): void;
|
|
@@ -894,6 +999,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
894
999
|
cursorId: string;
|
|
895
1000
|
columnCount: number;
|
|
896
1001
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
1002
|
+
cursorIndexRef: {
|
|
1003
|
+
readonly current: number;
|
|
1004
|
+
};
|
|
897
1005
|
UNSTABLE_virtual: {
|
|
898
1006
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
899
1007
|
totalSize: number;
|
|
@@ -915,10 +1023,6 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
915
1023
|
}): void;
|
|
916
1024
|
selectAll(): void;
|
|
917
1025
|
unselectAll(): void;
|
|
918
|
-
registerItem(data: {
|
|
919
|
-
item: any;
|
|
920
|
-
textValue: string;
|
|
921
|
-
}): void;
|
|
922
1026
|
goTo(data: {
|
|
923
1027
|
id: string;
|
|
924
1028
|
}): void;
|
|
@@ -932,6 +1036,10 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
932
1036
|
goToLastOfRow(): void;
|
|
933
1037
|
goToNextPage(): void;
|
|
934
1038
|
goToPreviousPage(): void;
|
|
1039
|
+
registerItem(data: {
|
|
1040
|
+
item: any;
|
|
1041
|
+
textValue: string;
|
|
1042
|
+
}): void;
|
|
935
1043
|
unregisterItem(data: {
|
|
936
1044
|
id: string;
|
|
937
1045
|
}): void;
|
|
@@ -945,6 +1053,9 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
945
1053
|
cursorId: string;
|
|
946
1054
|
columnCount: number;
|
|
947
1055
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
1056
|
+
cursorIndexRef: {
|
|
1057
|
+
readonly current: number;
|
|
1058
|
+
};
|
|
948
1059
|
UNSTABLE_virtual: {
|
|
949
1060
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
950
1061
|
totalSize: number;
|
|
@@ -967,10 +1078,6 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
967
1078
|
}): void;
|
|
968
1079
|
selectAll(): void;
|
|
969
1080
|
unselectAll(): void;
|
|
970
|
-
registerItem(data: {
|
|
971
|
-
item: any;
|
|
972
|
-
textValue: string;
|
|
973
|
-
}): void;
|
|
974
1081
|
goTo(data: {
|
|
975
1082
|
id: string;
|
|
976
1083
|
}): void;
|
|
@@ -984,6 +1091,10 @@ export declare const useGridModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
984
1091
|
goToLastOfRow(): void;
|
|
985
1092
|
goToNextPage(): void;
|
|
986
1093
|
goToPreviousPage(): void;
|
|
1094
|
+
registerItem(data: {
|
|
1095
|
+
item: any;
|
|
1096
|
+
textValue: string;
|
|
1097
|
+
}): void;
|
|
987
1098
|
unregisterItem(data: {
|
|
988
1099
|
id: string;
|
|
989
1100
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGridModel.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useGridModel.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,YAAY;IAGrB;;;;;;;;;OASG;;;;;;;;;;;;;;;IAIH;;OAEG
|
|
1
|
+
{"version":3,"file":"useGridModel.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useGridModel.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,YAAY;IAGrB;;;;;;;;;OASG;;;;;;;;;;;;;;;IAIH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAfH;;;;;;;;;OASG;;;;;;;;;;;;;;;IAIH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASL,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This elemProps hook allows for children values to be considered identifiers if the children
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* This elemProps hook allows for children values to be considered identifiers if the children are
|
|
3
|
+
* strings. This can be useful for autocomplete or select components that allow string values. This
|
|
4
|
+
* hook must be passed _after_ {@link useListItemRegister} because this hook sets the `data-id`
|
|
5
5
|
* attribute if one hasn't been defined by the application.
|
|
6
6
|
*
|
|
7
7
|
* An example might look like:
|
|
@@ -29,6 +29,9 @@ export declare const useListItemAllowChildStrings: import("@workday/canvas-kit-r
|
|
|
29
29
|
cursorId: string;
|
|
30
30
|
columnCount: number;
|
|
31
31
|
pageSizeRef: import("react").MutableRefObject<number>;
|
|
32
|
+
cursorIndexRef: {
|
|
33
|
+
readonly current: number;
|
|
34
|
+
};
|
|
32
35
|
UNSTABLE_virtual: {
|
|
33
36
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
34
37
|
totalSize: number;
|
|
@@ -51,10 +54,6 @@ export declare const useListItemAllowChildStrings: import("@workday/canvas-kit-r
|
|
|
51
54
|
}): void;
|
|
52
55
|
selectAll(): void;
|
|
53
56
|
unselectAll(): void;
|
|
54
|
-
registerItem(data: {
|
|
55
|
-
item: any;
|
|
56
|
-
textValue: string;
|
|
57
|
-
}): void;
|
|
58
57
|
goTo(data: {
|
|
59
58
|
id: string;
|
|
60
59
|
}): void;
|
|
@@ -68,6 +67,10 @@ export declare const useListItemAllowChildStrings: import("@workday/canvas-kit-r
|
|
|
68
67
|
goToLastOfRow(): void;
|
|
69
68
|
goToNextPage(): void;
|
|
70
69
|
goToPreviousPage(): void;
|
|
70
|
+
registerItem(data: {
|
|
71
|
+
item: any;
|
|
72
|
+
textValue: string;
|
|
73
|
+
}): void;
|
|
71
74
|
unregisterItem(data: {
|
|
72
75
|
id: string;
|
|
73
76
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListItemAllowChildStrings.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useListItemAllowChildStrings.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"useListItemAllowChildStrings.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useListItemAllowChildStrings.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASxC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createElemPropsHook } from '@workday/canvas-kit-react/common';
|
|
2
2
|
import { useListModel } from '@workday/canvas-kit-react/collection';
|
|
3
3
|
/**
|
|
4
|
-
* This elemProps hook allows for children values to be considered identifiers if the children
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* This elemProps hook allows for children values to be considered identifiers if the children are
|
|
5
|
+
* strings. This can be useful for autocomplete or select components that allow string values. This
|
|
6
|
+
* hook must be passed _after_ {@link useListItemRegister} because this hook sets the `data-id`
|
|
7
7
|
* attribute if one hasn't been defined by the application.
|
|
8
8
|
*
|
|
9
9
|
* An example might look like:
|