@infinite-table/infinite-react 9.4.1 → 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 +252 -189
- package/index.dev.js +17805 -17531
- package/index.dev.mjs +17799 -17527
- package/index.js +8 -8
- package/index.mjs +8 -8
- package/package.json +6 -2
package/index.d.ts
CHANGED
|
@@ -27,6 +27,76 @@ type ComponentStateActions<T_STATE> = ComponentStateGeneratedActions<T_STATE>;
|
|
|
27
27
|
|
|
28
28
|
type NonUndefined<T> = T extends undefined ? never : T;
|
|
29
29
|
|
|
30
|
+
type DebugLogger = {
|
|
31
|
+
(...args: any[]): void;
|
|
32
|
+
extend: (channelName: string) => DebugLogger;
|
|
33
|
+
color: (colorName: string, ...message: string[]) => [string, string];
|
|
34
|
+
enabled: boolean;
|
|
35
|
+
channel: string;
|
|
36
|
+
destroy: () => void;
|
|
37
|
+
logFn: undefined | ((...args: any[]) => void);
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Returns whether logging is enabled for a specific channel
|
|
41
|
+
*
|
|
42
|
+
* @param channel the name of a specific channel like "a:b:c" - cannot contain wildcards
|
|
43
|
+
* @param permissions we accept values like "a:b:c,d:e:f,d:x:*" - multiple values separated by a comma. can also contain wildcards
|
|
44
|
+
* @returns boolean
|
|
45
|
+
*/
|
|
46
|
+
declare function isChannelEnabled(channel: string, permissions: string): boolean;
|
|
47
|
+
declare const debug: {
|
|
48
|
+
(channelName: string): DebugLogger;
|
|
49
|
+
colors: string[];
|
|
50
|
+
enable: string;
|
|
51
|
+
diffenable: string | boolean;
|
|
52
|
+
logFn: DebugLogger["logFn"];
|
|
53
|
+
destroyAll: () => void;
|
|
54
|
+
isChannelEnabled: typeof isChannelEnabled;
|
|
55
|
+
onLogIntent: (channel: string, fn: (options: {
|
|
56
|
+
timestamp: number;
|
|
57
|
+
channel: string;
|
|
58
|
+
color: string;
|
|
59
|
+
args: any[];
|
|
60
|
+
}) => void) => VoidFunction;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
interface LogFn {
|
|
64
|
+
(...args: any[]): void;
|
|
65
|
+
extend: (channelName: string) => LogFn;
|
|
66
|
+
}
|
|
67
|
+
declare class Logger {
|
|
68
|
+
debug: LogFn;
|
|
69
|
+
error: LogFn;
|
|
70
|
+
constructor(channelName: string);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
interface Size {
|
|
74
|
+
width: number;
|
|
75
|
+
height: number;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
interface ScrollPosition {
|
|
79
|
+
scrollTop: number;
|
|
80
|
+
scrollLeft: number;
|
|
81
|
+
}
|
|
82
|
+
type OnScrollFn = (scrollPosition: ScrollPosition) => void;
|
|
83
|
+
|
|
84
|
+
type RenderRange = {
|
|
85
|
+
renderStartIndex: number;
|
|
86
|
+
renderEndIndex: number;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
type VoidFn$1 = () => void;
|
|
90
|
+
|
|
91
|
+
type SubscriptionCallbackOnChangeFn<T> = (node: T | null) => void;
|
|
92
|
+
interface SubscriptionCallback<T> {
|
|
93
|
+
(node: T, callback?: () => void): void;
|
|
94
|
+
get: () => T | null;
|
|
95
|
+
destroy: VoidFn$1;
|
|
96
|
+
onChange: (fn: SubscriptionCallbackOnChangeFn<T>) => VoidFn$1;
|
|
97
|
+
getListenersCount: () => number;
|
|
98
|
+
}
|
|
99
|
+
|
|
30
100
|
type ToPath<T> = (data: T) => string[];
|
|
31
101
|
type ToTreeDataArrayOptions<T, RESULT_T> = {
|
|
32
102
|
nodesKey: keyof RESULT_T;
|
|
@@ -35,7 +105,7 @@ type ToTreeDataArrayOptions<T, RESULT_T> = {
|
|
|
35
105
|
};
|
|
36
106
|
declare function toTreeDataArray<T = any, RESULT_T = any>(data: T[], options: ToTreeDataArrayOptions<T, RESULT_T>): RESULT_T[];
|
|
37
107
|
|
|
38
|
-
type VoidFn
|
|
108
|
+
type VoidFn = () => void;
|
|
39
109
|
type Pair<KeyType, ValueType> = {
|
|
40
110
|
value?: ValueType;
|
|
41
111
|
map?: Map<KeyType, Pair<KeyType, ValueType>>;
|
|
@@ -54,7 +124,7 @@ type StartingWithMethodOptionsWithOrder = {
|
|
|
54
124
|
depthLimit?: number;
|
|
55
125
|
respectOrder?: boolean;
|
|
56
126
|
};
|
|
57
|
-
type DeepMapVisitFn<KeyType, ValueType, ReturnType = void> = (pair: Pair<KeyType, ValueType>, keys: KeyType[], next: VoidFn
|
|
127
|
+
type DeepMapVisitFn<KeyType, ValueType, ReturnType = void> = (pair: Pair<KeyType, ValueType>, keys: KeyType[], next: VoidFn) => ReturnType;
|
|
58
128
|
declare class DeepMap<KeyType, ValueType> {
|
|
59
129
|
private map;
|
|
60
130
|
private length;
|
|
@@ -95,8 +165,8 @@ declare class DeepMap<KeyType, ValueType> {
|
|
|
95
165
|
has(keys: KeyType[]): boolean;
|
|
96
166
|
private visitKey;
|
|
97
167
|
visit: (fn: DeepMapVisitFn<KeyType, ValueType>) => void;
|
|
98
|
-
visitSome: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn
|
|
99
|
-
visitDepthFirst: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn
|
|
168
|
+
visitSome: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn) => boolean) => void;
|
|
169
|
+
visitDepthFirst: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn) => void) => void;
|
|
100
170
|
private visitWithNext;
|
|
101
171
|
private getArray;
|
|
102
172
|
rawKeysAt(keys: KeyType[]): KeyType[];
|
|
@@ -233,7 +303,7 @@ type TreeDataSourceOnlyProps<T> = {
|
|
|
233
303
|
isNodeExpanded?: DataSourcePropIsNodeExpanded<T>;
|
|
234
304
|
isNodeCollapsed?: never;
|
|
235
305
|
});
|
|
236
|
-
type DataSourcePropsNotAvailableInTreeDataSource = keyof Pick<DataSourceProps<any>, 'groupBy' | 'defaultGroupBy' | 'nodesKey' | 'defaultGroupRowsState' | 'groupRowsState' | 'onGroupRowsStateChange' | 'onGroupByChange' | 'collapseGroupRowsOnDataFunctionChange' | 'livePagination' | 'onLivePaginationCursorChange' | '
|
|
306
|
+
type DataSourcePropsNotAvailableInTreeDataSource = keyof Pick<DataSourceProps<any>, 'groupBy' | 'defaultGroupBy' | 'nodesKey' | 'defaultGroupRowsState' | 'groupRowsState' | 'onGroupRowsStateChange' | 'onGroupByChange' | 'collapseGroupRowsOnDataFunctionChange' | 'livePagination' | 'onLivePaginationCursorChange' | 'filterFunction' | 'onPivotByChange' | 'pivotBy' | 'defaultPivotBy' | 'selectionMode' | 'rowSelection' | 'defaultRowSelection'>;
|
|
237
307
|
type TreeDataSourceProps<T> = Omit<DataSourceProps<T>, DataSourcePropsNotAvailableInTreeDataSource> & TreeDataSourceOnlyProps<T>;
|
|
238
308
|
|
|
239
309
|
declare function TreeDataSource<T>(props: TreeDataSourceProps<T>): React$1.JSX.Element;
|
|
@@ -346,62 +416,6 @@ type TreeGridOnlyProps<_T> = {};
|
|
|
346
416
|
type InfiniteTablePropsNotAvailableInTreeGrid = keyof Pick<InfiniteTableProps<any>, 'pivotColumns' | 'pivotColumnGroups' | 'pivotTotalColumnPosition' | 'pivotGrandTotalColumnPosition' | 'groupColumn' | 'groupRenderStrategy' | 'hideEmptyGroupColumns' | 'showSeparatePivotColumnForSingleAggregation' | 'isRowDetailExpanded' | 'isRowDetailEnabled' | 'rowDetailCache' | 'rowDetailState' | 'defaultRowDetailState' | 'onRowDetailStateChange' | 'rowDetailHeight' | 'rowDetailRenderer' | 'groupRenderStrategy'>;
|
|
347
417
|
type TreeGridProps<T> = Omit<InfiniteTableProps<T>, InfiniteTablePropsNotAvailableInTreeGrid> & TreeGridOnlyProps<T>;
|
|
348
418
|
|
|
349
|
-
type DebugLogger = {
|
|
350
|
-
(...args: any[]): void;
|
|
351
|
-
extend: (channelName: string) => DebugLogger;
|
|
352
|
-
color: (colorName: string, ...message: string[]) => [string, string];
|
|
353
|
-
enabled: boolean;
|
|
354
|
-
channel: string;
|
|
355
|
-
destroy: () => void;
|
|
356
|
-
logFn: undefined | ((...args: any[]) => void);
|
|
357
|
-
};
|
|
358
|
-
/**
|
|
359
|
-
* Returns whether logging is enabled for a specific channel
|
|
360
|
-
*
|
|
361
|
-
* @param channel the name of a specific channel like "a:b:c" - cannot contain wildcards
|
|
362
|
-
* @param permissions we accept values like "a:b:c,d:e:f,d:x:*" - multiple values separated by a comma. can also contain wildcards
|
|
363
|
-
* @returns boolean
|
|
364
|
-
*/
|
|
365
|
-
declare function isChannelEnabled(channel: string, permissions: string): boolean;
|
|
366
|
-
declare const debug: {
|
|
367
|
-
(channelName: string): DebugLogger;
|
|
368
|
-
colors: string[];
|
|
369
|
-
enable: string;
|
|
370
|
-
diffenable: string | boolean;
|
|
371
|
-
logFn: DebugLogger["logFn"];
|
|
372
|
-
destroyAll: () => void;
|
|
373
|
-
isChannelEnabled: typeof isChannelEnabled;
|
|
374
|
-
onLogIntent: (channel: string, fn: (options: {
|
|
375
|
-
timestamp: number;
|
|
376
|
-
channel: string;
|
|
377
|
-
color: string;
|
|
378
|
-
args: any[];
|
|
379
|
-
}) => void) => VoidFunction;
|
|
380
|
-
};
|
|
381
|
-
|
|
382
|
-
interface LogFn {
|
|
383
|
-
(...args: any[]): void;
|
|
384
|
-
extend: (channelName: string) => LogFn;
|
|
385
|
-
}
|
|
386
|
-
declare class Logger {
|
|
387
|
-
debug: LogFn;
|
|
388
|
-
error: LogFn;
|
|
389
|
-
constructor(channelName: string);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
interface ScrollPosition {
|
|
393
|
-
scrollTop: number;
|
|
394
|
-
scrollLeft: number;
|
|
395
|
-
}
|
|
396
|
-
type OnScrollFn = (scrollPosition: ScrollPosition) => void;
|
|
397
|
-
|
|
398
|
-
interface Size {
|
|
399
|
-
width: number;
|
|
400
|
-
height: number;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
type VoidFn = () => void;
|
|
404
|
-
|
|
405
419
|
type TableRenderRange = {
|
|
406
420
|
start: [number, number];
|
|
407
421
|
end: [number, number];
|
|
@@ -753,7 +767,7 @@ declare class MatrixBrain extends Logger implements IBrain {
|
|
|
753
767
|
onHorizontalRenderRangeChange: (fn: FnOnDirectionalRenderRangeChange) => () => void;
|
|
754
768
|
onRenderCountChange: (fn: FnOnRenderCountChange) => () => void;
|
|
755
769
|
onAvailableSizeChange: (fn: OnAvailableSizeChange) => () => void;
|
|
756
|
-
onDestroy: (fn: VoidFn) => () => void;
|
|
770
|
+
onDestroy: (fn: VoidFn$1) => () => void;
|
|
757
771
|
getAvailableSize: () => {
|
|
758
772
|
width: number;
|
|
759
773
|
height: number;
|
|
@@ -2011,15 +2025,6 @@ type MultiSelectRangeOptions = {
|
|
|
2011
2025
|
columnsPerSet: number;
|
|
2012
2026
|
};
|
|
2013
2027
|
|
|
2014
|
-
type SubscriptionCallbackOnChangeFn<T> = (node: T | null) => void;
|
|
2015
|
-
interface SubscriptionCallback<T> {
|
|
2016
|
-
(node: T, callback?: () => void): void;
|
|
2017
|
-
get: () => T | null;
|
|
2018
|
-
destroy: VoidFn;
|
|
2019
|
-
onChange: (fn: SubscriptionCallbackOnChangeFn<T>) => VoidFn;
|
|
2020
|
-
getListenersCount: () => number;
|
|
2021
|
-
}
|
|
2022
|
-
|
|
2023
2028
|
declare class ScrollListener {
|
|
2024
2029
|
private scrollPosition;
|
|
2025
2030
|
private onScrollFns;
|
|
@@ -2323,6 +2328,7 @@ interface InfiniteTableMappedState<T> {
|
|
|
2323
2328
|
hideEmptyGroupColumns: NonUndefined<InfiniteTableProps<T>['hideEmptyGroupColumns']>;
|
|
2324
2329
|
hideColumnWhenGrouped: NonUndefined<InfiniteTableProps<T>['hideColumnWhenGrouped']>;
|
|
2325
2330
|
keyboardSelection: NonUndefined<InfiniteTableProps<T>['keyboardSelection']>;
|
|
2331
|
+
multiRowSelectionWith: NonUndefined<InfiniteTableProps<T>['multiRowSelectionWith']>;
|
|
2326
2332
|
columnOrder: NonUndefined<InfiniteTableProps<T>['columnOrder']>;
|
|
2327
2333
|
showZebraRows: NonUndefined<InfiniteTableProps<T>['showZebraRows']>;
|
|
2328
2334
|
showHoverRows: NonUndefined<InfiniteTableProps<T>['showHoverRows']>;
|
|
@@ -2704,21 +2710,76 @@ declare class MultiCellSelector {
|
|
|
2704
2710
|
selectRange(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex, options: MultiSelectRangeOptions): void;
|
|
2705
2711
|
}
|
|
2706
2712
|
|
|
2713
|
+
type MultiRowSelectorRow = {
|
|
2714
|
+
id: any;
|
|
2715
|
+
isGroupRow: boolean;
|
|
2716
|
+
/**
|
|
2717
|
+
* For group rows, the keys of the group (including its own key).
|
|
2718
|
+
* For other rows in a grouped datasource, the keys of the parent groups.
|
|
2719
|
+
*/
|
|
2720
|
+
groupKeys?: any[];
|
|
2721
|
+
collapsed?: boolean;
|
|
2722
|
+
rowDisabled?: boolean;
|
|
2723
|
+
/**
|
|
2724
|
+
* False for rows of a lazy datasource that are not loaded yet.
|
|
2725
|
+
*/
|
|
2726
|
+
selfLoaded?: boolean;
|
|
2727
|
+
/**
|
|
2728
|
+
* For tree nodes, the path of the node (including its own key).
|
|
2729
|
+
*/
|
|
2730
|
+
nodePath?: any[];
|
|
2731
|
+
isParentNode?: boolean;
|
|
2732
|
+
nodeExpanded?: boolean;
|
|
2733
|
+
};
|
|
2707
2734
|
type MultiRowSelectorOptions = {
|
|
2708
|
-
|
|
2709
|
-
|
|
2735
|
+
getRowAt: (index: number) => MultiRowSelectorRow | null | undefined;
|
|
2736
|
+
/**
|
|
2737
|
+
* For tree nodes - whether the node can be selected.
|
|
2738
|
+
*/
|
|
2739
|
+
isNodeSelectable?: (row: MultiRowSelectorRow) => boolean;
|
|
2710
2740
|
};
|
|
2741
|
+
/**
|
|
2742
|
+
* Applies click, cmd/ctrl+click and shift+click selection to a RowSelectionState,
|
|
2743
|
+
* or to a TreeSelectionState for tree data - where parent nodes work like group rows.
|
|
2744
|
+
*
|
|
2745
|
+
* A range (shift+click) covers the rows displayed from the anchor to the clicked row: normal rows
|
|
2746
|
+
* and collapsed group rows (as a whole) are selected, while an expanded group row with its
|
|
2747
|
+
* children displayed follows them, so only its rows inside the range are selected. The anchor row
|
|
2748
|
+
* keeps what its own click selected - a group row anchor stays selected as a whole.
|
|
2749
|
+
*/
|
|
2711
2750
|
declare class MultiRowSelector {
|
|
2712
|
-
|
|
2713
|
-
isRowDisabledAt: MultiRowSelectorOptions['isRowDisabledAt'];
|
|
2751
|
+
getRowAt: MultiRowSelectorOptions['getRowAt'];
|
|
2714
2752
|
multiSelectStartIndex: number;
|
|
2715
2753
|
multiSelectEndIndex?: number;
|
|
2754
|
+
/**
|
|
2755
|
+
* Checkbox changes don't carry the modifier keys, so the last cell pointer down
|
|
2756
|
+
* is kept to find out if shift was pressed when a selection checkbox was clicked.
|
|
2757
|
+
*/
|
|
2758
|
+
lastPointerDown?: {
|
|
2759
|
+
rowIndex: number;
|
|
2760
|
+
shiftKey: boolean;
|
|
2761
|
+
};
|
|
2762
|
+
isNodeSelectable: NonNullable<MultiRowSelectorOptions['isNodeSelectable']>;
|
|
2716
2763
|
_rowSelectionState: RowSelectionState;
|
|
2764
|
+
_treeSelectionState?: TreeSelectionState;
|
|
2717
2765
|
constructor(options: MultiRowSelectorOptions);
|
|
2718
2766
|
set rowSelectionState(rowSelectionState: RowSelectionState);
|
|
2719
2767
|
get rowSelectionState(): RowSelectionState;
|
|
2720
|
-
|
|
2721
|
-
|
|
2768
|
+
set treeSelectionState(treeSelectionState: TreeSelectionState | undefined);
|
|
2769
|
+
get treeSelectionState(): TreeSelectionState | undefined;
|
|
2770
|
+
private deselectAll;
|
|
2771
|
+
private isContainerRow;
|
|
2772
|
+
private isExpanded;
|
|
2773
|
+
private getPath;
|
|
2774
|
+
private getGroupKeys;
|
|
2775
|
+
private setSelectedAt;
|
|
2776
|
+
isSelectedAt(index: number): boolean | null;
|
|
2777
|
+
private setRangeSelected;
|
|
2778
|
+
/**
|
|
2779
|
+
* Pivot group rows, lazy groups whose children are not loaded and parent nodes without children
|
|
2780
|
+
* are expanded without any children displayed - those are selected as a whole.
|
|
2781
|
+
*/
|
|
2782
|
+
private isFollowedByItsChildren;
|
|
2722
2783
|
/**
|
|
2723
2784
|
* This is the single click, without any modifier
|
|
2724
2785
|
*/
|
|
@@ -2728,6 +2789,11 @@ declare class MultiRowSelector {
|
|
|
2728
2789
|
* @param index
|
|
2729
2790
|
*/
|
|
2730
2791
|
singleAddClick(index: number): void;
|
|
2792
|
+
/**
|
|
2793
|
+
* This is the click with shift key pressed - selects the range from the anchor
|
|
2794
|
+
* (the last click or cmd/ctrl+click) to the given index,
|
|
2795
|
+
* replacing the range selected by the previous shift+click from the same anchor.
|
|
2796
|
+
*/
|
|
2731
2797
|
multiSelectClick(index: number): void;
|
|
2732
2798
|
}
|
|
2733
2799
|
|
|
@@ -2887,11 +2953,6 @@ type NestedMultiSortOptions<T> = {
|
|
|
2887
2953
|
};
|
|
2888
2954
|
declare const multisortNested: <T>(sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], options: NestedMultiSortOptions<T>) => T[];
|
|
2889
2955
|
|
|
2890
|
-
type RenderRange = {
|
|
2891
|
-
renderStartIndex: number;
|
|
2892
|
-
renderEndIndex: number;
|
|
2893
|
-
};
|
|
2894
|
-
|
|
2895
2956
|
type DataSourceMutation<T> = {
|
|
2896
2957
|
type: 'delete';
|
|
2897
2958
|
primaryKey: any;
|
|
@@ -3315,9 +3376,13 @@ interface DataSourceSetupState<T> {
|
|
|
3315
3376
|
mutations?: Map<string, DataSourceMutation<T>[]>;
|
|
3316
3377
|
treeMutations?: DeepMap<any, DataSourceMutation<T>[]>;
|
|
3317
3378
|
};
|
|
3318
|
-
|
|
3379
|
+
/**
|
|
3380
|
+
* A failed batch stays in the cache as `'failed'` until the render range
|
|
3381
|
+
* changes - see `releaseFailedLazyBatches`.
|
|
3382
|
+
*/
|
|
3383
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | 'failed'>;
|
|
3319
3384
|
pivotMappings?: DataSourceMappings;
|
|
3320
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
3385
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
3321
3386
|
showSeparatePivotColumnForSingleAggregation: boolean;
|
|
3322
3387
|
dataParams?: DataSourceDataParams<T>;
|
|
3323
3388
|
originalLazyGroupData: LazyGroupDataDeepMap<T>;
|
|
@@ -3553,18 +3618,6 @@ type DataSourceProps<T> = {
|
|
|
3553
3618
|
onLivePaginationCursorChange?: (livePaginationCursor: DataSourceLivePaginationCursorValue) => void;
|
|
3554
3619
|
filterFunction?: DataSourcePropFilterFunction<T>;
|
|
3555
3620
|
treeFilterFunction?: DataSourcePropTreeFilterFunction<T>;
|
|
3556
|
-
/**
|
|
3557
|
-
* @deprecated Use shouldReloadData.sortInfo instead
|
|
3558
|
-
*/
|
|
3559
|
-
sortMode?: 'local' | 'remote';
|
|
3560
|
-
/**
|
|
3561
|
-
* @deprecated Use shouldReloadData.filterValue instead
|
|
3562
|
-
*/
|
|
3563
|
-
filterMode?: 'local' | 'remote';
|
|
3564
|
-
/**
|
|
3565
|
-
* @deprecated Use shouldReloadData.groupBy instead
|
|
3566
|
-
*/
|
|
3567
|
-
groupMode?: 'local' | 'remote';
|
|
3568
3621
|
shouldReloadData?: DataSourcePropShouldReloadData<T>;
|
|
3569
3622
|
filterValue?: DataSourcePropFilterValue<T>;
|
|
3570
3623
|
defaultFilterValue?: DataSourcePropFilterValue<T>;
|
|
@@ -3601,16 +3654,31 @@ type DataSourceProps<T> = {
|
|
|
3601
3654
|
type DataSourcePropsWithChildren<T> = DataSourceProps<T> & {};
|
|
3602
3655
|
type DataSourcePropSortTypes = Record<string, (first: any, second: any) => number>;
|
|
3603
3656
|
type DataSourcePropFilterTypes<T> = Record<string, DataSourceFilterType<T>>;
|
|
3604
|
-
type
|
|
3657
|
+
type DataSourceFilterRowParam<T> = {
|
|
3605
3658
|
data: T;
|
|
3606
3659
|
index: number;
|
|
3607
3660
|
dataArray: T[];
|
|
3608
3661
|
primaryKey: any;
|
|
3609
3662
|
};
|
|
3663
|
+
type DataSourceFilterFunctionParam<T> = DataSourceFilterRowParam<T> & {
|
|
3664
|
+
/**
|
|
3665
|
+
* The current column filters - pass the param to `defaultFilterFunction`
|
|
3666
|
+
* to apply them.
|
|
3667
|
+
*/
|
|
3668
|
+
filterValue: DataSourcePropFilterValue<T>;
|
|
3669
|
+
filterTypes: DataSourcePropFilterTypes<T>;
|
|
3670
|
+
};
|
|
3610
3671
|
type DataSourcePropFilterFunction<T> = (filterParam: DataSourceFilterFunctionParam<T>) => boolean;
|
|
3611
|
-
type
|
|
3672
|
+
type DataSourceTreeFilterFunctionParam<T> = DataSourceFilterFunctionParam<T> & {
|
|
3673
|
+
/**
|
|
3674
|
+
* Filters the children of a parent node with the same tree filter function:
|
|
3675
|
+
* returns a copy of the node with only the kept children, or `false` when
|
|
3676
|
+
* no child is kept.
|
|
3677
|
+
*/
|
|
3612
3678
|
filterTreeNode: (data: T) => T | boolean;
|
|
3613
|
-
|
|
3679
|
+
isLeafNode: boolean;
|
|
3680
|
+
};
|
|
3681
|
+
type DataSourcePropTreeFilterFunction<T> = (filterParam: DataSourceTreeFilterFunctionParam<T>) => T | boolean;
|
|
3614
3682
|
type DataSourcePropFilterValue<T> = DataSourceFilterValueItem<T>[];
|
|
3615
3683
|
type DataSourceFilterValueItem<T> = DiscriminatedUnion<{
|
|
3616
3684
|
field: keyof T;
|
|
@@ -3625,7 +3693,7 @@ type DataSourceFilterValueItem<T> = DiscriminatedUnion<{
|
|
|
3625
3693
|
};
|
|
3626
3694
|
disabled?: boolean;
|
|
3627
3695
|
};
|
|
3628
|
-
type DataSourceFilterValueItemValueGetter<T> = (param:
|
|
3696
|
+
type DataSourceFilterValueItemValueGetter<T> = (param: DataSourceFilterRowParam<T> & {
|
|
3629
3697
|
field?: keyof T;
|
|
3630
3698
|
}) => any;
|
|
3631
3699
|
type DataSourceFilterType<T> = {
|
|
@@ -3655,7 +3723,7 @@ type DataSourceFilterOperatorFunctionParam<T> = {
|
|
|
3655
3723
|
filterValue: any;
|
|
3656
3724
|
emptyValues: any[];
|
|
3657
3725
|
field?: keyof T;
|
|
3658
|
-
} &
|
|
3726
|
+
} & DataSourceFilterRowParam<T>;
|
|
3659
3727
|
type DataSourcePropLivePaginationCursor<T> = DataSourceLivePaginationCursorValue | DataSourceLivePaginationCursorFn<T>;
|
|
3660
3728
|
type DataSourceLivePaginationCursorFn<T> = (params: DataSourceLivePaginationCursorParams<T>) => DataSourceLivePaginationCursorValue;
|
|
3661
3729
|
type DataSourceLivePaginationCursorParams<T> = {
|
|
@@ -3676,8 +3744,6 @@ type DataSourceDerivedState<T> = {
|
|
|
3676
3744
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<T>>>;
|
|
3677
3745
|
sortMode: 'local' | 'remote';
|
|
3678
3746
|
filterMode: 'local' | 'remote';
|
|
3679
|
-
groupMode: 'local' | 'remote';
|
|
3680
|
-
pivotMode: 'local' | 'remote';
|
|
3681
3747
|
shouldReloadData: NonUndefined<Required<DataSourcePropShouldReloadDataObject<T>>>;
|
|
3682
3748
|
groupRowsState: GroupRowsState<T>;
|
|
3683
3749
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -3726,10 +3792,29 @@ declare const defaultFilterTypes: Record<string, DataSourceFilterType<any>>;
|
|
|
3726
3792
|
|
|
3727
3793
|
declare function useDataSourceState<T extends unknown>(selector: (ctx: DataSourceState<any>) => T): T;
|
|
3728
3794
|
|
|
3795
|
+
/**
|
|
3796
|
+
* The built-in column filtering, for one row: whether the row matches every
|
|
3797
|
+
* active item of `filterValue`.
|
|
3798
|
+
*
|
|
3799
|
+
* Passing it as `filterFunction` is exactly the built-in local filtering.
|
|
3800
|
+
* Compose it to combine your own filtering with the column filters:
|
|
3801
|
+
*
|
|
3802
|
+
* ```ts
|
|
3803
|
+
* filterFunction={(param) => defaultFilterFunction(param) && param.data.age > 30}
|
|
3804
|
+
* ```
|
|
3805
|
+
*/
|
|
3806
|
+
declare function defaultFilterFunction<T>(param: DataSourceFilterFunctionParam<T>): boolean;
|
|
3807
|
+
/**
|
|
3808
|
+
* The built-in column filtering for tree data: leaf nodes are matched with
|
|
3809
|
+
* `defaultFilterFunction`; a parent node is kept (with only its kept children)
|
|
3810
|
+
* when at least one of its descendants is kept. The fields of parent nodes are
|
|
3811
|
+
* not matched against the filters.
|
|
3812
|
+
*/
|
|
3813
|
+
declare function defaultTreeFilterFunction<T>(param: DataSourceTreeFilterFunctionParam<T>): T | boolean;
|
|
3814
|
+
|
|
3729
3815
|
type FilterDataSourceParams<T> = {
|
|
3730
3816
|
marker?: PerfMarker;
|
|
3731
3817
|
dataArray: T[];
|
|
3732
|
-
operatorsByFilterType: DataSourceDerivedState<T>['operatorsByFilterType'];
|
|
3733
3818
|
filterTypes: DataSourcePropFilterTypes<T>;
|
|
3734
3819
|
filterFunction?: DataSourcePropFilterFunction<T>;
|
|
3735
3820
|
filterValue?: DataSourcePropFilterValue<T>;
|
|
@@ -3739,6 +3824,15 @@ type FilterDataSourceParams<T> = {
|
|
|
3739
3824
|
getNodeChildren: undefined | ((item: T) => null | T[]);
|
|
3740
3825
|
nodesKey: string | undefined;
|
|
3741
3826
|
};
|
|
3827
|
+
/**
|
|
3828
|
+
* Filters the data array locally.
|
|
3829
|
+
*
|
|
3830
|
+
* A `filterFunction` (or, for tree data, a `treeFilterFunction`) replaces the
|
|
3831
|
+
* built-in column filtering - compose it with `defaultFilterFunction` to keep
|
|
3832
|
+
* the column filters. Without a filter function, the column filters
|
|
3833
|
+
* (`filterValue`) are applied - on tree data, they are matched against the leaf
|
|
3834
|
+
* nodes and a parent is kept when any of its descendants is kept.
|
|
3835
|
+
*/
|
|
3742
3836
|
declare function filterDataArray<T>(params: FilterDataSourceParams<T>): T[];
|
|
3743
3837
|
|
|
3744
3838
|
/**
|
|
@@ -3804,9 +3898,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3804
3898
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
3805
3899
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
3806
3900
|
};
|
|
3807
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3901
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
3808
3902
|
pivotMappings?: never;
|
|
3809
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
3903
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
3810
3904
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3811
3905
|
dataParams?: never;
|
|
3812
3906
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3851,8 +3945,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3851
3945
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
3852
3946
|
sortMode: never;
|
|
3853
3947
|
filterMode: never;
|
|
3854
|
-
groupMode: never;
|
|
3855
|
-
pivotMode: never;
|
|
3856
3948
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
3857
3949
|
groupRowsState: GroupRowsState<unknown>;
|
|
3858
3950
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -3947,9 +4039,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3947
4039
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
3948
4040
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
3949
4041
|
};
|
|
3950
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4042
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
3951
4043
|
pivotMappings?: never;
|
|
3952
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
4044
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
3953
4045
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3954
4046
|
dataParams?: never;
|
|
3955
4047
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3994,8 +4086,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
3994
4086
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
3995
4087
|
sortMode: never;
|
|
3996
4088
|
filterMode: never;
|
|
3997
|
-
groupMode: never;
|
|
3998
|
-
pivotMode: never;
|
|
3999
4089
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
4000
4090
|
groupRowsState: GroupRowsState<unknown>;
|
|
4001
4091
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -4090,9 +4180,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4090
4180
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
4091
4181
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
4092
4182
|
};
|
|
4093
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4183
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
4094
4184
|
pivotMappings?: never;
|
|
4095
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
4185
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
4096
4186
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4097
4187
|
dataParams?: never;
|
|
4098
4188
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4137,8 +4227,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4137
4227
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
4138
4228
|
sortMode: never;
|
|
4139
4229
|
filterMode: never;
|
|
4140
|
-
groupMode: never;
|
|
4141
|
-
pivotMode: never;
|
|
4142
4230
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
4143
4231
|
groupRowsState: GroupRowsState<unknown>;
|
|
4144
4232
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -4234,9 +4322,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4234
4322
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
4235
4323
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
4236
4324
|
};
|
|
4237
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4325
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
4238
4326
|
pivotMappings?: never;
|
|
4239
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
4327
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
4240
4328
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4241
4329
|
dataParams?: never;
|
|
4242
4330
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4281,8 +4369,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4281
4369
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
4282
4370
|
sortMode: never;
|
|
4283
4371
|
filterMode: never;
|
|
4284
|
-
groupMode: never;
|
|
4285
|
-
pivotMode: never;
|
|
4286
4372
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
4287
4373
|
groupRowsState: GroupRowsState<unknown>;
|
|
4288
4374
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -4377,9 +4463,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4377
4463
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
4378
4464
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
4379
4465
|
};
|
|
4380
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4466
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
4381
4467
|
pivotMappings?: never;
|
|
4382
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
4468
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
4383
4469
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4384
4470
|
dataParams?: never;
|
|
4385
4471
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4424,8 +4510,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4424
4510
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
4425
4511
|
sortMode: never;
|
|
4426
4512
|
filterMode: never;
|
|
4427
|
-
groupMode: never;
|
|
4428
|
-
pivotMode: never;
|
|
4429
4513
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
4430
4514
|
groupRowsState: GroupRowsState<unknown>;
|
|
4431
4515
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -4520,9 +4604,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4520
4604
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
4521
4605
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
4522
4606
|
};
|
|
4523
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4607
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
4524
4608
|
pivotMappings?: never;
|
|
4525
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
4609
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
4526
4610
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4527
4611
|
dataParams?: never;
|
|
4528
4612
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4567,8 +4651,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4567
4651
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
4568
4652
|
sortMode: never;
|
|
4569
4653
|
filterMode: never;
|
|
4570
|
-
groupMode: never;
|
|
4571
|
-
pivotMode: never;
|
|
4572
4654
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
4573
4655
|
groupRowsState: GroupRowsState<unknown>;
|
|
4574
4656
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -4664,9 +4746,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4664
4746
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
4665
4747
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
4666
4748
|
};
|
|
4667
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4749
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
4668
4750
|
pivotMappings?: never;
|
|
4669
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
4751
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
4670
4752
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4671
4753
|
dataParams?: never;
|
|
4672
4754
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4711,8 +4793,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4711
4793
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
4712
4794
|
sortMode: never;
|
|
4713
4795
|
filterMode: never;
|
|
4714
|
-
groupMode: never;
|
|
4715
|
-
pivotMode: never;
|
|
4716
4796
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
4717
4797
|
groupRowsState: GroupRowsState<unknown>;
|
|
4718
4798
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -4807,9 +4887,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4807
4887
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
4808
4888
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
4809
4889
|
};
|
|
4810
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4890
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
4811
4891
|
pivotMappings?: never;
|
|
4812
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
4892
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
4813
4893
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4814
4894
|
dataParams?: never;
|
|
4815
4895
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4854,8 +4934,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4854
4934
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
4855
4935
|
sortMode: never;
|
|
4856
4936
|
filterMode: never;
|
|
4857
|
-
groupMode: never;
|
|
4858
|
-
pivotMode: never;
|
|
4859
4937
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
4860
4938
|
groupRowsState: GroupRowsState<unknown>;
|
|
4861
4939
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -4950,9 +5028,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4950
5028
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
4951
5029
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
4952
5030
|
};
|
|
4953
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5031
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
4954
5032
|
pivotMappings?: never;
|
|
4955
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
5033
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
4956
5034
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4957
5035
|
dataParams?: never;
|
|
4958
5036
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4997,8 +5075,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
4997
5075
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
4998
5076
|
sortMode: never;
|
|
4999
5077
|
filterMode: never;
|
|
5000
|
-
groupMode: never;
|
|
5001
|
-
pivotMode: never;
|
|
5002
5078
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
5003
5079
|
groupRowsState: GroupRowsState<unknown>;
|
|
5004
5080
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -5094,9 +5170,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5094
5170
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
5095
5171
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
5096
5172
|
};
|
|
5097
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5173
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
5098
5174
|
pivotMappings?: never;
|
|
5099
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
5175
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
5100
5176
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5101
5177
|
dataParams?: never;
|
|
5102
5178
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5141,8 +5217,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5141
5217
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
5142
5218
|
sortMode: never;
|
|
5143
5219
|
filterMode: never;
|
|
5144
|
-
groupMode: never;
|
|
5145
|
-
pivotMode: never;
|
|
5146
5220
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
5147
5221
|
groupRowsState: GroupRowsState<unknown>;
|
|
5148
5222
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -5237,9 +5311,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5237
5311
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
5238
5312
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
5239
5313
|
};
|
|
5240
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5314
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
5241
5315
|
pivotMappings?: never;
|
|
5242
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
5316
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
5243
5317
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5244
5318
|
dataParams?: never;
|
|
5245
5319
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5284,8 +5358,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5284
5358
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
5285
5359
|
sortMode: never;
|
|
5286
5360
|
filterMode: never;
|
|
5287
|
-
groupMode: never;
|
|
5288
|
-
pivotMode: never;
|
|
5289
5361
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
5290
5362
|
groupRowsState: GroupRowsState<unknown>;
|
|
5291
5363
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -5380,9 +5452,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5380
5452
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
5381
5453
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
5382
5454
|
};
|
|
5383
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5455
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
5384
5456
|
pivotMappings?: never;
|
|
5385
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
5457
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
5386
5458
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5387
5459
|
dataParams?: never;
|
|
5388
5460
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5427,8 +5499,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5427
5499
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
5428
5500
|
sortMode: never;
|
|
5429
5501
|
filterMode: never;
|
|
5430
|
-
groupMode: never;
|
|
5431
|
-
pivotMode: never;
|
|
5432
5502
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
5433
5503
|
groupRowsState: GroupRowsState<unknown>;
|
|
5434
5504
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -5524,9 +5594,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5524
5594
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
5525
5595
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
5526
5596
|
};
|
|
5527
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5597
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
5528
5598
|
pivotMappings?: never;
|
|
5529
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
5599
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
5530
5600
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5531
5601
|
dataParams?: never;
|
|
5532
5602
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5571,8 +5641,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5571
5641
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
5572
5642
|
sortMode: never;
|
|
5573
5643
|
filterMode: never;
|
|
5574
|
-
groupMode: never;
|
|
5575
|
-
pivotMode: never;
|
|
5576
5644
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
5577
5645
|
groupRowsState: GroupRowsState<unknown>;
|
|
5578
5646
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -5667,9 +5735,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5667
5735
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
5668
5736
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
5669
5737
|
};
|
|
5670
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5738
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
5671
5739
|
pivotMappings?: never;
|
|
5672
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
5740
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
5673
5741
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5674
5742
|
dataParams?: never;
|
|
5675
5743
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5714,8 +5782,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5714
5782
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
5715
5783
|
sortMode: never;
|
|
5716
5784
|
filterMode: never;
|
|
5717
|
-
groupMode: never;
|
|
5718
|
-
pivotMode: never;
|
|
5719
5785
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
5720
5786
|
groupRowsState: GroupRowsState<unknown>;
|
|
5721
5787
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -5810,9 +5876,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5810
5876
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
5811
5877
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
5812
5878
|
};
|
|
5813
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5879
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
5814
5880
|
pivotMappings?: never;
|
|
5815
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
5881
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
5816
5882
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5817
5883
|
dataParams?: never;
|
|
5818
5884
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5857,8 +5923,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5857
5923
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
5858
5924
|
sortMode: never;
|
|
5859
5925
|
filterMode: never;
|
|
5860
|
-
groupMode: never;
|
|
5861
|
-
pivotMode: never;
|
|
5862
5926
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
5863
5927
|
groupRowsState: GroupRowsState<unknown>;
|
|
5864
5928
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -5955,9 +6019,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
5955
6019
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
5956
6020
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
5957
6021
|
};
|
|
5958
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
6022
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
5959
6023
|
pivotMappings?: never;
|
|
5960
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
6024
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
5961
6025
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5962
6026
|
dataParams?: never;
|
|
5963
6027
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -6002,8 +6066,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
6002
6066
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
6003
6067
|
sortMode: never;
|
|
6004
6068
|
filterMode: never;
|
|
6005
|
-
groupMode: never;
|
|
6006
|
-
pivotMode: never;
|
|
6007
6069
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
6008
6070
|
groupRowsState: GroupRowsState<unknown>;
|
|
6009
6071
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -6098,9 +6160,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
6098
6160
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
6099
6161
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
6100
6162
|
};
|
|
6101
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
6163
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
6102
6164
|
pivotMappings?: never;
|
|
6103
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
6165
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
6104
6166
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
6105
6167
|
dataParams?: never;
|
|
6106
6168
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -6145,8 +6207,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
6145
6207
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
6146
6208
|
sortMode: never;
|
|
6147
6209
|
filterMode: never;
|
|
6148
|
-
groupMode: never;
|
|
6149
|
-
pivotMode: never;
|
|
6150
6210
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
6151
6211
|
groupRowsState: GroupRowsState<unknown>;
|
|
6152
6212
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -6241,9 +6301,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
6241
6301
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
6242
6302
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
6243
6303
|
};
|
|
6244
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
6304
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
6245
6305
|
pivotMappings?: never;
|
|
6246
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
6306
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
6247
6307
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
6248
6308
|
dataParams?: never;
|
|
6249
6309
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -6288,8 +6348,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
6288
6348
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
6289
6349
|
sortMode: never;
|
|
6290
6350
|
filterMode: never;
|
|
6291
|
-
groupMode: never;
|
|
6292
|
-
pivotMode: never;
|
|
6293
6351
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
6294
6352
|
groupRowsState: GroupRowsState<unknown>;
|
|
6295
6353
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -6384,9 +6442,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
6384
6442
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
6385
6443
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
6386
6444
|
};
|
|
6387
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
6445
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
6388
6446
|
pivotMappings?: never;
|
|
6389
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
6447
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
6390
6448
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
6391
6449
|
dataParams?: never;
|
|
6392
6450
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -6431,8 +6489,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
6431
6489
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
6432
6490
|
sortMode: never;
|
|
6433
6491
|
filterMode: never;
|
|
6434
|
-
groupMode: never;
|
|
6435
|
-
pivotMode: never;
|
|
6436
6492
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
6437
6493
|
groupRowsState: GroupRowsState<unknown>;
|
|
6438
6494
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -6527,9 +6583,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
6527
6583
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
6528
6584
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
6529
6585
|
};
|
|
6530
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
6586
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
6531
6587
|
pivotMappings?: never;
|
|
6532
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
6588
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
6533
6589
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
6534
6590
|
dataParams?: never;
|
|
6535
6591
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -6574,8 +6630,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
6574
6630
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
6575
6631
|
sortMode: never;
|
|
6576
6632
|
filterMode: never;
|
|
6577
|
-
groupMode: never;
|
|
6578
|
-
pivotMode: never;
|
|
6579
6633
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
6580
6634
|
groupRowsState: GroupRowsState<unknown>;
|
|
6581
6635
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -6670,9 +6724,9 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
6670
6724
|
mutations?: Map<string, DataSourceMutation<unknown>[]> | undefined;
|
|
6671
6725
|
treeMutations?: DeepMap<any, DataSourceMutation<unknown>[]> | undefined;
|
|
6672
6726
|
};
|
|
6673
|
-
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
6727
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true | "failed">;
|
|
6674
6728
|
pivotMappings?: never;
|
|
6675
|
-
propsCache: Map<keyof DataSourceProps<T
|
|
6729
|
+
propsCache: Map<keyof (DataSourceProps<T> & TreeDataSourceProps<T>), WeakMap<any, any>>;
|
|
6676
6730
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
6677
6731
|
dataParams?: never;
|
|
6678
6732
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -6717,8 +6771,6 @@ declare const useManagedDataSource: (props: object) => {
|
|
|
6717
6771
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<unknown>>>;
|
|
6718
6772
|
sortMode: never;
|
|
6719
6773
|
filterMode: never;
|
|
6720
|
-
groupMode: never;
|
|
6721
|
-
pivotMode: never;
|
|
6722
6774
|
shouldReloadData: Required<DataSourcePropShouldReloadDataObject<unknown>>;
|
|
6723
6775
|
groupRowsState: GroupRowsState<unknown>;
|
|
6724
6776
|
treeExpandState: TreeExpandState<any>;
|
|
@@ -7923,6 +7975,7 @@ interface InfiniteTableProps<T> {
|
|
|
7923
7975
|
multiSortBehavior?: InfiniteTablePropMultiSortBehavior;
|
|
7924
7976
|
keyboardNavigation?: InfiniteTablePropKeyboardNavigation;
|
|
7925
7977
|
keyboardSelection?: InfiniteTablePropKeyboardSelection;
|
|
7978
|
+
multiRowSelectionWith?: InfiniteTablePropMultiRowSelectionWith;
|
|
7926
7979
|
defaultActiveRowIndex?: number | null;
|
|
7927
7980
|
activeRowIndex?: number | null;
|
|
7928
7981
|
onActiveRowIndexChange?: (activeRowIndex: number) => void;
|
|
@@ -8021,6 +8074,16 @@ type InfiniteTablePropGetFilterOperatorMenuItems<T> = (defaultItems: Exclude<Men
|
|
|
8021
8074
|
}) => MenuProps['items'];
|
|
8022
8075
|
type InfiniteTablePropKeyboardNavigation = 'cell' | 'row' | false;
|
|
8023
8076
|
type InfiniteTablePropKeyboardSelection = boolean;
|
|
8077
|
+
/**
|
|
8078
|
+
* How users select rows with multi-row selection:
|
|
8079
|
+
*
|
|
8080
|
+
* - `'checkbox'` (the default) - while a visible column shows a selection checkbox, rows are
|
|
8081
|
+
* selected with the checkboxes (and the spacebar); clicking a row doesn't select it.
|
|
8082
|
+
* Without a visible selection checkbox, it works like `'click'`.
|
|
8083
|
+
* - `'click'` - clicking a row selects it (with `cmd`/`ctrl` and `shift` as modifiers),
|
|
8084
|
+
* and the selection checkboxes, if any, work too.
|
|
8085
|
+
*/
|
|
8086
|
+
type InfiniteTablePropMultiRowSelectionWith = 'click' | 'checkbox';
|
|
8024
8087
|
type InfiniteTablePropHeaderOptions = {
|
|
8025
8088
|
alwaysReserveSpaceForSortIcon: boolean;
|
|
8026
8089
|
};
|
|
@@ -8505,4 +8568,4 @@ declare const components: {
|
|
|
8505
8568
|
NumberFilterEditor: typeof NumberFilterEditor;
|
|
8506
8569
|
};
|
|
8507
8570
|
|
|
8508
|
-
export { type AdvancedAlignable, AutoScroller, type AutoScrollerConfig, CellSelectionState, type CellSelectionStateObject, type ColumnTypeWithInherit, DRAG_ITEM_ATTRIBUTE, DataClient, 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, 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 DataSourcePropsNotAvailableInTreeDataSource, type DataSourcePropsWithChildren, type DataSourceRawReducer, type DataSourceRemoteData, type DataSourceRowInfoReducer, type DataSourceSetupState, type DataSourceSingleSortInfo, type DataSourceSortInfo, type DataSourceStableContextValue, type DataSourceState, type DataSourceUpdateParam, type DebugLogger, 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, DragDropProvider, type DragDropSourceAndTarget, DragInteractionTarget, DragList, type DragListProps, type DragProxyMoveParams, type DragProxyRenderParams, type DragProxySetupParams, type DragProxySetupResult, type ElementContainerGetter, type ErrorCodeKey, FixedSizeSet, FlashingColumnCell, GroupRowsState, INTERNAL_MatrixDebugger, 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, InfiniteTableComponent, type InfiniteTableComputedColumn, type InfiniteTableComputedValues, type InfiniteTableContextValue, type InfiniteTableDebugWarningKey, type InfiniteTableGroupColumnBase, type InfiniteTableGroupColumnFunction, type InfiniteTableGroupColumnGetterOptions, 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 InfiniteTablePropsNotAvailableInTreeGrid, 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, type MenuChildrenFnParam, type MenuColumn, type MenuColumnRenderParam, type MenuDecoration, type MenuIconProps, type MenuItemActionContext, type MenuItemDefinition, type MenuItemObject, type MenuProps, type MenuRenderable, type MenuRuntimeItem, type MenuRuntimeItemSelectable, type MenuSeparator, type OverlayShowParams, RowDetailCache, RowDetailState, type RowDetailStateObject, RowDisabledState, type RowDisabledStateObject, RowSelectionState, type ScrollStopInfo, type Scrollbars, type ShowOverlayFn, type TableRenderRange, TreeDataSource, type TreeDataSourceProps, TreeExpandState, type TreeExpandStateValue, TreeGrid, type TreeGridOnlyProps, type TreeGridProps, TreeSelectionState, type TreeSelectionStateObject, type TreeSelectionValue, type UpdateChildrenFn, type UpdateOverlayContentFn, type WaitForNodeOptions, WeakFixedSizeSet, alignNode, components, createDefaultProxy, createFlashingColumnCellComponent, debounce, debug, defaultDragProxyMove, defaultFilterTypes, eventMatchesKeyboardShortcut, filterDataArray, defaultFilterTypes as filterTypes, flatten, buildManagedComponent as getComponentStateRoot, group, interceptMap, keyboardShortcuts, multisort, multisortNested, queryKeyToCacheKey, toTreeDataArray, useManagedComponentState as useComponentState, useDataSourceApi, useDataSourceInternal, useDataSourceSelector, useDataSourceState, useDragDropProvider, useDragListContext, useEffectWhen, useEffectWhenSameDeps, useEffectWithChanges, useEffectWithObject, useGridScroll, useInfiniteColumnApi, useInfiniteColumnCell, useInfiniteColumnEditor, useInfiniteColumnFilterEditor, useInfiniteHeaderCell, useInfinitePortalContainer, useInfiniteTableApi, useLayoutEffectWithChanges, useManagedDataSource, useMasterRowInfo, useOverlay, useOverlayPortal, usePrevious, useRowInfoReducers, useVisibleColumnSizes, withSelectedLeafNodesOnly };
|
|
8571
|
+
export { type AdvancedAlignable, AutoScroller, type AutoScrollerConfig, CellSelectionState, type CellSelectionStateObject, type ColumnTypeWithInherit, DRAG_ITEM_ATTRIBUTE, DataClient, 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, 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 DataSourcePropsNotAvailableInTreeDataSource, type DataSourcePropsWithChildren, type DataSourceRawReducer, type DataSourceRemoteData, type DataSourceRowInfoReducer, type DataSourceSetupState, type DataSourceSingleSortInfo, type DataSourceSortInfo, type DataSourceStableContextValue, type DataSourceState, type DataSourceTreeFilterFunctionParam, type DataSourceUpdateParam, type DebugLogger, 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, DragDropProvider, type DragDropSourceAndTarget, DragInteractionTarget, DragList, type DragListProps, type DragProxyMoveParams, type DragProxyRenderParams, type DragProxySetupParams, type DragProxySetupResult, type ElementContainerGetter, type ErrorCodeKey, FixedSizeSet, FlashingColumnCell, GroupRowsState, INTERNAL_MatrixDebugger, 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, InfiniteTableComponent, type InfiniteTableComputedColumn, type InfiniteTableComputedValues, type InfiniteTableContextValue, type InfiniteTableDebugWarningKey, type InfiniteTableGroupColumnBase, type InfiniteTableGroupColumnFunction, type InfiniteTableGroupColumnGetterOptions, 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 InfiniteTablePropsNotAvailableInTreeGrid, 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, type MenuChildrenFnParam, type MenuColumn, type MenuColumnRenderParam, type MenuDecoration, type MenuIconProps, type MenuItemActionContext, type MenuItemDefinition, type MenuItemObject, type MenuProps, type MenuRenderable, type MenuRuntimeItem, type MenuRuntimeItemSelectable, type MenuSeparator, type OverlayShowParams, RowDetailCache, RowDetailState, type RowDetailStateObject, RowDisabledState, type RowDisabledStateObject, RowSelectionState, type ScrollStopInfo, type Scrollbars, type ShowOverlayFn, type TableRenderRange, TreeDataSource, type TreeDataSourceProps, TreeExpandState, type TreeExpandStateValue, TreeGrid, type TreeGridOnlyProps, type TreeGridProps, TreeSelectionState, type TreeSelectionStateObject, type TreeSelectionValue, type UpdateChildrenFn, type UpdateOverlayContentFn, type WaitForNodeOptions, WeakFixedSizeSet, alignNode, components, createDefaultProxy, createFlashingColumnCellComponent, debounce, debug, defaultDragProxyMove, defaultFilterFunction, defaultFilterTypes, defaultTreeFilterFunction, eventMatchesKeyboardShortcut, filterDataArray, defaultFilterTypes as filterTypes, flatten, buildManagedComponent as getComponentStateRoot, group, interceptMap, keyboardShortcuts, multisort, multisortNested, queryKeyToCacheKey, toTreeDataArray, useManagedComponentState as useComponentState, useDataSourceApi, useDataSourceInternal, useDataSourceSelector, useDataSourceState, useDragDropProvider, useDragListContext, useEffectWhen, useEffectWhenSameDeps, useEffectWithChanges, useEffectWithObject, useGridScroll, useInfiniteColumnApi, useInfiniteColumnCell, useInfiniteColumnEditor, useInfiniteColumnFilterEditor, useInfiniteHeaderCell, useInfinitePortalContainer, useInfiniteTableApi, useLayoutEffectWithChanges, useManagedDataSource, useMasterRowInfo, useOverlay, useOverlayPortal, usePrevious, useRowInfoReducers, useVisibleColumnSizes, withSelectedLeafNodesOnly };
|