@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.
Files changed (192) hide show
  1. package/collection/index.ts +1 -0
  2. package/collection/lib/useCursorListModel.tsx +17 -18
  3. package/collection/lib/useListItemAllowChildStrings.ts +3 -3
  4. package/collection/lib/useListItemRovingFocus.tsx +26 -7
  5. package/collection/lib/useListLoader.ts +313 -0
  6. package/dist/commonjs/action-bar/lib/ActionBar.d.ts +427 -124
  7. package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
  8. package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +21 -12
  9. package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
  10. package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +21 -12
  11. package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
  12. package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +28 -16
  13. package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
  14. package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +205 -52
  15. package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
  16. package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +448 -136
  17. package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
  18. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +28 -16
  19. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
  20. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +21 -12
  21. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
  22. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +14 -8
  23. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
  24. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +208 -64
  25. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
  26. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +28 -16
  27. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
  28. package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +205 -52
  29. package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
  30. package/dist/commonjs/collection/index.d.ts +1 -0
  31. package/dist/commonjs/collection/index.d.ts.map +1 -1
  32. package/dist/commonjs/collection/index.js +1 -0
  33. package/dist/commonjs/collection/lib/ListBox.d.ts +162 -48
  34. package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
  35. package/dist/commonjs/collection/lib/useCursorListModel.d.ts +354 -56
  36. package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
  37. package/dist/commonjs/collection/lib/useCursorListModel.js +12 -15
  38. package/dist/commonjs/collection/lib/useGridModel.d.ts +155 -44
  39. package/dist/commonjs/collection/lib/useGridModel.d.ts.map +1 -1
  40. package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts +10 -7
  41. package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
  42. package/dist/commonjs/collection/lib/useListItemAllowChildStrings.js +3 -3
  43. package/dist/commonjs/collection/lib/useListItemRegister.d.ts +7 -4
  44. package/dist/commonjs/collection/lib/useListItemRegister.d.ts.map +1 -1
  45. package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts +7 -5
  46. package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
  47. package/dist/commonjs/collection/lib/useListItemRovingFocus.js +21 -8
  48. package/dist/commonjs/collection/lib/useListItemSelect.d.ts +7 -4
  49. package/dist/commonjs/collection/lib/useListItemSelect.d.ts.map +1 -1
  50. package/dist/commonjs/collection/lib/useListLoader.d.ts +67 -0
  51. package/dist/commonjs/collection/lib/useListLoader.d.ts.map +1 -0
  52. package/dist/commonjs/collection/lib/useListLoader.js +213 -0
  53. package/dist/commonjs/collection/lib/useListModel.d.ts +155 -44
  54. package/dist/commonjs/collection/lib/useListModel.d.ts.map +1 -1
  55. package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts +7 -4
  56. package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
  57. package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +7 -4
  58. package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
  59. package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +7 -4
  60. package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
  61. package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +191 -44
  62. package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
  63. package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +7 -4
  64. package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
  65. package/dist/commonjs/collection/lib/useSelectionListModel.d.ts +155 -44
  66. package/dist/commonjs/collection/lib/useSelectionListModel.d.ts.map +1 -1
  67. package/dist/commonjs/menu/lib/Menu.d.ts +201 -60
  68. package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
  69. package/dist/commonjs/menu/lib/MenuCard.d.ts +14 -8
  70. package/dist/commonjs/menu/lib/MenuCard.d.ts.map +1 -1
  71. package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +21 -12
  72. package/dist/commonjs/menu/lib/MenuContextTarget.d.ts.map +1 -1
  73. package/dist/commonjs/menu/lib/MenuItem.d.ts +14 -9
  74. package/dist/commonjs/menu/lib/MenuItem.d.ts.map +1 -1
  75. package/dist/commonjs/menu/lib/MenuList.d.ts +14 -8
  76. package/dist/commonjs/menu/lib/MenuList.d.ts.map +1 -1
  77. package/dist/commonjs/menu/lib/MenuPopper.d.ts +7 -4
  78. package/dist/commonjs/menu/lib/MenuPopper.d.ts.map +1 -1
  79. package/dist/commonjs/menu/lib/MenuTarget.d.ts +35 -20
  80. package/dist/commonjs/menu/lib/MenuTarget.d.ts.map +1 -1
  81. package/dist/commonjs/menu/lib/useMenuModel.d.ts +173 -44
  82. package/dist/commonjs/menu/lib/useMenuModel.d.ts.map +1 -1
  83. package/dist/commonjs/tabs/lib/Tabs.d.ts +626 -176
  84. package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
  85. package/dist/commonjs/tabs/lib/TabsItem.d.ts +28 -17
  86. package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
  87. package/dist/commonjs/tabs/lib/TabsList.d.ts +28 -16
  88. package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
  89. package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +7 -4
  90. package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
  91. package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +28 -16
  92. package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
  93. package/dist/commonjs/tabs/lib/TabsPanel.d.ts +28 -16
  94. package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
  95. package/dist/commonjs/tabs/lib/TabsPanels.d.ts +14 -8
  96. package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
  97. package/dist/commonjs/tabs/lib/useTabsModel.d.ts +521 -116
  98. package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
  99. package/dist/es6/action-bar/lib/ActionBar.d.ts +427 -124
  100. package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
  101. package/dist/es6/action-bar/lib/ActionBarItem.d.ts +21 -12
  102. package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
  103. package/dist/es6/action-bar/lib/ActionBarList.d.ts +21 -12
  104. package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
  105. package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +28 -16
  106. package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
  107. package/dist/es6/action-bar/lib/useActionBarModel.d.ts +205 -52
  108. package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
  109. package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +448 -136
  110. package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
  111. package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +28 -16
  112. package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
  113. package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +21 -12
  114. package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
  115. package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +14 -8
  116. package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
  117. package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +208 -64
  118. package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
  119. package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +28 -16
  120. package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
  121. package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +205 -52
  122. package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
  123. package/dist/es6/collection/index.d.ts +1 -0
  124. package/dist/es6/collection/index.d.ts.map +1 -1
  125. package/dist/es6/collection/index.js +1 -0
  126. package/dist/es6/collection/lib/ListBox.d.ts +162 -48
  127. package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
  128. package/dist/es6/collection/lib/useCursorListModel.d.ts +354 -56
  129. package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
  130. package/dist/es6/collection/lib/useCursorListModel.js +12 -15
  131. package/dist/es6/collection/lib/useGridModel.d.ts +155 -44
  132. package/dist/es6/collection/lib/useGridModel.d.ts.map +1 -1
  133. package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts +10 -7
  134. package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
  135. package/dist/es6/collection/lib/useListItemAllowChildStrings.js +3 -3
  136. package/dist/es6/collection/lib/useListItemRegister.d.ts +7 -4
  137. package/dist/es6/collection/lib/useListItemRegister.d.ts.map +1 -1
  138. package/dist/es6/collection/lib/useListItemRovingFocus.d.ts +7 -5
  139. package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
  140. package/dist/es6/collection/lib/useListItemRovingFocus.js +21 -8
  141. package/dist/es6/collection/lib/useListItemSelect.d.ts +7 -4
  142. package/dist/es6/collection/lib/useListItemSelect.d.ts.map +1 -1
  143. package/dist/es6/collection/lib/useListLoader.d.ts +67 -0
  144. package/dist/es6/collection/lib/useListLoader.d.ts.map +1 -0
  145. package/dist/es6/collection/lib/useListLoader.js +204 -0
  146. package/dist/es6/collection/lib/useListModel.d.ts +155 -44
  147. package/dist/es6/collection/lib/useListModel.d.ts.map +1 -1
  148. package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts +7 -4
  149. package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
  150. package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +7 -4
  151. package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
  152. package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +7 -4
  153. package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
  154. package/dist/es6/collection/lib/useOverflowListModel.d.ts +191 -44
  155. package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
  156. package/dist/es6/collection/lib/useOverflowListTarget.d.ts +7 -4
  157. package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
  158. package/dist/es6/collection/lib/useSelectionListModel.d.ts +155 -44
  159. package/dist/es6/collection/lib/useSelectionListModel.d.ts.map +1 -1
  160. package/dist/es6/menu/lib/Menu.d.ts +201 -60
  161. package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
  162. package/dist/es6/menu/lib/MenuCard.d.ts +14 -8
  163. package/dist/es6/menu/lib/MenuCard.d.ts.map +1 -1
  164. package/dist/es6/menu/lib/MenuContextTarget.d.ts +21 -12
  165. package/dist/es6/menu/lib/MenuContextTarget.d.ts.map +1 -1
  166. package/dist/es6/menu/lib/MenuItem.d.ts +14 -9
  167. package/dist/es6/menu/lib/MenuItem.d.ts.map +1 -1
  168. package/dist/es6/menu/lib/MenuList.d.ts +14 -8
  169. package/dist/es6/menu/lib/MenuList.d.ts.map +1 -1
  170. package/dist/es6/menu/lib/MenuPopper.d.ts +7 -4
  171. package/dist/es6/menu/lib/MenuPopper.d.ts.map +1 -1
  172. package/dist/es6/menu/lib/MenuTarget.d.ts +35 -20
  173. package/dist/es6/menu/lib/MenuTarget.d.ts.map +1 -1
  174. package/dist/es6/menu/lib/useMenuModel.d.ts +173 -44
  175. package/dist/es6/menu/lib/useMenuModel.d.ts.map +1 -1
  176. package/dist/es6/tabs/lib/Tabs.d.ts +626 -176
  177. package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
  178. package/dist/es6/tabs/lib/TabsItem.d.ts +28 -17
  179. package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
  180. package/dist/es6/tabs/lib/TabsList.d.ts +28 -16
  181. package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
  182. package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +7 -4
  183. package/dist/es6/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
  184. package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +28 -16
  185. package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
  186. package/dist/es6/tabs/lib/TabsPanel.d.ts +28 -16
  187. package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
  188. package/dist/es6/tabs/lib/TabsPanels.d.ts +14 -8
  189. package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
  190. package/dist/es6/tabs/lib/useTabsModel.d.ts +521 -116
  191. package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
  192. package/package.json +3 -3
@@ -61,6 +61,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
61
61
  cursorId: string;
62
62
  columnCount: number;
63
63
  pageSizeRef: import("react").MutableRefObject<number>;
64
+ cursorIndexRef: {
65
+ readonly current: number;
66
+ };
64
67
  UNSTABLE_virtual: {
65
68
  virtualItems: import("./react-virtual").VirtualItem[];
66
69
  totalSize: number;
@@ -83,6 +86,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
83
86
  cursorId: string;
84
87
  columnCount: number;
85
88
  pageSizeRef: import("react").MutableRefObject<number>;
89
+ cursorIndexRef: {
90
+ readonly current: number;
91
+ };
86
92
  UNSTABLE_virtual: {
87
93
  virtualItems: import("./react-virtual").VirtualItem[];
88
94
  totalSize: number;
@@ -105,6 +111,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
105
111
  cursorId: string;
106
112
  columnCount: number;
107
113
  pageSizeRef: import("react").MutableRefObject<number>;
114
+ cursorIndexRef: {
115
+ readonly current: number;
116
+ };
108
117
  UNSTABLE_virtual: {
109
118
  virtualItems: import("./react-virtual").VirtualItem[];
110
119
  totalSize: number;
@@ -121,15 +130,17 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
121
130
  isVirtualized: boolean;
122
131
  items: import("./useBaseListModel").Item<any>[];
123
132
  }) => void) | undefined;
124
- onRegisterItem?: ((data: {
125
- item: any;
126
- textValue: string;
133
+ onGoTo?: ((data: {
134
+ id: string;
127
135
  }, prevState: {
128
136
  selectedIds: string[] | "all";
129
137
  unselectedIds: string[];
130
138
  cursorId: string;
131
139
  columnCount: number;
132
140
  pageSizeRef: import("react").MutableRefObject<number>;
141
+ cursorIndexRef: {
142
+ readonly current: number;
143
+ };
133
144
  UNSTABLE_virtual: {
134
145
  virtualItems: import("./react-virtual").VirtualItem[];
135
146
  totalSize: number;
@@ -146,14 +157,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
146
157
  isVirtualized: boolean;
147
158
  items: import("./useBaseListModel").Item<any>[];
148
159
  }) => void) | undefined;
149
- onGoTo?: ((data: {
150
- id: string;
151
- }, prevState: {
160
+ onGoToNext?: ((data: undefined, prevState: {
152
161
  selectedIds: string[] | "all";
153
162
  unselectedIds: string[];
154
163
  cursorId: string;
155
164
  columnCount: number;
156
165
  pageSizeRef: import("react").MutableRefObject<number>;
166
+ cursorIndexRef: {
167
+ readonly current: number;
168
+ };
157
169
  UNSTABLE_virtual: {
158
170
  virtualItems: import("./react-virtual").VirtualItem[];
159
171
  totalSize: number;
@@ -170,12 +182,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
170
182
  isVirtualized: boolean;
171
183
  items: import("./useBaseListModel").Item<any>[];
172
184
  }) => void) | undefined;
173
- onGoToNext?: ((data: undefined, prevState: {
185
+ onGoToPrevious?: ((data: undefined, prevState: {
174
186
  selectedIds: string[] | "all";
175
187
  unselectedIds: string[];
176
188
  cursorId: string;
177
189
  columnCount: number;
178
190
  pageSizeRef: import("react").MutableRefObject<number>;
191
+ cursorIndexRef: {
192
+ readonly current: number;
193
+ };
179
194
  UNSTABLE_virtual: {
180
195
  virtualItems: import("./react-virtual").VirtualItem[];
181
196
  totalSize: number;
@@ -192,12 +207,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
192
207
  isVirtualized: boolean;
193
208
  items: import("./useBaseListModel").Item<any>[];
194
209
  }) => void) | undefined;
195
- onGoToPrevious?: ((data: undefined, prevState: {
210
+ onGoToPreviousRow?: ((data: undefined, prevState: {
196
211
  selectedIds: string[] | "all";
197
212
  unselectedIds: string[];
198
213
  cursorId: string;
199
214
  columnCount: number;
200
215
  pageSizeRef: import("react").MutableRefObject<number>;
216
+ cursorIndexRef: {
217
+ readonly current: number;
218
+ };
201
219
  UNSTABLE_virtual: {
202
220
  virtualItems: import("./react-virtual").VirtualItem[];
203
221
  totalSize: number;
@@ -214,12 +232,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
214
232
  isVirtualized: boolean;
215
233
  items: import("./useBaseListModel").Item<any>[];
216
234
  }) => void) | undefined;
217
- onGoToPreviousRow?: ((data: undefined, prevState: {
235
+ onGoToNextRow?: ((data: undefined, prevState: {
218
236
  selectedIds: string[] | "all";
219
237
  unselectedIds: string[];
220
238
  cursorId: string;
221
239
  columnCount: number;
222
240
  pageSizeRef: import("react").MutableRefObject<number>;
241
+ cursorIndexRef: {
242
+ readonly current: number;
243
+ };
223
244
  UNSTABLE_virtual: {
224
245
  virtualItems: import("./react-virtual").VirtualItem[];
225
246
  totalSize: number;
@@ -236,12 +257,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
236
257
  isVirtualized: boolean;
237
258
  items: import("./useBaseListModel").Item<any>[];
238
259
  }) => void) | undefined;
239
- onGoToNextRow?: ((data: undefined, prevState: {
260
+ onGoToFirst?: ((data: undefined, prevState: {
240
261
  selectedIds: string[] | "all";
241
262
  unselectedIds: string[];
242
263
  cursorId: string;
243
264
  columnCount: number;
244
265
  pageSizeRef: import("react").MutableRefObject<number>;
266
+ cursorIndexRef: {
267
+ readonly current: number;
268
+ };
245
269
  UNSTABLE_virtual: {
246
270
  virtualItems: import("./react-virtual").VirtualItem[];
247
271
  totalSize: number;
@@ -258,12 +282,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
258
282
  isVirtualized: boolean;
259
283
  items: import("./useBaseListModel").Item<any>[];
260
284
  }) => void) | undefined;
261
- onGoToFirst?: ((data: undefined, prevState: {
285
+ onGoToLast?: ((data: undefined, prevState: {
262
286
  selectedIds: string[] | "all";
263
287
  unselectedIds: string[];
264
288
  cursorId: string;
265
289
  columnCount: number;
266
290
  pageSizeRef: import("react").MutableRefObject<number>;
291
+ cursorIndexRef: {
292
+ readonly current: number;
293
+ };
267
294
  UNSTABLE_virtual: {
268
295
  virtualItems: import("./react-virtual").VirtualItem[];
269
296
  totalSize: number;
@@ -280,12 +307,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
280
307
  isVirtualized: boolean;
281
308
  items: import("./useBaseListModel").Item<any>[];
282
309
  }) => void) | undefined;
283
- onGoToLast?: ((data: undefined, prevState: {
310
+ onGoToFirstOfRow?: ((data: undefined, prevState: {
284
311
  selectedIds: string[] | "all";
285
312
  unselectedIds: string[];
286
313
  cursorId: string;
287
314
  columnCount: number;
288
315
  pageSizeRef: import("react").MutableRefObject<number>;
316
+ cursorIndexRef: {
317
+ readonly current: number;
318
+ };
289
319
  UNSTABLE_virtual: {
290
320
  virtualItems: import("./react-virtual").VirtualItem[];
291
321
  totalSize: number;
@@ -302,12 +332,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
302
332
  isVirtualized: boolean;
303
333
  items: import("./useBaseListModel").Item<any>[];
304
334
  }) => void) | undefined;
305
- onGoToFirstOfRow?: ((data: undefined, prevState: {
335
+ onGoToLastOfRow?: ((data: undefined, prevState: {
306
336
  selectedIds: string[] | "all";
307
337
  unselectedIds: string[];
308
338
  cursorId: string;
309
339
  columnCount: number;
310
340
  pageSizeRef: import("react").MutableRefObject<number>;
341
+ cursorIndexRef: {
342
+ readonly current: number;
343
+ };
311
344
  UNSTABLE_virtual: {
312
345
  virtualItems: import("./react-virtual").VirtualItem[];
313
346
  totalSize: number;
@@ -324,12 +357,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
324
357
  isVirtualized: boolean;
325
358
  items: import("./useBaseListModel").Item<any>[];
326
359
  }) => void) | undefined;
327
- onGoToLastOfRow?: ((data: undefined, prevState: {
360
+ onGoToNextPage?: ((data: undefined, prevState: {
328
361
  selectedIds: string[] | "all";
329
362
  unselectedIds: string[];
330
363
  cursorId: string;
331
364
  columnCount: number;
332
365
  pageSizeRef: import("react").MutableRefObject<number>;
366
+ cursorIndexRef: {
367
+ readonly current: number;
368
+ };
333
369
  UNSTABLE_virtual: {
334
370
  virtualItems: import("./react-virtual").VirtualItem[];
335
371
  totalSize: number;
@@ -346,12 +382,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
346
382
  isVirtualized: boolean;
347
383
  items: import("./useBaseListModel").Item<any>[];
348
384
  }) => void) | undefined;
349
- onGoToNextPage?: ((data: undefined, prevState: {
385
+ onGoToPreviousPage?: ((data: undefined, prevState: {
350
386
  selectedIds: string[] | "all";
351
387
  unselectedIds: string[];
352
388
  cursorId: string;
353
389
  columnCount: number;
354
390
  pageSizeRef: import("react").MutableRefObject<number>;
391
+ cursorIndexRef: {
392
+ readonly current: number;
393
+ };
355
394
  UNSTABLE_virtual: {
356
395
  virtualItems: import("./react-virtual").VirtualItem[];
357
396
  totalSize: number;
@@ -368,12 +407,18 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
368
407
  isVirtualized: boolean;
369
408
  items: import("./useBaseListModel").Item<any>[];
370
409
  }) => void) | undefined;
371
- onGoToPreviousPage?: ((data: undefined, prevState: {
410
+ onRegisterItem?: ((data: {
411
+ item: any;
412
+ textValue: string;
413
+ }, prevState: {
372
414
  selectedIds: string[] | "all";
373
415
  unselectedIds: string[];
374
416
  cursorId: string;
375
417
  columnCount: number;
376
418
  pageSizeRef: import("react").MutableRefObject<number>;
419
+ cursorIndexRef: {
420
+ readonly current: number;
421
+ };
377
422
  UNSTABLE_virtual: {
378
423
  virtualItems: import("./react-virtual").VirtualItem[];
379
424
  totalSize: number;
@@ -398,6 +443,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
398
443
  cursorId: string;
399
444
  columnCount: number;
400
445
  pageSizeRef: import("react").MutableRefObject<number>;
446
+ cursorIndexRef: {
447
+ readonly current: number;
448
+ };
401
449
  UNSTABLE_virtual: {
402
450
  virtualItems: import("./react-virtual").VirtualItem[];
403
451
  totalSize: number;
@@ -422,6 +470,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
422
470
  cursorId: string;
423
471
  columnCount: number;
424
472
  pageSizeRef: import("react").MutableRefObject<number>;
473
+ cursorIndexRef: {
474
+ readonly current: number;
475
+ };
425
476
  UNSTABLE_virtual: {
426
477
  virtualItems: import("./react-virtual").VirtualItem[];
427
478
  totalSize: number;
@@ -447,6 +498,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
447
498
  cursorId: string;
448
499
  columnCount: number;
449
500
  pageSizeRef: import("react").MutableRefObject<number>;
501
+ cursorIndexRef: {
502
+ readonly current: number;
503
+ };
450
504
  UNSTABLE_virtual: {
451
505
  virtualItems: import("./react-virtual").VirtualItem[];
452
506
  totalSize: number;
@@ -469,6 +523,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
469
523
  cursorId: string;
470
524
  columnCount: number;
471
525
  pageSizeRef: import("react").MutableRefObject<number>;
526
+ cursorIndexRef: {
527
+ readonly current: number;
528
+ };
472
529
  UNSTABLE_virtual: {
473
530
  virtualItems: import("./react-virtual").VirtualItem[];
474
531
  totalSize: number;
@@ -491,6 +548,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
491
548
  cursorId: string;
492
549
  columnCount: number;
493
550
  pageSizeRef: import("react").MutableRefObject<number>;
551
+ cursorIndexRef: {
552
+ readonly current: number;
553
+ };
494
554
  UNSTABLE_virtual: {
495
555
  virtualItems: import("./react-virtual").VirtualItem[];
496
556
  totalSize: number;
@@ -507,15 +567,17 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
507
567
  isVirtualized: boolean;
508
568
  items: import("./useBaseListModel").Item<any>[];
509
569
  }) => boolean) | undefined;
510
- shouldRegisterItem?: ((data: {
511
- item: any;
512
- textValue: string;
570
+ shouldGoTo?: ((data: {
571
+ id: string;
513
572
  }, state: {
514
573
  selectedIds: string[] | "all";
515
574
  unselectedIds: string[];
516
575
  cursorId: string;
517
576
  columnCount: number;
518
577
  pageSizeRef: import("react").MutableRefObject<number>;
578
+ cursorIndexRef: {
579
+ readonly current: number;
580
+ };
519
581
  UNSTABLE_virtual: {
520
582
  virtualItems: import("./react-virtual").VirtualItem[];
521
583
  totalSize: number;
@@ -532,14 +594,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
532
594
  isVirtualized: boolean;
533
595
  items: import("./useBaseListModel").Item<any>[];
534
596
  }) => boolean) | undefined;
535
- shouldGoTo?: ((data: {
536
- id: string;
537
- }, state: {
597
+ shouldGoToNext?: ((data: undefined, state: {
538
598
  selectedIds: string[] | "all";
539
599
  unselectedIds: string[];
540
600
  cursorId: string;
541
601
  columnCount: number;
542
602
  pageSizeRef: import("react").MutableRefObject<number>;
603
+ cursorIndexRef: {
604
+ readonly current: number;
605
+ };
543
606
  UNSTABLE_virtual: {
544
607
  virtualItems: import("./react-virtual").VirtualItem[];
545
608
  totalSize: number;
@@ -556,12 +619,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
556
619
  isVirtualized: boolean;
557
620
  items: import("./useBaseListModel").Item<any>[];
558
621
  }) => boolean) | undefined;
559
- shouldGoToNext?: ((data: undefined, state: {
622
+ shouldGoToPrevious?: ((data: undefined, state: {
560
623
  selectedIds: string[] | "all";
561
624
  unselectedIds: string[];
562
625
  cursorId: string;
563
626
  columnCount: number;
564
627
  pageSizeRef: import("react").MutableRefObject<number>;
628
+ cursorIndexRef: {
629
+ readonly current: number;
630
+ };
565
631
  UNSTABLE_virtual: {
566
632
  virtualItems: import("./react-virtual").VirtualItem[];
567
633
  totalSize: number;
@@ -578,12 +644,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
578
644
  isVirtualized: boolean;
579
645
  items: import("./useBaseListModel").Item<any>[];
580
646
  }) => boolean) | undefined;
581
- shouldGoToPrevious?: ((data: undefined, state: {
647
+ shouldGoToPreviousRow?: ((data: undefined, state: {
582
648
  selectedIds: string[] | "all";
583
649
  unselectedIds: string[];
584
650
  cursorId: string;
585
651
  columnCount: number;
586
652
  pageSizeRef: import("react").MutableRefObject<number>;
653
+ cursorIndexRef: {
654
+ readonly current: number;
655
+ };
587
656
  UNSTABLE_virtual: {
588
657
  virtualItems: import("./react-virtual").VirtualItem[];
589
658
  totalSize: number;
@@ -600,12 +669,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
600
669
  isVirtualized: boolean;
601
670
  items: import("./useBaseListModel").Item<any>[];
602
671
  }) => boolean) | undefined;
603
- shouldGoToPreviousRow?: ((data: undefined, state: {
672
+ shouldGoToNextRow?: ((data: undefined, state: {
604
673
  selectedIds: string[] | "all";
605
674
  unselectedIds: string[];
606
675
  cursorId: string;
607
676
  columnCount: number;
608
677
  pageSizeRef: import("react").MutableRefObject<number>;
678
+ cursorIndexRef: {
679
+ readonly current: number;
680
+ };
609
681
  UNSTABLE_virtual: {
610
682
  virtualItems: import("./react-virtual").VirtualItem[];
611
683
  totalSize: number;
@@ -622,12 +694,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
622
694
  isVirtualized: boolean;
623
695
  items: import("./useBaseListModel").Item<any>[];
624
696
  }) => boolean) | undefined;
625
- shouldGoToNextRow?: ((data: undefined, state: {
697
+ shouldGoToFirst?: ((data: undefined, state: {
626
698
  selectedIds: string[] | "all";
627
699
  unselectedIds: string[];
628
700
  cursorId: string;
629
701
  columnCount: number;
630
702
  pageSizeRef: import("react").MutableRefObject<number>;
703
+ cursorIndexRef: {
704
+ readonly current: number;
705
+ };
631
706
  UNSTABLE_virtual: {
632
707
  virtualItems: import("./react-virtual").VirtualItem[];
633
708
  totalSize: number;
@@ -644,12 +719,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
644
719
  isVirtualized: boolean;
645
720
  items: import("./useBaseListModel").Item<any>[];
646
721
  }) => boolean) | undefined;
647
- shouldGoToFirst?: ((data: undefined, state: {
722
+ shouldGoToLast?: ((data: undefined, state: {
648
723
  selectedIds: string[] | "all";
649
724
  unselectedIds: string[];
650
725
  cursorId: string;
651
726
  columnCount: number;
652
727
  pageSizeRef: import("react").MutableRefObject<number>;
728
+ cursorIndexRef: {
729
+ readonly current: number;
730
+ };
653
731
  UNSTABLE_virtual: {
654
732
  virtualItems: import("./react-virtual").VirtualItem[];
655
733
  totalSize: number;
@@ -666,12 +744,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
666
744
  isVirtualized: boolean;
667
745
  items: import("./useBaseListModel").Item<any>[];
668
746
  }) => boolean) | undefined;
669
- shouldGoToLast?: ((data: undefined, state: {
747
+ shouldGoToFirstOfRow?: ((data: undefined, state: {
670
748
  selectedIds: string[] | "all";
671
749
  unselectedIds: string[];
672
750
  cursorId: string;
673
751
  columnCount: number;
674
752
  pageSizeRef: import("react").MutableRefObject<number>;
753
+ cursorIndexRef: {
754
+ readonly current: number;
755
+ };
675
756
  UNSTABLE_virtual: {
676
757
  virtualItems: import("./react-virtual").VirtualItem[];
677
758
  totalSize: number;
@@ -688,12 +769,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
688
769
  isVirtualized: boolean;
689
770
  items: import("./useBaseListModel").Item<any>[];
690
771
  }) => boolean) | undefined;
691
- shouldGoToFirstOfRow?: ((data: undefined, state: {
772
+ shouldGoToLastOfRow?: ((data: undefined, state: {
692
773
  selectedIds: string[] | "all";
693
774
  unselectedIds: string[];
694
775
  cursorId: string;
695
776
  columnCount: number;
696
777
  pageSizeRef: import("react").MutableRefObject<number>;
778
+ cursorIndexRef: {
779
+ readonly current: number;
780
+ };
697
781
  UNSTABLE_virtual: {
698
782
  virtualItems: import("./react-virtual").VirtualItem[];
699
783
  totalSize: number;
@@ -710,12 +794,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
710
794
  isVirtualized: boolean;
711
795
  items: import("./useBaseListModel").Item<any>[];
712
796
  }) => boolean) | undefined;
713
- shouldGoToLastOfRow?: ((data: undefined, state: {
797
+ shouldGoToNextPage?: ((data: undefined, state: {
714
798
  selectedIds: string[] | "all";
715
799
  unselectedIds: string[];
716
800
  cursorId: string;
717
801
  columnCount: number;
718
802
  pageSizeRef: import("react").MutableRefObject<number>;
803
+ cursorIndexRef: {
804
+ readonly current: number;
805
+ };
719
806
  UNSTABLE_virtual: {
720
807
  virtualItems: import("./react-virtual").VirtualItem[];
721
808
  totalSize: number;
@@ -732,12 +819,15 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
732
819
  isVirtualized: boolean;
733
820
  items: import("./useBaseListModel").Item<any>[];
734
821
  }) => boolean) | undefined;
735
- shouldGoToNextPage?: ((data: undefined, state: {
822
+ shouldGoToPreviousPage?: ((data: undefined, state: {
736
823
  selectedIds: string[] | "all";
737
824
  unselectedIds: string[];
738
825
  cursorId: string;
739
826
  columnCount: number;
740
827
  pageSizeRef: import("react").MutableRefObject<number>;
828
+ cursorIndexRef: {
829
+ readonly current: number;
830
+ };
741
831
  UNSTABLE_virtual: {
742
832
  virtualItems: import("./react-virtual").VirtualItem[];
743
833
  totalSize: number;
@@ -754,12 +844,18 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
754
844
  isVirtualized: boolean;
755
845
  items: import("./useBaseListModel").Item<any>[];
756
846
  }) => boolean) | undefined;
757
- shouldGoToPreviousPage?: ((data: undefined, state: {
847
+ shouldRegisterItem?: ((data: {
848
+ item: any;
849
+ textValue: string;
850
+ }, state: {
758
851
  selectedIds: string[] | "all";
759
852
  unselectedIds: string[];
760
853
  cursorId: string;
761
854
  columnCount: number;
762
855
  pageSizeRef: import("react").MutableRefObject<number>;
856
+ cursorIndexRef: {
857
+ readonly current: number;
858
+ };
763
859
  UNSTABLE_virtual: {
764
860
  virtualItems: import("./react-virtual").VirtualItem[];
765
861
  totalSize: number;
@@ -784,6 +880,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
784
880
  cursorId: string;
785
881
  columnCount: number;
786
882
  pageSizeRef: import("react").MutableRefObject<number>;
883
+ cursorIndexRef: {
884
+ readonly current: number;
885
+ };
787
886
  UNSTABLE_virtual: {
788
887
  virtualItems: import("./react-virtual").VirtualItem[];
789
888
  totalSize: number;
@@ -808,6 +907,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
808
907
  cursorId: string;
809
908
  columnCount: number;
810
909
  pageSizeRef: import("react").MutableRefObject<number>;
910
+ cursorIndexRef: {
911
+ readonly current: number;
912
+ };
811
913
  UNSTABLE_virtual: {
812
914
  virtualItems: import("./react-virtual").VirtualItem[];
813
915
  totalSize: number;
@@ -831,6 +933,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
831
933
  cursorId: string;
832
934
  columnCount: number;
833
935
  pageSizeRef: import("react").MutableRefObject<number>;
936
+ cursorIndexRef: {
937
+ readonly current: number;
938
+ };
834
939
  UNSTABLE_virtual: {
835
940
  virtualItems: import("./react-virtual").VirtualItem[];
836
941
  totalSize: number;
@@ -853,10 +958,6 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
853
958
  }): void;
854
959
  selectAll(): void;
855
960
  unselectAll(): void;
856
- registerItem(data: {
857
- item: any;
858
- textValue: string;
859
- }): void;
860
961
  goTo(data: {
861
962
  id: string;
862
963
  }): void;
@@ -870,6 +971,10 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
870
971
  goToLastOfRow(): void;
871
972
  goToNextPage(): void;
872
973
  goToPreviousPage(): void;
974
+ registerItem(data: {
975
+ item: any;
976
+ textValue: string;
977
+ }): void;
873
978
  unregisterItem(data: {
874
979
  id: string;
875
980
  }): void;
@@ -902,6 +1007,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
902
1007
  cursorId: string;
903
1008
  columnCount: number;
904
1009
  pageSizeRef: import("react").MutableRefObject<number>;
1010
+ cursorIndexRef: {
1011
+ readonly current: number;
1012
+ };
905
1013
  UNSTABLE_virtual: {
906
1014
  virtualItems: import("./react-virtual").VirtualItem[];
907
1015
  totalSize: number;
@@ -923,10 +1031,6 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
923
1031
  }): void;
924
1032
  selectAll(): void;
925
1033
  unselectAll(): void;
926
- registerItem(data: {
927
- item: any;
928
- textValue: string;
929
- }): void;
930
1034
  goTo(data: {
931
1035
  id: string;
932
1036
  }): void;
@@ -940,6 +1044,10 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
940
1044
  goToLastOfRow(): void;
941
1045
  goToNextPage(): void;
942
1046
  goToPreviousPage(): void;
1047
+ registerItem(data: {
1048
+ item: any;
1049
+ textValue: string;
1050
+ }): void;
943
1051
  unregisterItem(data: {
944
1052
  id: string;
945
1053
  }): void;
@@ -953,6 +1061,9 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
953
1061
  cursorId: string;
954
1062
  columnCount: number;
955
1063
  pageSizeRef: import("react").MutableRefObject<number>;
1064
+ cursorIndexRef: {
1065
+ readonly current: number;
1066
+ };
956
1067
  UNSTABLE_virtual: {
957
1068
  virtualItems: import("./react-virtual").VirtualItem[];
958
1069
  totalSize: number;
@@ -975,10 +1086,6 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
975
1086
  }): void;
976
1087
  selectAll(): void;
977
1088
  unselectAll(): void;
978
- registerItem(data: {
979
- item: any;
980
- textValue: string;
981
- }): void;
982
1089
  goTo(data: {
983
1090
  id: string;
984
1091
  }): void;
@@ -992,6 +1099,10 @@ export declare const useListModel: (<TT_Special_Generic>(config?: (Partial<{
992
1099
  goToLastOfRow(): void;
993
1100
  goToNextPage(): void;
994
1101
  goToPreviousPage(): void;
1102
+ registerItem(data: {
1103
+ item: any;
1104
+ textValue: string;
1105
+ }): void;
995
1106
  unregisterItem(data: {
996
1107
  id: string;
997
1108
  }): void;
@@ -1 +1 @@
1
- {"version":3,"file":"useListModel.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useListModel.tsx"],"names":[],"mappings":"AAOA,oBAAY,SAAS,CAAC,CAAC,GAAG,OAAO,IAAI;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;CAC5D,CAAC;AAEF,oBAAY,aAAa,GAAG;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGA,CAAC"}
1
+ {"version":3,"file":"useListModel.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useListModel.tsx"],"names":[],"mappings":"AAOA,oBAAY,SAAS,CAAC,CAAC,GAAG,OAAO,IAAI;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;CAC5D,CAAC;AAEF,oBAAY,aAAa,GAAG;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGA,CAAC"}
@@ -20,6 +20,9 @@ export declare const useListResetCursorOnBlur: import("@workday/canvas-kit-react
20
20
  cursorId: string;
21
21
  columnCount: number;
22
22
  pageSizeRef: React.MutableRefObject<number>;
23
+ cursorIndexRef: {
24
+ readonly current: number;
25
+ };
23
26
  UNSTABLE_virtual: {
24
27
  virtualItems: import("./react-virtual").VirtualItem[];
25
28
  totalSize: number;
@@ -42,10 +45,6 @@ export declare const useListResetCursorOnBlur: import("@workday/canvas-kit-react
42
45
  }): void;
43
46
  selectAll(): void;
44
47
  unselectAll(): void;
45
- registerItem(data: {
46
- item: any;
47
- textValue: string;
48
- }): void;
49
48
  goTo(data: {
50
49
  id: string;
51
50
  }): void;
@@ -59,6 +58,10 @@ export declare const useListResetCursorOnBlur: import("@workday/canvas-kit-react
59
58
  goToLastOfRow(): void;
60
59
  goToNextPage(): void;
61
60
  goToPreviousPage(): void;
61
+ registerItem(data: {
62
+ item: any;
63
+ textValue: string;
64
+ }): void;
62
65
  unregisterItem(data: {
63
66
  id: string;
64
67
  }): void;
@@ -1 +1 @@
1
- {"version":3,"file":"useListResetCursorOnBlur.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useListResetCursorOnBlur.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAGhB,mBAAmB;;;EAetC,CAAC"}
1
+ {"version":3,"file":"useListResetCursorOnBlur.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useListResetCursorOnBlur.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAGhB,mBAAmB;;;EAetC,CAAC"}
@@ -20,6 +20,9 @@ export declare const useOverflowListItemMeasure: import("@workday/canvas-kit-rea
20
20
  cursorId: string;
21
21
  columnCount: number;
22
22
  pageSizeRef: import("react").MutableRefObject<number>;
23
+ cursorIndexRef: {
24
+ readonly current: number;
25
+ };
23
26
  UNSTABLE_virtual: {
24
27
  virtualItems: import("./react-virtual").VirtualItem[];
25
28
  totalSize: number;
@@ -61,10 +64,6 @@ export declare const useOverflowListItemMeasure: import("@workday/canvas-kit-rea
61
64
  }): void;
62
65
  selectAll(): void;
63
66
  unselectAll(): void;
64
- registerItem(data: {
65
- item: any;
66
- textValue: string;
67
- }): void;
68
67
  goTo(data: {
69
68
  id: string;
70
69
  }): void;
@@ -78,6 +77,10 @@ export declare const useOverflowListItemMeasure: import("@workday/canvas-kit-rea
78
77
  goToLastOfRow(): void;
79
78
  goToNextPage(): void;
80
79
  goToPreviousPage(): void;
80
+ registerItem(data: {
81
+ item: any;
82
+ textValue: string;
83
+ }): void;
81
84
  unregisterItem(data: {
82
85
  id: string;
83
86
  }): void;