@infinite-table/infinite-react 5.1.0-canary.1 → 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 +1195 -60
  3. package/index.dev.js +2613 -406
  4. package/index.dev.mjs +2599 -400
  5. package/index.js +2613 -406
  6. package/index.mjs +2599 -400
  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;
@@ -330,9 +333,9 @@ declare class MatrixBrain extends Logger implements IBrain {
330
333
  private notifyScrollStop;
331
334
  setScrollPosition(scrollPosition: ScrollPosition, callback?: (scrollPos: ScrollPosition) => void): void;
332
335
  protected notifyAvailableSizeChange: () => void;
333
- protected notifyRenderRangeChange(): void;
334
- protected notifyVerticalRenderRangeChange: () => void;
335
- protected notifyHorizontalRenderRangeChange: () => void;
336
+ protected notifyRenderRangeChange(immediate?: boolean): void;
337
+ protected notifyVerticalRenderRangeChange: (immediate?: boolean) => void;
338
+ protected notifyHorizontalRenderRangeChange: (immediate?: boolean) => void;
336
339
  private notifyScrollChange;
337
340
  protected computeDirectionalRenderCount(direction: 'horizontal' | 'vertical', itemSize: number | ItemSizeFunction, count: number, theRenderSize: Size): number;
338
341
  getFixedSize(direction: 'horizontal' | 'vertical'): number;
@@ -584,6 +587,7 @@ declare function MenuIcon(props: MenuIconProps): React$1.JSX.Element;
584
587
  declare type NonUndefined<T> = T extends undefined ? never : T;
585
588
 
586
589
  declare type InfiniteTableToggleGroupRowFn = (groupKeys: any[]) => void;
590
+ declare type InfiniteTableToggleTreeNodeFn = (nodePath: any[]) => void;
587
591
  declare type InfiniteTableToggleRowDetailsFn = (id: any) => void;
588
592
  declare type InfiniteTableSelectRowFn = (id: any) => void;
589
593
  declare type InfiniteTableColumnHeaderParam<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = {
@@ -598,6 +602,7 @@ declare type InfiniteTableColumnHeaderParam<DATA_TYPE, COL_TYPE = InfiniteTableC
598
602
  someRowsSelected: boolean;
599
603
  filtered: boolean;
600
604
  api: InfiniteTableApi<DATA_TYPE>;
605
+ dataSourceApi: DataSourceApi<DATA_TYPE>;
601
606
  columnApi: InfiniteTableColumnApi<DATA_TYPE>;
602
607
  renderBag: {
603
608
  all?: Renderable;
@@ -606,10 +611,12 @@ declare type InfiniteTableColumnHeaderParam<DATA_TYPE, COL_TYPE = InfiniteTableC
606
611
  menuIcon?: Renderable;
607
612
  menuIconProps?: MenuIconProps;
608
613
  filterIcon?: Renderable;
614
+ filterEditor?: Renderable;
609
615
  selectionCheckBox?: Renderable;
610
616
  };
611
617
  } & ({
612
618
  domRef: InfiniteTableCellProps<DATA_TYPE>['domRef'];
619
+ htmlElementRef: React__default.MutableRefObject<HTMLElement | null>;
613
620
  insideColumnMenu: false;
614
621
  } | {
615
622
  insideColumnMenu: true;
@@ -617,6 +624,7 @@ declare type InfiniteTableColumnHeaderParam<DATA_TYPE, COL_TYPE = InfiniteTableC
617
624
  declare type InfiniteTableColumnRenderBag = {
618
625
  value: string | number | Renderable;
619
626
  groupIcon?: Renderable;
627
+ treeIcon?: Renderable;
620
628
  rowDetailsIcon?: Renderable;
621
629
  all?: Renderable;
622
630
  selectionCheckBox?: Renderable;
@@ -633,13 +641,19 @@ declare type InfiniteTableColumnRenderParamBase<DATA_TYPE, COL_TYPE = InfiniteTa
633
641
  rowIndex: number;
634
642
  rowActive: boolean;
635
643
  api: InfiniteTableApi<DATA_TYPE>;
644
+ dataSourceApi: DataSourceApi<DATA_TYPE>;
636
645
  editError?: Error;
637
646
  column: COL_TYPE;
638
647
  columnsMap: Map<string, COL_TYPE>;
639
648
  fieldsToColumn: Map<keyof DATA_TYPE, COL_TYPE>;
640
649
  groupByColumn?: InfiniteTableComputedColumn<DATA_TYPE>;
641
650
  toggleCurrentGroupRow: () => void;
651
+ toggleCurrentTreeNode: () => void;
652
+ expandTreeNode: InfiniteTableToggleTreeNodeFn;
653
+ collapseTreeNode: InfiniteTableToggleTreeNodeFn;
642
654
  toggleGroupRow: InfiniteTableToggleGroupRowFn;
655
+ toggleTreeNode: InfiniteTableToggleTreeNodeFn;
656
+ toggleCurrentTreeNodeSelection: () => void;
643
657
  toggleCurrentGroupRowSelection: () => void;
644
658
  toggleCurrentRowSelection: () => void;
645
659
  toggleCurrentRowDetails: () => void;
@@ -656,6 +670,9 @@ declare type InfiniteTableColumnRenderParamBase<DATA_TYPE, COL_TYPE = InfiniteTa
656
670
  deselectCell: () => void;
657
671
  toggleRowSelection: InfiniteTableSelectRowFn;
658
672
  toggleGroupRowSelection: InfiniteTableToggleGroupRowFn;
673
+ toggleTreeNodeSelection: InfiniteTableToggleTreeNodeFn;
674
+ selectTreeNode: InfiniteTableToggleTreeNodeFn;
675
+ deselectTreeNode: InfiniteTableToggleTreeNodeFn;
659
676
  selectionMode: DataSourcePropSelectionMode | undefined;
660
677
  rootGroupBy: DataSourceState<DATA_TYPE>['groupBy'];
661
678
  pivotBy?: DataSourceState<DATA_TYPE>['pivotBy'];
@@ -672,6 +689,15 @@ declare type InfiniteTableColumnRowspanParam<DATA_TYPE, COL_TYPE = InfiniteTable
672
689
  declare type InfiniteTableColumnRenderFunctionForGroupRows<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & {
673
690
  isGroupRow: true;
674
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;
675
701
  declare type InfiniteTableColumnRenderFunctionForNormalRows<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & {
676
702
  isGroupRow: false;
677
703
  }) => Renderable | null;
@@ -794,6 +820,22 @@ declare type InfiniteTableColumn<DATA_TYPE> = {
794
820
  maxWidth?: number;
795
821
  renderGroupIcon?: InfiniteTableColumnRenderFunctionForGroupRows<DATA_TYPE>;
796
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
+ }>;
797
839
  renderSortIcon?: InfiniteTableColumnHeaderRenderFunction<DATA_TYPE>;
798
840
  renderFilterIcon?: InfiniteTableColumnHeaderRenderFunction<DATA_TYPE>;
799
841
  renderSelectionCheckBox?: boolean | InfiniteTableColumnOrHeaderRenderFunction<DATA_TYPE>;
@@ -934,6 +976,13 @@ declare type CellPositionByIndex = {
934
976
  rowIndex: number;
935
977
  colIndex: number;
936
978
  };
979
+ declare type MultiSelectRangeOptions = {
980
+ horizontalLayout: false;
981
+ } | {
982
+ horizontalLayout: true;
983
+ rowsPerPage: number;
984
+ columnsPerSet: number;
985
+ };
937
986
 
938
987
  declare type MultiCellSelectorOptions = {
939
988
  getPrimaryKeyByIndex: (rowIndex: number) => string | number;
@@ -958,10 +1007,10 @@ declare class MultiCellSelector {
958
1007
  * @param position CellPosition
959
1008
  */
960
1009
  singleAddClick(position: CellPositionByIndex): void;
961
- multiSelectClick(position: CellPositionByIndex): void;
962
- setRangeSelected(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex, selected: boolean): void;
963
- deselectRange(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex): void;
964
- 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;
965
1014
  }
966
1015
 
967
1016
  declare type RowSelectionStateItem = (any | any[])[];
@@ -1145,7 +1194,7 @@ declare type ComponentStateRootConfig<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT
1145
1194
  debugName?: string;
1146
1195
  initSetupState?: (props: T_PROPS) => COMPONENT_SETUP_STATE;
1147
1196
  layoutEffect?: boolean;
1148
- 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>;
1149
1198
  allowedControlledPropOverrides?: Record<keyof T_PROPS, true>;
1150
1199
  interceptActions?: ComponentInterceptedActions<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>;
1151
1200
  mappedCallbacks?: ComponentMappedCallbacks<COMPONENT_MAPPED_STATE & COMPONENT_DERIVED_STATE & COMPONENT_SETUP_STATE>;
@@ -1194,6 +1243,191 @@ declare function buildManagedComponent<T_PROPS, COMPONENT_MAPPED_STATE extends o
1194
1243
  };
1195
1244
  declare function useManagedComponentState<COMPONENT_STATE>(): ManagedComponentStateContextValue<COMPONENT_STATE, ComponentStateGeneratedActions<COMPONENT_STATE>>;
1196
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
+
1197
1431
  declare type DataSourceStateRestoreForDetail<T> = {
1198
1432
  originalDataArray: DataSourceState<T>['originalDataArray'] | undefined;
1199
1433
  groupBy: DataSourceState<T>['groupBy'] | undefined;
@@ -1532,6 +1766,7 @@ interface InfiniteTableSetupState<T> {
1532
1766
  headerBrain: MatrixBrain;
1533
1767
  renderer: ReactHeadlessTableRenderer;
1534
1768
  onRenderUpdater: SubscriptionCallback<Renderable>;
1769
+ forceBodyRerenderTimestamp: number;
1535
1770
  lastRowToExpandRef: MutableRefObject<any | null>;
1536
1771
  lastRowToCollapseRef: MutableRefObject<any | null>;
1537
1772
  getDOMNodeForCell: (cellPos: CellPositionByIndex) => HTMLElement | null;
@@ -1612,6 +1847,7 @@ declare type InfiniteTablePropPivotGrandTotalColumnPosition = InfiniteTablePropP
1612
1847
  interface InfiniteTableMappedState<T> {
1613
1848
  id: InfiniteTableProps<T>['id'];
1614
1849
  debugId: InfiniteTableProps<T>['debugId'];
1850
+ debugMode: NonUndefined<InfiniteTableProps<T>['debugMode']>;
1615
1851
  scrollTopKey: InfiniteTableProps<T>['scrollTopKey'];
1616
1852
  multiSortBehavior: NonUndefined<InfiniteTableProps<T>['multiSortBehavior']>;
1617
1853
  viewportReservedWidth: InfiniteTableProps<T>['viewportReservedWidth'];
@@ -1619,6 +1855,7 @@ interface InfiniteTableMappedState<T> {
1619
1855
  groupColumn: InfiniteTableProps<T>['groupColumn'];
1620
1856
  onKeyDown: InfiniteTableProps<T>['onKeyDown'];
1621
1857
  onCellClick: InfiniteTableProps<T>['onCellClick'];
1858
+ repeatWrappedGroupRows: InfiniteTableProps<T>['repeatWrappedGroupRows'];
1622
1859
  wrapRowsHorizontally: InfiniteTableProps<T>['wrapRowsHorizontally'];
1623
1860
  rowDetailCache: RowDetailCache<RowDetailCacheKey, RowDetailCacheEntry>;
1624
1861
  headerOptions: NonUndefined<InfiniteTableProps<T>['headerOptions']>;
@@ -1707,6 +1944,7 @@ interface InfiniteTableMappedState<T> {
1707
1944
  pivotGrandTotalColumnPosition: InfiniteTableProps<T>['pivotGrandTotalColumnPosition'];
1708
1945
  }
1709
1946
  interface InfiniteTableDerivedState<T> {
1947
+ isTree: boolean;
1710
1948
  groupBy: DataSourceProps<T>['groupBy'];
1711
1949
  computedColumns: Record<string, InfiniteTableColumn<T>>;
1712
1950
  initialColumns: InfiniteTableProps<T>['columns'];
@@ -1799,6 +2037,7 @@ declare type InfiniteTableEventHandlerContext<T> = {
1799
2037
  getState: () => InfiniteTableState<T>;
1800
2038
  actions: InfiniteTableActions<T>;
1801
2039
  cloneRowSelection: (rowSelection: RowSelectionState<T>) => RowSelectionState<T>;
2040
+ cloneTreeSelection: (treeSelection: TreeSelectionState<T>) => TreeSelectionState<T>;
1802
2041
  getDataSourceState: () => DataSourceState<T>;
1803
2042
  getDataSourceMasterContext: () => DataSourceMasterDetailContextValue | undefined;
1804
2043
  dataSourceActions: DataSourceComponentActions<T>;
@@ -1890,26 +2129,62 @@ declare type MultisortInfoAllowMultipleFields<T> = Omit<MultisortInfo<T>, 'field
1890
2129
  field?: keyof T | (keyof T | ((item: T) => any))[];
1891
2130
  };
1892
2131
  declare const multisort: {
1893
- <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[];
1894
2135
  knownTypes: {
1895
2136
  [key: string]: (first: any, second: any) => number;
1896
2137
  };
1897
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[];
1898
2149
 
1899
2150
  declare type DataSourceMutation<T> = {
1900
2151
  type: 'delete';
1901
2152
  primaryKey: any;
2153
+ nodePath?: never;
2154
+ originalData: T;
2155
+ metadata: any;
2156
+ } | {
2157
+ type: 'delete';
2158
+ primaryKey?: never;
2159
+ nodePath: NodePath$1;
1902
2160
  originalData: T;
1903
2161
  metadata: any;
1904
2162
  } | {
1905
2163
  type: 'update';
1906
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;
1907
2173
  data: Partial<T>;
1908
2174
  originalData: T;
1909
2175
  metadata: any;
1910
2176
  } | {
1911
2177
  type: 'insert';
1912
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;
1913
2188
  position: 'before' | 'after';
1914
2189
  originalData: null;
1915
2190
  data: T;
@@ -1923,24 +2198,57 @@ declare class DataSourceCache<DataType, PrimaryKeyType = string> {
1923
2198
  private affectedFields;
1924
2199
  private allFieldsAffected;
1925
2200
  private primaryKeyToData;
2201
+ private nodePathToData;
1926
2202
  static clone<DataType, PrimaryKeyType = string>(cache: DataSourceCache<DataType, PrimaryKeyType>, { light }?: {
1927
2203
  light?: boolean;
1928
2204
  }): DataSourceCache<DataType, PrimaryKeyType>;
1929
2205
  getAffectedFields: () => true | Set<keyof DataType>;
1930
2206
  delete: (primaryKey: PrimaryKeyType, originalData: DataType, metadata: any) => void;
2207
+ deleteNodePath: (nodePath: NodePath$1<any>, originalData: DataType, metadata: any) => void;
1931
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;
1932
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;
1933
2212
  resetDataSource: (metadata: any) => void;
1934
2213
  shouldResetDataSource: () => boolean;
1935
2214
  clear: () => void;
1936
2215
  isEmpty: () => boolean;
1937
2216
  removeInfo: (primaryKey: PrimaryKeyType) => void;
2217
+ removeNodePathInfo: (nodePath: NodePath$1<any>) => void;
1938
2218
  getMutationsForPrimaryKey: (primaryKey: PrimaryKeyType) => DataSourceMutation<DataType>[] | undefined;
2219
+ getMutationsForNodePath: (nodePath: NodePath$1<any>) => DataSourceMutation<DataType>[] | undefined;
1939
2220
  getMutationsCount: () => number;
1940
2221
  getMutations: () => Map<PrimaryKeyType, DataSourceMutation<DataType>[]>;
2222
+ getTreeMutations: () => DeepMap<NodePath$1<any>, DataSourceMutation<DataType>[]>;
1941
2223
  getMutationsArray: () => DataSourceMutation<DataType>[];
1942
2224
  }
1943
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
+
1944
2252
  declare type BooleanDeepCollectionStateKeys<KeyType> = true | KeyType[][];
1945
2253
  declare type BooleanDeepCollectionStateObject<KeyType> = {
1946
2254
  positiveItems: BooleanDeepCollectionStateKeys<KeyType>;
@@ -1990,12 +2298,18 @@ declare class GroupRowsState<KeyType extends any = any> extends BooleanDeepColle
1990
2298
 
1991
2299
  declare class Indexer<DataType, PrimaryKeyType = string> {
1992
2300
  primaryKeyToData: Map<PrimaryKeyType, DataType>;
2301
+ nodePathsToData: DeepMap<PrimaryKeyType, DataType>;
1993
2302
  private add;
2303
+ private addNodePath;
1994
2304
  clear: () => void;
1995
2305
  getDataForPrimaryKey: (primaryKey: PrimaryKeyType) => DataType | undefined;
2306
+ getDataForNodePath: (nodePath: NodePath$1<any>) => DataType | undefined;
1996
2307
  indexArray: (arr: DataType[], options: {
1997
2308
  toPrimaryKey: (data: DataType) => PrimaryKeyType;
1998
2309
  cache?: DataSourceCache<DataType, PrimaryKeyType> | undefined;
2310
+ getNodeChildren?: ((item: DataType) => DataType[] | null) | undefined;
2311
+ isLeafNode?: ((item: DataType) => boolean) | undefined;
2312
+ nodesKey: string | undefined;
1999
2313
  }) => DataType[];
2000
2314
  }
2001
2315
 
@@ -2075,11 +2389,20 @@ interface DataSourceMappedState<T> {
2075
2389
  livePagination: DataSourceProps<T>['livePagination'];
2076
2390
  refetchKey: NonUndefined<DataSourceProps<T>['refetchKey']>;
2077
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'];
2078
2397
  isRowDisabled: DataSourceProps<T>['isRowDisabled'];
2079
2398
  debugId: DataSourceProps<T>['debugId'];
2399
+ debugMode: DataSourceProps<T>['debugMode'];
2400
+ nodesKey: NonUndefined<TreeDataSourceProps<T>['nodesKey']>;
2401
+ treeSelection: TreeDataSourceProps<T>['treeSelection'];
2080
2402
  batchOperationDelay: DataSourceProps<T>['batchOperationDelay'];
2081
2403
  onDataArrayChange: DataSourceProps<T>['onDataArrayChange'];
2082
2404
  onDataMutations: DataSourceProps<T>['onDataMutations'];
2405
+ onTreeDataMutations: TreeDataSourceProps<T>['onTreeDataMutations'];
2083
2406
  onReady: DataSourceProps<T>['onReady'];
2084
2407
  rowInfoReducers: DataSourceProps<T>['rowInfoReducers'];
2085
2408
  lazyLoad: DataSourceProps<T>['lazyLoad'];
@@ -2147,9 +2470,24 @@ declare type LazyGroupDataDeepMap<DataType, KeyType = string> = DeepMap<KeyType,
2147
2470
  interface DataSourceSetupState<T> {
2148
2471
  indexer: Indexer<T, any>;
2149
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;
2150
2485
  destroyedRef: React$1.MutableRefObject<boolean>;
2151
2486
  idToIndexMap: Map<any, number>;
2487
+ idToPathMap: Map<any, NodePath$1>;
2488
+ pathToIndexDeepMap: DeepMap<any, number>;
2152
2489
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
2490
+ treeSelectionState?: TreeSelectionState;
2153
2491
  stateReadyAsDetails: boolean;
2154
2492
  cache?: DataSourceCache<T>;
2155
2493
  unfilteredCount: number;
@@ -2159,6 +2497,7 @@ interface DataSourceSetupState<T> {
2159
2497
  originalDataArrayChangedInfo: {
2160
2498
  timestamp: number;
2161
2499
  mutations?: Map<string, DataSourceMutation<T>[]>;
2500
+ treeMutations?: DeepMap<any, DataSourceMutation<T>[]>;
2162
2501
  };
2163
2502
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2164
2503
  pivotMappings?: DataSourceMappings;
@@ -2176,8 +2515,11 @@ interface DataSourceSetupState<T> {
2176
2515
  lastFilterDataArray?: T[];
2177
2516
  lastSortDataArray?: T[];
2178
2517
  lastGroupDataArray?: InfiniteTableRowInfo<T>[];
2518
+ lastTreeDataArray?: InfiniteTableRowInfo<T>[];
2179
2519
  dataArray: InfiniteTableRowInfo<T>[];
2180
2520
  groupDeepMap?: DeepMap<GroupKeyType, DeepMapGroupValueType<T, any>>;
2521
+ treeDeepMap?: DeepMap<TreeKeyType, DeepMapTreeValueType<T, any>>;
2522
+ treePaths?: DeepMap<TreeKeyType, any>;
2181
2523
  groupRowsIndexesInDataArray?: number[];
2182
2524
  reducerResults?: Record<string, AggregationReducerResult>;
2183
2525
  allRowsSelected: boolean;
@@ -2188,6 +2530,7 @@ interface DataSourceSetupState<T> {
2188
2530
  updatedAt: number;
2189
2531
  reducedAt: number;
2190
2532
  groupedAt: number;
2533
+ treeAt: number;
2191
2534
  sortedAt: number;
2192
2535
  filteredAt: number;
2193
2536
  generateGroupRows: boolean;
@@ -2201,41 +2544,74 @@ declare type DataSourcePropAggregationReducers<T> = Record<string, DataSourceAgg
2201
2544
  declare type DataSourcePropMultiRowSelectionChangeParamType = RowSelectionStateObject;
2202
2545
  declare type DataSourcePropRowSelection = DataSourcePropRowSelection_MultiRow | DataSourcePropRowSelection_SingleRow;
2203
2546
  declare type DataSourcePropRowSelection_MultiRow = RowSelectionStateObject;
2547
+ declare type TreeSelectionValue = TreeSelectionStateObject | TreeSelectionState;
2548
+ declare type DataSourcePropTreeSelection_MultiNode = TreeSelectionValue;
2204
2549
  declare type DataSourcePropRowSelection_SingleRow = null | string | number;
2550
+ declare type DataSourcePropTreeSelection_SingleNode = null | string | number;
2551
+ declare type DataSourcePropTreeSelection = DataSourcePropTreeSelection_MultiNode | DataSourcePropTreeSelection_SingleNode;
2205
2552
  declare type DataSourcePropCellSelection_MultiCell = CellSelectionStateObject | CellSelectionState;
2206
2553
  declare type DataSourcePropCellSelection_SingleCell = null | CellSelectionPosition;
2207
2554
  declare type DataSourcePropCellSelection = DataSourcePropCellSelection_MultiCell | DataSourcePropCellSelection_SingleCell;
2208
2555
  declare type DataSourcePropSelectionMode = false | 'single-cell' | 'single-row' | 'multi-cell' | 'multi-row';
2209
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;
2210
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;
2211
2566
  declare type DataSourcePropOnRowSelectionChange = DataSourcePropOnRowSelectionChange_SingleRow | DataSourcePropOnRowSelectionChange_MultiRow;
2567
+ declare type DataSourcePropOnTreeSelectionChange = DataSourcePropOnTreeSelectionChange_SingleNode | DataSourcePropOnTreeSelectionChange_MultiNode;
2212
2568
  declare type DataSourcePropOnCellSelectionChange_MultiCell = (cellSelection: DataSourcePropCellSelection_MultiCell, selectionMode: 'multi-cell') => void;
2213
2569
  declare type DataSourcePropOnCellSelectionChange_SingleCell = (cellSelection: DataSourcePropCellSelection_SingleCell, selectionMode: 'single-cell') => void;
2214
2570
  declare type DataSourcePropOnCellSelectionChange = DataSourcePropOnCellSelectionChange_MultiCell | DataSourcePropOnCellSelectionChange_SingleCell;
2215
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;
2216
2574
  declare type DataSourcePropSortFn<T> = (sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], get?: (item: any) => T) => T[];
2217
2575
  declare type DataSourceCRUDParam = {
2218
2576
  flush?: boolean;
2219
2577
  metadata?: any;
2220
2578
  };
2579
+ declare type DataSourceUpdateParam = DataSourceCRUDParam & {};
2221
2580
  declare type DataSourceInsertParam = DataSourceCRUDParam & ({
2222
2581
  position: 'before' | 'after';
2223
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;
2224
2591
  } | {
2225
2592
  position: 'start' | 'end';
2593
+ nodePath: NodePath$1;
2226
2594
  });
2227
2595
  interface DataSourceApi<T> {
2228
2596
  getOriginalDataArray: () => T[];
2229
2597
  getRowInfoArray: () => InfiniteTableRowInfo<T>[];
2230
2598
  getDataByPrimaryKey(id: any): T | null;
2599
+ getDataByNodePath(nodePath: NodePath$1): T | null;
2231
2600
  getRowInfoByIndex(index: number): InfiniteTableRowInfo<T> | null;
2232
2601
  getRowInfoByPrimaryKey(id: any): InfiniteTableRowInfo<T> | null;
2602
+ getRowInfoByNodePath(nodePath: NodePath$1): InfiniteTableRowInfo<T> | null;
2233
2603
  getIndexByPrimaryKey(id: any): number;
2604
+ getIndexByNodePath(nodePath: NodePath$1): number;
2234
2605
  getPrimaryKeyByIndex(id: any): any;
2606
+ getNodePathById(id: any): NodePath$1 | null;
2607
+ get treeApi(): TreeApi<T>;
2235
2608
  updateData(data: Partial<T>, options?: DataSourceCRUDParam): Promise<any>;
2609
+ updateDataByNodePath(data: Partial<T>, nodePath: NodePath$1, options?: DataSourceUpdateParam): Promise<any>;
2236
2610
  updateDataArray(data: Partial<T>[], options?: DataSourceCRUDParam): Promise<any>;
2611
+ updateDataArrayByNodePath(data: Partial<T>[], nodePaths: NodePath$1[], options?: DataSourceUpdateParam): Promise<any>;
2237
2612
  flush(): Promise<any>;
2238
2613
  removeDataByPrimaryKey(id: any, options?: DataSourceCRUDParam): Promise<any>;
2614
+ removeDataByNodePath(nodePath: NodePath$1, options?: DataSourceCRUDParam): Promise<any>;
2239
2615
  removeDataArrayByPrimaryKeys(id: any[], options?: DataSourceCRUDParam): Promise<any>;
2240
2616
  removeData(data: Partial<T>, options?: DataSourceCRUDParam): Promise<any>;
2241
2617
  removeDataArray(data: Partial<T>[], options?: DataSourceCRUDParam): Promise<any>;
@@ -2260,9 +2636,12 @@ declare type DataSourceRowInfoReducer<T> = DataSourceRawReducer<InfiniteTableRow
2260
2636
  declare type DataSourcePropShouldReloadDataObject<T> = {
2261
2637
  [key in keyof Pick<DataSourceDataParams<T>, 'sortInfo' | 'pivotBy' | 'groupBy' | 'filterValue'>]: boolean;
2262
2638
  };
2263
- declare type DataSourcePropShouldReloadData<T> = DataSourcePropShouldReloadDataObject<T>;
2639
+ declare type DataSourcePropShouldReloadData<T> = DataSourcePropShouldReloadDataObject<T> | boolean;
2640
+ declare type TreeExpandStateValue = TreeExpandState | TreeExpandStateObject<any>;
2264
2641
  declare type DataSourceProps<T> = {
2642
+ nodesKey?: never;
2265
2643
  debugId?: string;
2644
+ debugMode?: InfiniteTablePropDebugMode;
2266
2645
  children?: React$1.ReactNode | ((contextData: DataSourceState<T>) => React$1.ReactNode);
2267
2646
  primaryKey: keyof T | ((data: T) => string);
2268
2647
  /**
@@ -2275,8 +2654,8 @@ declare type DataSourceProps<T> = {
2275
2654
  data: DataSourceData<T>;
2276
2655
  selectionMode?: DataSourcePropSelectionMode;
2277
2656
  useGroupKeysForMultiRowSelection?: boolean;
2278
- rowSelection?: DataSourcePropRowSelection_MultiRow | DataSourcePropRowSelection_SingleRow;
2279
- defaultRowSelection?: DataSourcePropRowSelection_MultiRow | DataSourcePropRowSelection_SingleRow;
2657
+ rowSelection?: DataSourcePropRowSelection;
2658
+ defaultRowSelection?: DataSourcePropRowSelection;
2280
2659
  cellSelection?: DataSourcePropCellSelection_MultiCell | DataSourcePropCellSelection_SingleCell;
2281
2660
  defaultCellSelection?: DataSourcePropCellSelection_MultiCell | DataSourcePropCellSelection_SingleCell;
2282
2661
  onCellSelectionChange?: DataSourcePropOnCellSelectionChange;
@@ -2430,15 +2809,21 @@ declare type DataSourceLivePaginationCursorParams<T> = {
2430
2809
  declare type DataSourceLivePaginationCursorValue = string | number | null;
2431
2810
  interface DataSourceState<T> extends DataSourceSetupState<T>, DataSourceDerivedState<T>, DataSourceMappedState<T> {
2432
2811
  }
2812
+ declare type DataSourceCallback_BaseParam<T> = {
2813
+ dataSourceApi: DataSourceApi<T>;
2814
+ };
2433
2815
  declare type DataSourceDerivedState<T> = {
2816
+ isTree: boolean;
2434
2817
  toPrimaryKey: (data: T) => any;
2435
2818
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<T>>>;
2436
2819
  sortMode: 'local' | 'remote';
2437
2820
  filterMode: 'local' | 'remote';
2438
2821
  groupMode: 'local' | 'remote';
2439
2822
  pivotMode: 'local' | 'remote';
2440
- shouldReloadData: NonUndefined<Required<DataSourcePropShouldReloadData<T>>>;
2823
+ shouldReloadData: NonUndefined<Required<DataSourcePropShouldReloadDataObject<T>>>;
2441
2824
  groupRowsState: GroupRowsState<T>;
2825
+ treeExpandState: TreeExpandState<any>;
2826
+ treeExpandMode: TreeExpandStateMode;
2442
2827
  multiSort: boolean;
2443
2828
  controlledSort: boolean;
2444
2829
  controlledFilter: boolean;
@@ -2485,6 +2870,7 @@ declare function useInfiniteHeaderCell<T>(): {
2485
2870
  someRowsSelected: boolean;
2486
2871
  filtered: boolean;
2487
2872
  api: InfiniteTableApi<T>;
2873
+ dataSourceApi: DataSourceApi<T>;
2488
2874
  columnApi: InfiniteTableColumnApi<T>;
2489
2875
  renderBag: {
2490
2876
  all?: Renderable;
@@ -2493,13 +2879,16 @@ declare function useInfiniteHeaderCell<T>(): {
2493
2879
  menuIcon?: Renderable;
2494
2880
  menuIconProps?: MenuIconProps | undefined;
2495
2881
  filterIcon?: Renderable;
2882
+ filterEditor?: Renderable;
2496
2883
  selectionCheckBox?: Renderable;
2497
2884
  };
2498
2885
  } & {
2499
2886
  domRef: ((instance: HTMLElement | null) => void) | undefined;
2887
+ htmlElementRef: React$1.MutableRefObject<HTMLElement | null>;
2500
2888
  insideColumnMenu: false;
2501
2889
  } & {
2502
2890
  domRef: ((instance: HTMLElement | null) => void) | undefined;
2891
+ htmlElementRef: React$1.MutableRefObject<HTMLElement | null>;
2503
2892
  insideColumnMenu: false;
2504
2893
  };
2505
2894
 
@@ -2553,6 +2942,8 @@ declare function useVisibleColumnSizes(): {
2553
2942
  pinned: InfiniteTableColumnPinnedValues;
2554
2943
  }[];
2555
2944
 
2945
+ declare function useInfinitePortalContainer(): HTMLDivElement | null;
2946
+
2556
2947
  declare const InfiniteTableClassName: string;
2557
2948
  declare const InfiniteTableComponent: React$1.MemoExoticComponent<(<T>() => React$1.JSX.Element)>;
2558
2949
  declare type InfiniteTableComponent = {
@@ -2574,9 +2965,21 @@ declare const useManagedDataSource: (props: unknown) => {
2574
2965
  componentState: {
2575
2966
  indexer: Indexer<unknown, any>;
2576
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;
2577
2977
  destroyedRef: React$1.MutableRefObject<boolean>;
2578
2978
  idToIndexMap: Map<any, number>;
2979
+ idToPathMap: Map<any, NodePath$1<any>>;
2980
+ pathToIndexDeepMap: DeepMap<any, number>;
2579
2981
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
2982
+ treeSelectionState?: never;
2580
2983
  stateReadyAsDetails: never;
2581
2984
  cache?: never;
2582
2985
  unfilteredCount: number;
@@ -2586,10 +2989,11 @@ declare const useManagedDataSource: (props: unknown) => {
2586
2989
  originalDataArrayChangedInfo: {
2587
2990
  timestamp: number;
2588
2991
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
2992
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
2589
2993
  };
2590
2994
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2591
2995
  pivotMappings?: never;
2592
- 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>>;
2593
2997
  showSeparatePivotColumnForSingleAggregation: never;
2594
2998
  dataParams?: never;
2595
2999
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -2603,8 +3007,11 @@ declare const useManagedDataSource: (props: unknown) => {
2603
3007
  lastFilterDataArray?: never;
2604
3008
  lastSortDataArray?: never;
2605
3009
  lastGroupDataArray?: never;
3010
+ lastTreeDataArray?: never;
2606
3011
  dataArray: InfiniteTableRowInfo<unknown>[];
2607
3012
  groupDeepMap?: never;
3013
+ treeDeepMap?: never;
3014
+ treePaths?: never;
2608
3015
  groupRowsIndexesInDataArray?: never;
2609
3016
  reducerResults?: never;
2610
3017
  allRowsSelected: never;
@@ -2615,6 +3022,7 @@ declare const useManagedDataSource: (props: unknown) => {
2615
3022
  updatedAt: number;
2616
3023
  reducedAt: number;
2617
3024
  groupedAt: number;
3025
+ treeAt: number;
2618
3026
  sortedAt: number;
2619
3027
  filteredAt: number;
2620
3028
  generateGroupRows: never;
@@ -2623,14 +3031,17 @@ declare const useManagedDataSource: (props: unknown) => {
2623
3031
  postGroupDataArray?: never;
2624
3032
  pivotColumns?: never;
2625
3033
  pivotColumnGroups?: never;
3034
+ isTree: never;
2626
3035
  toPrimaryKey: (data: unknown) => any;
2627
3036
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
2628
3037
  sortMode: never;
2629
3038
  filterMode: never;
2630
3039
  groupMode: never;
2631
3040
  pivotMode: never;
2632
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3041
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
2633
3042
  groupRowsState: GroupRowsState<unknown>;
3043
+ treeExpandState: TreeExpandState<any>;
3044
+ treeExpandMode: never;
2634
3045
  multiSort: never;
2635
3046
  controlledSort: never;
2636
3047
  controlledFilter: never;
@@ -2644,10 +3055,19 @@ declare const useManagedDataSource: (props: unknown) => {
2644
3055
  livePagination: never;
2645
3056
  refetchKey: never;
2646
3057
  isRowSelected: never;
3058
+ isNodeSelected: never;
3059
+ isNodeExpanded: never;
3060
+ isNodeCollapsed: never;
3061
+ onNodeCollapse: never;
3062
+ onNodeExpand: never;
2647
3063
  debugId: never;
3064
+ debugMode: never;
3065
+ nodesKey: string;
3066
+ treeSelection: never;
2648
3067
  batchOperationDelay: never;
2649
3068
  onDataArrayChange: never;
2650
3069
  onDataMutations: never;
3070
+ onTreeDataMutations: never;
2651
3071
  onReady: never;
2652
3072
  rowInfoReducers: never;
2653
3073
  lazyLoad: never;
@@ -2670,9 +3090,21 @@ declare const useManagedDataSource: (props: unknown) => {
2670
3090
  } & {
2671
3091
  indexer: Indexer<unknown, any>;
2672
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;
2673
3102
  destroyedRef: React$1.MutableRefObject<boolean>;
2674
3103
  idToIndexMap: Map<any, number>;
3104
+ idToPathMap: Map<any, NodePath$1<any>>;
3105
+ pathToIndexDeepMap: DeepMap<any, number>;
2675
3106
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3107
+ treeSelectionState?: never;
2676
3108
  stateReadyAsDetails: never;
2677
3109
  cache?: never;
2678
3110
  unfilteredCount: number;
@@ -2682,10 +3114,11 @@ declare const useManagedDataSource: (props: unknown) => {
2682
3114
  originalDataArrayChangedInfo: {
2683
3115
  timestamp: number;
2684
3116
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3117
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
2685
3118
  };
2686
3119
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2687
3120
  pivotMappings?: never;
2688
- 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>>;
2689
3122
  showSeparatePivotColumnForSingleAggregation: never;
2690
3123
  dataParams?: never;
2691
3124
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -2699,8 +3132,11 @@ declare const useManagedDataSource: (props: unknown) => {
2699
3132
  lastFilterDataArray?: never;
2700
3133
  lastSortDataArray?: never;
2701
3134
  lastGroupDataArray?: never;
3135
+ lastTreeDataArray?: never;
2702
3136
  dataArray: InfiniteTableRowInfo<unknown>[];
2703
3137
  groupDeepMap?: never;
3138
+ treeDeepMap?: never;
3139
+ treePaths?: never;
2704
3140
  groupRowsIndexesInDataArray?: never;
2705
3141
  reducerResults?: never;
2706
3142
  allRowsSelected: never;
@@ -2711,6 +3147,7 @@ declare const useManagedDataSource: (props: unknown) => {
2711
3147
  updatedAt: number;
2712
3148
  reducedAt: number;
2713
3149
  groupedAt: number;
3150
+ treeAt: number;
2714
3151
  sortedAt: number;
2715
3152
  filteredAt: number;
2716
3153
  generateGroupRows: never;
@@ -2719,14 +3156,17 @@ declare const useManagedDataSource: (props: unknown) => {
2719
3156
  postGroupDataArray?: never;
2720
3157
  pivotColumns?: never;
2721
3158
  pivotColumnGroups?: never;
3159
+ isTree: never;
2722
3160
  toPrimaryKey: (data: unknown) => any;
2723
3161
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
2724
3162
  sortMode: never;
2725
3163
  filterMode: never;
2726
3164
  groupMode: never;
2727
3165
  pivotMode: never;
2728
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3166
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
2729
3167
  groupRowsState: GroupRowsState<unknown>;
3168
+ treeExpandState: TreeExpandState<any>;
3169
+ treeExpandMode: never;
2730
3170
  multiSort: never;
2731
3171
  controlledSort: never;
2732
3172
  controlledFilter: never;
@@ -2740,10 +3180,19 @@ declare const useManagedDataSource: (props: unknown) => {
2740
3180
  livePagination: never;
2741
3181
  refetchKey: never;
2742
3182
  isRowSelected: never;
3183
+ isNodeSelected: never;
3184
+ isNodeExpanded: never;
3185
+ isNodeCollapsed: never;
3186
+ onNodeCollapse: never;
3187
+ onNodeExpand: never;
2743
3188
  debugId: never;
3189
+ debugMode: never;
3190
+ nodesKey: string;
3191
+ treeSelection: never;
2744
3192
  batchOperationDelay: never;
2745
3193
  onDataArrayChange: never;
2746
3194
  onDataMutations: never;
3195
+ onTreeDataMutations: never;
2747
3196
  onReady: never;
2748
3197
  rowInfoReducers: never;
2749
3198
  lazyLoad: never;
@@ -2766,9 +3215,21 @@ declare const useManagedDataSource: (props: unknown) => {
2766
3215
  } & {
2767
3216
  indexer: Indexer<unknown, any>;
2768
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;
2769
3227
  destroyedRef: React$1.MutableRefObject<boolean>;
2770
3228
  idToIndexMap: Map<any, number>;
3229
+ idToPathMap: Map<any, NodePath$1<any>>;
3230
+ pathToIndexDeepMap: DeepMap<any, number>;
2771
3231
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3232
+ treeSelectionState?: never;
2772
3233
  stateReadyAsDetails: never;
2773
3234
  cache?: never;
2774
3235
  unfilteredCount: number;
@@ -2778,10 +3239,11 @@ declare const useManagedDataSource: (props: unknown) => {
2778
3239
  originalDataArrayChangedInfo: {
2779
3240
  timestamp: number;
2780
3241
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3242
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
2781
3243
  };
2782
3244
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2783
3245
  pivotMappings?: never;
2784
- 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>>;
2785
3247
  showSeparatePivotColumnForSingleAggregation: never;
2786
3248
  dataParams?: never;
2787
3249
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -2795,8 +3257,11 @@ declare const useManagedDataSource: (props: unknown) => {
2795
3257
  lastFilterDataArray?: never;
2796
3258
  lastSortDataArray?: never;
2797
3259
  lastGroupDataArray?: never;
3260
+ lastTreeDataArray?: never;
2798
3261
  dataArray: InfiniteTableRowInfo<unknown>[];
2799
3262
  groupDeepMap?: never;
3263
+ treeDeepMap?: never;
3264
+ treePaths?: never;
2800
3265
  groupRowsIndexesInDataArray?: never;
2801
3266
  reducerResults?: never;
2802
3267
  allRowsSelected: never;
@@ -2807,6 +3272,7 @@ declare const useManagedDataSource: (props: unknown) => {
2807
3272
  updatedAt: number;
2808
3273
  reducedAt: number;
2809
3274
  groupedAt: number;
3275
+ treeAt: number;
2810
3276
  sortedAt: number;
2811
3277
  filteredAt: number;
2812
3278
  generateGroupRows: never;
@@ -2815,14 +3281,17 @@ declare const useManagedDataSource: (props: unknown) => {
2815
3281
  postGroupDataArray?: never;
2816
3282
  pivotColumns?: never;
2817
3283
  pivotColumnGroups?: never;
3284
+ isTree: never;
2818
3285
  toPrimaryKey: (data: unknown) => any;
2819
3286
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
2820
3287
  sortMode: never;
2821
3288
  filterMode: never;
2822
3289
  groupMode: never;
2823
3290
  pivotMode: never;
2824
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3291
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
2825
3292
  groupRowsState: GroupRowsState<unknown>;
3293
+ treeExpandState: TreeExpandState<any>;
3294
+ treeExpandMode: never;
2826
3295
  multiSort: never;
2827
3296
  controlledSort: never;
2828
3297
  controlledFilter: never;
@@ -2836,10 +3305,19 @@ declare const useManagedDataSource: (props: unknown) => {
2836
3305
  livePagination: never;
2837
3306
  refetchKey: never;
2838
3307
  isRowSelected: never;
3308
+ isNodeSelected: never;
3309
+ isNodeExpanded: never;
3310
+ isNodeCollapsed: never;
3311
+ onNodeCollapse: never;
3312
+ onNodeExpand: never;
2839
3313
  debugId: never;
3314
+ debugMode: never;
3315
+ nodesKey: string;
3316
+ treeSelection: never;
2840
3317
  batchOperationDelay: never;
2841
3318
  onDataArrayChange: never;
2842
3319
  onDataMutations: never;
3320
+ onTreeDataMutations: never;
2843
3321
  onReady: never;
2844
3322
  rowInfoReducers: never;
2845
3323
  lazyLoad: never;
@@ -2863,9 +3341,21 @@ declare const useManagedDataSource: (props: unknown) => {
2863
3341
  componentActions: ComponentStateGeneratedActions<{
2864
3342
  indexer: Indexer<unknown, any>;
2865
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;
2866
3353
  destroyedRef: React$1.MutableRefObject<boolean>;
2867
3354
  idToIndexMap: Map<any, number>;
3355
+ idToPathMap: Map<any, NodePath$1<any>>;
3356
+ pathToIndexDeepMap: DeepMap<any, number>;
2868
3357
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3358
+ treeSelectionState?: never;
2869
3359
  stateReadyAsDetails: never;
2870
3360
  cache?: never;
2871
3361
  unfilteredCount: number;
@@ -2875,10 +3365,11 @@ declare const useManagedDataSource: (props: unknown) => {
2875
3365
  originalDataArrayChangedInfo: {
2876
3366
  timestamp: number;
2877
3367
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3368
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
2878
3369
  };
2879
3370
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2880
3371
  pivotMappings?: never;
2881
- 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>>;
2882
3373
  showSeparatePivotColumnForSingleAggregation: never;
2883
3374
  dataParams?: never;
2884
3375
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -2892,8 +3383,11 @@ declare const useManagedDataSource: (props: unknown) => {
2892
3383
  lastFilterDataArray?: never;
2893
3384
  lastSortDataArray?: never;
2894
3385
  lastGroupDataArray?: never;
3386
+ lastTreeDataArray?: never;
2895
3387
  dataArray: InfiniteTableRowInfo<unknown>[];
2896
3388
  groupDeepMap?: never;
3389
+ treeDeepMap?: never;
3390
+ treePaths?: never;
2897
3391
  groupRowsIndexesInDataArray?: never;
2898
3392
  reducerResults?: never;
2899
3393
  allRowsSelected: never;
@@ -2904,6 +3398,7 @@ declare const useManagedDataSource: (props: unknown) => {
2904
3398
  updatedAt: number;
2905
3399
  reducedAt: number;
2906
3400
  groupedAt: number;
3401
+ treeAt: number;
2907
3402
  sortedAt: number;
2908
3403
  filteredAt: number;
2909
3404
  generateGroupRows: never;
@@ -2912,14 +3407,17 @@ declare const useManagedDataSource: (props: unknown) => {
2912
3407
  postGroupDataArray?: never;
2913
3408
  pivotColumns?: never;
2914
3409
  pivotColumnGroups?: never;
3410
+ isTree: never;
2915
3411
  toPrimaryKey: (data: unknown) => any;
2916
3412
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
2917
3413
  sortMode: never;
2918
3414
  filterMode: never;
2919
3415
  groupMode: never;
2920
3416
  pivotMode: never;
2921
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3417
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
2922
3418
  groupRowsState: GroupRowsState<unknown>;
3419
+ treeExpandState: TreeExpandState<any>;
3420
+ treeExpandMode: never;
2923
3421
  multiSort: never;
2924
3422
  controlledSort: never;
2925
3423
  controlledFilter: never;
@@ -2933,10 +3431,19 @@ declare const useManagedDataSource: (props: unknown) => {
2933
3431
  livePagination: never;
2934
3432
  refetchKey: never;
2935
3433
  isRowSelected: never;
3434
+ isNodeSelected: never;
3435
+ isNodeExpanded: never;
3436
+ isNodeCollapsed: never;
3437
+ onNodeCollapse: never;
3438
+ onNodeExpand: never;
2936
3439
  debugId: never;
3440
+ debugMode: never;
3441
+ nodesKey: string;
3442
+ treeSelection: never;
2937
3443
  batchOperationDelay: never;
2938
3444
  onDataArrayChange: never;
2939
3445
  onDataMutations: never;
3446
+ onTreeDataMutations: never;
2940
3447
  onReady: never;
2941
3448
  rowInfoReducers: never;
2942
3449
  lazyLoad: never;
@@ -2959,9 +3466,21 @@ declare const useManagedDataSource: (props: unknown) => {
2959
3466
  } & {
2960
3467
  indexer: Indexer<unknown, any>;
2961
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;
2962
3478
  destroyedRef: React$1.MutableRefObject<boolean>;
2963
3479
  idToIndexMap: Map<any, number>;
3480
+ idToPathMap: Map<any, NodePath$1<any>>;
3481
+ pathToIndexDeepMap: DeepMap<any, number>;
2964
3482
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3483
+ treeSelectionState?: never;
2965
3484
  stateReadyAsDetails: never;
2966
3485
  cache?: never;
2967
3486
  unfilteredCount: number;
@@ -2971,10 +3490,11 @@ declare const useManagedDataSource: (props: unknown) => {
2971
3490
  originalDataArrayChangedInfo: {
2972
3491
  timestamp: number;
2973
3492
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3493
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
2974
3494
  };
2975
3495
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
2976
3496
  pivotMappings?: never;
2977
- 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>>;
2978
3498
  showSeparatePivotColumnForSingleAggregation: never;
2979
3499
  dataParams?: never;
2980
3500
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -2988,8 +3508,11 @@ declare const useManagedDataSource: (props: unknown) => {
2988
3508
  lastFilterDataArray?: never;
2989
3509
  lastSortDataArray?: never;
2990
3510
  lastGroupDataArray?: never;
3511
+ lastTreeDataArray?: never;
2991
3512
  dataArray: InfiniteTableRowInfo<unknown>[];
2992
3513
  groupDeepMap?: never;
3514
+ treeDeepMap?: never;
3515
+ treePaths?: never;
2993
3516
  groupRowsIndexesInDataArray?: never;
2994
3517
  reducerResults?: never;
2995
3518
  allRowsSelected: never;
@@ -3000,6 +3523,7 @@ declare const useManagedDataSource: (props: unknown) => {
3000
3523
  updatedAt: number;
3001
3524
  reducedAt: number;
3002
3525
  groupedAt: number;
3526
+ treeAt: number;
3003
3527
  sortedAt: number;
3004
3528
  filteredAt: number;
3005
3529
  generateGroupRows: never;
@@ -3008,14 +3532,17 @@ declare const useManagedDataSource: (props: unknown) => {
3008
3532
  postGroupDataArray?: never;
3009
3533
  pivotColumns?: never;
3010
3534
  pivotColumnGroups?: never;
3535
+ isTree: never;
3011
3536
  toPrimaryKey: (data: unknown) => any;
3012
3537
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3013
3538
  sortMode: never;
3014
3539
  filterMode: never;
3015
3540
  groupMode: never;
3016
3541
  pivotMode: never;
3017
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3542
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3018
3543
  groupRowsState: GroupRowsState<unknown>;
3544
+ treeExpandState: TreeExpandState<any>;
3545
+ treeExpandMode: never;
3019
3546
  multiSort: never;
3020
3547
  controlledSort: never;
3021
3548
  controlledFilter: never;
@@ -3029,10 +3556,19 @@ declare const useManagedDataSource: (props: unknown) => {
3029
3556
  livePagination: never;
3030
3557
  refetchKey: never;
3031
3558
  isRowSelected: never;
3559
+ isNodeSelected: never;
3560
+ isNodeExpanded: never;
3561
+ isNodeCollapsed: never;
3562
+ onNodeCollapse: never;
3563
+ onNodeExpand: never;
3032
3564
  debugId: never;
3565
+ debugMode: never;
3566
+ nodesKey: string;
3567
+ treeSelection: never;
3033
3568
  batchOperationDelay: never;
3034
3569
  onDataArrayChange: never;
3035
3570
  onDataMutations: never;
3571
+ onTreeDataMutations: never;
3036
3572
  onReady: never;
3037
3573
  rowInfoReducers: never;
3038
3574
  lazyLoad: never;
@@ -3055,9 +3591,21 @@ declare const useManagedDataSource: (props: unknown) => {
3055
3591
  } & {
3056
3592
  indexer: Indexer<unknown, any>;
3057
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;
3058
3603
  destroyedRef: React$1.MutableRefObject<boolean>;
3059
3604
  idToIndexMap: Map<any, number>;
3605
+ idToPathMap: Map<any, NodePath$1<any>>;
3606
+ pathToIndexDeepMap: DeepMap<any, number>;
3060
3607
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3608
+ treeSelectionState?: never;
3061
3609
  stateReadyAsDetails: never;
3062
3610
  cache?: never;
3063
3611
  unfilteredCount: number;
@@ -3067,10 +3615,11 @@ declare const useManagedDataSource: (props: unknown) => {
3067
3615
  originalDataArrayChangedInfo: {
3068
3616
  timestamp: number;
3069
3617
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3618
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3070
3619
  };
3071
3620
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3072
3621
  pivotMappings?: never;
3073
- 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>>;
3074
3623
  showSeparatePivotColumnForSingleAggregation: never;
3075
3624
  dataParams?: never;
3076
3625
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3084,8 +3633,11 @@ declare const useManagedDataSource: (props: unknown) => {
3084
3633
  lastFilterDataArray?: never;
3085
3634
  lastSortDataArray?: never;
3086
3635
  lastGroupDataArray?: never;
3636
+ lastTreeDataArray?: never;
3087
3637
  dataArray: InfiniteTableRowInfo<unknown>[];
3088
3638
  groupDeepMap?: never;
3639
+ treeDeepMap?: never;
3640
+ treePaths?: never;
3089
3641
  groupRowsIndexesInDataArray?: never;
3090
3642
  reducerResults?: never;
3091
3643
  allRowsSelected: never;
@@ -3096,6 +3648,7 @@ declare const useManagedDataSource: (props: unknown) => {
3096
3648
  updatedAt: number;
3097
3649
  reducedAt: number;
3098
3650
  groupedAt: number;
3651
+ treeAt: number;
3099
3652
  sortedAt: number;
3100
3653
  filteredAt: number;
3101
3654
  generateGroupRows: never;
@@ -3104,14 +3657,17 @@ declare const useManagedDataSource: (props: unknown) => {
3104
3657
  postGroupDataArray?: never;
3105
3658
  pivotColumns?: never;
3106
3659
  pivotColumnGroups?: never;
3660
+ isTree: never;
3107
3661
  toPrimaryKey: (data: unknown) => any;
3108
3662
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3109
3663
  sortMode: never;
3110
3664
  filterMode: never;
3111
3665
  groupMode: never;
3112
3666
  pivotMode: never;
3113
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3667
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3114
3668
  groupRowsState: GroupRowsState<unknown>;
3669
+ treeExpandState: TreeExpandState<any>;
3670
+ treeExpandMode: never;
3115
3671
  multiSort: never;
3116
3672
  controlledSort: never;
3117
3673
  controlledFilter: never;
@@ -3125,10 +3681,19 @@ declare const useManagedDataSource: (props: unknown) => {
3125
3681
  livePagination: never;
3126
3682
  refetchKey: never;
3127
3683
  isRowSelected: never;
3684
+ isNodeSelected: never;
3685
+ isNodeExpanded: never;
3686
+ isNodeCollapsed: never;
3687
+ onNodeCollapse: never;
3688
+ onNodeExpand: never;
3128
3689
  debugId: never;
3690
+ debugMode: never;
3691
+ nodesKey: string;
3692
+ treeSelection: never;
3129
3693
  batchOperationDelay: never;
3130
3694
  onDataArrayChange: never;
3131
3695
  onDataMutations: never;
3696
+ onTreeDataMutations: never;
3132
3697
  onReady: never;
3133
3698
  rowInfoReducers: never;
3134
3699
  lazyLoad: never;
@@ -3152,9 +3717,21 @@ declare const useManagedDataSource: (props: unknown) => {
3152
3717
  getComponentState: () => {
3153
3718
  indexer: Indexer<unknown, any>;
3154
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;
3155
3729
  destroyedRef: React$1.MutableRefObject<boolean>;
3156
3730
  idToIndexMap: Map<any, number>;
3731
+ idToPathMap: Map<any, NodePath$1<any>>;
3732
+ pathToIndexDeepMap: DeepMap<any, number>;
3157
3733
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3734
+ treeSelectionState?: never;
3158
3735
  stateReadyAsDetails: never;
3159
3736
  cache?: never;
3160
3737
  unfilteredCount: number;
@@ -3164,10 +3741,11 @@ declare const useManagedDataSource: (props: unknown) => {
3164
3741
  originalDataArrayChangedInfo: {
3165
3742
  timestamp: number;
3166
3743
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3744
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3167
3745
  };
3168
3746
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3169
3747
  pivotMappings?: never;
3170
- 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>>;
3171
3749
  showSeparatePivotColumnForSingleAggregation: never;
3172
3750
  dataParams?: never;
3173
3751
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3181,8 +3759,11 @@ declare const useManagedDataSource: (props: unknown) => {
3181
3759
  lastFilterDataArray?: never;
3182
3760
  lastSortDataArray?: never;
3183
3761
  lastGroupDataArray?: never;
3762
+ lastTreeDataArray?: never;
3184
3763
  dataArray: InfiniteTableRowInfo<unknown>[];
3185
3764
  groupDeepMap?: never;
3765
+ treeDeepMap?: never;
3766
+ treePaths?: never;
3186
3767
  groupRowsIndexesInDataArray?: never;
3187
3768
  reducerResults?: never;
3188
3769
  allRowsSelected: never;
@@ -3193,6 +3774,7 @@ declare const useManagedDataSource: (props: unknown) => {
3193
3774
  updatedAt: number;
3194
3775
  reducedAt: number;
3195
3776
  groupedAt: number;
3777
+ treeAt: number;
3196
3778
  sortedAt: number;
3197
3779
  filteredAt: number;
3198
3780
  generateGroupRows: never;
@@ -3201,14 +3783,17 @@ declare const useManagedDataSource: (props: unknown) => {
3201
3783
  postGroupDataArray?: never;
3202
3784
  pivotColumns?: never;
3203
3785
  pivotColumnGroups?: never;
3786
+ isTree: never;
3204
3787
  toPrimaryKey: (data: unknown) => any;
3205
3788
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3206
3789
  sortMode: never;
3207
3790
  filterMode: never;
3208
3791
  groupMode: never;
3209
3792
  pivotMode: never;
3210
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3793
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3211
3794
  groupRowsState: GroupRowsState<unknown>;
3795
+ treeExpandState: TreeExpandState<any>;
3796
+ treeExpandMode: never;
3212
3797
  multiSort: never;
3213
3798
  controlledSort: never;
3214
3799
  controlledFilter: never;
@@ -3222,10 +3807,19 @@ declare const useManagedDataSource: (props: unknown) => {
3222
3807
  livePagination: never;
3223
3808
  refetchKey: never;
3224
3809
  isRowSelected: never;
3810
+ isNodeSelected: never;
3811
+ isNodeExpanded: never;
3812
+ isNodeCollapsed: never;
3813
+ onNodeCollapse: never;
3814
+ onNodeExpand: never;
3225
3815
  debugId: never;
3816
+ debugMode: never;
3817
+ nodesKey: string;
3818
+ treeSelection: never;
3226
3819
  batchOperationDelay: never;
3227
3820
  onDataArrayChange: never;
3228
3821
  onDataMutations: never;
3822
+ onTreeDataMutations: never;
3229
3823
  onReady: never;
3230
3824
  rowInfoReducers: never;
3231
3825
  lazyLoad: never;
@@ -3248,9 +3842,21 @@ declare const useManagedDataSource: (props: unknown) => {
3248
3842
  } & {
3249
3843
  indexer: Indexer<unknown, any>;
3250
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;
3251
3854
  destroyedRef: React$1.MutableRefObject<boolean>;
3252
3855
  idToIndexMap: Map<any, number>;
3856
+ idToPathMap: Map<any, NodePath$1<any>>;
3857
+ pathToIndexDeepMap: DeepMap<any, number>;
3253
3858
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3859
+ treeSelectionState?: never;
3254
3860
  stateReadyAsDetails: never;
3255
3861
  cache?: never;
3256
3862
  unfilteredCount: number;
@@ -3260,10 +3866,11 @@ declare const useManagedDataSource: (props: unknown) => {
3260
3866
  originalDataArrayChangedInfo: {
3261
3867
  timestamp: number;
3262
3868
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3869
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3263
3870
  };
3264
3871
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3265
3872
  pivotMappings?: never;
3266
- 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>>;
3267
3874
  showSeparatePivotColumnForSingleAggregation: never;
3268
3875
  dataParams?: never;
3269
3876
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3277,8 +3884,11 @@ declare const useManagedDataSource: (props: unknown) => {
3277
3884
  lastFilterDataArray?: never;
3278
3885
  lastSortDataArray?: never;
3279
3886
  lastGroupDataArray?: never;
3887
+ lastTreeDataArray?: never;
3280
3888
  dataArray: InfiniteTableRowInfo<unknown>[];
3281
3889
  groupDeepMap?: never;
3890
+ treeDeepMap?: never;
3891
+ treePaths?: never;
3282
3892
  groupRowsIndexesInDataArray?: never;
3283
3893
  reducerResults?: never;
3284
3894
  allRowsSelected: never;
@@ -3289,6 +3899,7 @@ declare const useManagedDataSource: (props: unknown) => {
3289
3899
  updatedAt: number;
3290
3900
  reducedAt: number;
3291
3901
  groupedAt: number;
3902
+ treeAt: number;
3292
3903
  sortedAt: number;
3293
3904
  filteredAt: number;
3294
3905
  generateGroupRows: never;
@@ -3297,14 +3908,17 @@ declare const useManagedDataSource: (props: unknown) => {
3297
3908
  postGroupDataArray?: never;
3298
3909
  pivotColumns?: never;
3299
3910
  pivotColumnGroups?: never;
3911
+ isTree: never;
3300
3912
  toPrimaryKey: (data: unknown) => any;
3301
3913
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3302
3914
  sortMode: never;
3303
3915
  filterMode: never;
3304
3916
  groupMode: never;
3305
3917
  pivotMode: never;
3306
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
3918
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3307
3919
  groupRowsState: GroupRowsState<unknown>;
3920
+ treeExpandState: TreeExpandState<any>;
3921
+ treeExpandMode: never;
3308
3922
  multiSort: never;
3309
3923
  controlledSort: never;
3310
3924
  controlledFilter: never;
@@ -3318,10 +3932,19 @@ declare const useManagedDataSource: (props: unknown) => {
3318
3932
  livePagination: never;
3319
3933
  refetchKey: never;
3320
3934
  isRowSelected: never;
3935
+ isNodeSelected: never;
3936
+ isNodeExpanded: never;
3937
+ isNodeCollapsed: never;
3938
+ onNodeCollapse: never;
3939
+ onNodeExpand: never;
3321
3940
  debugId: never;
3941
+ debugMode: never;
3942
+ nodesKey: string;
3943
+ treeSelection: never;
3322
3944
  batchOperationDelay: never;
3323
3945
  onDataArrayChange: never;
3324
3946
  onDataMutations: never;
3947
+ onTreeDataMutations: never;
3325
3948
  onReady: never;
3326
3949
  rowInfoReducers: never;
3327
3950
  lazyLoad: never;
@@ -3344,9 +3967,21 @@ declare const useManagedDataSource: (props: unknown) => {
3344
3967
  } & {
3345
3968
  indexer: Indexer<unknown, any>;
3346
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;
3347
3979
  destroyedRef: React$1.MutableRefObject<boolean>;
3348
3980
  idToIndexMap: Map<any, number>;
3981
+ idToPathMap: Map<any, NodePath$1<any>>;
3982
+ pathToIndexDeepMap: DeepMap<any, number>;
3349
3983
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
3984
+ treeSelectionState?: never;
3350
3985
  stateReadyAsDetails: never;
3351
3986
  cache?: never;
3352
3987
  unfilteredCount: number;
@@ -3356,10 +3991,11 @@ declare const useManagedDataSource: (props: unknown) => {
3356
3991
  originalDataArrayChangedInfo: {
3357
3992
  timestamp: number;
3358
3993
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
3994
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3359
3995
  };
3360
3996
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3361
3997
  pivotMappings?: never;
3362
- 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>>;
3363
3999
  showSeparatePivotColumnForSingleAggregation: never;
3364
4000
  dataParams?: never;
3365
4001
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3373,8 +4009,11 @@ declare const useManagedDataSource: (props: unknown) => {
3373
4009
  lastFilterDataArray?: never;
3374
4010
  lastSortDataArray?: never;
3375
4011
  lastGroupDataArray?: never;
4012
+ lastTreeDataArray?: never;
3376
4013
  dataArray: InfiniteTableRowInfo<unknown>[];
3377
4014
  groupDeepMap?: never;
4015
+ treeDeepMap?: never;
4016
+ treePaths?: never;
3378
4017
  groupRowsIndexesInDataArray?: never;
3379
4018
  reducerResults?: never;
3380
4019
  allRowsSelected: never;
@@ -3385,6 +4024,7 @@ declare const useManagedDataSource: (props: unknown) => {
3385
4024
  updatedAt: number;
3386
4025
  reducedAt: number;
3387
4026
  groupedAt: number;
4027
+ treeAt: number;
3388
4028
  sortedAt: number;
3389
4029
  filteredAt: number;
3390
4030
  generateGroupRows: never;
@@ -3393,14 +4033,17 @@ declare const useManagedDataSource: (props: unknown) => {
3393
4033
  postGroupDataArray?: never;
3394
4034
  pivotColumns?: never;
3395
4035
  pivotColumnGroups?: never;
4036
+ isTree: never;
3396
4037
  toPrimaryKey: (data: unknown) => any;
3397
4038
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3398
4039
  sortMode: never;
3399
4040
  filterMode: never;
3400
4041
  groupMode: never;
3401
4042
  pivotMode: never;
3402
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4043
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3403
4044
  groupRowsState: GroupRowsState<unknown>;
4045
+ treeExpandState: TreeExpandState<any>;
4046
+ treeExpandMode: never;
3404
4047
  multiSort: never;
3405
4048
  controlledSort: never;
3406
4049
  controlledFilter: never;
@@ -3414,10 +4057,19 @@ declare const useManagedDataSource: (props: unknown) => {
3414
4057
  livePagination: never;
3415
4058
  refetchKey: never;
3416
4059
  isRowSelected: never;
4060
+ isNodeSelected: never;
4061
+ isNodeExpanded: never;
4062
+ isNodeCollapsed: never;
4063
+ onNodeCollapse: never;
4064
+ onNodeExpand: never;
3417
4065
  debugId: never;
4066
+ debugMode: never;
4067
+ nodesKey: string;
4068
+ treeSelection: never;
3418
4069
  batchOperationDelay: never;
3419
4070
  onDataArrayChange: never;
3420
4071
  onDataMutations: never;
4072
+ onTreeDataMutations: never;
3421
4073
  onReady: never;
3422
4074
  rowInfoReducers: never;
3423
4075
  lazyLoad: never;
@@ -3441,9 +4093,21 @@ declare const useManagedDataSource: (props: unknown) => {
3441
4093
  replaceState: (newState: {
3442
4094
  indexer: Indexer<unknown, any>;
3443
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;
3444
4105
  destroyedRef: React$1.MutableRefObject<boolean>;
3445
4106
  idToIndexMap: Map<any, number>;
4107
+ idToPathMap: Map<any, NodePath$1<any>>;
4108
+ pathToIndexDeepMap: DeepMap<any, number>;
3446
4109
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4110
+ treeSelectionState?: never;
3447
4111
  stateReadyAsDetails: never;
3448
4112
  cache?: never;
3449
4113
  unfilteredCount: number;
@@ -3453,10 +4117,11 @@ declare const useManagedDataSource: (props: unknown) => {
3453
4117
  originalDataArrayChangedInfo: {
3454
4118
  timestamp: number;
3455
4119
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4120
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3456
4121
  };
3457
4122
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3458
4123
  pivotMappings?: never;
3459
- 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>>;
3460
4125
  showSeparatePivotColumnForSingleAggregation: never;
3461
4126
  dataParams?: never;
3462
4127
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3470,8 +4135,11 @@ declare const useManagedDataSource: (props: unknown) => {
3470
4135
  lastFilterDataArray?: never;
3471
4136
  lastSortDataArray?: never;
3472
4137
  lastGroupDataArray?: never;
4138
+ lastTreeDataArray?: never;
3473
4139
  dataArray: InfiniteTableRowInfo<unknown>[];
3474
4140
  groupDeepMap?: never;
4141
+ treeDeepMap?: never;
4142
+ treePaths?: never;
3475
4143
  groupRowsIndexesInDataArray?: never;
3476
4144
  reducerResults?: never;
3477
4145
  allRowsSelected: never;
@@ -3482,6 +4150,7 @@ declare const useManagedDataSource: (props: unknown) => {
3482
4150
  updatedAt: number;
3483
4151
  reducedAt: number;
3484
4152
  groupedAt: number;
4153
+ treeAt: number;
3485
4154
  sortedAt: number;
3486
4155
  filteredAt: number;
3487
4156
  generateGroupRows: never;
@@ -3490,14 +4159,17 @@ declare const useManagedDataSource: (props: unknown) => {
3490
4159
  postGroupDataArray?: never;
3491
4160
  pivotColumns?: never;
3492
4161
  pivotColumnGroups?: never;
4162
+ isTree: never;
3493
4163
  toPrimaryKey: (data: unknown) => any;
3494
4164
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3495
4165
  sortMode: never;
3496
4166
  filterMode: never;
3497
4167
  groupMode: never;
3498
4168
  pivotMode: never;
3499
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4169
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3500
4170
  groupRowsState: GroupRowsState<unknown>;
4171
+ treeExpandState: TreeExpandState<any>;
4172
+ treeExpandMode: never;
3501
4173
  multiSort: never;
3502
4174
  controlledSort: never;
3503
4175
  controlledFilter: never;
@@ -3511,10 +4183,19 @@ declare const useManagedDataSource: (props: unknown) => {
3511
4183
  livePagination: never;
3512
4184
  refetchKey: never;
3513
4185
  isRowSelected: never;
4186
+ isNodeSelected: never;
4187
+ isNodeExpanded: never;
4188
+ isNodeCollapsed: never;
4189
+ onNodeCollapse: never;
4190
+ onNodeExpand: never;
3514
4191
  debugId: never;
4192
+ debugMode: never;
4193
+ nodesKey: string;
4194
+ treeSelection: never;
3515
4195
  batchOperationDelay: never;
3516
4196
  onDataArrayChange: never;
3517
4197
  onDataMutations: never;
4198
+ onTreeDataMutations: never;
3518
4199
  onReady: never;
3519
4200
  rowInfoReducers: never;
3520
4201
  lazyLoad: never;
@@ -3537,9 +4218,21 @@ declare const useManagedDataSource: (props: unknown) => {
3537
4218
  } & {
3538
4219
  indexer: Indexer<unknown, any>;
3539
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;
3540
4230
  destroyedRef: React$1.MutableRefObject<boolean>;
3541
4231
  idToIndexMap: Map<any, number>;
4232
+ idToPathMap: Map<any, NodePath$1<any>>;
4233
+ pathToIndexDeepMap: DeepMap<any, number>;
3542
4234
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4235
+ treeSelectionState?: never;
3543
4236
  stateReadyAsDetails: never;
3544
4237
  cache?: never;
3545
4238
  unfilteredCount: number;
@@ -3549,10 +4242,11 @@ declare const useManagedDataSource: (props: unknown) => {
3549
4242
  originalDataArrayChangedInfo: {
3550
4243
  timestamp: number;
3551
4244
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4245
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3552
4246
  };
3553
4247
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3554
4248
  pivotMappings?: never;
3555
- 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>>;
3556
4250
  showSeparatePivotColumnForSingleAggregation: never;
3557
4251
  dataParams?: never;
3558
4252
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3566,8 +4260,11 @@ declare const useManagedDataSource: (props: unknown) => {
3566
4260
  lastFilterDataArray?: never;
3567
4261
  lastSortDataArray?: never;
3568
4262
  lastGroupDataArray?: never;
4263
+ lastTreeDataArray?: never;
3569
4264
  dataArray: InfiniteTableRowInfo<unknown>[];
3570
4265
  groupDeepMap?: never;
4266
+ treeDeepMap?: never;
4267
+ treePaths?: never;
3571
4268
  groupRowsIndexesInDataArray?: never;
3572
4269
  reducerResults?: never;
3573
4270
  allRowsSelected: never;
@@ -3578,6 +4275,7 @@ declare const useManagedDataSource: (props: unknown) => {
3578
4275
  updatedAt: number;
3579
4276
  reducedAt: number;
3580
4277
  groupedAt: number;
4278
+ treeAt: number;
3581
4279
  sortedAt: number;
3582
4280
  filteredAt: number;
3583
4281
  generateGroupRows: never;
@@ -3586,14 +4284,17 @@ declare const useManagedDataSource: (props: unknown) => {
3586
4284
  postGroupDataArray?: never;
3587
4285
  pivotColumns?: never;
3588
4286
  pivotColumnGroups?: never;
4287
+ isTree: never;
3589
4288
  toPrimaryKey: (data: unknown) => any;
3590
4289
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3591
4290
  sortMode: never;
3592
4291
  filterMode: never;
3593
4292
  groupMode: never;
3594
4293
  pivotMode: never;
3595
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4294
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3596
4295
  groupRowsState: GroupRowsState<unknown>;
4296
+ treeExpandState: TreeExpandState<any>;
4297
+ treeExpandMode: never;
3597
4298
  multiSort: never;
3598
4299
  controlledSort: never;
3599
4300
  controlledFilter: never;
@@ -3607,10 +4308,19 @@ declare const useManagedDataSource: (props: unknown) => {
3607
4308
  livePagination: never;
3608
4309
  refetchKey: never;
3609
4310
  isRowSelected: never;
4311
+ isNodeSelected: never;
4312
+ isNodeExpanded: never;
4313
+ isNodeCollapsed: never;
4314
+ onNodeCollapse: never;
4315
+ onNodeExpand: never;
3610
4316
  debugId: never;
4317
+ debugMode: never;
4318
+ nodesKey: string;
4319
+ treeSelection: never;
3611
4320
  batchOperationDelay: never;
3612
4321
  onDataArrayChange: never;
3613
4322
  onDataMutations: never;
4323
+ onTreeDataMutations: never;
3614
4324
  onReady: never;
3615
4325
  rowInfoReducers: never;
3616
4326
  lazyLoad: never;
@@ -3633,9 +4343,21 @@ declare const useManagedDataSource: (props: unknown) => {
3633
4343
  } & {
3634
4344
  indexer: Indexer<unknown, any>;
3635
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;
3636
4355
  destroyedRef: React$1.MutableRefObject<boolean>;
3637
4356
  idToIndexMap: Map<any, number>;
4357
+ idToPathMap: Map<any, NodePath$1<any>>;
4358
+ pathToIndexDeepMap: DeepMap<any, number>;
3638
4359
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4360
+ treeSelectionState?: never;
3639
4361
  stateReadyAsDetails: never;
3640
4362
  cache?: never;
3641
4363
  unfilteredCount: number;
@@ -3645,10 +4367,11 @@ declare const useManagedDataSource: (props: unknown) => {
3645
4367
  originalDataArrayChangedInfo: {
3646
4368
  timestamp: number;
3647
4369
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4370
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3648
4371
  };
3649
4372
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3650
4373
  pivotMappings?: never;
3651
- 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>>;
3652
4375
  showSeparatePivotColumnForSingleAggregation: never;
3653
4376
  dataParams?: never;
3654
4377
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3662,8 +4385,11 @@ declare const useManagedDataSource: (props: unknown) => {
3662
4385
  lastFilterDataArray?: never;
3663
4386
  lastSortDataArray?: never;
3664
4387
  lastGroupDataArray?: never;
4388
+ lastTreeDataArray?: never;
3665
4389
  dataArray: InfiniteTableRowInfo<unknown>[];
3666
4390
  groupDeepMap?: never;
4391
+ treeDeepMap?: never;
4392
+ treePaths?: never;
3667
4393
  groupRowsIndexesInDataArray?: never;
3668
4394
  reducerResults?: never;
3669
4395
  allRowsSelected: never;
@@ -3674,6 +4400,7 @@ declare const useManagedDataSource: (props: unknown) => {
3674
4400
  updatedAt: number;
3675
4401
  reducedAt: number;
3676
4402
  groupedAt: number;
4403
+ treeAt: number;
3677
4404
  sortedAt: number;
3678
4405
  filteredAt: number;
3679
4406
  generateGroupRows: never;
@@ -3682,14 +4409,17 @@ declare const useManagedDataSource: (props: unknown) => {
3682
4409
  postGroupDataArray?: never;
3683
4410
  pivotColumns?: never;
3684
4411
  pivotColumnGroups?: never;
4412
+ isTree: never;
3685
4413
  toPrimaryKey: (data: unknown) => any;
3686
4414
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3687
4415
  sortMode: never;
3688
4416
  filterMode: never;
3689
4417
  groupMode: never;
3690
4418
  pivotMode: never;
3691
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4419
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3692
4420
  groupRowsState: GroupRowsState<unknown>;
4421
+ treeExpandState: TreeExpandState<any>;
4422
+ treeExpandMode: never;
3693
4423
  multiSort: never;
3694
4424
  controlledSort: never;
3695
4425
  controlledFilter: never;
@@ -3703,10 +4433,19 @@ declare const useManagedDataSource: (props: unknown) => {
3703
4433
  livePagination: never;
3704
4434
  refetchKey: never;
3705
4435
  isRowSelected: never;
4436
+ isNodeSelected: never;
4437
+ isNodeExpanded: never;
4438
+ isNodeCollapsed: never;
4439
+ onNodeCollapse: never;
4440
+ onNodeExpand: never;
3706
4441
  debugId: never;
4442
+ debugMode: never;
4443
+ nodesKey: string;
4444
+ treeSelection: never;
3707
4445
  batchOperationDelay: never;
3708
4446
  onDataArrayChange: never;
3709
4447
  onDataMutations: never;
4448
+ onTreeDataMutations: never;
3710
4449
  onReady: never;
3711
4450
  rowInfoReducers: never;
3712
4451
  lazyLoad: never;
@@ -3730,9 +4469,21 @@ declare const useManagedDataSource: (props: unknown) => {
3730
4469
  assignState: (newState: Partial<{
3731
4470
  indexer: Indexer<unknown, any>;
3732
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;
3733
4481
  destroyedRef: React$1.MutableRefObject<boolean>;
3734
4482
  idToIndexMap: Map<any, number>;
4483
+ idToPathMap: Map<any, NodePath$1<any>>;
4484
+ pathToIndexDeepMap: DeepMap<any, number>;
3735
4485
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4486
+ treeSelectionState?: never;
3736
4487
  stateReadyAsDetails: never;
3737
4488
  cache?: never;
3738
4489
  unfilteredCount: number;
@@ -3742,10 +4493,11 @@ declare const useManagedDataSource: (props: unknown) => {
3742
4493
  originalDataArrayChangedInfo: {
3743
4494
  timestamp: number;
3744
4495
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4496
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3745
4497
  };
3746
4498
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3747
4499
  pivotMappings?: never;
3748
- 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>>;
3749
4501
  showSeparatePivotColumnForSingleAggregation: never;
3750
4502
  dataParams?: never;
3751
4503
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3759,8 +4511,11 @@ declare const useManagedDataSource: (props: unknown) => {
3759
4511
  lastFilterDataArray?: never;
3760
4512
  lastSortDataArray?: never;
3761
4513
  lastGroupDataArray?: never;
4514
+ lastTreeDataArray?: never;
3762
4515
  dataArray: InfiniteTableRowInfo<unknown>[];
3763
4516
  groupDeepMap?: never;
4517
+ treeDeepMap?: never;
4518
+ treePaths?: never;
3764
4519
  groupRowsIndexesInDataArray?: never;
3765
4520
  reducerResults?: never;
3766
4521
  allRowsSelected: never;
@@ -3771,6 +4526,7 @@ declare const useManagedDataSource: (props: unknown) => {
3771
4526
  updatedAt: number;
3772
4527
  reducedAt: number;
3773
4528
  groupedAt: number;
4529
+ treeAt: number;
3774
4530
  sortedAt: number;
3775
4531
  filteredAt: number;
3776
4532
  generateGroupRows: never;
@@ -3779,14 +4535,17 @@ declare const useManagedDataSource: (props: unknown) => {
3779
4535
  postGroupDataArray?: never;
3780
4536
  pivotColumns?: never;
3781
4537
  pivotColumnGroups?: never;
4538
+ isTree: never;
3782
4539
  toPrimaryKey: (data: unknown) => any;
3783
4540
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3784
4541
  sortMode: never;
3785
4542
  filterMode: never;
3786
4543
  groupMode: never;
3787
4544
  pivotMode: never;
3788
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4545
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3789
4546
  groupRowsState: GroupRowsState<unknown>;
4547
+ treeExpandState: TreeExpandState<any>;
4548
+ treeExpandMode: never;
3790
4549
  multiSort: never;
3791
4550
  controlledSort: never;
3792
4551
  controlledFilter: never;
@@ -3800,10 +4559,19 @@ declare const useManagedDataSource: (props: unknown) => {
3800
4559
  livePagination: never;
3801
4560
  refetchKey: never;
3802
4561
  isRowSelected: never;
4562
+ isNodeSelected: never;
4563
+ isNodeExpanded: never;
4564
+ isNodeCollapsed: never;
4565
+ onNodeCollapse: never;
4566
+ onNodeExpand: never;
3803
4567
  debugId: never;
4568
+ debugMode: never;
4569
+ nodesKey: string;
4570
+ treeSelection: never;
3804
4571
  batchOperationDelay: never;
3805
4572
  onDataArrayChange: never;
3806
4573
  onDataMutations: never;
4574
+ onTreeDataMutations: never;
3807
4575
  onReady: never;
3808
4576
  rowInfoReducers: never;
3809
4577
  lazyLoad: never;
@@ -3826,9 +4594,21 @@ declare const useManagedDataSource: (props: unknown) => {
3826
4594
  } & {
3827
4595
  indexer: Indexer<unknown, any>;
3828
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;
3829
4606
  destroyedRef: React$1.MutableRefObject<boolean>;
3830
4607
  idToIndexMap: Map<any, number>;
4608
+ idToPathMap: Map<any, NodePath$1<any>>;
4609
+ pathToIndexDeepMap: DeepMap<any, number>;
3831
4610
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4611
+ treeSelectionState?: never;
3832
4612
  stateReadyAsDetails: never;
3833
4613
  cache?: never;
3834
4614
  unfilteredCount: number;
@@ -3838,10 +4618,11 @@ declare const useManagedDataSource: (props: unknown) => {
3838
4618
  originalDataArrayChangedInfo: {
3839
4619
  timestamp: number;
3840
4620
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4621
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3841
4622
  };
3842
4623
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3843
4624
  pivotMappings?: never;
3844
- 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>>;
3845
4626
  showSeparatePivotColumnForSingleAggregation: never;
3846
4627
  dataParams?: never;
3847
4628
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3855,8 +4636,11 @@ declare const useManagedDataSource: (props: unknown) => {
3855
4636
  lastFilterDataArray?: never;
3856
4637
  lastSortDataArray?: never;
3857
4638
  lastGroupDataArray?: never;
4639
+ lastTreeDataArray?: never;
3858
4640
  dataArray: InfiniteTableRowInfo<unknown>[];
3859
4641
  groupDeepMap?: never;
4642
+ treeDeepMap?: never;
4643
+ treePaths?: never;
3860
4644
  groupRowsIndexesInDataArray?: never;
3861
4645
  reducerResults?: never;
3862
4646
  allRowsSelected: never;
@@ -3867,6 +4651,7 @@ declare const useManagedDataSource: (props: unknown) => {
3867
4651
  updatedAt: number;
3868
4652
  reducedAt: number;
3869
4653
  groupedAt: number;
4654
+ treeAt: number;
3870
4655
  sortedAt: number;
3871
4656
  filteredAt: number;
3872
4657
  generateGroupRows: never;
@@ -3875,14 +4660,17 @@ declare const useManagedDataSource: (props: unknown) => {
3875
4660
  postGroupDataArray?: never;
3876
4661
  pivotColumns?: never;
3877
4662
  pivotColumnGroups?: never;
4663
+ isTree: never;
3878
4664
  toPrimaryKey: (data: unknown) => any;
3879
4665
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3880
4666
  sortMode: never;
3881
4667
  filterMode: never;
3882
4668
  groupMode: never;
3883
4669
  pivotMode: never;
3884
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4670
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3885
4671
  groupRowsState: GroupRowsState<unknown>;
4672
+ treeExpandState: TreeExpandState<any>;
4673
+ treeExpandMode: never;
3886
4674
  multiSort: never;
3887
4675
  controlledSort: never;
3888
4676
  controlledFilter: never;
@@ -3896,10 +4684,19 @@ declare const useManagedDataSource: (props: unknown) => {
3896
4684
  livePagination: never;
3897
4685
  refetchKey: never;
3898
4686
  isRowSelected: never;
4687
+ isNodeSelected: never;
4688
+ isNodeExpanded: never;
4689
+ isNodeCollapsed: never;
4690
+ onNodeCollapse: never;
4691
+ onNodeExpand: never;
3899
4692
  debugId: never;
4693
+ debugMode: never;
4694
+ nodesKey: string;
4695
+ treeSelection: never;
3900
4696
  batchOperationDelay: never;
3901
4697
  onDataArrayChange: never;
3902
4698
  onDataMutations: never;
4699
+ onTreeDataMutations: never;
3903
4700
  onReady: never;
3904
4701
  rowInfoReducers: never;
3905
4702
  lazyLoad: never;
@@ -3922,9 +4719,21 @@ declare const useManagedDataSource: (props: unknown) => {
3922
4719
  } & {
3923
4720
  indexer: Indexer<unknown, any>;
3924
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;
3925
4731
  destroyedRef: React$1.MutableRefObject<boolean>;
3926
4732
  idToIndexMap: Map<any, number>;
4733
+ idToPathMap: Map<any, NodePath$1<any>>;
4734
+ pathToIndexDeepMap: DeepMap<any, number>;
3927
4735
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4736
+ treeSelectionState?: never;
3928
4737
  stateReadyAsDetails: never;
3929
4738
  cache?: never;
3930
4739
  unfilteredCount: number;
@@ -3934,10 +4743,11 @@ declare const useManagedDataSource: (props: unknown) => {
3934
4743
  originalDataArrayChangedInfo: {
3935
4744
  timestamp: number;
3936
4745
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4746
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
3937
4747
  };
3938
4748
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
3939
4749
  pivotMappings?: never;
3940
- 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>>;
3941
4751
  showSeparatePivotColumnForSingleAggregation: never;
3942
4752
  dataParams?: never;
3943
4753
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -3951,8 +4761,11 @@ declare const useManagedDataSource: (props: unknown) => {
3951
4761
  lastFilterDataArray?: never;
3952
4762
  lastSortDataArray?: never;
3953
4763
  lastGroupDataArray?: never;
4764
+ lastTreeDataArray?: never;
3954
4765
  dataArray: InfiniteTableRowInfo<unknown>[];
3955
4766
  groupDeepMap?: never;
4767
+ treeDeepMap?: never;
4768
+ treePaths?: never;
3956
4769
  groupRowsIndexesInDataArray?: never;
3957
4770
  reducerResults?: never;
3958
4771
  allRowsSelected: never;
@@ -3963,6 +4776,7 @@ declare const useManagedDataSource: (props: unknown) => {
3963
4776
  updatedAt: number;
3964
4777
  reducedAt: number;
3965
4778
  groupedAt: number;
4779
+ treeAt: number;
3966
4780
  sortedAt: number;
3967
4781
  filteredAt: number;
3968
4782
  generateGroupRows: never;
@@ -3971,14 +4785,17 @@ declare const useManagedDataSource: (props: unknown) => {
3971
4785
  postGroupDataArray?: never;
3972
4786
  pivotColumns?: never;
3973
4787
  pivotColumnGroups?: never;
4788
+ isTree: never;
3974
4789
  toPrimaryKey: (data: unknown) => any;
3975
4790
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
3976
4791
  sortMode: never;
3977
4792
  filterMode: never;
3978
4793
  groupMode: never;
3979
4794
  pivotMode: never;
3980
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4795
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
3981
4796
  groupRowsState: GroupRowsState<unknown>;
4797
+ treeExpandState: TreeExpandState<any>;
4798
+ treeExpandMode: never;
3982
4799
  multiSort: never;
3983
4800
  controlledSort: never;
3984
4801
  controlledFilter: never;
@@ -3992,10 +4809,19 @@ declare const useManagedDataSource: (props: unknown) => {
3992
4809
  livePagination: never;
3993
4810
  refetchKey: never;
3994
4811
  isRowSelected: never;
4812
+ isNodeSelected: never;
4813
+ isNodeExpanded: never;
4814
+ isNodeCollapsed: never;
4815
+ onNodeCollapse: never;
4816
+ onNodeExpand: never;
3995
4817
  debugId: never;
4818
+ debugMode: never;
4819
+ nodesKey: string;
4820
+ treeSelection: never;
3996
4821
  batchOperationDelay: never;
3997
4822
  onDataArrayChange: never;
3998
4823
  onDataMutations: never;
4824
+ onTreeDataMutations: never;
3999
4825
  onReady: never;
4000
4826
  rowInfoReducers: never;
4001
4827
  lazyLoad: never;
@@ -4020,9 +4846,21 @@ declare const useManagedDataSource: (props: unknown) => {
4020
4846
  ContextComponent: React$1.Context<ManagedComponentStateContextValue<{
4021
4847
  indexer: Indexer<unknown, any>;
4022
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;
4023
4858
  destroyedRef: React$1.MutableRefObject<boolean>;
4024
4859
  idToIndexMap: Map<any, number>;
4860
+ idToPathMap: Map<any, NodePath$1<any>>;
4861
+ pathToIndexDeepMap: DeepMap<any, number>;
4025
4862
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4863
+ treeSelectionState?: never;
4026
4864
  stateReadyAsDetails: never;
4027
4865
  cache?: never;
4028
4866
  unfilteredCount: number;
@@ -4032,10 +4870,11 @@ declare const useManagedDataSource: (props: unknown) => {
4032
4870
  originalDataArrayChangedInfo: {
4033
4871
  timestamp: number;
4034
4872
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4873
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4035
4874
  };
4036
4875
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4037
4876
  pivotMappings?: never;
4038
- 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>>;
4039
4878
  showSeparatePivotColumnForSingleAggregation: never;
4040
4879
  dataParams?: never;
4041
4880
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4049,8 +4888,11 @@ declare const useManagedDataSource: (props: unknown) => {
4049
4888
  lastFilterDataArray?: never;
4050
4889
  lastSortDataArray?: never;
4051
4890
  lastGroupDataArray?: never;
4891
+ lastTreeDataArray?: never;
4052
4892
  dataArray: InfiniteTableRowInfo<unknown>[];
4053
4893
  groupDeepMap?: never;
4894
+ treeDeepMap?: never;
4895
+ treePaths?: never;
4054
4896
  groupRowsIndexesInDataArray?: never;
4055
4897
  reducerResults?: never;
4056
4898
  allRowsSelected: never;
@@ -4061,6 +4903,7 @@ declare const useManagedDataSource: (props: unknown) => {
4061
4903
  updatedAt: number;
4062
4904
  reducedAt: number;
4063
4905
  groupedAt: number;
4906
+ treeAt: number;
4064
4907
  sortedAt: number;
4065
4908
  filteredAt: number;
4066
4909
  generateGroupRows: never;
@@ -4069,14 +4912,17 @@ declare const useManagedDataSource: (props: unknown) => {
4069
4912
  postGroupDataArray?: never;
4070
4913
  pivotColumns?: never;
4071
4914
  pivotColumnGroups?: never;
4915
+ isTree: never;
4072
4916
  toPrimaryKey: (data: unknown) => any;
4073
4917
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4074
4918
  sortMode: never;
4075
4919
  filterMode: never;
4076
4920
  groupMode: never;
4077
4921
  pivotMode: never;
4078
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
4922
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4079
4923
  groupRowsState: GroupRowsState<unknown>;
4924
+ treeExpandState: TreeExpandState<any>;
4925
+ treeExpandMode: never;
4080
4926
  multiSort: never;
4081
4927
  controlledSort: never;
4082
4928
  controlledFilter: never;
@@ -4090,10 +4936,19 @@ declare const useManagedDataSource: (props: unknown) => {
4090
4936
  livePagination: never;
4091
4937
  refetchKey: never;
4092
4938
  isRowSelected: never;
4939
+ isNodeSelected: never;
4940
+ isNodeExpanded: never;
4941
+ isNodeCollapsed: never;
4942
+ onNodeCollapse: never;
4943
+ onNodeExpand: never;
4093
4944
  debugId: never;
4945
+ debugMode: never;
4946
+ nodesKey: string;
4947
+ treeSelection: never;
4094
4948
  batchOperationDelay: never;
4095
4949
  onDataArrayChange: never;
4096
4950
  onDataMutations: never;
4951
+ onTreeDataMutations: never;
4097
4952
  onReady: never;
4098
4953
  rowInfoReducers: never;
4099
4954
  lazyLoad: never;
@@ -4116,9 +4971,21 @@ declare const useManagedDataSource: (props: unknown) => {
4116
4971
  } & {
4117
4972
  indexer: Indexer<unknown, any>;
4118
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;
4119
4983
  destroyedRef: React$1.MutableRefObject<boolean>;
4120
4984
  idToIndexMap: Map<any, number>;
4985
+ idToPathMap: Map<any, NodePath$1<any>>;
4986
+ pathToIndexDeepMap: DeepMap<any, number>;
4121
4987
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
4988
+ treeSelectionState?: never;
4122
4989
  stateReadyAsDetails: never;
4123
4990
  cache?: never;
4124
4991
  unfilteredCount: number;
@@ -4128,10 +4995,11 @@ declare const useManagedDataSource: (props: unknown) => {
4128
4995
  originalDataArrayChangedInfo: {
4129
4996
  timestamp: number;
4130
4997
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
4998
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4131
4999
  };
4132
5000
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4133
5001
  pivotMappings?: never;
4134
- 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>>;
4135
5003
  showSeparatePivotColumnForSingleAggregation: never;
4136
5004
  dataParams?: never;
4137
5005
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4145,8 +5013,11 @@ declare const useManagedDataSource: (props: unknown) => {
4145
5013
  lastFilterDataArray?: never;
4146
5014
  lastSortDataArray?: never;
4147
5015
  lastGroupDataArray?: never;
5016
+ lastTreeDataArray?: never;
4148
5017
  dataArray: InfiniteTableRowInfo<unknown>[];
4149
5018
  groupDeepMap?: never;
5019
+ treeDeepMap?: never;
5020
+ treePaths?: never;
4150
5021
  groupRowsIndexesInDataArray?: never;
4151
5022
  reducerResults?: never;
4152
5023
  allRowsSelected: never;
@@ -4157,6 +5028,7 @@ declare const useManagedDataSource: (props: unknown) => {
4157
5028
  updatedAt: number;
4158
5029
  reducedAt: number;
4159
5030
  groupedAt: number;
5031
+ treeAt: number;
4160
5032
  sortedAt: number;
4161
5033
  filteredAt: number;
4162
5034
  generateGroupRows: never;
@@ -4165,14 +5037,17 @@ declare const useManagedDataSource: (props: unknown) => {
4165
5037
  postGroupDataArray?: never;
4166
5038
  pivotColumns?: never;
4167
5039
  pivotColumnGroups?: never;
5040
+ isTree: never;
4168
5041
  toPrimaryKey: (data: unknown) => any;
4169
5042
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4170
5043
  sortMode: never;
4171
5044
  filterMode: never;
4172
5045
  groupMode: never;
4173
5046
  pivotMode: never;
4174
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
5047
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4175
5048
  groupRowsState: GroupRowsState<unknown>;
5049
+ treeExpandState: TreeExpandState<any>;
5050
+ treeExpandMode: never;
4176
5051
  multiSort: never;
4177
5052
  controlledSort: never;
4178
5053
  controlledFilter: never;
@@ -4186,10 +5061,19 @@ declare const useManagedDataSource: (props: unknown) => {
4186
5061
  livePagination: never;
4187
5062
  refetchKey: never;
4188
5063
  isRowSelected: never;
5064
+ isNodeSelected: never;
5065
+ isNodeExpanded: never;
5066
+ isNodeCollapsed: never;
5067
+ onNodeCollapse: never;
5068
+ onNodeExpand: never;
4189
5069
  debugId: never;
5070
+ debugMode: never;
5071
+ nodesKey: string;
5072
+ treeSelection: never;
4190
5073
  batchOperationDelay: never;
4191
5074
  onDataArrayChange: never;
4192
5075
  onDataMutations: never;
5076
+ onTreeDataMutations: never;
4193
5077
  onReady: never;
4194
5078
  rowInfoReducers: never;
4195
5079
  lazyLoad: never;
@@ -4212,9 +5096,21 @@ declare const useManagedDataSource: (props: unknown) => {
4212
5096
  } & {
4213
5097
  indexer: Indexer<unknown, any>;
4214
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;
4215
5108
  destroyedRef: React$1.MutableRefObject<boolean>;
4216
5109
  idToIndexMap: Map<any, number>;
5110
+ idToPathMap: Map<any, NodePath$1<any>>;
5111
+ pathToIndexDeepMap: DeepMap<any, number>;
4217
5112
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
5113
+ treeSelectionState?: never;
4218
5114
  stateReadyAsDetails: never;
4219
5115
  cache?: never;
4220
5116
  unfilteredCount: number;
@@ -4224,10 +5120,11 @@ declare const useManagedDataSource: (props: unknown) => {
4224
5120
  originalDataArrayChangedInfo: {
4225
5121
  timestamp: number;
4226
5122
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
5123
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4227
5124
  };
4228
5125
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4229
5126
  pivotMappings?: never;
4230
- 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>>;
4231
5128
  showSeparatePivotColumnForSingleAggregation: never;
4232
5129
  dataParams?: never;
4233
5130
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4241,8 +5138,11 @@ declare const useManagedDataSource: (props: unknown) => {
4241
5138
  lastFilterDataArray?: never;
4242
5139
  lastSortDataArray?: never;
4243
5140
  lastGroupDataArray?: never;
5141
+ lastTreeDataArray?: never;
4244
5142
  dataArray: InfiniteTableRowInfo<unknown>[];
4245
5143
  groupDeepMap?: never;
5144
+ treeDeepMap?: never;
5145
+ treePaths?: never;
4246
5146
  groupRowsIndexesInDataArray?: never;
4247
5147
  reducerResults?: never;
4248
5148
  allRowsSelected: never;
@@ -4253,6 +5153,7 @@ declare const useManagedDataSource: (props: unknown) => {
4253
5153
  updatedAt: number;
4254
5154
  reducedAt: number;
4255
5155
  groupedAt: number;
5156
+ treeAt: number;
4256
5157
  sortedAt: number;
4257
5158
  filteredAt: number;
4258
5159
  generateGroupRows: never;
@@ -4261,14 +5162,17 @@ declare const useManagedDataSource: (props: unknown) => {
4261
5162
  postGroupDataArray?: never;
4262
5163
  pivotColumns?: never;
4263
5164
  pivotColumnGroups?: never;
5165
+ isTree: never;
4264
5166
  toPrimaryKey: (data: unknown) => any;
4265
5167
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4266
5168
  sortMode: never;
4267
5169
  filterMode: never;
4268
5170
  groupMode: never;
4269
5171
  pivotMode: never;
4270
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
5172
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4271
5173
  groupRowsState: GroupRowsState<unknown>;
5174
+ treeExpandState: TreeExpandState<any>;
5175
+ treeExpandMode: never;
4272
5176
  multiSort: never;
4273
5177
  controlledSort: never;
4274
5178
  controlledFilter: never;
@@ -4282,10 +5186,19 @@ declare const useManagedDataSource: (props: unknown) => {
4282
5186
  livePagination: never;
4283
5187
  refetchKey: never;
4284
5188
  isRowSelected: never;
5189
+ isNodeSelected: never;
5190
+ isNodeExpanded: never;
5191
+ isNodeCollapsed: never;
5192
+ onNodeCollapse: never;
5193
+ onNodeExpand: never;
4285
5194
  debugId: never;
5195
+ debugMode: never;
5196
+ nodesKey: string;
5197
+ treeSelection: never;
4286
5198
  batchOperationDelay: never;
4287
5199
  onDataArrayChange: never;
4288
5200
  onDataMutations: never;
5201
+ onTreeDataMutations: never;
4289
5202
  onReady: never;
4290
5203
  rowInfoReducers: never;
4291
5204
  lazyLoad: never;
@@ -4308,9 +5221,21 @@ declare const useManagedDataSource: (props: unknown) => {
4308
5221
  }, ComponentStateGeneratedActions<{
4309
5222
  indexer: Indexer<unknown, any>;
4310
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;
4311
5233
  destroyedRef: React$1.MutableRefObject<boolean>;
4312
5234
  idToIndexMap: Map<any, number>;
5235
+ idToPathMap: Map<any, NodePath$1<any>>;
5236
+ pathToIndexDeepMap: DeepMap<any, number>;
4313
5237
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
5238
+ treeSelectionState?: never;
4314
5239
  stateReadyAsDetails: never;
4315
5240
  cache?: never;
4316
5241
  unfilteredCount: number;
@@ -4320,10 +5245,11 @@ declare const useManagedDataSource: (props: unknown) => {
4320
5245
  originalDataArrayChangedInfo: {
4321
5246
  timestamp: number;
4322
5247
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
5248
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4323
5249
  };
4324
5250
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4325
5251
  pivotMappings?: never;
4326
- 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>>;
4327
5253
  showSeparatePivotColumnForSingleAggregation: never;
4328
5254
  dataParams?: never;
4329
5255
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4337,8 +5263,11 @@ declare const useManagedDataSource: (props: unknown) => {
4337
5263
  lastFilterDataArray?: never;
4338
5264
  lastSortDataArray?: never;
4339
5265
  lastGroupDataArray?: never;
5266
+ lastTreeDataArray?: never;
4340
5267
  dataArray: InfiniteTableRowInfo<unknown>[];
4341
5268
  groupDeepMap?: never;
5269
+ treeDeepMap?: never;
5270
+ treePaths?: never;
4342
5271
  groupRowsIndexesInDataArray?: never;
4343
5272
  reducerResults?: never;
4344
5273
  allRowsSelected: never;
@@ -4349,6 +5278,7 @@ declare const useManagedDataSource: (props: unknown) => {
4349
5278
  updatedAt: number;
4350
5279
  reducedAt: number;
4351
5280
  groupedAt: number;
5281
+ treeAt: number;
4352
5282
  sortedAt: number;
4353
5283
  filteredAt: number;
4354
5284
  generateGroupRows: never;
@@ -4357,14 +5287,17 @@ declare const useManagedDataSource: (props: unknown) => {
4357
5287
  postGroupDataArray?: never;
4358
5288
  pivotColumns?: never;
4359
5289
  pivotColumnGroups?: never;
5290
+ isTree: never;
4360
5291
  toPrimaryKey: (data: unknown) => any;
4361
5292
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4362
5293
  sortMode: never;
4363
5294
  filterMode: never;
4364
5295
  groupMode: never;
4365
5296
  pivotMode: never;
4366
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
5297
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4367
5298
  groupRowsState: GroupRowsState<unknown>;
5299
+ treeExpandState: TreeExpandState<any>;
5300
+ treeExpandMode: never;
4368
5301
  multiSort: never;
4369
5302
  controlledSort: never;
4370
5303
  controlledFilter: never;
@@ -4378,10 +5311,19 @@ declare const useManagedDataSource: (props: unknown) => {
4378
5311
  livePagination: never;
4379
5312
  refetchKey: never;
4380
5313
  isRowSelected: never;
5314
+ isNodeSelected: never;
5315
+ isNodeExpanded: never;
5316
+ isNodeCollapsed: never;
5317
+ onNodeCollapse: never;
5318
+ onNodeExpand: never;
4381
5319
  debugId: never;
5320
+ debugMode: never;
5321
+ nodesKey: string;
5322
+ treeSelection: never;
4382
5323
  batchOperationDelay: never;
4383
5324
  onDataArrayChange: never;
4384
5325
  onDataMutations: never;
5326
+ onTreeDataMutations: never;
4385
5327
  onReady: never;
4386
5328
  rowInfoReducers: never;
4387
5329
  lazyLoad: never;
@@ -4404,9 +5346,21 @@ declare const useManagedDataSource: (props: unknown) => {
4404
5346
  } & {
4405
5347
  indexer: Indexer<unknown, any>;
4406
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;
4407
5358
  destroyedRef: React$1.MutableRefObject<boolean>;
4408
5359
  idToIndexMap: Map<any, number>;
5360
+ idToPathMap: Map<any, NodePath$1<any>>;
5361
+ pathToIndexDeepMap: DeepMap<any, number>;
4409
5362
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
5363
+ treeSelectionState?: never;
4410
5364
  stateReadyAsDetails: never;
4411
5365
  cache?: never;
4412
5366
  unfilteredCount: number;
@@ -4416,10 +5370,11 @@ declare const useManagedDataSource: (props: unknown) => {
4416
5370
  originalDataArrayChangedInfo: {
4417
5371
  timestamp: number;
4418
5372
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
5373
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4419
5374
  };
4420
5375
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4421
5376
  pivotMappings?: never;
4422
- 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>>;
4423
5378
  showSeparatePivotColumnForSingleAggregation: never;
4424
5379
  dataParams?: never;
4425
5380
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4433,8 +5388,11 @@ declare const useManagedDataSource: (props: unknown) => {
4433
5388
  lastFilterDataArray?: never;
4434
5389
  lastSortDataArray?: never;
4435
5390
  lastGroupDataArray?: never;
5391
+ lastTreeDataArray?: never;
4436
5392
  dataArray: InfiniteTableRowInfo<unknown>[];
4437
5393
  groupDeepMap?: never;
5394
+ treeDeepMap?: never;
5395
+ treePaths?: never;
4438
5396
  groupRowsIndexesInDataArray?: never;
4439
5397
  reducerResults?: never;
4440
5398
  allRowsSelected: never;
@@ -4445,6 +5403,7 @@ declare const useManagedDataSource: (props: unknown) => {
4445
5403
  updatedAt: number;
4446
5404
  reducedAt: number;
4447
5405
  groupedAt: number;
5406
+ treeAt: number;
4448
5407
  sortedAt: number;
4449
5408
  filteredAt: number;
4450
5409
  generateGroupRows: never;
@@ -4453,14 +5412,17 @@ declare const useManagedDataSource: (props: unknown) => {
4453
5412
  postGroupDataArray?: never;
4454
5413
  pivotColumns?: never;
4455
5414
  pivotColumnGroups?: never;
5415
+ isTree: never;
4456
5416
  toPrimaryKey: (data: unknown) => any;
4457
5417
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4458
5418
  sortMode: never;
4459
5419
  filterMode: never;
4460
5420
  groupMode: never;
4461
5421
  pivotMode: never;
4462
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
5422
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4463
5423
  groupRowsState: GroupRowsState<unknown>;
5424
+ treeExpandState: TreeExpandState<any>;
5425
+ treeExpandMode: never;
4464
5426
  multiSort: never;
4465
5427
  controlledSort: never;
4466
5428
  controlledFilter: never;
@@ -4474,10 +5436,19 @@ declare const useManagedDataSource: (props: unknown) => {
4474
5436
  livePagination: never;
4475
5437
  refetchKey: never;
4476
5438
  isRowSelected: never;
5439
+ isNodeSelected: never;
5440
+ isNodeExpanded: never;
5441
+ isNodeCollapsed: never;
5442
+ onNodeCollapse: never;
5443
+ onNodeExpand: never;
4477
5444
  debugId: never;
5445
+ debugMode: never;
5446
+ nodesKey: string;
5447
+ treeSelection: never;
4478
5448
  batchOperationDelay: never;
4479
5449
  onDataArrayChange: never;
4480
5450
  onDataMutations: never;
5451
+ onTreeDataMutations: never;
4481
5452
  onReady: never;
4482
5453
  rowInfoReducers: never;
4483
5454
  lazyLoad: never;
@@ -4500,9 +5471,21 @@ declare const useManagedDataSource: (props: unknown) => {
4500
5471
  } & {
4501
5472
  indexer: Indexer<unknown, any>;
4502
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;
4503
5483
  destroyedRef: React$1.MutableRefObject<boolean>;
4504
5484
  idToIndexMap: Map<any, number>;
5485
+ idToPathMap: Map<any, NodePath$1<any>>;
5486
+ pathToIndexDeepMap: DeepMap<any, number>;
4505
5487
  detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
5488
+ treeSelectionState?: never;
4506
5489
  stateReadyAsDetails: never;
4507
5490
  cache?: never;
4508
5491
  unfilteredCount: number;
@@ -4512,10 +5495,11 @@ declare const useManagedDataSource: (props: unknown) => {
4512
5495
  originalDataArrayChangedInfo: {
4513
5496
  timestamp: number;
4514
5497
  mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
5498
+ treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
4515
5499
  };
4516
5500
  lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4517
5501
  pivotMappings?: never;
4518
- 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>>;
4519
5503
  showSeparatePivotColumnForSingleAggregation: never;
4520
5504
  dataParams?: never;
4521
5505
  originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
@@ -4529,8 +5513,11 @@ declare const useManagedDataSource: (props: unknown) => {
4529
5513
  lastFilterDataArray?: never;
4530
5514
  lastSortDataArray?: never;
4531
5515
  lastGroupDataArray?: never;
5516
+ lastTreeDataArray?: never;
4532
5517
  dataArray: InfiniteTableRowInfo<unknown>[];
4533
5518
  groupDeepMap?: never;
5519
+ treeDeepMap?: never;
5520
+ treePaths?: never;
4534
5521
  groupRowsIndexesInDataArray?: never;
4535
5522
  reducerResults?: never;
4536
5523
  allRowsSelected: never;
@@ -4541,6 +5528,7 @@ declare const useManagedDataSource: (props: unknown) => {
4541
5528
  updatedAt: number;
4542
5529
  reducedAt: number;
4543
5530
  groupedAt: number;
5531
+ treeAt: number;
4544
5532
  sortedAt: number;
4545
5533
  filteredAt: number;
4546
5534
  generateGroupRows: never;
@@ -4549,14 +5537,17 @@ declare const useManagedDataSource: (props: unknown) => {
4549
5537
  postGroupDataArray?: never;
4550
5538
  pivotColumns?: never;
4551
5539
  pivotColumnGroups?: never;
5540
+ isTree: never;
4552
5541
  toPrimaryKey: (data: unknown) => any;
4553
5542
  operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
4554
5543
  sortMode: never;
4555
5544
  filterMode: never;
4556
5545
  groupMode: never;
4557
5546
  pivotMode: never;
4558
- shouldReloadData: Required<DataSourcePropShouldReloadData<unknown>>;
5547
+ shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
4559
5548
  groupRowsState: GroupRowsState<unknown>;
5549
+ treeExpandState: TreeExpandState<any>;
5550
+ treeExpandMode: never;
4560
5551
  multiSort: never;
4561
5552
  controlledSort: never;
4562
5553
  controlledFilter: never;
@@ -4570,10 +5561,19 @@ declare const useManagedDataSource: (props: unknown) => {
4570
5561
  livePagination: never;
4571
5562
  refetchKey: never;
4572
5563
  isRowSelected: never;
5564
+ isNodeSelected: never;
5565
+ isNodeExpanded: never;
5566
+ isNodeCollapsed: never;
5567
+ onNodeCollapse: never;
5568
+ onNodeExpand: never;
4573
5569
  debugId: never;
5570
+ debugMode: never;
5571
+ nodesKey: string;
5572
+ treeSelection: never;
4574
5573
  batchOperationDelay: never;
4575
5574
  onDataArrayChange: never;
4576
5575
  onDataMutations: never;
5576
+ onTreeDataMutations: never;
4577
5577
  onReady: never;
4578
5578
  rowInfoReducers: never;
4579
5579
  lazyLoad: never;
@@ -4611,10 +5611,69 @@ declare type AggregationReducerResult<AggregationResultType extends any = any> =
4611
5611
  * you can use `isGroupRow: boolean` to discriminate between group rows vs normal rows.
4612
5612
  *
4613
5613
  */
4614
- 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>;
4615
5672
  declare type InfiniteTableRowInfoDataDiscriminator_RowInfoNormal<T> = {
4616
5673
  data: T;
4617
5674
  isGroupRow: false;
5675
+ isTreeNode: false;
5676
+ isParentNode: false;
4618
5677
  rowActive: boolean;
4619
5678
  rowDetailState: false | 'expanded' | 'collapsed';
4620
5679
  rowInfo: InfiniteTable_NoGrouping_RowInfoNormal<T> | InfiniteTable_HasGrouping_RowInfoNormal<T>;
@@ -4623,18 +5682,48 @@ declare type InfiniteTableRowInfoDataDiscriminator_RowInfoNormal<T> = {
4623
5682
  rawValue: any;
4624
5683
  rowSelected: boolean | null;
4625
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
+ };
4626
5713
  declare type InfiniteTableRowInfoDataDiscriminator_RowInfoGroup<T> = {
4627
5714
  rowActive: boolean;
4628
5715
  data: Partial<T> | null;
4629
5716
  rowInfo: InfiniteTable_HasGrouping_RowInfoGroup<T>;
4630
5717
  rowDetailState: false | 'expanded' | 'collapsed';
4631
5718
  isGroupRow: true;
5719
+ isTreeNode: false;
4632
5720
  field?: keyof T;
4633
5721
  value: any;
4634
5722
  rawValue: any;
4635
5723
  rowSelected: boolean | null;
4636
5724
  };
4637
- 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>;
4638
5727
  /**
4639
5728
  * This is the base row info for all scenarios - things every
4640
5729
  * rowInfo is guaranteed to have (be it group or normal row, or dataSource with or without grouping)
@@ -4651,14 +5740,17 @@ declare type InfiniteTable_RowInfoBase<_T> = {
4651
5740
  };
4652
5741
  declare type InfiniteTable_HasGrouping_RowInfoNormal<T> = {
4653
5742
  dataSourceHasGrouping: true;
5743
+ isTreeNode: false;
4654
5744
  data: T;
4655
5745
  isGroupRow: false;
4656
5746
  } & InfiniteTable_HasGrouping_RowInfoBase<T> & InfiniteTable_RowInfoBase<T>;
4657
5747
  declare type InfiniteTable_HasGrouping_RowInfoGroup<T> = {
4658
5748
  dataSourceHasGrouping: true;
5749
+ isTreeNode: false;
4659
5750
  data: Partial<T> | null;
4660
5751
  reducerData?: Partial<Record<keyof T, any>>;
4661
5752
  isGroupRow: true;
5753
+ duplicateOf?: InfiniteTable_HasGrouping_RowInfoGroup<T>['id'];
4662
5754
  /**
4663
5755
  * This array contains all the (uncollapsed, so visible) row infos under this group, at any level of nesting,
4664
5756
  * in the order in which they are visible in the table
@@ -4735,6 +5827,7 @@ declare type InfiniteTable_HasGrouping_RowInfoGroup<T> = {
4735
5827
  } & InfiniteTable_HasGrouping_RowInfoBase<T> & InfiniteTable_RowInfoBase<T>;
4736
5828
  declare type InfiniteTable_NoGrouping_RowInfoNormal<T> = {
4737
5829
  dataSourceHasGrouping: false;
5830
+ isTreeNode: false;
4738
5831
  data: T;
4739
5832
  isGroupRow: false;
4740
5833
  selfLoaded: boolean;
@@ -4828,12 +5921,27 @@ declare type InfiniteTable_HasGrouping_RowInfoBase<T> = {
4828
5921
  selfLoaded: boolean;
4829
5922
  };
4830
5923
  declare type GroupKeyType<T extends any = any> = T;
5924
+ declare type TreeKeyType<T extends any = any> = T;
4831
5925
  declare type PivotReducerResults<T = any> = Record<string, AggregationReducerResult<T>>;
4832
5926
  declare type PivotGroupValueType<DataType, KeyType> = {
4833
5927
  reducerResults: PivotReducerResults<KeyType>;
4834
5928
  items: DataType[];
4835
5929
  };
4836
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
+ };
4837
5945
  declare type DeepMapGroupValueType<DataType, KeyType> = {
4838
5946
  /**
4839
5947
  * These are leaf items. This array may be empty when there is batched lazy loading
@@ -4845,6 +5953,8 @@ declare type DeepMapGroupValueType<DataType, KeyType> = {
4845
5953
  totalChildrenCount?: number;
4846
5954
  cache: boolean;
4847
5955
  error?: string;
5956
+ isTree: false;
5957
+ isGroupBy: true;
4848
5958
  reducerResults: Record<string, AggregationReducerResult>;
4849
5959
  pivotDeepMap?: DeepMap<GroupKeyType<KeyType>, PivotGroupValueType<DataType, KeyType>>;
4850
5960
  };
@@ -4872,6 +5982,7 @@ declare type DataGroupResult<DataType, KeyType extends any> = {
4872
5982
  };
4873
5983
  declare function group<DataType, KeyType = any>(groupParams: GroupParams<DataType, KeyType>, data: DataType[]): DataGroupResult<DataType, KeyType>;
4874
5984
  declare function flatten<DataType, KeyType extends any>(groupResult: DataGroupResult<DataType, KeyType>): DataType[];
5985
+ declare type InfiniteTablePropRepeatWrappedGroupRows<T> = boolean | ((rowInfo: InfiniteTableRowInfo<T>) => boolean);
4875
5986
 
4876
5987
  declare type InfiniteCheckBoxPropChecked = true | false | null;
4877
5988
  declare type InfiniteCheckBoxProps = {
@@ -4913,6 +6024,7 @@ declare type OverlayParams = {
4913
6024
  };
4914
6025
  declare type ElementContainerGetter = (() => HTMLElement | string | Promise<HTMLElement | string>) | string | HTMLElement | Promise<HTMLElement | string>;
4915
6026
  declare type AdvancedAlignable = Alignable | ElementContainerGetter;
6027
+ declare function alignNode(node: HTMLDivElement, params: OverlayShowParams): Promise<void>;
4916
6028
  /**
4917
6029
  * If portal container is given, it will create a React portal from that element
4918
6030
  * otherwise it will simply render another node as portal
@@ -4926,7 +6038,10 @@ declare type OverlayShowParams = {
4926
6038
  alignPosition: AlignPositionOptions['alignPosition'];
4927
6039
  alignTo: AdvancedAlignable | PointCoords;
4928
6040
  };
4929
- 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;
4930
6045
  declare function useOverlay(params: OverlayParams): {
4931
6046
  portal: string | number | boolean | React$1.JSX.Element | Iterable<React$1.ReactNode> | null | undefined;
4932
6047
  hideOverlay: (id: string) => void;
@@ -5406,6 +6521,7 @@ declare type InfiniteTablePropKeyboardShorcut = {
5406
6521
  stopNext: boolean;
5407
6522
  } | Promise<any>;
5408
6523
  };
6524
+ declare type InfiniteTablePropDebugMode = boolean;
5409
6525
  interface InfiniteTableProps<T> {
5410
6526
  debugId?: string;
5411
6527
  columns: InfiniteTablePropColumns<T>;
@@ -5414,7 +6530,9 @@ interface InfiniteTableProps<T> {
5414
6530
  loadingText?: Renderable;
5415
6531
  components?: InfiniteTablePropComponents<T>;
5416
6532
  wrapRowsHorizontally?: boolean;
6533
+ debugMode?: InfiniteTablePropDebugMode;
5417
6534
  keyboardShortcuts?: InfiniteTablePropKeyboardShorcut[];
6535
+ repeatWrappedGroupRows?: InfiniteTablePropRepeatWrappedGroupRows<T>;
5418
6536
  viewportReservedWidth?: number;
5419
6537
  onViewportReservedWidthChange?: (viewportReservedWidth: number) => void;
5420
6538
  showColumnFilters?: boolean;
@@ -5643,11 +6761,28 @@ declare function debounce(fn: Function, { wait }: {
5643
6761
  wait: number;
5644
6762
  }): (...args: any[]) => void;
5645
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
+
5646
6780
  declare type DataSourceChildren<T> = React$1.ReactNode | ((values: DataSourceState<T>) => React$1.ReactNode);
5647
6781
 
5648
- declare function useDataSourceInternal<T>(props: Omit<DataSourceProps<T>, 'children'>): {
6782
+ declare function useDataSourceInternal<T, PROPS_TYPE = DataSourceProps<T>>(props: Omit<PROPS_TYPE, 'children'>): {
5649
6783
  DataSource: ({ children }: {
5650
6784
  children: DataSourceChildren<T>;
6785
+ nodesKey?: string | undefined;
5651
6786
  }) => React__default.JSX.Element;
5652
6787
  state: DataSourceState<T>;
5653
6788
  };
@@ -5789,4 +6924,4 @@ declare const components: {
5789
6924
  NumberFilterEditor: typeof NumberFilterEditor;
5790
6925
  };
5791
6926
 
5792
- 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 };