@infinite-table/infinite-react 6.2.11 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.css +1 -1
- package/index.d.ts +761 -558
- package/index.dev.js +976 -247
- package/index.dev.mjs +973 -244
- package/index.js +13 -9
- package/index.mjs +13 -9
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -41,6 +41,12 @@ declare const debug: {
|
|
|
41
41
|
diffenable: string | boolean;
|
|
42
42
|
logFn: DebugLogger['logFn'];
|
|
43
43
|
destroyAll: () => void;
|
|
44
|
+
onLogIntent: (channel: string, fn: (options: {
|
|
45
|
+
timestamp: number;
|
|
46
|
+
channel: string;
|
|
47
|
+
color: string;
|
|
48
|
+
args: any[];
|
|
49
|
+
}) => void) => VoidFunction;
|
|
44
50
|
};
|
|
45
51
|
|
|
46
52
|
interface LogFn {
|
|
@@ -69,16 +75,25 @@ type RenderRange = {
|
|
|
69
75
|
renderEndIndex: number;
|
|
70
76
|
};
|
|
71
77
|
|
|
72
|
-
type Renderable = React$1.ReactNode | React$1.JSX.Element;
|
|
73
|
-
|
|
74
78
|
type VoidFn$1 = () => void;
|
|
79
|
+
|
|
80
|
+
type SubscriptionCallbackOnChangeFn<T> = (node: T | null) => void;
|
|
81
|
+
interface SubscriptionCallback<T> {
|
|
82
|
+
(node: T, callback?: () => void): void;
|
|
83
|
+
get: () => T | null;
|
|
84
|
+
destroy: VoidFn$1;
|
|
85
|
+
onChange: (fn: SubscriptionCallbackOnChangeFn<T>) => VoidFn$1;
|
|
86
|
+
getListenersCount: () => number;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
type VoidFn = () => void;
|
|
75
90
|
type Pair<KeyType, ValueType> = {
|
|
76
91
|
value?: ValueType;
|
|
77
92
|
map?: Map<KeyType, Pair<KeyType, ValueType>>;
|
|
78
93
|
length: number;
|
|
79
94
|
revision?: number;
|
|
80
95
|
};
|
|
81
|
-
type DeepMapVisitFn<KeyType, ValueType, ReturnType = void> = (pair: Pair<KeyType, ValueType>, keys: KeyType[], next: VoidFn
|
|
96
|
+
type DeepMapVisitFn<KeyType, ValueType, ReturnType = void> = (pair: Pair<KeyType, ValueType>, keys: KeyType[], next: VoidFn) => ReturnType;
|
|
82
97
|
declare class DeepMap<KeyType, ValueType> {
|
|
83
98
|
private map;
|
|
84
99
|
private length;
|
|
@@ -105,8 +120,8 @@ declare class DeepMap<KeyType, ValueType> {
|
|
|
105
120
|
has(keys: KeyType[]): boolean;
|
|
106
121
|
private visitKey;
|
|
107
122
|
visit: (fn: DeepMapVisitFn<KeyType, ValueType>) => void;
|
|
108
|
-
visitSome: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn
|
|
109
|
-
visitDepthFirst: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn
|
|
123
|
+
visitSome: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn) => boolean) => void;
|
|
124
|
+
visitDepthFirst: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn) => void) => void;
|
|
110
125
|
private visitWithNext;
|
|
111
126
|
private getArray;
|
|
112
127
|
rawKeysAt(keys: KeyType[]): KeyType[];
|
|
@@ -120,7 +135,216 @@ declare class DeepMap<KeyType, ValueType> {
|
|
|
120
135
|
private sortedIterator;
|
|
121
136
|
}
|
|
122
137
|
|
|
123
|
-
type
|
|
138
|
+
type NodePath$1<PRIMARY_KEY_TYPE = any> = PRIMARY_KEY_TYPE[];
|
|
139
|
+
type TreeExpandStateObject_ByPath<PRIMARY_KEY_TYPE = any> = {
|
|
140
|
+
expandedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
141
|
+
collapsedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
142
|
+
defaultExpanded: boolean;
|
|
143
|
+
collapsedIds?: never;
|
|
144
|
+
expandedIds?: never;
|
|
145
|
+
} | {
|
|
146
|
+
defaultExpanded: true;
|
|
147
|
+
collapsedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
148
|
+
expandedPaths?: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
149
|
+
collapsedIds?: never;
|
|
150
|
+
expandedIds?: never;
|
|
151
|
+
} | {
|
|
152
|
+
defaultExpanded: false;
|
|
153
|
+
collapsedPaths?: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
154
|
+
expandedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
155
|
+
collapsedIds?: never;
|
|
156
|
+
expandedIds?: never;
|
|
157
|
+
};
|
|
158
|
+
type TreeExpandStateObject_ById<PRIMARY_KEY_TYPE = any> = {
|
|
159
|
+
defaultExpanded: boolean;
|
|
160
|
+
expandedIds: PRIMARY_KEY_TYPE[];
|
|
161
|
+
collapsedIds: PRIMARY_KEY_TYPE[];
|
|
162
|
+
expandedPaths?: never;
|
|
163
|
+
collapsedPaths?: never;
|
|
164
|
+
} | {
|
|
165
|
+
defaultExpanded: true;
|
|
166
|
+
collapsedIds: PRIMARY_KEY_TYPE[];
|
|
167
|
+
expandedIds?: PRIMARY_KEY_TYPE[];
|
|
168
|
+
expandedPaths?: never;
|
|
169
|
+
collapsedPaths?: never;
|
|
170
|
+
} | {
|
|
171
|
+
defaultExpanded: false;
|
|
172
|
+
collapsedIds?: PRIMARY_KEY_TYPE[];
|
|
173
|
+
expandedIds: PRIMARY_KEY_TYPE[];
|
|
174
|
+
expandedPaths?: never;
|
|
175
|
+
collapsedPaths?: never;
|
|
176
|
+
};
|
|
177
|
+
type TreeExpandStateObject<PRIMARY_KEY_TYPE = any> = TreeExpandStateObject_ByPath<PRIMARY_KEY_TYPE> | TreeExpandStateObject_ById<PRIMARY_KEY_TYPE>;
|
|
178
|
+
type TreeExpandStateMode = 'id' | 'path';
|
|
179
|
+
declare class TreeExpandState<PRIMARY_KEY_TYPE = any> {
|
|
180
|
+
collapsedPathsMap: DeepMap<PRIMARY_KEY_TYPE, true>;
|
|
181
|
+
expandedPathsMap: DeepMap<PRIMARY_KEY_TYPE, true>;
|
|
182
|
+
collapsedIdsMap: Map<PRIMARY_KEY_TYPE, true>;
|
|
183
|
+
expandedIdsMap: Map<PRIMARY_KEY_TYPE, true>;
|
|
184
|
+
private _mode;
|
|
185
|
+
get mode(): TreeExpandStateMode;
|
|
186
|
+
defaultExpanded: boolean;
|
|
187
|
+
constructor(clone?: TreeExpandStateObject | TreeExpandState);
|
|
188
|
+
reset(): void;
|
|
189
|
+
destroy(): void;
|
|
190
|
+
expandAll: () => void;
|
|
191
|
+
collapseAll: () => void;
|
|
192
|
+
expandNode(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>): void;
|
|
193
|
+
collapseNode(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>): void;
|
|
194
|
+
setNodeExpanded(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>, expanded: boolean): void;
|
|
195
|
+
isNodeExpandedByPath(nodePath: NodePath$1<PRIMARY_KEY_TYPE>): boolean;
|
|
196
|
+
isNodeExpandedById(id: PRIMARY_KEY_TYPE): boolean;
|
|
197
|
+
isNodeExpanded(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>): boolean;
|
|
198
|
+
update(stateObject: TreeExpandStateObject): void;
|
|
199
|
+
getState(): TreeExpandStateObject;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
type DataSourceMutation<T> = {
|
|
203
|
+
type: 'delete';
|
|
204
|
+
primaryKey: any;
|
|
205
|
+
nodePath?: never;
|
|
206
|
+
originalData: T;
|
|
207
|
+
metadata: any;
|
|
208
|
+
} | {
|
|
209
|
+
type: 'delete';
|
|
210
|
+
primaryKey?: never;
|
|
211
|
+
nodePath: NodePath$1;
|
|
212
|
+
originalData: T;
|
|
213
|
+
metadata: any;
|
|
214
|
+
} | {
|
|
215
|
+
type: 'update';
|
|
216
|
+
primaryKey: any;
|
|
217
|
+
nodePath?: never;
|
|
218
|
+
data: Partial<T>;
|
|
219
|
+
originalData: T;
|
|
220
|
+
metadata: any;
|
|
221
|
+
} | {
|
|
222
|
+
type: 'update';
|
|
223
|
+
primaryKey?: never;
|
|
224
|
+
nodePath: NodePath$1;
|
|
225
|
+
data: Partial<T>;
|
|
226
|
+
originalData: T;
|
|
227
|
+
metadata: any;
|
|
228
|
+
} | {
|
|
229
|
+
type: 'update-children';
|
|
230
|
+
primaryKey?: never;
|
|
231
|
+
nodePath: NodePath$1;
|
|
232
|
+
children: UpdateChildrenFn<T>;
|
|
233
|
+
originalData: T;
|
|
234
|
+
metadata: any;
|
|
235
|
+
} | {
|
|
236
|
+
type: 'insert';
|
|
237
|
+
primaryKey: any;
|
|
238
|
+
nodePath?: never;
|
|
239
|
+
position: 'before' | 'after';
|
|
240
|
+
originalData: null;
|
|
241
|
+
data: T;
|
|
242
|
+
metadata: any;
|
|
243
|
+
} | {
|
|
244
|
+
type: 'insert';
|
|
245
|
+
primaryKey?: never;
|
|
246
|
+
nodePath: NodePath$1;
|
|
247
|
+
position: 'before' | 'after';
|
|
248
|
+
originalData: null;
|
|
249
|
+
data: T;
|
|
250
|
+
metadata: any;
|
|
251
|
+
} | {
|
|
252
|
+
type: 'clear-all';
|
|
253
|
+
primaryKey: undefined;
|
|
254
|
+
metadata: any;
|
|
255
|
+
};
|
|
256
|
+
declare class DataSourceCache<DataType, PrimaryKeyType = string> {
|
|
257
|
+
private affectedFields;
|
|
258
|
+
private allFieldsAffected;
|
|
259
|
+
private nodesKey;
|
|
260
|
+
private primaryKeyToData;
|
|
261
|
+
private nodePathToData;
|
|
262
|
+
constructor(options: {
|
|
263
|
+
nodesKey: string | undefined;
|
|
264
|
+
});
|
|
265
|
+
static clone<DataType, PrimaryKeyType = string>(cache: DataSourceCache<DataType, PrimaryKeyType>, { light }?: {
|
|
266
|
+
light?: boolean;
|
|
267
|
+
}): DataSourceCache<DataType, PrimaryKeyType>;
|
|
268
|
+
getAffectedFields: () => true | Set<keyof DataType>;
|
|
269
|
+
delete: (primaryKey: PrimaryKeyType, originalData: DataType, metadata: any) => void;
|
|
270
|
+
deleteNodePath: (nodePath: NodePath$1<any>, originalData: DataType, metadata: any) => void;
|
|
271
|
+
insert: (primaryKey: PrimaryKeyType, data: DataType, position: 'before' | 'after', metadata: any) => void;
|
|
272
|
+
insertNodePath: (nodePath: NodePath$1<any>, data: DataType, position: 'before' | 'after', metadata: any) => void;
|
|
273
|
+
update: (primaryKey: PrimaryKeyType, data: Partial<DataType>, originalData: DataType, metadata: any) => void;
|
|
274
|
+
updateNodePath: (nodePath: NodePath$1<any>, data: Partial<DataType>, originalData: DataType, metadata: any) => void;
|
|
275
|
+
updateChildren: (nodePath: NodePath$1<any>, children: UpdateChildrenFn<DataType>, originalData: DataType, metadata: any) => void;
|
|
276
|
+
resetDataSource: (metadata: any) => void;
|
|
277
|
+
shouldResetDataSource: () => boolean;
|
|
278
|
+
clear: () => void;
|
|
279
|
+
isEmpty: () => boolean;
|
|
280
|
+
removeInfo: (primaryKey: PrimaryKeyType) => void;
|
|
281
|
+
removeNodePathInfo: (nodePath: NodePath$1<any>) => void;
|
|
282
|
+
getMutationsForPrimaryKey: (primaryKey: PrimaryKeyType) => DataSourceMutation<DataType>[] | undefined;
|
|
283
|
+
getMutationsForNodePath: (nodePath: NodePath$1<any>) => DataSourceMutation<DataType>[] | undefined;
|
|
284
|
+
getMutationsCount: () => number;
|
|
285
|
+
getMutations: () => Map<PrimaryKeyType, DataSourceMutation<DataType>[]>;
|
|
286
|
+
getTreeMutations: () => DeepMap<NodePath$1<any>, DataSourceMutation<DataType>[]>;
|
|
287
|
+
getMutationsArray: () => DataSourceMutation<DataType>[];
|
|
288
|
+
getTreeMutationsArray: () => DataSourceMutation<DataType>[];
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
type ForwardPropsToStateFnResult<TYPE_PROPS, TYPE_RESULT, COMPONENT_SETUP_STATE> = {
|
|
292
|
+
[propName in keyof TYPE_PROPS & keyof TYPE_RESULT]: 1 | ((value: TYPE_PROPS[propName], setupState: COMPONENT_SETUP_STATE) => TYPE_RESULT[propName]);
|
|
293
|
+
};
|
|
294
|
+
type ComponentStateRootConfig<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT_SETUP_STATE = {}, COMPONENT_DERIVED_STATE = {}, T_ACTIONS = {}, T_PARENT_STATE = {}> = {
|
|
295
|
+
debugName?: string | ((props: T_PROPS) => string);
|
|
296
|
+
initSetupState?: (props: T_PROPS) => COMPONENT_SETUP_STATE;
|
|
297
|
+
layoutEffect?: boolean;
|
|
298
|
+
forwardProps?: (setupState: COMPONENT_SETUP_STATE, props: T_PROPS) => ForwardPropsToStateFnResult<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT_SETUP_STATE>;
|
|
299
|
+
allowedControlledPropOverrides?: Record<keyof T_PROPS, true>;
|
|
300
|
+
interceptActions?: ComponentInterceptedActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>;
|
|
301
|
+
mappedCallbacks?: ComponentMappedCallbacks<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>;
|
|
302
|
+
onPropChange?: (params: {
|
|
303
|
+
name: keyof T_PROPS;
|
|
304
|
+
oldValue: any;
|
|
305
|
+
newValue: any;
|
|
306
|
+
}, props: T_PROPS, actions: ComponentStateActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>, state: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & Partial<COMPONENT_DERIVED_STATE>) => void;
|
|
307
|
+
onPropsChange?: (newPropValues: {
|
|
308
|
+
[k in keyof T_PROPS]?: {
|
|
309
|
+
newValue: T_PROPS[k];
|
|
310
|
+
oldValue: T_PROPS[k];
|
|
311
|
+
};
|
|
312
|
+
}, props: T_PROPS, actions: ComponentStateActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>, state: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & Partial<COMPONENT_DERIVED_STATE>) => void;
|
|
313
|
+
mapPropsToState?: (params: {
|
|
314
|
+
props: T_PROPS;
|
|
315
|
+
state: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & Partial<COMPONENT_DERIVED_STATE>;
|
|
316
|
+
oldState: null | (COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & Partial<COMPONENT_DERIVED_STATE>);
|
|
317
|
+
parentState: T_PARENT_STATE | null;
|
|
318
|
+
}) => COMPONENT_DERIVED_STATE;
|
|
319
|
+
concludeReducer?: (params: {
|
|
320
|
+
previousState: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & COMPONENT_DERIVED_STATE;
|
|
321
|
+
state: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & COMPONENT_DERIVED_STATE;
|
|
322
|
+
updatedProps: Partial<T_PROPS> | null;
|
|
323
|
+
parentState: T_PARENT_STATE | null;
|
|
324
|
+
}) => COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & COMPONENT_DERIVED_STATE;
|
|
325
|
+
getReducerActions?: (dispatch: React$1.Dispatch<any>) => T_ACTIONS;
|
|
326
|
+
getParentState?: () => T_PARENT_STATE;
|
|
327
|
+
cleanup?: (state: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & COMPONENT_DERIVED_STATE) => void;
|
|
328
|
+
onControlledPropertyChange?: (name: string, newValue: any, oldValue: any) => void | ((value: any, oldValue: any) => any);
|
|
329
|
+
};
|
|
330
|
+
declare function buildManagedComponent<T_PROPS extends object, COMPONENT_MAPPED_STATE extends object, COMPONENT_SETUP_STATE extends object = {}, COMPONENT_DERIVED_STATE extends object = {}, T_ACTIONS = {}, T_PARENT_STATE = {}>(config: ComponentStateRootConfig<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT_SETUP_STATE, COMPONENT_DERIVED_STATE, T_ACTIONS, T_PARENT_STATE>): {
|
|
331
|
+
ManagedComponentContextProvider: React$1.NamedExoticComponent<T_PROPS & {
|
|
332
|
+
children: React$1.ReactNode;
|
|
333
|
+
}>;
|
|
334
|
+
useManagedComponent: (props: T_PROPS) => {
|
|
335
|
+
contextValue: {
|
|
336
|
+
componentState: COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE;
|
|
337
|
+
componentActions: ComponentStateGeneratedActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>;
|
|
338
|
+
getComponentState: () => COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE;
|
|
339
|
+
replaceState: (newState: COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE) => void;
|
|
340
|
+
assignState: (newState: Partial<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>) => void;
|
|
341
|
+
};
|
|
342
|
+
ContextComponent: React$1.Context<ManagedComponentStateContextValue<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE, ComponentStateGeneratedActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>>>;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
declare function useManagedComponentState<COMPONENT_STATE>(): ManagedComponentStateContextValue<COMPONENT_STATE, ComponentStateGeneratedActions<COMPONENT_STATE>>;
|
|
346
|
+
|
|
347
|
+
type Renderable = React$1.ReactNode | React$1.JSX.Element;
|
|
124
348
|
|
|
125
349
|
type TableRenderRange = {
|
|
126
350
|
start: [number, number];
|
|
@@ -432,378 +656,114 @@ declare class MatrixBrain extends Logger implements IBrain {
|
|
|
432
656
|
private getCellSpan;
|
|
433
657
|
getRowspan: (rowIndex: number, colIndex: number) => number;
|
|
434
658
|
getColspan: (rowIndex: number, colIndex: number) => number;
|
|
435
|
-
getRowspanParent: (rowIndex: number, colIndex: number) => number;
|
|
436
|
-
getColspanParent: (rowIndex: number, colIndex: number) => number;
|
|
437
|
-
getItemSpanParent: (rowIndex: number, colIndex: number, direction: 'horizontal' | 'vertical') => number;
|
|
438
|
-
getRowHeightWithSpan: (rowIndex: number, colIndex: number, rowspan: number) => number;
|
|
439
|
-
getColWidthWithSpan: (rowIndex: number, colIndex: number, colspan: number) => number;
|
|
440
|
-
private getItemSizeWithSpan;
|
|
441
|
-
getRowHeight: (rowIndex: number) => number;
|
|
442
|
-
getColWidth: (colIndex: number) => number;
|
|
443
|
-
/**
|
|
444
|
-
* For now, this doesn't take into account the row/colspan, and it's okay not to
|
|
445
|
-
* @param itemIndex
|
|
446
|
-
* @returns the size of the specified item
|
|
447
|
-
*/
|
|
448
|
-
getItemSize: (itemIndex: number, direction: 'horizontal' | 'vertical') => number;
|
|
449
|
-
getRowIndexInPage(rowIndex: number): number;
|
|
450
|
-
getPageIndexForRow(_rowIndex: number): number;
|
|
451
|
-
getVirtualizedContentSize(): {
|
|
452
|
-
height: number;
|
|
453
|
-
width: number;
|
|
454
|
-
};
|
|
455
|
-
getVirtualizedContentSizeFor(direction: 'horizontal' | 'vertical'): number;
|
|
456
|
-
keepColumnRendered: (colIndex: number) => () => void;
|
|
457
|
-
getAlwaysRenderedColumns: () => number[];
|
|
458
|
-
setRenderRange: ({ horizontal, vertical, extraCells, }: {
|
|
459
|
-
horizontal: RenderRangeType;
|
|
460
|
-
vertical: RenderRangeType;
|
|
461
|
-
extraCells?: [number, number][] | undefined;
|
|
462
|
-
}) => void;
|
|
463
|
-
getRenderRangeCellCount: (range: TableRenderRange) => number;
|
|
464
|
-
getMaxCellCount: () => number;
|
|
465
|
-
getExtraCells: () => [
|
|
466
|
-
number,
|
|
467
|
-
number
|
|
468
|
-
][];
|
|
469
|
-
getScrollPosition: () => ScrollPosition;
|
|
470
|
-
getRenderRange: () => TableRenderRange;
|
|
471
|
-
onScroll: (fn: OnScrollFn) => () => void;
|
|
472
|
-
onScrollStart: (fn: VoidFunction) => () => void;
|
|
473
|
-
onScrollStop: (fn: (scrollPos: ScrollPosition) => void) => () => void;
|
|
474
|
-
onRenderRangeChange: (fn: FnOnRenderRangeChange) => () => void;
|
|
475
|
-
onVerticalRenderRangeChange: (fn: FnOnDirectionalRenderRangeChange) => () => void;
|
|
476
|
-
onHorizontalRenderRangeChange: (fn: FnOnDirectionalRenderRangeChange) => () => void;
|
|
477
|
-
onRenderCountChange: (fn: FnOnRenderCountChange) => () => void;
|
|
478
|
-
onAvailableSizeChange: (fn: OnAvailableSizeChange) => () => void;
|
|
479
|
-
onDestroy: (fn: VoidFn) => () => void;
|
|
480
|
-
getAvailableSize: () => {
|
|
481
|
-
width: number;
|
|
482
|
-
height: number;
|
|
483
|
-
};
|
|
484
|
-
protected getAvailableRenderSize: () => {
|
|
485
|
-
width: number;
|
|
486
|
-
height: number;
|
|
487
|
-
};
|
|
488
|
-
private notifyDestroy;
|
|
489
|
-
destroy(): void;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
type CellSelectionPosition<ROW_PRIMARY_KEY_TYPE = any, COL_ID = string> = [ROW_PRIMARY_KEY_TYPE, COL_ID];
|
|
493
|
-
type CellSelectionStateObject = {
|
|
494
|
-
selectedCells: CellSelectionPosition[];
|
|
495
|
-
deselectedCells: CellSelectionPosition[];
|
|
496
|
-
defaultSelection: boolean;
|
|
497
|
-
} | {
|
|
498
|
-
defaultSelection: true;
|
|
499
|
-
deselectedCells: CellSelectionPosition[];
|
|
500
|
-
selectedCells?: CellSelectionPosition[];
|
|
501
|
-
} | {
|
|
502
|
-
defaultSelection: false;
|
|
503
|
-
selectedCells: CellSelectionPosition[];
|
|
504
|
-
deselectedCells?: CellSelectionPosition[];
|
|
505
|
-
};
|
|
506
|
-
declare class CellSelectionState {
|
|
507
|
-
wildcard: string;
|
|
508
|
-
cache: DeepMap<any, boolean>;
|
|
509
|
-
selectedRowsToColumns: Map<any, Set<string>>;
|
|
510
|
-
selectedColumnsToRows: Map<string, Set<any>>;
|
|
511
|
-
deselectedRowsToColumns: Map<any, Set<string>>;
|
|
512
|
-
deselectedColumnsToRows: Map<string, Set<any>>;
|
|
513
|
-
defaultSelection: boolean;
|
|
514
|
-
constructor(clone?: CellSelectionStateObject | CellSelectionState);
|
|
515
|
-
deselectAll: () => void;
|
|
516
|
-
selectAll: () => void;
|
|
517
|
-
selectCell(rowId: any, colId: string): void;
|
|
518
|
-
deselectCell(rowId: any, colId: string): void;
|
|
519
|
-
selectColumn(colId: string): void;
|
|
520
|
-
deselectColumn(colId: string): void;
|
|
521
|
-
setCellSelected(rowId: any, colId: string, selected: boolean): void;
|
|
522
|
-
private setCellInDeselection;
|
|
523
|
-
private setCellInSelection;
|
|
524
|
-
update(stateObject: CellSelectionStateObject): void;
|
|
525
|
-
/**
|
|
526
|
-
* Returns whether there is at least one selected cell in the row
|
|
527
|
-
*
|
|
528
|
-
* @param rowId the row id
|
|
529
|
-
* @param columnIds the columns currently available in the grid
|
|
530
|
-
* @returns boolean
|
|
531
|
-
*/
|
|
532
|
-
isCellSelectionInRow(rowId: any, columnIds: string[]): boolean;
|
|
533
|
-
isCellSelected(rowId: any, colId: string): boolean;
|
|
534
|
-
private isCellSelected_Internal;
|
|
535
|
-
getState(): CellSelectionStateObject;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
type PointCoords = {
|
|
539
|
-
top: number;
|
|
540
|
-
left: number;
|
|
541
|
-
};
|
|
542
|
-
|
|
543
|
-
type ForwardPropsToStateFnResult<TYPE_PROPS, TYPE_RESULT, COMPONENT_SETUP_STATE> = {
|
|
544
|
-
[propName in keyof TYPE_PROPS & keyof TYPE_RESULT]: 1 | ((value: TYPE_PROPS[propName], setupState: COMPONENT_SETUP_STATE) => TYPE_RESULT[propName]);
|
|
545
|
-
};
|
|
546
|
-
type ComponentStateRootConfig<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT_SETUP_STATE = {}, COMPONENT_DERIVED_STATE = {}, T_ACTIONS = {}, T_PARENT_STATE = {}> = {
|
|
547
|
-
debugName?: string;
|
|
548
|
-
initSetupState?: (props: T_PROPS) => COMPONENT_SETUP_STATE;
|
|
549
|
-
layoutEffect?: boolean;
|
|
550
|
-
forwardProps?: (setupState: COMPONENT_SETUP_STATE, props: T_PROPS) => ForwardPropsToStateFnResult<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT_SETUP_STATE>;
|
|
551
|
-
allowedControlledPropOverrides?: Record<keyof T_PROPS, true>;
|
|
552
|
-
interceptActions?: ComponentInterceptedActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>;
|
|
553
|
-
mappedCallbacks?: ComponentMappedCallbacks<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>;
|
|
554
|
-
onPropChange?: (params: {
|
|
555
|
-
name: keyof T_PROPS;
|
|
556
|
-
oldValue: any;
|
|
557
|
-
newValue: any;
|
|
558
|
-
}, props: T_PROPS, actions: ComponentStateActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>, state: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & Partial<COMPONENT_DERIVED_STATE>) => void;
|
|
559
|
-
onPropsChange?: (newPropValues: {
|
|
560
|
-
[k in keyof T_PROPS]?: {
|
|
561
|
-
newValue: T_PROPS[k];
|
|
562
|
-
oldValue: T_PROPS[k];
|
|
563
|
-
};
|
|
564
|
-
}, props: T_PROPS, actions: ComponentStateActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>, state: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & Partial<COMPONENT_DERIVED_STATE>) => void;
|
|
565
|
-
mapPropsToState?: (params: {
|
|
566
|
-
props: T_PROPS;
|
|
567
|
-
state: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & Partial<COMPONENT_DERIVED_STATE>;
|
|
568
|
-
oldState: null | (COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & Partial<COMPONENT_DERIVED_STATE>);
|
|
569
|
-
parentState: T_PARENT_STATE | null;
|
|
570
|
-
}) => COMPONENT_DERIVED_STATE;
|
|
571
|
-
concludeReducer?: (params: {
|
|
572
|
-
previousState: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & COMPONENT_DERIVED_STATE;
|
|
573
|
-
state: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & COMPONENT_DERIVED_STATE;
|
|
574
|
-
updatedProps: Partial<T_PROPS> | null;
|
|
575
|
-
parentState: T_PARENT_STATE | null;
|
|
576
|
-
}) => COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & COMPONENT_DERIVED_STATE;
|
|
577
|
-
getReducerActions?: (dispatch: React$1.Dispatch<any>) => T_ACTIONS;
|
|
578
|
-
getParentState?: () => T_PARENT_STATE;
|
|
579
|
-
cleanup?: (state: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & COMPONENT_DERIVED_STATE) => void;
|
|
580
|
-
onControlledPropertyChange?: (name: string, newValue: any, oldValue: any) => void | ((value: any, oldValue: any) => any);
|
|
581
|
-
};
|
|
582
|
-
declare function buildManagedComponent<T_PROPS extends object, COMPONENT_MAPPED_STATE extends object, COMPONENT_SETUP_STATE extends object = {}, COMPONENT_DERIVED_STATE extends object = {}, T_ACTIONS = {}, T_PARENT_STATE = {}>(config: ComponentStateRootConfig<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT_SETUP_STATE, COMPONENT_DERIVED_STATE, T_ACTIONS, T_PARENT_STATE>): {
|
|
583
|
-
ManagedComponentContextProvider: React$1.NamedExoticComponent<T_PROPS & {
|
|
584
|
-
children: React$1.ReactNode;
|
|
585
|
-
}>;
|
|
586
|
-
useManagedComponent: (props: T_PROPS) => {
|
|
587
|
-
contextValue: {
|
|
588
|
-
componentState: COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE;
|
|
589
|
-
componentActions: ComponentStateGeneratedActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>;
|
|
590
|
-
getComponentState: () => COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE;
|
|
591
|
-
replaceState: (newState: COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE) => void;
|
|
592
|
-
assignState: (newState: Partial<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>) => void;
|
|
593
|
-
};
|
|
594
|
-
ContextComponent: React$1.Context<ManagedComponentStateContextValue<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE, ComponentStateGeneratedActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>>>;
|
|
595
|
-
};
|
|
596
|
-
};
|
|
597
|
-
declare function useManagedComponentState<COMPONENT_STATE>(): ManagedComponentStateContextValue<COMPONENT_STATE, ComponentStateGeneratedActions<COMPONENT_STATE>>;
|
|
598
|
-
|
|
599
|
-
type NodePath$1<PRIMARY_KEY_TYPE = any> = PRIMARY_KEY_TYPE[];
|
|
600
|
-
type TreeExpandStateObject_ByPath<PRIMARY_KEY_TYPE = any> = {
|
|
601
|
-
expandedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
602
|
-
collapsedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
603
|
-
defaultExpanded: boolean;
|
|
604
|
-
collapsedIds?: never;
|
|
605
|
-
expandedIds?: never;
|
|
606
|
-
} | {
|
|
607
|
-
defaultExpanded: true;
|
|
608
|
-
collapsedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
609
|
-
expandedPaths?: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
610
|
-
collapsedIds?: never;
|
|
611
|
-
expandedIds?: never;
|
|
612
|
-
} | {
|
|
613
|
-
defaultExpanded: false;
|
|
614
|
-
collapsedPaths?: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
615
|
-
expandedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
616
|
-
collapsedIds?: never;
|
|
617
|
-
expandedIds?: never;
|
|
618
|
-
};
|
|
619
|
-
type TreeExpandStateObject_ById<PRIMARY_KEY_TYPE = any> = {
|
|
620
|
-
defaultExpanded: boolean;
|
|
621
|
-
expandedIds: PRIMARY_KEY_TYPE[];
|
|
622
|
-
collapsedIds: PRIMARY_KEY_TYPE[];
|
|
623
|
-
expandedPaths?: never;
|
|
624
|
-
collapsedPaths?: never;
|
|
625
|
-
} | {
|
|
626
|
-
defaultExpanded: true;
|
|
627
|
-
collapsedIds: PRIMARY_KEY_TYPE[];
|
|
628
|
-
expandedIds?: PRIMARY_KEY_TYPE[];
|
|
629
|
-
expandedPaths?: never;
|
|
630
|
-
collapsedPaths?: never;
|
|
631
|
-
} | {
|
|
632
|
-
defaultExpanded: false;
|
|
633
|
-
collapsedIds?: PRIMARY_KEY_TYPE[];
|
|
634
|
-
expandedIds: PRIMARY_KEY_TYPE[];
|
|
635
|
-
expandedPaths?: never;
|
|
636
|
-
collapsedPaths?: never;
|
|
637
|
-
};
|
|
638
|
-
type TreeExpandStateObject<PRIMARY_KEY_TYPE = any> = TreeExpandStateObject_ByPath<PRIMARY_KEY_TYPE> | TreeExpandStateObject_ById<PRIMARY_KEY_TYPE>;
|
|
639
|
-
type TreeExpandStateMode = 'id' | 'path';
|
|
640
|
-
declare class TreeExpandState<PRIMARY_KEY_TYPE = any> {
|
|
641
|
-
collapsedPathsMap: DeepMap<PRIMARY_KEY_TYPE, true>;
|
|
642
|
-
expandedPathsMap: DeepMap<PRIMARY_KEY_TYPE, true>;
|
|
643
|
-
collapsedIdsMap: Map<PRIMARY_KEY_TYPE, true>;
|
|
644
|
-
expandedIdsMap: Map<PRIMARY_KEY_TYPE, true>;
|
|
645
|
-
private _mode;
|
|
646
|
-
get mode(): TreeExpandStateMode;
|
|
647
|
-
defaultExpanded: boolean;
|
|
648
|
-
constructor(clone?: TreeExpandStateObject | TreeExpandState);
|
|
649
|
-
reset(): void;
|
|
650
|
-
destroy(): void;
|
|
651
|
-
expandAll: () => void;
|
|
652
|
-
collapseAll: () => void;
|
|
653
|
-
expandNode(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>): void;
|
|
654
|
-
collapseNode(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>): void;
|
|
655
|
-
setNodeExpanded(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>, expanded: boolean): void;
|
|
656
|
-
isNodeExpandedByPath(nodePath: NodePath$1<PRIMARY_KEY_TYPE>): boolean;
|
|
657
|
-
isNodeExpandedById(id: PRIMARY_KEY_TYPE): boolean;
|
|
658
|
-
isNodeExpanded(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>): boolean;
|
|
659
|
-
update(stateObject: TreeExpandStateObject): void;
|
|
660
|
-
getState(): TreeExpandStateObject;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
type NonUndefined<T> = T extends undefined ? never : T;
|
|
664
|
-
|
|
665
|
-
type OnNodeStateChangeParam = DataSourceCallback_BaseParam<any> & {};
|
|
666
|
-
type TreeDataSourceOnlyProps<T> = {
|
|
667
|
-
nodesKey?: string;
|
|
668
|
-
treeSelection?: DataSourcePropTreeSelection;
|
|
669
|
-
treeFilterFunction?: DataSourcePropTreeFilterFunction<T>;
|
|
670
|
-
defaultTreeSelection?: DataSourcePropTreeSelection;
|
|
671
|
-
treeExpandState?: TreeExpandStateValue;
|
|
672
|
-
defaultTreeExpandState?: TreeExpandStateValue;
|
|
673
|
-
onTreeExpandStateChange?: (treeExpandState: TreeExpandStateObject<any>, params: {
|
|
674
|
-
dataSourceApi: DataSourceApi<T>;
|
|
675
|
-
nodePath: NodePath$1 | null;
|
|
676
|
-
nodeState: 'collapsed' | 'expanded';
|
|
677
|
-
}) => void;
|
|
678
|
-
onTreeDataMutations?: ({ dataArray, timestamp, treeMutations, nodesKey, }: {
|
|
679
|
-
nodesKey: keyof T | any;
|
|
680
|
-
dataArray: DataSourceState<T>['originalDataArray'];
|
|
681
|
-
timestamp: number;
|
|
682
|
-
treeMutations: NonUndefined<DataSourceState<T>['originalDataArrayChangedInfo']['treeMutations']>;
|
|
683
|
-
}) => void;
|
|
684
|
-
isNodeSelected?: DataSourcePropIsNodeSelected<T>;
|
|
685
|
-
isNodeSelectable?: DataSourcePropIsNodeSelectable<T>;
|
|
686
|
-
isNodeReadOnly?: DataSourcePropIsNodeReadOnly<T>;
|
|
687
|
-
/**
|
|
688
|
-
* Called when a node is expanded. Not called when treeApi.expandAll is called.
|
|
689
|
-
*/
|
|
690
|
-
onNodeExpand?: (node: NodePath$1, param: OnNodeStateChangeParam) => void;
|
|
691
|
-
/**
|
|
692
|
-
* Called when a node is collapsed. Not called when treeApi.collapseAll is called.
|
|
693
|
-
*/
|
|
694
|
-
onNodeCollapse?: (node: NodePath$1, param: OnNodeStateChangeParam) => void;
|
|
695
|
-
} & ({
|
|
696
|
-
selectionMode?: 'multi-row';
|
|
697
|
-
treeSelection?: DataSourcePropTreeSelection_MultiNode;
|
|
698
|
-
defaultTreeSelection?: DataSourcePropTreeSelection_MultiNode;
|
|
699
|
-
onTreeSelectionChange?: DataSourcePropOnTreeSelectionChange_MultiNode;
|
|
700
|
-
} | {
|
|
701
|
-
selectionMode?: 'single-row';
|
|
702
|
-
treeSelection?: DataSourcePropTreeSelection_SingleNode;
|
|
703
|
-
defaultTreeSelection?: DataSourcePropTreeSelection_SingleNode;
|
|
704
|
-
onTreeSelectionChange?: DataSourcePropOnTreeSelectionChange_SingleNode;
|
|
705
|
-
} | {
|
|
706
|
-
selectionMode?: 'single-cell';
|
|
707
|
-
cellSelection?: DataSourcePropCellSelection_SingleCell;
|
|
708
|
-
defaultCellSelection?: DataSourcePropCellSelection_SingleCell;
|
|
709
|
-
onCellSelectionChange?: DataSourcePropOnCellSelectionChange_SingleCell;
|
|
710
|
-
} | {
|
|
711
|
-
selectionMode?: 'multi-cell';
|
|
712
|
-
cellSelection?: DataSourcePropCellSelection_MultiCell;
|
|
713
|
-
defaultCellSelection?: DataSourcePropCellSelection_MultiCell;
|
|
714
|
-
onCellSelectionChange?: DataSourcePropOnCellSelectionChange_MultiCell;
|
|
715
|
-
} | {
|
|
716
|
-
selectionMode?: false;
|
|
717
|
-
}) & ({
|
|
718
|
-
isNodeCollapsed?: DataSourcePropIsNodeExpanded<T>;
|
|
719
|
-
isNodeExpanded?: never;
|
|
720
|
-
} | {
|
|
721
|
-
isNodeExpanded?: DataSourcePropIsNodeExpanded<T>;
|
|
722
|
-
isNodeCollapsed?: never;
|
|
723
|
-
});
|
|
724
|
-
type DataSourcePropsNotAvailableInTreeDataSource = keyof Pick<DataSourceProps<any>, 'groupBy' | 'defaultGroupBy' | 'nodesKey' | 'defaultGroupRowsState' | 'groupRowsState' | 'onGroupRowsStateChange' | 'onGroupByChange' | 'collapseGroupRowsOnDataFunctionChange' | 'livePagination' | 'onLivePaginationCursorChange' | 'groupMode' | 'filterFunction' | 'onPivotByChange' | 'pivotBy' | 'defaultPivotBy' | 'selectionMode' | 'rowSelection' | 'defaultRowSelection'>;
|
|
725
|
-
type TreeDataSourceProps<T> = Omit<DataSourceProps<T>, DataSourcePropsNotAvailableInTreeDataSource> & TreeDataSourceOnlyProps<T>;
|
|
659
|
+
getRowspanParent: (rowIndex: number, colIndex: number) => number;
|
|
660
|
+
getColspanParent: (rowIndex: number, colIndex: number) => number;
|
|
661
|
+
getItemSpanParent: (rowIndex: number, colIndex: number, direction: 'horizontal' | 'vertical') => number;
|
|
662
|
+
getRowHeightWithSpan: (rowIndex: number, colIndex: number, rowspan: number) => number;
|
|
663
|
+
getColWidthWithSpan: (rowIndex: number, colIndex: number, colspan: number) => number;
|
|
664
|
+
private getItemSizeWithSpan;
|
|
665
|
+
getRowHeight: (rowIndex: number) => number;
|
|
666
|
+
getColWidth: (colIndex: number) => number;
|
|
667
|
+
/**
|
|
668
|
+
* For now, this doesn't take into account the row/colspan, and it's okay not to
|
|
669
|
+
* @param itemIndex
|
|
670
|
+
* @returns the size of the specified item
|
|
671
|
+
*/
|
|
672
|
+
getItemSize: (itemIndex: number, direction: 'horizontal' | 'vertical') => number;
|
|
673
|
+
getRowIndexInPage(rowIndex: number): number;
|
|
674
|
+
getPageIndexForRow(_rowIndex: number): number;
|
|
675
|
+
getVirtualizedContentSize(): {
|
|
676
|
+
height: number;
|
|
677
|
+
width: number;
|
|
678
|
+
};
|
|
679
|
+
getVirtualizedContentSizeFor(direction: 'horizontal' | 'vertical'): number;
|
|
680
|
+
keepColumnRendered: (colIndex: number) => () => void;
|
|
681
|
+
getAlwaysRenderedColumns: () => number[];
|
|
682
|
+
setRenderRange: ({ horizontal, vertical, extraCells, }: {
|
|
683
|
+
horizontal: RenderRangeType;
|
|
684
|
+
vertical: RenderRangeType;
|
|
685
|
+
extraCells?: [number, number][] | undefined;
|
|
686
|
+
}) => void;
|
|
687
|
+
getRenderRangeCellCount: (range: TableRenderRange) => number;
|
|
688
|
+
getMaxCellCount: () => number;
|
|
689
|
+
getExtraCells: () => [
|
|
690
|
+
number,
|
|
691
|
+
number
|
|
692
|
+
][];
|
|
693
|
+
getScrollPosition: () => ScrollPosition;
|
|
694
|
+
getRenderRange: () => TableRenderRange;
|
|
695
|
+
onScroll: (fn: OnScrollFn) => () => void;
|
|
696
|
+
onScrollStart: (fn: VoidFunction) => () => void;
|
|
697
|
+
onScrollStop: (fn: (scrollPos: ScrollPosition) => void) => () => void;
|
|
698
|
+
onRenderRangeChange: (fn: FnOnRenderRangeChange) => () => void;
|
|
699
|
+
onVerticalRenderRangeChange: (fn: FnOnDirectionalRenderRangeChange) => () => void;
|
|
700
|
+
onHorizontalRenderRangeChange: (fn: FnOnDirectionalRenderRangeChange) => () => void;
|
|
701
|
+
onRenderCountChange: (fn: FnOnRenderCountChange) => () => void;
|
|
702
|
+
onAvailableSizeChange: (fn: OnAvailableSizeChange) => () => void;
|
|
703
|
+
onDestroy: (fn: VoidFn$1) => () => void;
|
|
704
|
+
getAvailableSize: () => {
|
|
705
|
+
width: number;
|
|
706
|
+
height: number;
|
|
707
|
+
};
|
|
708
|
+
protected getAvailableRenderSize: () => {
|
|
709
|
+
width: number;
|
|
710
|
+
height: number;
|
|
711
|
+
};
|
|
712
|
+
private notifyDestroy;
|
|
713
|
+
destroy(): void;
|
|
714
|
+
}
|
|
726
715
|
|
|
727
|
-
type
|
|
728
|
-
type
|
|
729
|
-
|
|
730
|
-
|
|
716
|
+
type CellSelectionPosition<ROW_PRIMARY_KEY_TYPE = any, COL_ID = string> = [ROW_PRIMARY_KEY_TYPE, COL_ID];
|
|
717
|
+
type CellSelectionStateObject = {
|
|
718
|
+
selectedCells: CellSelectionPosition[];
|
|
719
|
+
deselectedCells: CellSelectionPosition[];
|
|
731
720
|
defaultSelection: boolean;
|
|
732
721
|
} | {
|
|
733
722
|
defaultSelection: true;
|
|
734
|
-
|
|
735
|
-
|
|
723
|
+
deselectedCells: CellSelectionPosition[];
|
|
724
|
+
selectedCells?: CellSelectionPosition[];
|
|
736
725
|
} | {
|
|
737
726
|
defaultSelection: false;
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
};
|
|
741
|
-
type TreeSelectionStateConfig<_T = any> = {
|
|
742
|
-
treeDeepMap: DeepMap<any, DeepMapTreeValueType<any, any>>;
|
|
743
|
-
};
|
|
744
|
-
type GetTreeSelectionStateConfig<T> = () => TreeSelectionStateConfig<T>;
|
|
745
|
-
type NodeSelectionState = {
|
|
746
|
-
selected: boolean | null;
|
|
747
|
-
selectedCount: number;
|
|
748
|
-
deselectedCount: number;
|
|
749
|
-
leafCount: number;
|
|
727
|
+
selectedCells: CellSelectionPosition[];
|
|
728
|
+
deselectedCells?: CellSelectionPosition[];
|
|
750
729
|
};
|
|
751
|
-
declare class
|
|
752
|
-
|
|
753
|
-
|
|
730
|
+
declare class CellSelectionState {
|
|
731
|
+
wildcard: string;
|
|
732
|
+
cache: DeepMap<any, boolean>;
|
|
733
|
+
selectedRowsToColumns: Map<any, Set<string>>;
|
|
734
|
+
selectedColumnsToRows: Map<string, Set<any>>;
|
|
735
|
+
deselectedRowsToColumns: Map<any, Set<string>>;
|
|
736
|
+
deselectedColumnsToRows: Map<string, Set<any>>;
|
|
754
737
|
defaultSelection: boolean;
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
private
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
toggleNodeSelection(nodePath: NodePath): void;
|
|
780
|
-
getSelectedCount(): number;
|
|
781
|
-
getDeselectedCount(): number;
|
|
782
|
-
getSelectionCountFor(nodePath?: NodePath): {
|
|
783
|
-
selectedCount: number;
|
|
784
|
-
deselectedCount: number;
|
|
785
|
-
};
|
|
786
|
-
destroy(): void;
|
|
738
|
+
debugId: string;
|
|
739
|
+
constructor(clone?: CellSelectionStateObject | CellSelectionState);
|
|
740
|
+
deselectAll: () => void;
|
|
741
|
+
selectAll: () => void;
|
|
742
|
+
selectCell(rowId: any, colId: string): void;
|
|
743
|
+
deselectCell(rowId: any, colId: string): void;
|
|
744
|
+
selectColumn(colId: string): void;
|
|
745
|
+
deselectColumn(colId: string): void;
|
|
746
|
+
setCellSelected(rowId: any, colId: string, selected: boolean): void;
|
|
747
|
+
private setCellInDeselection;
|
|
748
|
+
private setCellInSelection;
|
|
749
|
+
update(stateObject: CellSelectionStateObject): void;
|
|
750
|
+
/**
|
|
751
|
+
* Returns whether there is at least one selected cell in the row
|
|
752
|
+
*
|
|
753
|
+
* @param rowId the row id
|
|
754
|
+
* @param columnIds the columns currently available in the grid
|
|
755
|
+
* @returns boolean
|
|
756
|
+
*/
|
|
757
|
+
isCellSelectionInRow(rowId: any, columnIds: string[]): boolean;
|
|
758
|
+
private error;
|
|
759
|
+
isCellSelected(rowId: any, colId: string): boolean;
|
|
760
|
+
private isCellSelected_Internal;
|
|
761
|
+
getState(): CellSelectionStateObject;
|
|
787
762
|
}
|
|
788
763
|
|
|
789
|
-
type
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
groupRowsState: DataSourceState<T>['groupRowsState'] | undefined;
|
|
793
|
-
pivotBy: DataSourceState<T>['pivotBy'] | undefined;
|
|
794
|
-
sortInfo: DataSourceState<T>['sortInfo'] | undefined;
|
|
795
|
-
filterValue: DataSourceState<T>['filterValue'] | undefined;
|
|
796
|
-
livePaginationCursor: DataSourceState<T>['livePaginationCursor'] | undefined;
|
|
797
|
-
};
|
|
798
|
-
type RowDetailCacheKey = string | number;
|
|
799
|
-
type RowDetailCacheEntry = {
|
|
800
|
-
all?: boolean;
|
|
801
|
-
groupBy?: boolean;
|
|
802
|
-
sortInfo?: boolean;
|
|
803
|
-
filterValue?: boolean;
|
|
804
|
-
data?: boolean;
|
|
805
|
-
livePaginationCursor?: boolean;
|
|
806
|
-
columnOrder?: boolean;
|
|
764
|
+
type PointCoords = {
|
|
765
|
+
top: number;
|
|
766
|
+
left: number;
|
|
807
767
|
};
|
|
808
768
|
|
|
809
769
|
interface RowDetailCacheStorage<_K, T> {
|
|
@@ -979,7 +939,7 @@ declare class GridCellManager<T_ADDITIONAL_CELL_INFO> extends Logger {
|
|
|
979
939
|
detachColsStartingWith(colIndex: number): void;
|
|
980
940
|
detachCellsStartingAt(cellPos: CellPos): void;
|
|
981
941
|
detachCellAt(cellPos: CellPos): boolean;
|
|
982
|
-
onCellAttachmentChange(callback: (cell: GridCellInterface<T_ADDITIONAL_CELL_INFO>, attached: boolean) => void): VoidFn;
|
|
942
|
+
onCellAttachmentChange(callback: (cell: GridCellInterface<T_ADDITIONAL_CELL_INFO>, attached: boolean) => void): VoidFn$1;
|
|
983
943
|
getCellsOutsideRenderRange: (range: TableRenderRange) => Set<GridCellInterface<T_ADDITIONAL_CELL_INFO>>;
|
|
984
944
|
getCellFromListForRow(cells: Set<GridCellInterface<T_ADDITIONAL_CELL_INFO>>, rowIndex: number): GridCellInterface<T_ADDITIONAL_CELL_INFO> | undefined;
|
|
985
945
|
getCellFromListForColumn(cells: Set<GridCellInterface<T_ADDITIONAL_CELL_INFO>>, colIndex: number): GridCellInterface<T_ADDITIONAL_CELL_INFO> | undefined;
|
|
@@ -1038,7 +998,7 @@ declare class ListRowManager extends Logger {
|
|
|
1038
998
|
detachRow(row: ListRowInterface): void;
|
|
1039
999
|
renderNodeAtRow(node: Renderable, row: ListRowInterface, rowIndex: number): ListRowInterface;
|
|
1040
1000
|
makeDetachedRowsEmpty(): void;
|
|
1041
|
-
onRowAttachmentChange(callback: (row: ListRowInterface, attached: boolean) => void): VoidFn;
|
|
1001
|
+
onRowAttachmentChange(callback: (row: ListRowInterface, attached: boolean) => void): VoidFn$1;
|
|
1042
1002
|
withDetachedRows(fn: (row: ListRowInterface) => void): void;
|
|
1043
1003
|
destroy(): void;
|
|
1044
1004
|
reset(): void;
|
|
@@ -1158,13 +1118,7 @@ type MultiSelectRangeOptions = {
|
|
|
1158
1118
|
columnsPerSet: number;
|
|
1159
1119
|
};
|
|
1160
1120
|
|
|
1161
|
-
type
|
|
1162
|
-
interface SubscriptionCallback<T> {
|
|
1163
|
-
(node: T, callback?: () => void): void;
|
|
1164
|
-
get: () => T | null;
|
|
1165
|
-
destroy: VoidFn;
|
|
1166
|
-
onChange: (fn: SubscriptionCallbackOnChangeFn<T>) => VoidFn;
|
|
1167
|
-
}
|
|
1121
|
+
type NonUndefined<T> = T extends undefined ? never : T;
|
|
1168
1122
|
|
|
1169
1123
|
declare class ScrollListener {
|
|
1170
1124
|
private scrollPosition;
|
|
@@ -1587,6 +1541,102 @@ type InfiniteTableComputedColumnBase<T> = {
|
|
|
1587
1541
|
type InfiniteTableComputedColumn<T> = InfiniteTableColumn<T> & InfiniteTableComputedColumnBase<T> & Partial<InfiniteTablePivotFinalColumn<T>> & Partial<InfiniteTableGeneratedGroupColumn<T>>;
|
|
1588
1542
|
type InfiniteTableComputedPivotFinalColumn<T> = InfiniteTableComputedColumn<T> & InfiniteTablePivotFinalColumn<T>;
|
|
1589
1543
|
|
|
1544
|
+
declare const DS_ERROR_CODES: Record<"DS001", DebugWarningPayload>;
|
|
1545
|
+
declare const INFINITE_ERROR_CODES: Record<"CSS001_CSS", DebugWarningPayload>;
|
|
1546
|
+
declare const ERROR_CODES: {
|
|
1547
|
+
CSS001_CSS: DebugWarningPayload;
|
|
1548
|
+
DS001: DebugWarningPayload;
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1551
|
+
type DevToolsMessageAddress = 'infinite-table-devtools-contentscript' | 'infinite-table-devtools-contentscript-panel' | 'infinite-table-devtools-background' | 'infinite-table-page';
|
|
1552
|
+
type DevToolsGenericMessage = {
|
|
1553
|
+
source: DevToolsMessageAddress;
|
|
1554
|
+
target: DevToolsMessageAddress;
|
|
1555
|
+
payload: any;
|
|
1556
|
+
type: string;
|
|
1557
|
+
};
|
|
1558
|
+
type ErrorCodeKey = keyof typeof ERROR_CODES;
|
|
1559
|
+
type DataSourceDebugWarningKey = keyof typeof DS_ERROR_CODES;
|
|
1560
|
+
type InfiniteTableDebugWarningKey = keyof typeof INFINITE_ERROR_CODES;
|
|
1561
|
+
type DebugWarningPayload = {
|
|
1562
|
+
message: string;
|
|
1563
|
+
code: ErrorCodeKey;
|
|
1564
|
+
type: 'error' | 'warning';
|
|
1565
|
+
status?: 'new' | 'discarded';
|
|
1566
|
+
debugId?: string;
|
|
1567
|
+
};
|
|
1568
|
+
type DevToolsHookFnOptions = {
|
|
1569
|
+
getState: () => InfiniteTableState<any>;
|
|
1570
|
+
getDataSourceState: () => DataSourceState<any>;
|
|
1571
|
+
getComputed: () => InfiniteTableComputedValues<any>;
|
|
1572
|
+
actions: InfiniteTableActions<any>;
|
|
1573
|
+
dataSourceActions: DataSourceComponentActions<any>;
|
|
1574
|
+
api: InfiniteTableApi<any>;
|
|
1575
|
+
dataSourceApi: DataSourceApi<any>;
|
|
1576
|
+
};
|
|
1577
|
+
type DevToolsOverrides = Partial<DevToolsInfiniteOverrides & DevToolsDataSourceOverrides>;
|
|
1578
|
+
type DevToolsInfiniteOverrides = Partial<{
|
|
1579
|
+
groupRenderStrategy: InfiniteTableState<any>['groupRenderStrategy'];
|
|
1580
|
+
columnVisibility: InfiniteTableState<any>['columnVisibility'];
|
|
1581
|
+
}>;
|
|
1582
|
+
type DevToolsDataSourceOverrides = Partial<{
|
|
1583
|
+
groupBy: DataSourceState<any>['groupBy'];
|
|
1584
|
+
sortInfo: DataSourceState<any>['sortInfo'];
|
|
1585
|
+
multiSort: DataSourceState<any>['multiSort'];
|
|
1586
|
+
}>;
|
|
1587
|
+
type DevToolsHostPageMessagePayload = {
|
|
1588
|
+
debugId: string;
|
|
1589
|
+
columnOrder: string[];
|
|
1590
|
+
visibleColumnIds: string[];
|
|
1591
|
+
columnVisibility: InfiniteTableState<any>['columnVisibility'];
|
|
1592
|
+
columns: Record<string, {
|
|
1593
|
+
field: InfiniteTableComputedColumn<any>['field'];
|
|
1594
|
+
dataType: InfiniteTableComputedColumn<any>['computedDataType'];
|
|
1595
|
+
sortType: InfiniteTableComputedColumn<any>['computedSortType'];
|
|
1596
|
+
filtered: InfiniteTableComputedColumn<any>['computedFiltered'];
|
|
1597
|
+
sorted: InfiniteTableComputedColumn<any>['computedSorted'];
|
|
1598
|
+
width: InfiniteTableComputedColumn<any>['computedWidth'];
|
|
1599
|
+
}>;
|
|
1600
|
+
groupRenderStrategy: InfiniteTableState<any>['groupRenderStrategy'];
|
|
1601
|
+
groupBy: string[];
|
|
1602
|
+
sortInfo: {
|
|
1603
|
+
field: string;
|
|
1604
|
+
dir: 1 | -1;
|
|
1605
|
+
type?: string;
|
|
1606
|
+
}[];
|
|
1607
|
+
multiSort: DataSourceState<any>['multiSort'];
|
|
1608
|
+
selectionMode: DataSourceState<any>['selectionMode'];
|
|
1609
|
+
devToolsDetected: InfiniteTableState<any>['devToolsDetected'];
|
|
1610
|
+
debugTimings: Record<DebugTimingKey, number>;
|
|
1611
|
+
debugWarnings: Record<ErrorCodeKey, DebugWarningPayload>;
|
|
1612
|
+
};
|
|
1613
|
+
type DevToolsHostPageMessageType = 'update' | 'unmount' | 'log';
|
|
1614
|
+
type DevToolsHostPageLogMessage = {
|
|
1615
|
+
type: Extract<DevToolsHostPageMessageType, 'log'>;
|
|
1616
|
+
payload: DevToolsHostPageLogMessagePayload;
|
|
1617
|
+
};
|
|
1618
|
+
type DevToolsHostPageLogMessagePayload = {
|
|
1619
|
+
channel: string;
|
|
1620
|
+
color: string;
|
|
1621
|
+
args: any[];
|
|
1622
|
+
timestamp: number;
|
|
1623
|
+
debugId?: string;
|
|
1624
|
+
};
|
|
1625
|
+
type DevToolsHostPageMessage = {
|
|
1626
|
+
source: Extract<DevToolsMessageAddress, 'infinite-table-page'>;
|
|
1627
|
+
target: Extract<DevToolsMessageAddress, 'infinite-table-devtools-background'>;
|
|
1628
|
+
url: string;
|
|
1629
|
+
} & ({
|
|
1630
|
+
type: Extract<DevToolsHostPageMessageType, 'update'>;
|
|
1631
|
+
payload: DevToolsHostPageMessagePayload;
|
|
1632
|
+
} | {
|
|
1633
|
+
type: Extract<DevToolsHostPageMessageType, 'unmount'>;
|
|
1634
|
+
payload: {
|
|
1635
|
+
debugId: string;
|
|
1636
|
+
};
|
|
1637
|
+
} | DevToolsHostPageLogMessage);
|
|
1638
|
+
type DevToolsHookFn = (debugId: string, options: null | DevToolsHookFnOptions) => void;
|
|
1639
|
+
|
|
1590
1640
|
type CellContextMenuLocation = {
|
|
1591
1641
|
rowId: any;
|
|
1592
1642
|
rowIndex: number;
|
|
@@ -1606,6 +1656,8 @@ interface InfiniteTableSetupState<T> {
|
|
|
1606
1656
|
headerBrain: MatrixBrain;
|
|
1607
1657
|
renderer: GridRenderer;
|
|
1608
1658
|
onRenderUpdater: SubscriptionCallback<Renderable>;
|
|
1659
|
+
debugWarnings: Map<InfiniteTableDebugWarningKey, DebugWarningPayload>;
|
|
1660
|
+
devToolsDetected: boolean;
|
|
1609
1661
|
forceBodyRerenderTimestamp: number;
|
|
1610
1662
|
lastRowToExpandRef: MutableRefObject<any | null>;
|
|
1611
1663
|
lastRowToCollapseRef: MutableRefObject<any | null>;
|
|
@@ -1687,7 +1739,6 @@ type InfiniteTablePropPivotGrandTotalColumnPosition = InfiniteTablePropPivotTota
|
|
|
1687
1739
|
interface InfiniteTableMappedState<T> {
|
|
1688
1740
|
id: InfiniteTableProps<T>['id'];
|
|
1689
1741
|
debugId: InfiniteTableProps<T>['debugId'];
|
|
1690
|
-
debugMode: NonUndefined<InfiniteTableProps<T>['debugMode']>;
|
|
1691
1742
|
scrollTopKey: InfiniteTableProps<T>['scrollTopKey'];
|
|
1692
1743
|
multiSortBehavior: NonUndefined<InfiniteTableProps<T>['multiSortBehavior']>;
|
|
1693
1744
|
viewportReservedWidth: InfiniteTableProps<T>['viewportReservedWidth'];
|
|
@@ -1696,6 +1747,8 @@ interface InfiniteTableMappedState<T> {
|
|
|
1696
1747
|
onKeyDown: InfiniteTableProps<T>['onKeyDown'];
|
|
1697
1748
|
onCellClick: InfiniteTableProps<T>['onCellClick'];
|
|
1698
1749
|
onCellDoubleClick: InfiniteTableProps<T>['onCellDoubleClick'];
|
|
1750
|
+
onRowMouseEnter: InfiniteTableProps<T>['onRowMouseEnter'];
|
|
1751
|
+
onRowMouseLeave: InfiniteTableProps<T>['onRowMouseLeave'];
|
|
1699
1752
|
repeatWrappedGroupRows: InfiniteTableProps<T>['repeatWrappedGroupRows'];
|
|
1700
1753
|
wrapRowsHorizontally: InfiniteTableProps<T>['wrapRowsHorizontally'];
|
|
1701
1754
|
rowDetailCache: RowDetailCache<RowDetailCacheKey, RowDetailCacheEntry>;
|
|
@@ -2096,33 +2149,95 @@ interface InfiniteTableComputedValues<T> {
|
|
|
2096
2149
|
vertical: boolean;
|
|
2097
2150
|
horizontal: boolean;
|
|
2098
2151
|
};
|
|
2099
|
-
multiRowSelector: MultiRowSelector;
|
|
2100
|
-
multiCellSelector: MultiCellSelector;
|
|
2101
|
-
computedRowHeight: number | ((index: number) => number);
|
|
2102
|
-
computedRowSizeCacheForDetails: RowSizeCache | undefined;
|
|
2103
|
-
renderSelectionCheckBox: boolean;
|
|
2104
|
-
rowspan?: MatrixBrainOptions['rowspan'];
|
|
2105
|
-
computedPinnedStartOverflow: boolean;
|
|
2106
|
-
computedPinnedEndOverflow: boolean;
|
|
2107
|
-
computedPinnedStartColumns: InfiniteTableComputedColumn<T>[];
|
|
2108
|
-
computedPinnedEndColumns: InfiniteTableComputedColumn<T>[];
|
|
2109
|
-
computedUnpinnedColumns: InfiniteTableComputedColumn<T>[];
|
|
2110
|
-
computedVisibleColumns: InfiniteTableComputedColumn<T>[];
|
|
2111
|
-
computedVisibleColumnsMap: Map<string, InfiniteTableComputedColumn<T>>;
|
|
2112
|
-
computedColumnsMap: Map<string, InfiniteTableComputedColumn<T>>;
|
|
2113
|
-
computedColumnsMapInInitialOrder: Map<string, InfiniteTableComputedColumn<T>>;
|
|
2114
|
-
computedColumnOrder: InfiniteTablePropColumnOrderNormalized;
|
|
2115
|
-
computedPinnedStartColumnsWidth: number;
|
|
2116
|
-
computedPinnedStartWidth: number;
|
|
2117
|
-
computedPinnedEndColumnsWidth: number;
|
|
2118
|
-
computedPinnedEndWidth: number;
|
|
2119
|
-
computedUnpinnedColumnsWidth: number;
|
|
2120
|
-
computedUnpinnedOffset: number;
|
|
2121
|
-
computedPinnedEndOffset: number;
|
|
2122
|
-
computedRemainingSpace: number;
|
|
2123
|
-
fieldsToColumn: Map<keyof T, InfiniteTableComputedColumn<T>>;
|
|
2124
|
-
toggleGroupRow: (groupKeys: any[]) => void;
|
|
2125
|
-
columnSize: (colIndex: number) => number;
|
|
2152
|
+
multiRowSelector: MultiRowSelector;
|
|
2153
|
+
multiCellSelector: MultiCellSelector;
|
|
2154
|
+
computedRowHeight: number | ((index: number) => number);
|
|
2155
|
+
computedRowSizeCacheForDetails: RowSizeCache | undefined;
|
|
2156
|
+
renderSelectionCheckBox: boolean;
|
|
2157
|
+
rowspan?: MatrixBrainOptions['rowspan'];
|
|
2158
|
+
computedPinnedStartOverflow: boolean;
|
|
2159
|
+
computedPinnedEndOverflow: boolean;
|
|
2160
|
+
computedPinnedStartColumns: InfiniteTableComputedColumn<T>[];
|
|
2161
|
+
computedPinnedEndColumns: InfiniteTableComputedColumn<T>[];
|
|
2162
|
+
computedUnpinnedColumns: InfiniteTableComputedColumn<T>[];
|
|
2163
|
+
computedVisibleColumns: InfiniteTableComputedColumn<T>[];
|
|
2164
|
+
computedVisibleColumnsMap: Map<string, InfiniteTableComputedColumn<T>>;
|
|
2165
|
+
computedColumnsMap: Map<string, InfiniteTableComputedColumn<T>>;
|
|
2166
|
+
computedColumnsMapInInitialOrder: Map<string, InfiniteTableComputedColumn<T>>;
|
|
2167
|
+
computedColumnOrder: InfiniteTablePropColumnOrderNormalized;
|
|
2168
|
+
computedPinnedStartColumnsWidth: number;
|
|
2169
|
+
computedPinnedStartWidth: number;
|
|
2170
|
+
computedPinnedEndColumnsWidth: number;
|
|
2171
|
+
computedPinnedEndWidth: number;
|
|
2172
|
+
computedUnpinnedColumnsWidth: number;
|
|
2173
|
+
computedUnpinnedOffset: number;
|
|
2174
|
+
computedPinnedEndOffset: number;
|
|
2175
|
+
computedRemainingSpace: number;
|
|
2176
|
+
fieldsToColumn: Map<keyof T, InfiniteTableComputedColumn<T>>;
|
|
2177
|
+
toggleGroupRow: (groupKeys: any[]) => void;
|
|
2178
|
+
columnSize: (colIndex: number) => number;
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
type NodePath = any[];
|
|
2182
|
+
type TreeSelectionStateObject = {
|
|
2183
|
+
selectedPaths: NodePath;
|
|
2184
|
+
deselectedPaths: NodePath;
|
|
2185
|
+
defaultSelection: boolean;
|
|
2186
|
+
} | {
|
|
2187
|
+
defaultSelection: true;
|
|
2188
|
+
deselectedPaths: NodePath;
|
|
2189
|
+
selectedPaths?: NodePath;
|
|
2190
|
+
} | {
|
|
2191
|
+
defaultSelection: false;
|
|
2192
|
+
selectedPaths: NodePath;
|
|
2193
|
+
deselectedPaths?: NodePath;
|
|
2194
|
+
};
|
|
2195
|
+
type TreeSelectionStateConfig<_T = any> = {
|
|
2196
|
+
treeDeepMap: DeepMap<any, DeepMapTreeValueType<any, any>>;
|
|
2197
|
+
};
|
|
2198
|
+
type GetTreeSelectionStateConfig<T> = () => TreeSelectionStateConfig<T>;
|
|
2199
|
+
type NodeSelectionState = {
|
|
2200
|
+
selected: boolean | null;
|
|
2201
|
+
selectedCount: number;
|
|
2202
|
+
deselectedCount: number;
|
|
2203
|
+
leafCount: number;
|
|
2204
|
+
};
|
|
2205
|
+
declare class TreeSelectionState<T = any> {
|
|
2206
|
+
selectedPaths: NodePath[] | null;
|
|
2207
|
+
deselectedPaths: NodePath[] | null;
|
|
2208
|
+
defaultSelection: boolean;
|
|
2209
|
+
selectionMap: DeepMap<NodePath, boolean>;
|
|
2210
|
+
cache: DeepMap<NodePath, NodeSelectionState>;
|
|
2211
|
+
getConfig: GetTreeSelectionStateConfig<T>;
|
|
2212
|
+
getTreeDeepMap(): DeepMap<any, DeepMapTreeValueType<any, any>>;
|
|
2213
|
+
isLeafNode(nodePath: NodePath): boolean;
|
|
2214
|
+
getLeafNodesCount(nodePath: NodePath): number;
|
|
2215
|
+
static from<T>(treeSelectionState: TreeSelectionStateObject, getConfig: GetTreeSelectionStateConfig<T>): TreeSelectionState<T>;
|
|
2216
|
+
constructor(state: TreeSelectionStateObject | TreeSelectionState, getConfig: GetTreeSelectionStateConfig<T>);
|
|
2217
|
+
setConfigFn(getConfig: GetTreeSelectionStateConfig<T>): void;
|
|
2218
|
+
xcache(): void;
|
|
2219
|
+
update(stateObject: TreeSelectionStateObject): void;
|
|
2220
|
+
setSelectionForPath(nodePath: NodePath, selected: boolean): void;
|
|
2221
|
+
getState(): TreeSelectionStateObject;
|
|
2222
|
+
deselectAll(): void;
|
|
2223
|
+
selectAll(): void;
|
|
2224
|
+
isNodeSelected(nodePath: NodePath): boolean | null;
|
|
2225
|
+
private isSelfSelected;
|
|
2226
|
+
private cacheIt;
|
|
2227
|
+
private getSelectionStateForNode;
|
|
2228
|
+
private isPathSelected;
|
|
2229
|
+
private getNodeBooleanSelectionStateFromParent;
|
|
2230
|
+
setNodeSelection(nodePath: NodePath, selected: boolean): void;
|
|
2231
|
+
selectNode(nodePath: NodePath): void;
|
|
2232
|
+
deselectNode(nodePath: any[]): void;
|
|
2233
|
+
toggleNodeSelection(nodePath: NodePath): void;
|
|
2234
|
+
getSelectedCount(): number;
|
|
2235
|
+
getDeselectedCount(): number;
|
|
2236
|
+
getSelectionCountFor(nodePath?: NodePath): {
|
|
2237
|
+
selectedCount: number;
|
|
2238
|
+
deselectedCount: number;
|
|
2239
|
+
};
|
|
2240
|
+
destroy(): void;
|
|
2126
2241
|
}
|
|
2127
2242
|
|
|
2128
2243
|
type InfiniteTableEventHandlerContext<T> = {
|
|
@@ -2166,6 +2281,9 @@ interface InfiniteTablePublicContext<T> {
|
|
|
2166
2281
|
getState: () => InfiniteTableState<T>;
|
|
2167
2282
|
getDataSourceState: () => DataSourceState<T>;
|
|
2168
2283
|
}
|
|
2284
|
+
type InfiniteTableRowContext<T> = InfiniteTablePublicContext<T> & InfiniteTableRowInfoDataDiscriminator<T> & {
|
|
2285
|
+
rowIndex: number;
|
|
2286
|
+
};
|
|
2169
2287
|
interface InfiniteTableCellContext<T> {
|
|
2170
2288
|
rowIndex: OnCellClickContext<T>['rowIndex'];
|
|
2171
2289
|
colIndex: OnCellClickContext<T>['colIndex'];
|
|
@@ -2240,94 +2358,67 @@ type NestedMultiSortOptions<T> = {
|
|
|
2240
2358
|
};
|
|
2241
2359
|
declare const multisortNested: <T>(sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], options: NestedMultiSortOptions<T>) => T[];
|
|
2242
2360
|
|
|
2243
|
-
type
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
}
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2361
|
+
type OnNodeStateChangeParam = DataSourceCallback_BaseParam<any> & {};
|
|
2362
|
+
type TreeDataSourceOnlyProps<T> = {
|
|
2363
|
+
nodesKey?: string;
|
|
2364
|
+
treeSelection?: DataSourcePropTreeSelection;
|
|
2365
|
+
treeFilterFunction?: DataSourcePropTreeFilterFunction<T>;
|
|
2366
|
+
defaultTreeSelection?: DataSourcePropTreeSelection;
|
|
2367
|
+
treeExpandState?: TreeExpandStateValue;
|
|
2368
|
+
defaultTreeExpandState?: TreeExpandStateValue;
|
|
2369
|
+
onTreeExpandStateChange?: (treeExpandState: TreeExpandStateObject<any>, params: {
|
|
2370
|
+
dataSourceApi: DataSourceApi<T>;
|
|
2371
|
+
nodePath: NodePath$1 | null;
|
|
2372
|
+
nodeState: 'collapsed' | 'expanded';
|
|
2373
|
+
}) => void;
|
|
2374
|
+
onTreeDataMutations?: ({ dataArray, timestamp, treeMutations, nodesKey, }: {
|
|
2375
|
+
nodesKey: keyof T | any;
|
|
2376
|
+
dataArray: DataSourceState<T>['originalDataArray'];
|
|
2377
|
+
timestamp: number;
|
|
2378
|
+
treeMutations: NonUndefined<DataSourceState<T>['originalDataArrayChangedInfo']['treeMutations']>;
|
|
2379
|
+
}) => void;
|
|
2380
|
+
isNodeSelected?: DataSourcePropIsNodeSelected<T>;
|
|
2381
|
+
isNodeSelectable?: DataSourcePropIsNodeSelectable<T>;
|
|
2382
|
+
isNodeReadOnly?: DataSourcePropIsNodeReadOnly<T>;
|
|
2383
|
+
/**
|
|
2384
|
+
* Called when a node is expanded. Not called when treeApi.expandAll is called.
|
|
2385
|
+
*/
|
|
2386
|
+
onNodeExpand?: (node: NodePath$1, param: OnNodeStateChangeParam) => void;
|
|
2387
|
+
/**
|
|
2388
|
+
* Called when a node is collapsed. Not called when treeApi.collapseAll is called.
|
|
2389
|
+
*/
|
|
2390
|
+
onNodeCollapse?: (node: NodePath$1, param: OnNodeStateChangeParam) => void;
|
|
2391
|
+
} & ({
|
|
2392
|
+
selectionMode?: 'multi-row';
|
|
2393
|
+
treeSelection?: DataSourcePropTreeSelection_MultiNode;
|
|
2394
|
+
defaultTreeSelection?: DataSourcePropTreeSelection_MultiNode;
|
|
2395
|
+
onTreeSelectionChange?: DataSourcePropOnTreeSelectionChange_MultiNode;
|
|
2262
2396
|
} | {
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
originalData: T;
|
|
2268
|
-
metadata: any;
|
|
2397
|
+
selectionMode?: 'single-row';
|
|
2398
|
+
treeSelection?: DataSourcePropTreeSelection_SingleNode;
|
|
2399
|
+
defaultTreeSelection?: DataSourcePropTreeSelection_SingleNode;
|
|
2400
|
+
onTreeSelectionChange?: DataSourcePropOnTreeSelectionChange_SingleNode;
|
|
2269
2401
|
} | {
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
originalData: T;
|
|
2275
|
-
metadata: any;
|
|
2402
|
+
selectionMode?: 'single-cell';
|
|
2403
|
+
cellSelection?: DataSourcePropCellSelection_SingleCell;
|
|
2404
|
+
defaultCellSelection?: DataSourcePropCellSelection_SingleCell;
|
|
2405
|
+
onCellSelectionChange?: DataSourcePropOnCellSelectionChange_SingleCell;
|
|
2276
2406
|
} | {
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
originalData: null;
|
|
2282
|
-
data: T;
|
|
2283
|
-
metadata: any;
|
|
2407
|
+
selectionMode?: 'multi-cell';
|
|
2408
|
+
cellSelection?: DataSourcePropCellSelection_MultiCell;
|
|
2409
|
+
defaultCellSelection?: DataSourcePropCellSelection_MultiCell;
|
|
2410
|
+
onCellSelectionChange?: DataSourcePropOnCellSelectionChange_MultiCell;
|
|
2284
2411
|
} | {
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
originalData: null;
|
|
2290
|
-
data: T;
|
|
2291
|
-
metadata: any;
|
|
2412
|
+
selectionMode?: false;
|
|
2413
|
+
}) & ({
|
|
2414
|
+
isNodeCollapsed?: DataSourcePropIsNodeExpanded<T>;
|
|
2415
|
+
isNodeExpanded?: never;
|
|
2292
2416
|
} | {
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
private affectedFields;
|
|
2299
|
-
private allFieldsAffected;
|
|
2300
|
-
private nodesKey;
|
|
2301
|
-
private primaryKeyToData;
|
|
2302
|
-
private nodePathToData;
|
|
2303
|
-
constructor(options: {
|
|
2304
|
-
nodesKey: string | undefined;
|
|
2305
|
-
});
|
|
2306
|
-
static clone<DataType, PrimaryKeyType = string>(cache: DataSourceCache<DataType, PrimaryKeyType>, { light }?: {
|
|
2307
|
-
light?: boolean;
|
|
2308
|
-
}): DataSourceCache<DataType, PrimaryKeyType>;
|
|
2309
|
-
getAffectedFields: () => true | Set<keyof DataType>;
|
|
2310
|
-
delete: (primaryKey: PrimaryKeyType, originalData: DataType, metadata: any) => void;
|
|
2311
|
-
deleteNodePath: (nodePath: NodePath$1<any>, originalData: DataType, metadata: any) => void;
|
|
2312
|
-
insert: (primaryKey: PrimaryKeyType, data: DataType, position: 'before' | 'after', metadata: any) => void;
|
|
2313
|
-
insertNodePath: (nodePath: NodePath$1<any>, data: DataType, position: 'before' | 'after', metadata: any) => void;
|
|
2314
|
-
update: (primaryKey: PrimaryKeyType, data: Partial<DataType>, originalData: DataType, metadata: any) => void;
|
|
2315
|
-
updateNodePath: (nodePath: NodePath$1<any>, data: Partial<DataType>, originalData: DataType, metadata: any) => void;
|
|
2316
|
-
updateChildren: (nodePath: NodePath$1<any>, children: UpdateChildrenFn<DataType>, originalData: DataType, metadata: any) => void;
|
|
2317
|
-
resetDataSource: (metadata: any) => void;
|
|
2318
|
-
shouldResetDataSource: () => boolean;
|
|
2319
|
-
clear: () => void;
|
|
2320
|
-
isEmpty: () => boolean;
|
|
2321
|
-
removeInfo: (primaryKey: PrimaryKeyType) => void;
|
|
2322
|
-
removeNodePathInfo: (nodePath: NodePath$1<any>) => void;
|
|
2323
|
-
getMutationsForPrimaryKey: (primaryKey: PrimaryKeyType) => DataSourceMutation<DataType>[] | undefined;
|
|
2324
|
-
getMutationsForNodePath: (nodePath: NodePath$1<any>) => DataSourceMutation<DataType>[] | undefined;
|
|
2325
|
-
getMutationsCount: () => number;
|
|
2326
|
-
getMutations: () => Map<PrimaryKeyType, DataSourceMutation<DataType>[]>;
|
|
2327
|
-
getTreeMutations: () => DeepMap<NodePath$1<any>, DataSourceMutation<DataType>[]>;
|
|
2328
|
-
getMutationsArray: () => DataSourceMutation<DataType>[];
|
|
2329
|
-
getTreeMutationsArray: () => DataSourceMutation<DataType>[];
|
|
2330
|
-
}
|
|
2417
|
+
isNodeExpanded?: DataSourcePropIsNodeExpanded<T>;
|
|
2418
|
+
isNodeCollapsed?: never;
|
|
2419
|
+
});
|
|
2420
|
+
type DataSourcePropsNotAvailableInTreeDataSource = keyof Pick<DataSourceProps<any>, 'groupBy' | 'defaultGroupBy' | 'nodesKey' | 'defaultGroupRowsState' | 'groupRowsState' | 'onGroupRowsStateChange' | 'onGroupByChange' | 'collapseGroupRowsOnDataFunctionChange' | 'livePagination' | 'onLivePaginationCursorChange' | 'groupMode' | 'filterFunction' | 'onPivotByChange' | 'pivotBy' | 'defaultPivotBy' | 'selectionMode' | 'rowSelection' | 'defaultRowSelection'>;
|
|
2421
|
+
type TreeDataSourceProps<T> = Omit<DataSourceProps<T>, DataSourcePropsNotAvailableInTreeDataSource> & TreeDataSourceOnlyProps<T>;
|
|
2331
2422
|
|
|
2332
2423
|
type ForceOptions = {
|
|
2333
2424
|
force?: boolean;
|
|
@@ -2506,8 +2597,6 @@ interface DataSourceMappedState<T> {
|
|
|
2506
2597
|
onNodeCollapse: TreeDataSourceProps<T>['onNodeCollapse'];
|
|
2507
2598
|
onNodeExpand: TreeDataSourceProps<T>['onNodeExpand'];
|
|
2508
2599
|
isRowDisabled: DataSourceProps<T>['isRowDisabled'];
|
|
2509
|
-
debugId: DataSourceProps<T>['debugId'];
|
|
2510
|
-
debugMode: DataSourceProps<T>['debugMode'];
|
|
2511
2600
|
nodesKey: NonUndefined<TreeDataSourceProps<T>['nodesKey']>;
|
|
2512
2601
|
treeSelection: TreeDataSourceProps<T>['treeSelection'];
|
|
2513
2602
|
batchOperationDelay: DataSourceProps<T>['batchOperationDelay'];
|
|
@@ -2579,7 +2668,13 @@ type LazyRowInfoGroup<DataType> = {
|
|
|
2579
2668
|
error?: string;
|
|
2580
2669
|
};
|
|
2581
2670
|
type LazyGroupDataDeepMap<DataType, KeyType = string> = DeepMap<KeyType, LazyRowInfoGroup<DataType>>;
|
|
2671
|
+
type DebugTimingKey = 'group-and-pivot' | 'filter' | 'sort' | 'pivot' | 'tree';
|
|
2582
2672
|
interface DataSourceSetupState<T> {
|
|
2673
|
+
logger: DebugLogger;
|
|
2674
|
+
forceRerenderTimestamp: number;
|
|
2675
|
+
devToolsDetected: boolean;
|
|
2676
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
2677
|
+
debugWarnings: Map<DataSourceDebugWarningKey, DebugWarningPayload>;
|
|
2583
2678
|
indexer: Indexer<T, any>;
|
|
2584
2679
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue | undefined>;
|
|
2585
2680
|
__apiRef: React$1.MutableRefObject<DataSourceApi<T> | null>;
|
|
@@ -2772,6 +2867,7 @@ interface DataSourceApi<T> {
|
|
|
2772
2867
|
disableAllRows: () => void;
|
|
2773
2868
|
areAllRowsEnabled: () => boolean;
|
|
2774
2869
|
areAllRowsDisabled: () => boolean;
|
|
2870
|
+
setGroupBy: (groupBy: DataSourceState<T>['groupBy']) => void;
|
|
2775
2871
|
}
|
|
2776
2872
|
type DataSourcePropRowInfoReducers<T> = Record<string, DataSourceRowInfoReducer<T>>;
|
|
2777
2873
|
type DataSourceRowInfoReducer<T> = DataSourceRawReducer<InfiniteTableRowInfo<T>, any>;
|
|
@@ -2783,7 +2879,6 @@ type TreeExpandStateValue = TreeExpandState | TreeExpandStateObject<any>;
|
|
|
2783
2879
|
type DataSourceProps<T> = {
|
|
2784
2880
|
nodesKey?: never;
|
|
2785
2881
|
debugId?: string;
|
|
2786
|
-
debugMode?: InfiniteTablePropDebugMode;
|
|
2787
2882
|
children?: React$1.ReactNode | ((contextData: DataSourceState<T>) => React$1.ReactNode);
|
|
2788
2883
|
primaryKey: keyof T | ((data: T) => string);
|
|
2789
2884
|
/**
|
|
@@ -2959,6 +3054,7 @@ type DataSourceCallback_BaseParam<T> = {
|
|
|
2959
3054
|
dataSourceApi: DataSourceApi<T>;
|
|
2960
3055
|
};
|
|
2961
3056
|
type DataSourceDerivedState<T> = {
|
|
3057
|
+
debugId: DataSourceProps<T>['debugId'];
|
|
2962
3058
|
isTree: boolean;
|
|
2963
3059
|
toPrimaryKey: (data: T) => any;
|
|
2964
3060
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<T>>>;
|
|
@@ -3102,6 +3198,26 @@ type InfiniteTableComponent = {
|
|
|
3102
3198
|
};
|
|
3103
3199
|
declare const InfiniteTable: InfiniteTableComponent;
|
|
3104
3200
|
|
|
3201
|
+
type DataSourceStateRestoreForDetail<T> = {
|
|
3202
|
+
originalDataArray: DataSourceState<T>['originalDataArray'] | undefined;
|
|
3203
|
+
groupBy: DataSourceState<T>['groupBy'] | undefined;
|
|
3204
|
+
groupRowsState: DataSourceState<T>['groupRowsState'] | undefined;
|
|
3205
|
+
pivotBy: DataSourceState<T>['pivotBy'] | undefined;
|
|
3206
|
+
sortInfo: DataSourceState<T>['sortInfo'] | undefined;
|
|
3207
|
+
filterValue: DataSourceState<T>['filterValue'] | undefined;
|
|
3208
|
+
livePaginationCursor: DataSourceState<T>['livePaginationCursor'] | undefined;
|
|
3209
|
+
};
|
|
3210
|
+
type RowDetailCacheKey = string | number;
|
|
3211
|
+
type RowDetailCacheEntry = {
|
|
3212
|
+
all?: boolean;
|
|
3213
|
+
groupBy?: boolean;
|
|
3214
|
+
sortInfo?: boolean;
|
|
3215
|
+
filterValue?: boolean;
|
|
3216
|
+
data?: boolean;
|
|
3217
|
+
livePaginationCursor?: boolean;
|
|
3218
|
+
columnOrder?: boolean;
|
|
3219
|
+
};
|
|
3220
|
+
|
|
3105
3221
|
declare const defaultFilterTypes: Record<string, DataSourceFilterType<any>>;
|
|
3106
3222
|
|
|
3107
3223
|
declare function useDataSourceState<T>(): DataSourceState<T>;
|
|
@@ -3109,6 +3225,11 @@ declare function useDataSourceState<T>(): DataSourceState<T>;
|
|
|
3109
3225
|
declare const useManagedDataSource: (props: object) => {
|
|
3110
3226
|
contextValue: {
|
|
3111
3227
|
componentState: {
|
|
3228
|
+
logger: DebugLogger;
|
|
3229
|
+
forceRerenderTimestamp: number;
|
|
3230
|
+
devToolsDetected: never;
|
|
3231
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
3232
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
3112
3233
|
indexer: Indexer<unknown, any>;
|
|
3113
3234
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3114
3235
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -3144,7 +3265,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3144
3265
|
};
|
|
3145
3266
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3146
3267
|
pivotMappings?: never;
|
|
3147
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
3268
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3148
3269
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3149
3270
|
dataParams?: never;
|
|
3150
3271
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3182,6 +3303,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3182
3303
|
postGroupDataArray?: never;
|
|
3183
3304
|
pivotColumns?: never;
|
|
3184
3305
|
pivotColumnGroups?: never;
|
|
3306
|
+
debugId: never;
|
|
3185
3307
|
isTree: never;
|
|
3186
3308
|
toPrimaryKey: (data: unknown) => any;
|
|
3187
3309
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -3213,8 +3335,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3213
3335
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
3214
3336
|
onNodeCollapse: never;
|
|
3215
3337
|
onNodeExpand: never;
|
|
3216
|
-
debugId: never;
|
|
3217
|
-
debugMode: never;
|
|
3218
3338
|
nodesKey: string;
|
|
3219
3339
|
treeSelection: never;
|
|
3220
3340
|
batchOperationDelay: never;
|
|
@@ -3242,6 +3362,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3242
3362
|
sortInfo: never;
|
|
3243
3363
|
rowDisabledState: never;
|
|
3244
3364
|
} & {
|
|
3365
|
+
logger: DebugLogger;
|
|
3366
|
+
forceRerenderTimestamp: number;
|
|
3367
|
+
devToolsDetected: never;
|
|
3368
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
3369
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
3245
3370
|
indexer: Indexer<unknown, any>;
|
|
3246
3371
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3247
3372
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -3277,7 +3402,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3277
3402
|
};
|
|
3278
3403
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3279
3404
|
pivotMappings?: never;
|
|
3280
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
3405
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3281
3406
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3282
3407
|
dataParams?: never;
|
|
3283
3408
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3315,6 +3440,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3315
3440
|
postGroupDataArray?: never;
|
|
3316
3441
|
pivotColumns?: never;
|
|
3317
3442
|
pivotColumnGroups?: never;
|
|
3443
|
+
debugId: never;
|
|
3318
3444
|
isTree: never;
|
|
3319
3445
|
toPrimaryKey: (data: unknown) => any;
|
|
3320
3446
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -3346,8 +3472,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3346
3472
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
3347
3473
|
onNodeCollapse: never;
|
|
3348
3474
|
onNodeExpand: never;
|
|
3349
|
-
debugId: never;
|
|
3350
|
-
debugMode: never;
|
|
3351
3475
|
nodesKey: string;
|
|
3352
3476
|
treeSelection: never;
|
|
3353
3477
|
batchOperationDelay: never;
|
|
@@ -3375,6 +3499,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3375
3499
|
sortInfo: never;
|
|
3376
3500
|
rowDisabledState: never;
|
|
3377
3501
|
} & {
|
|
3502
|
+
logger: DebugLogger;
|
|
3503
|
+
forceRerenderTimestamp: number;
|
|
3504
|
+
devToolsDetected: never;
|
|
3505
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
3506
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
3378
3507
|
indexer: Indexer<unknown, any>;
|
|
3379
3508
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3380
3509
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -3410,7 +3539,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3410
3539
|
};
|
|
3411
3540
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3412
3541
|
pivotMappings?: never;
|
|
3413
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
3542
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3414
3543
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3415
3544
|
dataParams?: never;
|
|
3416
3545
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3448,6 +3577,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3448
3577
|
postGroupDataArray?: never;
|
|
3449
3578
|
pivotColumns?: never;
|
|
3450
3579
|
pivotColumnGroups?: never;
|
|
3580
|
+
debugId: never;
|
|
3451
3581
|
isTree: never;
|
|
3452
3582
|
toPrimaryKey: (data: unknown) => any;
|
|
3453
3583
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -3479,8 +3609,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3479
3609
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
3480
3610
|
onNodeCollapse: never;
|
|
3481
3611
|
onNodeExpand: never;
|
|
3482
|
-
debugId: never;
|
|
3483
|
-
debugMode: never;
|
|
3484
3612
|
nodesKey: string;
|
|
3485
3613
|
treeSelection: never;
|
|
3486
3614
|
batchOperationDelay: never;
|
|
@@ -3509,6 +3637,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3509
3637
|
rowDisabledState: never;
|
|
3510
3638
|
};
|
|
3511
3639
|
componentActions: ComponentStateGeneratedActions<{
|
|
3640
|
+
logger: DebugLogger;
|
|
3641
|
+
forceRerenderTimestamp: number;
|
|
3642
|
+
devToolsDetected: never;
|
|
3643
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
3644
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
3512
3645
|
indexer: Indexer<unknown, any>;
|
|
3513
3646
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3514
3647
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -3544,7 +3677,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3544
3677
|
};
|
|
3545
3678
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3546
3679
|
pivotMappings?: never;
|
|
3547
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
3680
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3548
3681
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3549
3682
|
dataParams?: never;
|
|
3550
3683
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3582,6 +3715,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3582
3715
|
postGroupDataArray?: never;
|
|
3583
3716
|
pivotColumns?: never;
|
|
3584
3717
|
pivotColumnGroups?: never;
|
|
3718
|
+
debugId: never;
|
|
3585
3719
|
isTree: never;
|
|
3586
3720
|
toPrimaryKey: (data: unknown) => any;
|
|
3587
3721
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -3613,8 +3747,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3613
3747
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
3614
3748
|
onNodeCollapse: never;
|
|
3615
3749
|
onNodeExpand: never;
|
|
3616
|
-
debugId: never;
|
|
3617
|
-
debugMode: never;
|
|
3618
3750
|
nodesKey: string;
|
|
3619
3751
|
treeSelection: never;
|
|
3620
3752
|
batchOperationDelay: never;
|
|
@@ -3642,6 +3774,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3642
3774
|
sortInfo: never;
|
|
3643
3775
|
rowDisabledState: never;
|
|
3644
3776
|
} & {
|
|
3777
|
+
logger: DebugLogger;
|
|
3778
|
+
forceRerenderTimestamp: number;
|
|
3779
|
+
devToolsDetected: never;
|
|
3780
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
3781
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
3645
3782
|
indexer: Indexer<unknown, any>;
|
|
3646
3783
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3647
3784
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -3677,7 +3814,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3677
3814
|
};
|
|
3678
3815
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3679
3816
|
pivotMappings?: never;
|
|
3680
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
3817
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3681
3818
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3682
3819
|
dataParams?: never;
|
|
3683
3820
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3715,6 +3852,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3715
3852
|
postGroupDataArray?: never;
|
|
3716
3853
|
pivotColumns?: never;
|
|
3717
3854
|
pivotColumnGroups?: never;
|
|
3855
|
+
debugId: never;
|
|
3718
3856
|
isTree: never;
|
|
3719
3857
|
toPrimaryKey: (data: unknown) => any;
|
|
3720
3858
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -3746,8 +3884,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3746
3884
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
3747
3885
|
onNodeCollapse: never;
|
|
3748
3886
|
onNodeExpand: never;
|
|
3749
|
-
debugId: never;
|
|
3750
|
-
debugMode: never;
|
|
3751
3887
|
nodesKey: string;
|
|
3752
3888
|
treeSelection: never;
|
|
3753
3889
|
batchOperationDelay: never;
|
|
@@ -3775,6 +3911,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3775
3911
|
sortInfo: never;
|
|
3776
3912
|
rowDisabledState: never;
|
|
3777
3913
|
} & {
|
|
3914
|
+
logger: DebugLogger;
|
|
3915
|
+
forceRerenderTimestamp: number;
|
|
3916
|
+
devToolsDetected: never;
|
|
3917
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
3918
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
3778
3919
|
indexer: Indexer<unknown, any>;
|
|
3779
3920
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3780
3921
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -3810,7 +3951,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3810
3951
|
};
|
|
3811
3952
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3812
3953
|
pivotMappings?: never;
|
|
3813
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
3954
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3814
3955
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3815
3956
|
dataParams?: never;
|
|
3816
3957
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3848,6 +3989,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3848
3989
|
postGroupDataArray?: never;
|
|
3849
3990
|
pivotColumns?: never;
|
|
3850
3991
|
pivotColumnGroups?: never;
|
|
3992
|
+
debugId: never;
|
|
3851
3993
|
isTree: never;
|
|
3852
3994
|
toPrimaryKey: (data: unknown) => any;
|
|
3853
3995
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -3879,8 +4021,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3879
4021
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
3880
4022
|
onNodeCollapse: never;
|
|
3881
4023
|
onNodeExpand: never;
|
|
3882
|
-
debugId: never;
|
|
3883
|
-
debugMode: never;
|
|
3884
4024
|
nodesKey: string;
|
|
3885
4025
|
treeSelection: never;
|
|
3886
4026
|
batchOperationDelay: never;
|
|
@@ -3909,6 +4049,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3909
4049
|
rowDisabledState: never;
|
|
3910
4050
|
}>;
|
|
3911
4051
|
getComponentState: () => {
|
|
4052
|
+
logger: DebugLogger;
|
|
4053
|
+
forceRerenderTimestamp: number;
|
|
4054
|
+
devToolsDetected: never;
|
|
4055
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
4056
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
3912
4057
|
indexer: Indexer<unknown, any>;
|
|
3913
4058
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3914
4059
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -3944,7 +4089,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3944
4089
|
};
|
|
3945
4090
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3946
4091
|
pivotMappings?: never;
|
|
3947
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
4092
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3948
4093
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3949
4094
|
dataParams?: never;
|
|
3950
4095
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3982,6 +4127,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3982
4127
|
postGroupDataArray?: never;
|
|
3983
4128
|
pivotColumns?: never;
|
|
3984
4129
|
pivotColumnGroups?: never;
|
|
4130
|
+
debugId: never;
|
|
3985
4131
|
isTree: never;
|
|
3986
4132
|
toPrimaryKey: (data: unknown) => any;
|
|
3987
4133
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -4013,8 +4159,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4013
4159
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
4014
4160
|
onNodeCollapse: never;
|
|
4015
4161
|
onNodeExpand: never;
|
|
4016
|
-
debugId: never;
|
|
4017
|
-
debugMode: never;
|
|
4018
4162
|
nodesKey: string;
|
|
4019
4163
|
treeSelection: never;
|
|
4020
4164
|
batchOperationDelay: never;
|
|
@@ -4042,6 +4186,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4042
4186
|
sortInfo: never;
|
|
4043
4187
|
rowDisabledState: never;
|
|
4044
4188
|
} & {
|
|
4189
|
+
logger: DebugLogger;
|
|
4190
|
+
forceRerenderTimestamp: number;
|
|
4191
|
+
devToolsDetected: never;
|
|
4192
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
4193
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
4045
4194
|
indexer: Indexer<unknown, any>;
|
|
4046
4195
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4047
4196
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -4077,7 +4226,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4077
4226
|
};
|
|
4078
4227
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4079
4228
|
pivotMappings?: never;
|
|
4080
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
4229
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4081
4230
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4082
4231
|
dataParams?: never;
|
|
4083
4232
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4115,6 +4264,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4115
4264
|
postGroupDataArray?: never;
|
|
4116
4265
|
pivotColumns?: never;
|
|
4117
4266
|
pivotColumnGroups?: never;
|
|
4267
|
+
debugId: never;
|
|
4118
4268
|
isTree: never;
|
|
4119
4269
|
toPrimaryKey: (data: unknown) => any;
|
|
4120
4270
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -4146,8 +4296,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4146
4296
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
4147
4297
|
onNodeCollapse: never;
|
|
4148
4298
|
onNodeExpand: never;
|
|
4149
|
-
debugId: never;
|
|
4150
|
-
debugMode: never;
|
|
4151
4299
|
nodesKey: string;
|
|
4152
4300
|
treeSelection: never;
|
|
4153
4301
|
batchOperationDelay: never;
|
|
@@ -4175,6 +4323,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4175
4323
|
sortInfo: never;
|
|
4176
4324
|
rowDisabledState: never;
|
|
4177
4325
|
} & {
|
|
4326
|
+
logger: DebugLogger;
|
|
4327
|
+
forceRerenderTimestamp: number;
|
|
4328
|
+
devToolsDetected: never;
|
|
4329
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
4330
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
4178
4331
|
indexer: Indexer<unknown, any>;
|
|
4179
4332
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4180
4333
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -4210,7 +4363,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4210
4363
|
};
|
|
4211
4364
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4212
4365
|
pivotMappings?: never;
|
|
4213
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
4366
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4214
4367
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4215
4368
|
dataParams?: never;
|
|
4216
4369
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4248,6 +4401,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4248
4401
|
postGroupDataArray?: never;
|
|
4249
4402
|
pivotColumns?: never;
|
|
4250
4403
|
pivotColumnGroups?: never;
|
|
4404
|
+
debugId: never;
|
|
4251
4405
|
isTree: never;
|
|
4252
4406
|
toPrimaryKey: (data: unknown) => any;
|
|
4253
4407
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -4279,8 +4433,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4279
4433
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
4280
4434
|
onNodeCollapse: never;
|
|
4281
4435
|
onNodeExpand: never;
|
|
4282
|
-
debugId: never;
|
|
4283
|
-
debugMode: never;
|
|
4284
4436
|
nodesKey: string;
|
|
4285
4437
|
treeSelection: never;
|
|
4286
4438
|
batchOperationDelay: never;
|
|
@@ -4309,6 +4461,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4309
4461
|
rowDisabledState: never;
|
|
4310
4462
|
};
|
|
4311
4463
|
replaceState: (newState: {
|
|
4464
|
+
logger: DebugLogger;
|
|
4465
|
+
forceRerenderTimestamp: number;
|
|
4466
|
+
devToolsDetected: never;
|
|
4467
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
4468
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
4312
4469
|
indexer: Indexer<unknown, any>;
|
|
4313
4470
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4314
4471
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -4344,7 +4501,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4344
4501
|
};
|
|
4345
4502
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4346
4503
|
pivotMappings?: never;
|
|
4347
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
4504
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4348
4505
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4349
4506
|
dataParams?: never;
|
|
4350
4507
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4382,6 +4539,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4382
4539
|
postGroupDataArray?: never;
|
|
4383
4540
|
pivotColumns?: never;
|
|
4384
4541
|
pivotColumnGroups?: never;
|
|
4542
|
+
debugId: never;
|
|
4385
4543
|
isTree: never;
|
|
4386
4544
|
toPrimaryKey: (data: unknown) => any;
|
|
4387
4545
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -4413,8 +4571,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4413
4571
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
4414
4572
|
onNodeCollapse: never;
|
|
4415
4573
|
onNodeExpand: never;
|
|
4416
|
-
debugId: never;
|
|
4417
|
-
debugMode: never;
|
|
4418
4574
|
nodesKey: string;
|
|
4419
4575
|
treeSelection: never;
|
|
4420
4576
|
batchOperationDelay: never;
|
|
@@ -4442,6 +4598,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4442
4598
|
sortInfo: never;
|
|
4443
4599
|
rowDisabledState: never;
|
|
4444
4600
|
} & {
|
|
4601
|
+
logger: DebugLogger;
|
|
4602
|
+
forceRerenderTimestamp: number;
|
|
4603
|
+
devToolsDetected: never;
|
|
4604
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
4605
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
4445
4606
|
indexer: Indexer<unknown, any>;
|
|
4446
4607
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4447
4608
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -4477,7 +4638,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4477
4638
|
};
|
|
4478
4639
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4479
4640
|
pivotMappings?: never;
|
|
4480
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
4641
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4481
4642
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4482
4643
|
dataParams?: never;
|
|
4483
4644
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4515,6 +4676,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4515
4676
|
postGroupDataArray?: never;
|
|
4516
4677
|
pivotColumns?: never;
|
|
4517
4678
|
pivotColumnGroups?: never;
|
|
4679
|
+
debugId: never;
|
|
4518
4680
|
isTree: never;
|
|
4519
4681
|
toPrimaryKey: (data: unknown) => any;
|
|
4520
4682
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -4546,8 +4708,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4546
4708
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
4547
4709
|
onNodeCollapse: never;
|
|
4548
4710
|
onNodeExpand: never;
|
|
4549
|
-
debugId: never;
|
|
4550
|
-
debugMode: never;
|
|
4551
4711
|
nodesKey: string;
|
|
4552
4712
|
treeSelection: never;
|
|
4553
4713
|
batchOperationDelay: never;
|
|
@@ -4575,6 +4735,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4575
4735
|
sortInfo: never;
|
|
4576
4736
|
rowDisabledState: never;
|
|
4577
4737
|
} & {
|
|
4738
|
+
logger: DebugLogger;
|
|
4739
|
+
forceRerenderTimestamp: number;
|
|
4740
|
+
devToolsDetected: never;
|
|
4741
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
4742
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
4578
4743
|
indexer: Indexer<unknown, any>;
|
|
4579
4744
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4580
4745
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -4610,7 +4775,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4610
4775
|
};
|
|
4611
4776
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4612
4777
|
pivotMappings?: never;
|
|
4613
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
4778
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4614
4779
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4615
4780
|
dataParams?: never;
|
|
4616
4781
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4648,6 +4813,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4648
4813
|
postGroupDataArray?: never;
|
|
4649
4814
|
pivotColumns?: never;
|
|
4650
4815
|
pivotColumnGroups?: never;
|
|
4816
|
+
debugId: never;
|
|
4651
4817
|
isTree: never;
|
|
4652
4818
|
toPrimaryKey: (data: unknown) => any;
|
|
4653
4819
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -4679,8 +4845,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4679
4845
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
4680
4846
|
onNodeCollapse: never;
|
|
4681
4847
|
onNodeExpand: never;
|
|
4682
|
-
debugId: never;
|
|
4683
|
-
debugMode: never;
|
|
4684
4848
|
nodesKey: string;
|
|
4685
4849
|
treeSelection: never;
|
|
4686
4850
|
batchOperationDelay: never;
|
|
@@ -4709,6 +4873,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4709
4873
|
rowDisabledState: never;
|
|
4710
4874
|
}) => void;
|
|
4711
4875
|
assignState: (newState: Partial<{
|
|
4876
|
+
logger: DebugLogger;
|
|
4877
|
+
forceRerenderTimestamp: number;
|
|
4878
|
+
devToolsDetected: never;
|
|
4879
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
4880
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
4712
4881
|
indexer: Indexer<unknown, any>;
|
|
4713
4882
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4714
4883
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -4744,7 +4913,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4744
4913
|
};
|
|
4745
4914
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4746
4915
|
pivotMappings?: never;
|
|
4747
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
4916
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4748
4917
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4749
4918
|
dataParams?: never;
|
|
4750
4919
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4782,6 +4951,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4782
4951
|
postGroupDataArray?: never;
|
|
4783
4952
|
pivotColumns?: never;
|
|
4784
4953
|
pivotColumnGroups?: never;
|
|
4954
|
+
debugId: never;
|
|
4785
4955
|
isTree: never;
|
|
4786
4956
|
toPrimaryKey: (data: unknown) => any;
|
|
4787
4957
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -4813,8 +4983,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4813
4983
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
4814
4984
|
onNodeCollapse: never;
|
|
4815
4985
|
onNodeExpand: never;
|
|
4816
|
-
debugId: never;
|
|
4817
|
-
debugMode: never;
|
|
4818
4986
|
nodesKey: string;
|
|
4819
4987
|
treeSelection: never;
|
|
4820
4988
|
batchOperationDelay: never;
|
|
@@ -4842,6 +5010,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4842
5010
|
sortInfo: never;
|
|
4843
5011
|
rowDisabledState: never;
|
|
4844
5012
|
} & {
|
|
5013
|
+
logger: DebugLogger;
|
|
5014
|
+
forceRerenderTimestamp: number;
|
|
5015
|
+
devToolsDetected: never;
|
|
5016
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
5017
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
4845
5018
|
indexer: Indexer<unknown, any>;
|
|
4846
5019
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4847
5020
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -4877,7 +5050,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4877
5050
|
};
|
|
4878
5051
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4879
5052
|
pivotMappings?: never;
|
|
4880
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
5053
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4881
5054
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4882
5055
|
dataParams?: never;
|
|
4883
5056
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4915,6 +5088,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4915
5088
|
postGroupDataArray?: never;
|
|
4916
5089
|
pivotColumns?: never;
|
|
4917
5090
|
pivotColumnGroups?: never;
|
|
5091
|
+
debugId: never;
|
|
4918
5092
|
isTree: never;
|
|
4919
5093
|
toPrimaryKey: (data: unknown) => any;
|
|
4920
5094
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -4946,8 +5120,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4946
5120
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
4947
5121
|
onNodeCollapse: never;
|
|
4948
5122
|
onNodeExpand: never;
|
|
4949
|
-
debugId: never;
|
|
4950
|
-
debugMode: never;
|
|
4951
5123
|
nodesKey: string;
|
|
4952
5124
|
treeSelection: never;
|
|
4953
5125
|
batchOperationDelay: never;
|
|
@@ -4975,6 +5147,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4975
5147
|
sortInfo: never;
|
|
4976
5148
|
rowDisabledState: never;
|
|
4977
5149
|
} & {
|
|
5150
|
+
logger: DebugLogger;
|
|
5151
|
+
forceRerenderTimestamp: number;
|
|
5152
|
+
devToolsDetected: never;
|
|
5153
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
5154
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
4978
5155
|
indexer: Indexer<unknown, any>;
|
|
4979
5156
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4980
5157
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -5010,7 +5187,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5010
5187
|
};
|
|
5011
5188
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5012
5189
|
pivotMappings?: never;
|
|
5013
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
5190
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5014
5191
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5015
5192
|
dataParams?: never;
|
|
5016
5193
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5048,6 +5225,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5048
5225
|
postGroupDataArray?: never;
|
|
5049
5226
|
pivotColumns?: never;
|
|
5050
5227
|
pivotColumnGroups?: never;
|
|
5228
|
+
debugId: never;
|
|
5051
5229
|
isTree: never;
|
|
5052
5230
|
toPrimaryKey: (data: unknown) => any;
|
|
5053
5231
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -5079,8 +5257,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5079
5257
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
5080
5258
|
onNodeCollapse: never;
|
|
5081
5259
|
onNodeExpand: never;
|
|
5082
|
-
debugId: never;
|
|
5083
|
-
debugMode: never;
|
|
5084
5260
|
nodesKey: string;
|
|
5085
5261
|
treeSelection: never;
|
|
5086
5262
|
batchOperationDelay: never;
|
|
@@ -5110,6 +5286,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5110
5286
|
}>) => void;
|
|
5111
5287
|
};
|
|
5112
5288
|
ContextComponent: React$1.Context<ManagedComponentStateContextValue<{
|
|
5289
|
+
logger: DebugLogger;
|
|
5290
|
+
forceRerenderTimestamp: number;
|
|
5291
|
+
devToolsDetected: never;
|
|
5292
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
5293
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
5113
5294
|
indexer: Indexer<unknown, any>;
|
|
5114
5295
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
5115
5296
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -5145,7 +5326,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5145
5326
|
};
|
|
5146
5327
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5147
5328
|
pivotMappings?: never;
|
|
5148
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
5329
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5149
5330
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5150
5331
|
dataParams?: never;
|
|
5151
5332
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5183,6 +5364,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5183
5364
|
postGroupDataArray?: never;
|
|
5184
5365
|
pivotColumns?: never;
|
|
5185
5366
|
pivotColumnGroups?: never;
|
|
5367
|
+
debugId: never;
|
|
5186
5368
|
isTree: never;
|
|
5187
5369
|
toPrimaryKey: (data: unknown) => any;
|
|
5188
5370
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -5214,8 +5396,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5214
5396
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
5215
5397
|
onNodeCollapse: never;
|
|
5216
5398
|
onNodeExpand: never;
|
|
5217
|
-
debugId: never;
|
|
5218
|
-
debugMode: never;
|
|
5219
5399
|
nodesKey: string;
|
|
5220
5400
|
treeSelection: never;
|
|
5221
5401
|
batchOperationDelay: never;
|
|
@@ -5243,6 +5423,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5243
5423
|
sortInfo: never;
|
|
5244
5424
|
rowDisabledState: never;
|
|
5245
5425
|
} & {
|
|
5426
|
+
logger: DebugLogger;
|
|
5427
|
+
forceRerenderTimestamp: number;
|
|
5428
|
+
devToolsDetected: never;
|
|
5429
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
5430
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
5246
5431
|
indexer: Indexer<unknown, any>;
|
|
5247
5432
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
5248
5433
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -5278,7 +5463,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5278
5463
|
};
|
|
5279
5464
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5280
5465
|
pivotMappings?: never;
|
|
5281
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
5466
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5282
5467
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5283
5468
|
dataParams?: never;
|
|
5284
5469
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5316,6 +5501,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5316
5501
|
postGroupDataArray?: never;
|
|
5317
5502
|
pivotColumns?: never;
|
|
5318
5503
|
pivotColumnGroups?: never;
|
|
5504
|
+
debugId: never;
|
|
5319
5505
|
isTree: never;
|
|
5320
5506
|
toPrimaryKey: (data: unknown) => any;
|
|
5321
5507
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -5347,8 +5533,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5347
5533
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
5348
5534
|
onNodeCollapse: never;
|
|
5349
5535
|
onNodeExpand: never;
|
|
5350
|
-
debugId: never;
|
|
5351
|
-
debugMode: never;
|
|
5352
5536
|
nodesKey: string;
|
|
5353
5537
|
treeSelection: never;
|
|
5354
5538
|
batchOperationDelay: never;
|
|
@@ -5376,6 +5560,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5376
5560
|
sortInfo: never;
|
|
5377
5561
|
rowDisabledState: never;
|
|
5378
5562
|
} & {
|
|
5563
|
+
logger: DebugLogger;
|
|
5564
|
+
forceRerenderTimestamp: number;
|
|
5565
|
+
devToolsDetected: never;
|
|
5566
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
5567
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
5379
5568
|
indexer: Indexer<unknown, any>;
|
|
5380
5569
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
5381
5570
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -5411,7 +5600,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5411
5600
|
};
|
|
5412
5601
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5413
5602
|
pivotMappings?: never;
|
|
5414
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
5603
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5415
5604
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5416
5605
|
dataParams?: never;
|
|
5417
5606
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5449,6 +5638,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5449
5638
|
postGroupDataArray?: never;
|
|
5450
5639
|
pivotColumns?: never;
|
|
5451
5640
|
pivotColumnGroups?: never;
|
|
5641
|
+
debugId: never;
|
|
5452
5642
|
isTree: never;
|
|
5453
5643
|
toPrimaryKey: (data: unknown) => any;
|
|
5454
5644
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -5480,8 +5670,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5480
5670
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
5481
5671
|
onNodeCollapse: never;
|
|
5482
5672
|
onNodeExpand: never;
|
|
5483
|
-
debugId: never;
|
|
5484
|
-
debugMode: never;
|
|
5485
5673
|
nodesKey: string;
|
|
5486
5674
|
treeSelection: never;
|
|
5487
5675
|
batchOperationDelay: never;
|
|
@@ -5509,6 +5697,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5509
5697
|
sortInfo: never;
|
|
5510
5698
|
rowDisabledState: never;
|
|
5511
5699
|
}, ComponentStateGeneratedActions<{
|
|
5700
|
+
logger: DebugLogger;
|
|
5701
|
+
forceRerenderTimestamp: number;
|
|
5702
|
+
devToolsDetected: never;
|
|
5703
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
5704
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
5512
5705
|
indexer: Indexer<unknown, any>;
|
|
5513
5706
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
5514
5707
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -5544,7 +5737,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5544
5737
|
};
|
|
5545
5738
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5546
5739
|
pivotMappings?: never;
|
|
5547
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
5740
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5548
5741
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5549
5742
|
dataParams?: never;
|
|
5550
5743
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5582,6 +5775,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5582
5775
|
postGroupDataArray?: never;
|
|
5583
5776
|
pivotColumns?: never;
|
|
5584
5777
|
pivotColumnGroups?: never;
|
|
5778
|
+
debugId: never;
|
|
5585
5779
|
isTree: never;
|
|
5586
5780
|
toPrimaryKey: (data: unknown) => any;
|
|
5587
5781
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -5613,8 +5807,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5613
5807
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
5614
5808
|
onNodeCollapse: never;
|
|
5615
5809
|
onNodeExpand: never;
|
|
5616
|
-
debugId: never;
|
|
5617
|
-
debugMode: never;
|
|
5618
5810
|
nodesKey: string;
|
|
5619
5811
|
treeSelection: never;
|
|
5620
5812
|
batchOperationDelay: never;
|
|
@@ -5642,6 +5834,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5642
5834
|
sortInfo: never;
|
|
5643
5835
|
rowDisabledState: never;
|
|
5644
5836
|
} & {
|
|
5837
|
+
logger: DebugLogger;
|
|
5838
|
+
forceRerenderTimestamp: number;
|
|
5839
|
+
devToolsDetected: never;
|
|
5840
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
5841
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
5645
5842
|
indexer: Indexer<unknown, any>;
|
|
5646
5843
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
5647
5844
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -5677,7 +5874,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5677
5874
|
};
|
|
5678
5875
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5679
5876
|
pivotMappings?: never;
|
|
5680
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
5877
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5681
5878
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5682
5879
|
dataParams?: never;
|
|
5683
5880
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5715,6 +5912,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5715
5912
|
postGroupDataArray?: never;
|
|
5716
5913
|
pivotColumns?: never;
|
|
5717
5914
|
pivotColumnGroups?: never;
|
|
5915
|
+
debugId: never;
|
|
5718
5916
|
isTree: never;
|
|
5719
5917
|
toPrimaryKey: (data: unknown) => any;
|
|
5720
5918
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -5746,8 +5944,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5746
5944
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
5747
5945
|
onNodeCollapse: never;
|
|
5748
5946
|
onNodeExpand: never;
|
|
5749
|
-
debugId: never;
|
|
5750
|
-
debugMode: never;
|
|
5751
5947
|
nodesKey: string;
|
|
5752
5948
|
treeSelection: never;
|
|
5753
5949
|
batchOperationDelay: never;
|
|
@@ -5775,6 +5971,11 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5775
5971
|
sortInfo: never;
|
|
5776
5972
|
rowDisabledState: never;
|
|
5777
5973
|
} & {
|
|
5974
|
+
logger: DebugLogger;
|
|
5975
|
+
forceRerenderTimestamp: number;
|
|
5976
|
+
devToolsDetected: never;
|
|
5977
|
+
debugTimings: Map<DebugTimingKey, number>;
|
|
5978
|
+
debugWarnings: Map<"DS001", DebugWarningPayload>;
|
|
5778
5979
|
indexer: Indexer<unknown, any>;
|
|
5779
5980
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
5780
5981
|
__apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
|
|
@@ -5810,7 +6011,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5810
6011
|
};
|
|
5811
6012
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5812
6013
|
pivotMappings?: never;
|
|
5813
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "
|
|
6014
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "debugId" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5814
6015
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5815
6016
|
dataParams?: never;
|
|
5816
6017
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5848,6 +6049,7 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5848
6049
|
postGroupDataArray?: never;
|
|
5849
6050
|
pivotColumns?: never;
|
|
5850
6051
|
pivotColumnGroups?: never;
|
|
6052
|
+
debugId: never;
|
|
5851
6053
|
isTree: never;
|
|
5852
6054
|
toPrimaryKey: (data: unknown) => any;
|
|
5853
6055
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
@@ -5879,8 +6081,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5879
6081
|
isNodeSelectable: DataSourcePropIsNodeSelectable<unknown>;
|
|
5880
6082
|
onNodeCollapse: never;
|
|
5881
6083
|
onNodeExpand: never;
|
|
5882
|
-
debugId: never;
|
|
5883
|
-
debugMode: never;
|
|
5884
6084
|
nodesKey: string;
|
|
5885
6085
|
treeSelection: never;
|
|
5886
6086
|
batchOperationDelay: never;
|
|
@@ -6031,6 +6231,7 @@ type InfiniteTableRowInfoDataDiscriminator_RowInfoGroup<T> = {
|
|
|
6031
6231
|
rowDetailState: false | 'expanded' | 'collapsed';
|
|
6032
6232
|
isGroupRow: true;
|
|
6033
6233
|
isTreeNode: false;
|
|
6234
|
+
isParentNode: false;
|
|
6034
6235
|
field?: keyof T;
|
|
6035
6236
|
value: any;
|
|
6036
6237
|
rawValue: any;
|
|
@@ -6729,6 +6930,7 @@ interface InfiniteTableApi<T> {
|
|
|
6729
6930
|
getState: () => InfiniteTableState<T>;
|
|
6730
6931
|
getDataSourceState: () => DataSourceState<T>;
|
|
6731
6932
|
focus: () => void;
|
|
6933
|
+
setGroupRenderStrategy: (groupRenderStrategy: InfiniteTablePropGroupRenderStrategy) => void;
|
|
6732
6934
|
}
|
|
6733
6935
|
type InfiniteTablePropVirtualizeColumns<T> = boolean | ((columns: InfiniteTableComputedColumn<T>[]) => boolean);
|
|
6734
6936
|
type InfiniteTablePropColumns<T, ColumnType = InfiniteTableColumn<T>> = Record<string, ColumnType>;
|
|
@@ -6831,7 +7033,6 @@ type InfiniteTablePropKeyboardShorcut = {
|
|
|
6831
7033
|
stopNext: boolean;
|
|
6832
7034
|
} | Promise<any>;
|
|
6833
7035
|
};
|
|
6834
|
-
type InfiniteTablePropDebugMode = boolean;
|
|
6835
7036
|
type InfiniteTablePropOnCellDoubleClickResult = Partial<{
|
|
6836
7037
|
preventEdit: boolean;
|
|
6837
7038
|
}>;
|
|
@@ -6850,7 +7051,6 @@ interface InfiniteTableProps<T> {
|
|
|
6850
7051
|
loadingText?: Renderable;
|
|
6851
7052
|
components?: InfiniteTablePropComponents<T>;
|
|
6852
7053
|
wrapRowsHorizontally?: boolean;
|
|
6853
|
-
debugMode?: InfiniteTablePropDebugMode;
|
|
6854
7054
|
keyboardShortcuts?: InfiniteTablePropKeyboardShorcut[];
|
|
6855
7055
|
repeatWrappedGroupRows?: InfiniteTablePropRepeatWrappedGroupRows<T>;
|
|
6856
7056
|
viewportReservedWidth?: number;
|
|
@@ -7012,6 +7212,8 @@ interface InfiniteTableProps<T> {
|
|
|
7012
7212
|
columnOrder?: InfiniteTablePropColumnOrder;
|
|
7013
7213
|
onColumnOrderChange?: (columnOrder: InfiniteTablePropColumnOrderNormalized) => void;
|
|
7014
7214
|
onRowHeightChange?: (rowHeight: number) => void;
|
|
7215
|
+
onRowMouseEnter?: (context: InfiniteTableRowContext<T>, event: React$1.MouseEvent) => void;
|
|
7216
|
+
onRowMouseLeave?: (context: InfiniteTableRowContext<T>, event: React$1.MouseEvent) => void;
|
|
7015
7217
|
onReady?: ({ api, dataSourceApi, }: {
|
|
7016
7218
|
api: InfiniteTableApi<T>;
|
|
7017
7219
|
dataSourceApi: DataSourceApi<T>;
|
|
@@ -7123,7 +7325,8 @@ declare class DataQuery {
|
|
|
7123
7325
|
private doneAt;
|
|
7124
7326
|
private pendingPromise;
|
|
7125
7327
|
debugName: string;
|
|
7126
|
-
|
|
7328
|
+
private logger;
|
|
7329
|
+
constructor(debugName: string);
|
|
7127
7330
|
fetch: (loadFn: DataQueryFn, ...key: DataQueryKey[]) => Promise<DataQuerySnapshot>;
|
|
7128
7331
|
getCurrentSnapshot: () => DataQuerySnapshot;
|
|
7129
7332
|
getDoneSnapshot: () => Promise<DataQuerySnapshot>;
|
|
@@ -7245,4 +7448,4 @@ declare const components: {
|
|
|
7245
7448
|
NumberFilterEditor: typeof NumberFilterEditor;
|
|
7246
7449
|
};
|
|
7247
7450
|
|
|
7248
|
-
export { AdvancedAlignable, CellSelectionState, CellSelectionStateObject, ColumnTypeWithInherit, DataClient, DataSource, DataSourceAction, DataSourceActionType, DataSourceAggregationReducer, DataSourceApi, DataSourceCRUDParam, DataSourceCallback_BaseParam, DataSourceComponentActions, DataSourceContextValue, DataSourceData, DataSourceDataParams, DataSourceDataParamsChanges, DataSourceDerivedState, DataSourceFilterFunctionParam, DataSourceFilterOperator, DataSourceFilterOperatorFunction, DataSourceFilterOperatorFunctionParam, DataSourceFilterType, DataSourceFilterValueItem, DataSourceFilterValueItemValueGetter, DataSourceGroupBy, DataSourceGroupRowsList, DataSourceInsertParam, DataSourceLivePaginationCursorFn, DataSourceLivePaginationCursorParams, DataSourceLivePaginationCursorValue, DataSourceMappedState, DataSourceMappings, DataSourceMasterDetailContextValue, DataSourcePivotBy, DataSourcePropAggregationReducers, DataSourcePropCellSelection, DataSourcePropCellSelection_MultiCell, DataSourcePropCellSelection_SingleCell, DataSourcePropFilterFunction, DataSourcePropFilterTypes, DataSourcePropFilterValue, DataSourcePropGroupBy, DataSourcePropGroupRowsStateObject, DataSourcePropIsNodeExpanded, DataSourcePropIsNodeReadOnly, DataSourcePropIsNodeSelectable, DataSourcePropIsNodeSelected, DataSourcePropIsRowSelected, DataSourcePropLivePaginationCursor, DataSourcePropMultiRowSelectionChangeParamType, DataSourcePropOnCellSelectionChange, DataSourcePropOnCellSelectionChange_MultiCell, DataSourcePropOnCellSelectionChange_SingleCell, DataSourcePropOnRowSelectionChange, DataSourcePropOnRowSelectionChange_MultiRow, DataSourcePropOnRowSelectionChange_SingleRow, DataSourcePropOnTreeSelectionChange, DataSourcePropOnTreeSelectionChange_MultiNode, DataSourcePropOnTreeSelectionChange_SingleNode, DataSourcePropPivotBy, DataSourcePropRowInfoReducers, DataSourcePropRowSelection, DataSourcePropRowSelection_MultiRow, DataSourcePropRowSelection_SingleRow, DataSourcePropSelectionMode, DataSourcePropShouldReloadData, DataSourcePropShouldReloadDataObject, DataSourcePropSortFn, DataSourcePropSortInfo, DataSourcePropSortTypes, DataSourcePropTreeFilterFunction, DataSourcePropTreeSelection, DataSourcePropTreeSelection_MultiNode, DataSourcePropTreeSelection_SingleNode, DataSourceProps, DataSourcePropsNotAvailableInTreeDataSource, DataSourcePropsWithChildren, DataSourceRawReducer, DataSourceRemoteData, DataSourceRowInfoReducer, DataSourceSetupState, DataSourceSingleSortInfo, DataSourceSortInfo, DataSourceState, DataSourceUpdateParam, DebugLogger, DeepMap, ElementContainerGetter, FixedSizeSet, FlashingColumnCell, GroupRowsState, InfiniteColumnEditorContextType, InfiniteTable, InfiniteTableAction, InfiniteTableActionType, InfiniteTableApi, InfiniteTableCellSelectionApi, InfiniteTableClassName, InfiniteTableColumn, InfiniteTableColumnAggregator, InfiniteTableColumnApi, InfiniteTableColumnCellContextType, InfiniteTableColumnComparer, InfiniteTableColumnGroup, InfiniteTableColumnRenderFunctionForGroupRows, InfiniteTableColumnRenderFunctionForNormalRows, InfiniteTableColumnRenderValueParam, InfiniteTableColumnRowspanParam, InfiniteTableColumnSizingOptions, InfiniteTableColumnValueFormatterParams, InfiniteTableColumnValueGetterParams, InfiniteTableComponent, InfiniteTableComputedColumn, InfiniteTableComputedValues, InfiniteTableContextValue, InfiniteTableGroupColumnBase, InfiniteTableGroupColumnFunction, InfiniteTableGroupColumnGetterOptions, InfiniteTableKeyboardNavigationApi, InfiniteTablePivotColumn, InfiniteTablePropAutoSizeColumnsKey, InfiniteTablePropColumnGroupVisibility, InfiniteTablePropColumnGroups, InfiniteTablePropColumnOrder, InfiniteTablePropColumnPinning, InfiniteTablePropColumnSizing, InfiniteTablePropColumnTypes, InfiniteTablePropColumnVisibility, InfiniteTablePropColumns, InfiniteTablePropComponents, InfiniteTablePropGetCellContextMenuItems, InfiniteTablePropGetColumnMenuItems, InfiniteTablePropGetContextMenuItems, InfiniteTablePropGroupColumn, InfiniteTablePropGroupRenderStrategy, InfiniteTablePropHeaderOptions, InfiniteTablePropKeyboardNavigation, InfiniteTablePropKeyboardShorcut, InfiniteTablePropMultiSortBehavior, InfiniteTablePropRowClassName, InfiniteTablePropRowStyle, InfiniteTableProps, InfiniteTablePropsNotAvailableInTreeGrid, InfiniteTableRowClassNameFn, InfiniteTableRowDetailApi, InfiniteTableRowInfo, InfiniteTableRowSelectionApi, InfiniteTableRowStyleFn, InfiniteTableState, InfiniteTable_HasGrouping_RowInfoGroup, InfiniteTable_HasGrouping_RowInfoNormal, InfiniteTable_Tree_RowInfoLeafNode, InfiniteTable_Tree_RowInfoNode, InfiniteTable_Tree_RowInfoParentNode, LazyGroupDataDeepMap, LazyGroupDataItem, LazyRowInfoGroup, Menu, MenuChildrenFnParam, MenuColumn, MenuColumnRenderParam, MenuDecoration, MenuIconProps, MenuItemActionContext, MenuItemDefinition, MenuItemObject, MenuProps, MenuRenderable, MenuRuntimeItem, MenuRuntimeItemSelectable, MenuSeparator, OverlayShowParams, RowDetailCache, RowDetailState, RowDetailStateObject, RowDisabledState, RowDisabledStateObject, RowSelectionState, ScrollStopInfo, Scrollbars, ShowOverlayFn, TableRenderRange, TreeDataSource, TreeDataSourceProps, TreeExpandState, TreeExpandStateValue, TreeGrid, TreeGridOnlyProps, TreeGridProps, TreeSelectionState, TreeSelectionValue, UpdateChildrenFn, UpdateOverlayContentFn, WaitForNodeOptions, WeakFixedSizeSet, alignNode, components, createFlashingColumnCellComponent, debounce, debug, defaultFilterTypes, eventMatchesKeyboardShortcut, defaultFilterTypes as filterTypes, flatten, buildManagedComponent as getComponentStateRoot, group, interceptMap, keyboardShortcuts, multisort, multisortNested, queryKeyToCacheKey, toTreeDataArray, useManagedComponentState as useComponentState, useDataSourceInternal, useDataSourceState, useEffectWhen, useEffectWhenSameDeps, useEffectWithChanges, useEffectWithObject, useGridScroll, useInfiniteColumnCell, useInfiniteColumnEditor, useInfiniteColumnFilterEditor, useInfiniteHeaderCell, useInfinitePortalContainer, useManagedDataSource, useMasterRowInfo, useOverlay, useOverlayPortal, usePrevious, useRowInfoReducers, useVisibleColumnSizes };
|
|
7451
|
+
export { AdvancedAlignable, CellSelectionState, CellSelectionStateObject, ColumnTypeWithInherit, DataClient, DataSource, DataSourceAction, DataSourceActionType, DataSourceAggregationReducer, DataSourceApi, DataSourceCRUDParam, DataSourceCallback_BaseParam, DataSourceComponentActions, DataSourceContextValue, DataSourceData, DataSourceDataParams, DataSourceDataParamsChanges, DataSourceDebugWarningKey, DataSourceDerivedState, DataSourceFilterFunctionParam, DataSourceFilterOperator, DataSourceFilterOperatorFunction, DataSourceFilterOperatorFunctionParam, DataSourceFilterType, DataSourceFilterValueItem, DataSourceFilterValueItemValueGetter, DataSourceGroupBy, DataSourceGroupRowsList, DataSourceInsertParam, DataSourceLivePaginationCursorFn, DataSourceLivePaginationCursorParams, DataSourceLivePaginationCursorValue, DataSourceMappedState, DataSourceMappings, DataSourceMasterDetailContextValue, DataSourcePivotBy, DataSourcePropAggregationReducers, DataSourcePropCellSelection, DataSourcePropCellSelection_MultiCell, DataSourcePropCellSelection_SingleCell, DataSourcePropFilterFunction, DataSourcePropFilterTypes, DataSourcePropFilterValue, DataSourcePropGroupBy, DataSourcePropGroupRowsStateObject, DataSourcePropIsNodeExpanded, DataSourcePropIsNodeReadOnly, DataSourcePropIsNodeSelectable, DataSourcePropIsNodeSelected, DataSourcePropIsRowSelected, DataSourcePropLivePaginationCursor, DataSourcePropMultiRowSelectionChangeParamType, DataSourcePropOnCellSelectionChange, DataSourcePropOnCellSelectionChange_MultiCell, DataSourcePropOnCellSelectionChange_SingleCell, DataSourcePropOnRowSelectionChange, DataSourcePropOnRowSelectionChange_MultiRow, DataSourcePropOnRowSelectionChange_SingleRow, DataSourcePropOnTreeSelectionChange, DataSourcePropOnTreeSelectionChange_MultiNode, DataSourcePropOnTreeSelectionChange_SingleNode, DataSourcePropPivotBy, DataSourcePropRowInfoReducers, DataSourcePropRowSelection, DataSourcePropRowSelection_MultiRow, DataSourcePropRowSelection_SingleRow, DataSourcePropSelectionMode, DataSourcePropShouldReloadData, DataSourcePropShouldReloadDataObject, DataSourcePropSortFn, DataSourcePropSortInfo, DataSourcePropSortTypes, DataSourcePropTreeFilterFunction, DataSourcePropTreeSelection, DataSourcePropTreeSelection_MultiNode, DataSourcePropTreeSelection_SingleNode, DataSourceProps, DataSourcePropsNotAvailableInTreeDataSource, DataSourcePropsWithChildren, DataSourceRawReducer, DataSourceRemoteData, DataSourceRowInfoReducer, DataSourceSetupState, DataSourceSingleSortInfo, DataSourceSortInfo, DataSourceState, DataSourceUpdateParam, DebugLogger, DebugTimingKey, DebugWarningPayload, DeepMap, DevToolsDataSourceOverrides, DevToolsGenericMessage, DevToolsHookFn, DevToolsHookFnOptions, DevToolsHostPageLogMessage, DevToolsHostPageLogMessagePayload, DevToolsHostPageMessage, DevToolsHostPageMessagePayload, DevToolsHostPageMessageType, DevToolsInfiniteOverrides, DevToolsMessageAddress, DevToolsOverrides, ElementContainerGetter, ErrorCodeKey, FixedSizeSet, FlashingColumnCell, GroupRowsState, InfiniteColumnEditorContextType, InfiniteTable, InfiniteTableAction, InfiniteTableActionType, InfiniteTableApi, InfiniteTableCellSelectionApi, InfiniteTableClassName, InfiniteTableColumn, InfiniteTableColumnAggregator, InfiniteTableColumnApi, InfiniteTableColumnCellContextType, InfiniteTableColumnComparer, InfiniteTableColumnGroup, InfiniteTableColumnRenderFunctionForGroupRows, InfiniteTableColumnRenderFunctionForNormalRows, InfiniteTableColumnRenderValueParam, InfiniteTableColumnRowspanParam, InfiniteTableColumnSizingOptions, InfiniteTableColumnValueFormatterParams, InfiniteTableColumnValueGetterParams, InfiniteTableComponent, InfiniteTableComputedColumn, InfiniteTableComputedValues, InfiniteTableContextValue, InfiniteTableDebugWarningKey, InfiniteTableGroupColumnBase, InfiniteTableGroupColumnFunction, InfiniteTableGroupColumnGetterOptions, InfiniteTableKeyboardNavigationApi, InfiniteTablePivotColumn, InfiniteTablePropAutoSizeColumnsKey, InfiniteTablePropColumnGroupVisibility, InfiniteTablePropColumnGroups, InfiniteTablePropColumnOrder, InfiniteTablePropColumnPinning, InfiniteTablePropColumnSizing, InfiniteTablePropColumnTypes, InfiniteTablePropColumnVisibility, InfiniteTablePropColumns, InfiniteTablePropComponents, InfiniteTablePropGetCellContextMenuItems, InfiniteTablePropGetColumnMenuItems, InfiniteTablePropGetContextMenuItems, InfiniteTablePropGroupColumn, InfiniteTablePropGroupRenderStrategy, InfiniteTablePropHeaderOptions, InfiniteTablePropKeyboardNavigation, InfiniteTablePropKeyboardShorcut, InfiniteTablePropMultiSortBehavior, InfiniteTablePropRowClassName, InfiniteTablePropRowStyle, InfiniteTableProps, InfiniteTablePropsNotAvailableInTreeGrid, InfiniteTableRowClassNameFn, InfiniteTableRowDetailApi, InfiniteTableRowInfo, InfiniteTableRowSelectionApi, InfiniteTableRowStyleFn, InfiniteTableState, InfiniteTable_HasGrouping_RowInfoGroup, InfiniteTable_HasGrouping_RowInfoNormal, InfiniteTable_Tree_RowInfoLeafNode, InfiniteTable_Tree_RowInfoNode, InfiniteTable_Tree_RowInfoParentNode, LazyGroupDataDeepMap, LazyGroupDataItem, LazyRowInfoGroup, Menu, MenuChildrenFnParam, MenuColumn, MenuColumnRenderParam, MenuDecoration, MenuIconProps, MenuItemActionContext, MenuItemDefinition, MenuItemObject, MenuProps, MenuRenderable, MenuRuntimeItem, MenuRuntimeItemSelectable, MenuSeparator, OverlayShowParams, RowDetailCache, RowDetailState, RowDetailStateObject, RowDisabledState, RowDisabledStateObject, RowSelectionState, ScrollStopInfo, Scrollbars, ShowOverlayFn, TableRenderRange, TreeDataSource, TreeDataSourceProps, TreeExpandState, TreeExpandStateValue, TreeGrid, TreeGridOnlyProps, TreeGridProps, TreeSelectionState, TreeSelectionValue, UpdateChildrenFn, UpdateOverlayContentFn, WaitForNodeOptions, WeakFixedSizeSet, alignNode, components, createFlashingColumnCellComponent, debounce, debug, defaultFilterTypes, eventMatchesKeyboardShortcut, defaultFilterTypes as filterTypes, flatten, buildManagedComponent as getComponentStateRoot, group, interceptMap, keyboardShortcuts, multisort, multisortNested, queryKeyToCacheKey, toTreeDataArray, useManagedComponentState as useComponentState, useDataSourceInternal, useDataSourceState, useEffectWhen, useEffectWhenSameDeps, useEffectWithChanges, useEffectWithObject, useGridScroll, useInfiniteColumnCell, useInfiniteColumnEditor, useInfiniteColumnFilterEditor, useInfiniteHeaderCell, useInfinitePortalContainer, useManagedDataSource, useMasterRowInfo, useOverlay, useOverlayPortal, usePrevious, useRowInfoReducers, useVisibleColumnSizes };
|