@infinite-table/infinite-react 5.0.0-canary.8 → 5.0.1
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.css +64 -54
- package/index.d.ts +83 -11
- package/index.dev.js +757 -278
- package/index.dev.mjs +748 -269
- package/index.js +757 -278
- package/index.mjs +748 -269
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -234,6 +234,8 @@ declare type ShouldUpdateRenderCountOptions = {
|
|
|
234
234
|
};
|
|
235
235
|
declare class MatrixBrain extends Logger implements IBrain {
|
|
236
236
|
private scrolling;
|
|
237
|
+
protected RENDER_COUNT_SAFETY_MARGIN_START: number;
|
|
238
|
+
protected RENDER_COUNT_SAFETY_MARGIN_END: number;
|
|
237
239
|
protected availableWidth: MatrixBrainOptions['width'];
|
|
238
240
|
protected availableRenderWidth: number;
|
|
239
241
|
isHorizontalLayoutBrain: boolean;
|
|
@@ -242,6 +244,7 @@ declare class MatrixBrain extends Logger implements IBrain {
|
|
|
242
244
|
protected availableRenderHeight: number;
|
|
243
245
|
protected cols: MatrixBrainOptions['cols'];
|
|
244
246
|
protected rows: MatrixBrainOptions['rows'];
|
|
247
|
+
protected alwaysRenderedColumns: Set<number>;
|
|
245
248
|
/**
|
|
246
249
|
* This is only here for easier accessing in the renderer, when the horizontal layout is enabled.
|
|
247
250
|
* In this way, the API is the same for both brains, so we don't have to cast the brain type in the renderer.
|
|
@@ -265,6 +268,8 @@ declare class MatrixBrain extends Logger implements IBrain {
|
|
|
265
268
|
private horizontalTotalSize;
|
|
266
269
|
private horizontalRenderCount?;
|
|
267
270
|
private verticalRenderCount?;
|
|
271
|
+
private horizontalExtendRangeBy;
|
|
272
|
+
private verticalExtendRangeBy;
|
|
268
273
|
protected horizontalRenderRange: RenderRangeType;
|
|
269
274
|
protected verticalRenderRange: RenderRangeType;
|
|
270
275
|
protected extraSpanCells: [number, number][];
|
|
@@ -314,8 +319,9 @@ declare class MatrixBrain extends Logger implements IBrain {
|
|
|
314
319
|
* @param options.right - if true, extends the right side with the amount of current visible columns, otherwise with the specified number
|
|
315
320
|
*/
|
|
316
321
|
extendRenderRange(options: {
|
|
317
|
-
|
|
318
|
-
|
|
322
|
+
start?: number | boolean;
|
|
323
|
+
end?: number | boolean;
|
|
324
|
+
direction: 'horizontal' | 'vertical';
|
|
319
325
|
}): () => void;
|
|
320
326
|
updateRenderCount(which?: WhichDirection): void;
|
|
321
327
|
protected doUpdateRenderCount(which?: WhichDirection): void;
|
|
@@ -326,11 +332,11 @@ declare class MatrixBrain extends Logger implements IBrain {
|
|
|
326
332
|
private notifyScrollStop;
|
|
327
333
|
setScrollPosition(scrollPosition: ScrollPosition, callback?: (scrollPos: ScrollPosition) => void): void;
|
|
328
334
|
protected notifyAvailableSizeChange: () => void;
|
|
329
|
-
protected notifyRenderRangeChange(): void;
|
|
330
|
-
protected notifyVerticalRenderRangeChange: () => void;
|
|
331
|
-
protected notifyHorizontalRenderRangeChange: () => void;
|
|
335
|
+
protected notifyRenderRangeChange(immediate?: boolean): void;
|
|
336
|
+
protected notifyVerticalRenderRangeChange: (immediate?: boolean) => void;
|
|
337
|
+
protected notifyHorizontalRenderRangeChange: (immediate?: boolean) => void;
|
|
332
338
|
private notifyScrollChange;
|
|
333
|
-
|
|
339
|
+
protected computeDirectionalRenderCount(direction: 'horizontal' | 'vertical', itemSize: number | ItemSizeFunction, count: number, theRenderSize: Size): number;
|
|
334
340
|
getFixedSize(direction: 'horizontal' | 'vertical'): number;
|
|
335
341
|
getFixedStartSize(direction: 'horizontal' | 'vertical'): number;
|
|
336
342
|
getFixedEndSize(direction: 'horizontal' | 'vertical'): number;
|
|
@@ -441,6 +447,8 @@ declare class MatrixBrain extends Logger implements IBrain {
|
|
|
441
447
|
width: number;
|
|
442
448
|
};
|
|
443
449
|
getVirtualizedContentSizeFor(direction: 'horizontal' | 'vertical'): number;
|
|
450
|
+
keepColumnRendered: (colIndex: number) => () => void;
|
|
451
|
+
getAlwaysRenderedColumns: () => number[];
|
|
444
452
|
setRenderRange: ({ horizontal, vertical, extraCells, }: {
|
|
445
453
|
horizontal: RenderRangeType;
|
|
446
454
|
vertical: RenderRangeType;
|
|
@@ -928,6 +936,13 @@ declare type CellPositionByIndex = {
|
|
|
928
936
|
rowIndex: number;
|
|
929
937
|
colIndex: number;
|
|
930
938
|
};
|
|
939
|
+
declare type MultiSelectRangeOptions = {
|
|
940
|
+
horizontalLayout: false;
|
|
941
|
+
} | {
|
|
942
|
+
horizontalLayout: true;
|
|
943
|
+
rowsPerPage: number;
|
|
944
|
+
columnsPerSet: number;
|
|
945
|
+
};
|
|
931
946
|
|
|
932
947
|
declare type MultiCellSelectorOptions = {
|
|
933
948
|
getPrimaryKeyByIndex: (rowIndex: number) => string | number;
|
|
@@ -952,10 +967,10 @@ declare class MultiCellSelector {
|
|
|
952
967
|
* @param position CellPosition
|
|
953
968
|
*/
|
|
954
969
|
singleAddClick(position: CellPositionByIndex): void;
|
|
955
|
-
multiSelectClick(position: CellPositionByIndex): void;
|
|
956
|
-
setRangeSelected(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex, selected: boolean): void;
|
|
957
|
-
deselectRange(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex): void;
|
|
958
|
-
selectRange(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex): void;
|
|
970
|
+
multiSelectClick(position: CellPositionByIndex, options: MultiSelectRangeOptions): void;
|
|
971
|
+
setRangeSelected(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex, selected: boolean, options: MultiSelectRangeOptions): void;
|
|
972
|
+
deselectRange(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex, options: MultiSelectRangeOptions): void;
|
|
973
|
+
selectRange(startPosition: CellPositionByIndex, endPosition: CellPositionByIndex, options: MultiSelectRangeOptions): void;
|
|
959
974
|
}
|
|
960
975
|
|
|
961
976
|
declare type RowSelectionStateItem = (any | any[])[];
|
|
@@ -1319,6 +1334,7 @@ declare class MappedCells<T_ADDITIONAL_CELL_INFO = any> extends Logger {
|
|
|
1319
1334
|
withCellAdditionalInfo: boolean;
|
|
1320
1335
|
});
|
|
1321
1336
|
getElementFromListForColumn: (elementsOutsideItemRange: number[], colIndex: number) => number | undefined;
|
|
1337
|
+
getElementFromListForRow: (elementsOutsideItemRange: number[], _rowIndex: number) => number | undefined;
|
|
1322
1338
|
init(): void;
|
|
1323
1339
|
reset(): void;
|
|
1324
1340
|
destroy(): void;
|
|
@@ -1406,7 +1422,8 @@ declare class ReactHeadlessTableRenderer extends Logger {
|
|
|
1406
1422
|
private mappedDetailRows;
|
|
1407
1423
|
private items;
|
|
1408
1424
|
private detailItems;
|
|
1409
|
-
private
|
|
1425
|
+
private lastEnteredRow;
|
|
1426
|
+
private lastExitedRow;
|
|
1410
1427
|
private onDestroy;
|
|
1411
1428
|
private hoverRowUpdatesInProgress;
|
|
1412
1429
|
private infiniteNode;
|
|
@@ -1524,6 +1541,7 @@ interface InfiniteTableSetupState<T> {
|
|
|
1524
1541
|
headerBrain: MatrixBrain;
|
|
1525
1542
|
renderer: ReactHeadlessTableRenderer;
|
|
1526
1543
|
onRenderUpdater: SubscriptionCallback<Renderable>;
|
|
1544
|
+
forceBodyRerenderTimestamp: number;
|
|
1527
1545
|
lastRowToExpandRef: MutableRefObject<any | null>;
|
|
1528
1546
|
lastRowToCollapseRef: MutableRefObject<any | null>;
|
|
1529
1547
|
getDOMNodeForCell: (cellPos: CellPositionByIndex) => HTMLElement | null;
|
|
@@ -1570,6 +1588,7 @@ interface InfiniteTableSetupState<T> {
|
|
|
1570
1588
|
focused: boolean;
|
|
1571
1589
|
ready: boolean;
|
|
1572
1590
|
columnReorderDragColumnId: false | string;
|
|
1591
|
+
columnReorderInPageIndex: number | null;
|
|
1573
1592
|
columnVisibilityForGrouping: Record<string, false>;
|
|
1574
1593
|
focusedWithin: boolean;
|
|
1575
1594
|
scrollPosition: ScrollPosition;
|
|
@@ -1610,6 +1629,7 @@ interface InfiniteTableMappedState<T> {
|
|
|
1610
1629
|
groupColumn: InfiniteTableProps<T>['groupColumn'];
|
|
1611
1630
|
onKeyDown: InfiniteTableProps<T>['onKeyDown'];
|
|
1612
1631
|
onCellClick: InfiniteTableProps<T>['onCellClick'];
|
|
1632
|
+
repeatWrappedGroupRows: InfiniteTableProps<T>['repeatWrappedGroupRows'];
|
|
1613
1633
|
wrapRowsHorizontally: InfiniteTableProps<T>['wrapRowsHorizontally'];
|
|
1614
1634
|
rowDetailCache: RowDetailCache<RowDetailCacheKey, RowDetailCacheEntry>;
|
|
1615
1635
|
headerOptions: NonUndefined<InfiniteTableProps<T>['headerOptions']>;
|
|
@@ -2138,6 +2158,11 @@ declare type LazyGroupDataDeepMap<DataType, KeyType = string> = DeepMap<KeyType,
|
|
|
2138
2158
|
interface DataSourceSetupState<T> {
|
|
2139
2159
|
indexer: Indexer<T, any>;
|
|
2140
2160
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue | undefined>;
|
|
2161
|
+
repeatWrappedGroupRows: boolean;
|
|
2162
|
+
/**
|
|
2163
|
+
* This is just used for horizontal layout and when repeatWrappedGroupRows is TRUE!!!
|
|
2164
|
+
*/
|
|
2165
|
+
rowsPerPage: number | null;
|
|
2141
2166
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
2142
2167
|
idToIndexMap: Map<any, number>;
|
|
2143
2168
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -2565,6 +2590,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2565
2590
|
componentState: {
|
|
2566
2591
|
indexer: Indexer<unknown, any>;
|
|
2567
2592
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
2593
|
+
repeatWrappedGroupRows: never;
|
|
2594
|
+
rowsPerPage: never;
|
|
2568
2595
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
2569
2596
|
idToIndexMap: Map<any, number>;
|
|
2570
2597
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -2661,6 +2688,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2661
2688
|
} & {
|
|
2662
2689
|
indexer: Indexer<unknown, any>;
|
|
2663
2690
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
2691
|
+
repeatWrappedGroupRows: never;
|
|
2692
|
+
rowsPerPage: never;
|
|
2664
2693
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
2665
2694
|
idToIndexMap: Map<any, number>;
|
|
2666
2695
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -2757,6 +2786,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2757
2786
|
} & {
|
|
2758
2787
|
indexer: Indexer<unknown, any>;
|
|
2759
2788
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
2789
|
+
repeatWrappedGroupRows: never;
|
|
2790
|
+
rowsPerPage: never;
|
|
2760
2791
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
2761
2792
|
idToIndexMap: Map<any, number>;
|
|
2762
2793
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -2854,6 +2885,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2854
2885
|
componentActions: ComponentStateGeneratedActions<{
|
|
2855
2886
|
indexer: Indexer<unknown, any>;
|
|
2856
2887
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
2888
|
+
repeatWrappedGroupRows: never;
|
|
2889
|
+
rowsPerPage: never;
|
|
2857
2890
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
2858
2891
|
idToIndexMap: Map<any, number>;
|
|
2859
2892
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -2950,6 +2983,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2950
2983
|
} & {
|
|
2951
2984
|
indexer: Indexer<unknown, any>;
|
|
2952
2985
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
2986
|
+
repeatWrappedGroupRows: never;
|
|
2987
|
+
rowsPerPage: never;
|
|
2953
2988
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
2954
2989
|
idToIndexMap: Map<any, number>;
|
|
2955
2990
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -3046,6 +3081,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3046
3081
|
} & {
|
|
3047
3082
|
indexer: Indexer<unknown, any>;
|
|
3048
3083
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3084
|
+
repeatWrappedGroupRows: never;
|
|
3085
|
+
rowsPerPage: never;
|
|
3049
3086
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
3050
3087
|
idToIndexMap: Map<any, number>;
|
|
3051
3088
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -3143,6 +3180,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3143
3180
|
getComponentState: () => {
|
|
3144
3181
|
indexer: Indexer<unknown, any>;
|
|
3145
3182
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3183
|
+
repeatWrappedGroupRows: never;
|
|
3184
|
+
rowsPerPage: never;
|
|
3146
3185
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
3147
3186
|
idToIndexMap: Map<any, number>;
|
|
3148
3187
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -3239,6 +3278,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3239
3278
|
} & {
|
|
3240
3279
|
indexer: Indexer<unknown, any>;
|
|
3241
3280
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3281
|
+
repeatWrappedGroupRows: never;
|
|
3282
|
+
rowsPerPage: never;
|
|
3242
3283
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
3243
3284
|
idToIndexMap: Map<any, number>;
|
|
3244
3285
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -3335,6 +3376,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3335
3376
|
} & {
|
|
3336
3377
|
indexer: Indexer<unknown, any>;
|
|
3337
3378
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3379
|
+
repeatWrappedGroupRows: never;
|
|
3380
|
+
rowsPerPage: never;
|
|
3338
3381
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
3339
3382
|
idToIndexMap: Map<any, number>;
|
|
3340
3383
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -3432,6 +3475,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3432
3475
|
replaceState: (newState: {
|
|
3433
3476
|
indexer: Indexer<unknown, any>;
|
|
3434
3477
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3478
|
+
repeatWrappedGroupRows: never;
|
|
3479
|
+
rowsPerPage: never;
|
|
3435
3480
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
3436
3481
|
idToIndexMap: Map<any, number>;
|
|
3437
3482
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -3528,6 +3573,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3528
3573
|
} & {
|
|
3529
3574
|
indexer: Indexer<unknown, any>;
|
|
3530
3575
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3576
|
+
repeatWrappedGroupRows: never;
|
|
3577
|
+
rowsPerPage: never;
|
|
3531
3578
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
3532
3579
|
idToIndexMap: Map<any, number>;
|
|
3533
3580
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -3624,6 +3671,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3624
3671
|
} & {
|
|
3625
3672
|
indexer: Indexer<unknown, any>;
|
|
3626
3673
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3674
|
+
repeatWrappedGroupRows: never;
|
|
3675
|
+
rowsPerPage: never;
|
|
3627
3676
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
3628
3677
|
idToIndexMap: Map<any, number>;
|
|
3629
3678
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -3721,6 +3770,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3721
3770
|
assignState: (newState: Partial<{
|
|
3722
3771
|
indexer: Indexer<unknown, any>;
|
|
3723
3772
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3773
|
+
repeatWrappedGroupRows: never;
|
|
3774
|
+
rowsPerPage: never;
|
|
3724
3775
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
3725
3776
|
idToIndexMap: Map<any, number>;
|
|
3726
3777
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -3817,6 +3868,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3817
3868
|
} & {
|
|
3818
3869
|
indexer: Indexer<unknown, any>;
|
|
3819
3870
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3871
|
+
repeatWrappedGroupRows: never;
|
|
3872
|
+
rowsPerPage: never;
|
|
3820
3873
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
3821
3874
|
idToIndexMap: Map<any, number>;
|
|
3822
3875
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -3913,6 +3966,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3913
3966
|
} & {
|
|
3914
3967
|
indexer: Indexer<unknown, any>;
|
|
3915
3968
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
3969
|
+
repeatWrappedGroupRows: never;
|
|
3970
|
+
rowsPerPage: never;
|
|
3916
3971
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
3917
3972
|
idToIndexMap: Map<any, number>;
|
|
3918
3973
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -4011,6 +4066,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4011
4066
|
ContextComponent: React$1.Context<ManagedComponentStateContextValue<{
|
|
4012
4067
|
indexer: Indexer<unknown, any>;
|
|
4013
4068
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4069
|
+
repeatWrappedGroupRows: never;
|
|
4070
|
+
rowsPerPage: never;
|
|
4014
4071
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
4015
4072
|
idToIndexMap: Map<any, number>;
|
|
4016
4073
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -4107,6 +4164,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4107
4164
|
} & {
|
|
4108
4165
|
indexer: Indexer<unknown, any>;
|
|
4109
4166
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4167
|
+
repeatWrappedGroupRows: never;
|
|
4168
|
+
rowsPerPage: never;
|
|
4110
4169
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
4111
4170
|
idToIndexMap: Map<any, number>;
|
|
4112
4171
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -4203,6 +4262,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4203
4262
|
} & {
|
|
4204
4263
|
indexer: Indexer<unknown, any>;
|
|
4205
4264
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4265
|
+
repeatWrappedGroupRows: never;
|
|
4266
|
+
rowsPerPage: never;
|
|
4206
4267
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
4207
4268
|
idToIndexMap: Map<any, number>;
|
|
4208
4269
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -4299,6 +4360,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4299
4360
|
}, ComponentStateGeneratedActions<{
|
|
4300
4361
|
indexer: Indexer<unknown, any>;
|
|
4301
4362
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4363
|
+
repeatWrappedGroupRows: never;
|
|
4364
|
+
rowsPerPage: never;
|
|
4302
4365
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
4303
4366
|
idToIndexMap: Map<any, number>;
|
|
4304
4367
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -4395,6 +4458,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4395
4458
|
} & {
|
|
4396
4459
|
indexer: Indexer<unknown, any>;
|
|
4397
4460
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4461
|
+
repeatWrappedGroupRows: never;
|
|
4462
|
+
rowsPerPage: never;
|
|
4398
4463
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
4399
4464
|
idToIndexMap: Map<any, number>;
|
|
4400
4465
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -4491,6 +4556,8 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4491
4556
|
} & {
|
|
4492
4557
|
indexer: Indexer<unknown, any>;
|
|
4493
4558
|
getDataSourceMasterContextRef: React$1.MutableRefObject<() => DataSourceMasterDetailContextValue<any> | undefined>;
|
|
4559
|
+
repeatWrappedGroupRows: never;
|
|
4560
|
+
rowsPerPage: never;
|
|
4494
4561
|
destroyedRef: React$1.MutableRefObject<boolean>;
|
|
4495
4562
|
idToIndexMap: Map<any, number>;
|
|
4496
4563
|
detailDataSourcesStateToRestore: Map<any, Partial<DataSourceStateRestoreForDetail<any>>>;
|
|
@@ -4650,6 +4717,7 @@ declare type InfiniteTable_HasGrouping_RowInfoGroup<T> = {
|
|
|
4650
4717
|
data: Partial<T> | null;
|
|
4651
4718
|
reducerData?: Partial<Record<keyof T, any>>;
|
|
4652
4719
|
isGroupRow: true;
|
|
4720
|
+
duplicateOf?: InfiniteTable_HasGrouping_RowInfoGroup<T>['id'];
|
|
4653
4721
|
/**
|
|
4654
4722
|
* This array contains all the (uncollapsed, so visible) row infos under this group, at any level of nesting,
|
|
4655
4723
|
* in the order in which they are visible in the table
|
|
@@ -5214,6 +5282,7 @@ interface InfiniteTableApi<T> {
|
|
|
5214
5282
|
get rowDetailApi(): InfiniteTableRowDetailApi;
|
|
5215
5283
|
get rowSelectionApi(): InfiniteTableRowSelectionApi;
|
|
5216
5284
|
get cellSelectionApi(): InfiniteTableCellSelectionApi<T>;
|
|
5285
|
+
get scrollContainer(): HTMLElement;
|
|
5217
5286
|
setColumnOrder: (columnOrder: InfiniteTablePropColumnOrder) => void;
|
|
5218
5287
|
setColumnVisibility: (columnVisibility: InfiniteTablePropColumnVisibility) => void;
|
|
5219
5288
|
isDestroyed: () => boolean;
|
|
@@ -5228,8 +5297,10 @@ interface InfiniteTableApi<T> {
|
|
|
5228
5297
|
rowIndex: number;
|
|
5229
5298
|
columnId: string;
|
|
5230
5299
|
}): boolean;
|
|
5300
|
+
get scrollLeftMax(): number;
|
|
5231
5301
|
get scrollLeft(): number;
|
|
5232
5302
|
set scrollLeft(value: number);
|
|
5303
|
+
get scrollTopMax(): number;
|
|
5233
5304
|
get scrollTop(): number;
|
|
5234
5305
|
set scrollTop(value: number);
|
|
5235
5306
|
isCellEditable: (params: InfiniteTableApiIsCellEditableParams) => Promise<boolean>;
|
|
@@ -5403,6 +5474,7 @@ interface InfiniteTableProps<T> {
|
|
|
5403
5474
|
components?: InfiniteTablePropComponents<T>;
|
|
5404
5475
|
wrapRowsHorizontally?: boolean;
|
|
5405
5476
|
keyboardShortcuts?: InfiniteTablePropKeyboardShorcut[];
|
|
5477
|
+
repeatWrappedGroupRows?: boolean;
|
|
5406
5478
|
viewportReservedWidth?: number;
|
|
5407
5479
|
onViewportReservedWidthChange?: (viewportReservedWidth: number) => void;
|
|
5408
5480
|
showColumnFilters?: boolean;
|