@infinite-table/infinite-vue 10.0.0 → 10.1.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 (4) hide show
  1. package/index.d.ts +244 -164
  2. package/index.js +5 -5
  3. package/index.mjs +5 -5
  4. package/package.json +3 -2
package/index.d.ts CHANGED
@@ -98,6 +98,53 @@ type ComponentStateGeneratedActions<T_STATE> = {
98
98
  };
99
99
  type ComponentStateActions<T_STATE> = ComponentStateGeneratedActions<T_STATE>;
100
100
 
101
+ type DebugLogger = {
102
+ (...args: any[]): void;
103
+ extend: (channelName: string) => DebugLogger;
104
+ color: (colorName: string, ...message: string[]) => [string, string];
105
+ enabled: boolean;
106
+ channel: string;
107
+ destroy: () => void;
108
+ logFn: undefined | ((...args: any[]) => void);
109
+ };
110
+
111
+ interface LogFn {
112
+ (...args: any[]): void;
113
+ extend: (channelName: string) => LogFn;
114
+ }
115
+ declare class Logger {
116
+ debug: LogFn;
117
+ error: LogFn;
118
+ constructor(channelName: string);
119
+ }
120
+
121
+ interface Size {
122
+ width: number;
123
+ height: number;
124
+ }
125
+
126
+ interface ScrollPosition {
127
+ scrollTop: number;
128
+ scrollLeft: number;
129
+ }
130
+ type OnScrollFn = (scrollPosition: ScrollPosition) => void;
131
+
132
+ type RenderRange = {
133
+ renderStartIndex: number;
134
+ renderEndIndex: number;
135
+ };
136
+
137
+ type VoidFn = () => void;
138
+
139
+ type SubscriptionCallbackOnChangeFn<T> = (node: T | null) => void;
140
+ interface SubscriptionCallback<T> {
141
+ (node: T, callback?: () => void): void;
142
+ get: () => T | null;
143
+ destroy: VoidFn;
144
+ onChange: (fn: SubscriptionCallbackOnChangeFn<T>) => VoidFn;
145
+ getListenersCount: () => number;
146
+ }
147
+
101
148
  type NodePath$1<PRIMARY_KEY_TYPE = any> = PRIMARY_KEY_TYPE[];
102
149
  type TreeExpandStateObject_ByPath<PRIMARY_KEY_TYPE = any> = {
103
150
  expandedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
@@ -224,53 +271,6 @@ type TreeDataSourceOnlyProps<T> = {
224
271
  type DataSourcePropsNotAvailableInTreeDataSource = keyof Pick<DataSourceProps<any>, 'groupBy' | 'defaultGroupBy' | 'nodesKey' | 'defaultGroupRowsState' | 'groupRowsState' | 'onGroupRowsStateChange' | 'onGroupByChange' | 'collapseGroupRowsOnDataFunctionChange' | 'livePagination' | 'onLivePaginationCursorChange' | 'filterFunction' | 'onPivotByChange' | 'pivotBy' | 'defaultPivotBy' | 'selectionMode' | 'rowSelection' | 'defaultRowSelection'>;
225
272
  type TreeDataSourceProps<T> = Omit<DataSourceProps<T>, DataSourcePropsNotAvailableInTreeDataSource> & TreeDataSourceOnlyProps<T>;
226
273
 
227
- type DebugLogger = {
228
- (...args: any[]): void;
229
- extend: (channelName: string) => DebugLogger;
230
- color: (colorName: string, ...message: string[]) => [string, string];
231
- enabled: boolean;
232
- channel: string;
233
- destroy: () => void;
234
- logFn: undefined | ((...args: any[]) => void);
235
- };
236
-
237
- interface LogFn {
238
- (...args: any[]): void;
239
- extend: (channelName: string) => LogFn;
240
- }
241
- declare class Logger {
242
- debug: LogFn;
243
- error: LogFn;
244
- constructor(channelName: string);
245
- }
246
-
247
- interface Size {
248
- width: number;
249
- height: number;
250
- }
251
-
252
- interface ScrollPosition {
253
- scrollTop: number;
254
- scrollLeft: number;
255
- }
256
- type OnScrollFn = (scrollPosition: ScrollPosition) => void;
257
-
258
- type RenderRange = {
259
- renderStartIndex: number;
260
- renderEndIndex: number;
261
- };
262
-
263
- type VoidFn = () => void;
264
-
265
- type SubscriptionCallbackOnChangeFn<T> = (node: T | null) => void;
266
- interface SubscriptionCallback<T> {
267
- (node: T, callback?: () => void): void;
268
- get: () => T | null;
269
- destroy: VoidFn;
270
- onChange: (fn: SubscriptionCallbackOnChangeFn<T>) => VoidFn;
271
- getListenersCount: () => number;
272
- }
273
-
274
274
  type DataSourceMutation<T> = {
275
275
  type: 'delete';
276
276
  primaryKey: any;
@@ -1594,21 +1594,180 @@ declare class RowSelectionState<T = any> {
1594
1594
  };
1595
1595
  }
1596
1596
 
1597
+ type NodePath = any[];
1598
+ type TreeSelectionStateObject = {
1599
+ selectedPaths: NodePath;
1600
+ deselectedPaths: NodePath;
1601
+ defaultSelection: boolean;
1602
+ } | {
1603
+ defaultSelection: true;
1604
+ deselectedPaths: NodePath;
1605
+ selectedPaths?: NodePath;
1606
+ } | {
1607
+ defaultSelection: false;
1608
+ selectedPaths: NodePath;
1609
+ deselectedPaths?: NodePath;
1610
+ };
1611
+ type TreeSelectionStateConfigObject = {
1612
+ treePaths: DeepMap<any, true>;
1613
+ strictCheckPaths: boolean;
1614
+ multiRowSelectionTarget?: DataSourcePropMultiRowSelectionTarget;
1615
+ unfilteredTreePaths?: DeepMap<any, true>;
1616
+ };
1617
+ type TreeSelectionStateConfigParam<_T = any> = {
1618
+ /**
1619
+ * The paths the selection counts and acts on
1620
+ */
1621
+ treePaths: TreeSelectionStateConfigObject['treePaths'] | any[][];
1622
+ /**
1623
+ * Defaults to true. If false, when checking if a given path is selected,
1624
+ * it will not check if the path is in the treePaths, but will only check
1625
+ * in the selectionMap.
1626
+ *
1627
+ * If true, will check for the path both in the treePaths and the selectionMap.
1628
+ */
1629
+ strictCheckPaths?: boolean;
1630
+ /**
1631
+ * When `'visible'`, `treePaths` should only contain the paths that pass the filter,
1632
+ * and `unfilteredTreePaths` all the paths, so the selection
1633
+ * of the nodes that are filtered out is never changed.
1634
+ */
1635
+ multiRowSelectionTarget?: DataSourcePropMultiRowSelectionTarget;
1636
+ unfilteredTreePaths?: TreeSelectionStateConfigObject['treePaths'] | any[][];
1637
+ };
1638
+ type GetTreeSelectionStateConfig<T> = TreeSelectionStateConfigParam<T> | (() => TreeSelectionStateConfigParam<T>);
1639
+ type NodeSelectionState = {
1640
+ selected: boolean | null;
1641
+ selectedCount: number;
1642
+ deselectedCount: number;
1643
+ leafCount: number;
1644
+ };
1645
+ declare class TreeSelectionState<T = any> {
1646
+ selectedPaths: NodePath[] | null;
1647
+ deselectedPaths: NodePath[] | null;
1648
+ defaultSelection: boolean;
1649
+ selectionMap: DeepMap<NodePath, boolean>;
1650
+ cache: DeepMap<NodePath, NodeSelectionState>;
1651
+ getConfig: GetTreeSelectionStateConfig<T>;
1652
+ config: TreeSelectionStateConfigObject;
1653
+ getTreePaths(treePaths?: TreeSelectionStateConfigParam['treePaths']): DeepMap<any, true>;
1654
+ withTreePaths<T>(fn: (treePaths: TreeSelectionStateConfigObject['treePaths']) => T, treePaths?: TreeSelectionStateConfigParam['treePaths']): T;
1655
+ getLeafNodePaths(rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): any[][];
1656
+ forEachLeafNodePath(fn: (nodePath: NodePath, { selected }: {
1657
+ selected: boolean;
1658
+ }) => void, rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): void;
1659
+ getSelectedLeafNodePaths(rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): NodePath[];
1660
+ getDeselectedLeafNodePaths(rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): NodePath[];
1661
+ isLeafNode(nodePath: NodePath): boolean | null;
1662
+ getLeafNodesCount(nodePath: NodePath): number;
1663
+ static from<T>(treeSelectionState: TreeSelectionStateObject, getConfig: GetTreeSelectionStateConfig<T>): TreeSelectionState<T>;
1664
+ constructor(state: TreeSelectionStateObject | TreeSelectionState, getConfig?: GetTreeSelectionStateConfig<T>);
1665
+ setConfig(getConfig: GetTreeSelectionStateConfig<T>): void;
1666
+ private hasFilteredOutLeavesInside;
1667
+ /**
1668
+ * Sets the selection of each visible leaf node inside the node, by its path,
1669
+ * so the leaf nodes that are filtered out keep their selection
1670
+ */
1671
+ private setVisibleLeafNodesSelection;
1672
+ private xcache;
1673
+ private update;
1674
+ private setSelectionForPath;
1675
+ getState(): TreeSelectionStateObject;
1676
+ deselectAll(): void;
1677
+ selectAll(): void;
1678
+ private strictMode;
1679
+ enableStrictMode(): void;
1680
+ disableStrictMode(): void;
1681
+ isPathAvailable(nodePath: NodePath): boolean;
1682
+ isNodeSelected(nodePath: NodePath): boolean | null;
1683
+ private isSelfSelected;
1684
+ private cacheIt;
1685
+ private getSelectionStateForNode;
1686
+ private isPathSelected;
1687
+ private getNodeBooleanSelectionStateFromParent;
1688
+ setNodeSelection(nodePath: NodePath, selected: boolean): void;
1689
+ selectNode(nodePath: NodePath): void;
1690
+ deselectNode(nodePath: any[]): void;
1691
+ toggleNodeSelection(nodePath: NodePath): void;
1692
+ getSelectedCount(): number;
1693
+ getDeselectedCount(): number;
1694
+ getSelectionCountFor(nodePath?: NodePath): {
1695
+ selectedCount: number;
1696
+ deselectedCount: number;
1697
+ };
1698
+ destroy(): void;
1699
+ }
1700
+
1701
+ type MultiRowSelectorRow = {
1702
+ id: any;
1703
+ isGroupRow: boolean;
1704
+ /**
1705
+ * For group rows, the keys of the group (including its own key).
1706
+ * For other rows in a grouped datasource, the keys of the parent groups.
1707
+ */
1708
+ groupKeys?: any[];
1709
+ collapsed?: boolean;
1710
+ rowDisabled?: boolean;
1711
+ /**
1712
+ * False for rows of a lazy datasource that are not loaded yet.
1713
+ */
1714
+ selfLoaded?: boolean;
1715
+ /**
1716
+ * For tree nodes, the path of the node (including its own key).
1717
+ */
1718
+ nodePath?: any[];
1719
+ isParentNode?: boolean;
1720
+ nodeExpanded?: boolean;
1721
+ };
1597
1722
  type MultiRowSelectorOptions = {
1598
- getIdForIndex: (index: number) => string | number;
1599
- isRowDisabledAt: (index: number) => boolean;
1723
+ getRowAt: (index: number) => MultiRowSelectorRow | null | undefined;
1724
+ /**
1725
+ * For tree nodes - whether the node can be selected.
1726
+ */
1727
+ isNodeSelectable?: (row: MultiRowSelectorRow) => boolean;
1600
1728
  };
1729
+ /**
1730
+ * Applies click, cmd/ctrl+click and shift+click selection to a RowSelectionState,
1731
+ * or to a TreeSelectionState for tree data - where parent nodes work like group rows.
1732
+ *
1733
+ * A range (shift+click) covers the rows displayed from the anchor to the clicked row: normal rows
1734
+ * and collapsed group rows (as a whole) are selected, while an expanded group row with its
1735
+ * children displayed follows them, so only its rows inside the range are selected. The anchor row
1736
+ * keeps what its own click selected - a group row anchor stays selected as a whole.
1737
+ */
1601
1738
  declare class MultiRowSelector {
1602
- getIdForIndex: MultiRowSelectorOptions['getIdForIndex'];
1603
- isRowDisabledAt: MultiRowSelectorOptions['isRowDisabledAt'];
1739
+ getRowAt: MultiRowSelectorOptions['getRowAt'];
1604
1740
  multiSelectStartIndex: number;
1605
1741
  multiSelectEndIndex?: number;
1742
+ /**
1743
+ * Checkbox changes don't carry the modifier keys, so the last cell pointer down
1744
+ * is kept to find out if shift was pressed when a selection checkbox was clicked.
1745
+ */
1746
+ lastPointerDown?: {
1747
+ rowIndex: number;
1748
+ shiftKey: boolean;
1749
+ };
1750
+ isNodeSelectable: NonNullable<MultiRowSelectorOptions['isNodeSelectable']>;
1606
1751
  _rowSelectionState: RowSelectionState;
1752
+ _treeSelectionState?: TreeSelectionState;
1607
1753
  constructor(options: MultiRowSelectorOptions);
1608
1754
  set rowSelectionState(rowSelectionState: RowSelectionState);
1609
1755
  get rowSelectionState(): RowSelectionState;
1610
- private selectRange;
1611
- private deselectRange;
1756
+ set treeSelectionState(treeSelectionState: TreeSelectionState | undefined);
1757
+ get treeSelectionState(): TreeSelectionState | undefined;
1758
+ private deselectAll;
1759
+ private isContainerRow;
1760
+ private isExpanded;
1761
+ private getPath;
1762
+ private getGroupKeys;
1763
+ private setSelectedAt;
1764
+ isSelectedAt(index: number): boolean | null;
1765
+ private setRangeSelected;
1766
+ /**
1767
+ * Pivot group rows, lazy groups whose children are not loaded and parent nodes without children
1768
+ * are expanded without any children displayed - those are selected as a whole.
1769
+ */
1770
+ private isFollowedByItsChildren;
1612
1771
  /**
1613
1772
  * This is the single click, without any modifier
1614
1773
  */
@@ -1618,6 +1777,11 @@ declare class MultiRowSelector {
1618
1777
  * @param index
1619
1778
  */
1620
1779
  singleAddClick(index: number): void;
1780
+ /**
1781
+ * This is the click with shift key pressed - selects the range from the anchor
1782
+ * (the last click or cmd/ctrl+click) to the given index,
1783
+ * replacing the range selected by the previous shift+click from the same anchor.
1784
+ */
1621
1785
  multiSelectClick(index: number): void;
1622
1786
  }
1623
1787
 
@@ -1883,110 +2047,6 @@ type NestedMultiSortOptions<T> = {
1883
2047
  };
1884
2048
  declare const multisortNested: <T>(sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], options: NestedMultiSortOptions<T>) => T[];
1885
2049
 
1886
- type NodePath = any[];
1887
- type TreeSelectionStateObject = {
1888
- selectedPaths: NodePath;
1889
- deselectedPaths: NodePath;
1890
- defaultSelection: boolean;
1891
- } | {
1892
- defaultSelection: true;
1893
- deselectedPaths: NodePath;
1894
- selectedPaths?: NodePath;
1895
- } | {
1896
- defaultSelection: false;
1897
- selectedPaths: NodePath;
1898
- deselectedPaths?: NodePath;
1899
- };
1900
- type TreeSelectionStateConfigObject = {
1901
- treePaths: DeepMap<any, true>;
1902
- strictCheckPaths: boolean;
1903
- multiRowSelectionTarget?: DataSourcePropMultiRowSelectionTarget;
1904
- unfilteredTreePaths?: DeepMap<any, true>;
1905
- };
1906
- type TreeSelectionStateConfigParam<_T = any> = {
1907
- /**
1908
- * The paths the selection counts and acts on
1909
- */
1910
- treePaths: TreeSelectionStateConfigObject['treePaths'] | any[][];
1911
- /**
1912
- * Defaults to true. If false, when checking if a given path is selected,
1913
- * it will not check if the path is in the treePaths, but will only check
1914
- * in the selectionMap.
1915
- *
1916
- * If true, will check for the path both in the treePaths and the selectionMap.
1917
- */
1918
- strictCheckPaths?: boolean;
1919
- /**
1920
- * When `'visible'`, `treePaths` should only contain the paths that pass the filter,
1921
- * and `unfilteredTreePaths` all the paths, so the selection
1922
- * of the nodes that are filtered out is never changed.
1923
- */
1924
- multiRowSelectionTarget?: DataSourcePropMultiRowSelectionTarget;
1925
- unfilteredTreePaths?: TreeSelectionStateConfigObject['treePaths'] | any[][];
1926
- };
1927
- type GetTreeSelectionStateConfig<T> = TreeSelectionStateConfigParam<T> | (() => TreeSelectionStateConfigParam<T>);
1928
- type NodeSelectionState = {
1929
- selected: boolean | null;
1930
- selectedCount: number;
1931
- deselectedCount: number;
1932
- leafCount: number;
1933
- };
1934
- declare class TreeSelectionState<T = any> {
1935
- selectedPaths: NodePath[] | null;
1936
- deselectedPaths: NodePath[] | null;
1937
- defaultSelection: boolean;
1938
- selectionMap: DeepMap<NodePath, boolean>;
1939
- cache: DeepMap<NodePath, NodeSelectionState>;
1940
- getConfig: GetTreeSelectionStateConfig<T>;
1941
- config: TreeSelectionStateConfigObject;
1942
- getTreePaths(treePaths?: TreeSelectionStateConfigParam['treePaths']): DeepMap<any, true>;
1943
- withTreePaths<T>(fn: (treePaths: TreeSelectionStateConfigObject['treePaths']) => T, treePaths?: TreeSelectionStateConfigParam['treePaths']): T;
1944
- getLeafNodePaths(rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): any[][];
1945
- forEachLeafNodePath(fn: (nodePath: NodePath, { selected }: {
1946
- selected: boolean;
1947
- }) => void, rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): void;
1948
- getSelectedLeafNodePaths(rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): NodePath[];
1949
- getDeselectedLeafNodePaths(rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): NodePath[];
1950
- isLeafNode(nodePath: NodePath): boolean | null;
1951
- getLeafNodesCount(nodePath: NodePath): number;
1952
- static from<T>(treeSelectionState: TreeSelectionStateObject, getConfig: GetTreeSelectionStateConfig<T>): TreeSelectionState<T>;
1953
- constructor(state: TreeSelectionStateObject | TreeSelectionState, getConfig?: GetTreeSelectionStateConfig<T>);
1954
- setConfig(getConfig: GetTreeSelectionStateConfig<T>): void;
1955
- private hasFilteredOutLeavesInside;
1956
- /**
1957
- * Sets the selection of each visible leaf node inside the node, by its path,
1958
- * so the leaf nodes that are filtered out keep their selection
1959
- */
1960
- private setVisibleLeafNodesSelection;
1961
- private xcache;
1962
- private update;
1963
- private setSelectionForPath;
1964
- getState(): TreeSelectionStateObject;
1965
- deselectAll(): void;
1966
- selectAll(): void;
1967
- private strictMode;
1968
- enableStrictMode(): void;
1969
- disableStrictMode(): void;
1970
- isPathAvailable(nodePath: NodePath): boolean;
1971
- isNodeSelected(nodePath: NodePath): boolean | null;
1972
- private isSelfSelected;
1973
- private cacheIt;
1974
- private getSelectionStateForNode;
1975
- private isPathSelected;
1976
- private getNodeBooleanSelectionStateFromParent;
1977
- setNodeSelection(nodePath: NodePath, selected: boolean): void;
1978
- selectNode(nodePath: NodePath): void;
1979
- deselectNode(nodePath: any[]): void;
1980
- toggleNodeSelection(nodePath: NodePath): void;
1981
- getSelectedCount(): number;
1982
- getDeselectedCount(): number;
1983
- getSelectionCountFor(nodePath?: NodePath): {
1984
- selectedCount: number;
1985
- deselectedCount: number;
1986
- };
1987
- destroy(): void;
1988
- }
1989
-
1990
2050
  type InfiniteTableEventHandlerContext<T> = {
1991
2051
  getComputed: () => InfiniteTableComputedValues<T>;
1992
2052
  getState: () => InfiniteTableState<T>;
@@ -2549,6 +2609,7 @@ interface InfiniteTableProps<T> {
2549
2609
  multiSortBehavior?: InfiniteTablePropMultiSortBehavior;
2550
2610
  keyboardNavigation?: InfiniteTablePropKeyboardNavigation;
2551
2611
  keyboardSelection?: InfiniteTablePropKeyboardSelection;
2612
+ multiRowSelectionWith?: InfiniteTablePropMultiRowSelectionWith;
2552
2613
  defaultActiveRowIndex?: number | null;
2553
2614
  activeRowIndex?: number | null;
2554
2615
  onActiveRowIndexChange?: (activeRowIndex: number) => void;
@@ -2647,6 +2708,16 @@ type InfiniteTablePropGetFilterOperatorMenuItems<T> = (defaultItems: Exclude<Men
2647
2708
  }) => MenuProps['items'];
2648
2709
  type InfiniteTablePropKeyboardNavigation = 'cell' | 'row' | false;
2649
2710
  type InfiniteTablePropKeyboardSelection = boolean;
2711
+ /**
2712
+ * How users select rows with multi-row selection:
2713
+ *
2714
+ * - `'checkbox'` (the default) - while a visible column shows a selection checkbox, rows are
2715
+ * selected with the checkboxes (and the spacebar); clicking a row doesn't select it.
2716
+ * Without a visible selection checkbox, it works like `'click'`.
2717
+ * - `'click'` - clicking a row selects it (with `cmd`/`ctrl` and `shift` as modifiers),
2718
+ * and the selection checkboxes, if any, work too.
2719
+ */
2720
+ type InfiniteTablePropMultiRowSelectionWith = 'click' | 'checkbox';
2650
2721
  type InfiniteTablePropHeaderOptions = {
2651
2722
  alwaysReserveSpaceForSortIcon: boolean;
2652
2723
  };
@@ -3331,6 +3402,7 @@ interface InfiniteTableMappedState<T> {
3331
3402
  hideEmptyGroupColumns: NonUndefined<InfiniteTableProps<T>['hideEmptyGroupColumns']>;
3332
3403
  hideColumnWhenGrouped: NonUndefined<InfiniteTableProps<T>['hideColumnWhenGrouped']>;
3333
3404
  keyboardSelection: NonUndefined<InfiniteTableProps<T>['keyboardSelection']>;
3405
+ multiRowSelectionWith: NonUndefined<InfiniteTableProps<T>['multiRowSelectionWith']>;
3334
3406
  columnOrder: NonUndefined<InfiniteTableProps<T>['columnOrder']>;
3335
3407
  showZebraRows: NonUndefined<InfiniteTableProps<T>['showZebraRows']>;
3336
3408
  showHoverRows: NonUndefined<InfiniteTableProps<T>['showHoverRows']>;
@@ -4239,9 +4311,13 @@ interface DataSourceSetupState<T> {
4239
4311
  mutations?: Map<string, DataSourceMutation<T>[]>;
4240
4312
  treeMutations?: DeepMap<any, DataSourceMutation<T>[]>;
4241
4313
  };
4242
- lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
4314
+ /**
4315
+ * A failed batch stays in the cache as `'failed'` until the render range
4316
+ * changes - see `releaseFailedLazyBatches`.
4317
+ */
4318
+ lazyLoadCacheOfLoadedBatches: DeepMap<string, true | 'failed'>;
4243
4319
  pivotMappings?: DataSourceMappings;
4244
- propsCache: Map<keyof DataSourceProps<T>, WeakMap<any, any>>;
4320
+ propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
4245
4321
  showSeparatePivotColumnForSingleAggregation: boolean;
4246
4322
  dataParams?: DataSourceDataParams<T>;
4247
4323
  originalLazyGroupData: LazyGroupDataDeepMap<T>;
@@ -4662,6 +4738,7 @@ declare const DataSource: vue.DefineComponent<{
4662
4738
  groupBy?: any;
4663
4739
  pivotBy?: any;
4664
4740
  multiRowSelectionTarget?: any;
4741
+ isNodeSelectable?: any;
4665
4742
  rowSelection?: any;
4666
4743
  debugId?: any;
4667
4744
  shouldReloadData?: any;
@@ -4680,7 +4757,6 @@ declare const DataSource: vue.DefineComponent<{
4680
4757
  isNodeExpanded?: any;
4681
4758
  isNodeCollapsed?: any;
4682
4759
  isNodeReadOnly?: any;
4683
- isNodeSelectable?: any;
4684
4760
  onNodeCollapse?: any;
4685
4761
  onNodeExpand?: any;
4686
4762
  treeSelection?: any;
@@ -4738,6 +4814,7 @@ declare const DataSource: vue.DefineComponent<{
4738
4814
  groupBy?: any;
4739
4815
  pivotBy?: any;
4740
4816
  multiRowSelectionTarget?: any;
4817
+ isNodeSelectable?: any;
4741
4818
  rowSelection?: any;
4742
4819
  debugId?: any;
4743
4820
  shouldReloadData?: any;
@@ -4756,7 +4833,6 @@ declare const DataSource: vue.DefineComponent<{
4756
4833
  isNodeExpanded?: any;
4757
4834
  isNodeCollapsed?: any;
4758
4835
  isNodeReadOnly?: any;
4759
- isNodeSelectable?: any;
4760
4836
  onNodeCollapse?: any;
4761
4837
  onNodeExpand?: any;
4762
4838
  treeSelection?: any;
@@ -4853,6 +4929,7 @@ declare const InfiniteTable: vue.DefineComponent<{
4853
4929
  activeCellIndex?: any;
4854
4930
  keyboardNavigation?: any;
4855
4931
  keyboardSelection?: any;
4932
+ multiRowSelectionWith?: any;
4856
4933
  pivotColumn?: any;
4857
4934
  scrollTopKey?: any;
4858
4935
  multiSortBehavior?: any;
@@ -4984,6 +5061,7 @@ declare const InfiniteTable: vue.DefineComponent<{
4984
5061
  activeCellIndex?: any;
4985
5062
  keyboardNavigation?: any;
4986
5063
  keyboardSelection?: any;
5064
+ multiRowSelectionWith?: any;
4987
5065
  pivotColumn?: any;
4988
5066
  scrollTopKey?: any;
4989
5067
  multiSortBehavior?: any;
@@ -5316,6 +5394,7 @@ declare const TreeGrid: vue.DefineComponent<{
5316
5394
  activeCellIndex?: any;
5317
5395
  keyboardNavigation?: any;
5318
5396
  keyboardSelection?: any;
5397
+ multiRowSelectionWith?: any;
5319
5398
  pivotColumn?: any;
5320
5399
  scrollTopKey?: any;
5321
5400
  multiSortBehavior?: any;
@@ -5447,6 +5526,7 @@ declare const TreeGrid: vue.DefineComponent<{
5447
5526
  activeCellIndex?: any;
5448
5527
  keyboardNavigation?: any;
5449
5528
  keyboardSelection?: any;
5529
+ multiRowSelectionWith?: any;
5450
5530
  pivotColumn?: any;
5451
5531
  scrollTopKey?: any;
5452
5532
  multiSortBehavior?: any;
@@ -5558,6 +5638,7 @@ declare const TreeDataSource: vue.DefineComponent<{
5558
5638
  groupBy?: any;
5559
5639
  pivotBy?: any;
5560
5640
  multiRowSelectionTarget?: any;
5641
+ isNodeSelectable?: any;
5561
5642
  rowSelection?: any;
5562
5643
  debugId?: any;
5563
5644
  shouldReloadData?: any;
@@ -5576,7 +5657,6 @@ declare const TreeDataSource: vue.DefineComponent<{
5576
5657
  isNodeExpanded?: any;
5577
5658
  isNodeCollapsed?: any;
5578
5659
  isNodeReadOnly?: any;
5579
- isNodeSelectable?: any;
5580
5660
  onNodeCollapse?: any;
5581
5661
  onNodeExpand?: any;
5582
5662
  treeSelection?: any;
@@ -5634,6 +5714,7 @@ declare const TreeDataSource: vue.DefineComponent<{
5634
5714
  groupBy?: any;
5635
5715
  pivotBy?: any;
5636
5716
  multiRowSelectionTarget?: any;
5717
+ isNodeSelectable?: any;
5637
5718
  rowSelection?: any;
5638
5719
  debugId?: any;
5639
5720
  shouldReloadData?: any;
@@ -5652,7 +5733,6 @@ declare const TreeDataSource: vue.DefineComponent<{
5652
5733
  isNodeExpanded?: any;
5653
5734
  isNodeCollapsed?: any;
5654
5735
  isNodeReadOnly?: any;
5655
- isNodeSelectable?: any;
5656
5736
  onNodeCollapse?: any;
5657
5737
  onNodeExpand?: any;
5658
5738
  treeSelection?: any;
@@ -5941,4 +6021,4 @@ declare const components: {
5941
6021
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
5942
6022
  };
5943
6023
 
5944
- export { CellSelectionState, type CellSelectionStateObject, type ColumnTypeWithInherit, DataSource, type DataSourceAction, DataSourceActionType, type DataSourceAggregationReducer, type DataSourceApi, type DataSourceCRUDParam, type DataSourceCallback_BaseParam, type DataSourceComponentActions, type DataSourceContextValue, type DataSourceData, type DataSourceDataFn, type DataSourceDataParams, type DataSourceDataParamsChanges, type DataSourceDebugWarningKey, type DataSourceDerivedState, type DataSourceFilterFunctionParam, type DataSourceFilterOperator, type DataSourceFilterOperatorFunction, type DataSourceFilterOperatorFunctionParam, type DataSourceFilterRowParam, type DataSourceFilterType, type DataSourceFilterValueItem, type DataSourceFilterValueItemValueGetter, type DataSourceGroupBy, type DataSourceGroupRowsList, DataSourceInjectionKeyForVue, type DataSourceInsertParam, type DataSourceLivePaginationCursorFn, type DataSourceLivePaginationCursorParams, type DataSourceLivePaginationCursorValue, type DataSourceMappedState, type DataSourceMappings, type DataSourceMasterDetailContextValue, type DataSourcePivotBy, type DataSourcePropAggregationReducers, type DataSourcePropCellSelection, type DataSourcePropCellSelection_MultiCell, type DataSourcePropCellSelection_SingleCell, type DataSourcePropFilterFunction, type DataSourcePropFilterTypes, type DataSourcePropFilterValue, type DataSourcePropGroupBy, type DataSourcePropGroupRowsState, type DataSourcePropGroupRowsStateObject, type DataSourcePropIsNodeExpanded, type DataSourcePropIsNodeReadOnly, type DataSourcePropIsNodeSelectable, type DataSourcePropIsNodeSelected, type DataSourcePropIsRowSelected, type DataSourcePropLivePaginationCursor, type DataSourcePropMultiRowSelectionChangeParamType, type DataSourcePropMultiRowSelectionTarget, type DataSourcePropOnCellSelectionChange, type DataSourcePropOnCellSelectionChange_MultiCell, type DataSourcePropOnCellSelectionChange_SingleCell, type DataSourcePropOnRowSelectionChange, type DataSourcePropOnRowSelectionChange_MultiRow, type DataSourcePropOnRowSelectionChange_SingleRow, type DataSourcePropOnTreeSelectionChange, type DataSourcePropOnTreeSelectionChange_MultiNode, type DataSourcePropOnTreeSelectionChange_SingleNode, type DataSourcePropPivotBy, type DataSourcePropRowInfoReducers, type DataSourcePropRowSelection, type DataSourcePropRowSelection_MultiRow, type DataSourcePropRowSelection_SingleRow, type DataSourcePropSelectionMode, type DataSourcePropShouldReloadData, type DataSourcePropShouldReloadDataObject, type DataSourcePropSortFn, type DataSourcePropSortInfo, type DataSourcePropSortTypes, type DataSourcePropTreeFilterFunction, type DataSourcePropTreeSelection, type DataSourcePropTreeSelection_MultiNode, type DataSourcePropTreeSelection_SingleNode, type DataSourceProps, type DataSourcePropsWithChildren, type DataSourceRawReducer, type DataSourceRemoteData, type DataSourceRowInfoReducer, type DataSourceSetupState, type DataSourceSingleSortInfo, type DataSourceSortInfo, type DataSourceStableContextValue, type DataSourceState, type DataSourceTreeFilterFunctionParam, type DataSourceUpdateParam, type DebugTimingKey, type DebugWarningPayload, DeepMap, type DevToolsDataSourceOverrides, type DevToolsGenericMessage, type DevToolsHookFn, type DevToolsHookFnOptions, type DevToolsHostPageLogMessage, type DevToolsHostPageLogMessagePayload, type DevToolsHostPageMessage, type DevToolsHostPageMessagePayload, type DevToolsHostPageMessageType, type DevToolsInfiniteOverrides, type DevToolsMessageAddress, type DevToolsOverrides, type ErrorCodeKey, FlashingColumnCell, GroupRowsState, type InfiniteColumnEditorContextType, InfiniteTable, type InfiniteTableAction, InfiniteTableActionType, type InfiniteTableApi, type InfiniteTableCellSelectionApi, InfiniteTableClassName, type InfiniteTableColumn, type InfiniteTableColumnAggregator, type InfiniteTableColumnApi, type InfiniteTableColumnCellContextType, type InfiniteTableColumnComparer, type InfiniteTableColumnGroup, type InfiniteTableColumnRenderFunctionForGroupRows, type InfiniteTableColumnRenderFunctionForNormalRows, type InfiniteTableColumnRenderValueParam, type InfiniteTableColumnRowspanParam, type InfiniteTableColumnSizingOptions, type InfiniteTableColumnValueFormatterParams, type InfiniteTableColumnValueGetterParams, type InfiniteTableComputedColumn, type InfiniteTableComputedValues, type InfiniteTableContextValue, type InfiniteTableDebugWarningKey, InfiniteTableDetailRow, type InfiniteTableGroupColumnBase, type InfiniteTableGroupColumnFunction, type InfiniteTableGroupColumnGetterOptions, InfiniteTableInjectionKeyForVue, type InfiniteTableKeyboardNavigationApi, type InfiniteTablePivotColumn, type InfiniteTablePropAutoSizeColumnsKey, type InfiniteTablePropColumnGroupVisibility, type InfiniteTablePropColumnGroups, type InfiniteTablePropColumnOrder, type InfiniteTablePropColumnPinning, type InfiniteTablePropColumnSizing, type InfiniteTablePropColumnTypes, type InfiniteTablePropColumnVisibility, type InfiniteTablePropColumns, type InfiniteTablePropComponents, type InfiniteTablePropGetCellContextMenuItems, type InfiniteTablePropGetColumnMenuItems, type InfiniteTablePropGetContextMenuItems, type InfiniteTablePropGroupColumn, type InfiniteTablePropGroupRenderStrategy, type InfiniteTablePropHeaderOptions, type InfiniteTablePropKeyboardNavigation, type InfiniteTablePropKeyboardShorcut, type InfiniteTablePropMultiSortBehavior, type InfiniteTablePropRepaintCellsKey, type InfiniteTablePropRepaintCellsKeyFn, type InfiniteTablePropRepaintCellsKeyFnParams, type InfiniteTablePropRowClassName, type InfiniteTablePropRowStyle, type InfiniteTableProps, type InfiniteTableRowClassNameFn, type InfiniteTableRowDetailApi, type InfiniteTableRowInfo, type InfiniteTableRowSelectionApi, type InfiniteTableRowStyleFn, type InfiniteTableState, type InfiniteTable_HasGrouping_RowInfoGroup, type InfiniteTable_HasGrouping_RowInfoNormal, type InfiniteTable_Tree_RowInfoLeafNode, type InfiniteTable_Tree_RowInfoNode, type InfiniteTable_Tree_RowInfoParentNode, type LazyGroupDataDeepMap, type LazyGroupDataItem, type LazyRowInfoGroup, Menu, NumberFilterEditor, RowDetailCache, RowDetailState, type RowDetailStateObject, type RowDisabledStateObject, RowSelectionState, type ScrollStopInfo, type Scrollbars, StringFilterEditor, type TableRenderRange, TreeDataSource, TreeExpandState, type TreeExpandStateValue, TreeGrid, TreeSelectionState, type TreeSelectionStateObject, type TreeSelectionValue, type UpdateChildrenFn, type WaitForNodeOptions, components, createFlashingColumnCellComponent, debounce, defaultFilterFunction, defaultFilterTypes, defaultTreeFilterFunction, flatten, group, keyboardShortcuts, multisort, multisortNested, toTreeDataArray, useDataSourceContext, useGetMasterDetailContextForVue, useInfiniteColumnCell, useInfiniteColumnEditor, useInfiniteColumnFilterEditor, useInfiniteHeaderCell, useInfiniteTableContext, useOverlay, withSelectedLeafNodesOnly };
6024
+ export { CellSelectionState, type CellSelectionStateObject, type ColumnTypeWithInherit, DataSource, type DataSourceAction, DataSourceActionType, type DataSourceAggregationReducer, type DataSourceApi, type DataSourceCRUDParam, type DataSourceCallback_BaseParam, type DataSourceComponentActions, type DataSourceContextValue, type DataSourceData, type DataSourceDataFn, type DataSourceDataParams, type DataSourceDataParamsChanges, type DataSourceDebugWarningKey, type DataSourceDerivedState, type DataSourceFilterFunctionParam, type DataSourceFilterOperator, type DataSourceFilterOperatorFunction, type DataSourceFilterOperatorFunctionParam, type DataSourceFilterRowParam, type DataSourceFilterType, type DataSourceFilterValueItem, type DataSourceFilterValueItemValueGetter, type DataSourceGroupBy, type DataSourceGroupRowsList, DataSourceInjectionKeyForVue, type DataSourceInsertParam, type DataSourceLivePaginationCursorFn, type DataSourceLivePaginationCursorParams, type DataSourceLivePaginationCursorValue, type DataSourceMappedState, type DataSourceMappings, type DataSourceMasterDetailContextValue, type DataSourcePivotBy, type DataSourcePropAggregationReducers, type DataSourcePropCellSelection, type DataSourcePropCellSelection_MultiCell, type DataSourcePropCellSelection_SingleCell, type DataSourcePropFilterFunction, type DataSourcePropFilterTypes, type DataSourcePropFilterValue, type DataSourcePropGroupBy, type DataSourcePropGroupRowsState, type DataSourcePropGroupRowsStateObject, type DataSourcePropIsNodeExpanded, type DataSourcePropIsNodeReadOnly, type DataSourcePropIsNodeSelectable, type DataSourcePropIsNodeSelected, type DataSourcePropIsRowSelected, type DataSourcePropLivePaginationCursor, type DataSourcePropMultiRowSelectionChangeParamType, type DataSourcePropMultiRowSelectionTarget, type DataSourcePropOnCellSelectionChange, type DataSourcePropOnCellSelectionChange_MultiCell, type DataSourcePropOnCellSelectionChange_SingleCell, type DataSourcePropOnRowSelectionChange, type DataSourcePropOnRowSelectionChange_MultiRow, type DataSourcePropOnRowSelectionChange_SingleRow, type DataSourcePropOnTreeSelectionChange, type DataSourcePropOnTreeSelectionChange_MultiNode, type DataSourcePropOnTreeSelectionChange_SingleNode, type DataSourcePropPivotBy, type DataSourcePropRowInfoReducers, type DataSourcePropRowSelection, type DataSourcePropRowSelection_MultiRow, type DataSourcePropRowSelection_SingleRow, type DataSourcePropSelectionMode, type DataSourcePropShouldReloadData, type DataSourcePropShouldReloadDataObject, type DataSourcePropSortFn, type DataSourcePropSortInfo, type DataSourcePropSortTypes, type DataSourcePropTreeFilterFunction, type DataSourcePropTreeSelection, type DataSourcePropTreeSelection_MultiNode, type DataSourcePropTreeSelection_SingleNode, type DataSourceProps, type DataSourcePropsWithChildren, type DataSourceRawReducer, type DataSourceRemoteData, type DataSourceRowInfoReducer, type DataSourceSetupState, type DataSourceSingleSortInfo, type DataSourceSortInfo, type DataSourceStableContextValue, type DataSourceState, type DataSourceTreeFilterFunctionParam, type DataSourceUpdateParam, type DebugTimingKey, type DebugWarningPayload, DeepMap, type DevToolsDataSourceOverrides, type DevToolsGenericMessage, type DevToolsHookFn, type DevToolsHookFnOptions, type DevToolsHostPageLogMessage, type DevToolsHostPageLogMessagePayload, type DevToolsHostPageMessage, type DevToolsHostPageMessagePayload, type DevToolsHostPageMessageType, type DevToolsInfiniteOverrides, type DevToolsMessageAddress, type DevToolsOverrides, type ErrorCodeKey, FlashingColumnCell, GroupRowsState, type InfiniteColumnEditorContextType, InfiniteTable, type InfiniteTableAction, InfiniteTableActionType, type InfiniteTableApi, type InfiniteTableCellSelectionApi, InfiniteTableClassName, type InfiniteTableColumn, type InfiniteTableColumnAggregator, type InfiniteTableColumnApi, type InfiniteTableColumnCellContextType, type InfiniteTableColumnComparer, type InfiniteTableColumnGroup, type InfiniteTableColumnRenderFunctionForGroupRows, type InfiniteTableColumnRenderFunctionForNormalRows, type InfiniteTableColumnRenderValueParam, type InfiniteTableColumnRowspanParam, type InfiniteTableColumnSizingOptions, type InfiniteTableColumnValueFormatterParams, type InfiniteTableColumnValueGetterParams, type InfiniteTableComputedColumn, type InfiniteTableComputedValues, type InfiniteTableContextValue, type InfiniteTableDebugWarningKey, InfiniteTableDetailRow, type InfiniteTableGroupColumnBase, type InfiniteTableGroupColumnFunction, type InfiniteTableGroupColumnGetterOptions, InfiniteTableInjectionKeyForVue, type InfiniteTableKeyboardNavigationApi, type InfiniteTablePivotColumn, type InfiniteTablePropAutoSizeColumnsKey, type InfiniteTablePropColumnGroupVisibility, type InfiniteTablePropColumnGroups, type InfiniteTablePropColumnOrder, type InfiniteTablePropColumnPinning, type InfiniteTablePropColumnSizing, type InfiniteTablePropColumnTypes, type InfiniteTablePropColumnVisibility, type InfiniteTablePropColumns, type InfiniteTablePropComponents, type InfiniteTablePropGetCellContextMenuItems, type InfiniteTablePropGetColumnMenuItems, type InfiniteTablePropGetContextMenuItems, type InfiniteTablePropGroupColumn, type InfiniteTablePropGroupRenderStrategy, type InfiniteTablePropHeaderOptions, type InfiniteTablePropKeyboardNavigation, type InfiniteTablePropKeyboardShorcut, type InfiniteTablePropMultiRowSelectionWith, type InfiniteTablePropMultiSortBehavior, type InfiniteTablePropRepaintCellsKey, type InfiniteTablePropRepaintCellsKeyFn, type InfiniteTablePropRepaintCellsKeyFnParams, type InfiniteTablePropRowClassName, type InfiniteTablePropRowStyle, type InfiniteTableProps, type InfiniteTableRowClassNameFn, type InfiniteTableRowDetailApi, type InfiniteTableRowInfo, type InfiniteTableRowSelectionApi, type InfiniteTableRowStyleFn, type InfiniteTableState, type InfiniteTable_HasGrouping_RowInfoGroup, type InfiniteTable_HasGrouping_RowInfoNormal, type InfiniteTable_Tree_RowInfoLeafNode, type InfiniteTable_Tree_RowInfoNode, type InfiniteTable_Tree_RowInfoParentNode, type LazyGroupDataDeepMap, type LazyGroupDataItem, type LazyRowInfoGroup, Menu, NumberFilterEditor, RowDetailCache, RowDetailState, type RowDetailStateObject, type RowDisabledStateObject, RowSelectionState, type ScrollStopInfo, type Scrollbars, StringFilterEditor, type TableRenderRange, TreeDataSource, TreeExpandState, type TreeExpandStateValue, TreeGrid, TreeSelectionState, type TreeSelectionStateObject, type TreeSelectionValue, type UpdateChildrenFn, type WaitForNodeOptions, components, createFlashingColumnCellComponent, debounce, defaultFilterFunction, defaultFilterTypes, defaultTreeFilterFunction, flatten, group, keyboardShortcuts, multisort, multisortNested, toTreeDataArray, useDataSourceContext, useGetMasterDetailContextForVue, useInfiniteColumnCell, useInfiniteColumnEditor, useInfiniteColumnFilterEditor, useInfiniteHeaderCell, useInfiniteTableContext, useOverlay, withSelectedLeafNodesOnly };