@infinite-table/infinite-react 4.3.7 → 4.3.8
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 +44 -21
- package/index.dev.js +53 -18
- package/index.dev.mjs +53 -18
- package/index.js +53 -18
- package/index.mjs +53 -18
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1828,6 +1828,7 @@ interface DataSourceMappedState<T> {
|
|
|
1828
1828
|
refetchKey: NonUndefined<DataSourceProps<T>['refetchKey']>;
|
|
1829
1829
|
isRowSelected: DataSourceProps<T>['isRowSelected'];
|
|
1830
1830
|
debugId: DataSourceProps<T>['debugId'];
|
|
1831
|
+
batchOperationDelay: DataSourceProps<T>['batchOperationDelay'];
|
|
1831
1832
|
onDataArrayChange: DataSourceProps<T>['onDataArrayChange'];
|
|
1832
1833
|
onDataMutations: DataSourceProps<T>['onDataMutations'];
|
|
1833
1834
|
onReady: DataSourceProps<T>['onReady'];
|
|
@@ -2008,6 +2009,7 @@ declare type DataSourceProps<T> = {
|
|
|
2008
2009
|
*/
|
|
2009
2010
|
fields?: (keyof T)[];
|
|
2010
2011
|
refetchKey?: number | string | object;
|
|
2012
|
+
batchOperationDelay?: number;
|
|
2011
2013
|
rowInfoReducers?: DataSourcePropRowInfoReducers<T>;
|
|
2012
2014
|
data: DataSourceData<T>;
|
|
2013
2015
|
selectionMode?: DataSourcePropSelectionMode;
|
|
@@ -2320,7 +2322,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2320
2322
|
};
|
|
2321
2323
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
2322
2324
|
pivotMappings?: never;
|
|
2323
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2325
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2324
2326
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
2325
2327
|
dataParams?: never;
|
|
2326
2328
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -2375,6 +2377,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2375
2377
|
refetchKey: never;
|
|
2376
2378
|
isRowSelected: never;
|
|
2377
2379
|
debugId: never;
|
|
2380
|
+
batchOperationDelay: never;
|
|
2378
2381
|
onDataArrayChange: never;
|
|
2379
2382
|
onDataMutations: never;
|
|
2380
2383
|
onReady: never;
|
|
@@ -2413,7 +2416,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2413
2416
|
};
|
|
2414
2417
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
2415
2418
|
pivotMappings?: never;
|
|
2416
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2419
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2417
2420
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
2418
2421
|
dataParams?: never;
|
|
2419
2422
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -2468,6 +2471,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2468
2471
|
refetchKey: never;
|
|
2469
2472
|
isRowSelected: never;
|
|
2470
2473
|
debugId: never;
|
|
2474
|
+
batchOperationDelay: never;
|
|
2471
2475
|
onDataArrayChange: never;
|
|
2472
2476
|
onDataMutations: never;
|
|
2473
2477
|
onReady: never;
|
|
@@ -2506,7 +2510,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2506
2510
|
};
|
|
2507
2511
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
2508
2512
|
pivotMappings?: never;
|
|
2509
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2513
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2510
2514
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
2511
2515
|
dataParams?: never;
|
|
2512
2516
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -2561,6 +2565,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2561
2565
|
refetchKey: never;
|
|
2562
2566
|
isRowSelected: never;
|
|
2563
2567
|
debugId: never;
|
|
2568
|
+
batchOperationDelay: never;
|
|
2564
2569
|
onDataArrayChange: never;
|
|
2565
2570
|
onDataMutations: never;
|
|
2566
2571
|
onReady: never;
|
|
@@ -2600,7 +2605,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2600
2605
|
};
|
|
2601
2606
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
2602
2607
|
pivotMappings?: never;
|
|
2603
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2608
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2604
2609
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
2605
2610
|
dataParams?: never;
|
|
2606
2611
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -2655,6 +2660,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2655
2660
|
refetchKey: never;
|
|
2656
2661
|
isRowSelected: never;
|
|
2657
2662
|
debugId: never;
|
|
2663
|
+
batchOperationDelay: never;
|
|
2658
2664
|
onDataArrayChange: never;
|
|
2659
2665
|
onDataMutations: never;
|
|
2660
2666
|
onReady: never;
|
|
@@ -2693,7 +2699,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2693
2699
|
};
|
|
2694
2700
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
2695
2701
|
pivotMappings?: never;
|
|
2696
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2702
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2697
2703
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
2698
2704
|
dataParams?: never;
|
|
2699
2705
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -2748,6 +2754,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2748
2754
|
refetchKey: never;
|
|
2749
2755
|
isRowSelected: never;
|
|
2750
2756
|
debugId: never;
|
|
2757
|
+
batchOperationDelay: never;
|
|
2751
2758
|
onDataArrayChange: never;
|
|
2752
2759
|
onDataMutations: never;
|
|
2753
2760
|
onReady: never;
|
|
@@ -2786,7 +2793,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2786
2793
|
};
|
|
2787
2794
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
2788
2795
|
pivotMappings?: never;
|
|
2789
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2796
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2790
2797
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
2791
2798
|
dataParams?: never;
|
|
2792
2799
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -2841,6 +2848,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2841
2848
|
refetchKey: never;
|
|
2842
2849
|
isRowSelected: never;
|
|
2843
2850
|
debugId: never;
|
|
2851
|
+
batchOperationDelay: never;
|
|
2844
2852
|
onDataArrayChange: never;
|
|
2845
2853
|
onDataMutations: never;
|
|
2846
2854
|
onReady: never;
|
|
@@ -2880,7 +2888,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2880
2888
|
};
|
|
2881
2889
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
2882
2890
|
pivotMappings?: never;
|
|
2883
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2891
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2884
2892
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
2885
2893
|
dataParams?: never;
|
|
2886
2894
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -2935,6 +2943,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2935
2943
|
refetchKey: never;
|
|
2936
2944
|
isRowSelected: never;
|
|
2937
2945
|
debugId: never;
|
|
2946
|
+
batchOperationDelay: never;
|
|
2938
2947
|
onDataArrayChange: never;
|
|
2939
2948
|
onDataMutations: never;
|
|
2940
2949
|
onReady: never;
|
|
@@ -2973,7 +2982,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
2973
2982
|
};
|
|
2974
2983
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
2975
2984
|
pivotMappings?: never;
|
|
2976
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2985
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
2977
2986
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
2978
2987
|
dataParams?: never;
|
|
2979
2988
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3028,6 +3037,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3028
3037
|
refetchKey: never;
|
|
3029
3038
|
isRowSelected: never;
|
|
3030
3039
|
debugId: never;
|
|
3040
|
+
batchOperationDelay: never;
|
|
3031
3041
|
onDataArrayChange: never;
|
|
3032
3042
|
onDataMutations: never;
|
|
3033
3043
|
onReady: never;
|
|
@@ -3066,7 +3076,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3066
3076
|
};
|
|
3067
3077
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3068
3078
|
pivotMappings?: never;
|
|
3069
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3079
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3070
3080
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3071
3081
|
dataParams?: never;
|
|
3072
3082
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3121,6 +3131,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3121
3131
|
refetchKey: never;
|
|
3122
3132
|
isRowSelected: never;
|
|
3123
3133
|
debugId: never;
|
|
3134
|
+
batchOperationDelay: never;
|
|
3124
3135
|
onDataArrayChange: never;
|
|
3125
3136
|
onDataMutations: never;
|
|
3126
3137
|
onReady: never;
|
|
@@ -3160,7 +3171,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3160
3171
|
};
|
|
3161
3172
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3162
3173
|
pivotMappings?: never;
|
|
3163
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3174
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3164
3175
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3165
3176
|
dataParams?: never;
|
|
3166
3177
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3215,6 +3226,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3215
3226
|
refetchKey: never;
|
|
3216
3227
|
isRowSelected: never;
|
|
3217
3228
|
debugId: never;
|
|
3229
|
+
batchOperationDelay: never;
|
|
3218
3230
|
onDataArrayChange: never;
|
|
3219
3231
|
onDataMutations: never;
|
|
3220
3232
|
onReady: never;
|
|
@@ -3253,7 +3265,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3253
3265
|
};
|
|
3254
3266
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3255
3267
|
pivotMappings?: never;
|
|
3256
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3268
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3257
3269
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3258
3270
|
dataParams?: never;
|
|
3259
3271
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3308,6 +3320,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3308
3320
|
refetchKey: never;
|
|
3309
3321
|
isRowSelected: never;
|
|
3310
3322
|
debugId: never;
|
|
3323
|
+
batchOperationDelay: never;
|
|
3311
3324
|
onDataArrayChange: never;
|
|
3312
3325
|
onDataMutations: never;
|
|
3313
3326
|
onReady: never;
|
|
@@ -3346,7 +3359,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3346
3359
|
};
|
|
3347
3360
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3348
3361
|
pivotMappings?: never;
|
|
3349
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3362
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3350
3363
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3351
3364
|
dataParams?: never;
|
|
3352
3365
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3401,6 +3414,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3401
3414
|
refetchKey: never;
|
|
3402
3415
|
isRowSelected: never;
|
|
3403
3416
|
debugId: never;
|
|
3417
|
+
batchOperationDelay: never;
|
|
3404
3418
|
onDataArrayChange: never;
|
|
3405
3419
|
onDataMutations: never;
|
|
3406
3420
|
onReady: never;
|
|
@@ -3440,7 +3454,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3440
3454
|
};
|
|
3441
3455
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3442
3456
|
pivotMappings?: never;
|
|
3443
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3457
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3444
3458
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3445
3459
|
dataParams?: never;
|
|
3446
3460
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3495,6 +3509,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3495
3509
|
refetchKey: never;
|
|
3496
3510
|
isRowSelected: never;
|
|
3497
3511
|
debugId: never;
|
|
3512
|
+
batchOperationDelay: never;
|
|
3498
3513
|
onDataArrayChange: never;
|
|
3499
3514
|
onDataMutations: never;
|
|
3500
3515
|
onReady: never;
|
|
@@ -3533,7 +3548,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3533
3548
|
};
|
|
3534
3549
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3535
3550
|
pivotMappings?: never;
|
|
3536
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3551
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3537
3552
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3538
3553
|
dataParams?: never;
|
|
3539
3554
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3588,6 +3603,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3588
3603
|
refetchKey: never;
|
|
3589
3604
|
isRowSelected: never;
|
|
3590
3605
|
debugId: never;
|
|
3606
|
+
batchOperationDelay: never;
|
|
3591
3607
|
onDataArrayChange: never;
|
|
3592
3608
|
onDataMutations: never;
|
|
3593
3609
|
onReady: never;
|
|
@@ -3626,7 +3642,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3626
3642
|
};
|
|
3627
3643
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3628
3644
|
pivotMappings?: never;
|
|
3629
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3645
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3630
3646
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3631
3647
|
dataParams?: never;
|
|
3632
3648
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3681,6 +3697,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3681
3697
|
refetchKey: never;
|
|
3682
3698
|
isRowSelected: never;
|
|
3683
3699
|
debugId: never;
|
|
3700
|
+
batchOperationDelay: never;
|
|
3684
3701
|
onDataArrayChange: never;
|
|
3685
3702
|
onDataMutations: never;
|
|
3686
3703
|
onReady: never;
|
|
@@ -3721,7 +3738,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3721
3738
|
};
|
|
3722
3739
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3723
3740
|
pivotMappings?: never;
|
|
3724
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3741
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3725
3742
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3726
3743
|
dataParams?: never;
|
|
3727
3744
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3776,6 +3793,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3776
3793
|
refetchKey: never;
|
|
3777
3794
|
isRowSelected: never;
|
|
3778
3795
|
debugId: never;
|
|
3796
|
+
batchOperationDelay: never;
|
|
3779
3797
|
onDataArrayChange: never;
|
|
3780
3798
|
onDataMutations: never;
|
|
3781
3799
|
onReady: never;
|
|
@@ -3814,7 +3832,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3814
3832
|
};
|
|
3815
3833
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3816
3834
|
pivotMappings?: never;
|
|
3817
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3835
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3818
3836
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3819
3837
|
dataParams?: never;
|
|
3820
3838
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3869,6 +3887,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3869
3887
|
refetchKey: never;
|
|
3870
3888
|
isRowSelected: never;
|
|
3871
3889
|
debugId: never;
|
|
3890
|
+
batchOperationDelay: never;
|
|
3872
3891
|
onDataArrayChange: never;
|
|
3873
3892
|
onDataMutations: never;
|
|
3874
3893
|
onReady: never;
|
|
@@ -3907,7 +3926,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3907
3926
|
};
|
|
3908
3927
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
3909
3928
|
pivotMappings?: never;
|
|
3910
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3929
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
3911
3930
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
3912
3931
|
dataParams?: never;
|
|
3913
3932
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -3962,6 +3981,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
3962
3981
|
refetchKey: never;
|
|
3963
3982
|
isRowSelected: never;
|
|
3964
3983
|
debugId: never;
|
|
3984
|
+
batchOperationDelay: never;
|
|
3965
3985
|
onDataArrayChange: never;
|
|
3966
3986
|
onDataMutations: never;
|
|
3967
3987
|
onReady: never;
|
|
@@ -4000,7 +4020,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4000
4020
|
};
|
|
4001
4021
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4002
4022
|
pivotMappings?: never;
|
|
4003
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4023
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4004
4024
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4005
4025
|
dataParams?: never;
|
|
4006
4026
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4055,6 +4075,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4055
4075
|
refetchKey: never;
|
|
4056
4076
|
isRowSelected: never;
|
|
4057
4077
|
debugId: never;
|
|
4078
|
+
batchOperationDelay: never;
|
|
4058
4079
|
onDataArrayChange: never;
|
|
4059
4080
|
onDataMutations: never;
|
|
4060
4081
|
onReady: never;
|
|
@@ -4093,7 +4114,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4093
4114
|
};
|
|
4094
4115
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4095
4116
|
pivotMappings?: never;
|
|
4096
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4117
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4097
4118
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4098
4119
|
dataParams?: never;
|
|
4099
4120
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4148,6 +4169,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4148
4169
|
refetchKey: never;
|
|
4149
4170
|
isRowSelected: never;
|
|
4150
4171
|
debugId: never;
|
|
4172
|
+
batchOperationDelay: never;
|
|
4151
4173
|
onDataArrayChange: never;
|
|
4152
4174
|
onDataMutations: never;
|
|
4153
4175
|
onReady: never;
|
|
@@ -4186,7 +4208,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4186
4208
|
};
|
|
4187
4209
|
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
4188
4210
|
pivotMappings?: never;
|
|
4189
|
-
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4211
|
+
propsCache: Map<"children" | "data" | "groupBy" | "pivotBy" | "rowSelection" | "sortMode" | "filterMode" | "groupMode" | "shouldReloadData" | "groupRowsState" | "livePaginationCursor" | "cellSelection" | "selectionMode" | "aggregationReducers" | "livePagination" | "refetchKey" | "isRowSelected" | "debugId" | "batchOperationDelay" | "onDataArrayChange" | "onDataMutations" | "onReady" | "rowInfoReducers" | "lazyLoad" | "useGroupKeysForMultiRowSelection" | "onDataParamsChange" | "sortFunction" | "filterFunction" | "filterValue" | "filterTypes" | "primaryKey" | "filterDelay" | "loading" | "sortTypes" | "collapseGroupRowsOnDataFunctionChange" | "sortInfo" | "fields" | "defaultRowSelection" | "defaultCellSelection" | "onCellSelectionChange" | "defaultLoading" | "onLoadingChange" | "defaultPivotBy" | "onPivotByChange" | "defaultAggregationReducers" | "defaultGroupBy" | "onGroupByChange" | "defaultGroupRowsState" | "onGroupRowsStateChange" | "defaultSortInfo" | "onSortInfoChange" | "onLivePaginationCursorChange" | "defaultFilterValue" | "onFilterValueChange", WeakMap<any, any>>;
|
|
4190
4212
|
showSeparatePivotColumnForSingleAggregation: never;
|
|
4191
4213
|
dataParams?: never;
|
|
4192
4214
|
originalLazyGroupData: LazyGroupDataDeepMap<unknown, string>;
|
|
@@ -4241,6 +4263,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4241
4263
|
refetchKey: never;
|
|
4242
4264
|
isRowSelected: never;
|
|
4243
4265
|
debugId: never;
|
|
4266
|
+
batchOperationDelay: never;
|
|
4244
4267
|
onDataArrayChange: never;
|
|
4245
4268
|
onDataMutations: never;
|
|
4246
4269
|
onReady: never;
|
package/index.dev.js
CHANGED
|
@@ -2980,11 +2980,16 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
2980
2980
|
}, zIndex2) => {
|
|
2981
2981
|
const columnOffsetX = `${columnOffsetAtIndex2}-${colIndex}`;
|
|
2982
2982
|
const columnOffsetXWhileReordering = `${columnOffsetAtIndexWhileReordering2}-${colIndex}`;
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2983
|
+
const currentTransformYValue = scrollTop2 ? `calc( ${y}px + var(${scrollTopCSSVar}) )` : `${y}px`;
|
|
2984
|
+
if (element.__currentTransformY !== currentTransformYValue) {
|
|
2985
|
+
element.__currentTransformY = currentTransformYValue;
|
|
2986
|
+
element.style.setProperty(currentTransformY, currentTransformYValue);
|
|
2987
|
+
}
|
|
2988
|
+
const transformValue = `translate3d(var(${columnOffsetXWhileReordering}, var(${columnOffsetX})), var(${currentTransformY}), 0)`;
|
|
2989
|
+
if (element.__transformValue !== transformValue) {
|
|
2990
|
+
element.__transformValue = transformValue;
|
|
2991
|
+
element.style.transform = transformValue;
|
|
2992
|
+
}
|
|
2988
2993
|
if (zIndex2 != null) {
|
|
2989
2994
|
}
|
|
2990
2995
|
};
|
|
@@ -3638,11 +3643,15 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
3638
3643
|
itemElement.style.willChange = "transform";
|
|
3639
3644
|
itemElement.style.backfaceVisibility = "hidden";
|
|
3640
3645
|
const hidden = options ? options.hidden : !!this.isCellCovered(rowIndex, colIndex);
|
|
3641
|
-
|
|
3646
|
+
const zIndex2 = hidden ? "-1" : (
|
|
3642
3647
|
// #updatezindex - we need to allow elements use their own zIndex, so we
|
|
3643
3648
|
// resort to allowing them to have it as a data-z-index attribute
|
|
3644
3649
|
itemElement.dataset.zIndex || "auto"
|
|
3645
3650
|
);
|
|
3651
|
+
if (itemElement.__zIndex !== zIndex2) {
|
|
3652
|
+
itemElement.__zIndex = zIndex2;
|
|
3653
|
+
itemElement.style.zIndex = zIndex2;
|
|
3654
|
+
}
|
|
3646
3655
|
} else {
|
|
3647
3656
|
itemElement.style.display = "";
|
|
3648
3657
|
itemElement.style.left = `${x}px`;
|
|
@@ -4160,7 +4169,7 @@ var ActiveCellIndicatorCls = { visible: "ActiveCellIndicator_ActiveCellIndicator
|
|
|
4160
4169
|
var ActiveIndicatorWrapperCls = "ActiveCellIndicator_ActiveIndicatorWrapperCls__nxbq1c0 utilities_pointerEvents_none__16lm1iwl utilities_position_sticky__16lm1iw4 utilities_left_0__16lm1iw1e utilities_top_0__16lm1iw1c utilities_height_0__16lm1iw18 utilities_zIndex_1000000__16lm1iwu";
|
|
4161
4170
|
|
|
4162
4171
|
// src/components/InfiniteTable/components/ActiveRowIndicator.css.ts
|
|
4163
|
-
var ActiveRowIndicatorCls = { visible: "ActiveRowIndicator_ActiveRowIndicatorCls_visible__j26lrx1 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl
|
|
4172
|
+
var ActiveRowIndicatorCls = { visible: "ActiveRowIndicator_ActiveRowIndicatorCls_visible__j26lrx1 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2 utilities_width_100%__16lm1iw1b utilities_top_0__16lm1iw1c utilities_left_0__16lm1iw1e", hidden: "ActiveRowIndicator_ActiveRowIndicatorCls_hidden__j26lrx2 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2 utilities_width_100%__16lm1iw1b utilities_top_0__16lm1iw1c utilities_left_0__16lm1iw1e" };
|
|
4164
4173
|
|
|
4165
4174
|
// src/components/InfiniteTable/components/ActiveRowIndicator.tsx
|
|
4166
4175
|
var { rootClassName: rootClassName3 } = internalProps;
|
|
@@ -4592,8 +4601,8 @@ function forwardProps(propsToForward, props, setupState) {
|
|
|
4592
4601
|
return mappedState;
|
|
4593
4602
|
}
|
|
4594
4603
|
function buildManagedComponent(config) {
|
|
4604
|
+
const useParentStateFn = config.getParentState || (() => null);
|
|
4595
4605
|
function useManagedComponent(props) {
|
|
4596
|
-
var _a, _b;
|
|
4597
4606
|
const [initialSetupState] = (0, import_react14.useState)(() => {
|
|
4598
4607
|
return config.initSetupState ? config.initSetupState(props) : {};
|
|
4599
4608
|
});
|
|
@@ -4602,7 +4611,7 @@ function buildManagedComponent(config) {
|
|
|
4602
4611
|
() => config.forwardProps ? config.forwardProps(initialSetupState) : {},
|
|
4603
4612
|
[initialSetupState]
|
|
4604
4613
|
);
|
|
4605
|
-
const parentState = (
|
|
4614
|
+
const parentState = useParentStateFn();
|
|
4606
4615
|
const getParentState = useLatest(parentState);
|
|
4607
4616
|
function initStateOnce() {
|
|
4608
4617
|
let mappedState = {};
|
|
@@ -4638,11 +4647,11 @@ function buildManagedComponent(config) {
|
|
|
4638
4647
|
const [wholeState] = (0, import_react14.useState)(initStateOnce);
|
|
4639
4648
|
const getProps = useLatest(props);
|
|
4640
4649
|
const theReducer = (previousState, action) => {
|
|
4641
|
-
var
|
|
4650
|
+
var _a;
|
|
4642
4651
|
if (action.type === "REPLACE_STATE") {
|
|
4643
4652
|
return action.payload;
|
|
4644
4653
|
}
|
|
4645
|
-
const parentState2 = (
|
|
4654
|
+
const parentState2 = (_a = getParentState == null ? void 0 : getParentState()) != null ? _a : null;
|
|
4646
4655
|
const mappedState = action.payload.mappedState;
|
|
4647
4656
|
const updatedProps = action.payload.updatedPropsToState;
|
|
4648
4657
|
const newState = Object.assign({}, previousState);
|
|
@@ -4727,6 +4736,8 @@ function buildManagedComponent(config) {
|
|
|
4727
4736
|
[state, actions, getComponentState]
|
|
4728
4737
|
);
|
|
4729
4738
|
const prevProps = usePrevious(props);
|
|
4739
|
+
const skipTriggerParentStateChangeRef = (0, import_react14.useRef)(false);
|
|
4740
|
+
skipTriggerParentStateChangeRef.current = false;
|
|
4730
4741
|
const effectFn = config.layoutEffect ? import_react14.useLayoutEffect : import_react14.useEffect;
|
|
4731
4742
|
effectFn(() => {
|
|
4732
4743
|
const currentProps = props;
|
|
@@ -4784,6 +4795,7 @@ function buildManagedComponent(config) {
|
|
|
4784
4795
|
updatedPropsToState: updatedPropsToStateCount ? updatedPropsToState : null
|
|
4785
4796
|
}
|
|
4786
4797
|
};
|
|
4798
|
+
skipTriggerParentStateChangeRef.current = true;
|
|
4787
4799
|
dispatch(action);
|
|
4788
4800
|
if (config.onPropChange) {
|
|
4789
4801
|
for (var prop in rawUpdatedProps)
|
|
@@ -4802,10 +4814,18 @@ function buildManagedComponent(config) {
|
|
|
4802
4814
|
}
|
|
4803
4815
|
}
|
|
4804
4816
|
});
|
|
4817
|
+
effectFn(() => {
|
|
4818
|
+
if (parentState != null && !skipTriggerParentStateChangeRef.current) {
|
|
4819
|
+
dispatch({
|
|
4820
|
+
type: "PARENT_STATE_CHANGE",
|
|
4821
|
+
payload: {}
|
|
4822
|
+
});
|
|
4823
|
+
}
|
|
4824
|
+
}, [parentState]);
|
|
4805
4825
|
useEffectOnce(() => {
|
|
4806
4826
|
return () => {
|
|
4807
|
-
var
|
|
4808
|
-
(
|
|
4827
|
+
var _a;
|
|
4828
|
+
(_a = config.cleanup) == null ? void 0 : _a.call(config, getComponentState());
|
|
4809
4829
|
};
|
|
4810
4830
|
});
|
|
4811
4831
|
return { contextValue, ContextComponent: Context };
|
|
@@ -8249,7 +8269,7 @@ function InfiniteTableCellFn(props) {
|
|
|
8249
8269
|
}
|
|
8250
8270
|
const RenderComponent = cellType === "body" ? (_b = column.components) == null ? void 0 : _b.ColumnCell : (_c = column.components) == null ? void 0 : _c.HeaderCell;
|
|
8251
8271
|
if (RenderComponent) {
|
|
8252
|
-
return /* @__PURE__ */ React34.createElement(RenderComponent, __spreadValues({}, finalDOMProps));
|
|
8272
|
+
return /* @__PURE__ */ React34.createElement(RenderComponent, __spreadProps(__spreadValues({}, finalDOMProps), { ref: domRef }));
|
|
8253
8273
|
}
|
|
8254
8274
|
return /* @__PURE__ */ React34.createElement("div", __spreadProps(__spreadValues({}, finalDOMProps), { ref: domRef }));
|
|
8255
8275
|
}
|
|
@@ -12903,6 +12923,10 @@ function getDataSourceApi(param) {
|
|
|
12903
12923
|
var DataSourceApiImpl = class {
|
|
12904
12924
|
constructor(param) {
|
|
12905
12925
|
this.pendingOperations = [];
|
|
12926
|
+
//@ts-ignore
|
|
12927
|
+
this.batchOperationRafId = 0;
|
|
12928
|
+
//@ts-ignore
|
|
12929
|
+
this.batchOperationTimeoutId = 0;
|
|
12906
12930
|
this.pendingPromise = null;
|
|
12907
12931
|
this.resolvePendingPromise = null;
|
|
12908
12932
|
this.toPrimaryKey = (data) => {
|
|
@@ -13049,13 +13073,23 @@ var DataSourceApiImpl = class {
|
|
|
13049
13073
|
this.actions = param.actions;
|
|
13050
13074
|
}
|
|
13051
13075
|
batchOperation(operation) {
|
|
13076
|
+
var _a;
|
|
13052
13077
|
if (!this.pendingPromise) {
|
|
13053
13078
|
this.pendingPromise = new Promise((resolve) => {
|
|
13054
13079
|
this.resolvePendingPromise = resolve;
|
|
13055
13080
|
});
|
|
13056
|
-
|
|
13057
|
-
|
|
13058
|
-
|
|
13081
|
+
const delay = Math.max(0, (_a = this.getState().batchOperationDelay) != null ? _a : 0);
|
|
13082
|
+
if (delay === 0) {
|
|
13083
|
+
this.batchOperationRafId = raf(() => {
|
|
13084
|
+
this.commit();
|
|
13085
|
+
});
|
|
13086
|
+
} else {
|
|
13087
|
+
this.batchOperationTimeoutId = setTimeout(() => {
|
|
13088
|
+
this.batchOperationRafId = raf(() => {
|
|
13089
|
+
this.commit();
|
|
13090
|
+
});
|
|
13091
|
+
}, delay);
|
|
13092
|
+
}
|
|
13059
13093
|
}
|
|
13060
13094
|
this.pendingOperations.push(operation);
|
|
13061
13095
|
return this.pendingPromise;
|
|
@@ -14464,6 +14498,7 @@ var forwardProps3 = (setupState) => {
|
|
|
14464
14498
|
__idToIndex: idToIndexReducer
|
|
14465
14499
|
};
|
|
14466
14500
|
},
|
|
14501
|
+
batchOperationDelay: 1,
|
|
14467
14502
|
isRowSelected: 1,
|
|
14468
14503
|
onDataArrayChange: 1,
|
|
14469
14504
|
onDataMutations: 1,
|
|
@@ -18909,7 +18944,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
18909
18944
|
}
|
|
18910
18945
|
let valid2 = isValidLicense(licenseKey, {
|
|
18911
18946
|
publishedAt: 1624970570587,
|
|
18912
|
-
version: "4.3.
|
|
18947
|
+
version: "4.3.8"
|
|
18913
18948
|
});
|
|
18914
18949
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
18915
18950
|
return true;
|
package/index.dev.mjs
CHANGED
|
@@ -2935,11 +2935,16 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
2935
2935
|
}, zIndex2) => {
|
|
2936
2936
|
const columnOffsetX = `${columnOffsetAtIndex2}-${colIndex}`;
|
|
2937
2937
|
const columnOffsetXWhileReordering = `${columnOffsetAtIndexWhileReordering2}-${colIndex}`;
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2938
|
+
const currentTransformYValue = scrollTop2 ? `calc( ${y}px + var(${scrollTopCSSVar}) )` : `${y}px`;
|
|
2939
|
+
if (element.__currentTransformY !== currentTransformYValue) {
|
|
2940
|
+
element.__currentTransformY = currentTransformYValue;
|
|
2941
|
+
element.style.setProperty(currentTransformY, currentTransformYValue);
|
|
2942
|
+
}
|
|
2943
|
+
const transformValue = `translate3d(var(${columnOffsetXWhileReordering}, var(${columnOffsetX})), var(${currentTransformY}), 0)`;
|
|
2944
|
+
if (element.__transformValue !== transformValue) {
|
|
2945
|
+
element.__transformValue = transformValue;
|
|
2946
|
+
element.style.transform = transformValue;
|
|
2947
|
+
}
|
|
2943
2948
|
if (zIndex2 != null) {
|
|
2944
2949
|
}
|
|
2945
2950
|
};
|
|
@@ -3593,11 +3598,15 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
3593
3598
|
itemElement.style.willChange = "transform";
|
|
3594
3599
|
itemElement.style.backfaceVisibility = "hidden";
|
|
3595
3600
|
const hidden = options ? options.hidden : !!this.isCellCovered(rowIndex, colIndex);
|
|
3596
|
-
|
|
3601
|
+
const zIndex2 = hidden ? "-1" : (
|
|
3597
3602
|
// #updatezindex - we need to allow elements use their own zIndex, so we
|
|
3598
3603
|
// resort to allowing them to have it as a data-z-index attribute
|
|
3599
3604
|
itemElement.dataset.zIndex || "auto"
|
|
3600
3605
|
);
|
|
3606
|
+
if (itemElement.__zIndex !== zIndex2) {
|
|
3607
|
+
itemElement.__zIndex = zIndex2;
|
|
3608
|
+
itemElement.style.zIndex = zIndex2;
|
|
3609
|
+
}
|
|
3601
3610
|
} else {
|
|
3602
3611
|
itemElement.style.display = "";
|
|
3603
3612
|
itemElement.style.left = `${x}px`;
|
|
@@ -4115,7 +4124,7 @@ var ActiveCellIndicatorCls = { visible: "ActiveCellIndicator_ActiveCellIndicator
|
|
|
4115
4124
|
var ActiveIndicatorWrapperCls = "ActiveCellIndicator_ActiveIndicatorWrapperCls__nxbq1c0 utilities_pointerEvents_none__16lm1iwl utilities_position_sticky__16lm1iw4 utilities_left_0__16lm1iw1e utilities_top_0__16lm1iw1c utilities_height_0__16lm1iw18 utilities_zIndex_1000000__16lm1iwu";
|
|
4116
4125
|
|
|
4117
4126
|
// src/components/InfiniteTable/components/ActiveRowIndicator.css.ts
|
|
4118
|
-
var ActiveRowIndicatorCls = { visible: "ActiveRowIndicator_ActiveRowIndicatorCls_visible__j26lrx1 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl
|
|
4127
|
+
var ActiveRowIndicatorCls = { visible: "ActiveRowIndicator_ActiveRowIndicatorCls_visible__j26lrx1 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2 utilities_width_100%__16lm1iw1b utilities_top_0__16lm1iw1c utilities_left_0__16lm1iw1e", hidden: "ActiveRowIndicator_ActiveRowIndicatorCls_hidden__j26lrx2 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2 utilities_width_100%__16lm1iw1b utilities_top_0__16lm1iw1c utilities_left_0__16lm1iw1e" };
|
|
4119
4128
|
|
|
4120
4129
|
// src/components/InfiniteTable/components/ActiveRowIndicator.tsx
|
|
4121
4130
|
var { rootClassName: rootClassName3 } = internalProps;
|
|
@@ -4555,8 +4564,8 @@ function forwardProps(propsToForward, props, setupState) {
|
|
|
4555
4564
|
return mappedState;
|
|
4556
4565
|
}
|
|
4557
4566
|
function buildManagedComponent(config) {
|
|
4567
|
+
const useParentStateFn = config.getParentState || (() => null);
|
|
4558
4568
|
function useManagedComponent(props) {
|
|
4559
|
-
var _a, _b;
|
|
4560
4569
|
const [initialSetupState] = useState4(() => {
|
|
4561
4570
|
return config.initSetupState ? config.initSetupState(props) : {};
|
|
4562
4571
|
});
|
|
@@ -4565,7 +4574,7 @@ function buildManagedComponent(config) {
|
|
|
4565
4574
|
() => config.forwardProps ? config.forwardProps(initialSetupState) : {},
|
|
4566
4575
|
[initialSetupState]
|
|
4567
4576
|
);
|
|
4568
|
-
const parentState = (
|
|
4577
|
+
const parentState = useParentStateFn();
|
|
4569
4578
|
const getParentState = useLatest(parentState);
|
|
4570
4579
|
function initStateOnce() {
|
|
4571
4580
|
let mappedState = {};
|
|
@@ -4601,11 +4610,11 @@ function buildManagedComponent(config) {
|
|
|
4601
4610
|
const [wholeState] = useState4(initStateOnce);
|
|
4602
4611
|
const getProps = useLatest(props);
|
|
4603
4612
|
const theReducer = (previousState, action) => {
|
|
4604
|
-
var
|
|
4613
|
+
var _a;
|
|
4605
4614
|
if (action.type === "REPLACE_STATE") {
|
|
4606
4615
|
return action.payload;
|
|
4607
4616
|
}
|
|
4608
|
-
const parentState2 = (
|
|
4617
|
+
const parentState2 = (_a = getParentState == null ? void 0 : getParentState()) != null ? _a : null;
|
|
4609
4618
|
const mappedState = action.payload.mappedState;
|
|
4610
4619
|
const updatedProps = action.payload.updatedPropsToState;
|
|
4611
4620
|
const newState = Object.assign({}, previousState);
|
|
@@ -4690,6 +4699,8 @@ function buildManagedComponent(config) {
|
|
|
4690
4699
|
[state, actions, getComponentState]
|
|
4691
4700
|
);
|
|
4692
4701
|
const prevProps = usePrevious(props);
|
|
4702
|
+
const skipTriggerParentStateChangeRef = useRef11(false);
|
|
4703
|
+
skipTriggerParentStateChangeRef.current = false;
|
|
4693
4704
|
const effectFn = config.layoutEffect ? useLayoutEffect7 : useEffect9;
|
|
4694
4705
|
effectFn(() => {
|
|
4695
4706
|
const currentProps = props;
|
|
@@ -4747,6 +4758,7 @@ function buildManagedComponent(config) {
|
|
|
4747
4758
|
updatedPropsToState: updatedPropsToStateCount ? updatedPropsToState : null
|
|
4748
4759
|
}
|
|
4749
4760
|
};
|
|
4761
|
+
skipTriggerParentStateChangeRef.current = true;
|
|
4750
4762
|
dispatch(action);
|
|
4751
4763
|
if (config.onPropChange) {
|
|
4752
4764
|
for (var prop in rawUpdatedProps)
|
|
@@ -4765,10 +4777,18 @@ function buildManagedComponent(config) {
|
|
|
4765
4777
|
}
|
|
4766
4778
|
}
|
|
4767
4779
|
});
|
|
4780
|
+
effectFn(() => {
|
|
4781
|
+
if (parentState != null && !skipTriggerParentStateChangeRef.current) {
|
|
4782
|
+
dispatch({
|
|
4783
|
+
type: "PARENT_STATE_CHANGE",
|
|
4784
|
+
payload: {}
|
|
4785
|
+
});
|
|
4786
|
+
}
|
|
4787
|
+
}, [parentState]);
|
|
4768
4788
|
useEffectOnce(() => {
|
|
4769
4789
|
return () => {
|
|
4770
|
-
var
|
|
4771
|
-
(
|
|
4790
|
+
var _a;
|
|
4791
|
+
(_a = config.cleanup) == null ? void 0 : _a.call(config, getComponentState());
|
|
4772
4792
|
};
|
|
4773
4793
|
});
|
|
4774
4794
|
return { contextValue, ContextComponent: Context };
|
|
@@ -8212,7 +8232,7 @@ function InfiniteTableCellFn(props) {
|
|
|
8212
8232
|
}
|
|
8213
8233
|
const RenderComponent = cellType === "body" ? (_b = column.components) == null ? void 0 : _b.ColumnCell : (_c = column.components) == null ? void 0 : _c.HeaderCell;
|
|
8214
8234
|
if (RenderComponent) {
|
|
8215
|
-
return /* @__PURE__ */ React34.createElement(RenderComponent, __spreadValues({}, finalDOMProps));
|
|
8235
|
+
return /* @__PURE__ */ React34.createElement(RenderComponent, __spreadProps(__spreadValues({}, finalDOMProps), { ref: domRef }));
|
|
8216
8236
|
}
|
|
8217
8237
|
return /* @__PURE__ */ React34.createElement("div", __spreadProps(__spreadValues({}, finalDOMProps), { ref: domRef }));
|
|
8218
8238
|
}
|
|
@@ -12866,6 +12886,10 @@ function getDataSourceApi(param) {
|
|
|
12866
12886
|
var DataSourceApiImpl = class {
|
|
12867
12887
|
constructor(param) {
|
|
12868
12888
|
this.pendingOperations = [];
|
|
12889
|
+
//@ts-ignore
|
|
12890
|
+
this.batchOperationRafId = 0;
|
|
12891
|
+
//@ts-ignore
|
|
12892
|
+
this.batchOperationTimeoutId = 0;
|
|
12869
12893
|
this.pendingPromise = null;
|
|
12870
12894
|
this.resolvePendingPromise = null;
|
|
12871
12895
|
this.toPrimaryKey = (data) => {
|
|
@@ -13012,13 +13036,23 @@ var DataSourceApiImpl = class {
|
|
|
13012
13036
|
this.actions = param.actions;
|
|
13013
13037
|
}
|
|
13014
13038
|
batchOperation(operation) {
|
|
13039
|
+
var _a;
|
|
13015
13040
|
if (!this.pendingPromise) {
|
|
13016
13041
|
this.pendingPromise = new Promise((resolve) => {
|
|
13017
13042
|
this.resolvePendingPromise = resolve;
|
|
13018
13043
|
});
|
|
13019
|
-
|
|
13020
|
-
|
|
13021
|
-
|
|
13044
|
+
const delay = Math.max(0, (_a = this.getState().batchOperationDelay) != null ? _a : 0);
|
|
13045
|
+
if (delay === 0) {
|
|
13046
|
+
this.batchOperationRafId = raf(() => {
|
|
13047
|
+
this.commit();
|
|
13048
|
+
});
|
|
13049
|
+
} else {
|
|
13050
|
+
this.batchOperationTimeoutId = setTimeout(() => {
|
|
13051
|
+
this.batchOperationRafId = raf(() => {
|
|
13052
|
+
this.commit();
|
|
13053
|
+
});
|
|
13054
|
+
}, delay);
|
|
13055
|
+
}
|
|
13022
13056
|
}
|
|
13023
13057
|
this.pendingOperations.push(operation);
|
|
13024
13058
|
return this.pendingPromise;
|
|
@@ -14427,6 +14461,7 @@ var forwardProps3 = (setupState) => {
|
|
|
14427
14461
|
__idToIndex: idToIndexReducer
|
|
14428
14462
|
};
|
|
14429
14463
|
},
|
|
14464
|
+
batchOperationDelay: 1,
|
|
14430
14465
|
isRowSelected: 1,
|
|
14431
14466
|
onDataArrayChange: 1,
|
|
14432
14467
|
onDataMutations: 1,
|
|
@@ -18881,7 +18916,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
18881
18916
|
}
|
|
18882
18917
|
let valid2 = isValidLicense(licenseKey, {
|
|
18883
18918
|
publishedAt: 1624970570587,
|
|
18884
|
-
version: "4.3.
|
|
18919
|
+
version: "4.3.8"
|
|
18885
18920
|
});
|
|
18886
18921
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
18887
18922
|
return true;
|
package/index.js
CHANGED
|
@@ -2980,11 +2980,16 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
2980
2980
|
}, zIndex2) => {
|
|
2981
2981
|
const columnOffsetX = `${columnOffsetAtIndex2}-${colIndex}`;
|
|
2982
2982
|
const columnOffsetXWhileReordering = `${columnOffsetAtIndexWhileReordering2}-${colIndex}`;
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2983
|
+
const currentTransformYValue = scrollTop2 ? `calc( ${y}px + var(${scrollTopCSSVar}) )` : `${y}px`;
|
|
2984
|
+
if (element.__currentTransformY !== currentTransformYValue) {
|
|
2985
|
+
element.__currentTransformY = currentTransformYValue;
|
|
2986
|
+
element.style.setProperty(currentTransformY, currentTransformYValue);
|
|
2987
|
+
}
|
|
2988
|
+
const transformValue = `translate3d(var(${columnOffsetXWhileReordering}, var(${columnOffsetX})), var(${currentTransformY}), 0)`;
|
|
2989
|
+
if (element.__transformValue !== transformValue) {
|
|
2990
|
+
element.__transformValue = transformValue;
|
|
2991
|
+
element.style.transform = transformValue;
|
|
2992
|
+
}
|
|
2988
2993
|
if (zIndex2 != null) {
|
|
2989
2994
|
}
|
|
2990
2995
|
};
|
|
@@ -3638,11 +3643,15 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
3638
3643
|
itemElement.style.willChange = "transform";
|
|
3639
3644
|
itemElement.style.backfaceVisibility = "hidden";
|
|
3640
3645
|
const hidden = options ? options.hidden : !!this.isCellCovered(rowIndex, colIndex);
|
|
3641
|
-
|
|
3646
|
+
const zIndex2 = hidden ? "-1" : (
|
|
3642
3647
|
// #updatezindex - we need to allow elements use their own zIndex, so we
|
|
3643
3648
|
// resort to allowing them to have it as a data-z-index attribute
|
|
3644
3649
|
itemElement.dataset.zIndex || "auto"
|
|
3645
3650
|
);
|
|
3651
|
+
if (itemElement.__zIndex !== zIndex2) {
|
|
3652
|
+
itemElement.__zIndex = zIndex2;
|
|
3653
|
+
itemElement.style.zIndex = zIndex2;
|
|
3654
|
+
}
|
|
3646
3655
|
} else {
|
|
3647
3656
|
itemElement.style.display = "";
|
|
3648
3657
|
itemElement.style.left = `${x}px`;
|
|
@@ -4160,7 +4169,7 @@ var ActiveCellIndicatorCls = { visible: "ActiveCellIndicator_ActiveCellIndicator
|
|
|
4160
4169
|
var ActiveIndicatorWrapperCls = "ActiveCellIndicator_ActiveIndicatorWrapperCls__nxbq1c0 utilities_pointerEvents_none__16lm1iwl utilities_position_sticky__16lm1iw4 utilities_left_0__16lm1iw1e utilities_top_0__16lm1iw1c utilities_height_0__16lm1iw18 utilities_zIndex_1000000__16lm1iwu";
|
|
4161
4170
|
|
|
4162
4171
|
// src/components/InfiniteTable/components/ActiveRowIndicator.css.ts
|
|
4163
|
-
var ActiveRowIndicatorCls = { visible: "ActiveRowIndicator_ActiveRowIndicatorCls_visible__j26lrx1 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl
|
|
4172
|
+
var ActiveRowIndicatorCls = { visible: "ActiveRowIndicator_ActiveRowIndicatorCls_visible__j26lrx1 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2 utilities_width_100%__16lm1iw1b utilities_top_0__16lm1iw1c utilities_left_0__16lm1iw1e", hidden: "ActiveRowIndicator_ActiveRowIndicatorCls_hidden__j26lrx2 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2 utilities_width_100%__16lm1iw1b utilities_top_0__16lm1iw1c utilities_left_0__16lm1iw1e" };
|
|
4164
4173
|
|
|
4165
4174
|
// src/components/InfiniteTable/components/ActiveRowIndicator.tsx
|
|
4166
4175
|
var { rootClassName: rootClassName3 } = internalProps;
|
|
@@ -4592,8 +4601,8 @@ function forwardProps(propsToForward, props, setupState) {
|
|
|
4592
4601
|
return mappedState;
|
|
4593
4602
|
}
|
|
4594
4603
|
function buildManagedComponent(config) {
|
|
4604
|
+
const useParentStateFn = config.getParentState || (() => null);
|
|
4595
4605
|
function useManagedComponent(props) {
|
|
4596
|
-
var _a, _b;
|
|
4597
4606
|
const [initialSetupState] = (0, import_react14.useState)(() => {
|
|
4598
4607
|
return config.initSetupState ? config.initSetupState(props) : {};
|
|
4599
4608
|
});
|
|
@@ -4602,7 +4611,7 @@ function buildManagedComponent(config) {
|
|
|
4602
4611
|
() => config.forwardProps ? config.forwardProps(initialSetupState) : {},
|
|
4603
4612
|
[initialSetupState]
|
|
4604
4613
|
);
|
|
4605
|
-
const parentState = (
|
|
4614
|
+
const parentState = useParentStateFn();
|
|
4606
4615
|
const getParentState = useLatest(parentState);
|
|
4607
4616
|
function initStateOnce() {
|
|
4608
4617
|
let mappedState = {};
|
|
@@ -4638,11 +4647,11 @@ function buildManagedComponent(config) {
|
|
|
4638
4647
|
const [wholeState] = (0, import_react14.useState)(initStateOnce);
|
|
4639
4648
|
const getProps = useLatest(props);
|
|
4640
4649
|
const theReducer = (previousState, action) => {
|
|
4641
|
-
var
|
|
4650
|
+
var _a;
|
|
4642
4651
|
if (action.type === "REPLACE_STATE") {
|
|
4643
4652
|
return action.payload;
|
|
4644
4653
|
}
|
|
4645
|
-
const parentState2 = (
|
|
4654
|
+
const parentState2 = (_a = getParentState == null ? void 0 : getParentState()) != null ? _a : null;
|
|
4646
4655
|
const mappedState = action.payload.mappedState;
|
|
4647
4656
|
const updatedProps = action.payload.updatedPropsToState;
|
|
4648
4657
|
const newState = Object.assign({}, previousState);
|
|
@@ -4727,6 +4736,8 @@ function buildManagedComponent(config) {
|
|
|
4727
4736
|
[state, actions, getComponentState]
|
|
4728
4737
|
);
|
|
4729
4738
|
const prevProps = usePrevious(props);
|
|
4739
|
+
const skipTriggerParentStateChangeRef = (0, import_react14.useRef)(false);
|
|
4740
|
+
skipTriggerParentStateChangeRef.current = false;
|
|
4730
4741
|
const effectFn = config.layoutEffect ? import_react14.useLayoutEffect : import_react14.useEffect;
|
|
4731
4742
|
effectFn(() => {
|
|
4732
4743
|
const currentProps = props;
|
|
@@ -4784,6 +4795,7 @@ function buildManagedComponent(config) {
|
|
|
4784
4795
|
updatedPropsToState: updatedPropsToStateCount ? updatedPropsToState : null
|
|
4785
4796
|
}
|
|
4786
4797
|
};
|
|
4798
|
+
skipTriggerParentStateChangeRef.current = true;
|
|
4787
4799
|
dispatch(action);
|
|
4788
4800
|
if (config.onPropChange) {
|
|
4789
4801
|
for (var prop in rawUpdatedProps)
|
|
@@ -4802,10 +4814,18 @@ function buildManagedComponent(config) {
|
|
|
4802
4814
|
}
|
|
4803
4815
|
}
|
|
4804
4816
|
});
|
|
4817
|
+
effectFn(() => {
|
|
4818
|
+
if (parentState != null && !skipTriggerParentStateChangeRef.current) {
|
|
4819
|
+
dispatch({
|
|
4820
|
+
type: "PARENT_STATE_CHANGE",
|
|
4821
|
+
payload: {}
|
|
4822
|
+
});
|
|
4823
|
+
}
|
|
4824
|
+
}, [parentState]);
|
|
4805
4825
|
useEffectOnce(() => {
|
|
4806
4826
|
return () => {
|
|
4807
|
-
var
|
|
4808
|
-
(
|
|
4827
|
+
var _a;
|
|
4828
|
+
(_a = config.cleanup) == null ? void 0 : _a.call(config, getComponentState());
|
|
4809
4829
|
};
|
|
4810
4830
|
});
|
|
4811
4831
|
return { contextValue, ContextComponent: Context };
|
|
@@ -8249,7 +8269,7 @@ function InfiniteTableCellFn(props) {
|
|
|
8249
8269
|
}
|
|
8250
8270
|
const RenderComponent = cellType === "body" ? (_b = column.components) == null ? void 0 : _b.ColumnCell : (_c = column.components) == null ? void 0 : _c.HeaderCell;
|
|
8251
8271
|
if (RenderComponent) {
|
|
8252
|
-
return /* @__PURE__ */ React34.createElement(RenderComponent, __spreadValues({}, finalDOMProps));
|
|
8272
|
+
return /* @__PURE__ */ React34.createElement(RenderComponent, __spreadProps(__spreadValues({}, finalDOMProps), { ref: domRef }));
|
|
8253
8273
|
}
|
|
8254
8274
|
return /* @__PURE__ */ React34.createElement("div", __spreadProps(__spreadValues({}, finalDOMProps), { ref: domRef }));
|
|
8255
8275
|
}
|
|
@@ -12903,6 +12923,10 @@ function getDataSourceApi(param) {
|
|
|
12903
12923
|
var DataSourceApiImpl = class {
|
|
12904
12924
|
constructor(param) {
|
|
12905
12925
|
this.pendingOperations = [];
|
|
12926
|
+
//@ts-ignore
|
|
12927
|
+
this.batchOperationRafId = 0;
|
|
12928
|
+
//@ts-ignore
|
|
12929
|
+
this.batchOperationTimeoutId = 0;
|
|
12906
12930
|
this.pendingPromise = null;
|
|
12907
12931
|
this.resolvePendingPromise = null;
|
|
12908
12932
|
this.toPrimaryKey = (data) => {
|
|
@@ -13049,13 +13073,23 @@ var DataSourceApiImpl = class {
|
|
|
13049
13073
|
this.actions = param.actions;
|
|
13050
13074
|
}
|
|
13051
13075
|
batchOperation(operation) {
|
|
13076
|
+
var _a;
|
|
13052
13077
|
if (!this.pendingPromise) {
|
|
13053
13078
|
this.pendingPromise = new Promise((resolve) => {
|
|
13054
13079
|
this.resolvePendingPromise = resolve;
|
|
13055
13080
|
});
|
|
13056
|
-
|
|
13057
|
-
|
|
13058
|
-
|
|
13081
|
+
const delay = Math.max(0, (_a = this.getState().batchOperationDelay) != null ? _a : 0);
|
|
13082
|
+
if (delay === 0) {
|
|
13083
|
+
this.batchOperationRafId = raf(() => {
|
|
13084
|
+
this.commit();
|
|
13085
|
+
});
|
|
13086
|
+
} else {
|
|
13087
|
+
this.batchOperationTimeoutId = setTimeout(() => {
|
|
13088
|
+
this.batchOperationRafId = raf(() => {
|
|
13089
|
+
this.commit();
|
|
13090
|
+
});
|
|
13091
|
+
}, delay);
|
|
13092
|
+
}
|
|
13059
13093
|
}
|
|
13060
13094
|
this.pendingOperations.push(operation);
|
|
13061
13095
|
return this.pendingPromise;
|
|
@@ -14464,6 +14498,7 @@ var forwardProps3 = (setupState) => {
|
|
|
14464
14498
|
__idToIndex: idToIndexReducer
|
|
14465
14499
|
};
|
|
14466
14500
|
},
|
|
14501
|
+
batchOperationDelay: 1,
|
|
14467
14502
|
isRowSelected: 1,
|
|
14468
14503
|
onDataArrayChange: 1,
|
|
14469
14504
|
onDataMutations: 1,
|
|
@@ -18909,7 +18944,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
18909
18944
|
}
|
|
18910
18945
|
let valid2 = isValidLicense(licenseKey, {
|
|
18911
18946
|
publishedAt: 1624970570587,
|
|
18912
|
-
version: "4.3.
|
|
18947
|
+
version: "4.3.8"
|
|
18913
18948
|
});
|
|
18914
18949
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
18915
18950
|
return true;
|
package/index.mjs
CHANGED
|
@@ -2935,11 +2935,16 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
2935
2935
|
}, zIndex2) => {
|
|
2936
2936
|
const columnOffsetX = `${columnOffsetAtIndex2}-${colIndex}`;
|
|
2937
2937
|
const columnOffsetXWhileReordering = `${columnOffsetAtIndexWhileReordering2}-${colIndex}`;
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2938
|
+
const currentTransformYValue = scrollTop2 ? `calc( ${y}px + var(${scrollTopCSSVar}) )` : `${y}px`;
|
|
2939
|
+
if (element.__currentTransformY !== currentTransformYValue) {
|
|
2940
|
+
element.__currentTransformY = currentTransformYValue;
|
|
2941
|
+
element.style.setProperty(currentTransformY, currentTransformYValue);
|
|
2942
|
+
}
|
|
2943
|
+
const transformValue = `translate3d(var(${columnOffsetXWhileReordering}, var(${columnOffsetX})), var(${currentTransformY}), 0)`;
|
|
2944
|
+
if (element.__transformValue !== transformValue) {
|
|
2945
|
+
element.__transformValue = transformValue;
|
|
2946
|
+
element.style.transform = transformValue;
|
|
2947
|
+
}
|
|
2943
2948
|
if (zIndex2 != null) {
|
|
2944
2949
|
}
|
|
2945
2950
|
};
|
|
@@ -3593,11 +3598,15 @@ var ReactHeadlessTableRenderer = class extends Logger {
|
|
|
3593
3598
|
itemElement.style.willChange = "transform";
|
|
3594
3599
|
itemElement.style.backfaceVisibility = "hidden";
|
|
3595
3600
|
const hidden = options ? options.hidden : !!this.isCellCovered(rowIndex, colIndex);
|
|
3596
|
-
|
|
3601
|
+
const zIndex2 = hidden ? "-1" : (
|
|
3597
3602
|
// #updatezindex - we need to allow elements use their own zIndex, so we
|
|
3598
3603
|
// resort to allowing them to have it as a data-z-index attribute
|
|
3599
3604
|
itemElement.dataset.zIndex || "auto"
|
|
3600
3605
|
);
|
|
3606
|
+
if (itemElement.__zIndex !== zIndex2) {
|
|
3607
|
+
itemElement.__zIndex = zIndex2;
|
|
3608
|
+
itemElement.style.zIndex = zIndex2;
|
|
3609
|
+
}
|
|
3601
3610
|
} else {
|
|
3602
3611
|
itemElement.style.display = "";
|
|
3603
3612
|
itemElement.style.left = `${x}px`;
|
|
@@ -4115,7 +4124,7 @@ var ActiveCellIndicatorCls = { visible: "ActiveCellIndicator_ActiveCellIndicator
|
|
|
4115
4124
|
var ActiveIndicatorWrapperCls = "ActiveCellIndicator_ActiveIndicatorWrapperCls__nxbq1c0 utilities_pointerEvents_none__16lm1iwl utilities_position_sticky__16lm1iw4 utilities_left_0__16lm1iw1e utilities_top_0__16lm1iw1c utilities_height_0__16lm1iw18 utilities_zIndex_1000000__16lm1iwu";
|
|
4116
4125
|
|
|
4117
4126
|
// src/components/InfiniteTable/components/ActiveRowIndicator.css.ts
|
|
4118
|
-
var ActiveRowIndicatorCls = { visible: "ActiveRowIndicator_ActiveRowIndicatorCls_visible__j26lrx1 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl
|
|
4127
|
+
var ActiveRowIndicatorCls = { visible: "ActiveRowIndicator_ActiveRowIndicatorCls_visible__j26lrx1 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2 utilities_width_100%__16lm1iw1b utilities_top_0__16lm1iw1c utilities_left_0__16lm1iw1e", hidden: "ActiveRowIndicator_ActiveRowIndicatorCls_hidden__j26lrx2 ActiveRowIndicator_ActiveRowIndicator__j26lrx0 utilities_pointerEvents_none__16lm1iwl utilities_position_absolute__16lm1iw2 utilities_width_100%__16lm1iw1b utilities_top_0__16lm1iw1c utilities_left_0__16lm1iw1e" };
|
|
4119
4128
|
|
|
4120
4129
|
// src/components/InfiniteTable/components/ActiveRowIndicator.tsx
|
|
4121
4130
|
var { rootClassName: rootClassName3 } = internalProps;
|
|
@@ -4555,8 +4564,8 @@ function forwardProps(propsToForward, props, setupState) {
|
|
|
4555
4564
|
return mappedState;
|
|
4556
4565
|
}
|
|
4557
4566
|
function buildManagedComponent(config) {
|
|
4567
|
+
const useParentStateFn = config.getParentState || (() => null);
|
|
4558
4568
|
function useManagedComponent(props) {
|
|
4559
|
-
var _a, _b;
|
|
4560
4569
|
const [initialSetupState] = useState4(() => {
|
|
4561
4570
|
return config.initSetupState ? config.initSetupState(props) : {};
|
|
4562
4571
|
});
|
|
@@ -4565,7 +4574,7 @@ function buildManagedComponent(config) {
|
|
|
4565
4574
|
() => config.forwardProps ? config.forwardProps(initialSetupState) : {},
|
|
4566
4575
|
[initialSetupState]
|
|
4567
4576
|
);
|
|
4568
|
-
const parentState = (
|
|
4577
|
+
const parentState = useParentStateFn();
|
|
4569
4578
|
const getParentState = useLatest(parentState);
|
|
4570
4579
|
function initStateOnce() {
|
|
4571
4580
|
let mappedState = {};
|
|
@@ -4601,11 +4610,11 @@ function buildManagedComponent(config) {
|
|
|
4601
4610
|
const [wholeState] = useState4(initStateOnce);
|
|
4602
4611
|
const getProps = useLatest(props);
|
|
4603
4612
|
const theReducer = (previousState, action) => {
|
|
4604
|
-
var
|
|
4613
|
+
var _a;
|
|
4605
4614
|
if (action.type === "REPLACE_STATE") {
|
|
4606
4615
|
return action.payload;
|
|
4607
4616
|
}
|
|
4608
|
-
const parentState2 = (
|
|
4617
|
+
const parentState2 = (_a = getParentState == null ? void 0 : getParentState()) != null ? _a : null;
|
|
4609
4618
|
const mappedState = action.payload.mappedState;
|
|
4610
4619
|
const updatedProps = action.payload.updatedPropsToState;
|
|
4611
4620
|
const newState = Object.assign({}, previousState);
|
|
@@ -4690,6 +4699,8 @@ function buildManagedComponent(config) {
|
|
|
4690
4699
|
[state, actions, getComponentState]
|
|
4691
4700
|
);
|
|
4692
4701
|
const prevProps = usePrevious(props);
|
|
4702
|
+
const skipTriggerParentStateChangeRef = useRef11(false);
|
|
4703
|
+
skipTriggerParentStateChangeRef.current = false;
|
|
4693
4704
|
const effectFn = config.layoutEffect ? useLayoutEffect7 : useEffect9;
|
|
4694
4705
|
effectFn(() => {
|
|
4695
4706
|
const currentProps = props;
|
|
@@ -4747,6 +4758,7 @@ function buildManagedComponent(config) {
|
|
|
4747
4758
|
updatedPropsToState: updatedPropsToStateCount ? updatedPropsToState : null
|
|
4748
4759
|
}
|
|
4749
4760
|
};
|
|
4761
|
+
skipTriggerParentStateChangeRef.current = true;
|
|
4750
4762
|
dispatch(action);
|
|
4751
4763
|
if (config.onPropChange) {
|
|
4752
4764
|
for (var prop in rawUpdatedProps)
|
|
@@ -4765,10 +4777,18 @@ function buildManagedComponent(config) {
|
|
|
4765
4777
|
}
|
|
4766
4778
|
}
|
|
4767
4779
|
});
|
|
4780
|
+
effectFn(() => {
|
|
4781
|
+
if (parentState != null && !skipTriggerParentStateChangeRef.current) {
|
|
4782
|
+
dispatch({
|
|
4783
|
+
type: "PARENT_STATE_CHANGE",
|
|
4784
|
+
payload: {}
|
|
4785
|
+
});
|
|
4786
|
+
}
|
|
4787
|
+
}, [parentState]);
|
|
4768
4788
|
useEffectOnce(() => {
|
|
4769
4789
|
return () => {
|
|
4770
|
-
var
|
|
4771
|
-
(
|
|
4790
|
+
var _a;
|
|
4791
|
+
(_a = config.cleanup) == null ? void 0 : _a.call(config, getComponentState());
|
|
4772
4792
|
};
|
|
4773
4793
|
});
|
|
4774
4794
|
return { contextValue, ContextComponent: Context };
|
|
@@ -8212,7 +8232,7 @@ function InfiniteTableCellFn(props) {
|
|
|
8212
8232
|
}
|
|
8213
8233
|
const RenderComponent = cellType === "body" ? (_b = column.components) == null ? void 0 : _b.ColumnCell : (_c = column.components) == null ? void 0 : _c.HeaderCell;
|
|
8214
8234
|
if (RenderComponent) {
|
|
8215
|
-
return /* @__PURE__ */ React34.createElement(RenderComponent, __spreadValues({}, finalDOMProps));
|
|
8235
|
+
return /* @__PURE__ */ React34.createElement(RenderComponent, __spreadProps(__spreadValues({}, finalDOMProps), { ref: domRef }));
|
|
8216
8236
|
}
|
|
8217
8237
|
return /* @__PURE__ */ React34.createElement("div", __spreadProps(__spreadValues({}, finalDOMProps), { ref: domRef }));
|
|
8218
8238
|
}
|
|
@@ -12866,6 +12886,10 @@ function getDataSourceApi(param) {
|
|
|
12866
12886
|
var DataSourceApiImpl = class {
|
|
12867
12887
|
constructor(param) {
|
|
12868
12888
|
this.pendingOperations = [];
|
|
12889
|
+
//@ts-ignore
|
|
12890
|
+
this.batchOperationRafId = 0;
|
|
12891
|
+
//@ts-ignore
|
|
12892
|
+
this.batchOperationTimeoutId = 0;
|
|
12869
12893
|
this.pendingPromise = null;
|
|
12870
12894
|
this.resolvePendingPromise = null;
|
|
12871
12895
|
this.toPrimaryKey = (data) => {
|
|
@@ -13012,13 +13036,23 @@ var DataSourceApiImpl = class {
|
|
|
13012
13036
|
this.actions = param.actions;
|
|
13013
13037
|
}
|
|
13014
13038
|
batchOperation(operation) {
|
|
13039
|
+
var _a;
|
|
13015
13040
|
if (!this.pendingPromise) {
|
|
13016
13041
|
this.pendingPromise = new Promise((resolve) => {
|
|
13017
13042
|
this.resolvePendingPromise = resolve;
|
|
13018
13043
|
});
|
|
13019
|
-
|
|
13020
|
-
|
|
13021
|
-
|
|
13044
|
+
const delay = Math.max(0, (_a = this.getState().batchOperationDelay) != null ? _a : 0);
|
|
13045
|
+
if (delay === 0) {
|
|
13046
|
+
this.batchOperationRafId = raf(() => {
|
|
13047
|
+
this.commit();
|
|
13048
|
+
});
|
|
13049
|
+
} else {
|
|
13050
|
+
this.batchOperationTimeoutId = setTimeout(() => {
|
|
13051
|
+
this.batchOperationRafId = raf(() => {
|
|
13052
|
+
this.commit();
|
|
13053
|
+
});
|
|
13054
|
+
}, delay);
|
|
13055
|
+
}
|
|
13022
13056
|
}
|
|
13023
13057
|
this.pendingOperations.push(operation);
|
|
13024
13058
|
return this.pendingPromise;
|
|
@@ -14427,6 +14461,7 @@ var forwardProps3 = (setupState) => {
|
|
|
14427
14461
|
__idToIndex: idToIndexReducer
|
|
14428
14462
|
};
|
|
14429
14463
|
},
|
|
14464
|
+
batchOperationDelay: 1,
|
|
14430
14465
|
isRowSelected: 1,
|
|
14431
14466
|
onDataArrayChange: 1,
|
|
14432
14467
|
onDataMutations: 1,
|
|
@@ -18881,7 +18916,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
18881
18916
|
}
|
|
18882
18917
|
let valid2 = isValidLicense(licenseKey, {
|
|
18883
18918
|
publishedAt: 1624970570587,
|
|
18884
|
-
version: "4.3.
|
|
18919
|
+
version: "4.3.8"
|
|
18885
18920
|
});
|
|
18886
18921
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
18887
18922
|
return true;
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"bugs": {
|
|
26
26
|
"url": "https://github.com/infinite-table/infinite-react/issues"
|
|
27
27
|
},
|
|
28
|
-
"version": "4.3.
|
|
28
|
+
"version": "4.3.8",
|
|
29
29
|
"main": "index.js",
|
|
30
30
|
"module": "index.mjs",
|
|
31
31
|
"typings": "index.d.ts",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
},
|
|
35
35
|
"license": "Commercial & Open Source",
|
|
36
36
|
"//": "will be updated at build time",
|
|
37
|
-
"publishedAt":
|
|
37
|
+
"publishedAt": 1724077305504
|
|
38
38
|
}
|