@infinite-table/infinite-react 0.2.16 → 0.2.17
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 +4 -0
- package/index.esm.js +306 -264
- package/index.js +374 -329
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -501,6 +501,7 @@ interface DataSourceSetupState<T> {
|
|
|
501
501
|
dataArray: InfiniteTableRowInfo<T>[];
|
|
502
502
|
groupDeepMap?: DeepMap<GroupKeyType, DeepMapGroupValueType<T, any>>;
|
|
503
503
|
pivotTotalColumnPosition: InfiniteTablePropPivotTotalColumnPosition;
|
|
504
|
+
pivotGrandTotalColumnPosition: InfiniteTablePropPivotGrandTotalColumnPosition;
|
|
504
505
|
cursorId: number | Symbol | DataSourceLivePaginationCursorValue;
|
|
505
506
|
updatedAt: number;
|
|
506
507
|
reducedAt: number;
|
|
@@ -804,6 +805,7 @@ interface InfiniteTableProps<T> {
|
|
|
804
805
|
viewportReservedWidth?: number;
|
|
805
806
|
pivotColumn?: InfiniteTablePropPivotColumn<T, InfiniteTableColumn<T> & InfiniteTablePivotFinalColumn<T>>;
|
|
806
807
|
pivotTotalColumnPosition?: InfiniteTablePropPivotTotalColumnPosition;
|
|
808
|
+
pivotGrandTotalColumnPosition?: InfiniteTablePropPivotGrandTotalColumnPosition;
|
|
807
809
|
groupColumn?: Partial<InfiniteTablePropGroupColumn<T>>;
|
|
808
810
|
groupRenderStrategy?: InfiniteTablePropGroupRenderStrategy;
|
|
809
811
|
hideEmptyGroupColumns?: boolean;
|
|
@@ -912,6 +914,7 @@ interface InfiniteTableSetupState<T> {
|
|
|
912
914
|
}
|
|
913
915
|
declare type InfiniteTableColumnGroupsDepthsMap = Map<string, number>;
|
|
914
916
|
declare type InfiniteTablePropPivotTotalColumnPosition = false | 'start' | 'end';
|
|
917
|
+
declare type InfiniteTablePropPivotGrandTotalColumnPosition = InfiniteTablePropPivotTotalColumnPosition;
|
|
915
918
|
interface InfiniteTableMappedState<T> {
|
|
916
919
|
scrollTopKey: InfiniteTableProps<T>['scrollTopKey'];
|
|
917
920
|
viewportReservedWidth: InfiniteTableProps<T>['viewportReservedWidth'];
|
|
@@ -968,6 +971,7 @@ interface InfiniteTableMappedState<T> {
|
|
|
968
971
|
columnGroups: InfiniteTablePropColumnGroupsMap;
|
|
969
972
|
collapsedColumnGroups: NonUndefined<InfiniteTableProps<T>['collapsedColumnGroups']>;
|
|
970
973
|
pivotTotalColumnPosition: NonUndefined<InfiniteTableProps<T>['pivotTotalColumnPosition']>;
|
|
974
|
+
pivotGrandTotalColumnPosition: InfiniteTableProps<T>['pivotGrandTotalColumnPosition'];
|
|
971
975
|
}
|
|
972
976
|
interface InfiniteTableDerivedState<T> {
|
|
973
977
|
groupBy: DataSourceProps<T>['groupBy'];
|