@infinite-table/infinite-react 5.1.0-canary.0 → 6.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.
Files changed (7) hide show
  1. package/index.css +363 -160
  2. package/index.d.ts +1202 -64
  3. package/index.dev.js +2768 -501
  4. package/index.dev.mjs +2751 -492
  5. package/index.js +2768 -501
  6. package/index.mjs +2751 -492
  7. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -88,6 +88,7 @@ declare class DeepMap<KeyType, ValueType> {
88
88
  constructor(initial?: [KeyType[], ValueType][]);
89
89
  fill(initial?: [KeyType[], ValueType][]): void;
90
90
  getValuesStartingWith(keys: KeyType[], excludeSelf?: boolean, depthLimit?: number): ValueType[];
91
+ getEntriesStartingWith(keys: KeyType[], excludeSelf?: boolean, depthLimit?: number): [KeyType[], ValueType][];
91
92
  getKeysStartingWith(keys: KeyType[], excludeSelf?: boolean, depthLimit?: number): KeyType[][];
92
93
  private getStartingWith;
93
94
  private getMapAt;
@@ -234,6 +235,8 @@ declare type ShouldUpdateRenderCountOptions = {
234
235
  };
235
236
  declare class MatrixBrain extends Logger implements IBrain {
236
237
  private scrolling;
238
+ protected RENDER_COUNT_SAFETY_MARGIN_START: number;
239
+ protected RENDER_COUNT_SAFETY_MARGIN_END: number;
237
240
  protected availableWidth: MatrixBrainOptions['width'];
238
241
  protected availableRenderWidth: number;
239
242
  isHorizontalLayoutBrain: boolean;
@@ -266,6 +269,8 @@ declare class MatrixBrain extends Logger implements IBrain {
266
269
  private horizontalTotalSize;
267
270
  private horizontalRenderCount?;
268
271
  private verticalRenderCount?;
272
+ private horizontalExtendRangeBy;
273
+ private verticalExtendRangeBy;
269
274
  protected horizontalRenderRange: RenderRangeType;
270
275
  protected verticalRenderRange: RenderRangeType;
271
276
  protected extraSpanCells: [number, number][];
@@ -315,8 +320,9 @@ declare class MatrixBrain extends Logger implements IBrain {
315
320
  * @param options.right - if true, extends the right side with the amount of current visible columns, otherwise with the specified number
316
321
  */
317
322
  extendRenderRange(options: {
318
- left?: number | boolean;
319
- right?: number | boolean;
323
+ start?: number | boolean;
324
+ end?: number | boolean;
325
+ direction: 'horizontal' | 'vertical';
320
326
  }): () => void;
321
327
  updateRenderCount(which?: WhichDirection): void;
322
328
  protected doUpdateRenderCount(which?: WhichDirection): void;
@@ -327,11 +333,11 @@ declare class MatrixBrain extends Logger implements IBrain {
327
333
  private notifyScrollStop;
328
334
  setScrollPosition(scrollPosition: ScrollPosition, callback?: (scrollPos: ScrollPosition) => void): void;
329
335
  protected notifyAvailableSizeChange: () => void;
330
- protected notifyRenderRangeChange(): void;
331
- protected notifyVerticalRenderRangeChange: () => void;
332
- protected notifyHorizontalRenderRangeChange: () => void;
336
+ protected notifyRenderRangeChange(immediate?: boolean): void;
337
+ protected notifyVerticalRenderRangeChange: (immediate?: boolean) => void;
338
+ protected notifyHorizontalRenderRangeChange: (immediate?: boolean) => void;
333
339
  private notifyScrollChange;
334
- private computeDirectionalRenderCount;
340
+ protected computeDirectionalRenderCount(direction: 'horizontal' | 'vertical', itemSize: number | ItemSizeFunction, count: number, theRenderSize: Size): number;
335
341
  getFixedSize(direction: 'horizontal' | 'vertical'): number;
336
342
  getFixedStartSize(direction: 'horizontal' | 'vertical'): number;
337
343
  getFixedEndSize(direction: 'horizontal' | 'vertical'): number;
@@ -378,7 +384,7 @@ declare class MatrixBrain extends Logger implements IBrain {
378
384
  setRenderCount: ({ horizontal, vertical, }: {
379
385
  horizontal: number | undefined;
380
386
  vertical: number | undefined;
381
- }, force?: boolean | undefined) => void;
387
+ }) => void;
382
388
  private notifyRenderCountChange;
383
389
  updateFixedCells: (config: {
384
390
  fixedColsStart?: number;
@@ -581,6 +587,7 @@ declare function MenuIcon(props: MenuIconProps): React$1.JSX.Element;
581
587
  declare type NonUndefined<T> = T extends undefined ? never : T;
582
588
 
583
589
  declare type InfiniteTableToggleGroupRowFn = (groupKeys: any[]) => void;
590
+ declare type InfiniteTableToggleTreeNodeFn = (nodePath: any[]) => void;
584
591
  declare type InfiniteTableToggleRowDetailsFn = (id: any) => void;
585
592
  declare type InfiniteTableSelectRowFn = (id: any) => void;
586
593
  declare type InfiniteTableColumnHeaderParam<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = {
@@ -595,6 +602,7 @@ declare type InfiniteTableColumnHeaderParam<DATA_TYPE, COL_TYPE = InfiniteTableC
595
602
  someRowsSelected: boolean;
596
603
  filtered: boolean;
597
604
  api: InfiniteTableApi<DATA_TYPE>;
605
+ dataSourceApi: DataSourceApi<DATA_TYPE>;
598
606
  columnApi: InfiniteTableColumnApi<DATA_TYPE>;
599
607
  renderBag: {
600
608
  all?: Renderable;
@@ -603,10 +611,12 @@ declare type InfiniteTableColumnHeaderParam<DATA_TYPE, COL_TYPE = InfiniteTableC
603
611
  menuIcon?: Renderable;
604
612
  menuIconProps?: MenuIconProps;
605
613
  filterIcon?: Renderable;
614
+ filterEditor?: Renderable;
606
615
  selectionCheckBox?: Renderable;
607
616
  };
608
617
  } & ({
609
618
  domRef: InfiniteTableCellProps<DATA_TYPE>['domRef'];
619
+ htmlElementRef: React__default.MutableRefObject<HTMLElement | null>;
610
620
  insideColumnMenu: false;
611
621
  } | {
612
622
  insideColumnMenu: true;
@@ -614,6 +624,7 @@ declare type InfiniteTableColumnHeaderParam<DATA_TYPE, COL_TYPE = InfiniteTableC
614
624
  declare type InfiniteTableColumnRenderBag = {
615
625
  value: string | number | Renderable;
616
626
  groupIcon?: Renderable;
627
+ treeIcon?: Renderable;
617
628
  rowDetailsIcon?: Renderable;
618
629
  all?: Renderable;
619
630
  selectionCheckBox?: Renderable;
@@ -630,13 +641,19 @@ declare type InfiniteTableColumnRenderParamBase<DATA_TYPE, COL_TYPE = InfiniteTa
630
641
  rowIndex: number;
631
642
  rowActive: boolean;
632
643
  api: InfiniteTableApi<DATA_TYPE>;
644
+ dataSourceApi: DataSourceApi<DATA_TYPE>;
633
645
  editError?: Error;
634
646
  column: COL_TYPE;
635
647
  columnsMap: Map<string, COL_TYPE>;
636
648
  fieldsToColumn: Map<keyof DATA_TYPE, COL_TYPE>;
637
649
  groupByColumn?: InfiniteTableComputedColumn<DATA_TYPE>;
638
650
  toggleCurrentGroupRow: () => void;
651
+ toggleCurrentTreeNode: () => void;
652
+ expandTreeNode: InfiniteTableToggleTreeNodeFn;
653
+ collapseTreeNode: InfiniteTableToggleTreeNodeFn;
639
654
  toggleGroupRow: InfiniteTableToggleGroupRowFn;
655
+ toggleTreeNode: InfiniteTableToggleTreeNodeFn;
656
+ toggleCurrentTreeNodeSelection: () => void;
640
657
  toggleCurrentGroupRowSelection: () => void;
641
658
  toggleCurrentRowSelection: () => void;
642
659
  toggleCurrentRowDetails: () => void;
@@ -653,6 +670,9 @@ declare type InfiniteTableColumnRenderParamBase<DATA_TYPE, COL_TYPE = InfiniteTa
653
670
  deselectCell: () => void;
654
671
  toggleRowSelection: InfiniteTableSelectRowFn;
655
672
  toggleGroupRowSelection: InfiniteTableToggleGroupRowFn;
673
+ toggleTreeNodeSelection: InfiniteTableToggleTreeNodeFn;
674
+ selectTreeNode: InfiniteTableToggleTreeNodeFn;
675
+ deselectTreeNode: InfiniteTableToggleTreeNodeFn;
656
676
  selectionMode: DataSourcePropSelectionMode | undefined;
657
677
  rootGroupBy: DataSourceState<DATA_TYPE>['groupBy'];
658
678
  pivotBy?: DataSourceState<DATA_TYPE>['pivotBy'];
@@ -669,6 +689,15 @@ declare type InfiniteTableColumnRowspanParam<DATA_TYPE, COL_TYPE = InfiniteTable
669
689
  declare type InfiniteTableColumnRenderFunctionForGroupRows<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & {
670
690
  isGroupRow: true;
671
691
  }) => Renderable | null;
692
+ declare type InfiniteTableColumnRenderFunctionForParentNode<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & {
693
+ isTreeNode: true;
694
+ isParentNode: true;
695
+ }) => Renderable | null;
696
+ declare type InfiniteTableColumnRenderFunctionForLeafNode<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & {
697
+ isTreeNode: true;
698
+ isParentNode: false;
699
+ }) => Renderable | null;
700
+ declare type InfiniteTableColumnRenderFunctionForNode<DATA_TYPE, EXTRA_NODE_PARAMS = Partial<InfiniteTableRowInfoDataDiscriminator_ParentNode<DATA_TYPE> | InfiniteTableRowInfoDataDiscriminator_LeafNode<DATA_TYPE>>, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & EXTRA_NODE_PARAMS) => Renderable | null;
672
701
  declare type InfiniteTableColumnRenderFunctionForNormalRows<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & {
673
702
  isGroupRow: false;
674
703
  }) => Renderable | null;
@@ -791,6 +820,22 @@ declare type InfiniteTableColumn<DATA_TYPE> = {
791
820
  maxWidth?: number;
792
821
  renderGroupIcon?: InfiniteTableColumnRenderFunctionForGroupRows<DATA_TYPE>;
793
822
  renderRowDetailIcon?: boolean | InfiniteTableColumnRenderFunction<DATA_TYPE>;
823
+ renderTreeIcon?: boolean | InfiniteTableColumnRenderFunctionForNode<DATA_TYPE, {
824
+ isTreeNode: true;
825
+ isParentNode: boolean;
826
+ isGroupRow: false;
827
+ nodeExpanded: boolean;
828
+ }>;
829
+ renderTreeIconForParentNode?: InfiniteTableColumnRenderFunctionForParentNode<DATA_TYPE, {
830
+ isTreeNode: true;
831
+ isGroupRow: true;
832
+ isParentNode: true;
833
+ }>;
834
+ renderTreeIconForLeafNode?: InfiniteTableColumnRenderFunctionForLeafNode<DATA_TYPE, {
835
+ isTreeNode: true;
836
+ isGroupRow: false;
837
+ isLeafNode: true;
838
+ }>;
794
839
  renderSortIcon?: InfiniteTableColumnHeaderRenderFunction<DATA_TYPE>;
795
840
  renderFilterIcon?: InfiniteTableColumnHeaderRenderFunction<DATA_TYPE>;
796
841
  renderSelectionCheckBox?: boolean | InfiniteTableColumnOrHeaderRenderFunction<DATA_TYPE>;
@@ -931,6 +976,13 @@ declare type CellPositionByIndex = {
931
976
  rowIndex: number;
932
977
  colIndex: number;
933
978
  };
979
+ declare type MultiSelectRangeOptions = {
980
+ horizontalLayout: false;
981
+ } | {
982
+ horizontalLayout: true;
983
+ rowsPerPage: number;
984
+ columnsPerSet: number;
985
+ };
934
986
 
935
987
  declare type MultiCellSelectorOptions = {
936
988
  getPrimaryKeyByIndex: (rowIndex: number) => string | number;
@@ -955,10 +1007,10 @@ declare class MultiCellSelector {
955
1007
  * @param position CellPosition
956
1008
  */
957
1009
  singleAddClick(position: CellPositionByIndex): void;
958
- multiSelectClick(position: CellPositionByIndex): void;
959
- setRangeSelected(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex, selected: boolean): void;
960
- deselectRange(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex): void;
961
- selectRange(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex): void;
1010
+ multiSelectClick(position: CellPositionByIndex, options: MultiSelectRangeOptions): void;
1011
+ setRangeSelected(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex, selected: boolean, options: MultiSelectRangeOptions): void;
1012
+ deselectRange(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex, options: MultiSelectRangeOptions): void;
1013
+ selectRange(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex, options: MultiSelectRangeOptions): void;
962
1014
  }
963
1015
 
964
1016
  declare type RowSelectionStateItem = (any | any[])[];
@@ -1142,7 +1194,7 @@ declare type ComponentStateRootConfig<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT
1142
1194
  debugName?: string;
1143
1195
  initSetupState?: (props: T_PROPS) => COMPONENT_SETUP_STATE;
1144
1196
  layoutEffect?: boolean;
1145
- forwardProps?: (setupState: COMPONENT_SETUP_STATE) => ForwardPropsToStateFnResult<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT_SETUP_STATE>;
1197
+ forwardProps?: (setupState: COMPONENT_SETUP_STATE, props: T_PROPS) => ForwardPropsToStateFnResult<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT_SETUP_STATE>;
1146
1198
  allowedControlledPropOverrides?: Record<keyof T_PROPS, true>;
1147
1199
  interceptActions?: ComponentInterceptedActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>;
1148
1200
  mappedCallbacks?: ComponentMappedCallbacks<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>;
@@ -1191,6 +1243,191 @@ declare function buildManagedComponent<T_PROPS, COMPONENT_MAPPED_STATE extends o
1191
1243
  };
1192
1244
  declare function useManagedComponentState<COMPONENT_STATE>(): ManagedComponentStateContextValue<COMPONENT_STATE, ComponentStateGeneratedActions<COMPONENT_STATE>>;
1193
1245
 
1246
+ declare type NodePath$1<PRIMARY_KEY_TYPE = any> = PRIMARY_KEY_TYPE[];
1247
+ declare type TreeExpandStateObject_ByPath<PRIMARY_KEY_TYPE = any> = {
1248
+ expandedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
1249
+ collapsedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
1250
+ defaultExpanded: boolean;
1251
+ collapsedIds?: never;
1252
+ expandedIds?: never;
1253
+ } | {
1254
+ defaultExpanded: true;
1255
+ collapsedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
1256
+ expandedPaths?: NodePath$1<PRIMARY_KEY_TYPE>[];
1257
+ collapsedIds?: never;
1258
+ expandedIds?: never;
1259
+ } | {
1260
+ defaultExpanded: false;
1261
+ collapsedPaths?: NodePath$1<PRIMARY_KEY_TYPE>[];
1262
+ expandedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
1263
+ collapsedIds?: never;
1264
+ expandedIds?: never;
1265
+ };
1266
+ declare type TreeExpandStateObject_ById<PRIMARY_KEY_TYPE = any> = {
1267
+ defaultExpanded: boolean;
1268
+ expandedIds: PRIMARY_KEY_TYPE[];
1269
+ collapsedIds: PRIMARY_KEY_TYPE[];
1270
+ expandedPaths?: never;
1271
+ collapsedPaths?: never;
1272
+ } | {
1273
+ defaultExpanded: true;
1274
+ collapsedIds: PRIMARY_KEY_TYPE[];
1275
+ expandedIds?: PRIMARY_KEY_TYPE[];
1276
+ expandedPaths?: never;
1277
+ collapsedPaths?: never;
1278
+ } | {
1279
+ defaultExpanded: false;
1280
+ collapsedIds?: PRIMARY_KEY_TYPE[];
1281
+ expandedIds: PRIMARY_KEY_TYPE[];
1282
+ expandedPaths?: never;
1283
+ collapsedPaths?: never;
1284
+ };
1285
+ declare type TreeExpandStateObject<PRIMARY_KEY_TYPE = any> = TreeExpandStateObject_ByPath<PRIMARY_KEY_TYPE> | TreeExpandStateObject_ById<PRIMARY_KEY_TYPE>;
1286
+ declare type TreeExpandStateMode = 'id' | 'path';
1287
+ declare class TreeExpandState<PRIMARY_KEY_TYPE = any> {
1288
+ collapsedPathsMap: DeepMap<PRIMARY_KEY_TYPE, true>;
1289
+ expandedPathsMap: DeepMap<PRIMARY_KEY_TYPE, true>;
1290
+ collapsedIdsMap: Map<PRIMARY_KEY_TYPE, true>;
1291
+ expandedIdsMap: Map<PRIMARY_KEY_TYPE, true>;
1292
+ private _mode;
1293
+ get mode(): TreeExpandStateMode;
1294
+ defaultExpanded: boolean;
1295
+ constructor(clone?: TreeExpandStateObject | TreeExpandState);
1296
+ reset(): void;
1297
+ destroy(): void;
1298
+ expandAll: () => void;
1299
+ collapseAll: () => void;
1300
+ expandNode(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>): void;
1301
+ collapseNode(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>): void;
1302
+ setNodeExpanded(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>, expanded: boolean): void;
1303
+ isNodeExpandedByPath(nodePath: NodePath$1<PRIMARY_KEY_TYPE>): boolean;
1304
+ isNodeExpandedById(id: PRIMARY_KEY_TYPE): boolean;
1305
+ isNodeExpanded(nodePathOrId: PRIMARY_KEY_TYPE | NodePath$1<PRIMARY_KEY_TYPE>): boolean;
1306
+ update(stateObject: TreeExpandStateObject): void;
1307
+ getState(): TreeExpandStateObject;
1308
+ }
1309
+
1310
+ declare type OnNodeStateChangeParam = DataSourceCallback_BaseParam<any> & {};
1311
+ declare type TreeDataSourceOnlyProps<T> = {
1312
+ nodesKey?: string;
1313
+ treeSelection?: DataSourcePropTreeSelection;
1314
+ defaultTreeSelection?: DataSourcePropTreeSelection;
1315
+ treeExpandState?: TreeExpandStateValue;
1316
+ defaultTreeExpandState?: TreeExpandStateValue;
1317
+ onTreeExpandStateChange?: (treeExpandState: TreeExpandStateObject<any>, params: {
1318
+ dataSourceApi: DataSourceApi<T>;
1319
+ nodePath: NodePath$1 | null;
1320
+ nodeState: 'collapsed' | 'expanded';
1321
+ }) => void;
1322
+ onTreeDataMutations?: ({ dataArray, timestamp, treeMutations, nodesKey, }: {
1323
+ nodesKey: keyof T | any;
1324
+ dataArray: DataSourceState<T>['originalDataArray'];
1325
+ timestamp: number;
1326
+ treeMutations: NonUndefined<DataSourceState<T>['originalDataArrayChangedInfo']['treeMutations']>;
1327
+ }) => void;
1328
+ isNodeSelected?: DataSourcePropIsNodeSelected<T>;
1329
+ /**
1330
+ * Called when a node is expanded. Not called when treeApi.expandAll is called.
1331
+ */
1332
+ onNodeExpand?: (node: NodePath$1, param: OnNodeStateChangeParam) => void;
1333
+ /**
1334
+ * Called when a node is collapsed. Not called when treeApi.collapseAll is called.
1335
+ */
1336
+ onNodeCollapse?: (node: NodePath$1, param: OnNodeStateChangeParam) => void;
1337
+ } & ({
1338
+ selectionMode?: 'multi-row';
1339
+ treeSelection?: DataSourcePropTreeSelection_MultiNode;
1340
+ defaultTreeSelection?: DataSourcePropTreeSelection_MultiNode;
1341
+ onTreeSelectionChange?: DataSourcePropOnTreeSelectionChange_MultiNode;
1342
+ } | {
1343
+ selectionMode?: 'single-row';
1344
+ treeSelection?: DataSourcePropTreeSelection_SingleNode;
1345
+ defaultTreeSelection?: DataSourcePropTreeSelection_SingleNode;
1346
+ onTreeSelectionChange?: DataSourcePropOnTreeSelectionChange_SingleNode;
1347
+ } | {
1348
+ selectionMode?: 'single-cell';
1349
+ cellSelection?: DataSourcePropCellSelection_SingleCell;
1350
+ defaultCellSelection?: DataSourcePropCellSelection_SingleCell;
1351
+ onCellSelectionChange?: DataSourcePropOnCellSelectionChange_SingleCell;
1352
+ } | {
1353
+ selectionMode?: 'multi-cell';
1354
+ cellSelection?: DataSourcePropCellSelection_MultiCell;
1355
+ defaultCellSelection?: DataSourcePropCellSelection_MultiCell;
1356
+ onCellSelectionChange?: DataSourcePropOnCellSelectionChange_MultiCell;
1357
+ } | {
1358
+ selectionMode?: false;
1359
+ }) & ({
1360
+ isNodeCollapsed?: DataSourcePropIsNodeExpanded<T>;
1361
+ isNodeExpanded?: never;
1362
+ } | {
1363
+ isNodeExpanded?: DataSourcePropIsNodeExpanded<T>;
1364
+ isNodeCollapsed?: never;
1365
+ });
1366
+ declare type DataSourcePropsNotAvailableInTreeDataSource = keyof Pick<DataSourceProps<any>, 'groupBy' | 'defaultGroupBy' | 'nodesKey' | 'defaultGroupRowsState' | 'groupRowsState' | 'onGroupRowsStateChange' | 'onGroupByChange' | 'collapseGroupRowsOnDataFunctionChange' | 'livePagination' | 'onLivePaginationCursorChange' | 'groupMode' | 'onPivotByChange' | 'pivotBy' | 'defaultPivotBy' | 'selectionMode' | 'rowSelection' | 'defaultRowSelection'>;
1367
+ declare type TreeDataSourceProps<T> = Omit<DataSourceProps<T>, DataSourcePropsNotAvailableInTreeDataSource> & TreeDataSourceOnlyProps<T>;
1368
+
1369
+ declare type NodePath = any[];
1370
+ declare type TreeSelectionStateObject = {
1371
+ selectedPaths: NodePath;
1372
+ deselectedPaths: NodePath;
1373
+ defaultSelection: boolean;
1374
+ } | {
1375
+ defaultSelection: true;
1376
+ deselectedPaths: NodePath;
1377
+ selectedPaths?: NodePath;
1378
+ } | {
1379
+ defaultSelection: false;
1380
+ selectedPaths: NodePath;
1381
+ deselectedPaths?: NodePath;
1382
+ };
1383
+ declare type TreeSelectionStateConfig<_T = any> = {
1384
+ treeDeepMap: DeepMap<any, DeepMapTreeValueType<any, any>>;
1385
+ };
1386
+ declare type GetTreeSelectionStateConfig<T> = () => TreeSelectionStateConfig<T>;
1387
+ declare type NodeSelectionState = {
1388
+ selected: boolean | null;
1389
+ selectedCount: number;
1390
+ deselectedCount: number;
1391
+ leafCount: number;
1392
+ };
1393
+ declare class TreeSelectionState<T = any> {
1394
+ selectedPaths: NodePath[] | null;
1395
+ deselectedPaths: NodePath[] | null;
1396
+ defaultSelection: boolean;
1397
+ selectionMap: DeepMap<NodePath, boolean>;
1398
+ cache: DeepMap<NodePath, NodeSelectionState>;
1399
+ getConfig: GetTreeSelectionStateConfig<T>;
1400
+ getTreeDeepMap(): DeepMap<any, DeepMapTreeValueType<any, any>>;
1401
+ isLeafNode(nodePath: NodePath): boolean;
1402
+ getLeafNodesCount(nodePath: NodePath): number;
1403
+ static from<T>(treeSelectionState: TreeSelectionStateObject, getConfig: GetTreeSelectionStateConfig<T>): TreeSelectionState<T>;
1404
+ constructor(state: TreeSelectionStateObject | TreeSelectionState, getConfig: GetTreeSelectionStateConfig<T>);
1405
+ setConfigFn(getConfig: GetTreeSelectionStateConfig<T>): void;
1406
+ xcache(): void;
1407
+ update(stateObject: TreeSelectionStateObject): void;
1408
+ setSelectionForPath(nodePath: NodePath, selected: boolean): void;
1409
+ getState(): TreeSelectionStateObject;
1410
+ deselectAll(): void;
1411
+ selectAll(): void;
1412
+ isNodeSelected(nodePath: NodePath): boolean | null;
1413
+ private isSelfSelected;
1414
+ private cacheIt;
1415
+ private getSelectionStateForNode;
1416
+ private isPathSelected;
1417
+ private getNodeBooleanSelectionStateFromParent;
1418
+ setNodeSelection(nodePath: NodePath, selected: boolean): void;
1419
+ selectNode(nodePath: NodePath): void;
1420
+ deselectNode(nodePath: any[]): void;
1421
+ toggleNodeSelection(nodePath: NodePath): void;
1422
+ getSelectedCount(): number;
1423
+ getDeselectedCount(): number;
1424
+ getSelectionCountFor(nodePath?: NodePath): {
1425
+ selectedCount: number;
1426
+ deselectedCount: number;
1427
+ };
1428
+ destroy(): void;
1429
+ }
1430
+
1194
1431
  declare type DataSourceStateRestoreForDetail<T> = {
1195
1432
  originalDataArray: DataSourceState<T>['originalDataArray'] | undefined;
1196
1433
  groupBy: DataSourceState<T>['groupBy'] | undefined;
@@ -1529,6 +1766,7 @@ interface InfiniteTableSetupState<T> {
1529
1766
  headerBrain: MatrixBrain;
1530
1767
  renderer: ReactHeadlessTableRenderer;
1531
1768
  onRenderUpdater: SubscriptionCallback<Renderable>;
1769
+ forceBodyRerenderTimestamp: number;
1532
1770
  lastRowToExpandRef: MutableRefObject<any | null>;
1533
1771
  lastRowToCollapseRef: MutableRefObject<any | null>;
1534
1772
  getDOMNodeForCell: (cellPos: CellPositionByIndex) => HTMLElement | null;
@@ -1609,6 +1847,7 @@ declare type InfiniteTablePropPivotGrandTotalColumnPosition = InfiniteTablePropP
1609
1847
  interface InfiniteTableMappedState<T> {
1610
1848
  id: InfiniteTableProps<T>['id'];
1611
1849
  debugId: InfiniteTableProps<T>['debugId'];
1850
+ debugMode: NonUndefined<InfiniteTableProps<T>['debugMode']>;
1612
1851
  scrollTopKey: InfiniteTableProps<T>['scrollTopKey'];
1613
1852
  multiSortBehavior: NonUndefined<InfiniteTableProps<T>['multiSortBehavior']>;
1614
1853
  viewportReservedWidth: InfiniteTableProps<T>['viewportReservedWidth'];
@@ -1616,6 +1855,7 @@ interface InfiniteTableMappedState<T> {
1616
1855
  groupColumn: InfiniteTableProps<T>['groupColumn'];
1617
1856
  onKeyDown: InfiniteTableProps<T>['onKeyDown'];
1618
1857
  onCellClick: InfiniteTableProps<T>['onCellClick'];
1858
+ repeatWrappedGroupRows: InfiniteTableProps<T>['repeatWrappedGroupRows'];
1619
1859
  wrapRowsHorizontally: InfiniteTableProps<T>['wrapRowsHorizontally'];
1620
1860
  rowDetailCache: RowDetailCache<RowDetailCacheKey, RowDetailCacheEntry>;
1621
1861
  headerOptions: NonUndefined<InfiniteTableProps<T>['headerOptions']>;
@@ -1704,6 +1944,7 @@ interface InfiniteTableMappedState<T> {
1704
1944
  pivotGrandTotalColumnPosition: InfiniteTableProps<T>['pivotGrandTotalColumnPosition'];
1705
1945
  }
1706
1946
  interface InfiniteTableDerivedState<T> {
1947
+ isTree: boolean;
1707
1948
  groupBy: DataSourceProps<T>['groupBy'];
1708
1949
  computedColumns: Record<string, InfiniteTableColumn<T>>;
1709
1950
  initialColumns: InfiniteTableProps<T>['columns'];
@@ -1796,6 +2037,7 @@ declare type InfiniteTableEventHandlerContext<T> = {
1796
2037
  getState: () => InfiniteTableState<T>;
1797
2038
  actions: InfiniteTableActions<T>;
1798
2039
  cloneRowSelection: (rowSelection: RowSelectionState<T>) => RowSelectionState<T>;
2040
+ cloneTreeSelection: (treeSelection: TreeSelectionState<T>) => TreeSelectionState<T>;
1799
2041
  getDataSourceState: () => DataSourceState<T>;
1800
2042
  getDataSourceMasterContext: () => DataSourceMasterDetailContextValue | undefined;
1801
2043
  dataSourceActions: DataSourceComponentActions<T>;
@@ -1887,26 +2129,62 @@ declare type MultisortInfoAllowMultipleFields<T> = Omit<MultisortInfo<T>, 'field
1887
2129
  field?: keyof T | (keyof T | ((item: T) => any))[];
1888
2130
  };
1889
2131
  declare const multisort: {
1890
- <T>(sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], get?: ((item: any) => T) | undefined): T[];
2132
+ <T>(sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], options?: {
2133
+ get?: ((item: any) => T) | undefined;
2134
+ } | ((item: any) => T) | undefined): T[];
1891
2135
  knownTypes: {
1892
2136
  [key: string]: (first: any, second: any) => number;
1893
2137
  };
1894
2138
  };
2139
+ declare type NestedMultiSortOptions<T> = {
2140
+ get?: (item: any) => T;
2141
+ nodesKey: string;
2142
+ isLeafNode?: (item: T) => boolean;
2143
+ getNodeChildren?: (item: T) => null | T[];
2144
+ toKey: (item: T) => any;
2145
+ depthFirst?: boolean;
2146
+ inplace?: boolean;
2147
+ };
2148
+ declare const multisortNested: <T>(sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], options: NestedMultiSortOptions<T>) => T[];
1895
2149
 
1896
2150
  declare type DataSourceMutation<T> = {
1897
2151
  type: 'delete';
1898
2152
  primaryKey: any;
2153
+ nodePath?: never;
2154
+ originalData: T;
2155
+ metadata: any;
2156
+ } | {
2157
+ type: 'delete';
2158
+ primaryKey?: never;
2159
+ nodePath: NodePath$1;
1899
2160
  originalData: T;
1900
2161
  metadata: any;
1901
2162
  } | {
1902
2163
  type: 'update';
1903
2164
  primaryKey: any;
2165
+ nodePath?: never;
2166
+ data: Partial<T>;
2167
+ originalData: T;
2168
+ metadata: any;
2169
+ } | {
2170
+ type: 'update';
2171
+ primaryKey?: never;
2172
+ nodePath: NodePath$1;
1904
2173
  data: Partial<T>;
1905
2174
  originalData: T;
1906
2175
  metadata: any;
1907
2176
  } | {
1908
2177
  type: 'insert';
1909
2178
  primaryKey: any;
2179
+ nodePath?: never;
2180
+ position: 'before' | 'after';
2181
+ originalData: null;
2182
+ data: T;
2183
+ metadata: any;
2184
+ } | {
2185
+ type: 'insert';
2186
+ primaryKey?: never;
2187
+ nodePath: NodePath$1;
1910
2188
  position: 'before' | 'after';
1911
2189
  originalData: null;
1912
2190
  data: T;
@@ -1920,24 +2198,57 @@ declare class DataSourceCache<DataType, PrimaryKeyType = string> {
1920
2198
  private affectedFields;
1921
2199
  private allFieldsAffected;
1922
2200
  private primaryKeyToData;
2201
+ private nodePathToData;
1923
2202
  static clone<DataType, PrimaryKeyType = string>(cache: DataSourceCache<DataType, PrimaryKeyType>, { light }?: {
1924
2203
  light?: boolean;
1925
2204
  }): DataSourceCache<DataType, PrimaryKeyType>;
1926
2205
  getAffectedFields: () => true | Set<keyof DataType>;
1927
2206
  delete: (primaryKey: PrimaryKeyType, originalData: DataType, metadata: any) => void;
2207
+ deleteNodePath: (nodePath: NodePath$1<any>, originalData: DataType, metadata: any) => void;
1928
2208
  insert: (primaryKey: PrimaryKeyType, data: DataType, position: 'before' | 'after', metadata: any) => void;
2209
+ insertNodePath: (nodePath: NodePath$1<any>, data: DataType, position: 'before' | 'after', metadata: any) => void;
1929
2210
  update: (primaryKey: PrimaryKeyType, data: Partial<DataType>, originalData: DataType, metadata: any) => void;
2211
+ updateNodePath: (nodePath: NodePath$1<any>, data: Partial<DataType>, originalData: DataType, metadata: any) => void;
1930
2212
  resetDataSource: (metadata: any) => void;
1931
2213
  shouldResetDataSource: () => boolean;
1932
2214
  clear: () => void;
1933
2215
  isEmpty: () => boolean;
1934
2216
  removeInfo: (primaryKey: PrimaryKeyType) => void;
2217
+ removeNodePathInfo: (nodePath: NodePath$1<any>) => void;
1935
2218
  getMutationsForPrimaryKey: (primaryKey: PrimaryKeyType) => DataSourceMutation<DataType>[] | undefined;
2219
+ getMutationsForNodePath: (nodePath: NodePath$1<any>) => DataSourceMutation<DataType>[] | undefined;
1936
2220
  getMutationsCount: () => number;
1937
2221
  getMutations: () => Map<PrimaryKeyType, DataSourceMutation<DataType>[]>;
2222
+ getTreeMutations: () => DeepMap<NodePath$1<any>, DataSourceMutation<DataType>[]>;
1938
2223
  getMutationsArray: () => DataSourceMutation<DataType>[];
1939
2224
  }
1940
2225
 
2226
+ declare type TreeExpandStateApi<T> = {
2227
+ isNodeExpanded(nodePath: any[]): boolean;
2228
+ expandNode(nodePath: any[]): void;
2229
+ collapseNode(nodePath: any[]): void;
2230
+ toggleNode(nodePath: any[]): void;
2231
+ getNodeDataByPath(nodePath: any[]): T | null;
2232
+ getRowInfoByPath(nodePath: any[]): InfiniteTableRowInfo<T> | null;
2233
+ };
2234
+ declare type TreeSelectionApi<T> = {
2235
+ get allRowsSelected(): boolean;
2236
+ isNodeSelected(nodePath: NodePath$1): boolean | null;
2237
+ selectNode(nodePath: NodePath$1): void;
2238
+ setNodeSelection(nodePath: NodePath$1, selected: boolean): void;
2239
+ deselectNode(nodePath: NodePath$1): void;
2240
+ toggleNodeSelection(nodePath: NodePath$1): void;
2241
+ getRowInfoByNodePath(nodePath: NodePath$1): InfiniteTableRowInfo<T> | null;
2242
+ getIndexByNodePath(nodePath: NodePath$1): number;
2243
+ getDataByNodePath(nodePath: NodePath$1): T | null;
2244
+ selectAll(): void;
2245
+ expandAll(): void;
2246
+ collapseAll(): void;
2247
+ deselectAll(): void;
2248
+ updateDataByNodePath(data: Partial<T>, nodePath: NodePath$1, options?: DataSourceCRUDParam): void;
2249
+ };
2250
+ declare type TreeApi<T> = TreeExpandStateApi<T> & TreeSelectionApi<T>;
2251
+
1941
2252
  declare type BooleanDeepCollectionStateKeys<KeyType> = true | KeyType[][];
1942
2253
  declare type BooleanDeepCollectionStateObject<KeyType> = {
1943
2254
  positiveItems: BooleanDeepCollectionStateKeys<KeyType>;
@@ -1987,12 +2298,18 @@ declare class GroupRowsState<KeyType extends any = any> extends BooleanDeepColle
1987
2298
 
1988
2299
  declare class Indexer<DataType, PrimaryKeyType = string> {
1989
2300
  primaryKeyToData: Map<PrimaryKeyType, DataType>;
2301
+ nodePathsToData: DeepMap<PrimaryKeyType, DataType>;
1990
2302
  private add;
2303
+ private addNodePath;
1991
2304
  clear: () => void;
1992
2305
  getDataForPrimaryKey: (primaryKey: PrimaryKeyType) => DataType | undefined;
2306
+ getDataForNodePath: (nodePath: NodePath$1<any>) => DataType | undefined;
1993
2307
  indexArray: (arr: DataType[], options: {
1994
2308
  toPrimaryKey: (data: DataType) => PrimaryKeyType;
1995
2309
  cache?: DataSourceCache<DataType, PrimaryKeyType> | undefined;
2310
+ getNodeChildren?: ((item: DataType) => DataType[] | null) | undefined;
2311
+ isLeafNode?: ((item: DataType) => boolean) | undefined;
2312
+ nodesKey: string | undefined;
1996
2313
  }) => DataType[];
1997
2314
  }
1998
2315
 
@@ -2072,11 +2389,20 @@ interface DataSourceMappedState<T> {
2072
2389
  livePagination: DataSourceProps<T>['livePagination'];
2073
2390
  refetchKey: NonUndefined<DataSourceProps<T>['refetchKey']>;
2074
2391
  isRowSelected: DataSourceProps<T>['isRowSelected'];
2392
+ isNodeSelected: TreeDataSourceProps<T>['isNodeSelected'];
2393
+ isNodeExpanded: TreeDataSourceProps<T>['isNodeExpanded'];
2394
+ isNodeCollapsed: TreeDataSourceProps<T>['isNodeCollapsed'];
2395
+ onNodeCollapse: TreeDataSourceProps<T>['onNodeCollapse'];
2396
+ onNodeExpand: TreeDataSourceProps<T>['onNodeExpand'];
2075
2397
  isRowDisabled: DataSourceProps<T>['isRowDisabled'];
2076
2398
  debugId: DataSourceProps<T>['debugId'];
2399
+ debugMode: DataSourceProps<T>['debugMode'];
2400
+ nodesKey: NonUndefined<TreeDataSourceProps<T>['nodesKey']>;
2401
+ treeSelection: TreeDataSourceProps<T>['treeSelection'];
2077
2402
  batchOperationDelay: DataSourceProps<T>['batchOperationDelay'];
2078
2403
  onDataArrayChange: DataSourceProps<T>['onDataArrayChange'];
2079
2404
  onDataMutations: DataSourceProps<T>['onDataMutations'];
2405
+ onTreeDataMutations: TreeDataSourceProps<T>['onTreeDataMutations'];
2080
2406
  onReady: DataSourceProps<T>['onReady'];
2081
2407
  rowInfoReducers: DataSourceProps<T>['rowInfoReducers'];
2082
2408
  lazyLoad: DataSourceProps<T>['lazyLoad'];
@@ -2144,9 +2470,24 @@ declare type LazyGroupDataDeepMap<DataType, KeyType = string> = DeepMap<KeyType,
2144
2470
  interface DataSourceSetupState<T> {
2145
2471
  indexer: Indexer<T, any>;
2146
2472
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue | undefined>;
2473
+ __apiRef: React$1.MutableRefObject<DataSourceApi<T> | null>;
2474
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1 | null>;
2475
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
2476
+ state: 'collapsed' | 'expanded';
2477
+ nodePath: NodePath$1 | null;
2478
+ }>;
2479
+ repeatWrappedGroupRows: InfiniteTablePropRepeatWrappedGroupRows<T>;
2480
+ /**
2481
+ * This is just used for horizontal layout and when repeatWrappedGroupRows is TRUE!!!
2482
+ */
2483
+ rowsPerPage: number | null;
2484
+ totalLeafNodesCount: number;
2147
2485
  destroyedRef: React$1.MutableRefObject<boolean>;
2148
2486
  idToIndexMap: Map<any, number>;
2487
+ idToPathMap: Map<any, NodePath$1>;
2488
+ pathToIndexDeepMap: DeepMap<any, number>;
2149
2489
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
2490
+ treeSelectionState?: TreeSelectionState;
2150
2491
  stateReadyAsDetails: boolean;
2151
2492
  cache?: DataSourceCache<T>;
2152
2493
  unfilteredCount: number;
@@ -2156,6 +2497,7 @@ interface DataSourceSetupState<T> {
2156
2497
  originalDataArrayChangedInfo: {
2157
2498
  timestamp: number;
2158
2499
  mutations?: Map<string, DataSourceMutation<T>[]>;
2500
+ treeMutations?: DeepMap<any, DataSourceMutation<T>[]>;
2159
2501
  };
2160
2502
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2161
2503
  pivotMappings?: DataSourceMappings;
@@ -2173,8 +2515,11 @@ interface DataSourceSetupState<T> {
2173
2515
  lastFilterDataArray?: T[];
2174
2516
  lastSortDataArray?: T[];
2175
2517
  lastGroupDataArray?: InfiniteTableRowInfo<T>[];
2518
+ lastTreeDataArray?: InfiniteTableRowInfo<T>[];
2176
2519
  dataArray: InfiniteTableRowInfo<T>[];
2177
2520
  groupDeepMap?: DeepMap<GroupKeyType, DeepMapGroupValueType<T, any>>;
2521
+ treeDeepMap?: DeepMap<TreeKeyType, DeepMapTreeValueType<T, any>>;
2522
+ treePaths?: DeepMap<TreeKeyType, any>;
2178
2523
  groupRowsIndexesInDataArray?: number[];
2179
2524
  reducerResults?: Record<string, AggregationReducerResult>;
2180
2525
  allRowsSelected: boolean;
@@ -2185,6 +2530,7 @@ interface DataSourceSetupState<T> {
2185
2530
  updatedAt: number;
2186
2531
  reducedAt: number;
2187
2532
  groupedAt: number;
2533
+ treeAt: number;
2188
2534
  sortedAt: number;
2189
2535
  filteredAt: number;
2190
2536
  generateGroupRows: boolean;
@@ -2198,41 +2544,74 @@ declare type DataSourcePropAggregationReducers<T> = Record<string, DataSourceAgg
2198
2544
  declare type DataSourcePropMultiRowSelectionChangeParamType = RowSelectionStateObject;
2199
2545
  declare type DataSourcePropRowSelection = DataSourcePropRowSelection_MultiRow | DataSourcePropRowSelection_SingleRow;
2200
2546
  declare type DataSourcePropRowSelection_MultiRow = RowSelectionStateObject;
2547
+ declare type TreeSelectionValue = TreeSelectionStateObject | TreeSelectionState;
2548
+ declare type DataSourcePropTreeSelection_MultiNode = TreeSelectionValue;
2201
2549
  declare type DataSourcePropRowSelection_SingleRow = null | string | number;
2550
+ declare type DataSourcePropTreeSelection_SingleNode = null | string | number;
2551
+ declare type DataSourcePropTreeSelection = DataSourcePropTreeSelection_MultiNode | DataSourcePropTreeSelection_SingleNode;
2202
2552
  declare type DataSourcePropCellSelection_MultiCell = CellSelectionStateObject | CellSelectionState;
2203
2553
  declare type DataSourcePropCellSelection_SingleCell = null | CellSelectionPosition;
2204
2554
  declare type DataSourcePropCellSelection = DataSourcePropCellSelection_MultiCell | DataSourcePropCellSelection_SingleCell;
2205
2555
  declare type DataSourcePropSelectionMode = false | 'single-cell' | 'single-row' | 'multi-cell' | 'multi-row';
2206
2556
  declare type DataSourcePropOnRowSelectionChange_MultiRow = (rowSelection: DataSourcePropRowSelection_MultiRow, selectionMode: 'multi-row') => void;
2557
+ declare type DataSourcePropOnTreeSelectionChange_MultiNode<T = any> = (treeSelection: TreeSelectionStateObject, params: {
2558
+ selectionMode: 'multi-row';
2559
+ lastUpdatedNodePath: NodePath$1 | null;
2560
+ dataSourceApi: DataSourceApi<T>;
2561
+ }) => void;
2207
2562
  declare type DataSourcePropOnRowSelectionChange_SingleRow = (rowSelection: DataSourcePropRowSelection_SingleRow, selectionMode: 'single-row') => void;
2563
+ declare type DataSourcePropOnTreeSelectionChange_SingleNode = (treeSelection: DataSourcePropTreeSelection_SingleNode, params: {
2564
+ selectionMode: 'single-row';
2565
+ }) => void;
2208
2566
  declare type DataSourcePropOnRowSelectionChange = DataSourcePropOnRowSelectionChange_SingleRow | DataSourcePropOnRowSelectionChange_MultiRow;
2567
+ declare type DataSourcePropOnTreeSelectionChange = DataSourcePropOnTreeSelectionChange_SingleNode | DataSourcePropOnTreeSelectionChange_MultiNode;
2209
2568
  declare type DataSourcePropOnCellSelectionChange_MultiCell = (cellSelection: DataSourcePropCellSelection_MultiCell, selectionMode: 'multi-cell') => void;
2210
2569
  declare type DataSourcePropOnCellSelectionChange_SingleCell = (cellSelection: DataSourcePropCellSelection_SingleCell, selectionMode: 'single-cell') => void;
2211
2570
  declare type DataSourcePropOnCellSelectionChange = DataSourcePropOnCellSelectionChange_MultiCell | DataSourcePropOnCellSelectionChange_SingleCell;
2212
2571
  declare type DataSourcePropIsRowSelected<T> = (rowInfo: InfiniteTableRowInfo<T>, rowSelectionState: RowSelectionState, selectionMode: 'multi-row') => boolean | null;
2572
+ declare type DataSourcePropIsNodeSelected<T> = (rowInfo: InfiniteTable_Tree_RowInfoParentNode<T> | InfiniteTable_Tree_RowInfoLeafNode<T>, treeSelectionState: TreeSelectionState, selectionMode: 'multi-row') => boolean | null;
2573
+ declare type DataSourcePropIsNodeExpanded<T> = (rowInfo: InfiniteTable_Tree_RowInfoParentNode<T>) => boolean;
2213
2574
  declare type DataSourcePropSortFn<T> = (sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], get?: (item: any) => T) => T[];
2214
2575
  declare type DataSourceCRUDParam = {
2215
2576
  flush?: boolean;
2216
2577
  metadata?: any;
2217
2578
  };
2579
+ declare type DataSourceUpdateParam = DataSourceCRUDParam & {};
2218
2580
  declare type DataSourceInsertParam = DataSourceCRUDParam & ({
2219
2581
  position: 'before' | 'after';
2220
2582
  primaryKey: any;
2583
+ nodePath?: never;
2584
+ } | {
2585
+ position: 'before' | 'after';
2586
+ primaryKey?: never;
2587
+ nodePath: NodePath$1;
2588
+ } | {
2589
+ position: 'start' | 'end';
2590
+ nodePath?: never;
2221
2591
  } | {
2222
2592
  position: 'start' | 'end';
2593
+ nodePath: NodePath$1;
2223
2594
  });
2224
2595
  interface DataSourceApi<T> {
2225
2596
  getOriginalDataArray: () => T[];
2226
2597
  getRowInfoArray: () => InfiniteTableRowInfo<T>[];
2227
2598
  getDataByPrimaryKey(id: any): T | null;
2599
+ getDataByNodePath(nodePath: NodePath$1): T | null;
2228
2600
  getRowInfoByIndex(index: number): InfiniteTableRowInfo<T> | null;
2229
2601
  getRowInfoByPrimaryKey(id: any): InfiniteTableRowInfo<T> | null;
2602
+ getRowInfoByNodePath(nodePath: NodePath$1): InfiniteTableRowInfo<T> | null;
2230
2603
  getIndexByPrimaryKey(id: any): number;
2604
+ getIndexByNodePath(nodePath: NodePath$1): number;
2231
2605
  getPrimaryKeyByIndex(id: any): any;
2606
+ getNodePathById(id: any): NodePath$1 | null;
2607
+ get treeApi(): TreeApi<T>;
2232
2608
  updateData(data: Partial<T>, options?: DataSourceCRUDParam): Promise<any>;
2609
+ updateDataByNodePath(data: Partial<T>, nodePath: NodePath$1, options?: DataSourceUpdateParam): Promise<any>;
2233
2610
  updateDataArray(data: Partial<T>[], options?: DataSourceCRUDParam): Promise<any>;
2611
+ updateDataArrayByNodePath(data: Partial<T>[], nodePaths: NodePath$1[], options?: DataSourceUpdateParam): Promise<any>;
2234
2612
  flush(): Promise<any>;
2235
2613
  removeDataByPrimaryKey(id: any, options?: DataSourceCRUDParam): Promise<any>;
2614
+ removeDataByNodePath(nodePath: NodePath$1, options?: DataSourceCRUDParam): Promise<any>;
2236
2615
  removeDataArrayByPrimaryKeys(id: any[], options?: DataSourceCRUDParam): Promise<any>;
2237
2616
  removeData(data: Partial<T>, options?: DataSourceCRUDParam): Promise<any>;
2238
2617
  removeDataArray(data: Partial<T>[], options?: DataSourceCRUDParam): Promise<any>;
@@ -2257,9 +2636,12 @@ declare type DataSourceRowInfoReducer<T> = DataSourceRawReducer<InfiniteTableRow
2257
2636
  declare type DataSourcePropShouldReloadDataObject<T> = {
2258
2637
  [key in keyof Pick<DataSourceDataParams<T>, 'sortInfo' | 'pivotBy' | 'groupBy' | 'filterValue'>]: boolean;
2259
2638
  };
2260
- declare type DataSourcePropShouldReloadData<T> = DataSourcePropShouldReloadDataObject<T>;
2639
+ declare type DataSourcePropShouldReloadData<T> = DataSourcePropShouldReloadDataObject<T> | boolean;
2640
+ declare type TreeExpandStateValue = TreeExpandState | TreeExpandStateObject<any>;
2261
2641
  declare type DataSourceProps<T> = {
2642
+ nodesKey?: never;
2262
2643
  debugId?: string;
2644
+ debugMode?: InfiniteTablePropDebugMode;
2263
2645
  children?: React$1.ReactNode | ((contextData: DataSourceState<T>) => React$1.ReactNode);
2264
2646
  primaryKey: keyof T | ((data: T) => string);
2265
2647
  /**
@@ -2272,8 +2654,8 @@ declare type DataSourceProps<T> = {
2272
2654
  data: DataSourceData<T>;
2273
2655
  selectionMode?: DataSourcePropSelectionMode;
2274
2656
  useGroupKeysForMultiRowSelection?: boolean;
2275
- rowSelection?: DataSourcePropRowSelection_MultiRow | DataSourcePropRowSelection_SingleRow;
2276
- defaultRowSelection?: DataSourcePropRowSelection_MultiRow | DataSourcePropRowSelection_SingleRow;
2657
+ rowSelection?: DataSourcePropRowSelection;
2658
+ defaultRowSelection?: DataSourcePropRowSelection;
2277
2659
  cellSelection?: DataSourcePropCellSelection_MultiCell | DataSourcePropCellSelection_SingleCell;
2278
2660
  defaultCellSelection?: DataSourcePropCellSelection_MultiCell | DataSourcePropCellSelection_SingleCell;
2279
2661
  onCellSelectionChange?: DataSourcePropOnCellSelectionChange;
@@ -2427,15 +2809,21 @@ declare type DataSourceLivePaginationCursorParams<T> = {
2427
2809
  declare type DataSourceLivePaginationCursorValue = string | number | null;
2428
2810
  interface DataSourceState<T> extends DataSourceSetupState<T>, DataSourceDerivedState<T>, DataSourceMappedState<T> {
2429
2811
  }
2812
+ declare type DataSourceCallback_BaseParam<T> = {
2813
+ dataSourceApi: DataSourceApi<T>;
2814
+ };
2430
2815
  declare type DataSourceDerivedState<T> = {
2816
+ isTree: boolean;
2431
2817
  toPrimaryKey: (data: T) => any;
2432
2818
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<T>>>;
2433
2819
  sortMode: 'local' | 'remote';
2434
2820
  filterMode: 'local' | 'remote';
2435
2821
  groupMode: 'local' | 'remote';
2436
2822
  pivotMode: 'local' | 'remote';
2437
- shouldReloadData: NonUndefined<Required<DataSourcePropShouldReloadData<T>>>;
2823
+ shouldReloadData: NonUndefined<Required<DataSourcePropShouldReloadDataObject<T>>>;
2438
2824
  groupRowsState: GroupRowsState<T>;
2825
+ treeExpandState: TreeExpandState<any>;
2826
+ treeExpandMode: TreeExpandStateMode;
2439
2827
  multiSort: boolean;
2440
2828
  controlledSort: boolean;
2441
2829
  controlledFilter: boolean;
@@ -2482,6 +2870,7 @@ declare function useInfiniteHeaderCell<T>(): {
2482
2870
  someRowsSelected: boolean;
2483
2871
  filtered: boolean;
2484
2872
  api: InfiniteTableApi<T>;
2873
+ dataSourceApi: DataSourceApi<T>;
2485
2874
  columnApi: InfiniteTableColumnApi<T>;
2486
2875
  renderBag: {
2487
2876
  all?: Renderable;
@@ -2490,13 +2879,16 @@ declare function useInfiniteHeaderCell<T>(): {
2490
2879
  menuIcon?: Renderable;
2491
2880
  menuIconProps?: MenuIconProps | undefined;
2492
2881
  filterIcon?: Renderable;
2882
+ filterEditor?: Renderable;
2493
2883
  selectionCheckBox?: Renderable;
2494
2884
  };
2495
2885
  } & {
2496
2886
  domRef: ((instance: HTMLElement | null) => void) | undefined;
2887
+ htmlElementRef: React$1.MutableRefObject<HTMLElement | null>;
2497
2888
  insideColumnMenu: false;
2498
2889
  } & {
2499
2890
  domRef: ((instance: HTMLElement | null) => void) | undefined;
2891
+ htmlElementRef: React$1.MutableRefObject<HTMLElement | null>;
2500
2892
  insideColumnMenu: false;
2501
2893
  };
2502
2894
 
@@ -2550,6 +2942,8 @@ declare function useVisibleColumnSizes(): {
2550
2942
  pinned: InfiniteTableColumnPinnedValues;
2551
2943
  }[];
2552
2944
 
2945
+ declare function useInfinitePortalContainer(): HTMLDivElement | null;
2946
+
2553
2947
  declare const InfiniteTableClassName: string;
2554
2948
  declare const InfiniteTableComponent: React$1.MemoExoticComponent<(<T>() => React$1.JSX.Element)>;
2555
2949
  declare type InfiniteTableComponent = {
@@ -2571,9 +2965,21 @@ declare const useManagedDataSource: (props: unknown) => {
2571
2965
  componentState: {
2572
2966
  indexer: Indexer<unknown, any>;
2573
2967
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
2968
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
2969
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
2970
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
2971
+ state: "expanded" | "collapsed";
2972
+ nodePath: NodePath$1<any> | null;
2973
+ }>;
2974
+ repeatWrappedGroupRows: never;
2975
+ rowsPerPage: never;
2976
+ totalLeafNodesCount: number;
2574
2977
  destroyedRef: React$1.MutableRefObject<boolean>;
2575
2978
  idToIndexMap: Map<any, number>;
2979
+ idToPathMap: Map<any, NodePath$1<any>>;
2980
+ pathToIndexDeepMap: DeepMap<any, number>;
2576
2981
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
2982
+ treeSelectionState?: never;
2577
2983
  stateReadyAsDetails: never;
2578
2984
  cache?: never;
2579
2985
  unfilteredCount: number;
@@ -2583,10 +2989,11 @@ declare const useManagedDataSource: (props: unknown) => {
2583
2989
  originalDataArrayChangedInfo: {
2584
2990
  timestamp: number;
2585
2991
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
2992
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
2586
2993
  };
2587
2994
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2588
2995
  pivotMappings?: never;
2589
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
2996
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
2590
2997
  showSeparatePivotColumnForSingleAggregation: never;
2591
2998
  dataParams?: never;
2592
2999
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -2600,8 +3007,11 @@ declare const useManagedDataSource: (props: unknown) => {
2600
3007
  lastFilterDataArray?: never;
2601
3008
  lastSortDataArray?: never;
2602
3009
  lastGroupDataArray?: never;
3010
+ lastTreeDataArray?: never;
2603
3011
  dataArray: InfiniteTableRowInfo<unknown>[];
2604
3012
  groupDeepMap?: never;
3013
+ treeDeepMap?: never;
3014
+ treePaths?: never;
2605
3015
  groupRowsIndexesInDataArray?: never;
2606
3016
  reducerResults?: never;
2607
3017
  allRowsSelected: never;
@@ -2612,6 +3022,7 @@ declare const useManagedDataSource: (props: unknown) => {
2612
3022
  updatedAt: number;
2613
3023
  reducedAt: number;
2614
3024
  groupedAt: number;
3025
+ treeAt: number;
2615
3026
  sortedAt: number;
2616
3027
  filteredAt: number;
2617
3028
  generateGroupRows: never;
@@ -2620,14 +3031,17 @@ declare const useManagedDataSource: (props: unknown) => {
2620
3031
  postGroupDataArray?: never;
2621
3032
  pivotColumns?: never;
2622
3033
  pivotColumnGroups?: never;
3034
+ isTree: never;
2623
3035
  toPrimaryKey: (data: unknown) => any;
2624
3036
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
2625
3037
  sortMode: never;
2626
3038
  filterMode: never;
2627
3039
  groupMode: never;
2628
3040
  pivotMode: never;
2629
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3041
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
2630
3042
  groupRowsState: GroupRowsState<unknown>;
3043
+ treeExpandState: TreeExpandState<any>;
3044
+ treeExpandMode: never;
2631
3045
  multiSort: never;
2632
3046
  controlledSort: never;
2633
3047
  controlledFilter: never;
@@ -2641,10 +3055,19 @@ declare const useManagedDataSource: (props: unknown) => {
2641
3055
  livePagination: never;
2642
3056
  refetchKey: never;
2643
3057
  isRowSelected: never;
3058
+ isNodeSelected: never;
3059
+ isNodeExpanded: never;
3060
+ isNodeCollapsed: never;
3061
+ onNodeCollapse: never;
3062
+ onNodeExpand: never;
2644
3063
  debugId: never;
3064
+ debugMode: never;
3065
+ nodesKey: string;
3066
+ treeSelection: never;
2645
3067
  batchOperationDelay: never;
2646
3068
  onDataArrayChange: never;
2647
3069
  onDataMutations: never;
3070
+ onTreeDataMutations: never;
2648
3071
  onReady: never;
2649
3072
  rowInfoReducers: never;
2650
3073
  lazyLoad: never;
@@ -2667,9 +3090,21 @@ declare const useManagedDataSource: (props: unknown) => {
2667
3090
  } & {
2668
3091
  indexer: Indexer<unknown, any>;
2669
3092
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
3093
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
3094
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
3095
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
3096
+ state: "expanded" | "collapsed";
3097
+ nodePath: NodePath$1<any> | null;
3098
+ }>;
3099
+ repeatWrappedGroupRows: never;
3100
+ rowsPerPage: never;
3101
+ totalLeafNodesCount: number;
2670
3102
  destroyedRef: React$1.MutableRefObject<boolean>;
2671
3103
  idToIndexMap: Map<any, number>;
3104
+ idToPathMap: Map<any, NodePath$1<any>>;
3105
+ pathToIndexDeepMap: DeepMap<any, number>;
2672
3106
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3107
+ treeSelectionState?: never;
2673
3108
  stateReadyAsDetails: never;
2674
3109
  cache?: never;
2675
3110
  unfilteredCount: number;
@@ -2679,10 +3114,11 @@ declare const useManagedDataSource: (props: unknown) => {
2679
3114
  originalDataArrayChangedInfo: {
2680
3115
  timestamp: number;
2681
3116
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3117
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
2682
3118
  };
2683
3119
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2684
3120
  pivotMappings?: never;
2685
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3121
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
2686
3122
  showSeparatePivotColumnForSingleAggregation: never;
2687
3123
  dataParams?: never;
2688
3124
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -2696,8 +3132,11 @@ declare const useManagedDataSource: (props: unknown) => {
2696
3132
  lastFilterDataArray?: never;
2697
3133
  lastSortDataArray?: never;
2698
3134
  lastGroupDataArray?: never;
3135
+ lastTreeDataArray?: never;
2699
3136
  dataArray: InfiniteTableRowInfo<unknown>[];
2700
3137
  groupDeepMap?: never;
3138
+ treeDeepMap?: never;
3139
+ treePaths?: never;
2701
3140
  groupRowsIndexesInDataArray?: never;
2702
3141
  reducerResults?: never;
2703
3142
  allRowsSelected: never;
@@ -2708,6 +3147,7 @@ declare const useManagedDataSource: (props: unknown) => {
2708
3147
  updatedAt: number;
2709
3148
  reducedAt: number;
2710
3149
  groupedAt: number;
3150
+ treeAt: number;
2711
3151
  sortedAt: number;
2712
3152
  filteredAt: number;
2713
3153
  generateGroupRows: never;
@@ -2716,14 +3156,17 @@ declare const useManagedDataSource: (props: unknown) => {
2716
3156
  postGroupDataArray?: never;
2717
3157
  pivotColumns?: never;
2718
3158
  pivotColumnGroups?: never;
3159
+ isTree: never;
2719
3160
  toPrimaryKey: (data: unknown) => any;
2720
3161
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
2721
3162
  sortMode: never;
2722
3163
  filterMode: never;
2723
3164
  groupMode: never;
2724
3165
  pivotMode: never;
2725
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3166
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
2726
3167
  groupRowsState: GroupRowsState<unknown>;
3168
+ treeExpandState: TreeExpandState<any>;
3169
+ treeExpandMode: never;
2727
3170
  multiSort: never;
2728
3171
  controlledSort: never;
2729
3172
  controlledFilter: never;
@@ -2737,10 +3180,19 @@ declare const useManagedDataSource: (props: unknown) => {
2737
3180
  livePagination: never;
2738
3181
  refetchKey: never;
2739
3182
  isRowSelected: never;
3183
+ isNodeSelected: never;
3184
+ isNodeExpanded: never;
3185
+ isNodeCollapsed: never;
3186
+ onNodeCollapse: never;
3187
+ onNodeExpand: never;
2740
3188
  debugId: never;
3189
+ debugMode: never;
3190
+ nodesKey: string;
3191
+ treeSelection: never;
2741
3192
  batchOperationDelay: never;
2742
3193
  onDataArrayChange: never;
2743
3194
  onDataMutations: never;
3195
+ onTreeDataMutations: never;
2744
3196
  onReady: never;
2745
3197
  rowInfoReducers: never;
2746
3198
  lazyLoad: never;
@@ -2763,9 +3215,21 @@ declare const useManagedDataSource: (props: unknown) => {
2763
3215
  } & {
2764
3216
  indexer: Indexer<unknown, any>;
2765
3217
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
3218
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
3219
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
3220
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
3221
+ state: "expanded" | "collapsed";
3222
+ nodePath: NodePath$1<any> | null;
3223
+ }>;
3224
+ repeatWrappedGroupRows: never;
3225
+ rowsPerPage: never;
3226
+ totalLeafNodesCount: number;
2766
3227
  destroyedRef: React$1.MutableRefObject<boolean>;
2767
3228
  idToIndexMap: Map<any, number>;
3229
+ idToPathMap: Map<any, NodePath$1<any>>;
3230
+ pathToIndexDeepMap: DeepMap<any, number>;
2768
3231
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3232
+ treeSelectionState?: never;
2769
3233
  stateReadyAsDetails: never;
2770
3234
  cache?: never;
2771
3235
  unfilteredCount: number;
@@ -2775,10 +3239,11 @@ declare const useManagedDataSource: (props: unknown) => {
2775
3239
  originalDataArrayChangedInfo: {
2776
3240
  timestamp: number;
2777
3241
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3242
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
2778
3243
  };
2779
3244
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2780
3245
  pivotMappings?: never;
2781
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3246
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
2782
3247
  showSeparatePivotColumnForSingleAggregation: never;
2783
3248
  dataParams?: never;
2784
3249
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -2792,8 +3257,11 @@ declare const useManagedDataSource: (props: unknown) => {
2792
3257
  lastFilterDataArray?: never;
2793
3258
  lastSortDataArray?: never;
2794
3259
  lastGroupDataArray?: never;
3260
+ lastTreeDataArray?: never;
2795
3261
  dataArray: InfiniteTableRowInfo<unknown>[];
2796
3262
  groupDeepMap?: never;
3263
+ treeDeepMap?: never;
3264
+ treePaths?: never;
2797
3265
  groupRowsIndexesInDataArray?: never;
2798
3266
  reducerResults?: never;
2799
3267
  allRowsSelected: never;
@@ -2804,6 +3272,7 @@ declare const useManagedDataSource: (props: unknown) => {
2804
3272
  updatedAt: number;
2805
3273
  reducedAt: number;
2806
3274
  groupedAt: number;
3275
+ treeAt: number;
2807
3276
  sortedAt: number;
2808
3277
  filteredAt: number;
2809
3278
  generateGroupRows: never;
@@ -2812,14 +3281,17 @@ declare const useManagedDataSource: (props: unknown) => {
2812
3281
  postGroupDataArray?: never;
2813
3282
  pivotColumns?: never;
2814
3283
  pivotColumnGroups?: never;
3284
+ isTree: never;
2815
3285
  toPrimaryKey: (data: unknown) => any;
2816
3286
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
2817
3287
  sortMode: never;
2818
3288
  filterMode: never;
2819
3289
  groupMode: never;
2820
3290
  pivotMode: never;
2821
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3291
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
2822
3292
  groupRowsState: GroupRowsState<unknown>;
3293
+ treeExpandState: TreeExpandState<any>;
3294
+ treeExpandMode: never;
2823
3295
  multiSort: never;
2824
3296
  controlledSort: never;
2825
3297
  controlledFilter: never;
@@ -2833,10 +3305,19 @@ declare const useManagedDataSource: (props: unknown) => {
2833
3305
  livePagination: never;
2834
3306
  refetchKey: never;
2835
3307
  isRowSelected: never;
3308
+ isNodeSelected: never;
3309
+ isNodeExpanded: never;
3310
+ isNodeCollapsed: never;
3311
+ onNodeCollapse: never;
3312
+ onNodeExpand: never;
2836
3313
  debugId: never;
3314
+ debugMode: never;
3315
+ nodesKey: string;
3316
+ treeSelection: never;
2837
3317
  batchOperationDelay: never;
2838
3318
  onDataArrayChange: never;
2839
3319
  onDataMutations: never;
3320
+ onTreeDataMutations: never;
2840
3321
  onReady: never;
2841
3322
  rowInfoReducers: never;
2842
3323
  lazyLoad: never;
@@ -2860,9 +3341,21 @@ declare const useManagedDataSource: (props: unknown) => {
2860
3341
  componentActions: ComponentStateGeneratedActions<{
2861
3342
  indexer: Indexer<unknown, any>;
2862
3343
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
3344
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
3345
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
3346
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
3347
+ state: "expanded" | "collapsed";
3348
+ nodePath: NodePath$1<any> | null;
3349
+ }>;
3350
+ repeatWrappedGroupRows: never;
3351
+ rowsPerPage: never;
3352
+ totalLeafNodesCount: number;
2863
3353
  destroyedRef: React$1.MutableRefObject<boolean>;
2864
3354
  idToIndexMap: Map<any, number>;
3355
+ idToPathMap: Map<any, NodePath$1<any>>;
3356
+ pathToIndexDeepMap: DeepMap<any, number>;
2865
3357
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3358
+ treeSelectionState?: never;
2866
3359
  stateReadyAsDetails: never;
2867
3360
  cache?: never;
2868
3361
  unfilteredCount: number;
@@ -2872,10 +3365,11 @@ declare const useManagedDataSource: (props: unknown) => {
2872
3365
  originalDataArrayChangedInfo: {
2873
3366
  timestamp: number;
2874
3367
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3368
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
2875
3369
  };
2876
3370
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2877
3371
  pivotMappings?: never;
2878
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3372
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
2879
3373
  showSeparatePivotColumnForSingleAggregation: never;
2880
3374
  dataParams?: never;
2881
3375
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -2889,8 +3383,11 @@ declare const useManagedDataSource: (props: unknown) => {
2889
3383
  lastFilterDataArray?: never;
2890
3384
  lastSortDataArray?: never;
2891
3385
  lastGroupDataArray?: never;
3386
+ lastTreeDataArray?: never;
2892
3387
  dataArray: InfiniteTableRowInfo<unknown>[];
2893
3388
  groupDeepMap?: never;
3389
+ treeDeepMap?: never;
3390
+ treePaths?: never;
2894
3391
  groupRowsIndexesInDataArray?: never;
2895
3392
  reducerResults?: never;
2896
3393
  allRowsSelected: never;
@@ -2901,6 +3398,7 @@ declare const useManagedDataSource: (props: unknown) => {
2901
3398
  updatedAt: number;
2902
3399
  reducedAt: number;
2903
3400
  groupedAt: number;
3401
+ treeAt: number;
2904
3402
  sortedAt: number;
2905
3403
  filteredAt: number;
2906
3404
  generateGroupRows: never;
@@ -2909,14 +3407,17 @@ declare const useManagedDataSource: (props: unknown) => {
2909
3407
  postGroupDataArray?: never;
2910
3408
  pivotColumns?: never;
2911
3409
  pivotColumnGroups?: never;
3410
+ isTree: never;
2912
3411
  toPrimaryKey: (data: unknown) => any;
2913
3412
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
2914
3413
  sortMode: never;
2915
3414
  filterMode: never;
2916
3415
  groupMode: never;
2917
3416
  pivotMode: never;
2918
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3417
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
2919
3418
  groupRowsState: GroupRowsState<unknown>;
3419
+ treeExpandState: TreeExpandState<any>;
3420
+ treeExpandMode: never;
2920
3421
  multiSort: never;
2921
3422
  controlledSort: never;
2922
3423
  controlledFilter: never;
@@ -2930,10 +3431,19 @@ declare const useManagedDataSource: (props: unknown) => {
2930
3431
  livePagination: never;
2931
3432
  refetchKey: never;
2932
3433
  isRowSelected: never;
3434
+ isNodeSelected: never;
3435
+ isNodeExpanded: never;
3436
+ isNodeCollapsed: never;
3437
+ onNodeCollapse: never;
3438
+ onNodeExpand: never;
2933
3439
  debugId: never;
3440
+ debugMode: never;
3441
+ nodesKey: string;
3442
+ treeSelection: never;
2934
3443
  batchOperationDelay: never;
2935
3444
  onDataArrayChange: never;
2936
3445
  onDataMutations: never;
3446
+ onTreeDataMutations: never;
2937
3447
  onReady: never;
2938
3448
  rowInfoReducers: never;
2939
3449
  lazyLoad: never;
@@ -2956,9 +3466,21 @@ declare const useManagedDataSource: (props: unknown) => {
2956
3466
  } & {
2957
3467
  indexer: Indexer<unknown, any>;
2958
3468
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
3469
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
3470
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
3471
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
3472
+ state: "expanded" | "collapsed";
3473
+ nodePath: NodePath$1<any> | null;
3474
+ }>;
3475
+ repeatWrappedGroupRows: never;
3476
+ rowsPerPage: never;
3477
+ totalLeafNodesCount: number;
2959
3478
  destroyedRef: React$1.MutableRefObject<boolean>;
2960
3479
  idToIndexMap: Map<any, number>;
3480
+ idToPathMap: Map<any, NodePath$1<any>>;
3481
+ pathToIndexDeepMap: DeepMap<any, number>;
2961
3482
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3483
+ treeSelectionState?: never;
2962
3484
  stateReadyAsDetails: never;
2963
3485
  cache?: never;
2964
3486
  unfilteredCount: number;
@@ -2968,10 +3490,11 @@ declare const useManagedDataSource: (props: unknown) => {
2968
3490
  originalDataArrayChangedInfo: {
2969
3491
  timestamp: number;
2970
3492
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3493
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
2971
3494
  };
2972
3495
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2973
3496
  pivotMappings?: never;
2974
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3497
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
2975
3498
  showSeparatePivotColumnForSingleAggregation: never;
2976
3499
  dataParams?: never;
2977
3500
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -2985,8 +3508,11 @@ declare const useManagedDataSource: (props: unknown) => {
2985
3508
  lastFilterDataArray?: never;
2986
3509
  lastSortDataArray?: never;
2987
3510
  lastGroupDataArray?: never;
3511
+ lastTreeDataArray?: never;
2988
3512
  dataArray: InfiniteTableRowInfo<unknown>[];
2989
3513
  groupDeepMap?: never;
3514
+ treeDeepMap?: never;
3515
+ treePaths?: never;
2990
3516
  groupRowsIndexesInDataArray?: never;
2991
3517
  reducerResults?: never;
2992
3518
  allRowsSelected: never;
@@ -2997,6 +3523,7 @@ declare const useManagedDataSource: (props: unknown) => {
2997
3523
  updatedAt: number;
2998
3524
  reducedAt: number;
2999
3525
  groupedAt: number;
3526
+ treeAt: number;
3000
3527
  sortedAt: number;
3001
3528
  filteredAt: number;
3002
3529
  generateGroupRows: never;
@@ -3005,14 +3532,17 @@ declare const useManagedDataSource: (props: unknown) => {
3005
3532
  postGroupDataArray?: never;
3006
3533
  pivotColumns?: never;
3007
3534
  pivotColumnGroups?: never;
3535
+ isTree: never;
3008
3536
  toPrimaryKey: (data: unknown) => any;
3009
3537
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3010
3538
  sortMode: never;
3011
3539
  filterMode: never;
3012
3540
  groupMode: never;
3013
3541
  pivotMode: never;
3014
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3542
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3015
3543
  groupRowsState: GroupRowsState<unknown>;
3544
+ treeExpandState: TreeExpandState<any>;
3545
+ treeExpandMode: never;
3016
3546
  multiSort: never;
3017
3547
  controlledSort: never;
3018
3548
  controlledFilter: never;
@@ -3026,10 +3556,19 @@ declare const useManagedDataSource: (props: unknown) => {
3026
3556
  livePagination: never;
3027
3557
  refetchKey: never;
3028
3558
  isRowSelected: never;
3559
+ isNodeSelected: never;
3560
+ isNodeExpanded: never;
3561
+ isNodeCollapsed: never;
3562
+ onNodeCollapse: never;
3563
+ onNodeExpand: never;
3029
3564
  debugId: never;
3565
+ debugMode: never;
3566
+ nodesKey: string;
3567
+ treeSelection: never;
3030
3568
  batchOperationDelay: never;
3031
3569
  onDataArrayChange: never;
3032
3570
  onDataMutations: never;
3571
+ onTreeDataMutations: never;
3033
3572
  onReady: never;
3034
3573
  rowInfoReducers: never;
3035
3574
  lazyLoad: never;
@@ -3052,9 +3591,21 @@ declare const useManagedDataSource: (props: unknown) => {
3052
3591
  } & {
3053
3592
  indexer: Indexer<unknown, any>;
3054
3593
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
3594
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
3595
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
3596
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
3597
+ state: "expanded" | "collapsed";
3598
+ nodePath: NodePath$1<any> | null;
3599
+ }>;
3600
+ repeatWrappedGroupRows: never;
3601
+ rowsPerPage: never;
3602
+ totalLeafNodesCount: number;
3055
3603
  destroyedRef: React$1.MutableRefObject<boolean>;
3056
3604
  idToIndexMap: Map<any, number>;
3605
+ idToPathMap: Map<any, NodePath$1<any>>;
3606
+ pathToIndexDeepMap: DeepMap<any, number>;
3057
3607
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3608
+ treeSelectionState?: never;
3058
3609
  stateReadyAsDetails: never;
3059
3610
  cache?: never;
3060
3611
  unfilteredCount: number;
@@ -3064,10 +3615,11 @@ declare const useManagedDataSource: (props: unknown) => {
3064
3615
  originalDataArrayChangedInfo: {
3065
3616
  timestamp: number;
3066
3617
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3618
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3067
3619
  };
3068
3620
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3069
3621
  pivotMappings?: never;
3070
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3622
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3071
3623
  showSeparatePivotColumnForSingleAggregation: never;
3072
3624
  dataParams?: never;
3073
3625
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3081,8 +3633,11 @@ declare const useManagedDataSource: (props: unknown) => {
3081
3633
  lastFilterDataArray?: never;
3082
3634
  lastSortDataArray?: never;
3083
3635
  lastGroupDataArray?: never;
3636
+ lastTreeDataArray?: never;
3084
3637
  dataArray: InfiniteTableRowInfo<unknown>[];
3085
3638
  groupDeepMap?: never;
3639
+ treeDeepMap?: never;
3640
+ treePaths?: never;
3086
3641
  groupRowsIndexesInDataArray?: never;
3087
3642
  reducerResults?: never;
3088
3643
  allRowsSelected: never;
@@ -3093,6 +3648,7 @@ declare const useManagedDataSource: (props: unknown) => {
3093
3648
  updatedAt: number;
3094
3649
  reducedAt: number;
3095
3650
  groupedAt: number;
3651
+ treeAt: number;
3096
3652
  sortedAt: number;
3097
3653
  filteredAt: number;
3098
3654
  generateGroupRows: never;
@@ -3101,14 +3657,17 @@ declare const useManagedDataSource: (props: unknown) => {
3101
3657
  postGroupDataArray?: never;
3102
3658
  pivotColumns?: never;
3103
3659
  pivotColumnGroups?: never;
3660
+ isTree: never;
3104
3661
  toPrimaryKey: (data: unknown) => any;
3105
3662
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3106
3663
  sortMode: never;
3107
3664
  filterMode: never;
3108
3665
  groupMode: never;
3109
3666
  pivotMode: never;
3110
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3667
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3111
3668
  groupRowsState: GroupRowsState<unknown>;
3669
+ treeExpandState: TreeExpandState<any>;
3670
+ treeExpandMode: never;
3112
3671
  multiSort: never;
3113
3672
  controlledSort: never;
3114
3673
  controlledFilter: never;
@@ -3122,10 +3681,19 @@ declare const useManagedDataSource: (props: unknown) => {
3122
3681
  livePagination: never;
3123
3682
  refetchKey: never;
3124
3683
  isRowSelected: never;
3684
+ isNodeSelected: never;
3685
+ isNodeExpanded: never;
3686
+ isNodeCollapsed: never;
3687
+ onNodeCollapse: never;
3688
+ onNodeExpand: never;
3125
3689
  debugId: never;
3690
+ debugMode: never;
3691
+ nodesKey: string;
3692
+ treeSelection: never;
3126
3693
  batchOperationDelay: never;
3127
3694
  onDataArrayChange: never;
3128
3695
  onDataMutations: never;
3696
+ onTreeDataMutations: never;
3129
3697
  onReady: never;
3130
3698
  rowInfoReducers: never;
3131
3699
  lazyLoad: never;
@@ -3149,9 +3717,21 @@ declare const useManagedDataSource: (props: unknown) => {
3149
3717
  getComponentState: () => {
3150
3718
  indexer: Indexer<unknown, any>;
3151
3719
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
3720
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
3721
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
3722
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
3723
+ state: "expanded" | "collapsed";
3724
+ nodePath: NodePath$1<any> | null;
3725
+ }>;
3726
+ repeatWrappedGroupRows: never;
3727
+ rowsPerPage: never;
3728
+ totalLeafNodesCount: number;
3152
3729
  destroyedRef: React$1.MutableRefObject<boolean>;
3153
3730
  idToIndexMap: Map<any, number>;
3731
+ idToPathMap: Map<any, NodePath$1<any>>;
3732
+ pathToIndexDeepMap: DeepMap<any, number>;
3154
3733
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3734
+ treeSelectionState?: never;
3155
3735
  stateReadyAsDetails: never;
3156
3736
  cache?: never;
3157
3737
  unfilteredCount: number;
@@ -3161,10 +3741,11 @@ declare const useManagedDataSource: (props: unknown) => {
3161
3741
  originalDataArrayChangedInfo: {
3162
3742
  timestamp: number;
3163
3743
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3744
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3164
3745
  };
3165
3746
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3166
3747
  pivotMappings?: never;
3167
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3748
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3168
3749
  showSeparatePivotColumnForSingleAggregation: never;
3169
3750
  dataParams?: never;
3170
3751
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3178,8 +3759,11 @@ declare const useManagedDataSource: (props: unknown) => {
3178
3759
  lastFilterDataArray?: never;
3179
3760
  lastSortDataArray?: never;
3180
3761
  lastGroupDataArray?: never;
3762
+ lastTreeDataArray?: never;
3181
3763
  dataArray: InfiniteTableRowInfo<unknown>[];
3182
3764
  groupDeepMap?: never;
3765
+ treeDeepMap?: never;
3766
+ treePaths?: never;
3183
3767
  groupRowsIndexesInDataArray?: never;
3184
3768
  reducerResults?: never;
3185
3769
  allRowsSelected: never;
@@ -3190,6 +3774,7 @@ declare const useManagedDataSource: (props: unknown) => {
3190
3774
  updatedAt: number;
3191
3775
  reducedAt: number;
3192
3776
  groupedAt: number;
3777
+ treeAt: number;
3193
3778
  sortedAt: number;
3194
3779
  filteredAt: number;
3195
3780
  generateGroupRows: never;
@@ -3198,14 +3783,17 @@ declare const useManagedDataSource: (props: unknown) => {
3198
3783
  postGroupDataArray?: never;
3199
3784
  pivotColumns?: never;
3200
3785
  pivotColumnGroups?: never;
3786
+ isTree: never;
3201
3787
  toPrimaryKey: (data: unknown) => any;
3202
3788
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3203
3789
  sortMode: never;
3204
3790
  filterMode: never;
3205
3791
  groupMode: never;
3206
3792
  pivotMode: never;
3207
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3793
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3208
3794
  groupRowsState: GroupRowsState<unknown>;
3795
+ treeExpandState: TreeExpandState<any>;
3796
+ treeExpandMode: never;
3209
3797
  multiSort: never;
3210
3798
  controlledSort: never;
3211
3799
  controlledFilter: never;
@@ -3219,10 +3807,19 @@ declare const useManagedDataSource: (props: unknown) => {
3219
3807
  livePagination: never;
3220
3808
  refetchKey: never;
3221
3809
  isRowSelected: never;
3810
+ isNodeSelected: never;
3811
+ isNodeExpanded: never;
3812
+ isNodeCollapsed: never;
3813
+ onNodeCollapse: never;
3814
+ onNodeExpand: never;
3222
3815
  debugId: never;
3816
+ debugMode: never;
3817
+ nodesKey: string;
3818
+ treeSelection: never;
3223
3819
  batchOperationDelay: never;
3224
3820
  onDataArrayChange: never;
3225
3821
  onDataMutations: never;
3822
+ onTreeDataMutations: never;
3226
3823
  onReady: never;
3227
3824
  rowInfoReducers: never;
3228
3825
  lazyLoad: never;
@@ -3245,9 +3842,21 @@ declare const useManagedDataSource: (props: unknown) => {
3245
3842
  } & {
3246
3843
  indexer: Indexer<unknown, any>;
3247
3844
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
3845
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
3846
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
3847
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
3848
+ state: "expanded" | "collapsed";
3849
+ nodePath: NodePath$1<any> | null;
3850
+ }>;
3851
+ repeatWrappedGroupRows: never;
3852
+ rowsPerPage: never;
3853
+ totalLeafNodesCount: number;
3248
3854
  destroyedRef: React$1.MutableRefObject<boolean>;
3249
3855
  idToIndexMap: Map<any, number>;
3856
+ idToPathMap: Map<any, NodePath$1<any>>;
3857
+ pathToIndexDeepMap: DeepMap<any, number>;
3250
3858
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3859
+ treeSelectionState?: never;
3251
3860
  stateReadyAsDetails: never;
3252
3861
  cache?: never;
3253
3862
  unfilteredCount: number;
@@ -3257,10 +3866,11 @@ declare const useManagedDataSource: (props: unknown) => {
3257
3866
  originalDataArrayChangedInfo: {
3258
3867
  timestamp: number;
3259
3868
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3869
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3260
3870
  };
3261
3871
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3262
3872
  pivotMappings?: never;
3263
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3873
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3264
3874
  showSeparatePivotColumnForSingleAggregation: never;
3265
3875
  dataParams?: never;
3266
3876
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3274,8 +3884,11 @@ declare const useManagedDataSource: (props: unknown) => {
3274
3884
  lastFilterDataArray?: never;
3275
3885
  lastSortDataArray?: never;
3276
3886
  lastGroupDataArray?: never;
3887
+ lastTreeDataArray?: never;
3277
3888
  dataArray: InfiniteTableRowInfo<unknown>[];
3278
3889
  groupDeepMap?: never;
3890
+ treeDeepMap?: never;
3891
+ treePaths?: never;
3279
3892
  groupRowsIndexesInDataArray?: never;
3280
3893
  reducerResults?: never;
3281
3894
  allRowsSelected: never;
@@ -3286,6 +3899,7 @@ declare const useManagedDataSource: (props: unknown) => {
3286
3899
  updatedAt: number;
3287
3900
  reducedAt: number;
3288
3901
  groupedAt: number;
3902
+ treeAt: number;
3289
3903
  sortedAt: number;
3290
3904
  filteredAt: number;
3291
3905
  generateGroupRows: never;
@@ -3294,14 +3908,17 @@ declare const useManagedDataSource: (props: unknown) => {
3294
3908
  postGroupDataArray?: never;
3295
3909
  pivotColumns?: never;
3296
3910
  pivotColumnGroups?: never;
3911
+ isTree: never;
3297
3912
  toPrimaryKey: (data: unknown) => any;
3298
3913
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3299
3914
  sortMode: never;
3300
3915
  filterMode: never;
3301
3916
  groupMode: never;
3302
3917
  pivotMode: never;
3303
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3918
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3304
3919
  groupRowsState: GroupRowsState<unknown>;
3920
+ treeExpandState: TreeExpandState<any>;
3921
+ treeExpandMode: never;
3305
3922
  multiSort: never;
3306
3923
  controlledSort: never;
3307
3924
  controlledFilter: never;
@@ -3315,10 +3932,19 @@ declare const useManagedDataSource: (props: unknown) => {
3315
3932
  livePagination: never;
3316
3933
  refetchKey: never;
3317
3934
  isRowSelected: never;
3935
+ isNodeSelected: never;
3936
+ isNodeExpanded: never;
3937
+ isNodeCollapsed: never;
3938
+ onNodeCollapse: never;
3939
+ onNodeExpand: never;
3318
3940
  debugId: never;
3941
+ debugMode: never;
3942
+ nodesKey: string;
3943
+ treeSelection: never;
3319
3944
  batchOperationDelay: never;
3320
3945
  onDataArrayChange: never;
3321
3946
  onDataMutations: never;
3947
+ onTreeDataMutations: never;
3322
3948
  onReady: never;
3323
3949
  rowInfoReducers: never;
3324
3950
  lazyLoad: never;
@@ -3341,9 +3967,21 @@ declare const useManagedDataSource: (props: unknown) => {
3341
3967
  } & {
3342
3968
  indexer: Indexer<unknown, any>;
3343
3969
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
3970
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
3971
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
3972
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
3973
+ state: "expanded" | "collapsed";
3974
+ nodePath: NodePath$1<any> | null;
3975
+ }>;
3976
+ repeatWrappedGroupRows: never;
3977
+ rowsPerPage: never;
3978
+ totalLeafNodesCount: number;
3344
3979
  destroyedRef: React$1.MutableRefObject<boolean>;
3345
3980
  idToIndexMap: Map<any, number>;
3981
+ idToPathMap: Map<any, NodePath$1<any>>;
3982
+ pathToIndexDeepMap: DeepMap<any, number>;
3346
3983
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3984
+ treeSelectionState?: never;
3347
3985
  stateReadyAsDetails: never;
3348
3986
  cache?: never;
3349
3987
  unfilteredCount: number;
@@ -3353,10 +3991,11 @@ declare const useManagedDataSource: (props: unknown) => {
3353
3991
  originalDataArrayChangedInfo: {
3354
3992
  timestamp: number;
3355
3993
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3994
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3356
3995
  };
3357
3996
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3358
3997
  pivotMappings?: never;
3359
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3998
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3360
3999
  showSeparatePivotColumnForSingleAggregation: never;
3361
4000
  dataParams?: never;
3362
4001
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3370,8 +4009,11 @@ declare const useManagedDataSource: (props: unknown) => {
3370
4009
  lastFilterDataArray?: never;
3371
4010
  lastSortDataArray?: never;
3372
4011
  lastGroupDataArray?: never;
4012
+ lastTreeDataArray?: never;
3373
4013
  dataArray: InfiniteTableRowInfo<unknown>[];
3374
4014
  groupDeepMap?: never;
4015
+ treeDeepMap?: never;
4016
+ treePaths?: never;
3375
4017
  groupRowsIndexesInDataArray?: never;
3376
4018
  reducerResults?: never;
3377
4019
  allRowsSelected: never;
@@ -3382,6 +4024,7 @@ declare const useManagedDataSource: (props: unknown) => {
3382
4024
  updatedAt: number;
3383
4025
  reducedAt: number;
3384
4026
  groupedAt: number;
4027
+ treeAt: number;
3385
4028
  sortedAt: number;
3386
4029
  filteredAt: number;
3387
4030
  generateGroupRows: never;
@@ -3390,14 +4033,17 @@ declare const useManagedDataSource: (props: unknown) => {
3390
4033
  postGroupDataArray?: never;
3391
4034
  pivotColumns?: never;
3392
4035
  pivotColumnGroups?: never;
4036
+ isTree: never;
3393
4037
  toPrimaryKey: (data: unknown) => any;
3394
4038
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3395
4039
  sortMode: never;
3396
4040
  filterMode: never;
3397
4041
  groupMode: never;
3398
4042
  pivotMode: never;
3399
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4043
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3400
4044
  groupRowsState: GroupRowsState<unknown>;
4045
+ treeExpandState: TreeExpandState<any>;
4046
+ treeExpandMode: never;
3401
4047
  multiSort: never;
3402
4048
  controlledSort: never;
3403
4049
  controlledFilter: never;
@@ -3411,10 +4057,19 @@ declare const useManagedDataSource: (props: unknown) => {
3411
4057
  livePagination: never;
3412
4058
  refetchKey: never;
3413
4059
  isRowSelected: never;
4060
+ isNodeSelected: never;
4061
+ isNodeExpanded: never;
4062
+ isNodeCollapsed: never;
4063
+ onNodeCollapse: never;
4064
+ onNodeExpand: never;
3414
4065
  debugId: never;
4066
+ debugMode: never;
4067
+ nodesKey: string;
4068
+ treeSelection: never;
3415
4069
  batchOperationDelay: never;
3416
4070
  onDataArrayChange: never;
3417
4071
  onDataMutations: never;
4072
+ onTreeDataMutations: never;
3418
4073
  onReady: never;
3419
4074
  rowInfoReducers: never;
3420
4075
  lazyLoad: never;
@@ -3438,9 +4093,21 @@ declare const useManagedDataSource: (props: unknown) => {
3438
4093
  replaceState: (newState: {
3439
4094
  indexer: Indexer<unknown, any>;
3440
4095
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
4096
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
4097
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
4098
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
4099
+ state: "expanded" | "collapsed";
4100
+ nodePath: NodePath$1<any> | null;
4101
+ }>;
4102
+ repeatWrappedGroupRows: never;
4103
+ rowsPerPage: never;
4104
+ totalLeafNodesCount: number;
3441
4105
  destroyedRef: React$1.MutableRefObject<boolean>;
3442
4106
  idToIndexMap: Map<any, number>;
4107
+ idToPathMap: Map<any, NodePath$1<any>>;
4108
+ pathToIndexDeepMap: DeepMap<any, number>;
3443
4109
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4110
+ treeSelectionState?: never;
3444
4111
  stateReadyAsDetails: never;
3445
4112
  cache?: never;
3446
4113
  unfilteredCount: number;
@@ -3450,10 +4117,11 @@ declare const useManagedDataSource: (props: unknown) => {
3450
4117
  originalDataArrayChangedInfo: {
3451
4118
  timestamp: number;
3452
4119
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4120
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3453
4121
  };
3454
4122
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3455
4123
  pivotMappings?: never;
3456
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4124
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3457
4125
  showSeparatePivotColumnForSingleAggregation: never;
3458
4126
  dataParams?: never;
3459
4127
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3467,8 +4135,11 @@ declare const useManagedDataSource: (props: unknown) => {
3467
4135
  lastFilterDataArray?: never;
3468
4136
  lastSortDataArray?: never;
3469
4137
  lastGroupDataArray?: never;
4138
+ lastTreeDataArray?: never;
3470
4139
  dataArray: InfiniteTableRowInfo<unknown>[];
3471
4140
  groupDeepMap?: never;
4141
+ treeDeepMap?: never;
4142
+ treePaths?: never;
3472
4143
  groupRowsIndexesInDataArray?: never;
3473
4144
  reducerResults?: never;
3474
4145
  allRowsSelected: never;
@@ -3479,6 +4150,7 @@ declare const useManagedDataSource: (props: unknown) => {
3479
4150
  updatedAt: number;
3480
4151
  reducedAt: number;
3481
4152
  groupedAt: number;
4153
+ treeAt: number;
3482
4154
  sortedAt: number;
3483
4155
  filteredAt: number;
3484
4156
  generateGroupRows: never;
@@ -3487,14 +4159,17 @@ declare const useManagedDataSource: (props: unknown) => {
3487
4159
  postGroupDataArray?: never;
3488
4160
  pivotColumns?: never;
3489
4161
  pivotColumnGroups?: never;
4162
+ isTree: never;
3490
4163
  toPrimaryKey: (data: unknown) => any;
3491
4164
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3492
4165
  sortMode: never;
3493
4166
  filterMode: never;
3494
4167
  groupMode: never;
3495
4168
  pivotMode: never;
3496
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4169
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3497
4170
  groupRowsState: GroupRowsState<unknown>;
4171
+ treeExpandState: TreeExpandState<any>;
4172
+ treeExpandMode: never;
3498
4173
  multiSort: never;
3499
4174
  controlledSort: never;
3500
4175
  controlledFilter: never;
@@ -3508,10 +4183,19 @@ declare const useManagedDataSource: (props: unknown) => {
3508
4183
  livePagination: never;
3509
4184
  refetchKey: never;
3510
4185
  isRowSelected: never;
4186
+ isNodeSelected: never;
4187
+ isNodeExpanded: never;
4188
+ isNodeCollapsed: never;
4189
+ onNodeCollapse: never;
4190
+ onNodeExpand: never;
3511
4191
  debugId: never;
4192
+ debugMode: never;
4193
+ nodesKey: string;
4194
+ treeSelection: never;
3512
4195
  batchOperationDelay: never;
3513
4196
  onDataArrayChange: never;
3514
4197
  onDataMutations: never;
4198
+ onTreeDataMutations: never;
3515
4199
  onReady: never;
3516
4200
  rowInfoReducers: never;
3517
4201
  lazyLoad: never;
@@ -3534,9 +4218,21 @@ declare const useManagedDataSource: (props: unknown) => {
3534
4218
  } & {
3535
4219
  indexer: Indexer<unknown, any>;
3536
4220
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
4221
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
4222
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
4223
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
4224
+ state: "expanded" | "collapsed";
4225
+ nodePath: NodePath$1<any> | null;
4226
+ }>;
4227
+ repeatWrappedGroupRows: never;
4228
+ rowsPerPage: never;
4229
+ totalLeafNodesCount: number;
3537
4230
  destroyedRef: React$1.MutableRefObject<boolean>;
3538
4231
  idToIndexMap: Map<any, number>;
4232
+ idToPathMap: Map<any, NodePath$1<any>>;
4233
+ pathToIndexDeepMap: DeepMap<any, number>;
3539
4234
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4235
+ treeSelectionState?: never;
3540
4236
  stateReadyAsDetails: never;
3541
4237
  cache?: never;
3542
4238
  unfilteredCount: number;
@@ -3546,10 +4242,11 @@ declare const useManagedDataSource: (props: unknown) => {
3546
4242
  originalDataArrayChangedInfo: {
3547
4243
  timestamp: number;
3548
4244
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4245
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3549
4246
  };
3550
4247
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3551
4248
  pivotMappings?: never;
3552
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4249
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3553
4250
  showSeparatePivotColumnForSingleAggregation: never;
3554
4251
  dataParams?: never;
3555
4252
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3563,8 +4260,11 @@ declare const useManagedDataSource: (props: unknown) => {
3563
4260
  lastFilterDataArray?: never;
3564
4261
  lastSortDataArray?: never;
3565
4262
  lastGroupDataArray?: never;
4263
+ lastTreeDataArray?: never;
3566
4264
  dataArray: InfiniteTableRowInfo<unknown>[];
3567
4265
  groupDeepMap?: never;
4266
+ treeDeepMap?: never;
4267
+ treePaths?: never;
3568
4268
  groupRowsIndexesInDataArray?: never;
3569
4269
  reducerResults?: never;
3570
4270
  allRowsSelected: never;
@@ -3575,6 +4275,7 @@ declare const useManagedDataSource: (props: unknown) => {
3575
4275
  updatedAt: number;
3576
4276
  reducedAt: number;
3577
4277
  groupedAt: number;
4278
+ treeAt: number;
3578
4279
  sortedAt: number;
3579
4280
  filteredAt: number;
3580
4281
  generateGroupRows: never;
@@ -3583,14 +4284,17 @@ declare const useManagedDataSource: (props: unknown) => {
3583
4284
  postGroupDataArray?: never;
3584
4285
  pivotColumns?: never;
3585
4286
  pivotColumnGroups?: never;
4287
+ isTree: never;
3586
4288
  toPrimaryKey: (data: unknown) => any;
3587
4289
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3588
4290
  sortMode: never;
3589
4291
  filterMode: never;
3590
4292
  groupMode: never;
3591
4293
  pivotMode: never;
3592
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4294
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3593
4295
  groupRowsState: GroupRowsState<unknown>;
4296
+ treeExpandState: TreeExpandState<any>;
4297
+ treeExpandMode: never;
3594
4298
  multiSort: never;
3595
4299
  controlledSort: never;
3596
4300
  controlledFilter: never;
@@ -3604,10 +4308,19 @@ declare const useManagedDataSource: (props: unknown) => {
3604
4308
  livePagination: never;
3605
4309
  refetchKey: never;
3606
4310
  isRowSelected: never;
4311
+ isNodeSelected: never;
4312
+ isNodeExpanded: never;
4313
+ isNodeCollapsed: never;
4314
+ onNodeCollapse: never;
4315
+ onNodeExpand: never;
3607
4316
  debugId: never;
4317
+ debugMode: never;
4318
+ nodesKey: string;
4319
+ treeSelection: never;
3608
4320
  batchOperationDelay: never;
3609
4321
  onDataArrayChange: never;
3610
4322
  onDataMutations: never;
4323
+ onTreeDataMutations: never;
3611
4324
  onReady: never;
3612
4325
  rowInfoReducers: never;
3613
4326
  lazyLoad: never;
@@ -3630,9 +4343,21 @@ declare const useManagedDataSource: (props: unknown) => {
3630
4343
  } & {
3631
4344
  indexer: Indexer<unknown, any>;
3632
4345
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
4346
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
4347
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
4348
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
4349
+ state: "expanded" | "collapsed";
4350
+ nodePath: NodePath$1<any> | null;
4351
+ }>;
4352
+ repeatWrappedGroupRows: never;
4353
+ rowsPerPage: never;
4354
+ totalLeafNodesCount: number;
3633
4355
  destroyedRef: React$1.MutableRefObject<boolean>;
3634
4356
  idToIndexMap: Map<any, number>;
4357
+ idToPathMap: Map<any, NodePath$1<any>>;
4358
+ pathToIndexDeepMap: DeepMap<any, number>;
3635
4359
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4360
+ treeSelectionState?: never;
3636
4361
  stateReadyAsDetails: never;
3637
4362
  cache?: never;
3638
4363
  unfilteredCount: number;
@@ -3642,10 +4367,11 @@ declare const useManagedDataSource: (props: unknown) => {
3642
4367
  originalDataArrayChangedInfo: {
3643
4368
  timestamp: number;
3644
4369
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4370
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3645
4371
  };
3646
4372
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3647
4373
  pivotMappings?: never;
3648
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4374
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3649
4375
  showSeparatePivotColumnForSingleAggregation: never;
3650
4376
  dataParams?: never;
3651
4377
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3659,8 +4385,11 @@ declare const useManagedDataSource: (props: unknown) => {
3659
4385
  lastFilterDataArray?: never;
3660
4386
  lastSortDataArray?: never;
3661
4387
  lastGroupDataArray?: never;
4388
+ lastTreeDataArray?: never;
3662
4389
  dataArray: InfiniteTableRowInfo<unknown>[];
3663
4390
  groupDeepMap?: never;
4391
+ treeDeepMap?: never;
4392
+ treePaths?: never;
3664
4393
  groupRowsIndexesInDataArray?: never;
3665
4394
  reducerResults?: never;
3666
4395
  allRowsSelected: never;
@@ -3671,6 +4400,7 @@ declare const useManagedDataSource: (props: unknown) => {
3671
4400
  updatedAt: number;
3672
4401
  reducedAt: number;
3673
4402
  groupedAt: number;
4403
+ treeAt: number;
3674
4404
  sortedAt: number;
3675
4405
  filteredAt: number;
3676
4406
  generateGroupRows: never;
@@ -3679,14 +4409,17 @@ declare const useManagedDataSource: (props: unknown) => {
3679
4409
  postGroupDataArray?: never;
3680
4410
  pivotColumns?: never;
3681
4411
  pivotColumnGroups?: never;
4412
+ isTree: never;
3682
4413
  toPrimaryKey: (data: unknown) => any;
3683
4414
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3684
4415
  sortMode: never;
3685
4416
  filterMode: never;
3686
4417
  groupMode: never;
3687
4418
  pivotMode: never;
3688
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4419
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3689
4420
  groupRowsState: GroupRowsState<unknown>;
4421
+ treeExpandState: TreeExpandState<any>;
4422
+ treeExpandMode: never;
3690
4423
  multiSort: never;
3691
4424
  controlledSort: never;
3692
4425
  controlledFilter: never;
@@ -3700,10 +4433,19 @@ declare const useManagedDataSource: (props: unknown) => {
3700
4433
  livePagination: never;
3701
4434
  refetchKey: never;
3702
4435
  isRowSelected: never;
4436
+ isNodeSelected: never;
4437
+ isNodeExpanded: never;
4438
+ isNodeCollapsed: never;
4439
+ onNodeCollapse: never;
4440
+ onNodeExpand: never;
3703
4441
  debugId: never;
4442
+ debugMode: never;
4443
+ nodesKey: string;
4444
+ treeSelection: never;
3704
4445
  batchOperationDelay: never;
3705
4446
  onDataArrayChange: never;
3706
4447
  onDataMutations: never;
4448
+ onTreeDataMutations: never;
3707
4449
  onReady: never;
3708
4450
  rowInfoReducers: never;
3709
4451
  lazyLoad: never;
@@ -3727,9 +4469,21 @@ declare const useManagedDataSource: (props: unknown) => {
3727
4469
  assignState: (newState: Partial<{
3728
4470
  indexer: Indexer<unknown, any>;
3729
4471
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
4472
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
4473
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
4474
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
4475
+ state: "expanded" | "collapsed";
4476
+ nodePath: NodePath$1<any> | null;
4477
+ }>;
4478
+ repeatWrappedGroupRows: never;
4479
+ rowsPerPage: never;
4480
+ totalLeafNodesCount: number;
3730
4481
  destroyedRef: React$1.MutableRefObject<boolean>;
3731
4482
  idToIndexMap: Map<any, number>;
4483
+ idToPathMap: Map<any, NodePath$1<any>>;
4484
+ pathToIndexDeepMap: DeepMap<any, number>;
3732
4485
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4486
+ treeSelectionState?: never;
3733
4487
  stateReadyAsDetails: never;
3734
4488
  cache?: never;
3735
4489
  unfilteredCount: number;
@@ -3739,10 +4493,11 @@ declare const useManagedDataSource: (props: unknown) => {
3739
4493
  originalDataArrayChangedInfo: {
3740
4494
  timestamp: number;
3741
4495
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4496
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3742
4497
  };
3743
4498
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3744
4499
  pivotMappings?: never;
3745
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4500
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3746
4501
  showSeparatePivotColumnForSingleAggregation: never;
3747
4502
  dataParams?: never;
3748
4503
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3756,8 +4511,11 @@ declare const useManagedDataSource: (props: unknown) => {
3756
4511
  lastFilterDataArray?: never;
3757
4512
  lastSortDataArray?: never;
3758
4513
  lastGroupDataArray?: never;
4514
+ lastTreeDataArray?: never;
3759
4515
  dataArray: InfiniteTableRowInfo<unknown>[];
3760
4516
  groupDeepMap?: never;
4517
+ treeDeepMap?: never;
4518
+ treePaths?: never;
3761
4519
  groupRowsIndexesInDataArray?: never;
3762
4520
  reducerResults?: never;
3763
4521
  allRowsSelected: never;
@@ -3768,6 +4526,7 @@ declare const useManagedDataSource: (props: unknown) => {
3768
4526
  updatedAt: number;
3769
4527
  reducedAt: number;
3770
4528
  groupedAt: number;
4529
+ treeAt: number;
3771
4530
  sortedAt: number;
3772
4531
  filteredAt: number;
3773
4532
  generateGroupRows: never;
@@ -3776,14 +4535,17 @@ declare const useManagedDataSource: (props: unknown) => {
3776
4535
  postGroupDataArray?: never;
3777
4536
  pivotColumns?: never;
3778
4537
  pivotColumnGroups?: never;
4538
+ isTree: never;
3779
4539
  toPrimaryKey: (data: unknown) => any;
3780
4540
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3781
4541
  sortMode: never;
3782
4542
  filterMode: never;
3783
4543
  groupMode: never;
3784
4544
  pivotMode: never;
3785
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4545
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3786
4546
  groupRowsState: GroupRowsState<unknown>;
4547
+ treeExpandState: TreeExpandState<any>;
4548
+ treeExpandMode: never;
3787
4549
  multiSort: never;
3788
4550
  controlledSort: never;
3789
4551
  controlledFilter: never;
@@ -3797,10 +4559,19 @@ declare const useManagedDataSource: (props: unknown) => {
3797
4559
  livePagination: never;
3798
4560
  refetchKey: never;
3799
4561
  isRowSelected: never;
4562
+ isNodeSelected: never;
4563
+ isNodeExpanded: never;
4564
+ isNodeCollapsed: never;
4565
+ onNodeCollapse: never;
4566
+ onNodeExpand: never;
3800
4567
  debugId: never;
4568
+ debugMode: never;
4569
+ nodesKey: string;
4570
+ treeSelection: never;
3801
4571
  batchOperationDelay: never;
3802
4572
  onDataArrayChange: never;
3803
4573
  onDataMutations: never;
4574
+ onTreeDataMutations: never;
3804
4575
  onReady: never;
3805
4576
  rowInfoReducers: never;
3806
4577
  lazyLoad: never;
@@ -3823,9 +4594,21 @@ declare const useManagedDataSource: (props: unknown) => {
3823
4594
  } & {
3824
4595
  indexer: Indexer<unknown, any>;
3825
4596
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
4597
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
4598
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
4599
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
4600
+ state: "expanded" | "collapsed";
4601
+ nodePath: NodePath$1<any> | null;
4602
+ }>;
4603
+ repeatWrappedGroupRows: never;
4604
+ rowsPerPage: never;
4605
+ totalLeafNodesCount: number;
3826
4606
  destroyedRef: React$1.MutableRefObject<boolean>;
3827
4607
  idToIndexMap: Map<any, number>;
4608
+ idToPathMap: Map<any, NodePath$1<any>>;
4609
+ pathToIndexDeepMap: DeepMap<any, number>;
3828
4610
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4611
+ treeSelectionState?: never;
3829
4612
  stateReadyAsDetails: never;
3830
4613
  cache?: never;
3831
4614
  unfilteredCount: number;
@@ -3835,10 +4618,11 @@ declare const useManagedDataSource: (props: unknown) => {
3835
4618
  originalDataArrayChangedInfo: {
3836
4619
  timestamp: number;
3837
4620
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4621
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3838
4622
  };
3839
4623
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3840
4624
  pivotMappings?: never;
3841
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4625
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3842
4626
  showSeparatePivotColumnForSingleAggregation: never;
3843
4627
  dataParams?: never;
3844
4628
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3852,8 +4636,11 @@ declare const useManagedDataSource: (props: unknown) => {
3852
4636
  lastFilterDataArray?: never;
3853
4637
  lastSortDataArray?: never;
3854
4638
  lastGroupDataArray?: never;
4639
+ lastTreeDataArray?: never;
3855
4640
  dataArray: InfiniteTableRowInfo<unknown>[];
3856
4641
  groupDeepMap?: never;
4642
+ treeDeepMap?: never;
4643
+ treePaths?: never;
3857
4644
  groupRowsIndexesInDataArray?: never;
3858
4645
  reducerResults?: never;
3859
4646
  allRowsSelected: never;
@@ -3864,6 +4651,7 @@ declare const useManagedDataSource: (props: unknown) => {
3864
4651
  updatedAt: number;
3865
4652
  reducedAt: number;
3866
4653
  groupedAt: number;
4654
+ treeAt: number;
3867
4655
  sortedAt: number;
3868
4656
  filteredAt: number;
3869
4657
  generateGroupRows: never;
@@ -3872,14 +4660,17 @@ declare const useManagedDataSource: (props: unknown) => {
3872
4660
  postGroupDataArray?: never;
3873
4661
  pivotColumns?: never;
3874
4662
  pivotColumnGroups?: never;
4663
+ isTree: never;
3875
4664
  toPrimaryKey: (data: unknown) => any;
3876
4665
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3877
4666
  sortMode: never;
3878
4667
  filterMode: never;
3879
4668
  groupMode: never;
3880
4669
  pivotMode: never;
3881
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4670
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3882
4671
  groupRowsState: GroupRowsState<unknown>;
4672
+ treeExpandState: TreeExpandState<any>;
4673
+ treeExpandMode: never;
3883
4674
  multiSort: never;
3884
4675
  controlledSort: never;
3885
4676
  controlledFilter: never;
@@ -3893,10 +4684,19 @@ declare const useManagedDataSource: (props: unknown) => {
3893
4684
  livePagination: never;
3894
4685
  refetchKey: never;
3895
4686
  isRowSelected: never;
4687
+ isNodeSelected: never;
4688
+ isNodeExpanded: never;
4689
+ isNodeCollapsed: never;
4690
+ onNodeCollapse: never;
4691
+ onNodeExpand: never;
3896
4692
  debugId: never;
4693
+ debugMode: never;
4694
+ nodesKey: string;
4695
+ treeSelection: never;
3897
4696
  batchOperationDelay: never;
3898
4697
  onDataArrayChange: never;
3899
4698
  onDataMutations: never;
4699
+ onTreeDataMutations: never;
3900
4700
  onReady: never;
3901
4701
  rowInfoReducers: never;
3902
4702
  lazyLoad: never;
@@ -3919,9 +4719,21 @@ declare const useManagedDataSource: (props: unknown) => {
3919
4719
  } & {
3920
4720
  indexer: Indexer<unknown, any>;
3921
4721
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
4722
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
4723
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
4724
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
4725
+ state: "expanded" | "collapsed";
4726
+ nodePath: NodePath$1<any> | null;
4727
+ }>;
4728
+ repeatWrappedGroupRows: never;
4729
+ rowsPerPage: never;
4730
+ totalLeafNodesCount: number;
3922
4731
  destroyedRef: React$1.MutableRefObject<boolean>;
3923
4732
  idToIndexMap: Map<any, number>;
4733
+ idToPathMap: Map<any, NodePath$1<any>>;
4734
+ pathToIndexDeepMap: DeepMap<any, number>;
3924
4735
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4736
+ treeSelectionState?: never;
3925
4737
  stateReadyAsDetails: never;
3926
4738
  cache?: never;
3927
4739
  unfilteredCount: number;
@@ -3931,10 +4743,11 @@ declare const useManagedDataSource: (props: unknown) => {
3931
4743
  originalDataArrayChangedInfo: {
3932
4744
  timestamp: number;
3933
4745
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4746
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3934
4747
  };
3935
4748
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3936
4749
  pivotMappings?: never;
3937
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4750
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
3938
4751
  showSeparatePivotColumnForSingleAggregation: never;
3939
4752
  dataParams?: never;
3940
4753
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3948,8 +4761,11 @@ declare const useManagedDataSource: (props: unknown) => {
3948
4761
  lastFilterDataArray?: never;
3949
4762
  lastSortDataArray?: never;
3950
4763
  lastGroupDataArray?: never;
4764
+ lastTreeDataArray?: never;
3951
4765
  dataArray: InfiniteTableRowInfo<unknown>[];
3952
4766
  groupDeepMap?: never;
4767
+ treeDeepMap?: never;
4768
+ treePaths?: never;
3953
4769
  groupRowsIndexesInDataArray?: never;
3954
4770
  reducerResults?: never;
3955
4771
  allRowsSelected: never;
@@ -3960,6 +4776,7 @@ declare const useManagedDataSource: (props: unknown) => {
3960
4776
  updatedAt: number;
3961
4777
  reducedAt: number;
3962
4778
  groupedAt: number;
4779
+ treeAt: number;
3963
4780
  sortedAt: number;
3964
4781
  filteredAt: number;
3965
4782
  generateGroupRows: never;
@@ -3968,14 +4785,17 @@ declare const useManagedDataSource: (props: unknown) => {
3968
4785
  postGroupDataArray?: never;
3969
4786
  pivotColumns?: never;
3970
4787
  pivotColumnGroups?: never;
4788
+ isTree: never;
3971
4789
  toPrimaryKey: (data: unknown) => any;
3972
4790
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3973
4791
  sortMode: never;
3974
4792
  filterMode: never;
3975
4793
  groupMode: never;
3976
4794
  pivotMode: never;
3977
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4795
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3978
4796
  groupRowsState: GroupRowsState<unknown>;
4797
+ treeExpandState: TreeExpandState<any>;
4798
+ treeExpandMode: never;
3979
4799
  multiSort: never;
3980
4800
  controlledSort: never;
3981
4801
  controlledFilter: never;
@@ -3989,10 +4809,19 @@ declare const useManagedDataSource: (props: unknown) => {
3989
4809
  livePagination: never;
3990
4810
  refetchKey: never;
3991
4811
  isRowSelected: never;
4812
+ isNodeSelected: never;
4813
+ isNodeExpanded: never;
4814
+ isNodeCollapsed: never;
4815
+ onNodeCollapse: never;
4816
+ onNodeExpand: never;
3992
4817
  debugId: never;
4818
+ debugMode: never;
4819
+ nodesKey: string;
4820
+ treeSelection: never;
3993
4821
  batchOperationDelay: never;
3994
4822
  onDataArrayChange: never;
3995
4823
  onDataMutations: never;
4824
+ onTreeDataMutations: never;
3996
4825
  onReady: never;
3997
4826
  rowInfoReducers: never;
3998
4827
  lazyLoad: never;
@@ -4017,9 +4846,21 @@ declare const useManagedDataSource: (props: unknown) => {
4017
4846
  ContextComponent: React$1.Context<ManagedComponentStateContextValue<{
4018
4847
  indexer: Indexer<unknown, any>;
4019
4848
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
4849
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
4850
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
4851
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
4852
+ state: "expanded" | "collapsed";
4853
+ nodePath: NodePath$1<any> | null;
4854
+ }>;
4855
+ repeatWrappedGroupRows: never;
4856
+ rowsPerPage: never;
4857
+ totalLeafNodesCount: number;
4020
4858
  destroyedRef: React$1.MutableRefObject<boolean>;
4021
4859
  idToIndexMap: Map<any, number>;
4860
+ idToPathMap: Map<any, NodePath$1<any>>;
4861
+ pathToIndexDeepMap: DeepMap<any, number>;
4022
4862
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4863
+ treeSelectionState?: never;
4023
4864
  stateReadyAsDetails: never;
4024
4865
  cache?: never;
4025
4866
  unfilteredCount: number;
@@ -4029,10 +4870,11 @@ declare const useManagedDataSource: (props: unknown) => {
4029
4870
  originalDataArrayChangedInfo: {
4030
4871
  timestamp: number;
4031
4872
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4873
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4032
4874
  };
4033
4875
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4034
4876
  pivotMappings?: never;
4035
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4877
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4036
4878
  showSeparatePivotColumnForSingleAggregation: never;
4037
4879
  dataParams?: never;
4038
4880
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4046,8 +4888,11 @@ declare const useManagedDataSource: (props: unknown) => {
4046
4888
  lastFilterDataArray?: never;
4047
4889
  lastSortDataArray?: never;
4048
4890
  lastGroupDataArray?: never;
4891
+ lastTreeDataArray?: never;
4049
4892
  dataArray: InfiniteTableRowInfo<unknown>[];
4050
4893
  groupDeepMap?: never;
4894
+ treeDeepMap?: never;
4895
+ treePaths?: never;
4051
4896
  groupRowsIndexesInDataArray?: never;
4052
4897
  reducerResults?: never;
4053
4898
  allRowsSelected: never;
@@ -4058,6 +4903,7 @@ declare const useManagedDataSource: (props: unknown) => {
4058
4903
  updatedAt: number;
4059
4904
  reducedAt: number;
4060
4905
  groupedAt: number;
4906
+ treeAt: number;
4061
4907
  sortedAt: number;
4062
4908
  filteredAt: number;
4063
4909
  generateGroupRows: never;
@@ -4066,14 +4912,17 @@ declare const useManagedDataSource: (props: unknown) => {
4066
4912
  postGroupDataArray?: never;
4067
4913
  pivotColumns?: never;
4068
4914
  pivotColumnGroups?: never;
4915
+ isTree: never;
4069
4916
  toPrimaryKey: (data: unknown) => any;
4070
4917
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4071
4918
  sortMode: never;
4072
4919
  filterMode: never;
4073
4920
  groupMode: never;
4074
4921
  pivotMode: never;
4075
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4922
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4076
4923
  groupRowsState: GroupRowsState<unknown>;
4924
+ treeExpandState: TreeExpandState<any>;
4925
+ treeExpandMode: never;
4077
4926
  multiSort: never;
4078
4927
  controlledSort: never;
4079
4928
  controlledFilter: never;
@@ -4087,10 +4936,19 @@ declare const useManagedDataSource: (props: unknown) => {
4087
4936
  livePagination: never;
4088
4937
  refetchKey: never;
4089
4938
  isRowSelected: never;
4939
+ isNodeSelected: never;
4940
+ isNodeExpanded: never;
4941
+ isNodeCollapsed: never;
4942
+ onNodeCollapse: never;
4943
+ onNodeExpand: never;
4090
4944
  debugId: never;
4945
+ debugMode: never;
4946
+ nodesKey: string;
4947
+ treeSelection: never;
4091
4948
  batchOperationDelay: never;
4092
4949
  onDataArrayChange: never;
4093
4950
  onDataMutations: never;
4951
+ onTreeDataMutations: never;
4094
4952
  onReady: never;
4095
4953
  rowInfoReducers: never;
4096
4954
  lazyLoad: never;
@@ -4113,9 +4971,21 @@ declare const useManagedDataSource: (props: unknown) => {
4113
4971
  } & {
4114
4972
  indexer: Indexer<unknown, any>;
4115
4973
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
4974
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
4975
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
4976
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
4977
+ state: "expanded" | "collapsed";
4978
+ nodePath: NodePath$1<any> | null;
4979
+ }>;
4980
+ repeatWrappedGroupRows: never;
4981
+ rowsPerPage: never;
4982
+ totalLeafNodesCount: number;
4116
4983
  destroyedRef: React$1.MutableRefObject<boolean>;
4117
4984
  idToIndexMap: Map<any, number>;
4985
+ idToPathMap: Map<any, NodePath$1<any>>;
4986
+ pathToIndexDeepMap: DeepMap<any, number>;
4118
4987
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4988
+ treeSelectionState?: never;
4119
4989
  stateReadyAsDetails: never;
4120
4990
  cache?: never;
4121
4991
  unfilteredCount: number;
@@ -4125,10 +4995,11 @@ declare const useManagedDataSource: (props: unknown) => {
4125
4995
  originalDataArrayChangedInfo: {
4126
4996
  timestamp: number;
4127
4997
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4998
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4128
4999
  };
4129
5000
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4130
5001
  pivotMappings?: never;
4131
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
5002
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4132
5003
  showSeparatePivotColumnForSingleAggregation: never;
4133
5004
  dataParams?: never;
4134
5005
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4142,8 +5013,11 @@ declare const useManagedDataSource: (props: unknown) => {
4142
5013
  lastFilterDataArray?: never;
4143
5014
  lastSortDataArray?: never;
4144
5015
  lastGroupDataArray?: never;
5016
+ lastTreeDataArray?: never;
4145
5017
  dataArray: InfiniteTableRowInfo<unknown>[];
4146
5018
  groupDeepMap?: never;
5019
+ treeDeepMap?: never;
5020
+ treePaths?: never;
4147
5021
  groupRowsIndexesInDataArray?: never;
4148
5022
  reducerResults?: never;
4149
5023
  allRowsSelected: never;
@@ -4154,6 +5028,7 @@ declare const useManagedDataSource: (props: unknown) => {
4154
5028
  updatedAt: number;
4155
5029
  reducedAt: number;
4156
5030
  groupedAt: number;
5031
+ treeAt: number;
4157
5032
  sortedAt: number;
4158
5033
  filteredAt: number;
4159
5034
  generateGroupRows: never;
@@ -4162,14 +5037,17 @@ declare const useManagedDataSource: (props: unknown) => {
4162
5037
  postGroupDataArray?: never;
4163
5038
  pivotColumns?: never;
4164
5039
  pivotColumnGroups?: never;
5040
+ isTree: never;
4165
5041
  toPrimaryKey: (data: unknown) => any;
4166
5042
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4167
5043
  sortMode: never;
4168
5044
  filterMode: never;
4169
5045
  groupMode: never;
4170
5046
  pivotMode: never;
4171
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
5047
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4172
5048
  groupRowsState: GroupRowsState<unknown>;
5049
+ treeExpandState: TreeExpandState<any>;
5050
+ treeExpandMode: never;
4173
5051
  multiSort: never;
4174
5052
  controlledSort: never;
4175
5053
  controlledFilter: never;
@@ -4183,10 +5061,19 @@ declare const useManagedDataSource: (props: unknown) => {
4183
5061
  livePagination: never;
4184
5062
  refetchKey: never;
4185
5063
  isRowSelected: never;
5064
+ isNodeSelected: never;
5065
+ isNodeExpanded: never;
5066
+ isNodeCollapsed: never;
5067
+ onNodeCollapse: never;
5068
+ onNodeExpand: never;
4186
5069
  debugId: never;
5070
+ debugMode: never;
5071
+ nodesKey: string;
5072
+ treeSelection: never;
4187
5073
  batchOperationDelay: never;
4188
5074
  onDataArrayChange: never;
4189
5075
  onDataMutations: never;
5076
+ onTreeDataMutations: never;
4190
5077
  onReady: never;
4191
5078
  rowInfoReducers: never;
4192
5079
  lazyLoad: never;
@@ -4209,9 +5096,21 @@ declare const useManagedDataSource: (props: unknown) => {
4209
5096
  } & {
4210
5097
  indexer: Indexer<unknown, any>;
4211
5098
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
5099
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
5100
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
5101
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
5102
+ state: "expanded" | "collapsed";
5103
+ nodePath: NodePath$1<any> | null;
5104
+ }>;
5105
+ repeatWrappedGroupRows: never;
5106
+ rowsPerPage: never;
5107
+ totalLeafNodesCount: number;
4212
5108
  destroyedRef: React$1.MutableRefObject<boolean>;
4213
5109
  idToIndexMap: Map<any, number>;
5110
+ idToPathMap: Map<any, NodePath$1<any>>;
5111
+ pathToIndexDeepMap: DeepMap<any, number>;
4214
5112
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
5113
+ treeSelectionState?: never;
4215
5114
  stateReadyAsDetails: never;
4216
5115
  cache?: never;
4217
5116
  unfilteredCount: number;
@@ -4221,10 +5120,11 @@ declare const useManagedDataSource: (props: unknown) => {
4221
5120
  originalDataArrayChangedInfo: {
4222
5121
  timestamp: number;
4223
5122
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
5123
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4224
5124
  };
4225
5125
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4226
5126
  pivotMappings?: never;
4227
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
5127
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4228
5128
  showSeparatePivotColumnForSingleAggregation: never;
4229
5129
  dataParams?: never;
4230
5130
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4238,8 +5138,11 @@ declare const useManagedDataSource: (props: unknown) => {
4238
5138
  lastFilterDataArray?: never;
4239
5139
  lastSortDataArray?: never;
4240
5140
  lastGroupDataArray?: never;
5141
+ lastTreeDataArray?: never;
4241
5142
  dataArray: InfiniteTableRowInfo<unknown>[];
4242
5143
  groupDeepMap?: never;
5144
+ treeDeepMap?: never;
5145
+ treePaths?: never;
4243
5146
  groupRowsIndexesInDataArray?: never;
4244
5147
  reducerResults?: never;
4245
5148
  allRowsSelected: never;
@@ -4250,6 +5153,7 @@ declare const useManagedDataSource: (props: unknown) => {
4250
5153
  updatedAt: number;
4251
5154
  reducedAt: number;
4252
5155
  groupedAt: number;
5156
+ treeAt: number;
4253
5157
  sortedAt: number;
4254
5158
  filteredAt: number;
4255
5159
  generateGroupRows: never;
@@ -4258,14 +5162,17 @@ declare const useManagedDataSource: (props: unknown) => {
4258
5162
  postGroupDataArray?: never;
4259
5163
  pivotColumns?: never;
4260
5164
  pivotColumnGroups?: never;
5165
+ isTree: never;
4261
5166
  toPrimaryKey: (data: unknown) => any;
4262
5167
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4263
5168
  sortMode: never;
4264
5169
  filterMode: never;
4265
5170
  groupMode: never;
4266
5171
  pivotMode: never;
4267
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
5172
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4268
5173
  groupRowsState: GroupRowsState<unknown>;
5174
+ treeExpandState: TreeExpandState<any>;
5175
+ treeExpandMode: never;
4269
5176
  multiSort: never;
4270
5177
  controlledSort: never;
4271
5178
  controlledFilter: never;
@@ -4279,10 +5186,19 @@ declare const useManagedDataSource: (props: unknown) => {
4279
5186
  livePagination: never;
4280
5187
  refetchKey: never;
4281
5188
  isRowSelected: never;
5189
+ isNodeSelected: never;
5190
+ isNodeExpanded: never;
5191
+ isNodeCollapsed: never;
5192
+ onNodeCollapse: never;
5193
+ onNodeExpand: never;
4282
5194
  debugId: never;
5195
+ debugMode: never;
5196
+ nodesKey: string;
5197
+ treeSelection: never;
4283
5198
  batchOperationDelay: never;
4284
5199
  onDataArrayChange: never;
4285
5200
  onDataMutations: never;
5201
+ onTreeDataMutations: never;
4286
5202
  onReady: never;
4287
5203
  rowInfoReducers: never;
4288
5204
  lazyLoad: never;
@@ -4305,9 +5221,21 @@ declare const useManagedDataSource: (props: unknown) => {
4305
5221
  }, ComponentStateGeneratedActions<{
4306
5222
  indexer: Indexer<unknown, any>;
4307
5223
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
5224
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
5225
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
5226
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
5227
+ state: "expanded" | "collapsed";
5228
+ nodePath: NodePath$1<any> | null;
5229
+ }>;
5230
+ repeatWrappedGroupRows: never;
5231
+ rowsPerPage: never;
5232
+ totalLeafNodesCount: number;
4308
5233
  destroyedRef: React$1.MutableRefObject<boolean>;
4309
5234
  idToIndexMap: Map<any, number>;
5235
+ idToPathMap: Map<any, NodePath$1<any>>;
5236
+ pathToIndexDeepMap: DeepMap<any, number>;
4310
5237
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
5238
+ treeSelectionState?: never;
4311
5239
  stateReadyAsDetails: never;
4312
5240
  cache?: never;
4313
5241
  unfilteredCount: number;
@@ -4317,10 +5245,11 @@ declare const useManagedDataSource: (props: unknown) => {
4317
5245
  originalDataArrayChangedInfo: {
4318
5246
  timestamp: number;
4319
5247
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
5248
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4320
5249
  };
4321
5250
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4322
5251
  pivotMappings?: never;
4323
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
5252
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4324
5253
  showSeparatePivotColumnForSingleAggregation: never;
4325
5254
  dataParams?: never;
4326
5255
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4334,8 +5263,11 @@ declare const useManagedDataSource: (props: unknown) => {
4334
5263
  lastFilterDataArray?: never;
4335
5264
  lastSortDataArray?: never;
4336
5265
  lastGroupDataArray?: never;
5266
+ lastTreeDataArray?: never;
4337
5267
  dataArray: InfiniteTableRowInfo<unknown>[];
4338
5268
  groupDeepMap?: never;
5269
+ treeDeepMap?: never;
5270
+ treePaths?: never;
4339
5271
  groupRowsIndexesInDataArray?: never;
4340
5272
  reducerResults?: never;
4341
5273
  allRowsSelected: never;
@@ -4346,6 +5278,7 @@ declare const useManagedDataSource: (props: unknown) => {
4346
5278
  updatedAt: number;
4347
5279
  reducedAt: number;
4348
5280
  groupedAt: number;
5281
+ treeAt: number;
4349
5282
  sortedAt: number;
4350
5283
  filteredAt: number;
4351
5284
  generateGroupRows: never;
@@ -4354,14 +5287,17 @@ declare const useManagedDataSource: (props: unknown) => {
4354
5287
  postGroupDataArray?: never;
4355
5288
  pivotColumns?: never;
4356
5289
  pivotColumnGroups?: never;
5290
+ isTree: never;
4357
5291
  toPrimaryKey: (data: unknown) => any;
4358
5292
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4359
5293
  sortMode: never;
4360
5294
  filterMode: never;
4361
5295
  groupMode: never;
4362
5296
  pivotMode: never;
4363
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
5297
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4364
5298
  groupRowsState: GroupRowsState<unknown>;
5299
+ treeExpandState: TreeExpandState<any>;
5300
+ treeExpandMode: never;
4365
5301
  multiSort: never;
4366
5302
  controlledSort: never;
4367
5303
  controlledFilter: never;
@@ -4375,10 +5311,19 @@ declare const useManagedDataSource: (props: unknown) => {
4375
5311
  livePagination: never;
4376
5312
  refetchKey: never;
4377
5313
  isRowSelected: never;
5314
+ isNodeSelected: never;
5315
+ isNodeExpanded: never;
5316
+ isNodeCollapsed: never;
5317
+ onNodeCollapse: never;
5318
+ onNodeExpand: never;
4378
5319
  debugId: never;
5320
+ debugMode: never;
5321
+ nodesKey: string;
5322
+ treeSelection: never;
4379
5323
  batchOperationDelay: never;
4380
5324
  onDataArrayChange: never;
4381
5325
  onDataMutations: never;
5326
+ onTreeDataMutations: never;
4382
5327
  onReady: never;
4383
5328
  rowInfoReducers: never;
4384
5329
  lazyLoad: never;
@@ -4401,9 +5346,21 @@ declare const useManagedDataSource: (props: unknown) => {
4401
5346
  } & {
4402
5347
  indexer: Indexer<unknown, any>;
4403
5348
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
5349
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
5350
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
5351
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
5352
+ state: "expanded" | "collapsed";
5353
+ nodePath: NodePath$1<any> | null;
5354
+ }>;
5355
+ repeatWrappedGroupRows: never;
5356
+ rowsPerPage: never;
5357
+ totalLeafNodesCount: number;
4404
5358
  destroyedRef: React$1.MutableRefObject<boolean>;
4405
5359
  idToIndexMap: Map<any, number>;
5360
+ idToPathMap: Map<any, NodePath$1<any>>;
5361
+ pathToIndexDeepMap: DeepMap<any, number>;
4406
5362
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
5363
+ treeSelectionState?: never;
4407
5364
  stateReadyAsDetails: never;
4408
5365
  cache?: never;
4409
5366
  unfilteredCount: number;
@@ -4413,10 +5370,11 @@ declare const useManagedDataSource: (props: unknown) => {
4413
5370
  originalDataArrayChangedInfo: {
4414
5371
  timestamp: number;
4415
5372
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
5373
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4416
5374
  };
4417
5375
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4418
5376
  pivotMappings?: never;
4419
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
5377
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4420
5378
  showSeparatePivotColumnForSingleAggregation: never;
4421
5379
  dataParams?: never;
4422
5380
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4430,8 +5388,11 @@ declare const useManagedDataSource: (props: unknown) => {
4430
5388
  lastFilterDataArray?: never;
4431
5389
  lastSortDataArray?: never;
4432
5390
  lastGroupDataArray?: never;
5391
+ lastTreeDataArray?: never;
4433
5392
  dataArray: InfiniteTableRowInfo<unknown>[];
4434
5393
  groupDeepMap?: never;
5394
+ treeDeepMap?: never;
5395
+ treePaths?: never;
4435
5396
  groupRowsIndexesInDataArray?: never;
4436
5397
  reducerResults?: never;
4437
5398
  allRowsSelected: never;
@@ -4442,6 +5403,7 @@ declare const useManagedDataSource: (props: unknown) => {
4442
5403
  updatedAt: number;
4443
5404
  reducedAt: number;
4444
5405
  groupedAt: number;
5406
+ treeAt: number;
4445
5407
  sortedAt: number;
4446
5408
  filteredAt: number;
4447
5409
  generateGroupRows: never;
@@ -4450,14 +5412,17 @@ declare const useManagedDataSource: (props: unknown) => {
4450
5412
  postGroupDataArray?: never;
4451
5413
  pivotColumns?: never;
4452
5414
  pivotColumnGroups?: never;
5415
+ isTree: never;
4453
5416
  toPrimaryKey: (data: unknown) => any;
4454
5417
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4455
5418
  sortMode: never;
4456
5419
  filterMode: never;
4457
5420
  groupMode: never;
4458
5421
  pivotMode: never;
4459
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
5422
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4460
5423
  groupRowsState: GroupRowsState<unknown>;
5424
+ treeExpandState: TreeExpandState<any>;
5425
+ treeExpandMode: never;
4461
5426
  multiSort: never;
4462
5427
  controlledSort: never;
4463
5428
  controlledFilter: never;
@@ -4471,10 +5436,19 @@ declare const useManagedDataSource: (props: unknown) => {
4471
5436
  livePagination: never;
4472
5437
  refetchKey: never;
4473
5438
  isRowSelected: never;
5439
+ isNodeSelected: never;
5440
+ isNodeExpanded: never;
5441
+ isNodeCollapsed: never;
5442
+ onNodeCollapse: never;
5443
+ onNodeExpand: never;
4474
5444
  debugId: never;
5445
+ debugMode: never;
5446
+ nodesKey: string;
5447
+ treeSelection: never;
4475
5448
  batchOperationDelay: never;
4476
5449
  onDataArrayChange: never;
4477
5450
  onDataMutations: never;
5451
+ onTreeDataMutations: never;
4478
5452
  onReady: never;
4479
5453
  rowInfoReducers: never;
4480
5454
  lazyLoad: never;
@@ -4497,9 +5471,21 @@ declare const useManagedDataSource: (props: unknown) => {
4497
5471
  } & {
4498
5472
  indexer: Indexer<unknown, any>;
4499
5473
  getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
5474
+ __apiRef: React$1.MutableRefObject<DataSourceApi<unknown> | null>;
5475
+ lastSelectionUpdatedNodePathRef: React$1.MutableRefObject<NodePath$1<any> | null>;
5476
+ lastExpandStateInfoRef: React$1.MutableRefObject<{
5477
+ state: "expanded" | "collapsed";
5478
+ nodePath: NodePath$1<any> | null;
5479
+ }>;
5480
+ repeatWrappedGroupRows: never;
5481
+ rowsPerPage: never;
5482
+ totalLeafNodesCount: number;
4500
5483
  destroyedRef: React$1.MutableRefObject<boolean>;
4501
5484
  idToIndexMap: Map<any, number>;
5485
+ idToPathMap: Map<any, NodePath$1<any>>;
5486
+ pathToIndexDeepMap: DeepMap<any, number>;
4502
5487
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
5488
+ treeSelectionState?: never;
4503
5489
  stateReadyAsDetails: never;
4504
5490
  cache?: never;
4505
5491
  unfilteredCount: number;
@@ -4509,10 +5495,11 @@ declare const useManagedDataSource: (props: unknown) => {
4509
5495
  originalDataArrayChangedInfo: {
4510
5496
  timestamp: number;
4511
5497
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
5498
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4512
5499
  };
4513
5500
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4514
5501
  pivotMappings?: never;
4515
- propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
5502
+ propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
4516
5503
  showSeparatePivotColumnForSingleAggregation: never;
4517
5504
  dataParams?: never;
4518
5505
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4526,8 +5513,11 @@ declare const useManagedDataSource: (props: unknown) => {
4526
5513
  lastFilterDataArray?: never;
4527
5514
  lastSortDataArray?: never;
4528
5515
  lastGroupDataArray?: never;
5516
+ lastTreeDataArray?: never;
4529
5517
  dataArray: InfiniteTableRowInfo<unknown>[];
4530
5518
  groupDeepMap?: never;
5519
+ treeDeepMap?: never;
5520
+ treePaths?: never;
4531
5521
  groupRowsIndexesInDataArray?: never;
4532
5522
  reducerResults?: never;
4533
5523
  allRowsSelected: never;
@@ -4538,6 +5528,7 @@ declare const useManagedDataSource: (props: unknown) => {
4538
5528
  updatedAt: number;
4539
5529
  reducedAt: number;
4540
5530
  groupedAt: number;
5531
+ treeAt: number;
4541
5532
  sortedAt: number;
4542
5533
  filteredAt: number;
4543
5534
  generateGroupRows: never;
@@ -4546,14 +5537,17 @@ declare const useManagedDataSource: (props: unknown) => {
4546
5537
  postGroupDataArray?: never;
4547
5538
  pivotColumns?: never;
4548
5539
  pivotColumnGroups?: never;
5540
+ isTree: never;
4549
5541
  toPrimaryKey: (data: unknown) => any;
4550
5542
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4551
5543
  sortMode: never;
4552
5544
  filterMode: never;
4553
5545
  groupMode: never;
4554
5546
  pivotMode: never;
4555
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
5547
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4556
5548
  groupRowsState: GroupRowsState<unknown>;
5549
+ treeExpandState: TreeExpandState<any>;
5550
+ treeExpandMode: never;
4557
5551
  multiSort: never;
4558
5552
  controlledSort: never;
4559
5553
  controlledFilter: never;
@@ -4567,10 +5561,19 @@ declare const useManagedDataSource: (props: unknown) => {
4567
5561
  livePagination: never;
4568
5562
  refetchKey: never;
4569
5563
  isRowSelected: never;
5564
+ isNodeSelected: never;
5565
+ isNodeExpanded: never;
5566
+ isNodeCollapsed: never;
5567
+ onNodeCollapse: never;
5568
+ onNodeExpand: never;
4570
5569
  debugId: never;
5570
+ debugMode: never;
5571
+ nodesKey: string;
5572
+ treeSelection: never;
4571
5573
  batchOperationDelay: never;
4572
5574
  onDataArrayChange: never;
4573
5575
  onDataMutations: never;
5576
+ onTreeDataMutations: never;
4574
5577
  onReady: never;
4575
5578
  rowInfoReducers: never;
4576
5579
  lazyLoad: never;
@@ -4608,10 +5611,69 @@ declare type AggregationReducerResult<AggregationResultType extends any = any> =
4608
5611
  * you can use `isGroupRow: boolean` to discriminate between group rows vs normal rows.
4609
5612
  *
4610
5613
  */
4611
- declare type InfiniteTableRowInfo<T> = InfiniteTable_HasGrouping_RowInfoNormal<T> | InfiniteTable_HasGrouping_RowInfoGroup<T> | InfiniteTable_NoGrouping_RowInfoNormal<T>;
5614
+ declare type InfiniteTableRowInfo<T> = InfiniteTable_HasGrouping_RowInfoNormal<T> | InfiniteTable_HasGrouping_RowInfoGroup<T> | InfiniteTable_NoGrouping_RowInfoNormal<T> | InfiniteTable_Tree_RowInfoLeafNode<T> | InfiniteTable_Tree_RowInfoParentNode<T>;
5615
+ declare type InfiniteTable_Tree_RowInfoLeafNode<T> = {
5616
+ dataSourceHasGrouping: false;
5617
+ isTreeNode: true;
5618
+ isParentNode: false;
5619
+ isGroupRow: false;
5620
+ data: T;
5621
+ } & InfiniteTable_RowInfoBase<T> & InfiniteTable_Tree_RowInfoBase<T>;
5622
+ declare type InfiniteTable_Tree_RowInfoBase<T> = {
5623
+ isTreeNode: true;
5624
+ isParentNode: boolean;
5625
+ indexInParent: number;
5626
+ nodePath: any[];
5627
+ parentNodes: InfiniteTable_Tree_RowInfoParentNode<T>[];
5628
+ /**
5629
+ * Available when using a tree data, this will be set for both parent and leaf nodes
5630
+ * Italy - country - indexInParentGroups: [0]
5631
+ * Rome - city - indexInParentGroups: [0,0]
5632
+ * Marco - person - indexInParentGroups: [0,0,0]
5633
+ * Luca - person - indexInParentGroups: [0,0,1]
5634
+ * Giuseppe - person - indexInParentGroups: [0,0,2]
5635
+ * USA - country - indexInParentGroups: [1]
5636
+ * LA - city - indexInParentGroups: [1,0]
5637
+ * Bob - person - indexInParentGroups: [1,0,2]
5638
+ */
5639
+ indexInParentNodes: number[];
5640
+ /**
5641
+ * how many leaf nodes are under the current parent node.
5642
+ * if this node is a leaf node, it will be 0,
5643
+ * if this is a parent node, this will be the count of all the leaf nodes under this parent node (including the ones
5644
+ * not visible due to collapsing).
5645
+ */
5646
+ totalLeafNodesCount: number;
5647
+ /**
5648
+ * The count of all leaf nodes (normal ) inside the parent node that are not being visible
5649
+ * due to collapsing (either the current node is collapsed or any of its direct children)
5650
+ */
5651
+ collapsedLeafNodesCount: number;
5652
+ treeNesting: number;
5653
+ selfLoaded: boolean;
5654
+ };
5655
+ declare type InfiniteTable_Tree_RowInfoNode<T> = InfiniteTable_Tree_RowInfoLeafNode<T> | InfiniteTable_Tree_RowInfoParentNode<T>;
5656
+ declare type InfiniteTable_Tree_RowInfoParentNode<T> = {
5657
+ dataSourceHasGrouping: false;
5658
+ isParentNode: true;
5659
+ isGroupRow: false;
5660
+ nodeExpanded: boolean;
5661
+ selfExpanded: boolean;
5662
+ data: T;
5663
+ selectedLeafNodesCount: number;
5664
+ /**
5665
+ * This array contains all the (uncollapsed, so visible) row infos under this group, at any level of nesting,
5666
+ * in the order in which they are visible in the table
5667
+ */
5668
+ deepRowInfoArray: InfiniteTable_Tree_RowInfoNode<T>[];
5669
+ deselectedLeafNodesCount: number;
5670
+ duplicateOf?: InfiniteTable_Tree_RowInfoParentNode<T>['id'];
5671
+ } & InfiniteTable_RowInfoBase<T> & InfiniteTable_Tree_RowInfoBase<T>;
4612
5672
  declare type InfiniteTableRowInfoDataDiscriminator_RowInfoNormal<T> = {
4613
5673
  data: T;
4614
5674
  isGroupRow: false;
5675
+ isTreeNode: false;
5676
+ isParentNode: false;
4615
5677
  rowActive: boolean;
4616
5678
  rowDetailState: false | 'expanded' | 'collapsed';
4617
5679
  rowInfo: InfiniteTable_NoGrouping_RowInfoNormal<T> | InfiniteTable_HasGrouping_RowInfoNormal<T>;
@@ -4620,18 +5682,48 @@ declare type InfiniteTableRowInfoDataDiscriminator_RowInfoNormal<T> = {
4620
5682
  rawValue: any;
4621
5683
  rowSelected: boolean | null;
4622
5684
  };
5685
+ declare type InfiniteTableRowInfoDataDiscriminator_ParentNode<T> = {
5686
+ data: T;
5687
+ isGroupRow: false;
5688
+ isTreeNode: true;
5689
+ isParentNode: true;
5690
+ nodeExpanded: boolean;
5691
+ rowActive: boolean;
5692
+ rowDetailState: false | 'expanded' | 'collapsed';
5693
+ rowInfo: InfiniteTable_Tree_RowInfoParentNode<T>;
5694
+ field?: keyof T;
5695
+ value: any;
5696
+ rawValue: any;
5697
+ rowSelected: boolean | null;
5698
+ };
5699
+ declare type InfiniteTableRowInfoDataDiscriminator_LeafNode<T> = {
5700
+ data: T;
5701
+ isGroupRow: false;
5702
+ isTreeNode: true;
5703
+ isParentNode: false;
5704
+ nodeExpanded: boolean;
5705
+ rowActive: boolean;
5706
+ rowDetailState: false | 'expanded' | 'collapsed';
5707
+ rowInfo: InfiniteTable_Tree_RowInfoLeafNode<T>;
5708
+ field?: keyof T;
5709
+ value: any;
5710
+ rawValue: any;
5711
+ rowSelected: boolean | null;
5712
+ };
4623
5713
  declare type InfiniteTableRowInfoDataDiscriminator_RowInfoGroup<T> = {
4624
5714
  rowActive: boolean;
4625
5715
  data: Partial<T> | null;
4626
5716
  rowInfo: InfiniteTable_HasGrouping_RowInfoGroup<T>;
4627
5717
  rowDetailState: false | 'expanded' | 'collapsed';
4628
5718
  isGroupRow: true;
5719
+ isTreeNode: false;
4629
5720
  field?: keyof T;
4630
5721
  value: any;
4631
5722
  rawValue: any;
4632
5723
  rowSelected: boolean | null;
4633
5724
  };
4634
- declare type InfiniteTableRowInfoDataDiscriminator<T> = InfiniteTableRowInfoDataDiscriminator_RowInfoNormal<T> | InfiniteTableRowInfoDataDiscriminator_RowInfoGroup<T>;
5725
+ declare type InfiniteTableRowInfoDataDiscriminator<T> = InfiniteTableRowInfoDataDiscriminator_RowInfoNormal<T> | InfiniteTableRowInfoDataDiscriminator_RowInfoGroup<T> | InfiniteTableRowInfoDataDiscriminator_Node<T>;
5726
+ declare type InfiniteTableRowInfoDataDiscriminator_Node<T> = InfiniteTableRowInfoDataDiscriminator_ParentNode<T> | InfiniteTableRowInfoDataDiscriminator_LeafNode<T>;
4635
5727
  /**
4636
5728
  * This is the base row info for all scenarios - things every
4637
5729
  * rowInfo is guaranteed to have (be it group or normal row, or dataSource with or without grouping)
@@ -4648,14 +5740,17 @@ declare type InfiniteTable_RowInfoBase<_T> = {
4648
5740
  };
4649
5741
  declare type InfiniteTable_HasGrouping_RowInfoNormal<T> = {
4650
5742
  dataSourceHasGrouping: true;
5743
+ isTreeNode: false;
4651
5744
  data: T;
4652
5745
  isGroupRow: false;
4653
5746
  } & InfiniteTable_HasGrouping_RowInfoBase<T> & InfiniteTable_RowInfoBase<T>;
4654
5747
  declare type InfiniteTable_HasGrouping_RowInfoGroup<T> = {
4655
5748
  dataSourceHasGrouping: true;
5749
+ isTreeNode: false;
4656
5750
  data: Partial<T> | null;
4657
5751
  reducerData?: Partial<Record<keyof T, any>>;
4658
5752
  isGroupRow: true;
5753
+ duplicateOf?: InfiniteTable_HasGrouping_RowInfoGroup<T>['id'];
4659
5754
  /**
4660
5755
  * This array contains all the (uncollapsed, so visible) row infos under this group, at any level of nesting,
4661
5756
  * in the order in which they are visible in the table
@@ -4732,6 +5827,7 @@ declare type InfiniteTable_HasGrouping_RowInfoGroup<T> = {
4732
5827
  } & InfiniteTable_HasGrouping_RowInfoBase<T> & InfiniteTable_RowInfoBase<T>;
4733
5828
  declare type InfiniteTable_NoGrouping_RowInfoNormal<T> = {
4734
5829
  dataSourceHasGrouping: false;
5830
+ isTreeNode: false;
4735
5831
  data: T;
4736
5832
  isGroupRow: false;
4737
5833
  selfLoaded: boolean;
@@ -4825,12 +5921,27 @@ declare type InfiniteTable_HasGrouping_RowInfoBase<T> = {
4825
5921
  selfLoaded: boolean;
4826
5922
  };
4827
5923
  declare type GroupKeyType<T extends any = any> = T;
5924
+ declare type TreeKeyType<T extends any = any> = T;
4828
5925
  declare type PivotReducerResults<T = any> = Record<string, AggregationReducerResult<T>>;
4829
5926
  declare type PivotGroupValueType<DataType, KeyType> = {
4830
5927
  reducerResults: PivotReducerResults<KeyType>;
4831
5928
  items: DataType[];
4832
5929
  };
4833
5930
  declare type PivotValuesDeepMap<DataType, KeyType> = DeepMap<GroupKeyType<KeyType>, PivotGroupValueType<DataType, KeyType>>;
5931
+ declare type DeepMapTreeValueType<DataType, _KeyType> = {
5932
+ items: DataType[];
5933
+ node: DataType | null;
5934
+ reducerResults: Record<string, AggregationReducerResult>;
5935
+ cache: boolean;
5936
+ childrenLoading: boolean;
5937
+ childrenAvailable: boolean;
5938
+ treeNesting: number;
5939
+ totalLeafNodesCount: number;
5940
+ leavesAvailableCount: number;
5941
+ isTree: true;
5942
+ isGroupBy: false;
5943
+ error?: string;
5944
+ };
4834
5945
  declare type DeepMapGroupValueType<DataType, KeyType> = {
4835
5946
  /**
4836
5947
  * These are leaf items. This array may be empty when there is batched lazy loading
@@ -4842,6 +5953,8 @@ declare type DeepMapGroupValueType<DataType, KeyType> = {
4842
5953
  totalChildrenCount?: number;
4843
5954
  cache: boolean;
4844
5955
  error?: string;
5956
+ isTree: false;
5957
+ isGroupBy: true;
4845
5958
  reducerResults: Record<string, AggregationReducerResult>;
4846
5959
  pivotDeepMap?: DeepMap<GroupKeyType<KeyType>, PivotGroupValueType<DataType, KeyType>>;
4847
5960
  };
@@ -4869,6 +5982,7 @@ declare type DataGroupResult<DataType, KeyType extends any> = {
4869
5982
  };
4870
5983
  declare function group<DataType, KeyType = any>(groupParams: GroupParams<DataType, KeyType>, data: DataType[]): DataGroupResult<DataType, KeyType>;
4871
5984
  declare function flatten<DataType, KeyType extends any>(groupResult: DataGroupResult<DataType, KeyType>): DataType[];
5985
+ declare type InfiniteTablePropRepeatWrappedGroupRows<T> = boolean | ((rowInfo: InfiniteTableRowInfo<T>) => boolean);
4872
5986
 
4873
5987
  declare type InfiniteCheckBoxPropChecked = true | false | null;
4874
5988
  declare type InfiniteCheckBoxProps = {
@@ -4910,6 +6024,7 @@ declare type OverlayParams = {
4910
6024
  };
4911
6025
  declare type ElementContainerGetter = (() => HTMLElement | string | Promise<HTMLElement | string>) | string | HTMLElement | Promise<HTMLElement | string>;
4912
6026
  declare type AdvancedAlignable = Alignable | ElementContainerGetter;
6027
+ declare function alignNode(node: HTMLDivElement, params: OverlayShowParams): Promise<void>;
4913
6028
  /**
4914
6029
  * If portal container is given, it will create a React portal from that element
4915
6030
  * otherwise it will simply render another node as portal
@@ -4923,7 +6038,10 @@ declare type OverlayShowParams = {
4923
6038
  alignPosition: AlignPositionOptions['alignPosition'];
4924
6039
  alignTo: AdvancedAlignable | PointCoords;
4925
6040
  };
4926
- declare type ShowOverlayFn = (content: ReactNode | (() => ReactNode), params: OverlayShowParams) => VoidFunction | undefined;
6041
+ declare type UpdateOverlayContentFn = (content: ReactNode | (() => ReactNode), options?: {
6042
+ skipRealign?: boolean;
6043
+ }) => void;
6044
+ declare type ShowOverlayFn = (content: ReactNode | (() => ReactNode), params: OverlayShowParams) => UpdateOverlayContentFn;
4927
6045
  declare function useOverlay(params: OverlayParams): {
4928
6046
  portal: string | number | boolean | React$1.JSX.Element | Iterable<React$1.ReactNode> | null | undefined;
4929
6047
  hideOverlay: (id: string) => void;
@@ -5403,6 +6521,7 @@ declare type InfiniteTablePropKeyboardShorcut = {
5403
6521
  stopNext: boolean;
5404
6522
  } | Promise<any>;
5405
6523
  };
6524
+ declare type InfiniteTablePropDebugMode = boolean;
5406
6525
  interface InfiniteTableProps<T> {
5407
6526
  debugId?: string;
5408
6527
  columns: InfiniteTablePropColumns<T>;
@@ -5411,7 +6530,9 @@ interface InfiniteTableProps<T> {
5411
6530
  loadingText?: Renderable;
5412
6531
  components?: InfiniteTablePropComponents<T>;
5413
6532
  wrapRowsHorizontally?: boolean;
6533
+ debugMode?: InfiniteTablePropDebugMode;
5414
6534
  keyboardShortcuts?: InfiniteTablePropKeyboardShorcut[];
6535
+ repeatWrappedGroupRows?: InfiniteTablePropRepeatWrappedGroupRows<T>;
5415
6536
  viewportReservedWidth?: number;
5416
6537
  onViewportReservedWidthChange?: (viewportReservedWidth: number) => void;
5417
6538
  showColumnFilters?: boolean;
@@ -5640,11 +6761,28 @@ declare function debounce(fn: Function, { wait }: {
5640
6761
  wait: number;
5641
6762
  }): (...args: any[]) => void;
5642
6763
 
6764
+ declare type ToPath<T> = (data: T) => string[];
6765
+ declare type ToTreeDataArrayOptions<T, RESULT_T> = {
6766
+ nodesKey: keyof RESULT_T;
6767
+ pathKey: keyof T | string | ToPath<T>;
6768
+ emptyGroup?: object | ((path: string[], children: T[]) => object);
6769
+ };
6770
+ declare function toTreeDataArray<T = any, RESULT_T = any>(data: T[], options: ToTreeDataArrayOptions<T, RESULT_T>): RESULT_T[];
6771
+
6772
+ declare function TreeDataSource<T>(props: TreeDataSourceProps<T>): React$1.JSX.Element;
6773
+
6774
+ declare type TreeGridOnlyProps<_T> = {};
6775
+ declare type InfiniteTablePropsNotAvailableInTreeGrid = keyof Pick<InfiniteTableProps<any>, 'pivotColumns' | 'pivotColumnGroups' | 'pivotTotalColumnPosition' | 'pivotGrandTotalColumnPosition' | 'groupColumn' | 'groupRenderStrategy' | 'hideEmptyGroupColumns' | 'showSeparatePivotColumnForSingleAggregation' | 'isRowDetailExpanded' | 'isRowDetailEnabled' | 'rowDetailCache' | 'rowDetailState' | 'defaultRowDetailState' | 'onRowDetailStateChange' | 'rowDetailHeight' | 'rowDetailRenderer' | 'groupRenderStrategy'>;
6776
+ declare type TreeGridProps<T> = Omit<InfiniteTableProps<T>, InfiniteTablePropsNotAvailableInTreeGrid> & TreeGridOnlyProps<T>;
6777
+
6778
+ declare function TreeGrid<T>(props: TreeGridProps<T>): React$1.JSX.Element;
6779
+
5643
6780
  declare type DataSourceChildren<T> = React$1.ReactNode | ((values: DataSourceState<T>) => React$1.ReactNode);
5644
6781
 
5645
- declare function useDataSourceInternal<T>(props: Omit<DataSourceProps<T>, 'children'>): {
6782
+ declare function useDataSourceInternal<T, PROPS_TYPE = DataSourceProps<T>>(props: Omit<PROPS_TYPE, 'children'>): {
5646
6783
  DataSource: ({ children }: {
5647
6784
  children: DataSourceChildren<T>;
6785
+ nodesKey?: string | undefined;
5648
6786
  }) => React__default.JSX.Element;
5649
6787
  state: DataSourceState<T>;
5650
6788
  };
@@ -5786,4 +6924,4 @@ declare const components: {
5786
6924
  NumberFilterEditor: typeof NumberFilterEditor;
5787
6925
  };
5788
6926
 
5789
- export { AdvancedAlignable, CellSelectionState, CellSelectionStateObject, ColumnTypeWithInherit, DataClient, DataSource, DataSourceAction, DataSourceActionType, DataSourceAggregationReducer, DataSourceApi, DataSourceCRUDParam, 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, DataSourcePropIsRowSelected, DataSourcePropLivePaginationCursor, DataSourcePropMultiRowSelectionChangeParamType, DataSourcePropOnCellSelectionChange, DataSourcePropOnCellSelectionChange_MultiCell, DataSourcePropOnCellSelectionChange_SingleCell, DataSourcePropOnRowSelectionChange, DataSourcePropOnRowSelectionChange_MultiRow, DataSourcePropOnRowSelectionChange_SingleRow, DataSourcePropPivotBy, DataSourcePropRowInfoReducers, DataSourcePropRowSelection, DataSourcePropRowSelection_MultiRow, DataSourcePropRowSelection_SingleRow, DataSourcePropSelectionMode, DataSourcePropShouldReloadData, DataSourcePropShouldReloadDataObject, DataSourcePropSortFn, DataSourcePropSortInfo, DataSourcePropSortTypes, DataSourceProps, DataSourcePropsWithChildren, DataSourceRawReducer, DataSourceRemoteData, DataSourceRowInfoReducer, DataSourceSetupState, DataSourceSingleSortInfo, DataSourceSortInfo, DataSourceState, DebugLogger, DeepMap, ElementContainerGetter, FixedSizeSet, FlashingColumnCell, GroupRowsState, InfiniteColumnEditorContextType, InfiniteTable, InfiniteTableAction, InfiniteTableActionType, InfiniteTableApi, InfiniteTableClassName, InfiniteTableColumn, InfiniteTableColumnAggregator, InfiniteTableColumnApi, InfiniteTableColumnCellContextType, InfiniteTableColumnComparer, InfiniteTableColumnGroup, InfiniteTableColumnRenderFunctionForGroupRows, InfiniteTableColumnRenderFunctionForNormalRows, InfiniteTableColumnRenderValueParam, InfiniteTableColumnRowspanParam, InfiniteTableColumnSizingOptions, InfiniteTableColumnValueFormatterParams, InfiniteTableColumnValueGetterParams, InfiniteTableComponent, InfiniteTableComputedColumn, InfiniteTableComputedValues, InfiniteTableContextValue, InfiniteTableGroupColumnBase, InfiniteTableGroupColumnFunction, InfiniteTableGroupColumnGetterOptions, InfiniteTablePivotColumn, InfiniteTablePropAutoSizeColumnsKey, InfiniteTablePropColumnGroupVisibility, InfiniteTablePropColumnGroups, InfiniteTablePropColumnOrder, InfiniteTablePropColumnPinning, InfiniteTablePropColumnSizing, InfiniteTablePropColumnTypes, InfiniteTablePropColumnVisibility, InfiniteTablePropColumns, InfiniteTablePropComponents, InfiniteTablePropGetCellContextMenuItems, InfiniteTablePropGetColumnMenuItems, InfiniteTablePropGroupColumn, InfiniteTablePropGroupRenderStrategy, InfiniteTablePropHeaderOptions, InfiniteTablePropKeyboardNavigation, InfiniteTablePropKeyboardShorcut, InfiniteTablePropMultiSortBehavior, InfiniteTablePropRowClassName, InfiniteTablePropRowStyle, InfiniteTableProps, InfiniteTableRowClassNameFn, InfiniteTableRowInfo, InfiniteTableRowStyleFn, InfiniteTableState, InfiniteTable_HasGrouping_RowInfoGroup, InfiniteTable_HasGrouping_RowInfoNormal, 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, WeakFixedSizeSet, components, createFlashingColumnCellComponent, debounce, debug, defaultFilterTypes, eventMatchesKeyboardShortcut, defaultFilterTypes as filterTypes, flatten, buildManagedComponent as getComponentStateRoot, group, interceptMap, keyboardShortcuts, multisort, queryKeyToCacheKey, useManagedComponentState as useComponentState, useDataSourceInternal, useDataSourceState, useEffectWhen, useEffectWhenSameDeps, useEffectWithChanges, useEffectWithObject, useGridScroll, useInfiniteColumnCell, useInfiniteColumnEditor, useInfiniteColumnFilterEditor, useInfiniteHeaderCell, useManagedDataSource, useMasterRowInfo, useOverlay, useOverlayPortal, usePrevious, useRowInfoReducers, useVisibleColumnSizes };
6927
+ 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, 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, 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, InfiniteTableClassName, InfiniteTableColumn, InfiniteTableColumnAggregator, InfiniteTableColumnApi, InfiniteTableColumnCellContextType, InfiniteTableColumnComparer, InfiniteTableColumnGroup, InfiniteTableColumnRenderFunctionForGroupRows, InfiniteTableColumnRenderFunctionForNormalRows, InfiniteTableColumnRenderValueParam, InfiniteTableColumnRowspanParam, InfiniteTableColumnSizingOptions, InfiniteTableColumnValueFormatterParams, InfiniteTableColumnValueGetterParams, InfiniteTableComponent, InfiniteTableComputedColumn, InfiniteTableComputedValues, InfiniteTableContextValue, InfiniteTableGroupColumnBase, InfiniteTableGroupColumnFunction, InfiniteTableGroupColumnGetterOptions, 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, InfiniteTableRowInfo, InfiniteTableRowStyleFn, InfiniteTableState, InfiniteTable_HasGrouping_RowInfoGroup, InfiniteTable_HasGrouping_RowInfoNormal, 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, UpdateOverlayContentFn, 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 };