@infinite-table/infinite-vue 9.4.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.
- package/index.d.ts +351 -198
- package/index.js +9 -9
- package/index.mjs +9 -9
- package/package.json +3 -2
package/index.d.ts
CHANGED
|
@@ -42,7 +42,12 @@ declare class DeepMap<KeyType, ValueType> {
|
|
|
42
42
|
private map;
|
|
43
43
|
private length;
|
|
44
44
|
private revision;
|
|
45
|
+
private mutations;
|
|
45
46
|
private emptyKey;
|
|
47
|
+
/**
|
|
48
|
+
* Increases on every set, delete and clear, so derived data can be cached until the map changes
|
|
49
|
+
*/
|
|
50
|
+
get version(): number;
|
|
46
51
|
static clone<KeyType, ValueType>(map: DeepMap<KeyType, ValueType>): DeepMap<KeyType, ValueType>;
|
|
47
52
|
constructor(initial?: [KeyType[], ValueType][]);
|
|
48
53
|
fill(initial?: [KeyType[], ValueType][]): void;
|
|
@@ -93,6 +98,53 @@ type ComponentStateGeneratedActions<T_STATE> = {
|
|
|
93
98
|
};
|
|
94
99
|
type ComponentStateActions<T_STATE> = ComponentStateGeneratedActions<T_STATE>;
|
|
95
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
|
+
|
|
96
148
|
type NodePath$1<PRIMARY_KEY_TYPE = any> = PRIMARY_KEY_TYPE[];
|
|
97
149
|
type TreeExpandStateObject_ByPath<PRIMARY_KEY_TYPE = any> = {
|
|
98
150
|
expandedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
@@ -216,56 +268,9 @@ type TreeDataSourceOnlyProps<T> = {
|
|
|
216
268
|
isNodeExpanded?: DataSourcePropIsNodeExpanded<T>;
|
|
217
269
|
isNodeCollapsed?: never;
|
|
218
270
|
});
|
|
219
|
-
type DataSourcePropsNotAvailableInTreeDataSource = keyof Pick<DataSourceProps<any>, 'groupBy' | 'defaultGroupBy' | 'nodesKey' | 'defaultGroupRowsState' | 'groupRowsState' | 'onGroupRowsStateChange' | 'onGroupByChange' | 'collapseGroupRowsOnDataFunctionChange' | 'livePagination' | 'onLivePaginationCursorChange' | '
|
|
271
|
+
type DataSourcePropsNotAvailableInTreeDataSource = keyof Pick<DataSourceProps<any>, 'groupBy' | 'defaultGroupBy' | 'nodesKey' | 'defaultGroupRowsState' | 'groupRowsState' | 'onGroupRowsStateChange' | 'onGroupByChange' | 'collapseGroupRowsOnDataFunctionChange' | 'livePagination' | 'onLivePaginationCursorChange' | 'filterFunction' | 'onPivotByChange' | 'pivotBy' | 'defaultPivotBy' | 'selectionMode' | 'rowSelection' | 'defaultRowSelection'>;
|
|
220
272
|
type TreeDataSourceProps<T> = Omit<DataSourceProps<T>, DataSourcePropsNotAvailableInTreeDataSource> & TreeDataSourceOnlyProps<T>;
|
|
221
273
|
|
|
222
|
-
type DebugLogger = {
|
|
223
|
-
(...args: any[]): void;
|
|
224
|
-
extend: (channelName: string) => DebugLogger;
|
|
225
|
-
color: (colorName: string, ...message: string[]) => [string, string];
|
|
226
|
-
enabled: boolean;
|
|
227
|
-
channel: string;
|
|
228
|
-
destroy: () => void;
|
|
229
|
-
logFn: undefined | ((...args: any[]) => void);
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
interface LogFn {
|
|
233
|
-
(...args: any[]): void;
|
|
234
|
-
extend: (channelName: string) => LogFn;
|
|
235
|
-
}
|
|
236
|
-
declare class Logger {
|
|
237
|
-
debug: LogFn;
|
|
238
|
-
error: LogFn;
|
|
239
|
-
constructor(channelName: string);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
interface Size {
|
|
243
|
-
width: number;
|
|
244
|
-
height: number;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
interface ScrollPosition {
|
|
248
|
-
scrollTop: number;
|
|
249
|
-
scrollLeft: number;
|
|
250
|
-
}
|
|
251
|
-
type OnScrollFn = (scrollPosition: ScrollPosition) => void;
|
|
252
|
-
|
|
253
|
-
type RenderRange = {
|
|
254
|
-
renderStartIndex: number;
|
|
255
|
-
renderEndIndex: number;
|
|
256
|
-
};
|
|
257
|
-
|
|
258
|
-
type VoidFn = () => void;
|
|
259
|
-
|
|
260
|
-
type SubscriptionCallbackOnChangeFn<T> = (node: T | null) => void;
|
|
261
|
-
interface SubscriptionCallback<T> {
|
|
262
|
-
(node: T, callback?: () => void): void;
|
|
263
|
-
get: () => T | null;
|
|
264
|
-
destroy: VoidFn;
|
|
265
|
-
onChange: (fn: SubscriptionCallbackOnChangeFn<T>) => VoidFn;
|
|
266
|
-
getListenersCount: () => number;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
274
|
type DataSourceMutation<T> = {
|
|
270
275
|
type: 'delete';
|
|
271
276
|
primaryKey: any;
|
|
@@ -1425,6 +1430,10 @@ type RowSelectionStateConfig<T> = {
|
|
|
1425
1430
|
* The count of all the rows - for lazy load, after the (remote) filter
|
|
1426
1431
|
*/
|
|
1427
1432
|
totalCount: number;
|
|
1433
|
+
/**
|
|
1434
|
+
* Lazy load with grouping: the count of all the (leaf) rows, after the filter, when the server sends it
|
|
1435
|
+
*/
|
|
1436
|
+
lazyGroupedRowCount?: number;
|
|
1428
1437
|
/**
|
|
1429
1438
|
* Lazy load: the count of all the rows without the filter, when the server sends it
|
|
1430
1439
|
*/
|
|
@@ -1460,6 +1469,14 @@ declare class RowSelectionState<T = any> {
|
|
|
1460
1469
|
selectedCount: number;
|
|
1461
1470
|
deselectedCount: number;
|
|
1462
1471
|
}>;
|
|
1472
|
+
/**
|
|
1473
|
+
* Lazy load: the selected (true) and deselected (false) entries, in one map,
|
|
1474
|
+
* for the given versions of the selection maps
|
|
1475
|
+
*/
|
|
1476
|
+
private lazyEntries;
|
|
1477
|
+
private lazyLoadedRows;
|
|
1478
|
+
private lazyChildrenLoaded;
|
|
1479
|
+
private lazyRowCounts;
|
|
1463
1480
|
getConfig: GetRowSelectionStateConfig<T>;
|
|
1464
1481
|
getGroupKeysForPrimaryKey(pk: any): any[];
|
|
1465
1482
|
getGroupDeepMap(): DeepMap<any, DeepMapGroupValueType<T, any>> | undefined;
|
|
@@ -1489,6 +1506,32 @@ declare class RowSelectionState<T = any> {
|
|
|
1489
1506
|
* its loaded groups - so the rows of the groups hidden by the filter or not loaded yet
|
|
1490
1507
|
*/
|
|
1491
1508
|
getLazyHiddenRowsCount(groupKeys: any[]): number;
|
|
1509
|
+
private getLazyEntries;
|
|
1510
|
+
/**
|
|
1511
|
+
* Lazy load: the count of the rows inside the group, as the server sent it
|
|
1512
|
+
*/
|
|
1513
|
+
private getLazyRowCount;
|
|
1514
|
+
private computeLazyRowCount;
|
|
1515
|
+
/**
|
|
1516
|
+
* Lazy load: whether the server sent all the direct children of the group
|
|
1517
|
+
*/
|
|
1518
|
+
private areLazyChildrenLoaded;
|
|
1519
|
+
private computeLazyChildrenLoaded;
|
|
1520
|
+
/**
|
|
1521
|
+
* Lazy load, at the last group level (or the root, without grouping): the primary keys
|
|
1522
|
+
* of the loaded rows, and whether they are all the rows of the group
|
|
1523
|
+
*/
|
|
1524
|
+
private getLazyLoadedRows;
|
|
1525
|
+
/**
|
|
1526
|
+
* Lazy load, with the counts after the filter: whether the row or group of a selection entry
|
|
1527
|
+
* is known to be filtered out - its parent has all the children loaded, and it's not among them
|
|
1528
|
+
*/
|
|
1529
|
+
private isLazyEntryFilteredOut;
|
|
1530
|
+
/**
|
|
1531
|
+
* Lazy load: counts the explicit selection entries inside the group, at any depth, by their own selection,
|
|
1532
|
+
* whether their rows are loaded or not. The other rows of the group take its selection.
|
|
1533
|
+
*/
|
|
1534
|
+
private getLazySelectionCountFor;
|
|
1492
1535
|
getGroupCount(groupKeys: any[]): number;
|
|
1493
1536
|
getGroupKeysDirectlyInsideGroup(groupKeys: any[]): any[][];
|
|
1494
1537
|
getAllPrimaryKeysInsideGroup(groupKeys: any[]): any[];
|
|
@@ -1551,21 +1594,180 @@ declare class RowSelectionState<T = any> {
|
|
|
1551
1594
|
};
|
|
1552
1595
|
}
|
|
1553
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
|
+
};
|
|
1554
1722
|
type MultiRowSelectorOptions = {
|
|
1555
|
-
|
|
1556
|
-
|
|
1723
|
+
getRowAt: (index: number) => MultiRowSelectorRow | null | undefined;
|
|
1724
|
+
/**
|
|
1725
|
+
* For tree nodes - whether the node can be selected.
|
|
1726
|
+
*/
|
|
1727
|
+
isNodeSelectable?: (row: MultiRowSelectorRow) => boolean;
|
|
1557
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
|
+
*/
|
|
1558
1738
|
declare class MultiRowSelector {
|
|
1559
|
-
|
|
1560
|
-
isRowDisabledAt: MultiRowSelectorOptions['isRowDisabledAt'];
|
|
1739
|
+
getRowAt: MultiRowSelectorOptions['getRowAt'];
|
|
1561
1740
|
multiSelectStartIndex: number;
|
|
1562
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']>;
|
|
1563
1751
|
_rowSelectionState: RowSelectionState;
|
|
1752
|
+
_treeSelectionState?: TreeSelectionState;
|
|
1564
1753
|
constructor(options: MultiRowSelectorOptions);
|
|
1565
1754
|
set rowSelectionState(rowSelectionState: RowSelectionState);
|
|
1566
1755
|
get rowSelectionState(): RowSelectionState;
|
|
1567
|
-
|
|
1568
|
-
|
|
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;
|
|
1569
1771
|
/**
|
|
1570
1772
|
* This is the single click, without any modifier
|
|
1571
1773
|
*/
|
|
@@ -1575,6 +1777,11 @@ declare class MultiRowSelector {
|
|
|
1575
1777
|
* @param index
|
|
1576
1778
|
*/
|
|
1577
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
|
+
*/
|
|
1578
1785
|
multiSelectClick(index: number): void;
|
|
1579
1786
|
}
|
|
1580
1787
|
|
|
@@ -1819,110 +2026,26 @@ type MultisortInfo<T> = {
|
|
|
1819
2026
|
type MultisortInfoAllowMultipleFields<T> = Omit<MultisortInfo<T>, 'field'> & {
|
|
1820
2027
|
field?: keyof T | (keyof T | ((item: T) => any))[];
|
|
1821
2028
|
};
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
deselectedPaths: NodePath;
|
|
1831
|
-
selectedPaths?: NodePath;
|
|
1832
|
-
} | {
|
|
1833
|
-
defaultSelection: false;
|
|
1834
|
-
selectedPaths: NodePath;
|
|
1835
|
-
deselectedPaths?: NodePath;
|
|
1836
|
-
};
|
|
1837
|
-
type TreeSelectionStateConfigObject = {
|
|
1838
|
-
treePaths: DeepMap<any, true>;
|
|
1839
|
-
strictCheckPaths: boolean;
|
|
1840
|
-
multiRowSelectionTarget?: DataSourcePropMultiRowSelectionTarget;
|
|
1841
|
-
unfilteredTreePaths?: DeepMap<any, true>;
|
|
1842
|
-
};
|
|
1843
|
-
type TreeSelectionStateConfigParam<_T = any> = {
|
|
1844
|
-
/**
|
|
1845
|
-
* The paths the selection counts and acts on
|
|
1846
|
-
*/
|
|
1847
|
-
treePaths: TreeSelectionStateConfigObject['treePaths'] | any[][];
|
|
1848
|
-
/**
|
|
1849
|
-
* Defaults to true. If false, when checking if a given path is selected,
|
|
1850
|
-
* it will not check if the path is in the treePaths, but will only check
|
|
1851
|
-
* in the selectionMap.
|
|
1852
|
-
*
|
|
1853
|
-
* If true, will check for the path both in the treePaths and the selectionMap.
|
|
1854
|
-
*/
|
|
1855
|
-
strictCheckPaths?: boolean;
|
|
1856
|
-
/**
|
|
1857
|
-
* When `'visible'`, `treePaths` should only contain the paths that pass the filter,
|
|
1858
|
-
* and `unfilteredTreePaths` all the paths, so the selection
|
|
1859
|
-
* of the nodes that are filtered out is never changed.
|
|
1860
|
-
*/
|
|
1861
|
-
multiRowSelectionTarget?: DataSourcePropMultiRowSelectionTarget;
|
|
1862
|
-
unfilteredTreePaths?: TreeSelectionStateConfigObject['treePaths'] | any[][];
|
|
2029
|
+
declare const multisort: {
|
|
2030
|
+
<T>(sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], options?: {
|
|
2031
|
+
marker?: PerfMarker;
|
|
2032
|
+
get?: (item: any) => T;
|
|
2033
|
+
} | ((item: any) => T)): T[];
|
|
2034
|
+
knownTypes: {
|
|
2035
|
+
[key: string]: (first: any, second: any) => number;
|
|
2036
|
+
};
|
|
1863
2037
|
};
|
|
1864
|
-
type
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
2038
|
+
type NestedMultiSortOptions<T> = {
|
|
2039
|
+
get?: (item: any) => T;
|
|
2040
|
+
nodesKey: string;
|
|
2041
|
+
isLeafNode?: (item: T) => boolean;
|
|
2042
|
+
getNodeChildren?: (item: T) => null | T[];
|
|
2043
|
+
toKey: (item: T) => any;
|
|
2044
|
+
depthFirst?: boolean;
|
|
2045
|
+
inplace?: boolean;
|
|
2046
|
+
marker?: PerfMarker;
|
|
1870
2047
|
};
|
|
1871
|
-
declare
|
|
1872
|
-
selectedPaths: NodePath[] | null;
|
|
1873
|
-
deselectedPaths: NodePath[] | null;
|
|
1874
|
-
defaultSelection: boolean;
|
|
1875
|
-
selectionMap: DeepMap<NodePath, boolean>;
|
|
1876
|
-
cache: DeepMap<NodePath, NodeSelectionState>;
|
|
1877
|
-
getConfig: GetTreeSelectionStateConfig<T>;
|
|
1878
|
-
config: TreeSelectionStateConfigObject;
|
|
1879
|
-
getTreePaths(treePaths?: TreeSelectionStateConfigParam['treePaths']): DeepMap<any, true>;
|
|
1880
|
-
withTreePaths<T>(fn: (treePaths: TreeSelectionStateConfigObject['treePaths']) => T, treePaths?: TreeSelectionStateConfigParam['treePaths']): T;
|
|
1881
|
-
getLeafNodePaths(rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): any[][];
|
|
1882
|
-
forEachLeafNodePath(fn: (nodePath: NodePath, { selected }: {
|
|
1883
|
-
selected: boolean;
|
|
1884
|
-
}) => void, rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): void;
|
|
1885
|
-
getSelectedLeafNodePaths(rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): NodePath[];
|
|
1886
|
-
getDeselectedLeafNodePaths(rootNodePath?: NodePath, treePaths?: TreeSelectionStateConfigParam['treePaths']): NodePath[];
|
|
1887
|
-
isLeafNode(nodePath: NodePath): boolean | null;
|
|
1888
|
-
getLeafNodesCount(nodePath: NodePath): number;
|
|
1889
|
-
static from<T>(treeSelectionState: TreeSelectionStateObject, getConfig: GetTreeSelectionStateConfig<T>): TreeSelectionState<T>;
|
|
1890
|
-
constructor(state: TreeSelectionStateObject | TreeSelectionState, getConfig?: GetTreeSelectionStateConfig<T>);
|
|
1891
|
-
setConfig(getConfig: GetTreeSelectionStateConfig<T>): void;
|
|
1892
|
-
private hasFilteredOutLeavesInside;
|
|
1893
|
-
/**
|
|
1894
|
-
* Sets the selection of each visible leaf node inside the node, by its path,
|
|
1895
|
-
* so the leaf nodes that are filtered out keep their selection
|
|
1896
|
-
*/
|
|
1897
|
-
private setVisibleLeafNodesSelection;
|
|
1898
|
-
private xcache;
|
|
1899
|
-
private update;
|
|
1900
|
-
private setSelectionForPath;
|
|
1901
|
-
getState(): TreeSelectionStateObject;
|
|
1902
|
-
deselectAll(): void;
|
|
1903
|
-
selectAll(): void;
|
|
1904
|
-
private strictMode;
|
|
1905
|
-
enableStrictMode(): void;
|
|
1906
|
-
disableStrictMode(): void;
|
|
1907
|
-
isPathAvailable(nodePath: NodePath): boolean;
|
|
1908
|
-
isNodeSelected(nodePath: NodePath): boolean | null;
|
|
1909
|
-
private isSelfSelected;
|
|
1910
|
-
private cacheIt;
|
|
1911
|
-
private getSelectionStateForNode;
|
|
1912
|
-
private isPathSelected;
|
|
1913
|
-
private getNodeBooleanSelectionStateFromParent;
|
|
1914
|
-
setNodeSelection(nodePath: NodePath, selected: boolean): void;
|
|
1915
|
-
selectNode(nodePath: NodePath): void;
|
|
1916
|
-
deselectNode(nodePath: any[]): void;
|
|
1917
|
-
toggleNodeSelection(nodePath: NodePath): void;
|
|
1918
|
-
getSelectedCount(): number;
|
|
1919
|
-
getDeselectedCount(): number;
|
|
1920
|
-
getSelectionCountFor(nodePath?: NodePath): {
|
|
1921
|
-
selectedCount: number;
|
|
1922
|
-
deselectedCount: number;
|
|
1923
|
-
};
|
|
1924
|
-
destroy(): void;
|
|
1925
|
-
}
|
|
2048
|
+
declare const multisortNested: <T>(sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], options: NestedMultiSortOptions<T>) => T[];
|
|
1926
2049
|
|
|
1927
2050
|
type InfiniteTableEventHandlerContext<T> = {
|
|
1928
2051
|
getComputed: () => InfiniteTableComputedValues<T>;
|
|
@@ -2486,6 +2609,7 @@ interface InfiniteTableProps<T> {
|
|
|
2486
2609
|
multiSortBehavior?: InfiniteTablePropMultiSortBehavior;
|
|
2487
2610
|
keyboardNavigation?: InfiniteTablePropKeyboardNavigation;
|
|
2488
2611
|
keyboardSelection?: InfiniteTablePropKeyboardSelection;
|
|
2612
|
+
multiRowSelectionWith?: InfiniteTablePropMultiRowSelectionWith;
|
|
2489
2613
|
defaultActiveRowIndex?: number | null;
|
|
2490
2614
|
activeRowIndex?: number | null;
|
|
2491
2615
|
onActiveRowIndexChange?: (activeRowIndex: number) => void;
|
|
@@ -2584,6 +2708,16 @@ type InfiniteTablePropGetFilterOperatorMenuItems<T> = (defaultItems: Exclude<Men
|
|
|
2584
2708
|
}) => MenuProps['items'];
|
|
2585
2709
|
type InfiniteTablePropKeyboardNavigation = 'cell' | 'row' | false;
|
|
2586
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';
|
|
2587
2721
|
type InfiniteTablePropHeaderOptions = {
|
|
2588
2722
|
alwaysReserveSpaceForSortIcon: boolean;
|
|
2589
2723
|
};
|
|
@@ -3268,6 +3402,7 @@ interface InfiniteTableMappedState<T> {
|
|
|
3268
3402
|
hideEmptyGroupColumns: NonUndefined<InfiniteTableProps<T>['hideEmptyGroupColumns']>;
|
|
3269
3403
|
hideColumnWhenGrouped: NonUndefined<InfiniteTableProps<T>['hideColumnWhenGrouped']>;
|
|
3270
3404
|
keyboardSelection: NonUndefined<InfiniteTableProps<T>['keyboardSelection']>;
|
|
3405
|
+
multiRowSelectionWith: NonUndefined<InfiniteTableProps<T>['multiRowSelectionWith']>;
|
|
3271
3406
|
columnOrder: NonUndefined<InfiniteTableProps<T>['columnOrder']>;
|
|
3272
3407
|
showZebraRows: NonUndefined<InfiniteTableProps<T>['showZebraRows']>;
|
|
3273
3408
|
showHoverRows: NonUndefined<InfiniteTableProps<T>['showHoverRows']>;
|
|
@@ -3492,6 +3627,26 @@ declare class GroupRowsState<KeyType extends any = any> extends BooleanDeepColle
|
|
|
3492
3627
|
toggleGroupRow(keys: KeyType[]): void;
|
|
3493
3628
|
}
|
|
3494
3629
|
|
|
3630
|
+
/**
|
|
3631
|
+
* The built-in column filtering, for one row: whether the row matches every
|
|
3632
|
+
* active item of `filterValue`.
|
|
3633
|
+
*
|
|
3634
|
+
* Passing it as `filterFunction` is exactly the built-in local filtering.
|
|
3635
|
+
* Compose it to combine your own filtering with the column filters:
|
|
3636
|
+
*
|
|
3637
|
+
* ```ts
|
|
3638
|
+
* filterFunction={(param) => defaultFilterFunction(param) && param.data.age > 30}
|
|
3639
|
+
* ```
|
|
3640
|
+
*/
|
|
3641
|
+
declare function defaultFilterFunction<T>(param: DataSourceFilterFunctionParam<T>): boolean;
|
|
3642
|
+
/**
|
|
3643
|
+
* The built-in column filtering for tree data: leaf nodes are matched with
|
|
3644
|
+
* `defaultFilterFunction`; a parent node is kept (with only its kept children)
|
|
3645
|
+
* when at least one of its descendants is kept. The fields of parent nodes are
|
|
3646
|
+
* not matched against the filters.
|
|
3647
|
+
*/
|
|
3648
|
+
declare function defaultTreeFilterFunction<T>(param: DataSourceTreeFilterFunctionParam<T>): T | boolean;
|
|
3649
|
+
|
|
3495
3650
|
declare class RowDisabledState<KeyType = any> extends BooleanCollectionState<RowDisabledStateObject<KeyType>, KeyType> {
|
|
3496
3651
|
constructor(state: RowDisabledStateObject<KeyType> | RowDisabledState<KeyType>);
|
|
3497
3652
|
getState(): RowDisabledStateObject<KeyType>;
|
|
@@ -4104,6 +4259,7 @@ type LazyRowInfoGroup<DataType> = {
|
|
|
4104
4259
|
cache: boolean;
|
|
4105
4260
|
totalCount: number;
|
|
4106
4261
|
totalCountUnfiltered?: number;
|
|
4262
|
+
totalChildrenCount?: number;
|
|
4107
4263
|
totalChildrenCountUnfiltered?: number;
|
|
4108
4264
|
error?: string;
|
|
4109
4265
|
};
|
|
@@ -4155,9 +4311,13 @@ interface DataSourceSetupState<T> {
|
|
|
4155
4311
|
mutations?: Map<string, DataSourceMutation<T>[]>;
|
|
4156
4312
|
treeMutations?: DeepMap<any, DataSourceMutation<T>[]>;
|
|
4157
4313
|
};
|
|
4158
|
-
|
|
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'>;
|
|
4159
4319
|
pivotMappings?: DataSourceMappings;
|
|
4160
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
4320
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
4161
4321
|
showSeparatePivotColumnForSingleAggregation: boolean;
|
|
4162
4322
|
dataParams?: DataSourceDataParams<T>;
|
|
4163
4323
|
originalLazyGroupData: LazyGroupDataDeepMap<T>;
|
|
@@ -4393,18 +4553,6 @@ type DataSourceProps<T> = {
|
|
|
4393
4553
|
onLivePaginationCursorChange?: (livePaginationCursor: DataSourceLivePaginationCursorValue) => void;
|
|
4394
4554
|
filterFunction?: DataSourcePropFilterFunction<T>;
|
|
4395
4555
|
treeFilterFunction?: DataSourcePropTreeFilterFunction<T>;
|
|
4396
|
-
/**
|
|
4397
|
-
* @deprecated Use shouldReloadData.sortInfo instead
|
|
4398
|
-
*/
|
|
4399
|
-
sortMode?: 'local' | 'remote';
|
|
4400
|
-
/**
|
|
4401
|
-
* @deprecated Use shouldReloadData.filterValue instead
|
|
4402
|
-
*/
|
|
4403
|
-
filterMode?: 'local' | 'remote';
|
|
4404
|
-
/**
|
|
4405
|
-
* @deprecated Use shouldReloadData.groupBy instead
|
|
4406
|
-
*/
|
|
4407
|
-
groupMode?: 'local' | 'remote';
|
|
4408
4556
|
shouldReloadData?: DataSourcePropShouldReloadData<T>;
|
|
4409
4557
|
filterValue?: DataSourcePropFilterValue<T>;
|
|
4410
4558
|
defaultFilterValue?: DataSourcePropFilterValue<T>;
|
|
@@ -4441,16 +4589,31 @@ type DataSourceProps<T> = {
|
|
|
4441
4589
|
type DataSourcePropsWithChildren<T> = DataSourceProps<T> & {};
|
|
4442
4590
|
type DataSourcePropSortTypes = Record<string, (first: any, second: any) => number>;
|
|
4443
4591
|
type DataSourcePropFilterTypes<T> = Record<string, DataSourceFilterType<T>>;
|
|
4444
|
-
type
|
|
4592
|
+
type DataSourceFilterRowParam<T> = {
|
|
4445
4593
|
data: T;
|
|
4446
4594
|
index: number;
|
|
4447
4595
|
dataArray: T[];
|
|
4448
4596
|
primaryKey: any;
|
|
4449
4597
|
};
|
|
4598
|
+
type DataSourceFilterFunctionParam<T> = DataSourceFilterRowParam<T> & {
|
|
4599
|
+
/**
|
|
4600
|
+
* The current column filters - pass the param to `defaultFilterFunction`
|
|
4601
|
+
* to apply them.
|
|
4602
|
+
*/
|
|
4603
|
+
filterValue: DataSourcePropFilterValue<T>;
|
|
4604
|
+
filterTypes: DataSourcePropFilterTypes<T>;
|
|
4605
|
+
};
|
|
4450
4606
|
type DataSourcePropFilterFunction<T> = (filterParam: DataSourceFilterFunctionParam<T>) => boolean;
|
|
4451
|
-
type
|
|
4607
|
+
type DataSourceTreeFilterFunctionParam<T> = DataSourceFilterFunctionParam<T> & {
|
|
4608
|
+
/**
|
|
4609
|
+
* Filters the children of a parent node with the same tree filter function:
|
|
4610
|
+
* returns a copy of the node with only the kept children, or `false` when
|
|
4611
|
+
* no child is kept.
|
|
4612
|
+
*/
|
|
4452
4613
|
filterTreeNode: (data: T) => T | boolean;
|
|
4453
|
-
|
|
4614
|
+
isLeafNode: boolean;
|
|
4615
|
+
};
|
|
4616
|
+
type DataSourcePropTreeFilterFunction<T> = (filterParam: DataSourceTreeFilterFunctionParam<T>) => T | boolean;
|
|
4454
4617
|
type DataSourcePropFilterValue<T> = DataSourceFilterValueItem<T>[];
|
|
4455
4618
|
type DataSourceFilterValueItem<T> = DiscriminatedUnion<{
|
|
4456
4619
|
field: keyof T;
|
|
@@ -4465,7 +4628,7 @@ type DataSourceFilterValueItem<T> = DiscriminatedUnion<{
|
|
|
4465
4628
|
};
|
|
4466
4629
|
disabled?: boolean;
|
|
4467
4630
|
};
|
|
4468
|
-
type DataSourceFilterValueItemValueGetter<T> = (param:
|
|
4631
|
+
type DataSourceFilterValueItemValueGetter<T> = (param: DataSourceFilterRowParam<T> & {
|
|
4469
4632
|
field?: keyof T;
|
|
4470
4633
|
}) => any;
|
|
4471
4634
|
type DataSourceFilterType<T> = {
|
|
@@ -4495,7 +4658,7 @@ type DataSourceFilterOperatorFunctionParam<T> = {
|
|
|
4495
4658
|
filterValue: any;
|
|
4496
4659
|
emptyValues: any[];
|
|
4497
4660
|
field?: keyof T;
|
|
4498
|
-
} &
|
|
4661
|
+
} & DataSourceFilterRowParam<T>;
|
|
4499
4662
|
type DataSourcePropLivePaginationCursor<T> = DataSourceLivePaginationCursorValue | DataSourceLivePaginationCursorFn<T>;
|
|
4500
4663
|
type DataSourceLivePaginationCursorFn<T> = (params: DataSourceLivePaginationCursorParams<T>) => DataSourceLivePaginationCursorValue;
|
|
4501
4664
|
type DataSourceLivePaginationCursorParams<T> = {
|
|
@@ -4516,8 +4679,6 @@ type DataSourceDerivedState<T> = {
|
|
|
4516
4679
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<T>>>;
|
|
4517
4680
|
sortMode: 'local' | 'remote';
|
|
4518
4681
|
filterMode: 'local' | 'remote';
|
|
4519
|
-
groupMode: 'local' | 'remote';
|
|
4520
|
-
pivotMode: 'local' | 'remote';
|
|
4521
4682
|
shouldReloadData: NonUndefined<Required<DataSourcePropShouldReloadDataObject<T>>>;
|
|
4522
4683
|
groupRowsState: GroupRowsState<T>;
|
|
4523
4684
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -4577,12 +4738,9 @@ declare const DataSource: vue.DefineComponent<{
|
|
|
4577
4738
|
groupBy?: any;
|
|
4578
4739
|
pivotBy?: any;
|
|
4579
4740
|
multiRowSelectionTarget?: any;
|
|
4580
|
-
|
|
4741
|
+
isNodeSelectable?: any;
|
|
4581
4742
|
rowSelection?: any;
|
|
4582
4743
|
debugId?: any;
|
|
4583
|
-
sortMode?: any;
|
|
4584
|
-
filterMode?: any;
|
|
4585
|
-
groupMode?: any;
|
|
4586
4744
|
shouldReloadData?: any;
|
|
4587
4745
|
groupRowsState?: any;
|
|
4588
4746
|
treeExpandState?: any;
|
|
@@ -4599,7 +4757,6 @@ declare const DataSource: vue.DefineComponent<{
|
|
|
4599
4757
|
isNodeExpanded?: any;
|
|
4600
4758
|
isNodeCollapsed?: any;
|
|
4601
4759
|
isNodeReadOnly?: any;
|
|
4602
|
-
isNodeSelectable?: any;
|
|
4603
4760
|
onNodeCollapse?: any;
|
|
4604
4761
|
onNodeExpand?: any;
|
|
4605
4762
|
treeSelection?: any;
|
|
@@ -4609,6 +4766,7 @@ declare const DataSource: vue.DefineComponent<{
|
|
|
4609
4766
|
onTreeDataMutations?: any;
|
|
4610
4767
|
onReady?: any;
|
|
4611
4768
|
rowInfoReducers?: any;
|
|
4769
|
+
lazyLoad?: any;
|
|
4612
4770
|
useGroupKeysForMultiRowSelection?: any;
|
|
4613
4771
|
onDataParamsChange?: any;
|
|
4614
4772
|
sortFunction?: any;
|
|
@@ -4656,12 +4814,9 @@ declare const DataSource: vue.DefineComponent<{
|
|
|
4656
4814
|
groupBy?: any;
|
|
4657
4815
|
pivotBy?: any;
|
|
4658
4816
|
multiRowSelectionTarget?: any;
|
|
4659
|
-
|
|
4817
|
+
isNodeSelectable?: any;
|
|
4660
4818
|
rowSelection?: any;
|
|
4661
4819
|
debugId?: any;
|
|
4662
|
-
sortMode?: any;
|
|
4663
|
-
filterMode?: any;
|
|
4664
|
-
groupMode?: any;
|
|
4665
4820
|
shouldReloadData?: any;
|
|
4666
4821
|
groupRowsState?: any;
|
|
4667
4822
|
treeExpandState?: any;
|
|
@@ -4678,7 +4833,6 @@ declare const DataSource: vue.DefineComponent<{
|
|
|
4678
4833
|
isNodeExpanded?: any;
|
|
4679
4834
|
isNodeCollapsed?: any;
|
|
4680
4835
|
isNodeReadOnly?: any;
|
|
4681
|
-
isNodeSelectable?: any;
|
|
4682
4836
|
onNodeCollapse?: any;
|
|
4683
4837
|
onNodeExpand?: any;
|
|
4684
4838
|
treeSelection?: any;
|
|
@@ -4688,6 +4842,7 @@ declare const DataSource: vue.DefineComponent<{
|
|
|
4688
4842
|
onTreeDataMutations?: any;
|
|
4689
4843
|
onReady?: any;
|
|
4690
4844
|
rowInfoReducers?: any;
|
|
4845
|
+
lazyLoad?: any;
|
|
4691
4846
|
useGroupKeysForMultiRowSelection?: any;
|
|
4692
4847
|
onDataParamsChange?: any;
|
|
4693
4848
|
sortFunction?: any;
|
|
@@ -4774,6 +4929,7 @@ declare const InfiniteTable: vue.DefineComponent<{
|
|
|
4774
4929
|
activeCellIndex?: any;
|
|
4775
4930
|
keyboardNavigation?: any;
|
|
4776
4931
|
keyboardSelection?: any;
|
|
4932
|
+
multiRowSelectionWith?: any;
|
|
4777
4933
|
pivotColumn?: any;
|
|
4778
4934
|
scrollTopKey?: any;
|
|
4779
4935
|
multiSortBehavior?: any;
|
|
@@ -4905,6 +5061,7 @@ declare const InfiniteTable: vue.DefineComponent<{
|
|
|
4905
5061
|
activeCellIndex?: any;
|
|
4906
5062
|
keyboardNavigation?: any;
|
|
4907
5063
|
keyboardSelection?: any;
|
|
5064
|
+
multiRowSelectionWith?: any;
|
|
4908
5065
|
pivotColumn?: any;
|
|
4909
5066
|
scrollTopKey?: any;
|
|
4910
5067
|
multiSortBehavior?: any;
|
|
@@ -5237,6 +5394,7 @@ declare const TreeGrid: vue.DefineComponent<{
|
|
|
5237
5394
|
activeCellIndex?: any;
|
|
5238
5395
|
keyboardNavigation?: any;
|
|
5239
5396
|
keyboardSelection?: any;
|
|
5397
|
+
multiRowSelectionWith?: any;
|
|
5240
5398
|
pivotColumn?: any;
|
|
5241
5399
|
scrollTopKey?: any;
|
|
5242
5400
|
multiSortBehavior?: any;
|
|
@@ -5368,6 +5526,7 @@ declare const TreeGrid: vue.DefineComponent<{
|
|
|
5368
5526
|
activeCellIndex?: any;
|
|
5369
5527
|
keyboardNavigation?: any;
|
|
5370
5528
|
keyboardSelection?: any;
|
|
5529
|
+
multiRowSelectionWith?: any;
|
|
5371
5530
|
pivotColumn?: any;
|
|
5372
5531
|
scrollTopKey?: any;
|
|
5373
5532
|
multiSortBehavior?: any;
|
|
@@ -5479,12 +5638,9 @@ declare const TreeDataSource: vue.DefineComponent<{
|
|
|
5479
5638
|
groupBy?: any;
|
|
5480
5639
|
pivotBy?: any;
|
|
5481
5640
|
multiRowSelectionTarget?: any;
|
|
5482
|
-
|
|
5641
|
+
isNodeSelectable?: any;
|
|
5483
5642
|
rowSelection?: any;
|
|
5484
5643
|
debugId?: any;
|
|
5485
|
-
sortMode?: any;
|
|
5486
|
-
filterMode?: any;
|
|
5487
|
-
groupMode?: any;
|
|
5488
5644
|
shouldReloadData?: any;
|
|
5489
5645
|
groupRowsState?: any;
|
|
5490
5646
|
treeExpandState?: any;
|
|
@@ -5501,7 +5657,6 @@ declare const TreeDataSource: vue.DefineComponent<{
|
|
|
5501
5657
|
isNodeExpanded?: any;
|
|
5502
5658
|
isNodeCollapsed?: any;
|
|
5503
5659
|
isNodeReadOnly?: any;
|
|
5504
|
-
isNodeSelectable?: any;
|
|
5505
5660
|
onNodeCollapse?: any;
|
|
5506
5661
|
onNodeExpand?: any;
|
|
5507
5662
|
treeSelection?: any;
|
|
@@ -5511,6 +5666,7 @@ declare const TreeDataSource: vue.DefineComponent<{
|
|
|
5511
5666
|
onTreeDataMutations?: any;
|
|
5512
5667
|
onReady?: any;
|
|
5513
5668
|
rowInfoReducers?: any;
|
|
5669
|
+
lazyLoad?: any;
|
|
5514
5670
|
useGroupKeysForMultiRowSelection?: any;
|
|
5515
5671
|
onDataParamsChange?: any;
|
|
5516
5672
|
sortFunction?: any;
|
|
@@ -5558,12 +5714,9 @@ declare const TreeDataSource: vue.DefineComponent<{
|
|
|
5558
5714
|
groupBy?: any;
|
|
5559
5715
|
pivotBy?: any;
|
|
5560
5716
|
multiRowSelectionTarget?: any;
|
|
5561
|
-
|
|
5717
|
+
isNodeSelectable?: any;
|
|
5562
5718
|
rowSelection?: any;
|
|
5563
5719
|
debugId?: any;
|
|
5564
|
-
sortMode?: any;
|
|
5565
|
-
filterMode?: any;
|
|
5566
|
-
groupMode?: any;
|
|
5567
5720
|
shouldReloadData?: any;
|
|
5568
5721
|
groupRowsState?: any;
|
|
5569
5722
|
treeExpandState?: any;
|
|
@@ -5580,7 +5733,6 @@ declare const TreeDataSource: vue.DefineComponent<{
|
|
|
5580
5733
|
isNodeExpanded?: any;
|
|
5581
5734
|
isNodeCollapsed?: any;
|
|
5582
5735
|
isNodeReadOnly?: any;
|
|
5583
|
-
isNodeSelectable?: any;
|
|
5584
5736
|
onNodeCollapse?: any;
|
|
5585
5737
|
onNodeExpand?: any;
|
|
5586
5738
|
treeSelection?: any;
|
|
@@ -5590,6 +5742,7 @@ declare const TreeDataSource: vue.DefineComponent<{
|
|
|
5590
5742
|
onTreeDataMutations?: any;
|
|
5591
5743
|
onReady?: any;
|
|
5592
5744
|
rowInfoReducers?: any;
|
|
5745
|
+
lazyLoad?: any;
|
|
5593
5746
|
useGroupKeysForMultiRowSelection?: any;
|
|
5594
5747
|
onDataParamsChange?: any;
|
|
5595
5748
|
sortFunction?: any;
|
|
@@ -5868,4 +6021,4 @@ declare const components: {
|
|
|
5868
6021
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
5869
6022
|
};
|
|
5870
6023
|
|
|
5871
|
-
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 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 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, defaultFilterTypes, flatten, group, keyboardShortcuts, 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 };
|