@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOverflowListModel.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useOverflowListModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,wBAAgB,YAAY,CAC1B,cAAc,EAAE,MA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16
|
pageSizeRef: React.MutableRefObject<number>;
|
|
17
|
+
cursorIndexRef: {
|
|
18
|
+
readonly current: number;
|
|
19
|
+
};
|
|
17
20
|
UNSTABLE_virtual: {
|
|
18
21
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
19
22
|
totalSize: number;
|
|
@@ -55,10 +58,6 @@ export declare const useOverflowListTarget: import("@workday/canvas-kit-react/co
|
|
|
55
58
|
}): void;
|
|
56
59
|
selectAll(): void;
|
|
57
60
|
unselectAll(): void;
|
|
58
|
-
registerItem(data: {
|
|
59
|
-
item: any;
|
|
60
|
-
textValue: string;
|
|
61
|
-
}): void;
|
|
62
61
|
goTo(data: {
|
|
63
62
|
id: string;
|
|
64
63
|
}): void;
|
|
@@ -72,6 +71,10 @@ export declare const useOverflowListTarget: import("@workday/canvas-kit-react/co
|
|
|
72
71
|
goToLastOfRow(): void;
|
|
73
72
|
goToNextPage(): void;
|
|
74
73
|
goToPreviousPage(): void;
|
|
74
|
+
registerItem(data: {
|
|
75
|
+
item: any;
|
|
76
|
+
textValue: string;
|
|
77
|
+
}): void;
|
|
75
78
|
unregisterItem(data: {
|
|
76
79
|
id: string;
|
|
77
80
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOverflowListTarget.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useOverflowListTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B;;;GAGG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"useOverflowListTarget.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useOverflowListTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BjC,CAAC"}
|
|
@@ -50,6 +50,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
50
50
|
cursorId: string;
|
|
51
51
|
columnCount: number;
|
|
52
52
|
pageSizeRef: React.MutableRefObject<number>;
|
|
53
|
+
cursorIndexRef: {
|
|
54
|
+
readonly current: number;
|
|
55
|
+
};
|
|
53
56
|
UNSTABLE_virtual: {
|
|
54
57
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
55
58
|
totalSize: number;
|
|
@@ -72,6 +75,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
72
75
|
cursorId: string;
|
|
73
76
|
columnCount: number;
|
|
74
77
|
pageSizeRef: React.MutableRefObject<number>;
|
|
78
|
+
cursorIndexRef: {
|
|
79
|
+
readonly current: number;
|
|
80
|
+
};
|
|
75
81
|
UNSTABLE_virtual: {
|
|
76
82
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
77
83
|
totalSize: number;
|
|
@@ -94,6 +100,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
94
100
|
cursorId: string;
|
|
95
101
|
columnCount: number;
|
|
96
102
|
pageSizeRef: React.MutableRefObject<number>;
|
|
103
|
+
cursorIndexRef: {
|
|
104
|
+
readonly current: number;
|
|
105
|
+
};
|
|
97
106
|
UNSTABLE_virtual: {
|
|
98
107
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
99
108
|
totalSize: number;
|
|
@@ -110,15 +119,17 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
110
119
|
isVirtualized: boolean;
|
|
111
120
|
items: import("./useBaseListModel").Item<any>[];
|
|
112
121
|
}) => void) | undefined;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
textValue: string;
|
|
122
|
+
onGoTo?: ((data: {
|
|
123
|
+
id: string;
|
|
116
124
|
}, prevState: {
|
|
117
125
|
selectedIds: string[] | "all";
|
|
118
126
|
unselectedIds: string[];
|
|
119
127
|
cursorId: string;
|
|
120
128
|
columnCount: number;
|
|
121
129
|
pageSizeRef: React.MutableRefObject<number>;
|
|
130
|
+
cursorIndexRef: {
|
|
131
|
+
readonly current: number;
|
|
132
|
+
};
|
|
122
133
|
UNSTABLE_virtual: {
|
|
123
134
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
124
135
|
totalSize: number;
|
|
@@ -135,14 +146,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
135
146
|
isVirtualized: boolean;
|
|
136
147
|
items: import("./useBaseListModel").Item<any>[];
|
|
137
148
|
}) => void) | undefined;
|
|
138
|
-
|
|
139
|
-
id: string;
|
|
140
|
-
}, prevState: {
|
|
149
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
141
150
|
selectedIds: string[] | "all";
|
|
142
151
|
unselectedIds: string[];
|
|
143
152
|
cursorId: string;
|
|
144
153
|
columnCount: number;
|
|
145
154
|
pageSizeRef: React.MutableRefObject<number>;
|
|
155
|
+
cursorIndexRef: {
|
|
156
|
+
readonly current: number;
|
|
157
|
+
};
|
|
146
158
|
UNSTABLE_virtual: {
|
|
147
159
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
148
160
|
totalSize: number;
|
|
@@ -159,12 +171,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
159
171
|
isVirtualized: boolean;
|
|
160
172
|
items: import("./useBaseListModel").Item<any>[];
|
|
161
173
|
}) => void) | undefined;
|
|
162
|
-
|
|
174
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
163
175
|
selectedIds: string[] | "all";
|
|
164
176
|
unselectedIds: string[];
|
|
165
177
|
cursorId: string;
|
|
166
178
|
columnCount: number;
|
|
167
179
|
pageSizeRef: React.MutableRefObject<number>;
|
|
180
|
+
cursorIndexRef: {
|
|
181
|
+
readonly current: number;
|
|
182
|
+
};
|
|
168
183
|
UNSTABLE_virtual: {
|
|
169
184
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
170
185
|
totalSize: number;
|
|
@@ -181,12 +196,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
181
196
|
isVirtualized: boolean;
|
|
182
197
|
items: import("./useBaseListModel").Item<any>[];
|
|
183
198
|
}) => void) | undefined;
|
|
184
|
-
|
|
199
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
185
200
|
selectedIds: string[] | "all";
|
|
186
201
|
unselectedIds: string[];
|
|
187
202
|
cursorId: string;
|
|
188
203
|
columnCount: number;
|
|
189
204
|
pageSizeRef: React.MutableRefObject<number>;
|
|
205
|
+
cursorIndexRef: {
|
|
206
|
+
readonly current: number;
|
|
207
|
+
};
|
|
190
208
|
UNSTABLE_virtual: {
|
|
191
209
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
192
210
|
totalSize: number;
|
|
@@ -203,12 +221,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
203
221
|
isVirtualized: boolean;
|
|
204
222
|
items: import("./useBaseListModel").Item<any>[];
|
|
205
223
|
}) => void) | undefined;
|
|
206
|
-
|
|
224
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
207
225
|
selectedIds: string[] | "all";
|
|
208
226
|
unselectedIds: string[];
|
|
209
227
|
cursorId: string;
|
|
210
228
|
columnCount: number;
|
|
211
229
|
pageSizeRef: React.MutableRefObject<number>;
|
|
230
|
+
cursorIndexRef: {
|
|
231
|
+
readonly current: number;
|
|
232
|
+
};
|
|
212
233
|
UNSTABLE_virtual: {
|
|
213
234
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
214
235
|
totalSize: number;
|
|
@@ -225,12 +246,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
225
246
|
isVirtualized: boolean;
|
|
226
247
|
items: import("./useBaseListModel").Item<any>[];
|
|
227
248
|
}) => void) | undefined;
|
|
228
|
-
|
|
249
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
229
250
|
selectedIds: string[] | "all";
|
|
230
251
|
unselectedIds: string[];
|
|
231
252
|
cursorId: string;
|
|
232
253
|
columnCount: number;
|
|
233
254
|
pageSizeRef: React.MutableRefObject<number>;
|
|
255
|
+
cursorIndexRef: {
|
|
256
|
+
readonly current: number;
|
|
257
|
+
};
|
|
234
258
|
UNSTABLE_virtual: {
|
|
235
259
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
236
260
|
totalSize: number;
|
|
@@ -247,12 +271,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
247
271
|
isVirtualized: boolean;
|
|
248
272
|
items: import("./useBaseListModel").Item<any>[];
|
|
249
273
|
}) => void) | undefined;
|
|
250
|
-
|
|
274
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
251
275
|
selectedIds: string[] | "all";
|
|
252
276
|
unselectedIds: string[];
|
|
253
277
|
cursorId: string;
|
|
254
278
|
columnCount: number;
|
|
255
279
|
pageSizeRef: React.MutableRefObject<number>;
|
|
280
|
+
cursorIndexRef: {
|
|
281
|
+
readonly current: number;
|
|
282
|
+
};
|
|
256
283
|
UNSTABLE_virtual: {
|
|
257
284
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
258
285
|
totalSize: number;
|
|
@@ -269,12 +296,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
269
296
|
isVirtualized: boolean;
|
|
270
297
|
items: import("./useBaseListModel").Item<any>[];
|
|
271
298
|
}) => void) | undefined;
|
|
272
|
-
|
|
299
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
273
300
|
selectedIds: string[] | "all";
|
|
274
301
|
unselectedIds: string[];
|
|
275
302
|
cursorId: string;
|
|
276
303
|
columnCount: number;
|
|
277
304
|
pageSizeRef: React.MutableRefObject<number>;
|
|
305
|
+
cursorIndexRef: {
|
|
306
|
+
readonly current: number;
|
|
307
|
+
};
|
|
278
308
|
UNSTABLE_virtual: {
|
|
279
309
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
280
310
|
totalSize: number;
|
|
@@ -291,12 +321,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
291
321
|
isVirtualized: boolean;
|
|
292
322
|
items: import("./useBaseListModel").Item<any>[];
|
|
293
323
|
}) => void) | undefined;
|
|
294
|
-
|
|
324
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
295
325
|
selectedIds: string[] | "all";
|
|
296
326
|
unselectedIds: string[];
|
|
297
327
|
cursorId: string;
|
|
298
328
|
columnCount: number;
|
|
299
329
|
pageSizeRef: React.MutableRefObject<number>;
|
|
330
|
+
cursorIndexRef: {
|
|
331
|
+
readonly current: number;
|
|
332
|
+
};
|
|
300
333
|
UNSTABLE_virtual: {
|
|
301
334
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
302
335
|
totalSize: number;
|
|
@@ -313,12 +346,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
313
346
|
isVirtualized: boolean;
|
|
314
347
|
items: import("./useBaseListModel").Item<any>[];
|
|
315
348
|
}) => void) | undefined;
|
|
316
|
-
|
|
349
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
317
350
|
selectedIds: string[] | "all";
|
|
318
351
|
unselectedIds: string[];
|
|
319
352
|
cursorId: string;
|
|
320
353
|
columnCount: number;
|
|
321
354
|
pageSizeRef: React.MutableRefObject<number>;
|
|
355
|
+
cursorIndexRef: {
|
|
356
|
+
readonly current: number;
|
|
357
|
+
};
|
|
322
358
|
UNSTABLE_virtual: {
|
|
323
359
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
324
360
|
totalSize: number;
|
|
@@ -335,12 +371,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
335
371
|
isVirtualized: boolean;
|
|
336
372
|
items: import("./useBaseListModel").Item<any>[];
|
|
337
373
|
}) => void) | undefined;
|
|
338
|
-
|
|
374
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
339
375
|
selectedIds: string[] | "all";
|
|
340
376
|
unselectedIds: string[];
|
|
341
377
|
cursorId: string;
|
|
342
378
|
columnCount: number;
|
|
343
379
|
pageSizeRef: React.MutableRefObject<number>;
|
|
380
|
+
cursorIndexRef: {
|
|
381
|
+
readonly current: number;
|
|
382
|
+
};
|
|
344
383
|
UNSTABLE_virtual: {
|
|
345
384
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
346
385
|
totalSize: number;
|
|
@@ -357,12 +396,18 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
357
396
|
isVirtualized: boolean;
|
|
358
397
|
items: import("./useBaseListModel").Item<any>[];
|
|
359
398
|
}) => void) | undefined;
|
|
360
|
-
|
|
399
|
+
onRegisterItem?: ((data: {
|
|
400
|
+
item: any;
|
|
401
|
+
textValue: string;
|
|
402
|
+
}, prevState: {
|
|
361
403
|
selectedIds: string[] | "all";
|
|
362
404
|
unselectedIds: string[];
|
|
363
405
|
cursorId: string;
|
|
364
406
|
columnCount: number;
|
|
365
407
|
pageSizeRef: React.MutableRefObject<number>;
|
|
408
|
+
cursorIndexRef: {
|
|
409
|
+
readonly current: number;
|
|
410
|
+
};
|
|
366
411
|
UNSTABLE_virtual: {
|
|
367
412
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
368
413
|
totalSize: number;
|
|
@@ -387,6 +432,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
387
432
|
cursorId: string;
|
|
388
433
|
columnCount: number;
|
|
389
434
|
pageSizeRef: React.MutableRefObject<number>;
|
|
435
|
+
cursorIndexRef: {
|
|
436
|
+
readonly current: number;
|
|
437
|
+
};
|
|
390
438
|
UNSTABLE_virtual: {
|
|
391
439
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
392
440
|
totalSize: number;
|
|
@@ -411,6 +459,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
411
459
|
cursorId: string;
|
|
412
460
|
columnCount: number;
|
|
413
461
|
pageSizeRef: React.MutableRefObject<number>;
|
|
462
|
+
cursorIndexRef: {
|
|
463
|
+
readonly current: number;
|
|
464
|
+
};
|
|
414
465
|
UNSTABLE_virtual: {
|
|
415
466
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
416
467
|
totalSize: number;
|
|
@@ -436,6 +487,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
436
487
|
cursorId: string;
|
|
437
488
|
columnCount: number;
|
|
438
489
|
pageSizeRef: React.MutableRefObject<number>;
|
|
490
|
+
cursorIndexRef: {
|
|
491
|
+
readonly current: number;
|
|
492
|
+
};
|
|
439
493
|
UNSTABLE_virtual: {
|
|
440
494
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
441
495
|
totalSize: number;
|
|
@@ -458,6 +512,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
458
512
|
cursorId: string;
|
|
459
513
|
columnCount: number;
|
|
460
514
|
pageSizeRef: React.MutableRefObject<number>;
|
|
515
|
+
cursorIndexRef: {
|
|
516
|
+
readonly current: number;
|
|
517
|
+
};
|
|
461
518
|
UNSTABLE_virtual: {
|
|
462
519
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
463
520
|
totalSize: number;
|
|
@@ -480,6 +537,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
480
537
|
cursorId: string;
|
|
481
538
|
columnCount: number;
|
|
482
539
|
pageSizeRef: React.MutableRefObject<number>;
|
|
540
|
+
cursorIndexRef: {
|
|
541
|
+
readonly current: number;
|
|
542
|
+
};
|
|
483
543
|
UNSTABLE_virtual: {
|
|
484
544
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
485
545
|
totalSize: number;
|
|
@@ -496,15 +556,17 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
496
556
|
isVirtualized: boolean;
|
|
497
557
|
items: import("./useBaseListModel").Item<any>[];
|
|
498
558
|
}) => boolean) | undefined;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
textValue: string;
|
|
559
|
+
shouldGoTo?: ((data: {
|
|
560
|
+
id: string;
|
|
502
561
|
}, state: {
|
|
503
562
|
selectedIds: string[] | "all";
|
|
504
563
|
unselectedIds: string[];
|
|
505
564
|
cursorId: string;
|
|
506
565
|
columnCount: number;
|
|
507
566
|
pageSizeRef: React.MutableRefObject<number>;
|
|
567
|
+
cursorIndexRef: {
|
|
568
|
+
readonly current: number;
|
|
569
|
+
};
|
|
508
570
|
UNSTABLE_virtual: {
|
|
509
571
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
510
572
|
totalSize: number;
|
|
@@ -521,14 +583,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
521
583
|
isVirtualized: boolean;
|
|
522
584
|
items: import("./useBaseListModel").Item<any>[];
|
|
523
585
|
}) => boolean) | undefined;
|
|
524
|
-
|
|
525
|
-
id: string;
|
|
526
|
-
}, state: {
|
|
586
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
527
587
|
selectedIds: string[] | "all";
|
|
528
588
|
unselectedIds: string[];
|
|
529
589
|
cursorId: string;
|
|
530
590
|
columnCount: number;
|
|
531
591
|
pageSizeRef: React.MutableRefObject<number>;
|
|
592
|
+
cursorIndexRef: {
|
|
593
|
+
readonly current: number;
|
|
594
|
+
};
|
|
532
595
|
UNSTABLE_virtual: {
|
|
533
596
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
534
597
|
totalSize: number;
|
|
@@ -545,12 +608,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
545
608
|
isVirtualized: boolean;
|
|
546
609
|
items: import("./useBaseListModel").Item<any>[];
|
|
547
610
|
}) => boolean) | undefined;
|
|
548
|
-
|
|
611
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
549
612
|
selectedIds: string[] | "all";
|
|
550
613
|
unselectedIds: string[];
|
|
551
614
|
cursorId: string;
|
|
552
615
|
columnCount: number;
|
|
553
616
|
pageSizeRef: React.MutableRefObject<number>;
|
|
617
|
+
cursorIndexRef: {
|
|
618
|
+
readonly current: number;
|
|
619
|
+
};
|
|
554
620
|
UNSTABLE_virtual: {
|
|
555
621
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
556
622
|
totalSize: number;
|
|
@@ -567,12 +633,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
567
633
|
isVirtualized: boolean;
|
|
568
634
|
items: import("./useBaseListModel").Item<any>[];
|
|
569
635
|
}) => boolean) | undefined;
|
|
570
|
-
|
|
636
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
571
637
|
selectedIds: string[] | "all";
|
|
572
638
|
unselectedIds: string[];
|
|
573
639
|
cursorId: string;
|
|
574
640
|
columnCount: number;
|
|
575
641
|
pageSizeRef: React.MutableRefObject<number>;
|
|
642
|
+
cursorIndexRef: {
|
|
643
|
+
readonly current: number;
|
|
644
|
+
};
|
|
576
645
|
UNSTABLE_virtual: {
|
|
577
646
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
578
647
|
totalSize: number;
|
|
@@ -589,12 +658,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
589
658
|
isVirtualized: boolean;
|
|
590
659
|
items: import("./useBaseListModel").Item<any>[];
|
|
591
660
|
}) => boolean) | undefined;
|
|
592
|
-
|
|
661
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
593
662
|
selectedIds: string[] | "all";
|
|
594
663
|
unselectedIds: string[];
|
|
595
664
|
cursorId: string;
|
|
596
665
|
columnCount: number;
|
|
597
666
|
pageSizeRef: React.MutableRefObject<number>;
|
|
667
|
+
cursorIndexRef: {
|
|
668
|
+
readonly current: number;
|
|
669
|
+
};
|
|
598
670
|
UNSTABLE_virtual: {
|
|
599
671
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
600
672
|
totalSize: number;
|
|
@@ -611,12 +683,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
611
683
|
isVirtualized: boolean;
|
|
612
684
|
items: import("./useBaseListModel").Item<any>[];
|
|
613
685
|
}) => boolean) | undefined;
|
|
614
|
-
|
|
686
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
615
687
|
selectedIds: string[] | "all";
|
|
616
688
|
unselectedIds: string[];
|
|
617
689
|
cursorId: string;
|
|
618
690
|
columnCount: number;
|
|
619
691
|
pageSizeRef: React.MutableRefObject<number>;
|
|
692
|
+
cursorIndexRef: {
|
|
693
|
+
readonly current: number;
|
|
694
|
+
};
|
|
620
695
|
UNSTABLE_virtual: {
|
|
621
696
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
622
697
|
totalSize: number;
|
|
@@ -633,12 +708,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
633
708
|
isVirtualized: boolean;
|
|
634
709
|
items: import("./useBaseListModel").Item<any>[];
|
|
635
710
|
}) => boolean) | undefined;
|
|
636
|
-
|
|
711
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
637
712
|
selectedIds: string[] | "all";
|
|
638
713
|
unselectedIds: string[];
|
|
639
714
|
cursorId: string;
|
|
640
715
|
columnCount: number;
|
|
641
716
|
pageSizeRef: React.MutableRefObject<number>;
|
|
717
|
+
cursorIndexRef: {
|
|
718
|
+
readonly current: number;
|
|
719
|
+
};
|
|
642
720
|
UNSTABLE_virtual: {
|
|
643
721
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
644
722
|
totalSize: number;
|
|
@@ -655,12 +733,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
655
733
|
isVirtualized: boolean;
|
|
656
734
|
items: import("./useBaseListModel").Item<any>[];
|
|
657
735
|
}) => boolean) | undefined;
|
|
658
|
-
|
|
736
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
659
737
|
selectedIds: string[] | "all";
|
|
660
738
|
unselectedIds: string[];
|
|
661
739
|
cursorId: string;
|
|
662
740
|
columnCount: number;
|
|
663
741
|
pageSizeRef: React.MutableRefObject<number>;
|
|
742
|
+
cursorIndexRef: {
|
|
743
|
+
readonly current: number;
|
|
744
|
+
};
|
|
664
745
|
UNSTABLE_virtual: {
|
|
665
746
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
666
747
|
totalSize: number;
|
|
@@ -677,12 +758,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
677
758
|
isVirtualized: boolean;
|
|
678
759
|
items: import("./useBaseListModel").Item<any>[];
|
|
679
760
|
}) => boolean) | undefined;
|
|
680
|
-
|
|
761
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
681
762
|
selectedIds: string[] | "all";
|
|
682
763
|
unselectedIds: string[];
|
|
683
764
|
cursorId: string;
|
|
684
765
|
columnCount: number;
|
|
685
766
|
pageSizeRef: React.MutableRefObject<number>;
|
|
767
|
+
cursorIndexRef: {
|
|
768
|
+
readonly current: number;
|
|
769
|
+
};
|
|
686
770
|
UNSTABLE_virtual: {
|
|
687
771
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
688
772
|
totalSize: number;
|
|
@@ -699,12 +783,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
699
783
|
isVirtualized: boolean;
|
|
700
784
|
items: import("./useBaseListModel").Item<any>[];
|
|
701
785
|
}) => boolean) | undefined;
|
|
702
|
-
|
|
786
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
703
787
|
selectedIds: string[] | "all";
|
|
704
788
|
unselectedIds: string[];
|
|
705
789
|
cursorId: string;
|
|
706
790
|
columnCount: number;
|
|
707
791
|
pageSizeRef: React.MutableRefObject<number>;
|
|
792
|
+
cursorIndexRef: {
|
|
793
|
+
readonly current: number;
|
|
794
|
+
};
|
|
708
795
|
UNSTABLE_virtual: {
|
|
709
796
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
710
797
|
totalSize: number;
|
|
@@ -721,12 +808,15 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
721
808
|
isVirtualized: boolean;
|
|
722
809
|
items: import("./useBaseListModel").Item<any>[];
|
|
723
810
|
}) => boolean) | undefined;
|
|
724
|
-
|
|
811
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
725
812
|
selectedIds: string[] | "all";
|
|
726
813
|
unselectedIds: string[];
|
|
727
814
|
cursorId: string;
|
|
728
815
|
columnCount: number;
|
|
729
816
|
pageSizeRef: React.MutableRefObject<number>;
|
|
817
|
+
cursorIndexRef: {
|
|
818
|
+
readonly current: number;
|
|
819
|
+
};
|
|
730
820
|
UNSTABLE_virtual: {
|
|
731
821
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
732
822
|
totalSize: number;
|
|
@@ -743,12 +833,18 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
743
833
|
isVirtualized: boolean;
|
|
744
834
|
items: import("./useBaseListModel").Item<any>[];
|
|
745
835
|
}) => boolean) | undefined;
|
|
746
|
-
|
|
836
|
+
shouldRegisterItem?: ((data: {
|
|
837
|
+
item: any;
|
|
838
|
+
textValue: string;
|
|
839
|
+
}, state: {
|
|
747
840
|
selectedIds: string[] | "all";
|
|
748
841
|
unselectedIds: string[];
|
|
749
842
|
cursorId: string;
|
|
750
843
|
columnCount: number;
|
|
751
844
|
pageSizeRef: React.MutableRefObject<number>;
|
|
845
|
+
cursorIndexRef: {
|
|
846
|
+
readonly current: number;
|
|
847
|
+
};
|
|
752
848
|
UNSTABLE_virtual: {
|
|
753
849
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
754
850
|
totalSize: number;
|
|
@@ -773,6 +869,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
773
869
|
cursorId: string;
|
|
774
870
|
columnCount: number;
|
|
775
871
|
pageSizeRef: React.MutableRefObject<number>;
|
|
872
|
+
cursorIndexRef: {
|
|
873
|
+
readonly current: number;
|
|
874
|
+
};
|
|
776
875
|
UNSTABLE_virtual: {
|
|
777
876
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
778
877
|
totalSize: number;
|
|
@@ -797,6 +896,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
797
896
|
cursorId: string;
|
|
798
897
|
columnCount: number;
|
|
799
898
|
pageSizeRef: React.MutableRefObject<number>;
|
|
899
|
+
cursorIndexRef: {
|
|
900
|
+
readonly current: number;
|
|
901
|
+
};
|
|
800
902
|
UNSTABLE_virtual: {
|
|
801
903
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
802
904
|
totalSize: number;
|
|
@@ -820,6 +922,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
820
922
|
cursorId: string;
|
|
821
923
|
columnCount: number;
|
|
822
924
|
pageSizeRef: React.MutableRefObject<number>;
|
|
925
|
+
cursorIndexRef: {
|
|
926
|
+
readonly current: number;
|
|
927
|
+
};
|
|
823
928
|
UNSTABLE_virtual: {
|
|
824
929
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
825
930
|
totalSize: number;
|
|
@@ -850,10 +955,6 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
850
955
|
* Unselect all items.
|
|
851
956
|
*/
|
|
852
957
|
unselectAll(): void;
|
|
853
|
-
registerItem(data: {
|
|
854
|
-
item: any;
|
|
855
|
-
textValue: string;
|
|
856
|
-
}): void;
|
|
857
958
|
goTo(data: {
|
|
858
959
|
id: string;
|
|
859
960
|
}): void;
|
|
@@ -867,6 +968,10 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
867
968
|
goToLastOfRow(): void;
|
|
868
969
|
goToNextPage(): void;
|
|
869
970
|
goToPreviousPage(): void;
|
|
971
|
+
registerItem(data: {
|
|
972
|
+
item: any;
|
|
973
|
+
textValue: string;
|
|
974
|
+
}): void;
|
|
870
975
|
unregisterItem(data: {
|
|
871
976
|
id: string;
|
|
872
977
|
}): void;
|
|
@@ -899,6 +1004,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
899
1004
|
cursorId: string;
|
|
900
1005
|
columnCount: number;
|
|
901
1006
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1007
|
+
cursorIndexRef: {
|
|
1008
|
+
readonly current: number;
|
|
1009
|
+
};
|
|
902
1010
|
UNSTABLE_virtual: {
|
|
903
1011
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
904
1012
|
totalSize: number;
|
|
@@ -928,10 +1036,6 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
928
1036
|
* Unselect all items.
|
|
929
1037
|
*/
|
|
930
1038
|
unselectAll(): void;
|
|
931
|
-
registerItem(data: {
|
|
932
|
-
item: any;
|
|
933
|
-
textValue: string;
|
|
934
|
-
}): void;
|
|
935
1039
|
goTo(data: {
|
|
936
1040
|
id: string;
|
|
937
1041
|
}): void;
|
|
@@ -945,6 +1049,10 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
945
1049
|
goToLastOfRow(): void;
|
|
946
1050
|
goToNextPage(): void;
|
|
947
1051
|
goToPreviousPage(): void;
|
|
1052
|
+
registerItem(data: {
|
|
1053
|
+
item: any;
|
|
1054
|
+
textValue: string;
|
|
1055
|
+
}): void;
|
|
948
1056
|
unregisterItem(data: {
|
|
949
1057
|
id: string;
|
|
950
1058
|
}): void;
|
|
@@ -958,6 +1066,9 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
958
1066
|
cursorId: string;
|
|
959
1067
|
columnCount: number;
|
|
960
1068
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1069
|
+
cursorIndexRef: {
|
|
1070
|
+
readonly current: number;
|
|
1071
|
+
};
|
|
961
1072
|
UNSTABLE_virtual: {
|
|
962
1073
|
virtualItems: import("./react-virtual").VirtualItem[];
|
|
963
1074
|
totalSize: number;
|
|
@@ -988,10 +1099,6 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
988
1099
|
* Unselect all items.
|
|
989
1100
|
*/
|
|
990
1101
|
unselectAll(): void;
|
|
991
|
-
registerItem(data: {
|
|
992
|
-
item: any;
|
|
993
|
-
textValue: string;
|
|
994
|
-
}): void;
|
|
995
1102
|
goTo(data: {
|
|
996
1103
|
id: string;
|
|
997
1104
|
}): void;
|
|
@@ -1005,6 +1112,10 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
1005
1112
|
goToLastOfRow(): void;
|
|
1006
1113
|
goToNextPage(): void;
|
|
1007
1114
|
goToPreviousPage(): void;
|
|
1115
|
+
registerItem(data: {
|
|
1116
|
+
item: any;
|
|
1117
|
+
textValue: string;
|
|
1118
|
+
}): void;
|
|
1008
1119
|
unregisterItem(data: {
|
|
1009
1120
|
id: string;
|
|
1010
1121
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSelectionListModel.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useSelectionListModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,oBAAY,WAAW,GAAG,KAAK,GAAG,MAAM,EAAE,CAAC;AAE3C,oBAAY,SAAS,GAAG;IACtB,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,SAAS,CAAC;CACrD;AAED,eAAO,MAAM,UAAU,OAAQ,MAAM,kCAAgC,SAAS,YAK7E,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,gBAIpC,CAAC;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