@infinite-table/infinite-react 6.2.8 → 6.2.10
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 +433 -433
- package/index.dev.js +18 -4
- package/index.dev.mjs +18 -4
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { RefCallback, CSSProperties, HTMLProps, MutableRefObject, MouseEvent, KeyboardEvent, HTMLAttributes, ReactNode, EffectCallback, DependencyList } from 'react';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
type ManagedComponentStateContextValue<T_STATE, T_ACTIONS> = {
|
|
5
5
|
getComponentState: () => T_STATE;
|
|
6
6
|
componentState: T_STATE;
|
|
7
7
|
componentActions: T_ACTIONS;
|
|
8
8
|
assignState: (state: Partial<T_STATE>) => void;
|
|
9
9
|
replaceState: (state: T_STATE) => void;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type ComponentStateGeneratedActions<T_STATE> = {
|
|
12
12
|
[k in keyof T_STATE]: T_STATE[k] | React.SetStateAction<T_STATE[k]>;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
type ComponentInterceptedActions<T_STATE> = {
|
|
15
15
|
[k in keyof T_STATE]?: (value: T_STATE[k], { actions, state, }: {
|
|
16
16
|
actions: ComponentStateGeneratedActions<T_STATE>;
|
|
17
17
|
state: T_STATE;
|
|
18
18
|
}) => void | boolean;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
type ComponentMappedCallbacks<T_STATE> = {
|
|
21
21
|
[k in keyof T_STATE]: (value: T_STATE[k], state: T_STATE) => {
|
|
22
22
|
callbackName: string;
|
|
23
23
|
callbackParams: any[];
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
type ComponentStateActions<T_STATE> = ComponentStateGeneratedActions<T_STATE>;
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
type DebugLogger = {
|
|
29
29
|
(...args: any[]): void;
|
|
30
30
|
extend: (channelName: string) => DebugLogger;
|
|
31
31
|
color: (colorName: string, ...message: string[]) => [string, string];
|
|
@@ -62,23 +62,23 @@ interface ScrollPosition {
|
|
|
62
62
|
scrollTop: number;
|
|
63
63
|
scrollLeft: number;
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
type OnScrollFn = (scrollPosition: ScrollPosition) => void;
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
type RenderRange = {
|
|
68
68
|
renderStartIndex: number;
|
|
69
69
|
renderEndIndex: number;
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
type Renderable = React$1.ReactNode | React$1.JSX.Element;
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
type VoidFn$1 = () => void;
|
|
75
|
+
type Pair<KeyType, ValueType> = {
|
|
76
76
|
value?: ValueType;
|
|
77
77
|
map?: Map<KeyType, Pair<KeyType, ValueType>>;
|
|
78
78
|
length: number;
|
|
79
79
|
revision?: number;
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
type DeepMapVisitFn<KeyType, ValueType, ReturnType = void> = (pair: Pair<KeyType, ValueType>, keys: KeyType[], next: VoidFn$1) => ReturnType;
|
|
82
82
|
declare class DeepMap<KeyType, ValueType> {
|
|
83
83
|
private map;
|
|
84
84
|
private length;
|
|
@@ -105,8 +105,8 @@ declare class DeepMap<KeyType, ValueType> {
|
|
|
105
105
|
has(keys: KeyType[]): boolean;
|
|
106
106
|
private visitKey;
|
|
107
107
|
visit: (fn: DeepMapVisitFn<KeyType, ValueType>) => void;
|
|
108
|
-
visitSome: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn$1
|
|
109
|
-
visitDepthFirst: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn$1
|
|
108
|
+
visitSome: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn$1) => boolean) => void;
|
|
109
|
+
visitDepthFirst: (fn: (value: ValueType, keys: KeyType[], indexInGroup: number, next?: VoidFn$1) => void) => void;
|
|
110
110
|
private visitWithNext;
|
|
111
111
|
private getArray;
|
|
112
112
|
rawKeysAt(keys: KeyType[]): KeyType[];
|
|
@@ -120,20 +120,20 @@ declare class DeepMap<KeyType, ValueType> {
|
|
|
120
120
|
private sortedIterator;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
type VoidFn = () => void;
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
type TableRenderRange = {
|
|
126
126
|
start: [number, number];
|
|
127
127
|
end: [number, number];
|
|
128
128
|
rowFixed?: FixedPosition;
|
|
129
129
|
colFixed?: FixedPosition;
|
|
130
130
|
};
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
type FixedPosition = false | 'start' | 'end';
|
|
132
|
+
type WhichDirection = {
|
|
133
133
|
horizontal?: boolean;
|
|
134
134
|
vertical?: boolean;
|
|
135
135
|
};
|
|
136
|
-
|
|
136
|
+
type ItemSizeFunction = (index: number) => number;
|
|
137
137
|
interface IBrain {
|
|
138
138
|
getColCount: () => number;
|
|
139
139
|
getRowCount: () => number;
|
|
@@ -198,15 +198,15 @@ interface IBrain {
|
|
|
198
198
|
onScrollStop: (fn: (scrollPos: ScrollPosition) => void) => VoidFunction;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
|
|
201
|
+
type SpanFunction = ({ rowIndex, colIndex, }: {
|
|
202
202
|
rowIndex: number;
|
|
203
203
|
colIndex: number;
|
|
204
204
|
}) => number;
|
|
205
|
-
|
|
205
|
+
type RenderRangeType = {
|
|
206
206
|
startIndex: number;
|
|
207
207
|
endIndex: number;
|
|
208
208
|
};
|
|
209
|
-
|
|
209
|
+
type MatrixBrainOptions = {
|
|
210
210
|
width: number;
|
|
211
211
|
height: number;
|
|
212
212
|
cols: number;
|
|
@@ -217,14 +217,14 @@ declare type MatrixBrainOptions = {
|
|
|
217
217
|
colspan?: SpanFunction;
|
|
218
218
|
};
|
|
219
219
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
220
|
+
type FnOnRenderRangeChange = (range: TableRenderRange) => void;
|
|
221
|
+
type FnOnDirectionalRenderRangeChange = (range: [number, number]) => void;
|
|
222
|
+
type FnOnRenderCountChange = ({ horizontal, vertical, }: {
|
|
223
223
|
horizontal: number;
|
|
224
224
|
vertical: number;
|
|
225
225
|
}) => void;
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
type OnAvailableSizeChange = (size: Size) => void;
|
|
227
|
+
type ShouldUpdateRenderCountOptions = {
|
|
228
228
|
horizontalChange: boolean;
|
|
229
229
|
colsChanged: boolean;
|
|
230
230
|
colWidthChanged: boolean;
|
|
@@ -489,8 +489,8 @@ declare class MatrixBrain extends Logger implements IBrain {
|
|
|
489
489
|
destroy(): void;
|
|
490
490
|
}
|
|
491
491
|
|
|
492
|
-
|
|
493
|
-
|
|
492
|
+
type CellSelectionPosition<ROW_PRIMARY_KEY_TYPE = any, COL_ID = string> = [ROW_PRIMARY_KEY_TYPE, COL_ID];
|
|
493
|
+
type CellSelectionStateObject = {
|
|
494
494
|
selectedCells: CellSelectionPosition[];
|
|
495
495
|
deselectedCells: CellSelectionPosition[];
|
|
496
496
|
defaultSelection: boolean;
|
|
@@ -535,15 +535,15 @@ declare class CellSelectionState {
|
|
|
535
535
|
getState(): CellSelectionStateObject;
|
|
536
536
|
}
|
|
537
537
|
|
|
538
|
-
|
|
538
|
+
type PointCoords = {
|
|
539
539
|
top: number;
|
|
540
540
|
left: number;
|
|
541
541
|
};
|
|
542
542
|
|
|
543
|
-
|
|
543
|
+
type ForwardPropsToStateFnResult<TYPE_PROPS, TYPE_RESULT, COMPONENT_SETUP_STATE> = {
|
|
544
544
|
[propName in keyof TYPE_PROPS & keyof TYPE_RESULT]: 1 | ((value: TYPE_PROPS[propName], setupState: COMPONENT_SETUP_STATE) => TYPE_RESULT[propName]);
|
|
545
545
|
};
|
|
546
|
-
|
|
546
|
+
type ComponentStateRootConfig<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT_SETUP_STATE = {}, COMPONENT_DERIVED_STATE = {}, T_ACTIONS = {}, T_PARENT_STATE = {}> = {
|
|
547
547
|
debugName?: string;
|
|
548
548
|
initSetupState?: (props: T_PROPS) => COMPONENT_SETUP_STATE;
|
|
549
549
|
layoutEffect?: boolean;
|
|
@@ -579,7 +579,7 @@ declare type ComponentStateRootConfig<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT
|
|
|
579
579
|
cleanup?: (state: COMPONENT_MAPPED_STATE & COMPONENT_SETUP_STATE & COMPONENT_DERIVED_STATE) => void;
|
|
580
580
|
onControlledPropertyChange?: (name: string, newValue: any, oldValue: any) => void | ((value: any, oldValue: any) => any);
|
|
581
581
|
};
|
|
582
|
-
declare function buildManagedComponent<T_PROPS, COMPONENT_MAPPED_STATE extends object, COMPONENT_SETUP_STATE extends object = {}, COMPONENT_DERIVED_STATE extends object = {}, T_ACTIONS = {}, T_PARENT_STATE = {}>(config: ComponentStateRootConfig<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT_SETUP_STATE, COMPONENT_DERIVED_STATE, T_ACTIONS, T_PARENT_STATE>): {
|
|
582
|
+
declare function buildManagedComponent<T_PROPS extends object, COMPONENT_MAPPED_STATE extends object, COMPONENT_SETUP_STATE extends object = {}, COMPONENT_DERIVED_STATE extends object = {}, T_ACTIONS = {}, T_PARENT_STATE = {}>(config: ComponentStateRootConfig<T_PROPS, COMPONENT_MAPPED_STATE, COMPONENT_SETUP_STATE, COMPONENT_DERIVED_STATE, T_ACTIONS, T_PARENT_STATE>): {
|
|
583
583
|
ManagedComponentContextProvider: React$1.NamedExoticComponent<T_PROPS & {
|
|
584
584
|
children: React$1.ReactNode;
|
|
585
585
|
}>;
|
|
@@ -596,8 +596,8 @@ declare function buildManagedComponent<T_PROPS, COMPONENT_MAPPED_STATE extends o
|
|
|
596
596
|
};
|
|
597
597
|
declare function useManagedComponentState<COMPONENT_STATE>(): ManagedComponentStateContextValue<COMPONENT_STATE, ComponentStateGeneratedActions<COMPONENT_STATE>>;
|
|
598
598
|
|
|
599
|
-
|
|
600
|
-
|
|
599
|
+
type NodePath$1<PRIMARY_KEY_TYPE = any> = PRIMARY_KEY_TYPE[];
|
|
600
|
+
type TreeExpandStateObject_ByPath<PRIMARY_KEY_TYPE = any> = {
|
|
601
601
|
expandedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
602
602
|
collapsedPaths: NodePath$1<PRIMARY_KEY_TYPE>[];
|
|
603
603
|
defaultExpanded: boolean;
|
|
@@ -616,7 +616,7 @@ declare type TreeExpandStateObject_ByPath<PRIMARY_KEY_TYPE = any> = {
|
|
|
616
616
|
collapsedIds?: never;
|
|
617
617
|
expandedIds?: never;
|
|
618
618
|
};
|
|
619
|
-
|
|
619
|
+
type TreeExpandStateObject_ById<PRIMARY_KEY_TYPE = any> = {
|
|
620
620
|
defaultExpanded: boolean;
|
|
621
621
|
expandedIds: PRIMARY_KEY_TYPE[];
|
|
622
622
|
collapsedIds: PRIMARY_KEY_TYPE[];
|
|
@@ -635,8 +635,8 @@ declare type TreeExpandStateObject_ById<PRIMARY_KEY_TYPE = any> = {
|
|
|
635
635
|
expandedPaths?: never;
|
|
636
636
|
collapsedPaths?: never;
|
|
637
637
|
};
|
|
638
|
-
|
|
639
|
-
|
|
638
|
+
type TreeExpandStateObject<PRIMARY_KEY_TYPE = any> = TreeExpandStateObject_ByPath<PRIMARY_KEY_TYPE> | TreeExpandStateObject_ById<PRIMARY_KEY_TYPE>;
|
|
639
|
+
type TreeExpandStateMode = 'id' | 'path';
|
|
640
640
|
declare class TreeExpandState<PRIMARY_KEY_TYPE = any> {
|
|
641
641
|
collapsedPathsMap: DeepMap<PRIMARY_KEY_TYPE, true>;
|
|
642
642
|
expandedPathsMap: DeepMap<PRIMARY_KEY_TYPE, true>;
|
|
@@ -660,10 +660,10 @@ declare class TreeExpandState<PRIMARY_KEY_TYPE = any> {
|
|
|
660
660
|
getState(): TreeExpandStateObject;
|
|
661
661
|
}
|
|
662
662
|
|
|
663
|
-
|
|
663
|
+
type NonUndefined<T> = T extends undefined ? never : T;
|
|
664
664
|
|
|
665
|
-
|
|
666
|
-
|
|
665
|
+
type OnNodeStateChangeParam = DataSourceCallback_BaseParam<any> & {};
|
|
666
|
+
type TreeDataSourceOnlyProps<T> = {
|
|
667
667
|
nodesKey?: string;
|
|
668
668
|
treeSelection?: DataSourcePropTreeSelection;
|
|
669
669
|
treeFilterFunction?: DataSourcePropTreeFilterFunction<T>;
|
|
@@ -721,11 +721,11 @@ declare type TreeDataSourceOnlyProps<T> = {
|
|
|
721
721
|
isNodeExpanded?: DataSourcePropIsNodeExpanded<T>;
|
|
722
722
|
isNodeCollapsed?: never;
|
|
723
723
|
});
|
|
724
|
-
|
|
725
|
-
|
|
724
|
+
type DataSourcePropsNotAvailableInTreeDataSource = keyof Pick<DataSourceProps<any>, 'groupBy' | 'defaultGroupBy' | 'nodesKey' | 'defaultGroupRowsState' | 'groupRowsState' | 'onGroupRowsStateChange' | 'onGroupByChange' | 'collapseGroupRowsOnDataFunctionChange' | 'livePagination' | 'onLivePaginationCursorChange' | 'groupMode' | 'filterFunction' | 'onPivotByChange' | 'pivotBy' | 'defaultPivotBy' | 'selectionMode' | 'rowSelection' | 'defaultRowSelection'>;
|
|
725
|
+
type TreeDataSourceProps<T> = Omit<DataSourceProps<T>, DataSourcePropsNotAvailableInTreeDataSource> & TreeDataSourceOnlyProps<T>;
|
|
726
726
|
|
|
727
|
-
|
|
728
|
-
|
|
727
|
+
type NodePath = any[];
|
|
728
|
+
type TreeSelectionStateObject = {
|
|
729
729
|
selectedPaths: NodePath;
|
|
730
730
|
deselectedPaths: NodePath;
|
|
731
731
|
defaultSelection: boolean;
|
|
@@ -738,11 +738,11 @@ declare type TreeSelectionStateObject = {
|
|
|
738
738
|
selectedPaths: NodePath;
|
|
739
739
|
deselectedPaths?: NodePath;
|
|
740
740
|
};
|
|
741
|
-
|
|
741
|
+
type TreeSelectionStateConfig<_T = any> = {
|
|
742
742
|
treeDeepMap: DeepMap<any, DeepMapTreeValueType<any, any>>;
|
|
743
743
|
};
|
|
744
|
-
|
|
745
|
-
|
|
744
|
+
type GetTreeSelectionStateConfig<T> = () => TreeSelectionStateConfig<T>;
|
|
745
|
+
type NodeSelectionState = {
|
|
746
746
|
selected: boolean | null;
|
|
747
747
|
selectedCount: number;
|
|
748
748
|
deselectedCount: number;
|
|
@@ -786,7 +786,7 @@ declare class TreeSelectionState<T = any> {
|
|
|
786
786
|
destroy(): void;
|
|
787
787
|
}
|
|
788
788
|
|
|
789
|
-
|
|
789
|
+
type DataSourceStateRestoreForDetail<T> = {
|
|
790
790
|
originalDataArray: DataSourceState<T>['originalDataArray'] | undefined;
|
|
791
791
|
groupBy: DataSourceState<T>['groupBy'] | undefined;
|
|
792
792
|
groupRowsState: DataSourceState<T>['groupRowsState'] | undefined;
|
|
@@ -795,8 +795,8 @@ declare type DataSourceStateRestoreForDetail<T> = {
|
|
|
795
795
|
filterValue: DataSourceState<T>['filterValue'] | undefined;
|
|
796
796
|
livePaginationCursor: DataSourceState<T>['livePaginationCursor'] | undefined;
|
|
797
797
|
};
|
|
798
|
-
|
|
799
|
-
|
|
798
|
+
type RowDetailCacheKey = string | number;
|
|
799
|
+
type RowDetailCacheEntry = {
|
|
800
800
|
all?: boolean;
|
|
801
801
|
groupBy?: boolean;
|
|
802
802
|
sortInfo?: boolean;
|
|
@@ -827,8 +827,8 @@ declare class RowDetailCache<K = RowDetailCacheKey, T = RowDetailCacheEntry> imp
|
|
|
827
827
|
has(key: K): boolean;
|
|
828
828
|
}
|
|
829
829
|
|
|
830
|
-
|
|
831
|
-
|
|
830
|
+
type BooleanCollectionStateKeys<KeyType> = true | KeyType[];
|
|
831
|
+
type BooleanCollectionStateObject<KeyType> = {
|
|
832
832
|
positiveItems: BooleanCollectionStateKeys<KeyType>;
|
|
833
833
|
negativeItems: BooleanCollectionStateKeys<KeyType>;
|
|
834
834
|
};
|
|
@@ -876,7 +876,7 @@ declare class RowDetailState<KeyType = any> extends BooleanCollectionState<RowDe
|
|
|
876
876
|
toggleRowDetails(key: KeyType): void;
|
|
877
877
|
}
|
|
878
878
|
|
|
879
|
-
|
|
879
|
+
type TableRenderCellFnParam = {
|
|
880
880
|
domRef: RefCallback<HTMLElement>;
|
|
881
881
|
rowIndex: number;
|
|
882
882
|
colIndex: number;
|
|
@@ -892,7 +892,7 @@ declare type TableRenderCellFnParam = {
|
|
|
892
892
|
onMouseEnter: VoidFunction;
|
|
893
893
|
onMouseLeave: VoidFunction;
|
|
894
894
|
};
|
|
895
|
-
|
|
895
|
+
type TableRenderDetailRowFnParam = {
|
|
896
896
|
domRef: RefCallback<HTMLElement>;
|
|
897
897
|
rowIndex: number;
|
|
898
898
|
hidden: boolean;
|
|
@@ -901,15 +901,15 @@ declare type TableRenderDetailRowFnParam = {
|
|
|
901
901
|
onMouseEnter: VoidFunction;
|
|
902
902
|
onMouseLeave: VoidFunction;
|
|
903
903
|
};
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
904
|
+
type TableRenderCellFn = (param: TableRenderCellFnParam) => Renderable;
|
|
905
|
+
type TableRenderDetailRowFn = (param: TableRenderDetailRowFnParam) => Renderable;
|
|
906
|
+
type RenderRangeOptions = {
|
|
907
907
|
force?: boolean;
|
|
908
908
|
renderCell: TableRenderCellFn;
|
|
909
909
|
renderDetailRow?: TableRenderDetailRowFn;
|
|
910
910
|
onRender: (items: Renderable[]) => void;
|
|
911
911
|
};
|
|
912
|
-
|
|
912
|
+
type HorizontalLayoutColVisibilityOptions = {
|
|
913
913
|
horizontalLayoutPageIndex?: number;
|
|
914
914
|
};
|
|
915
915
|
|
|
@@ -925,7 +925,7 @@ interface GridCellInterface<T_ADDITIONAL_CELL_INFO = any> {
|
|
|
925
925
|
ref: (htmlElement: HTMLElement) => void;
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
|
|
928
|
+
type CellPos = [number, number];
|
|
929
929
|
|
|
930
930
|
declare class GridCellManager<T_ADDITIONAL_CELL_INFO> extends Logger {
|
|
931
931
|
private matrix;
|
|
@@ -1102,11 +1102,11 @@ declare class GridRenderer extends Logger {
|
|
|
1102
1102
|
isRowVisible: (rowIndex: number, offsetMargin?: number) => boolean;
|
|
1103
1103
|
isRowRendered: (rowIndex: number) => boolean;
|
|
1104
1104
|
isCellVisible: (rowIndex: number, colIndex: number) => boolean;
|
|
1105
|
-
isCellFullyVisible: (rowIndex: number, colIndex: number, opts?: HorizontalLayoutColVisibilityOptions
|
|
1106
|
-
isColumnFullyVisible: (colIndex: number, offsetMargin?: number, opts?: HorizontalLayoutColVisibilityOptions
|
|
1107
|
-
isColumnVisible: (colIndex: number, offsetMargin?: number, opts?: HorizontalLayoutColVisibilityOptions
|
|
1108
|
-
isCellRendered: (rowIndex: number, colIndex: number, opts?: HorizontalLayoutColVisibilityOptions
|
|
1109
|
-
isColumnRendered: (colIndex: number, opts?: HorizontalLayoutColVisibilityOptions
|
|
1105
|
+
isCellFullyVisible: (rowIndex: number, colIndex: number, opts?: HorizontalLayoutColVisibilityOptions) => boolean;
|
|
1106
|
+
isColumnFullyVisible: (colIndex: number, offsetMargin?: number, opts?: HorizontalLayoutColVisibilityOptions) => boolean;
|
|
1107
|
+
isColumnVisible: (colIndex: number, offsetMargin?: number, opts?: HorizontalLayoutColVisibilityOptions) => boolean;
|
|
1108
|
+
isCellRendered: (rowIndex: number, colIndex: number, opts?: HorizontalLayoutColVisibilityOptions) => boolean;
|
|
1109
|
+
isColumnRendered: (colIndex: number, opts?: HorizontalLayoutColVisibilityOptions) => boolean;
|
|
1110
1110
|
getExtraSpanCellsForRange: (range: TableRenderRange) => [number, number][];
|
|
1111
1111
|
isCellRenderedAndMappedCorrectly(row: number, col: number): {
|
|
1112
1112
|
rendered: boolean;
|
|
@@ -1137,7 +1137,7 @@ declare class GridRenderer extends Logger {
|
|
|
1137
1137
|
hidden: boolean;
|
|
1138
1138
|
rowspan: number;
|
|
1139
1139
|
colspan: number;
|
|
1140
|
-
}
|
|
1140
|
+
}) => void;
|
|
1141
1141
|
private updateDetailElementPosition;
|
|
1142
1142
|
private onScrollStart;
|
|
1143
1143
|
private onScrollStop;
|
|
@@ -1146,11 +1146,11 @@ declare class GridRenderer extends Logger {
|
|
|
1146
1146
|
reset(): void;
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
1149
|
-
|
|
1149
|
+
type CellPositionByIndex = {
|
|
1150
1150
|
rowIndex: number;
|
|
1151
1151
|
colIndex: number;
|
|
1152
1152
|
};
|
|
1153
|
-
|
|
1153
|
+
type MultiSelectRangeOptions = {
|
|
1154
1154
|
horizontalLayout: false;
|
|
1155
1155
|
} | {
|
|
1156
1156
|
horizontalLayout: true;
|
|
@@ -1158,7 +1158,7 @@ declare type MultiSelectRangeOptions = {
|
|
|
1158
1158
|
columnsPerSet: number;
|
|
1159
1159
|
};
|
|
1160
1160
|
|
|
1161
|
-
|
|
1161
|
+
type SubscriptionCallbackOnChangeFn<T> = (node: T | null) => void;
|
|
1162
1162
|
interface SubscriptionCallback<T> {
|
|
1163
1163
|
(node: T, callback?: () => void): void;
|
|
1164
1164
|
get: () => T | null;
|
|
@@ -1176,7 +1176,7 @@ declare class ScrollListener {
|
|
|
1176
1176
|
destroy: () => void;
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
1179
|
-
|
|
1179
|
+
type InfiniteTableBaseCellProps<T> = {
|
|
1180
1180
|
column: InfiniteTableComputedColumn<T>;
|
|
1181
1181
|
align?: InfiniteTableColumnAlignValues;
|
|
1182
1182
|
horizontalLayoutPageIndex: number | null;
|
|
@@ -1193,18 +1193,18 @@ declare type InfiniteTableBaseCellProps<T> = {
|
|
|
1193
1193
|
cssPosition?: CSSProperties['position'];
|
|
1194
1194
|
domRef?: React.RefCallback<HTMLElement>;
|
|
1195
1195
|
};
|
|
1196
|
-
|
|
1196
|
+
type InfiniteTableCellProps<T> = ({
|
|
1197
1197
|
cellType: 'header';
|
|
1198
1198
|
} & InfiniteTableBaseCellProps<T>) | ({
|
|
1199
1199
|
cellType: 'body';
|
|
1200
1200
|
} & InfiniteTableBaseCellProps<T>);
|
|
1201
1201
|
|
|
1202
|
-
|
|
1202
|
+
type DiscriminatedUnion<A, B> = (A & {
|
|
1203
1203
|
[K in keyof B]?: undefined;
|
|
1204
1204
|
}) | (B & {
|
|
1205
1205
|
[K in keyof A]?: undefined;
|
|
1206
1206
|
});
|
|
1207
|
-
|
|
1207
|
+
type KeyOfNoSymbol<T> = Exclude<keyof T, Symbol>;
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Restrict using either exclusively the keys of T or exclusively the keys of U.
|
|
1210
1210
|
*
|
|
@@ -1217,7 +1217,7 @@ declare type KeyOfNoSymbol<T> = Exclude<keyof T, Symbol>;
|
|
|
1217
1217
|
*
|
|
1218
1218
|
* @see https://github.com/maninak/ts-xor/tree/master#description
|
|
1219
1219
|
*/
|
|
1220
|
-
|
|
1220
|
+
type XOR<T, U> = T | U extends object ? Prettify<Without<T, U> & U> | Prettify<Without<U, T> & T> : T | U;
|
|
1221
1221
|
/**
|
|
1222
1222
|
* Useful if applying XOR on more than 2 types.
|
|
1223
1223
|
* It comes with the penalty of having the types wrapped in an array
|
|
@@ -1233,22 +1233,22 @@ declare type XOR<T, U> = T | U extends object ? Prettify<Without<T, U> & U> | Pr
|
|
|
1233
1233
|
* ```
|
|
1234
1234
|
* @see https://github.com/Microsoft/TypeScript/issues/14094#issuecomment-723571692
|
|
1235
1235
|
*/
|
|
1236
|
-
|
|
1236
|
+
type AllXOR<T extends any[]> = T extends [infer Only] ? Only : T extends [infer A, infer B, ...infer Rest] ? AllXOR<[XOR<A, B>, ...Rest]> : never;
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Get the keys of T without any keys of U.
|
|
1239
1239
|
*/
|
|
1240
|
-
|
|
1240
|
+
type Without<T, U> = {
|
|
1241
1241
|
[P in Exclude<keyof T, keyof U>]?: never;
|
|
1242
1242
|
};
|
|
1243
1243
|
/**
|
|
1244
1244
|
* Resolve mapped types and show the derived keys and their types when hovering in
|
|
1245
1245
|
* IDEs, instead of just showing the names those mapped types are defined with.
|
|
1246
1246
|
*/
|
|
1247
|
-
|
|
1247
|
+
type Prettify<T> = {
|
|
1248
1248
|
[K in keyof T]: T[K];
|
|
1249
1249
|
} & {};
|
|
1250
1250
|
|
|
1251
|
-
|
|
1251
|
+
type MenuIconProps = {
|
|
1252
1252
|
lineWidth?: number;
|
|
1253
1253
|
lineStyle?: React$1.CSSProperties;
|
|
1254
1254
|
style?: React$1.CSSProperties;
|
|
@@ -1260,11 +1260,11 @@ declare type MenuIconProps = {
|
|
|
1260
1260
|
};
|
|
1261
1261
|
declare function MenuIcon(props: MenuIconProps): React$1.JSX.Element;
|
|
1262
1262
|
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1263
|
+
type InfiniteTableToggleGroupRowFn = (groupKeys: any[]) => void;
|
|
1264
|
+
type InfiniteTableToggleTreeNodeFn = (nodePath: any[]) => void;
|
|
1265
|
+
type InfiniteTableToggleRowDetailsFn = (id: any) => void;
|
|
1266
|
+
type InfiniteTableSelectRowFn = (id: any) => void;
|
|
1267
|
+
type InfiniteTableColumnHeaderParam<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = {
|
|
1268
1268
|
dragging: boolean;
|
|
1269
1269
|
column: COL_TYPE;
|
|
1270
1270
|
columnsMap: Map<string, COL_TYPE>;
|
|
@@ -1295,7 +1295,7 @@ declare type InfiniteTableColumnHeaderParam<DATA_TYPE, COL_TYPE = InfiniteTableC
|
|
|
1295
1295
|
} | {
|
|
1296
1296
|
insideColumnMenu: true;
|
|
1297
1297
|
});
|
|
1298
|
-
|
|
1298
|
+
type InfiniteTableColumnRenderBag = {
|
|
1299
1299
|
value: string | number | Renderable;
|
|
1300
1300
|
groupIcon?: Renderable;
|
|
1301
1301
|
treeIcon?: Renderable;
|
|
@@ -1303,7 +1303,7 @@ declare type InfiniteTableColumnRenderBag = {
|
|
|
1303
1303
|
all?: Renderable;
|
|
1304
1304
|
selectionCheckBox?: Renderable;
|
|
1305
1305
|
};
|
|
1306
|
-
|
|
1306
|
+
type InfiniteTableColumnRenderParamBase<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = {
|
|
1307
1307
|
domRef: InfiniteTableCellProps<DATA_TYPE>['domRef'];
|
|
1308
1308
|
htmlElementRef: React$1.MutableRefObject<HTMLElement | null>;
|
|
1309
1309
|
rowIndexInHorizontalLayoutPage: null | number;
|
|
@@ -1351,52 +1351,52 @@ declare type InfiniteTableColumnRenderParamBase<DATA_TYPE, COL_TYPE = InfiniteTa
|
|
|
1351
1351
|
rootGroupBy: DataSourceState<DATA_TYPE>['groupBy'];
|
|
1352
1352
|
pivotBy?: DataSourceState<DATA_TYPE>['pivotBy'];
|
|
1353
1353
|
};
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1354
|
+
type InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = InfiniteTableColumnRenderParamBase<DATA_TYPE, COL_TYPE> & InfiniteTableRowInfoDataDiscriminator<DATA_TYPE>;
|
|
1355
|
+
type InfiniteTableColumnRenderValueParam<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE>;
|
|
1356
|
+
type InfiniteTableColumnRowspanParam<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = {
|
|
1357
1357
|
rowInfo: InfiniteTableRowInfo<DATA_TYPE>;
|
|
1358
1358
|
data: DATA_TYPE | Partial<DATA_TYPE> | null;
|
|
1359
1359
|
dataArray: InfiniteTableRowInfo<DATA_TYPE>[];
|
|
1360
1360
|
rowIndex: number;
|
|
1361
1361
|
column: COL_TYPE;
|
|
1362
1362
|
};
|
|
1363
|
-
|
|
1363
|
+
type InfiniteTableColumnRenderFunctionForGroupRows<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & {
|
|
1364
1364
|
isGroupRow: true;
|
|
1365
1365
|
}) => Renderable | null;
|
|
1366
|
-
|
|
1366
|
+
type InfiniteTableColumnRenderFunctionForParentNode<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & {
|
|
1367
1367
|
isTreeNode: true;
|
|
1368
1368
|
isParentNode: true;
|
|
1369
1369
|
}) => Renderable | null;
|
|
1370
|
-
|
|
1370
|
+
type InfiniteTableColumnRenderFunctionForLeafNode<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & {
|
|
1371
1371
|
isTreeNode: true;
|
|
1372
1372
|
isParentNode: false;
|
|
1373
1373
|
}) => Renderable | null;
|
|
1374
|
-
|
|
1375
|
-
|
|
1374
|
+
type InfiniteTableColumnRenderFunctionForNode<DATA_TYPE, EXTRA_NODE_PARAMS = Partial<InfiniteTableRowInfoDataDiscriminator_ParentNode<DATA_TYPE> | InfiniteTableRowInfoDataDiscriminator_LeafNode<DATA_TYPE>>, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & EXTRA_NODE_PARAMS) => Renderable | null;
|
|
1375
|
+
type InfiniteTableColumnRenderFunctionForNormalRows<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE> & {
|
|
1376
1376
|
isGroupRow: false;
|
|
1377
1377
|
}) => Renderable | null;
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1378
|
+
type InfiniteTableColumnRenderFunction<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnCellContextType<DATA_TYPE, COL_TYPE>) => Renderable | null;
|
|
1379
|
+
type InfiniteTableColumnHeaderRenderFunction<T> = (headerParams: InfiniteTableColumnHeaderParam<T>) => Renderable;
|
|
1380
|
+
type InfiniteTableColumnOrHeaderRenderFunction<T> = (params: (InfiniteTableColumnCellContextType<T> & {
|
|
1381
1381
|
rowInfo: InfiniteTableRowInfo<T>;
|
|
1382
1382
|
}) | (InfiniteTableColumnHeaderParam<T> & {
|
|
1383
1383
|
rowInfo: null;
|
|
1384
1384
|
})) => ReturnType<InfiniteTableColumnRenderFunction<T>>;
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1385
|
+
type InfiniteTableColumnContentFocusable<T> = boolean | InfiniteTableColumnContentFocusableFn<T>;
|
|
1386
|
+
type InfiniteTableColumnEditable<T> = boolean | InfiniteTableColumnEditableFn<T>;
|
|
1387
|
+
type InfiniteTableColumnContentFocusableFn<T> = (params: InfiniteTableColumnContentFocusableParams<T>) => boolean;
|
|
1388
|
+
type InfiniteTableColumnEditableFn<T> = (params: InfiniteTableColumnEditableParams<T>) => boolean | Promise<boolean>;
|
|
1389
|
+
type InfiniteTableColumnContentFocusableParams<T> = InfiniteTableRowInfoDataDiscriminatorWithColumnAndApis<T>;
|
|
1390
|
+
type InfiniteTableColumnEditableParams<T> = InfiniteTableColumnContentFocusableParams<T>;
|
|
1391
|
+
type InfiniteTableColumnGetValueToPersistParams<T> = InfiniteTableColumnEditableParams<T> & {
|
|
1392
1392
|
initialValue: any;
|
|
1393
1393
|
};
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1394
|
+
type InfiniteTableColumnAlignValues = 'start' | 'center' | 'end';
|
|
1395
|
+
type InfiniteTableColumnVerticalAlignValues = 'start' | 'center' | 'end';
|
|
1396
|
+
type InfiniteTableColumnHeader<T> = Renderable | InfiniteTableColumnHeaderRenderFunction<T>;
|
|
1397
|
+
type InfiniteTableDataTypeNames = 'string' | 'number' | 'date' | string;
|
|
1398
|
+
type InfiniteTableColumnTypeNames = 'string' | 'number' | 'date' | string;
|
|
1399
|
+
type InfiniteTableColumnStylingFnParams<T> = {
|
|
1400
1400
|
value: Renderable;
|
|
1401
1401
|
column: InfiniteTableComputedColumn<T>;
|
|
1402
1402
|
rowIndexInHorizontalLayoutPage: null | number;
|
|
@@ -1405,37 +1405,37 @@ declare type InfiniteTableColumnStylingFnParams<T> = {
|
|
|
1405
1405
|
rowHasSelectedCells: boolean;
|
|
1406
1406
|
editError: InfiniteTableColumnRenderParamBase<T>['editError'];
|
|
1407
1407
|
} & InfiniteTableRowInfoDataDiscriminator<T>;
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1408
|
+
type InfiniteTableColumnStyleFn<T> = (params: InfiniteTableColumnStylingFnParams<T>) => undefined | React$1.CSSProperties;
|
|
1409
|
+
type InfiniteTableColumnHeaderClassNameFn<T> = (params: InfiniteTableColumnHeaderParam<T>) => undefined | string;
|
|
1410
|
+
type InfiniteTableColumnHeaderStyleFn<T> = (params: InfiniteTableColumnHeaderParam<T>) => undefined | React$1.CSSProperties;
|
|
1411
|
+
type InfiniteTableColumnClassNameFn<T> = (params: InfiniteTableColumnStylingFnParams<T>) => undefined | string;
|
|
1412
|
+
type InfiniteTableColumnStyle<T> = CSSProperties | InfiniteTableColumnStyleFn<T>;
|
|
1413
|
+
type InfiniteTableColumnAlign<T> = InfiniteTableColumnAlignValues | InfiniteTableColumnAlignFn<T>;
|
|
1414
|
+
type InfiniteTableColumnVerticalAlign<T> = InfiniteTableColumnVerticalAlignValues | InfiniteTableColumnVerticalAlignFn<T>;
|
|
1415
|
+
type InfiniteTableColumnAlignFn<T> = (params: InfiniteTableColumnAlignFnParams<T>) => InfiniteTableColumnAlignValues;
|
|
1416
|
+
type InfiniteTableColumnAlignFnParams<T> = XOR<{
|
|
1417
1417
|
isHeader: true;
|
|
1418
1418
|
column: InfiniteTableComputedColumn<T>;
|
|
1419
1419
|
}, InfiniteTableColumnStylingFnParams<T> & {
|
|
1420
1420
|
isHeader: false;
|
|
1421
1421
|
}>;
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1422
|
+
type InfiniteTableColumnVerticalAlignFn<T> = (params: InfiniteTableColumnAlignFnParams<T>) => InfiniteTableColumnVerticalAlignValues;
|
|
1423
|
+
type InfiniteTableColumnHeaderStyle<T> = CSSProperties | InfiniteTableColumnHeaderStyleFn<T>;
|
|
1424
|
+
type InfiniteTableColumnClassName<T> = string | InfiniteTableColumnClassNameFn<T>;
|
|
1425
|
+
type InfiniteTableColumnHeaderClassName<T> = string | InfiniteTableColumnHeaderClassNameFn<T>;
|
|
1426
|
+
type InfiniteTableColumnValueGetterParams<T> = ValueGetterParams<T>;
|
|
1427
|
+
type InfiniteTableColumnValueFormatterParams<T> = InfiniteTableRowInfoDataDiscriminator<T>;
|
|
1428
|
+
type InfiniteTableColumnValueGetter<T, VALUE_GETTER_TYPE = string | number | boolean | Date | null | undefined> = (params: InfiniteTableColumnValueGetterParams<T>) => VALUE_GETTER_TYPE;
|
|
1429
|
+
type InfiniteTableColumnValueFormatter<T, VALUE_FORMATTER_TYPE = string | number | boolean | Date | null | undefined> = (params: InfiniteTableColumnValueFormatterParams<T>) => VALUE_FORMATTER_TYPE;
|
|
1430
|
+
type InfiniteTableColumnRowspanFn<T> = (params: InfiniteTableColumnRowspanParam<T>) => number;
|
|
1431
|
+
type InfiniteTableColumnComparer<T> = (a: T, b: T) => number;
|
|
1432
|
+
type InfiniteTableColumnSortableFn<T> = (context: {
|
|
1433
1433
|
api: InfiniteTableApi<T>;
|
|
1434
1434
|
columnApi: InfiniteTableColumnApi<T>;
|
|
1435
1435
|
column: InfiniteTableComputedColumn<T>;
|
|
1436
1436
|
columns: Map<string, InfiniteTableComputedColumn<T>>;
|
|
1437
1437
|
}) => boolean;
|
|
1438
|
-
|
|
1438
|
+
type InfiniteTableColumnSortable<T> = boolean | InfiniteTableColumnSortableFn<T>;
|
|
1439
1439
|
/**
|
|
1440
1440
|
* Defines a column in the table.
|
|
1441
1441
|
*
|
|
@@ -1443,7 +1443,7 @@ declare type InfiniteTableColumnSortable<T> = boolean | InfiniteTableColumnSorta
|
|
|
1443
1443
|
*
|
|
1444
1444
|
* Can be bound to a field which is a `keyof DATA_TYPE`.
|
|
1445
1445
|
*/
|
|
1446
|
-
|
|
1446
|
+
type InfiniteTableColumn<DATA_TYPE> = {
|
|
1447
1447
|
field?: KeyOfNoSymbol<DATA_TYPE>;
|
|
1448
1448
|
valueGetter?: InfiniteTableColumnValueGetter<DATA_TYPE>;
|
|
1449
1449
|
defaultSortable?: InfiniteTableColumnSortable<DATA_TYPE>;
|
|
@@ -1524,12 +1524,12 @@ declare type InfiniteTableColumn<DATA_TYPE> = {
|
|
|
1524
1524
|
MenuIcon?: (props: MenuIconProps) => React$1.JSX.Element | null;
|
|
1525
1525
|
};
|
|
1526
1526
|
};
|
|
1527
|
-
|
|
1527
|
+
type InfiniteTableGeneratedGroupColumn<T> = Omit<InfiniteTableColumn<T>, 'defaultSortable'> & {
|
|
1528
1528
|
groupByForColumn: GroupBy<T> | GroupBy<T>[];
|
|
1529
1529
|
id?: string;
|
|
1530
1530
|
};
|
|
1531
|
-
|
|
1532
|
-
|
|
1531
|
+
type InfiniteTablePivotColumn<T> = InfiniteTableColumn<T> & ColumnTypeWithInherit<Partial<InfiniteTablePivotFinalColumnVariant<T, any>>>;
|
|
1532
|
+
type InfiniteTablePivotFinalColumnGroup<DataType, KeyType extends any = any> = InfiniteTableColumnGroup & {
|
|
1533
1533
|
pivotBy: DataSourcePivotBy<DataType>[];
|
|
1534
1534
|
pivotTotalColumnGroup?: true;
|
|
1535
1535
|
pivotGroupKeys: KeyType[];
|
|
@@ -1537,7 +1537,7 @@ declare type InfiniteTablePivotFinalColumnGroup<DataType, KeyType extends any =
|
|
|
1537
1537
|
pivotGroupKey: KeyType;
|
|
1538
1538
|
pivotIndex: number;
|
|
1539
1539
|
};
|
|
1540
|
-
|
|
1540
|
+
type InfiniteTablePivotFinalColumn<DataType, KeyType extends any = any> = InfiniteTableColumn<DataType> & {
|
|
1541
1541
|
pivotBy: DataSourcePivotBy<DataType>[];
|
|
1542
1542
|
pivotColumn: true;
|
|
1543
1543
|
pivotTotalColumn: boolean;
|
|
@@ -1548,8 +1548,8 @@ declare type InfiniteTablePivotFinalColumn<DataType, KeyType extends any = any>
|
|
|
1548
1548
|
pivotIndex: number;
|
|
1549
1549
|
pivotGroupKey: KeyType;
|
|
1550
1550
|
};
|
|
1551
|
-
|
|
1552
|
-
|
|
1551
|
+
type InfiniteTablePivotFinalColumnVariant<DataType, KeyType extends any = any> = InfiniteTablePivotFinalColumn<DataType, KeyType>;
|
|
1552
|
+
type InfiniteTableComputedColumnBase<T> = {
|
|
1553
1553
|
computedFilterType: string;
|
|
1554
1554
|
computedSortType: string | string[];
|
|
1555
1555
|
computedDataType: string;
|
|
@@ -1584,20 +1584,20 @@ declare type InfiniteTableComputedColumnBase<T> = {
|
|
|
1584
1584
|
colType: InfiniteTableColumnType<T>;
|
|
1585
1585
|
id: string;
|
|
1586
1586
|
};
|
|
1587
|
-
|
|
1588
|
-
|
|
1587
|
+
type InfiniteTableComputedColumn<T> = InfiniteTableColumn<T> & InfiniteTableComputedColumnBase<T> & Partial<InfiniteTablePivotFinalColumn<T>> & Partial<InfiniteTableGeneratedGroupColumn<T>>;
|
|
1588
|
+
type InfiniteTableComputedPivotFinalColumn<T> = InfiniteTableComputedColumn<T> & InfiniteTablePivotFinalColumn<T>;
|
|
1589
1589
|
|
|
1590
|
-
|
|
1590
|
+
type CellContextMenuLocation = {
|
|
1591
1591
|
rowId: any;
|
|
1592
1592
|
rowIndex: number;
|
|
1593
1593
|
columnId: string;
|
|
1594
1594
|
colIndex: number;
|
|
1595
1595
|
};
|
|
1596
|
-
|
|
1596
|
+
type CellContextMenuLocationWithEvent = CellContextMenuLocation & {
|
|
1597
1597
|
event: React.MouseEvent;
|
|
1598
1598
|
target: HTMLElement;
|
|
1599
1599
|
};
|
|
1600
|
-
|
|
1600
|
+
type ContextMenuLocationWithEvent = Partial<CellContextMenuLocation> & {
|
|
1601
1601
|
event: React.MouseEvent;
|
|
1602
1602
|
target: HTMLElement;
|
|
1603
1603
|
};
|
|
@@ -1681,9 +1681,9 @@ interface InfiniteTableSetupState<T> {
|
|
|
1681
1681
|
cancelled?: boolean;
|
|
1682
1682
|
};
|
|
1683
1683
|
}
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1684
|
+
type InfiniteTableColumnGroupsDepthsMap = Map<string, number>;
|
|
1685
|
+
type InfiniteTablePropPivotTotalColumnPosition = false | 'start' | 'end';
|
|
1686
|
+
type InfiniteTablePropPivotGrandTotalColumnPosition = InfiniteTablePropPivotTotalColumnPosition;
|
|
1687
1687
|
interface InfiniteTableMappedState<T> {
|
|
1688
1688
|
id: InfiniteTableProps<T>['id'];
|
|
1689
1689
|
debugId: InfiniteTableProps<T>['debugId'];
|
|
@@ -1805,11 +1805,11 @@ interface InfiniteTableDerivedState<T> {
|
|
|
1805
1805
|
columnHeaderHeightCSSVar: string;
|
|
1806
1806
|
controlledColumnVisibility: boolean;
|
|
1807
1807
|
}
|
|
1808
|
-
|
|
1808
|
+
type InfiniteTableActions<T> = ComponentStateActions<InfiniteTableState<T>>;
|
|
1809
1809
|
interface InfiniteTableState<T> extends InfiniteTableMappedState<T>, InfiniteTableDerivedState<T>, InfiniteTableSetupState<T> {
|
|
1810
1810
|
}
|
|
1811
1811
|
|
|
1812
|
-
|
|
1812
|
+
type CellPositionOptions = {
|
|
1813
1813
|
rowIndex: number;
|
|
1814
1814
|
colIndex: number;
|
|
1815
1815
|
rowId?: never;
|
|
@@ -1831,7 +1831,7 @@ declare type CellPositionOptions = {
|
|
|
1831
1831
|
colId?: never;
|
|
1832
1832
|
};
|
|
1833
1833
|
|
|
1834
|
-
|
|
1834
|
+
type InfiniteTableCellSelectionApi<T> = {
|
|
1835
1835
|
isCellSelected(cellPosition: CellPositionOptions): boolean;
|
|
1836
1836
|
selectCell(cellPosition: CellPositionOptions & {
|
|
1837
1837
|
clear?: boolean;
|
|
@@ -1856,7 +1856,7 @@ declare type InfiniteTableCellSelectionApi<T> = {
|
|
|
1856
1856
|
};
|
|
1857
1857
|
};
|
|
1858
1858
|
|
|
1859
|
-
|
|
1859
|
+
type CellNavigationConfig = {
|
|
1860
1860
|
direction: 'top' | 'bottom' | 'left' | 'right';
|
|
1861
1861
|
};
|
|
1862
1862
|
interface InfiniteTableKeyboardNavigationApi<T> {
|
|
@@ -1869,7 +1869,7 @@ interface InfiniteTableKeyboardNavigationApi<T> {
|
|
|
1869
1869
|
gotoCell: (config: CellNavigationConfig) => false | [number, number];
|
|
1870
1870
|
}
|
|
1871
1871
|
|
|
1872
|
-
|
|
1872
|
+
type InfiniteTableRowDetailApi = {
|
|
1873
1873
|
isRowDetailExpanded(pk: any): boolean;
|
|
1874
1874
|
isRowDetailCollapsed(pk: any): boolean;
|
|
1875
1875
|
expandRowDetail(pk: any): void;
|
|
@@ -1880,8 +1880,8 @@ declare type InfiniteTableRowDetailApi = {
|
|
|
1880
1880
|
isRowDetailEnabledForRow(pk: any): boolean;
|
|
1881
1881
|
};
|
|
1882
1882
|
|
|
1883
|
-
|
|
1884
|
-
|
|
1883
|
+
type RowSelectionStateItem = (any | any[])[];
|
|
1884
|
+
type RowSelectionStateObject = {
|
|
1885
1885
|
selectedRows: RowSelectionStateItem;
|
|
1886
1886
|
deselectedRows: RowSelectionStateItem;
|
|
1887
1887
|
defaultSelection: boolean;
|
|
@@ -1894,7 +1894,7 @@ declare type RowSelectionStateObject = {
|
|
|
1894
1894
|
selectedRows: RowSelectionStateItem;
|
|
1895
1895
|
deselectedRows?: RowSelectionStateItem;
|
|
1896
1896
|
};
|
|
1897
|
-
|
|
1897
|
+
type RowSelectionStateConfig<T> = {
|
|
1898
1898
|
groupBy: DataSourceState<T>['groupBy'];
|
|
1899
1899
|
groupDeepMap: DataSourceState<T>['groupDeepMap'];
|
|
1900
1900
|
toPrimaryKey: DataSourceState<T>['toPrimaryKey'];
|
|
@@ -1903,8 +1903,8 @@ declare type RowSelectionStateConfig<T> = {
|
|
|
1903
1903
|
lazyLoad: boolean;
|
|
1904
1904
|
onlyUsePrimaryKeys: boolean;
|
|
1905
1905
|
};
|
|
1906
|
-
|
|
1907
|
-
|
|
1906
|
+
type GetRowSelectionStateConfig<T> = () => RowSelectionStateConfig<T>;
|
|
1907
|
+
type RowSelectionStateOverride = {
|
|
1908
1908
|
getGroupKeysForPrimaryKey: RowSelectionState<any>['getGroupKeysForPrimaryKey'];
|
|
1909
1909
|
getGroupByLength: RowSelectionState<any>['getGroupByLength'];
|
|
1910
1910
|
getGroupCount: RowSelectionState<any>['getGroupCount'];
|
|
@@ -1988,8 +1988,8 @@ declare class RowSelectionState<T = any> {
|
|
|
1988
1988
|
};
|
|
1989
1989
|
}
|
|
1990
1990
|
|
|
1991
|
-
|
|
1992
|
-
|
|
1991
|
+
type ArrayOfIds = Pick<InfiniteTable_RowInfoBase<any>, 'id'>[];
|
|
1992
|
+
type InfiniteTableRowSelectionApi = {
|
|
1993
1993
|
get allRowsSelected(): boolean;
|
|
1994
1994
|
isRowSelected(pk: any, groupKeys?: any[]): boolean;
|
|
1995
1995
|
isRowDeselected(pk: any, groupKeys?: any[]): boolean;
|
|
@@ -2017,7 +2017,7 @@ declare enum InfiniteTableActionType {
|
|
|
2017
2017
|
SET_DRAGGING_COLUMN_ID = 8
|
|
2018
2018
|
}
|
|
2019
2019
|
|
|
2020
|
-
|
|
2020
|
+
type InfiniteTableAction = {
|
|
2021
2021
|
type: InfiniteTableActionType;
|
|
2022
2022
|
payload?: any;
|
|
2023
2023
|
};
|
|
@@ -2035,7 +2035,7 @@ declare class RowSizeCache {
|
|
|
2035
2035
|
};
|
|
2036
2036
|
}
|
|
2037
2037
|
|
|
2038
|
-
|
|
2038
|
+
type MultiCellSelectorOptions = {
|
|
2039
2039
|
getPrimaryKeyByIndex: (rowIndex: number) => string | number;
|
|
2040
2040
|
getColumnIdByIndex: (colIndex: number) => string;
|
|
2041
2041
|
};
|
|
@@ -2064,7 +2064,7 @@ declare class MultiCellSelector {
|
|
|
2064
2064
|
selectRange(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex, options: MultiSelectRangeOptions): void;
|
|
2065
2065
|
}
|
|
2066
2066
|
|
|
2067
|
-
|
|
2067
|
+
type MultiRowSelectorOptions = {
|
|
2068
2068
|
getIdForIndex: (index: number) => string | number;
|
|
2069
2069
|
isRowDisabledAt: (index: number) => boolean;
|
|
2070
2070
|
};
|
|
@@ -2125,7 +2125,7 @@ interface InfiniteTableComputedValues<T> {
|
|
|
2125
2125
|
columnSize: (colIndex: number) => number;
|
|
2126
2126
|
}
|
|
2127
2127
|
|
|
2128
|
-
|
|
2128
|
+
type InfiniteTableEventHandlerContext<T> = {
|
|
2129
2129
|
getComputed: () => InfiniteTableComputedValues<T>;
|
|
2130
2130
|
getState: () => InfiniteTableState<T>;
|
|
2131
2131
|
actions: InfiniteTableActions<T>;
|
|
@@ -2137,15 +2137,15 @@ declare type InfiniteTableEventHandlerContext<T> = {
|
|
|
2137
2137
|
api: InfiniteTableApi<T>;
|
|
2138
2138
|
dataSourceApi: DataSourceApi<T>;
|
|
2139
2139
|
};
|
|
2140
|
-
|
|
2141
|
-
|
|
2140
|
+
type InfiniteTableKeyboardEventHandlerContext<T> = InfiniteTableEventHandlerContext<T>;
|
|
2141
|
+
type InfiniteTableCellClickEventHandlerContext<T> = InfiniteTableEventHandlerContext<T> & {
|
|
2142
2142
|
rowIndex: number;
|
|
2143
2143
|
colIndex: number;
|
|
2144
2144
|
column: InfiniteTableComputedColumn<T>;
|
|
2145
2145
|
columnApi: InfiniteTableColumnApi<T>;
|
|
2146
2146
|
};
|
|
2147
2147
|
|
|
2148
|
-
|
|
2148
|
+
type OnCellClickContext<T> = InfiniteTableCellClickEventHandlerContext<T> & InfiniteTableKeyboardEventHandlerContext<T>;
|
|
2149
2149
|
|
|
2150
2150
|
interface InfiniteTableContextValue<T> {
|
|
2151
2151
|
children?: React.ReactNode;
|
|
@@ -2173,13 +2173,13 @@ interface InfiniteTableCellContext<T> {
|
|
|
2173
2173
|
columnApi: InfiniteTableColumnApi<T>;
|
|
2174
2174
|
}
|
|
2175
2175
|
|
|
2176
|
-
|
|
2176
|
+
type ValueGetterParams<T> = {
|
|
2177
2177
|
data: T;
|
|
2178
2178
|
field?: keyof T;
|
|
2179
2179
|
};
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2180
|
+
type GroupKeyType$1<T extends any = any> = T;
|
|
2181
|
+
type GroupByValueGetter<T> = (params: ValueGetterParams<T>) => any;
|
|
2182
|
+
type GroupBy<DataType, KeyType = any> = {
|
|
2183
2183
|
toKey?: (value: any, data: DataType) => GroupKeyType$1<KeyType>;
|
|
2184
2184
|
column?: Partial<InfiniteTableGroupColumnBase<DataType>>;
|
|
2185
2185
|
} & AllXOR<[
|
|
@@ -2197,8 +2197,8 @@ declare type GroupBy<DataType, KeyType = any> = {
|
|
|
2197
2197
|
}
|
|
2198
2198
|
]>;
|
|
2199
2199
|
|
|
2200
|
-
|
|
2201
|
-
|
|
2200
|
+
type SortDir = 1 | -1;
|
|
2201
|
+
type MultisortInfo<T> = {
|
|
2202
2202
|
/**
|
|
2203
2203
|
* The sorting direction
|
|
2204
2204
|
*/
|
|
@@ -2218,7 +2218,7 @@ declare type MultisortInfo<T> = {
|
|
|
2218
2218
|
*/
|
|
2219
2219
|
valueGetter?: (item: T) => any;
|
|
2220
2220
|
};
|
|
2221
|
-
|
|
2221
|
+
type MultisortInfoAllowMultipleFields<T> = Omit<MultisortInfo<T>, 'field'> & {
|
|
2222
2222
|
field?: keyof T | (keyof T | ((item: T) => any))[];
|
|
2223
2223
|
};
|
|
2224
2224
|
declare const multisort: {
|
|
@@ -2229,7 +2229,7 @@ declare const multisort: {
|
|
|
2229
2229
|
[key: string]: (first: any, second: any) => number;
|
|
2230
2230
|
};
|
|
2231
2231
|
};
|
|
2232
|
-
|
|
2232
|
+
type NestedMultiSortOptions<T> = {
|
|
2233
2233
|
get?: (item: any) => T;
|
|
2234
2234
|
nodesKey: string;
|
|
2235
2235
|
isLeafNode?: (item: T) => boolean;
|
|
@@ -2240,7 +2240,7 @@ declare type NestedMultiSortOptions<T> = {
|
|
|
2240
2240
|
};
|
|
2241
2241
|
declare const multisortNested: <T>(sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], options: NestedMultiSortOptions<T>) => T[];
|
|
2242
2242
|
|
|
2243
|
-
|
|
2243
|
+
type DataSourceMutation<T> = {
|
|
2244
2244
|
type: 'delete';
|
|
2245
2245
|
primaryKey: any;
|
|
2246
2246
|
nodePath?: never;
|
|
@@ -2329,10 +2329,10 @@ declare class DataSourceCache<DataType, PrimaryKeyType = string> {
|
|
|
2329
2329
|
getTreeMutationsArray: () => DataSourceMutation<DataType>[];
|
|
2330
2330
|
}
|
|
2331
2331
|
|
|
2332
|
-
|
|
2332
|
+
type ForceOptions = {
|
|
2333
2333
|
force?: boolean;
|
|
2334
2334
|
};
|
|
2335
|
-
|
|
2335
|
+
type TreeExpandStateApi<T> = {
|
|
2336
2336
|
isNodeExpanded(nodePath: any[]): boolean;
|
|
2337
2337
|
isNodeReadOnly(nodePath: any[]): boolean;
|
|
2338
2338
|
expandNode(nodePath: any[], options?: ForceOptions): void;
|
|
@@ -2341,7 +2341,7 @@ declare type TreeExpandStateApi<T> = {
|
|
|
2341
2341
|
getNodeDataByPath(nodePath: any[]): T | null;
|
|
2342
2342
|
getRowInfoByPath(nodePath: any[]): InfiniteTableRowInfo<T> | null;
|
|
2343
2343
|
};
|
|
2344
|
-
|
|
2344
|
+
type TreeSelectionApi<_T = any> = {
|
|
2345
2345
|
get allRowsSelected(): boolean;
|
|
2346
2346
|
isNodeSelected(nodePath: NodePath$1): boolean | null;
|
|
2347
2347
|
selectNode(nodePath: NodePath$1, options?: ForceOptions): void;
|
|
@@ -2353,10 +2353,10 @@ declare type TreeSelectionApi<_T = any> = {
|
|
|
2353
2353
|
collapseAll(): void;
|
|
2354
2354
|
deselectAll(): void;
|
|
2355
2355
|
};
|
|
2356
|
-
|
|
2356
|
+
type TreeApi<T> = TreeExpandStateApi<T> & TreeSelectionApi<T>;
|
|
2357
2357
|
|
|
2358
|
-
|
|
2359
|
-
|
|
2358
|
+
type BooleanDeepCollectionStateKeys<KeyType> = true | KeyType[][];
|
|
2359
|
+
type BooleanDeepCollectionStateObject<KeyType> = {
|
|
2360
2360
|
positiveItems: BooleanDeepCollectionStateKeys<KeyType>;
|
|
2361
2361
|
negativeItems: BooleanDeepCollectionStateKeys<KeyType>;
|
|
2362
2362
|
};
|
|
@@ -2402,7 +2402,7 @@ declare class GroupRowsState<KeyType extends any = any> extends BooleanDeepColle
|
|
|
2402
2402
|
toggleGroupRow(keys: KeyType[]): void;
|
|
2403
2403
|
}
|
|
2404
2404
|
|
|
2405
|
-
|
|
2405
|
+
type IndexerOptions<DataType, PrimaryKeyType> = {
|
|
2406
2406
|
toPrimaryKey: (data: DataType) => PrimaryKeyType;
|
|
2407
2407
|
cache?: DataSourceCache<DataType, PrimaryKeyType>;
|
|
2408
2408
|
getNodeChildren?: TreeParams<DataType, PrimaryKeyType>['getNodeChildren'];
|
|
@@ -2457,15 +2457,15 @@ interface DataSourceDataParams<T> {
|
|
|
2457
2457
|
__cursorId?: DataSourceSetupState<T>['cursorId'];
|
|
2458
2458
|
changes?: DataSourceDataParamsChanges<T>;
|
|
2459
2459
|
}
|
|
2460
|
-
|
|
2461
|
-
|
|
2460
|
+
type DataSourceDataParamsChanges<T> = Partial<Record<keyof Omit<DataSourceDataParams<T>, 'originalDataArray' | 'changes'>, true>>;
|
|
2461
|
+
type DataSourceSingleSortInfo<T> = MultisortInfoAllowMultipleFields<T> & {
|
|
2462
2462
|
id?: string;
|
|
2463
2463
|
};
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2464
|
+
type DataSourceGroupBy<T> = GroupBy<T, any>;
|
|
2465
|
+
type DataSourcePivotBy<T> = PivotBy<T, any>;
|
|
2466
|
+
type DataSourceSortInfo<T> = null | DataSourceSingleSortInfo<T> | DataSourceSingleSortInfo<T>[];
|
|
2467
|
+
type DataSourcePropSortInfo<T> = DataSourceSortInfo<T>;
|
|
2468
|
+
type DataSourceRemoteData<T> = {
|
|
2469
2469
|
data: T[] | LazyGroupDataItem<T>[];
|
|
2470
2470
|
mappings?: DataSourceMappings;
|
|
2471
2471
|
cache?: boolean;
|
|
@@ -2474,25 +2474,25 @@ declare type DataSourceRemoteData<T> = {
|
|
|
2474
2474
|
totalCountUnfiltered?: number;
|
|
2475
2475
|
livePaginationCursor?: DataSourceLivePaginationCursorValue;
|
|
2476
2476
|
};
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2477
|
+
type DataSourceData<T> = T[] | DataSourceRemoteData<T> | Promise<T[] | DataSourceRemoteData<T>> | ((dataInfo: DataSourceDataParams<T>) => T[] | Promise<T[] | DataSourceRemoteData<T>>);
|
|
2478
|
+
type DataSourceGroupRowsList<KeyType = any> = true | KeyType[][];
|
|
2479
|
+
type DataSourcePropGroupRowsStateObject<KeyType = any> = {
|
|
2480
2480
|
expandedRows: DataSourceGroupRowsList<KeyType>;
|
|
2481
2481
|
collapsedRows: DataSourceGroupRowsList<KeyType>;
|
|
2482
2482
|
};
|
|
2483
|
-
|
|
2483
|
+
type RowDetailStateObject<KeyType = any> = {
|
|
2484
2484
|
expandedRows: true | KeyType[];
|
|
2485
2485
|
collapsedRows: true | KeyType[];
|
|
2486
2486
|
};
|
|
2487
|
-
|
|
2487
|
+
type RowDisabledStateObject<KeyType = any> = {
|
|
2488
2488
|
enabledRows: true;
|
|
2489
2489
|
disabledRows: KeyType[];
|
|
2490
2490
|
} | {
|
|
2491
2491
|
disabledRows: true;
|
|
2492
2492
|
enabledRows: KeyType[];
|
|
2493
2493
|
};
|
|
2494
|
-
|
|
2495
|
-
|
|
2494
|
+
type DataSourcePropGroupBy<T> = DataSourceGroupBy<T>[];
|
|
2495
|
+
type DataSourcePropPivotBy<T> = DataSourcePivotBy<T>[];
|
|
2496
2496
|
interface DataSourceMappedState<T> {
|
|
2497
2497
|
aggregationReducers?: DataSourceProps<T>['aggregationReducers'];
|
|
2498
2498
|
livePagination: DataSourceProps<T>['livePagination'];
|
|
@@ -2535,12 +2535,12 @@ interface DataSourceMappedState<T> {
|
|
|
2535
2535
|
sortInfo: DataSourceSingleSortInfo<T>[] | null;
|
|
2536
2536
|
rowDisabledState: RowDisabledState<T> | null;
|
|
2537
2537
|
}
|
|
2538
|
-
|
|
2538
|
+
type DataSourceRawReducer<T, RESULT_TYPE> = {
|
|
2539
2539
|
initialValue?: RESULT_TYPE | (() => RESULT_TYPE);
|
|
2540
2540
|
reducer: (accumulator: any, value: T) => RESULT_TYPE;
|
|
2541
2541
|
done?: (accumulatedValue: RESULT_TYPE, array: T[]) => RESULT_TYPE;
|
|
2542
2542
|
};
|
|
2543
|
-
|
|
2543
|
+
type DataSourceAggregationReducer<T, AggregationResultType> = {
|
|
2544
2544
|
name?: string;
|
|
2545
2545
|
field?: keyof T;
|
|
2546
2546
|
initialValue?: AggregationResultType | (() => any);
|
|
@@ -2551,11 +2551,11 @@ declare type DataSourceAggregationReducer<T, AggregationResultType> = {
|
|
|
2551
2551
|
column: InfiniteTablePivotFinalColumnVariant<T>;
|
|
2552
2552
|
}) => ColumnTypeWithInherit<Partial<InfiniteTablePivotColumn<T>>>);
|
|
2553
2553
|
};
|
|
2554
|
-
|
|
2554
|
+
type ColumnTypeWithInherit<COL_TYPE> = COL_TYPE & {
|
|
2555
2555
|
inheritFromColumn?: string | boolean;
|
|
2556
2556
|
};
|
|
2557
|
-
|
|
2558
|
-
|
|
2557
|
+
type DataSourceMappings = Record<'totals' | 'values', string>;
|
|
2558
|
+
type LazyGroupDataItem<DataType> = {
|
|
2559
2559
|
data: Partial<DataType>;
|
|
2560
2560
|
keys: any[];
|
|
2561
2561
|
aggregations?: Record<string, any>;
|
|
@@ -2566,7 +2566,7 @@ declare type LazyGroupDataItem<DataType> = {
|
|
|
2566
2566
|
totals?: Record<string, any>;
|
|
2567
2567
|
};
|
|
2568
2568
|
};
|
|
2569
|
-
|
|
2569
|
+
type LazyRowInfoGroup<DataType> = {
|
|
2570
2570
|
/**
|
|
2571
2571
|
* Those are direct children of the current lazy group row
|
|
2572
2572
|
*/
|
|
@@ -2578,7 +2578,7 @@ declare type LazyRowInfoGroup<DataType> = {
|
|
|
2578
2578
|
totalCountUnfiltered: number;
|
|
2579
2579
|
error?: string;
|
|
2580
2580
|
};
|
|
2581
|
-
|
|
2581
|
+
type LazyGroupDataDeepMap<DataType, KeyType = string> = DeepMap<KeyType, LazyRowInfoGroup<DataType>>;
|
|
2582
2582
|
interface DataSourceSetupState<T> {
|
|
2583
2583
|
indexer: Indexer<T, any>;
|
|
2584
2584
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue | undefined>;
|
|
@@ -2657,49 +2657,49 @@ interface DataSourceSetupState<T> {
|
|
|
2657
2657
|
pivotColumns?: Record<string, InfiniteTableColumn<T>>;
|
|
2658
2658
|
pivotColumnGroups?: Record<string, InfiniteTableColumnGroup>;
|
|
2659
2659
|
}
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2660
|
+
type DataSourcePropAggregationReducers<T> = Record<string, DataSourceAggregationReducer<T, any>>;
|
|
2661
|
+
type DataSourcePropMultiRowSelectionChangeParamType = RowSelectionStateObject;
|
|
2662
|
+
type DataSourcePropRowSelection = DataSourcePropRowSelection_MultiRow | DataSourcePropRowSelection_SingleRow;
|
|
2663
|
+
type DataSourcePropRowSelection_MultiRow = RowSelectionStateObject;
|
|
2664
|
+
type TreeSelectionValue = TreeSelectionStateObject | TreeSelectionState;
|
|
2665
|
+
type DataSourcePropTreeSelection_MultiNode = TreeSelectionValue;
|
|
2666
|
+
type DataSourcePropRowSelection_SingleRow = null | string | number;
|
|
2667
|
+
type DataSourcePropTreeSelection_SingleNode = null | string | number;
|
|
2668
|
+
type DataSourcePropTreeSelection = DataSourcePropTreeSelection_MultiNode | DataSourcePropTreeSelection_SingleNode;
|
|
2669
|
+
type DataSourcePropCellSelection_MultiCell = CellSelectionStateObject | CellSelectionState;
|
|
2670
|
+
type DataSourcePropCellSelection_SingleCell = null | CellSelectionPosition;
|
|
2671
|
+
type DataSourcePropCellSelection = DataSourcePropCellSelection_MultiCell | DataSourcePropCellSelection_SingleCell;
|
|
2672
|
+
type DataSourcePropSelectionMode = false | 'single-cell' | 'single-row' | 'multi-cell' | 'multi-row';
|
|
2673
|
+
type DataSourcePropOnRowSelectionChange_MultiRow = (rowSelection: DataSourcePropRowSelection_MultiRow, selectionMode: 'multi-row') => void;
|
|
2674
|
+
type DataSourcePropOnTreeSelectionChange_MultiNode<T = any> = (treeSelection: TreeSelectionStateObject, params: {
|
|
2675
2675
|
selectionMode: 'multi-row';
|
|
2676
2676
|
lastUpdatedNodePath: NodePath$1 | null;
|
|
2677
2677
|
dataSourceApi: DataSourceApi<T>;
|
|
2678
2678
|
}) => void;
|
|
2679
|
-
|
|
2680
|
-
|
|
2679
|
+
type DataSourcePropOnRowSelectionChange_SingleRow = (rowSelection: DataSourcePropRowSelection_SingleRow, selectionMode: 'single-row') => void;
|
|
2680
|
+
type DataSourcePropOnTreeSelectionChange_SingleNode = (treeSelection: DataSourcePropTreeSelection_SingleNode, params: {
|
|
2681
2681
|
selectionMode: 'single-row';
|
|
2682
2682
|
}) => void;
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2683
|
+
type DataSourcePropOnRowSelectionChange = DataSourcePropOnRowSelectionChange_SingleRow | DataSourcePropOnRowSelectionChange_MultiRow;
|
|
2684
|
+
type DataSourcePropOnTreeSelectionChange = DataSourcePropOnTreeSelectionChange_SingleNode | DataSourcePropOnTreeSelectionChange_MultiNode;
|
|
2685
|
+
type DataSourcePropOnCellSelectionChange_MultiCell = (cellSelection: DataSourcePropCellSelection_MultiCell, selectionMode: 'multi-cell') => void;
|
|
2686
|
+
type DataSourcePropOnCellSelectionChange_SingleCell = (cellSelection: DataSourcePropCellSelection_SingleCell, selectionMode: 'single-cell') => void;
|
|
2687
|
+
type DataSourcePropOnCellSelectionChange = DataSourcePropOnCellSelectionChange_MultiCell | DataSourcePropOnCellSelectionChange_SingleCell;
|
|
2688
|
+
type DataSourcePropIsRowSelected<T> = (rowInfo: InfiniteTableRowInfo<T>, rowSelectionState: RowSelectionState, selectionMode: 'multi-row') => boolean | null;
|
|
2689
|
+
type DataSourcePropIsNodeReadOnly<T> = (rowInfo: InfiniteTable_Tree_RowInfoParentNode<T>) => boolean;
|
|
2690
|
+
type DataSourcePropIsNodeSelected<T> = (rowInfo: InfiniteTable_Tree_RowInfoNode<T>, treeSelectionState: TreeSelectionState, selectionMode: 'multi-row') => boolean | null;
|
|
2691
|
+
type DataSourcePropIsNodeSelectable<T> = (rowInfo: InfiniteTable_Tree_RowInfoNode<T>) => boolean;
|
|
2692
|
+
type DataSourcePropIsNodeExpanded<T> = (rowInfo: InfiniteTable_Tree_RowInfoParentNode<T>, treeExpandState: TreeExpandState) => boolean;
|
|
2693
|
+
type DataSourcePropSortFn<T> = (sortInfo: MultisortInfoAllowMultipleFields<T>[], array: T[], get?: (item: any) => T) => T[];
|
|
2694
|
+
type DataSourceCRUDParam = {
|
|
2695
2695
|
flush?: boolean;
|
|
2696
2696
|
metadata?: any;
|
|
2697
2697
|
};
|
|
2698
|
-
|
|
2698
|
+
type WaitForNodeOptions = {
|
|
2699
2699
|
waitForNode?: boolean | number;
|
|
2700
2700
|
};
|
|
2701
|
-
|
|
2702
|
-
|
|
2701
|
+
type DataSourceUpdateParam = DataSourceCRUDParam & WaitForNodeOptions;
|
|
2702
|
+
type DataSourceInsertParam = DataSourceCRUDParam & WaitForNodeOptions & ({
|
|
2703
2703
|
position: 'before' | 'after';
|
|
2704
2704
|
primaryKey: any;
|
|
2705
2705
|
nodePath?: never;
|
|
@@ -2714,7 +2714,7 @@ declare type DataSourceInsertParam = DataSourceCRUDParam & WaitForNodeOptions &
|
|
|
2714
2714
|
position: 'start' | 'end';
|
|
2715
2715
|
nodePath: NodePath$1;
|
|
2716
2716
|
});
|
|
2717
|
-
|
|
2717
|
+
type UpdateChildrenFn<T> = (dataChildren: T[] | undefined | null, data: T) => T[] | undefined | null;
|
|
2718
2718
|
interface DataSourceApi<T> {
|
|
2719
2719
|
getPendingOperationPromise(): Promise<boolean> | null;
|
|
2720
2720
|
getOriginalDataArray: () => T[];
|
|
@@ -2773,14 +2773,14 @@ interface DataSourceApi<T> {
|
|
|
2773
2773
|
areAllRowsEnabled: () => boolean;
|
|
2774
2774
|
areAllRowsDisabled: () => boolean;
|
|
2775
2775
|
}
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2776
|
+
type DataSourcePropRowInfoReducers<T> = Record<string, DataSourceRowInfoReducer<T>>;
|
|
2777
|
+
type DataSourceRowInfoReducer<T> = DataSourceRawReducer<InfiniteTableRowInfo<T>, any>;
|
|
2778
|
+
type DataSourcePropShouldReloadDataObject<T> = {
|
|
2779
2779
|
[key in keyof Pick<DataSourceDataParams<T>, 'sortInfo' | 'pivotBy' | 'groupBy' | 'filterValue'>]: boolean;
|
|
2780
2780
|
};
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2781
|
+
type DataSourcePropShouldReloadData<T> = DataSourcePropShouldReloadDataObject<T> | boolean;
|
|
2782
|
+
type TreeExpandStateValue = TreeExpandState | TreeExpandStateObject<any>;
|
|
2783
|
+
type DataSourceProps<T> = {
|
|
2784
2784
|
nodesKey?: never;
|
|
2785
2785
|
debugId?: string;
|
|
2786
2786
|
debugMode?: InfiniteTablePropDebugMode;
|
|
@@ -2887,21 +2887,21 @@ declare type DataSourceProps<T> = {
|
|
|
2887
2887
|
/**
|
|
2888
2888
|
* @deprecated Use DataSourceProps<T> instead
|
|
2889
2889
|
*/
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2890
|
+
type DataSourcePropsWithChildren<T> = DataSourceProps<T> & {};
|
|
2891
|
+
type DataSourcePropSortTypes = Record<string, (first: any, second: any) => number>;
|
|
2892
|
+
type DataSourcePropFilterTypes<T> = Record<string, DataSourceFilterType<T>>;
|
|
2893
|
+
type DataSourceFilterFunctionParam<T> = {
|
|
2894
2894
|
data: T;
|
|
2895
2895
|
index: number;
|
|
2896
2896
|
dataArray: T[];
|
|
2897
2897
|
primaryKey: any;
|
|
2898
2898
|
};
|
|
2899
|
-
|
|
2900
|
-
|
|
2899
|
+
type DataSourcePropFilterFunction<T> = (filterParam: DataSourceFilterFunctionParam<T>) => boolean;
|
|
2900
|
+
type DataSourcePropTreeFilterFunction<T> = (filterParam: DataSourceFilterFunctionParam<T> & {
|
|
2901
2901
|
filterTreeNode: (data: T) => T | boolean;
|
|
2902
2902
|
}) => T | boolean;
|
|
2903
|
-
|
|
2904
|
-
|
|
2903
|
+
type DataSourcePropFilterValue<T> = DataSourceFilterValueItem<T>[];
|
|
2904
|
+
type DataSourceFilterValueItem<T> = DiscriminatedUnion<{
|
|
2905
2905
|
field: keyof T;
|
|
2906
2906
|
}, {
|
|
2907
2907
|
id: string;
|
|
@@ -2914,10 +2914,10 @@ declare type DataSourceFilterValueItem<T> = DiscriminatedUnion<{
|
|
|
2914
2914
|
};
|
|
2915
2915
|
disabled?: boolean;
|
|
2916
2916
|
};
|
|
2917
|
-
|
|
2917
|
+
type DataSourceFilterValueItemValueGetter<T> = (param: DataSourceFilterFunctionParam<T> & {
|
|
2918
2918
|
field?: keyof T;
|
|
2919
2919
|
}) => any;
|
|
2920
|
-
|
|
2920
|
+
type DataSourceFilterType<T> = {
|
|
2921
2921
|
emptyValues: any[];
|
|
2922
2922
|
label?: string;
|
|
2923
2923
|
defaultOperator: string;
|
|
@@ -2928,7 +2928,7 @@ declare type DataSourceFilterType<T> = {
|
|
|
2928
2928
|
};
|
|
2929
2929
|
operators: DataSourceFilterOperator<T>[];
|
|
2930
2930
|
};
|
|
2931
|
-
|
|
2931
|
+
type DataSourceFilterOperator<T> = {
|
|
2932
2932
|
name: string;
|
|
2933
2933
|
label?: string;
|
|
2934
2934
|
components?: {
|
|
@@ -2938,27 +2938,27 @@ declare type DataSourceFilterOperator<T> = {
|
|
|
2938
2938
|
fn: DataSourceFilterOperatorFunction<T>;
|
|
2939
2939
|
defaultFilterValue?: any;
|
|
2940
2940
|
};
|
|
2941
|
-
|
|
2942
|
-
|
|
2941
|
+
type DataSourceFilterOperatorFunction<T> = (filterOperatorFunctionParam: DataSourceFilterOperatorFunctionParam<T>) => boolean;
|
|
2942
|
+
type DataSourceFilterOperatorFunctionParam<T> = {
|
|
2943
2943
|
currentValue: any;
|
|
2944
2944
|
filterValue: any;
|
|
2945
2945
|
emptyValues: any[];
|
|
2946
2946
|
field?: keyof T;
|
|
2947
2947
|
} & DataSourceFilterFunctionParam<T>;
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2948
|
+
type DataSourcePropLivePaginationCursor<T> = DataSourceLivePaginationCursorValue | DataSourceLivePaginationCursorFn<T>;
|
|
2949
|
+
type DataSourceLivePaginationCursorFn<T> = (params: DataSourceLivePaginationCursorParams<T>) => DataSourceLivePaginationCursorValue;
|
|
2950
|
+
type DataSourceLivePaginationCursorParams<T> = {
|
|
2951
2951
|
array: T[];
|
|
2952
2952
|
lastItem: T | Partial<T> | null;
|
|
2953
2953
|
length: number;
|
|
2954
2954
|
};
|
|
2955
|
-
|
|
2955
|
+
type DataSourceLivePaginationCursorValue = string | number | null;
|
|
2956
2956
|
interface DataSourceState<T> extends DataSourceSetupState<T>, DataSourceDerivedState<T>, DataSourceMappedState<T> {
|
|
2957
2957
|
}
|
|
2958
|
-
|
|
2958
|
+
type DataSourceCallback_BaseParam<T> = {
|
|
2959
2959
|
dataSourceApi: DataSourceApi<T>;
|
|
2960
2960
|
};
|
|
2961
|
-
|
|
2961
|
+
type DataSourceDerivedState<T> = {
|
|
2962
2962
|
isTree: boolean;
|
|
2963
2963
|
toPrimaryKey: (data: T) => any;
|
|
2964
2964
|
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<T>>>;
|
|
@@ -2980,7 +2980,7 @@ declare type DataSourceDerivedState<T> = {
|
|
|
2980
2980
|
cellSelection: CellSelectionState | null;
|
|
2981
2981
|
selectionMode: NonUndefined<DataSourceProps<T>['selectionMode']>;
|
|
2982
2982
|
};
|
|
2983
|
-
|
|
2983
|
+
type DataSourceComponentActions<T> = ComponentStateActions<DataSourceState<T>>;
|
|
2984
2984
|
interface DataSourceContextValue<T> {
|
|
2985
2985
|
api: DataSourceApi<T>;
|
|
2986
2986
|
getState: () => DataSourceState<T>;
|
|
@@ -3061,7 +3061,7 @@ declare function useInfiniteColumnFilterEditor<T>(): {
|
|
|
3061
3061
|
className: string;
|
|
3062
3062
|
};
|
|
3063
3063
|
|
|
3064
|
-
|
|
3064
|
+
type HotKeyEventDescriptor = {
|
|
3065
3065
|
key: KeyboardEvent['key'];
|
|
3066
3066
|
metaKey: KeyboardEvent['metaKey'];
|
|
3067
3067
|
altKey: KeyboardEvent['altKey'];
|
|
@@ -3092,7 +3092,7 @@ declare function useInfinitePortalContainer(): HTMLDivElement | null;
|
|
|
3092
3092
|
|
|
3093
3093
|
declare const InfiniteTableClassName: string;
|
|
3094
3094
|
declare const InfiniteTableComponent: React$1.MemoExoticComponent<(<T>() => React$1.JSX.Element)>;
|
|
3095
|
-
|
|
3095
|
+
type InfiniteTableComponent = {
|
|
3096
3096
|
<T>(props: InfiniteTableProps<T>): React$1.JSX.Element;
|
|
3097
3097
|
licenseKey?: string;
|
|
3098
3098
|
Header: () => React$1.JSX.Element | null;
|
|
@@ -3106,7 +3106,7 @@ declare const defaultFilterTypes: Record<string, DataSourceFilterType<any>>;
|
|
|
3106
3106
|
|
|
3107
3107
|
declare function useDataSourceState<T>(): DataSourceState<T>;
|
|
3108
3108
|
|
|
3109
|
-
declare const useManagedDataSource: (props:
|
|
3109
|
+
declare const useManagedDataSource: (props: object) => {
|
|
3110
3110
|
contextValue: {
|
|
3111
3111
|
componentState: {
|
|
3112
3112
|
indexer: Indexer<unknown, any>;
|
|
@@ -3144,7 +3144,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3144
3144
|
};
|
|
3145
3145
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3146
3146
|
pivotMappings?: never;
|
|
3147
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
3147
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3148
3148
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3149
3149
|
dataParams?: never;
|
|
3150
3150
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3277,7 +3277,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3277
3277
|
};
|
|
3278
3278
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3279
3279
|
pivotMappings?: never;
|
|
3280
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
3280
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3281
3281
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3282
3282
|
dataParams?: never;
|
|
3283
3283
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3410,7 +3410,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3410
3410
|
};
|
|
3411
3411
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3412
3412
|
pivotMappings?: never;
|
|
3413
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
3413
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3414
3414
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3415
3415
|
dataParams?: never;
|
|
3416
3416
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3544,7 +3544,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3544
3544
|
};
|
|
3545
3545
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3546
3546
|
pivotMappings?: never;
|
|
3547
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
3547
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3548
3548
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3549
3549
|
dataParams?: never;
|
|
3550
3550
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3677,7 +3677,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3677
3677
|
};
|
|
3678
3678
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3679
3679
|
pivotMappings?: never;
|
|
3680
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
3680
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3681
3681
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3682
3682
|
dataParams?: never;
|
|
3683
3683
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3810,7 +3810,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3810
3810
|
};
|
|
3811
3811
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3812
3812
|
pivotMappings?: never;
|
|
3813
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
3813
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3814
3814
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3815
3815
|
dataParams?: never;
|
|
3816
3816
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3944,7 +3944,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3944
3944
|
};
|
|
3945
3945
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3946
3946
|
pivotMappings?: never;
|
|
3947
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
3947
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3948
3948
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3949
3949
|
dataParams?: never;
|
|
3950
3950
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4077,7 +4077,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4077
4077
|
};
|
|
4078
4078
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4079
4079
|
pivotMappings?: never;
|
|
4080
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
4080
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4081
4081
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4082
4082
|
dataParams?: never;
|
|
4083
4083
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4210,7 +4210,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4210
4210
|
};
|
|
4211
4211
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4212
4212
|
pivotMappings?: never;
|
|
4213
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
4213
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4214
4214
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4215
4215
|
dataParams?: never;
|
|
4216
4216
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4344,7 +4344,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4344
4344
|
};
|
|
4345
4345
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4346
4346
|
pivotMappings?: never;
|
|
4347
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
4347
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4348
4348
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4349
4349
|
dataParams?: never;
|
|
4350
4350
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4477,7 +4477,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4477
4477
|
};
|
|
4478
4478
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4479
4479
|
pivotMappings?: never;
|
|
4480
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
4480
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4481
4481
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4482
4482
|
dataParams?: never;
|
|
4483
4483
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4610,7 +4610,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4610
4610
|
};
|
|
4611
4611
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4612
4612
|
pivotMappings?: never;
|
|
4613
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
4613
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4614
4614
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4615
4615
|
dataParams?: never;
|
|
4616
4616
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4744,7 +4744,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4744
4744
|
};
|
|
4745
4745
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4746
4746
|
pivotMappings?: never;
|
|
4747
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
4747
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4748
4748
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4749
4749
|
dataParams?: never;
|
|
4750
4750
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4877,7 +4877,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4877
4877
|
};
|
|
4878
4878
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4879
4879
|
pivotMappings?: never;
|
|
4880
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
4880
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4881
4881
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4882
4882
|
dataParams?: never;
|
|
4883
4883
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5010,7 +5010,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
5010
5010
|
};
|
|
5011
5011
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5012
5012
|
pivotMappings?: never;
|
|
5013
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
5013
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5014
5014
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5015
5015
|
dataParams?: never;
|
|
5016
5016
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5145,7 +5145,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
5145
5145
|
};
|
|
5146
5146
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5147
5147
|
pivotMappings?: never;
|
|
5148
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
5148
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5149
5149
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5150
5150
|
dataParams?: never;
|
|
5151
5151
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5278,7 +5278,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
5278
5278
|
};
|
|
5279
5279
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5280
5280
|
pivotMappings?: never;
|
|
5281
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
5281
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5282
5282
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5283
5283
|
dataParams?: never;
|
|
5284
5284
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5411,7 +5411,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
5411
5411
|
};
|
|
5412
5412
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5413
5413
|
pivotMappings?: never;
|
|
5414
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
5414
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5415
5415
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5416
5416
|
dataParams?: never;
|
|
5417
5417
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5544,7 +5544,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
5544
5544
|
};
|
|
5545
5545
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5546
5546
|
pivotMappings?: never;
|
|
5547
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
5547
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5548
5548
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5549
5549
|
dataParams?: never;
|
|
5550
5550
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5677,7 +5677,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
5677
5677
|
};
|
|
5678
5678
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5679
5679
|
pivotMappings?: never;
|
|
5680
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
5680
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5681
5681
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5682
5682
|
dataParams?: never;
|
|
5683
5683
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5810,7 +5810,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
5810
5810
|
};
|
|
5811
5811
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
5812
5812
|
pivotMappings?: never;
|
|
5813
|
-
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "
|
|
5813
|
+
propsCache: Map<"children" | "nodesKey" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "isRowDisabled" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "debugMode" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "treeFilterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "rowDisabledState" | "defaultGroupBy" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "onGroupByChange" | "onLivePaginationCursorChange" | "onPivotByChange" | "defaultPivotBy" | "defaultRowSelection" | "fields" | "defaultCellSelection" | "onCellSelectionChange" | "defaultRowDisabledState" | "onRowDisabledStateChange" | "defaultLoading" | "onLoadingChange" | "defaultAggregationReducers" | "defaultSortInfo" | "onSortInfoChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
5814
5814
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
5815
5815
|
dataParams?: never;
|
|
5816
5816
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -5913,10 +5913,10 @@ declare function DataSource<T>(props: DataSourceProps<T>): React$1.JSX.Element;
|
|
|
5913
5913
|
declare function useRowInfoReducers(): Record<string, any> | undefined;
|
|
5914
5914
|
declare function useMasterRowInfo<T = any>(): InfiniteTableRowInfo<T> | undefined;
|
|
5915
5915
|
|
|
5916
|
-
|
|
5916
|
+
type AggregationReducer<T, AggregationResultType = any> = DataSourceAggregationReducer<T, AggregationResultType> & {
|
|
5917
5917
|
id: string;
|
|
5918
5918
|
};
|
|
5919
|
-
|
|
5919
|
+
type AggregationReducerResult<AggregationResultType extends any = any> = AggregationResultType;
|
|
5920
5920
|
/**
|
|
5921
5921
|
* InfiniteTableRowInfo can have different object shape depending on the presence or absence of grouping.
|
|
5922
5922
|
*
|
|
@@ -5925,15 +5925,15 @@ declare type AggregationReducerResult<AggregationResultType extends any = any> =
|
|
|
5925
5925
|
* you can use `isGroupRow: boolean` to discriminate between group rows vs normal rows.
|
|
5926
5926
|
*
|
|
5927
5927
|
*/
|
|
5928
|
-
|
|
5929
|
-
|
|
5928
|
+
type InfiniteTableRowInfo<T> = InfiniteTable_HasGrouping_RowInfoNormal<T> | InfiniteTable_HasGrouping_RowInfoGroup<T> | InfiniteTable_NoGrouping_RowInfoNormal<T> | InfiniteTable_Tree_RowInfoLeafNode<T> | InfiniteTable_Tree_RowInfoParentNode<T>;
|
|
5929
|
+
type InfiniteTable_Tree_RowInfoLeafNode<T> = {
|
|
5930
5930
|
dataSourceHasGrouping: false;
|
|
5931
5931
|
isTreeNode: true;
|
|
5932
5932
|
isParentNode: false;
|
|
5933
5933
|
isGroupRow: false;
|
|
5934
5934
|
data: T;
|
|
5935
5935
|
} & InfiniteTable_RowInfoBase<T> & InfiniteTable_Tree_RowInfoBase<T>;
|
|
5936
|
-
|
|
5936
|
+
type InfiniteTable_Tree_RowInfoBase<T> = {
|
|
5937
5937
|
isTreeNode: true;
|
|
5938
5938
|
isParentNode: boolean;
|
|
5939
5939
|
indexInParent: number;
|
|
@@ -5966,8 +5966,8 @@ declare type InfiniteTable_Tree_RowInfoBase<T> = {
|
|
|
5966
5966
|
treeNesting: number;
|
|
5967
5967
|
selfLoaded: boolean;
|
|
5968
5968
|
};
|
|
5969
|
-
|
|
5970
|
-
|
|
5969
|
+
type InfiniteTable_Tree_RowInfoNode<T> = InfiniteTable_Tree_RowInfoLeafNode<T> | InfiniteTable_Tree_RowInfoParentNode<T>;
|
|
5970
|
+
type InfiniteTable_Tree_RowInfoParentNode<T> = {
|
|
5971
5971
|
dataSourceHasGrouping: false;
|
|
5972
5972
|
isParentNode: true;
|
|
5973
5973
|
isGroupRow: false;
|
|
@@ -5983,7 +5983,7 @@ declare type InfiniteTable_Tree_RowInfoParentNode<T> = {
|
|
|
5983
5983
|
deselectedLeafNodesCount: number;
|
|
5984
5984
|
duplicateOf?: InfiniteTable_Tree_RowInfoParentNode<T>['id'];
|
|
5985
5985
|
} & InfiniteTable_RowInfoBase<T> & InfiniteTable_Tree_RowInfoBase<T>;
|
|
5986
|
-
|
|
5986
|
+
type InfiniteTableRowInfoDataDiscriminator_RowInfoNormal<T> = {
|
|
5987
5987
|
data: T;
|
|
5988
5988
|
isGroupRow: false;
|
|
5989
5989
|
isTreeNode: false;
|
|
@@ -5996,7 +5996,7 @@ declare type InfiniteTableRowInfoDataDiscriminator_RowInfoNormal<T> = {
|
|
|
5996
5996
|
rawValue: any;
|
|
5997
5997
|
rowSelected: boolean | null;
|
|
5998
5998
|
};
|
|
5999
|
-
|
|
5999
|
+
type InfiniteTableRowInfoDataDiscriminator_ParentNode<T> = {
|
|
6000
6000
|
data: T;
|
|
6001
6001
|
isGroupRow: false;
|
|
6002
6002
|
isTreeNode: true;
|
|
@@ -6010,7 +6010,7 @@ declare type InfiniteTableRowInfoDataDiscriminator_ParentNode<T> = {
|
|
|
6010
6010
|
rawValue: any;
|
|
6011
6011
|
rowSelected: boolean | null;
|
|
6012
6012
|
};
|
|
6013
|
-
|
|
6013
|
+
type InfiniteTableRowInfoDataDiscriminator_LeafNode<T> = {
|
|
6014
6014
|
data: T;
|
|
6015
6015
|
isGroupRow: false;
|
|
6016
6016
|
isTreeNode: true;
|
|
@@ -6024,7 +6024,7 @@ declare type InfiniteTableRowInfoDataDiscriminator_LeafNode<T> = {
|
|
|
6024
6024
|
rawValue: any;
|
|
6025
6025
|
rowSelected: boolean | null;
|
|
6026
6026
|
};
|
|
6027
|
-
|
|
6027
|
+
type InfiniteTableRowInfoDataDiscriminator_RowInfoGroup<T> = {
|
|
6028
6028
|
rowActive: boolean;
|
|
6029
6029
|
data: Partial<T> | null;
|
|
6030
6030
|
rowInfo: InfiniteTable_HasGrouping_RowInfoGroup<T>;
|
|
@@ -6036,14 +6036,14 @@ declare type InfiniteTableRowInfoDataDiscriminator_RowInfoGroup<T> = {
|
|
|
6036
6036
|
rawValue: any;
|
|
6037
6037
|
rowSelected: boolean | null;
|
|
6038
6038
|
};
|
|
6039
|
-
|
|
6040
|
-
|
|
6039
|
+
type InfiniteTableRowInfoDataDiscriminator<T> = InfiniteTableRowInfoDataDiscriminator_RowInfoNormal<T> | InfiniteTableRowInfoDataDiscriminator_RowInfoGroup<T> | InfiniteTableRowInfoDataDiscriminator_Node<T>;
|
|
6040
|
+
type InfiniteTableRowInfoDataDiscriminator_Node<T> = InfiniteTableRowInfoDataDiscriminator_ParentNode<T> | InfiniteTableRowInfoDataDiscriminator_LeafNode<T>;
|
|
6041
6041
|
/**
|
|
6042
6042
|
* This is the base row info for all scenarios - things every
|
|
6043
6043
|
* rowInfo is guaranteed to have (be it group or normal row, or dataSource with or without grouping)
|
|
6044
6044
|
*
|
|
6045
6045
|
*/
|
|
6046
|
-
|
|
6046
|
+
type InfiniteTable_RowInfoBase<_T> = {
|
|
6047
6047
|
id: any;
|
|
6048
6048
|
value?: any;
|
|
6049
6049
|
indexInAll: number;
|
|
@@ -6052,13 +6052,13 @@ declare type InfiniteTable_RowInfoBase<_T> = {
|
|
|
6052
6052
|
isCellSelected: (columnId: string) => boolean;
|
|
6053
6053
|
hasSelectedCells: (columnIds: string[]) => boolean;
|
|
6054
6054
|
};
|
|
6055
|
-
|
|
6055
|
+
type InfiniteTable_HasGrouping_RowInfoNormal<T> = {
|
|
6056
6056
|
dataSourceHasGrouping: true;
|
|
6057
6057
|
isTreeNode: false;
|
|
6058
6058
|
data: T;
|
|
6059
6059
|
isGroupRow: false;
|
|
6060
6060
|
} & InfiniteTable_HasGrouping_RowInfoBase<T> & InfiniteTable_RowInfoBase<T>;
|
|
6061
|
-
|
|
6061
|
+
type InfiniteTable_HasGrouping_RowInfoGroup<T> = {
|
|
6062
6062
|
dataSourceHasGrouping: true;
|
|
6063
6063
|
isTreeNode: false;
|
|
6064
6064
|
data: Partial<T> | null;
|
|
@@ -6139,14 +6139,14 @@ declare type InfiniteTable_HasGrouping_RowInfoGroup<T> = {
|
|
|
6139
6139
|
*/
|
|
6140
6140
|
childrenLoading: boolean;
|
|
6141
6141
|
} & InfiniteTable_HasGrouping_RowInfoBase<T> & InfiniteTable_RowInfoBase<T>;
|
|
6142
|
-
|
|
6142
|
+
type InfiniteTable_NoGrouping_RowInfoNormal<T> = {
|
|
6143
6143
|
dataSourceHasGrouping: false;
|
|
6144
6144
|
isTreeNode: false;
|
|
6145
6145
|
data: T;
|
|
6146
6146
|
isGroupRow: false;
|
|
6147
6147
|
selfLoaded: boolean;
|
|
6148
6148
|
} & InfiniteTable_RowInfoBase<T>;
|
|
6149
|
-
|
|
6149
|
+
type InfiniteTable_HasGrouping_RowInfoBase<T> = {
|
|
6150
6150
|
indexInGroup: number;
|
|
6151
6151
|
/**
|
|
6152
6152
|
* Available on all rowInfo objects when the datasource is grouped, otherwise, it will be undefined.
|
|
@@ -6234,15 +6234,15 @@ declare type InfiniteTable_HasGrouping_RowInfoBase<T> = {
|
|
|
6234
6234
|
*/
|
|
6235
6235
|
selfLoaded: boolean;
|
|
6236
6236
|
};
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6237
|
+
type GroupKeyType<T extends any = any> = T;
|
|
6238
|
+
type TreeKeyType<T extends any = any> = T;
|
|
6239
|
+
type PivotReducerResults<T = any> = Record<string, AggregationReducerResult<T>>;
|
|
6240
|
+
type PivotGroupValueType<DataType, KeyType> = {
|
|
6241
6241
|
reducerResults: PivotReducerResults<KeyType>;
|
|
6242
6242
|
items: DataType[];
|
|
6243
6243
|
};
|
|
6244
|
-
|
|
6245
|
-
|
|
6244
|
+
type PivotValuesDeepMap<DataType, KeyType> = DeepMap<GroupKeyType<KeyType>, PivotGroupValueType<DataType, KeyType>>;
|
|
6245
|
+
type DeepMapTreeValueType<DataType, _KeyType> = {
|
|
6246
6246
|
items: DataType[];
|
|
6247
6247
|
node: DataType | null;
|
|
6248
6248
|
reducerResults: Record<string, AggregationReducerResult>;
|
|
@@ -6256,7 +6256,7 @@ declare type DeepMapTreeValueType<DataType, _KeyType> = {
|
|
|
6256
6256
|
isGroupBy: false;
|
|
6257
6257
|
error?: string;
|
|
6258
6258
|
};
|
|
6259
|
-
|
|
6259
|
+
type DeepMapGroupValueType<DataType, KeyType> = {
|
|
6260
6260
|
/**
|
|
6261
6261
|
* These are leaf items. This array may be empty when there is batched lazy loading
|
|
6262
6262
|
*/
|
|
@@ -6272,7 +6272,7 @@ declare type DeepMapGroupValueType<DataType, KeyType> = {
|
|
|
6272
6272
|
reducerResults: Record<string, AggregationReducerResult>;
|
|
6273
6273
|
pivotDeepMap?: DeepMap<GroupKeyType<KeyType>, PivotGroupValueType<DataType, KeyType>>;
|
|
6274
6274
|
};
|
|
6275
|
-
|
|
6275
|
+
type PivotBy<DataType, KeyType> = Omit<GroupBy<DataType, KeyType>, 'column'> & {
|
|
6276
6276
|
column?: ColumnTypeWithInherit<Partial<InfiniteTableColumn<DataType>>> | (({ column, }: {
|
|
6277
6277
|
column: InfiniteTablePivotFinalColumnVariant<DataType, KeyType>;
|
|
6278
6278
|
}) => Partial<InfiniteTablePivotColumn<DataType>>);
|
|
@@ -6280,19 +6280,19 @@ declare type PivotBy<DataType, KeyType> = Omit<GroupBy<DataType, KeyType>, 'colu
|
|
|
6280
6280
|
columnGroup: InfiniteTablePivotFinalColumnGroup<DataType, KeyType>;
|
|
6281
6281
|
}) => ColumnTypeWithInherit<Partial<InfiniteTablePivotFinalColumnGroup<DataType>>>);
|
|
6282
6282
|
};
|
|
6283
|
-
|
|
6283
|
+
type TreeParams<DataType, _KeyType> = {
|
|
6284
6284
|
isLeafNode: (item: DataType) => boolean;
|
|
6285
6285
|
getNodeChildren: (item: DataType) => null | DataType[];
|
|
6286
6286
|
toKey: (item: DataType) => any;
|
|
6287
6287
|
reducers?: Record<string, DataSourceAggregationReducer<DataType, any>>;
|
|
6288
6288
|
};
|
|
6289
|
-
|
|
6289
|
+
type GroupParams<DataType, KeyType> = {
|
|
6290
6290
|
groupBy: GroupBy<DataType, KeyType>[];
|
|
6291
6291
|
defaultToKey?: (value: any, item: DataType) => GroupKeyType<KeyType>;
|
|
6292
6292
|
pivot?: PivotBy<DataType, KeyType>[];
|
|
6293
6293
|
reducers?: Record<string, DataSourceAggregationReducer<DataType, any>>;
|
|
6294
6294
|
};
|
|
6295
|
-
|
|
6295
|
+
type DataGroupResult<DataType, KeyType extends any> = {
|
|
6296
6296
|
deepMap: DeepMap<GroupKeyType<KeyType>, DeepMapGroupValueType<DataType, KeyType>>;
|
|
6297
6297
|
groupParams: GroupParams<DataType, KeyType>;
|
|
6298
6298
|
initialData: DataType[];
|
|
@@ -6302,10 +6302,10 @@ declare type DataGroupResult<DataType, KeyType extends any> = {
|
|
|
6302
6302
|
};
|
|
6303
6303
|
declare function group<DataType, KeyType = any>(groupParams: GroupParams<DataType, KeyType>, data: DataType[]): DataGroupResult<DataType, KeyType>;
|
|
6304
6304
|
declare function flatten<DataType, KeyType extends any>(groupResult: DataGroupResult<DataType, KeyType>): DataType[];
|
|
6305
|
-
|
|
6305
|
+
type InfiniteTablePropRepeatWrappedGroupRows<T> = boolean | ((rowInfo: InfiniteTableRowInfo<T>) => boolean);
|
|
6306
6306
|
|
|
6307
|
-
|
|
6308
|
-
|
|
6307
|
+
type InfiniteCheckBoxPropChecked = true | false | null;
|
|
6308
|
+
type InfiniteCheckBoxProps = {
|
|
6309
6309
|
disabled?: boolean;
|
|
6310
6310
|
checked?: InfiniteCheckBoxPropChecked;
|
|
6311
6311
|
defaultChecked?: InfiniteCheckBoxPropChecked;
|
|
@@ -6314,36 +6314,36 @@ declare type InfiniteCheckBoxProps = {
|
|
|
6314
6314
|
};
|
|
6315
6315
|
declare function InfiniteCheckBox(props: InfiniteCheckBoxProps): React$1.JSX.Element;
|
|
6316
6316
|
|
|
6317
|
-
|
|
6317
|
+
type CoordsWithSize = {
|
|
6318
6318
|
width: number;
|
|
6319
6319
|
height: number;
|
|
6320
6320
|
left: number;
|
|
6321
6321
|
top: number;
|
|
6322
6322
|
};
|
|
6323
|
-
|
|
6323
|
+
type CoordsNoSize = {
|
|
6324
6324
|
right: number;
|
|
6325
6325
|
bottom: number;
|
|
6326
6326
|
left: number;
|
|
6327
6327
|
top: number;
|
|
6328
6328
|
};
|
|
6329
|
-
|
|
6329
|
+
type RectangleCoords = CoordsWithSize | CoordsNoSize;
|
|
6330
6330
|
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6331
|
+
type Alignable = RectangleCoords | HTMLElement | DOMRect;
|
|
6332
|
+
type AlignPositionEnum = 'TopLeft' | 'TopCenter' | 'TopRight' | 'CenterRight' | 'BottomRight' | 'BottomCenter' | 'BottomLeft' | 'CenterLeft' | 'Center';
|
|
6333
|
+
type AlignPositionItem = [AlignPositionEnum, AlignPositionEnum];
|
|
6334
|
+
type AlignPositionOptions = {
|
|
6335
6335
|
alignPosition: AlignPositionItem[];
|
|
6336
6336
|
constrainTo?: Alignable;
|
|
6337
6337
|
alignAnchor: Alignable;
|
|
6338
6338
|
alignTarget: Alignable;
|
|
6339
6339
|
};
|
|
6340
6340
|
|
|
6341
|
-
|
|
6341
|
+
type OverlayParams = {
|
|
6342
6342
|
portalContainer?: ElementContainerGetter | null | false;
|
|
6343
6343
|
constrainTo?: OverlayShowParams['constrainTo'];
|
|
6344
6344
|
};
|
|
6345
|
-
|
|
6346
|
-
|
|
6345
|
+
type ElementContainerGetter = (() => HTMLElement | string | Promise<HTMLElement | string>) | string | HTMLElement | Promise<HTMLElement | string>;
|
|
6346
|
+
type AdvancedAlignable = Alignable | ElementContainerGetter;
|
|
6347
6347
|
declare function alignNode(node: HTMLDivElement, params: OverlayShowParams): Promise<void>;
|
|
6348
6348
|
/**
|
|
6349
6349
|
* If portal container is given, it will create a React portal from that element
|
|
@@ -6352,16 +6352,16 @@ declare function alignNode(node: HTMLDivElement, params: OverlayShowParams): Pro
|
|
|
6352
6352
|
* @param portalContainer
|
|
6353
6353
|
*/
|
|
6354
6354
|
declare function useOverlayPortal(content: ReactNode, portalContainer?: ElementContainerGetter | null | false): string | number | boolean | React$1.JSX.Element | Iterable<React$1.ReactNode> | null | undefined;
|
|
6355
|
-
|
|
6355
|
+
type OverlayShowParams = {
|
|
6356
6356
|
id?: string | number;
|
|
6357
6357
|
constrainTo?: AdvancedAlignable | boolean;
|
|
6358
6358
|
alignPosition: AlignPositionOptions['alignPosition'];
|
|
6359
6359
|
alignTo: AdvancedAlignable | PointCoords;
|
|
6360
6360
|
};
|
|
6361
|
-
|
|
6361
|
+
type UpdateOverlayContentFn = (content: ReactNode | (() => ReactNode), options?: {
|
|
6362
6362
|
skipRealign?: boolean;
|
|
6363
6363
|
}) => void;
|
|
6364
|
-
|
|
6364
|
+
type ShowOverlayFn = (content: ReactNode | (() => ReactNode), params: OverlayShowParams) => UpdateOverlayContentFn;
|
|
6365
6365
|
declare function useOverlay(params: OverlayParams): {
|
|
6366
6366
|
portal: string | number | boolean | React$1.JSX.Element | Iterable<React$1.ReactNode> | null | undefined;
|
|
6367
6367
|
hideOverlay: (id: string) => void;
|
|
@@ -6385,9 +6385,9 @@ we don't want to allow the above `y` as a valid declaration
|
|
|
6385
6385
|
it breaks some types in the Menu component as well
|
|
6386
6386
|
|
|
6387
6387
|
*/
|
|
6388
|
-
|
|
6388
|
+
type RemoveObject<T> = T extends null | undefined ? T : T extends unknown ? keyof T extends never ? never : T : never;
|
|
6389
6389
|
|
|
6390
|
-
|
|
6390
|
+
type MenuSetupState = {
|
|
6391
6391
|
domRef: MutableRefObject<HTMLDivElement | null>;
|
|
6392
6392
|
keyboardActiveItemKey: string | null;
|
|
6393
6393
|
activeItemKey: string | null;
|
|
@@ -6395,13 +6395,13 @@ declare type MenuSetupState = {
|
|
|
6395
6395
|
focused: boolean;
|
|
6396
6396
|
destroyed: boolean;
|
|
6397
6397
|
};
|
|
6398
|
-
|
|
6398
|
+
type MenuDerivedState = {
|
|
6399
6399
|
runtimeItems: MenuRuntimeItem[];
|
|
6400
6400
|
runtimeSelectableItems: MenuRuntimeItemSelectable[];
|
|
6401
6401
|
columns: MenuColumn[];
|
|
6402
6402
|
menuId: string;
|
|
6403
6403
|
};
|
|
6404
|
-
|
|
6404
|
+
type MenuMappedState = {
|
|
6405
6405
|
parentMenuId: MenuProps['parentMenuId'];
|
|
6406
6406
|
parentMenuItemKey: MenuProps['parentMenuItemKey'];
|
|
6407
6407
|
constrainTo: MenuProps['constrainTo'];
|
|
@@ -6414,7 +6414,7 @@ declare type MenuMappedState = {
|
|
|
6414
6414
|
};
|
|
6415
6415
|
interface MenuState extends MenuMappedState, MenuDerivedState, MenuSetupState {
|
|
6416
6416
|
}
|
|
6417
|
-
|
|
6417
|
+
type MenuApi = {
|
|
6418
6418
|
focus: VoidFunction;
|
|
6419
6419
|
/**
|
|
6420
6420
|
* hides this and all parent menus
|
|
@@ -6424,8 +6424,8 @@ declare type MenuApi = {
|
|
|
6424
6424
|
getParentMenuId: () => string | undefined;
|
|
6425
6425
|
};
|
|
6426
6426
|
|
|
6427
|
-
|
|
6428
|
-
|
|
6427
|
+
type MenuRenderable = string | number | RemoveObject<Renderable>;
|
|
6428
|
+
type MenuRuntimeItemSelectable = {
|
|
6429
6429
|
type: 'item';
|
|
6430
6430
|
key: string;
|
|
6431
6431
|
parentMenuId: string;
|
|
@@ -6439,18 +6439,18 @@ declare type MenuRuntimeItemSelectable = {
|
|
|
6439
6439
|
menu: MenuProps | (() => MenuProps) | null;
|
|
6440
6440
|
originalMenuItem: MenuItemObject;
|
|
6441
6441
|
};
|
|
6442
|
-
|
|
6442
|
+
type MenuRuntimeItem = MenuRuntimeItemSelectable | {
|
|
6443
6443
|
type: 'decoration';
|
|
6444
6444
|
value: MenuDecoration;
|
|
6445
6445
|
style: CSSProperties;
|
|
6446
6446
|
span: number;
|
|
6447
6447
|
};
|
|
6448
|
-
|
|
6448
|
+
type MenuChildrenFnParam = {
|
|
6449
6449
|
item: MenuRuntimeItem;
|
|
6450
6450
|
column: MenuColumn;
|
|
6451
6451
|
columns: MenuColumn[];
|
|
6452
6452
|
};
|
|
6453
|
-
|
|
6453
|
+
type MenuProps = {
|
|
6454
6454
|
id?: string;
|
|
6455
6455
|
portalContainer?: ElementContainerGetter | false | null;
|
|
6456
6456
|
items?: MenuItemDefinition[];
|
|
@@ -6468,17 +6468,17 @@ declare type MenuProps = {
|
|
|
6468
6468
|
parentMenuItemKey?: string;
|
|
6469
6469
|
autoFocus?: boolean;
|
|
6470
6470
|
};
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6471
|
+
type MenuSeparator = '-';
|
|
6472
|
+
type MenuItemDefinition = MenuItemObject | MenuDecoration | MenuSeparator;
|
|
6473
|
+
type MenuItemSubMenu = Omit<MenuProps, 'children' | 'items'> & {
|
|
6474
6474
|
items: (MenuItemObject | MenuSeparator)[];
|
|
6475
6475
|
};
|
|
6476
|
-
|
|
6476
|
+
type MenuItemActionContext = {
|
|
6477
6477
|
hideMenu: () => void;
|
|
6478
6478
|
key: string;
|
|
6479
6479
|
item: MenuItemObject;
|
|
6480
6480
|
};
|
|
6481
|
-
|
|
6481
|
+
type MenuItemObject = {
|
|
6482
6482
|
key: string;
|
|
6483
6483
|
label: NonUndefined<MenuRenderable>;
|
|
6484
6484
|
span?: number;
|
|
@@ -6492,8 +6492,8 @@ declare type MenuItemObject = {
|
|
|
6492
6492
|
hideMenuOnAction?: boolean;
|
|
6493
6493
|
[k: string]: any;
|
|
6494
6494
|
};
|
|
6495
|
-
|
|
6496
|
-
|
|
6495
|
+
type MenuDecoration = MenuRenderable;
|
|
6496
|
+
type MenuColumn = {
|
|
6497
6497
|
flex?: number;
|
|
6498
6498
|
width?: string | number;
|
|
6499
6499
|
style?: CSSProperties;
|
|
@@ -6501,41 +6501,41 @@ declare type MenuColumn = {
|
|
|
6501
6501
|
field?: string;
|
|
6502
6502
|
render?: (param: MenuColumnRenderParam) => MenuRenderable;
|
|
6503
6503
|
};
|
|
6504
|
-
|
|
6504
|
+
type MenuColumnRenderParam = {
|
|
6505
6505
|
item: MenuItemObject;
|
|
6506
6506
|
column: MenuColumn;
|
|
6507
6507
|
value: MenuRenderable;
|
|
6508
6508
|
domProps: HTMLProps<HTMLDivElement>;
|
|
6509
6509
|
};
|
|
6510
6510
|
|
|
6511
|
-
|
|
6511
|
+
type LoadMaskProps = {
|
|
6512
6512
|
visible: boolean;
|
|
6513
6513
|
children: Renderable;
|
|
6514
6514
|
};
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6515
|
+
type InfiniteTablePropColumnOrderNormalized = string[];
|
|
6516
|
+
type InfiniteTablePropColumnOrder = InfiniteTablePropColumnOrderNormalized | true;
|
|
6517
|
+
type InfiniteTablePropColumnVisibility = Record<string, false>;
|
|
6518
|
+
type InfiniteTablePropColumnGroupVisibility = Record<string, boolean>;
|
|
6519
|
+
type InfiniteTableColumnPinnedValues = false | 'start' | 'end';
|
|
6520
|
+
type InfiniteTablePropColumnPinning = Record<string, true | 'start' | 'end'>;
|
|
6521
|
+
type InfiniteTableRowStylingFnParams<T> = {
|
|
6522
6522
|
rowIndex: number;
|
|
6523
6523
|
rowHasSelectedCells: boolean;
|
|
6524
6524
|
visibleColumnIds: string[];
|
|
6525
6525
|
allColumnIds: string[];
|
|
6526
6526
|
} & InfiniteTableRowInfoDataDiscriminator<T>;
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6527
|
+
type InfiniteTableRowStyleFn<T> = (params: InfiniteTableRowStylingFnParams<T>) => undefined | React$1.CSSProperties;
|
|
6528
|
+
type InfiniteTableRowClassNameFn<T> = (params: InfiniteTableRowStylingFnParams<T>) => string | undefined;
|
|
6529
|
+
type InfiniteTableCellClassNameFn<T> = InfiniteTableColumn<T>['className'];
|
|
6530
|
+
type InfiniteTablePropRowStyle<T> = React$1.CSSProperties | InfiniteTableRowStyleFn<T>;
|
|
6531
|
+
type InfiniteTablePropCellStyle<T> = InfiniteTableColumn<T>['style'];
|
|
6532
|
+
type InfiniteTablePropRowClassName<T> = string | InfiniteTableRowClassNameFn<T>;
|
|
6533
|
+
type InfiniteTablePropCellClassName<T> = string | InfiniteTableCellClassNameFn<T>;
|
|
6534
|
+
type InfiniteTableColumnAggregator<T, AggregationResultType> = Omit<AggregationReducer<T, AggregationResultType>, 'getter' | 'id'> & {
|
|
6535
6535
|
getter?: AggregationReducer<T, AggregationResultType>['getter'];
|
|
6536
6536
|
field?: keyof T;
|
|
6537
6537
|
};
|
|
6538
|
-
|
|
6538
|
+
type InfiniteTableColumnType<T> = {
|
|
6539
6539
|
minWidth?: number;
|
|
6540
6540
|
maxWidth?: number;
|
|
6541
6541
|
filterType?: string;
|
|
@@ -6577,20 +6577,20 @@ declare type InfiniteTableColumnType<T> = {
|
|
|
6577
6577
|
headerStyle?: InfiniteTableColumn<T>['headerStyle'];
|
|
6578
6578
|
headerClassName?: InfiniteTableColumn<T>['headerClassName'];
|
|
6579
6579
|
};
|
|
6580
|
-
|
|
6581
|
-
|
|
6580
|
+
type InfiniteTablePropColumnTypes<T> = Record<'default' | string, InfiniteTableColumnType<T>>;
|
|
6581
|
+
type InfiniteTableColumnSizingOptions = {
|
|
6582
6582
|
flex?: number;
|
|
6583
6583
|
width?: number;
|
|
6584
6584
|
minWidth?: number;
|
|
6585
6585
|
maxWidth?: number;
|
|
6586
6586
|
};
|
|
6587
|
-
|
|
6588
|
-
|
|
6587
|
+
type InfiniteTablePropColumnSizing = Record<string, InfiniteTableColumnSizingOptions>;
|
|
6588
|
+
type ColumnCellValues = {
|
|
6589
6589
|
value: any;
|
|
6590
6590
|
rawValue: any;
|
|
6591
6591
|
formattedValue: any;
|
|
6592
6592
|
};
|
|
6593
|
-
|
|
6593
|
+
type InfiniteTableColumnApi<_T> = {
|
|
6594
6594
|
showContextMenu: (target: EventTarget | HTMLElement) => void;
|
|
6595
6595
|
toggleContextMenu: (target: EventTarget | HTMLElement) => void;
|
|
6596
6596
|
hideContextMenu: () => void;
|
|
@@ -6609,10 +6609,10 @@ declare type InfiniteTableColumnApi<_T> = {
|
|
|
6609
6609
|
getCellValuesByPrimaryKey: (id: any) => null | ColumnCellValues;
|
|
6610
6610
|
getCellValueByPrimaryKey: (id: any) => any | null;
|
|
6611
6611
|
};
|
|
6612
|
-
|
|
6612
|
+
type InfiniteTableApiStartEditParams = InfiniteTableApiIsCellEditableParams & {
|
|
6613
6613
|
value?: any;
|
|
6614
6614
|
};
|
|
6615
|
-
|
|
6615
|
+
type InfiniteTableApiStopEditParams = {
|
|
6616
6616
|
cancel: true;
|
|
6617
6617
|
reject?: never;
|
|
6618
6618
|
value?: never;
|
|
@@ -6625,22 +6625,22 @@ declare type InfiniteTableApiStopEditParams = {
|
|
|
6625
6625
|
cancel?: never;
|
|
6626
6626
|
reject?: never;
|
|
6627
6627
|
};
|
|
6628
|
-
|
|
6629
|
-
|
|
6628
|
+
type InfiniteTableApiIsCellEditableParams = InfiniteTableApiCellLocator;
|
|
6629
|
+
type InfiniteTableApiCellLocator = {
|
|
6630
6630
|
columnId: string;
|
|
6631
6631
|
} & XOR<{
|
|
6632
6632
|
rowIndex: number;
|
|
6633
6633
|
}, {
|
|
6634
6634
|
primaryKey: any;
|
|
6635
6635
|
}>;
|
|
6636
|
-
|
|
6636
|
+
type InfiniteTableApiStopEditPromiseResolveType = {
|
|
6637
6637
|
cancel: true;
|
|
6638
6638
|
value: null;
|
|
6639
6639
|
} | {
|
|
6640
6640
|
reject: Error;
|
|
6641
6641
|
value: any;
|
|
6642
6642
|
} | boolean;
|
|
6643
|
-
|
|
6643
|
+
type MultiSortBehaviorOptions = {
|
|
6644
6644
|
multiSortBehavior?: InfiniteTablePropMultiSortBehavior;
|
|
6645
6645
|
};
|
|
6646
6646
|
interface InfiniteTableApi<T> {
|
|
@@ -6730,22 +6730,22 @@ interface InfiniteTableApi<T> {
|
|
|
6730
6730
|
getDataSourceState: () => DataSourceState<T>;
|
|
6731
6731
|
focus: () => void;
|
|
6732
6732
|
}
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6733
|
+
type InfiniteTablePropVirtualizeColumns<T> = boolean | ((columns: InfiniteTableComputedColumn<T>[]) => boolean);
|
|
6734
|
+
type InfiniteTablePropColumns<T, ColumnType = InfiniteTableColumn<T>> = Record<string, ColumnType>;
|
|
6735
|
+
type InfiniteTablePropColumnGroups = Record<string, InfiniteTableColumnGroup>;
|
|
6736
|
+
type InfiniteTablePropCollapsedColumnGroups = Map<string[], string>;
|
|
6737
|
+
type InfiniteTableColumnGroupHeaderRenderParams = {
|
|
6738
6738
|
columnGroup: InfiniteTableComputedColumnGroup;
|
|
6739
6739
|
horizontalLayoutPageIndex: number | null;
|
|
6740
6740
|
};
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6741
|
+
type InfiniteTableColumnGroupHeaderRenderFunction = (params: InfiniteTableColumnGroupHeaderRenderParams) => Renderable;
|
|
6742
|
+
type InfiniteTableColumnGroupStyleFunction = (params: InfiniteTableColumnGroupHeaderRenderParams) => React$1.CSSProperties;
|
|
6743
|
+
type InfiniteTableColumnGroup = {
|
|
6744
6744
|
columnGroup?: string;
|
|
6745
6745
|
header?: Renderable | InfiniteTableColumnGroupHeaderRenderFunction;
|
|
6746
6746
|
style?: React$1.CSSProperties | InfiniteTableColumnGroupStyleFunction;
|
|
6747
6747
|
};
|
|
6748
|
-
|
|
6748
|
+
type InfiniteTableComputedColumnGroup = InfiniteTableColumnGroup & {
|
|
6749
6749
|
id: string;
|
|
6750
6750
|
groupOffset: number;
|
|
6751
6751
|
computedWidth: number;
|
|
@@ -6753,7 +6753,7 @@ declare type InfiniteTableComputedColumnGroup = InfiniteTableColumnGroup & {
|
|
|
6753
6753
|
columns: string[];
|
|
6754
6754
|
depth: number;
|
|
6755
6755
|
};
|
|
6756
|
-
|
|
6756
|
+
type InfiniteTableGroupColumnGetterOptions<T> = {
|
|
6757
6757
|
groupIndexForColumn?: number;
|
|
6758
6758
|
groupByForColumn?: DataSourceGroupBy<T>;
|
|
6759
6759
|
selectionMode: DataSourcePropSelectionMode;
|
|
@@ -6763,27 +6763,27 @@ declare type InfiniteTableGroupColumnGetterOptions<T> = {
|
|
|
6763
6763
|
pivotBy?: DataSourcePivotBy<T>[];
|
|
6764
6764
|
sortable?: boolean;
|
|
6765
6765
|
};
|
|
6766
|
-
|
|
6766
|
+
type InfiniteTablePivotColumnGetterOptions<T, COL_TYPE = InfiniteTableColumn<T>> = {
|
|
6767
6767
|
column: COL_TYPE;
|
|
6768
6768
|
groupBy: DataSourcePropGroupBy<T>;
|
|
6769
6769
|
pivotBy: DataSourcePropPivotBy<T>;
|
|
6770
6770
|
};
|
|
6771
|
-
|
|
6772
|
-
|
|
6771
|
+
type InfiniteTablePropGroupRenderStrategy = 'single-column' | 'multi-column' | 'inline';
|
|
6772
|
+
type InfiniteTableGroupColumnBase<T> = Partial<InfiniteTableColumn<T>> & {
|
|
6773
6773
|
renderGroupIcon?: InfiniteTableColumnRenderFunctionForGroupRows<T>;
|
|
6774
6774
|
id?: string;
|
|
6775
6775
|
};
|
|
6776
|
-
|
|
6776
|
+
type InfiniteTablePivotColumnBase<T> = InfiniteTableColumn<T> & {
|
|
6777
6777
|
renderValue?: InfiniteTableColumnRenderFunction<T, InfiniteTableComputedPivotFinalColumn<T>>;
|
|
6778
6778
|
};
|
|
6779
|
-
|
|
6780
|
-
|
|
6781
|
-
|
|
6782
|
-
|
|
6779
|
+
type InfiniteTablePropGroupColumn<T> = InfiniteTableGroupColumnBase<T> | InfiniteTableGroupColumnFunction<T>;
|
|
6780
|
+
type InfiniteTableGroupColumnFunction<T> = (options: InfiniteTableGroupColumnGetterOptions<T>, toggleGroupRow: (groupKeys: any[]) => void) => Partial<InfiniteTableGroupColumnBase<T>>;
|
|
6781
|
+
type InfiniteTablePropPivotColumn<T, COL_TYPE = InfiniteTableColumn<T>> = Partial<InfiniteTablePivotColumnBase<T>> | ((options: InfiniteTablePivotColumnGetterOptions<T, COL_TYPE>) => InfiniteTablePivotColumnBase<T>);
|
|
6782
|
+
type RowDetailComponentProps<T = any> = {
|
|
6783
6783
|
rowInfo: InfiniteTableRowInfo<T>;
|
|
6784
6784
|
cache: RowDetailCacheStorageForCurrentRow<RowDetailCacheEntry>;
|
|
6785
6785
|
};
|
|
6786
|
-
|
|
6786
|
+
type InfiniteTablePropComponents<T = any> = {
|
|
6787
6787
|
LoadMask?: (props: LoadMaskProps & {
|
|
6788
6788
|
children?: React$1.ReactNode | undefined;
|
|
6789
6789
|
}) => React$1.JSX.Element | null;
|
|
@@ -6794,7 +6794,7 @@ declare type InfiniteTablePropComponents<T = any> = {
|
|
|
6794
6794
|
MenuIcon?: (props: MenuIconProps) => React$1.JSX.Element | null;
|
|
6795
6795
|
RowDetail?: (props: RowDetailComponentProps<T>) => React$1.JSX.Element | null;
|
|
6796
6796
|
};
|
|
6797
|
-
|
|
6797
|
+
type ScrollStopInfo = {
|
|
6798
6798
|
scrollTop: number;
|
|
6799
6799
|
scrollLeft: number;
|
|
6800
6800
|
viewportSize: Size;
|
|
@@ -6804,38 +6804,38 @@ declare type ScrollStopInfo = {
|
|
|
6804
6804
|
firstVisibleColIndex: number;
|
|
6805
6805
|
lastVisibleColIndex: number;
|
|
6806
6806
|
};
|
|
6807
|
-
|
|
6807
|
+
type InfiniteTableRowInfoDataDiscriminatorWithColumn<T> = {
|
|
6808
6808
|
column: InfiniteTableComputedColumn<T>;
|
|
6809
6809
|
columnApi: InfiniteTableColumnApi<T>;
|
|
6810
6810
|
} & InfiniteTableRowInfoDataDiscriminator<T>;
|
|
6811
|
-
|
|
6811
|
+
type InfiniteTableRowInfoDataDiscriminatorWithColumnAndApis<T> = {
|
|
6812
6812
|
api: InfiniteTableApi<T>;
|
|
6813
6813
|
dataSourceApi: DataSourceApi<T>;
|
|
6814
6814
|
} & InfiniteTableRowInfoDataDiscriminatorWithColumn<T>;
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6815
|
+
type InfiniteTablePropEditable<T> = InfiniteTableColumnEditableFn<T> | undefined;
|
|
6816
|
+
type InfiniteTablePropSortable<T> = InfiniteTableColumnSortable<T> | undefined;
|
|
6817
|
+
type InfiniteTablePropOnEditAcceptedParams<T> = InfiniteTableRowInfoDataDiscriminatorWithColumnAndApis<T> & {
|
|
6818
6818
|
initialValue: any;
|
|
6819
6819
|
};
|
|
6820
|
-
|
|
6821
|
-
|
|
6820
|
+
type InfiniteTablePropOnEditCancelledParams<T> = InfiniteTablePropOnEditAcceptedParams<T>;
|
|
6821
|
+
type InfiniteTablePropOnEditRejectedParams<T> = InfiniteTableRowInfoDataDiscriminatorWithColumnAndApis<T> & {
|
|
6822
6822
|
initialValue: any;
|
|
6823
6823
|
error: Error;
|
|
6824
6824
|
};
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6825
|
+
type InfiniteTablePropOnEditPersistParams<T> = InfiniteTablePropOnEditAcceptedParams<T>;
|
|
6826
|
+
type InfiniteTablePropMultiSortBehavior = 'append' | 'replace';
|
|
6827
|
+
type InfiniteTablePropKeyboardShorcut = {
|
|
6828
6828
|
key: string | string[];
|
|
6829
6829
|
when?: (context: InfiniteTableKeyboardEventHandlerContext<any>) => boolean | Promise<boolean>;
|
|
6830
6830
|
handler: (context: InfiniteTableKeyboardEventHandlerContext<any>, event: KeyboardEvent) => void | {
|
|
6831
6831
|
stopNext: boolean;
|
|
6832
6832
|
} | Promise<any>;
|
|
6833
6833
|
};
|
|
6834
|
-
|
|
6835
|
-
|
|
6834
|
+
type InfiniteTablePropDebugMode = boolean;
|
|
6835
|
+
type InfiniteTablePropOnCellDoubleClickResult = Partial<{
|
|
6836
6836
|
preventEdit: boolean;
|
|
6837
6837
|
}>;
|
|
6838
|
-
|
|
6838
|
+
type InfiniteTablePropOnKeyDownResult = Partial<{
|
|
6839
6839
|
preventEdit: boolean;
|
|
6840
6840
|
preventEditStop: boolean;
|
|
6841
6841
|
preventDefaultForTabKeyWhenEditing: boolean;
|
|
@@ -7025,22 +7025,22 @@ interface InfiniteTableProps<T> {
|
|
|
7025
7025
|
getColumnMenuItems?: InfiniteTablePropGetColumnMenuItems<T>;
|
|
7026
7026
|
getFilterOperatorMenuItems?: InfiniteTablePropGetFilterOperatorMenuItems<T>;
|
|
7027
7027
|
}
|
|
7028
|
-
|
|
7028
|
+
type InfiniteTablePropGetColumnMenuItems<T> = (defaultItems: Exclude<MenuProps['items'], undefined>, params: {
|
|
7029
7029
|
column: InfiniteTableComputedColumn<T>;
|
|
7030
7030
|
columnApi: InfiniteTableColumnApi<T>;
|
|
7031
7031
|
getComputed: () => InfiniteTableComputedValues<T>;
|
|
7032
7032
|
} & InfiniteTablePublicContext<T>) => MenuProps['items'];
|
|
7033
|
-
|
|
7033
|
+
type GetContextMenuItemsReturnType = MenuProps['items'] | null | {
|
|
7034
7034
|
items: MenuProps['items'];
|
|
7035
7035
|
columns: MenuColumn[];
|
|
7036
7036
|
};
|
|
7037
|
-
|
|
7037
|
+
type InfiniteTablePropGetCellContextMenuItems<T> = (info: InfiniteTableRowInfoDataDiscriminatorWithColumn<T> & {
|
|
7038
7038
|
event: React$1.MouseEvent;
|
|
7039
7039
|
}, params: InfiniteTablePublicContext<T>) => Promise<GetContextMenuItemsReturnType> | GetContextMenuItemsReturnType;
|
|
7040
|
-
|
|
7040
|
+
type InfiniteTablePropGetContextMenuItems<T> = (param: {
|
|
7041
7041
|
event: React$1.MouseEvent;
|
|
7042
7042
|
} & Partial<InfiniteTableRowInfoDataDiscriminatorWithColumn<T>>, params: InfiniteTablePublicContext<T>) => Promise<GetContextMenuItemsReturnType> | GetContextMenuItemsReturnType;
|
|
7043
|
-
|
|
7043
|
+
type InfiniteTablePropGetFilterOperatorMenuItems<T> = (defaultItems: Exclude<MenuProps['items'], undefined>, params: {
|
|
7044
7044
|
column: InfiniteTableComputedColumn<T>;
|
|
7045
7045
|
filterTypes: DataSourceProps<T>['filterTypes'];
|
|
7046
7046
|
columnFilterValue: DataSourceFilterValueItem<T> | null;
|
|
@@ -7049,23 +7049,23 @@ declare type InfiniteTablePropGetFilterOperatorMenuItems<T> = (defaultItems: Exc
|
|
|
7049
7049
|
getComputed: () => InfiniteTableComputedValues<T>;
|
|
7050
7050
|
actions: InfiniteTableActions<T>;
|
|
7051
7051
|
}) => MenuProps['items'];
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7052
|
+
type InfiniteTablePropKeyboardNavigation = 'cell' | 'row' | false;
|
|
7053
|
+
type InfiniteTablePropKeyboardSelection = boolean;
|
|
7054
|
+
type InfiniteTablePropHeaderOptions = {
|
|
7055
7055
|
alwaysReserveSpaceForSortIcon: boolean;
|
|
7056
7056
|
};
|
|
7057
|
-
|
|
7057
|
+
type InfiniteTablePropAutoSizeColumnsKey = string | number | {
|
|
7058
7058
|
key: string | number;
|
|
7059
7059
|
columnsToSkip?: string[];
|
|
7060
7060
|
columnsToResize?: string[];
|
|
7061
7061
|
includeHeader?: boolean;
|
|
7062
7062
|
};
|
|
7063
|
-
|
|
7063
|
+
type Scrollbars = {
|
|
7064
7064
|
vertical: boolean;
|
|
7065
7065
|
horizontal: boolean;
|
|
7066
7066
|
};
|
|
7067
|
-
|
|
7068
|
-
|
|
7067
|
+
type ScrollAdjustPosition = 'start' | 'end' | 'center';
|
|
7068
|
+
type InfiniteColumnEditorContextType<T> = {
|
|
7069
7069
|
api: InfiniteTableApi<T>;
|
|
7070
7070
|
initialValue: any;
|
|
7071
7071
|
value: any;
|
|
@@ -7082,8 +7082,8 @@ declare function debounce(fn: Function, { wait }: {
|
|
|
7082
7082
|
wait: number;
|
|
7083
7083
|
}): (...args: any[]) => void;
|
|
7084
7084
|
|
|
7085
|
-
|
|
7086
|
-
|
|
7085
|
+
type ToPath<T> = (data: T) => string[];
|
|
7086
|
+
type ToTreeDataArrayOptions<T, RESULT_T> = {
|
|
7087
7087
|
nodesKey: keyof RESULT_T;
|
|
7088
7088
|
pathKey: keyof T | string | ToPath<T>;
|
|
7089
7089
|
emptyGroup?: object | ((path: string[], children: T[]) => object);
|
|
@@ -7092,13 +7092,13 @@ declare function toTreeDataArray<T = any, RESULT_T = any>(data: T[], options: To
|
|
|
7092
7092
|
|
|
7093
7093
|
declare function TreeDataSource<T>(props: TreeDataSourceProps<T>): React$1.JSX.Element;
|
|
7094
7094
|
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7095
|
+
type TreeGridOnlyProps<_T> = {};
|
|
7096
|
+
type InfiniteTablePropsNotAvailableInTreeGrid = keyof Pick<InfiniteTableProps<any>, 'pivotColumns' | 'pivotColumnGroups' | 'pivotTotalColumnPosition' | 'pivotGrandTotalColumnPosition' | 'groupColumn' | 'groupRenderStrategy' | 'hideEmptyGroupColumns' | 'showSeparatePivotColumnForSingleAggregation' | 'isRowDetailExpanded' | 'isRowDetailEnabled' | 'rowDetailCache' | 'rowDetailState' | 'defaultRowDetailState' | 'onRowDetailStateChange' | 'rowDetailHeight' | 'rowDetailRenderer' | 'groupRenderStrategy'>;
|
|
7097
|
+
type TreeGridProps<T> = Omit<InfiniteTableProps<T>, InfiniteTablePropsNotAvailableInTreeGrid> & TreeGridOnlyProps<T>;
|
|
7098
7098
|
|
|
7099
7099
|
declare function TreeGrid<T>(props: TreeGridProps<T>): React$1.JSX.Element;
|
|
7100
7100
|
|
|
7101
|
-
|
|
7101
|
+
type DataSourceChildren<T> = React$1.ReactNode | ((values: DataSourceState<T>) => React$1.ReactNode);
|
|
7102
7102
|
|
|
7103
7103
|
declare function useDataSourceInternal<T, PROPS_TYPE = DataSourceProps<T>>(props: Omit<PROPS_TYPE, 'children'>): {
|
|
7104
7104
|
DataSource: ({ children }: {
|
|
@@ -7108,7 +7108,7 @@ declare function useDataSourceInternal<T, PROPS_TYPE = DataSourceProps<T>>(props
|
|
|
7108
7108
|
state: DataSourceState<T>;
|
|
7109
7109
|
};
|
|
7110
7110
|
|
|
7111
|
-
|
|
7111
|
+
type DataQuerySnapshot = {
|
|
7112
7112
|
state: 'idle' | 'loading' | 'success' | 'error';
|
|
7113
7113
|
result: any;
|
|
7114
7114
|
error: any;
|
|
@@ -7131,12 +7131,12 @@ declare class DataQuery {
|
|
|
7131
7131
|
isDone: () => boolean;
|
|
7132
7132
|
isSuccess: () => boolean;
|
|
7133
7133
|
}
|
|
7134
|
-
|
|
7134
|
+
type DataQueryKey = string | number | boolean | null | symbol | {
|
|
7135
7135
|
[key: string]: DataQueryKey | undefined;
|
|
7136
7136
|
} | Array<DataQueryKey>;
|
|
7137
|
-
|
|
7137
|
+
type DataQueryFn = (...key: DataQueryKey[]) => Promise<any>;
|
|
7138
7138
|
|
|
7139
|
-
|
|
7139
|
+
type QueryOptions = {
|
|
7140
7140
|
fn: DataQueryFn;
|
|
7141
7141
|
key: DataQueryKey[];
|
|
7142
7142
|
name?: string;
|
|
@@ -7159,7 +7159,7 @@ declare class DataClient {
|
|
|
7159
7159
|
discardQueryForKey: (key: DataQueryKey[]) => void;
|
|
7160
7160
|
destroy(): void;
|
|
7161
7161
|
}
|
|
7162
|
-
|
|
7162
|
+
type DataClientOptions = {
|
|
7163
7163
|
name: string;
|
|
7164
7164
|
cache?: boolean;
|
|
7165
7165
|
};
|
|
@@ -7176,7 +7176,7 @@ declare const keyboardShortcuts: {
|
|
|
7176
7176
|
instantEdit: InfiniteTablePropKeyboardShorcut;
|
|
7177
7177
|
};
|
|
7178
7178
|
|
|
7179
|
-
|
|
7179
|
+
type InterceptedMapFns<K, V> = {
|
|
7180
7180
|
set?: (k: K, v: V) => void;
|
|
7181
7181
|
beforeClear?: (map: Map<K, V>) => void;
|
|
7182
7182
|
clear?: () => void;
|
|
@@ -7226,7 +7226,7 @@ declare const useEffectWhen: (callback: EffectCallback, options: {
|
|
|
7226
7226
|
|
|
7227
7227
|
declare const usePrevious: <T>(value: T, initialValue?: T | undefined) => T;
|
|
7228
7228
|
|
|
7229
|
-
|
|
7229
|
+
type FlashingCellOptions = {
|
|
7230
7230
|
flashDuration?: number;
|
|
7231
7231
|
flashClassName?: string;
|
|
7232
7232
|
render?: (props: {
|