@infinite-table/infinite-react 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.css +76 -50
- package/index.d.ts +537 -405
- package/index.esm.css +76 -50
- package/index.esm.js +1029 -553
- package/index.js +1092 -623
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -46,45 +46,34 @@ declare class DeepMap<KeyType, ValueType> {
|
|
|
46
46
|
private sortedIterator;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
declare
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
};
|
|
71
|
-
};
|
|
49
|
+
declare class GroupRowsState<KeyType extends any = any> {
|
|
50
|
+
private expandedMap?;
|
|
51
|
+
private collapsedMap?;
|
|
52
|
+
private collapsedAll;
|
|
53
|
+
private expandedAll;
|
|
54
|
+
private initialState;
|
|
55
|
+
constructor(state: DataSourcePropGroupRowsStateObject<KeyType> | GroupRowsState<KeyType>);
|
|
56
|
+
getState(): DataSourcePropGroupRowsStateObject<KeyType>;
|
|
57
|
+
destroy(): void;
|
|
58
|
+
private update;
|
|
59
|
+
areAllCollapsed(): boolean;
|
|
60
|
+
areAllExpanded(): boolean;
|
|
61
|
+
collapseAll(): void;
|
|
62
|
+
expandAll(): void;
|
|
63
|
+
isGroupRowExpanded(keys: KeyType[]): boolean | undefined;
|
|
64
|
+
isGroupRowCollapsed(keys: KeyType[]): boolean;
|
|
65
|
+
setGroupRowExpanded(keys: KeyType[], shouldExpand: boolean): void;
|
|
66
|
+
collapseGroupRow(keys: KeyType[]): void;
|
|
67
|
+
expandGroupRow(keys: KeyType[]): void;
|
|
68
|
+
toggleGroupRow(keys: KeyType[]): void;
|
|
69
|
+
}
|
|
72
70
|
|
|
73
|
-
declare type
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
[k in keyof T_STATE]: T_STATE[k] | React.SetStateAction<T_STATE[k]>;
|
|
80
|
-
};
|
|
81
|
-
declare type ComponentInterceptedActions<T_STATE> = {
|
|
82
|
-
[k in keyof T_STATE]?: (value: T_STATE[k], { actions, state, }: {
|
|
83
|
-
actions: ComponentStateGeneratedActions<T_STATE>;
|
|
84
|
-
state: T_STATE;
|
|
85
|
-
}) => void | boolean;
|
|
86
|
-
};
|
|
87
|
-
declare type ComponentStateActions<T_STATE> = ComponentStateGeneratedActions<T_STATE>;
|
|
71
|
+
declare type Renderable = React$1.ReactNode | JSX.Element;
|
|
72
|
+
|
|
73
|
+
interface Size {
|
|
74
|
+
width: number;
|
|
75
|
+
height: number;
|
|
76
|
+
}
|
|
88
77
|
|
|
89
78
|
declare enum InfiniteTableActionType {
|
|
90
79
|
SET_COLUMN_SIZE = 0,
|
|
@@ -119,11 +108,6 @@ interface ScrollPosition {
|
|
|
119
108
|
}
|
|
120
109
|
declare type OnScrollFn = (scrollPosition: ScrollPosition) => void;
|
|
121
110
|
|
|
122
|
-
interface Size {
|
|
123
|
-
width: number;
|
|
124
|
-
height: number;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
111
|
declare type VoidFn = () => void;
|
|
128
112
|
|
|
129
113
|
declare type FixedPosition = false | 'start' | 'end';
|
|
@@ -374,7 +358,23 @@ declare class MatrixBrain extends Logger {
|
|
|
374
358
|
destroy: () => void;
|
|
375
359
|
}
|
|
376
360
|
|
|
377
|
-
declare type
|
|
361
|
+
declare type ComponentStateContext<T_STATE, T_ACTIONS> = {
|
|
362
|
+
getComponentState: () => T_STATE;
|
|
363
|
+
componentState: T_STATE;
|
|
364
|
+
componentActions: T_ACTIONS;
|
|
365
|
+
};
|
|
366
|
+
declare type ComponentStateGeneratedActions<T_STATE> = {
|
|
367
|
+
[k in keyof T_STATE]: T_STATE[k] | React.SetStateAction<T_STATE[k]>;
|
|
368
|
+
};
|
|
369
|
+
declare type ComponentInterceptedActions<T_STATE> = {
|
|
370
|
+
[k in keyof T_STATE]?: (value: T_STATE[k], { actions, state, }: {
|
|
371
|
+
actions: ComponentStateGeneratedActions<T_STATE>;
|
|
372
|
+
state: T_STATE;
|
|
373
|
+
}) => void | boolean;
|
|
374
|
+
};
|
|
375
|
+
declare type ComponentStateActions<T_STATE> = ComponentStateGeneratedActions<T_STATE>;
|
|
376
|
+
|
|
377
|
+
declare type NonUndefined<T> = T extends undefined ? never : T;
|
|
378
378
|
|
|
379
379
|
declare type SubscriptionCallbackOnChangeFn<T> = (node: T | null) => void;
|
|
380
380
|
interface SubscriptionCallback<T> {
|
|
@@ -394,8 +394,6 @@ declare class ScrollListener {
|
|
|
394
394
|
destroy: () => void;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
declare type NonUndefined<T> = T extends undefined ? never : T;
|
|
398
|
-
|
|
399
397
|
interface InfiniteTableSetupState<T> {
|
|
400
398
|
propsCache: Map<keyof InfiniteTableProps<T>, WeakMap<any, any>>;
|
|
401
399
|
columnsWhenInlineGroupRenderStrategy?: Map<string, InfiniteTableColumn<T>>;
|
|
@@ -403,7 +401,7 @@ interface InfiniteTableSetupState<T> {
|
|
|
403
401
|
scrollerDOMRef: MutableRefObject<HTMLDivElement | null>;
|
|
404
402
|
portalDOMRef: MutableRefObject<HTMLDivElement | null>;
|
|
405
403
|
onRowHeightCSSVarChange: SubscriptionCallback<number>;
|
|
406
|
-
|
|
404
|
+
onColumnHeaderHeightCSSVarChange: SubscriptionCallback<number>;
|
|
407
405
|
columnsWhenGrouping?: InfiniteTablePropColumnsMap<T>;
|
|
408
406
|
bodySize: Size;
|
|
409
407
|
brain: MatrixBrain;
|
|
@@ -424,6 +422,7 @@ interface InfiniteTableMappedState<T> {
|
|
|
424
422
|
scrollTopKey: InfiniteTableProps<T>['scrollTopKey'];
|
|
425
423
|
viewportReservedWidth: InfiniteTableProps<T>['viewportReservedWidth'];
|
|
426
424
|
groupColumn: InfiniteTableProps<T>['groupColumn'];
|
|
425
|
+
headerOptions: NonUndefined<InfiniteTableProps<T>['headerOptions']>;
|
|
427
426
|
onScrollbarsChange: InfiniteTableProps<T>['onScrollbarsChange'];
|
|
428
427
|
loadingText: InfiniteTableProps<T>['loadingText'];
|
|
429
428
|
components: InfiniteTableProps<T>['components'];
|
|
@@ -440,6 +439,7 @@ interface InfiniteTableMappedState<T> {
|
|
|
440
439
|
onScrollToBottom: InfiniteTableProps<T>['onScrollToBottom'];
|
|
441
440
|
onScrollStop: InfiniteTableProps<T>['onScrollStop'];
|
|
442
441
|
scrollToBottomOffset: InfiniteTableProps<T>['scrollToBottomOffset'];
|
|
442
|
+
filterEditors: NonUndefined<InfiniteTableProps<T>['filterEditors']>;
|
|
443
443
|
focusedClassName: InfiniteTableProps<T>['focusedClassName'];
|
|
444
444
|
focusedWithinClassName: InfiniteTableProps<T>['focusedWithinClassName'];
|
|
445
445
|
focusedStyle: InfiniteTableProps<T>['focusedStyle'];
|
|
@@ -467,7 +467,7 @@ interface InfiniteTableMappedState<T> {
|
|
|
467
467
|
header: NonUndefined<InfiniteTableProps<T>['header']>;
|
|
468
468
|
virtualizeColumns: NonUndefined<InfiniteTableProps<T>['virtualizeColumns']>;
|
|
469
469
|
rowHeight: number;
|
|
470
|
-
|
|
470
|
+
columnHeaderHeight: number;
|
|
471
471
|
licenseKey: NonUndefined<InfiniteTableProps<T>['licenseKey']>;
|
|
472
472
|
columnVisibility: InfiniteTablePropColumnVisibility;
|
|
473
473
|
columnPinning: InfiniteTablePropColumnPinningMap;
|
|
@@ -487,7 +487,7 @@ interface InfiniteTableDerivedState<T> {
|
|
|
487
487
|
columnGroupsMaxDepth: number;
|
|
488
488
|
computedColumnGroups: InfiniteTablePropColumnGroupsMap;
|
|
489
489
|
rowHeightCSSVar: string;
|
|
490
|
-
|
|
490
|
+
columnHeaderHeightCSSVar: string;
|
|
491
491
|
controlledColumnVisibility: boolean;
|
|
492
492
|
}
|
|
493
493
|
declare type InfiniteTableActions<T> = ComponentStateActions<InfiniteTableState<T>>;
|
|
@@ -519,9 +519,13 @@ declare type InfiniteTableColumnAggregator<T, AggregationResultType> = Omit<Aggr
|
|
|
519
519
|
declare type InfiniteTableColumnType<T> = {
|
|
520
520
|
minWidth?: number;
|
|
521
521
|
maxWidth?: number;
|
|
522
|
+
filterType?: string;
|
|
523
|
+
sortType?: string;
|
|
524
|
+
dataType?: InfiniteTableDataTypeNames;
|
|
522
525
|
defaultWidth?: number;
|
|
523
526
|
defaultFlex?: number;
|
|
524
527
|
defaultPinned?: InfiniteTableColumnPinnedValues;
|
|
528
|
+
defaultFilterable?: boolean;
|
|
525
529
|
defaultHiddenWhenGroupedBy?: InfiniteTableColumn<T>['defaultHiddenWhenGroupedBy'];
|
|
526
530
|
header?: InfiniteTableColumn<T>['header'];
|
|
527
531
|
comparer?: InfiniteTableColumn<T>['comparer'];
|
|
@@ -536,6 +540,7 @@ declare type InfiniteTableColumnType<T> = {
|
|
|
536
540
|
renderValue?: InfiniteTableColumn<T>['renderValue'];
|
|
537
541
|
render?: InfiniteTableColumn<T>['render'];
|
|
538
542
|
valueGetter?: InfiniteTableColumn<T>['valueGetter'];
|
|
543
|
+
valueFormatter?: InfiniteTableColumn<T>['valueFormatter'];
|
|
539
544
|
style?: InfiniteTableColumn<T>['style'];
|
|
540
545
|
};
|
|
541
546
|
declare type InfiniteTablePropColumnTypes<T> = Record<'default' | string, InfiniteTableColumnType<T>>;
|
|
@@ -609,6 +614,15 @@ declare type ScrollStopInfo = {
|
|
|
609
614
|
firstVisibleRowIndex: number;
|
|
610
615
|
lastVisibleRowIndex: number;
|
|
611
616
|
};
|
|
617
|
+
declare type InfiniteTablePropFilterEditors<T> = Record<string, React$1.FC<InfiniteTableFilterEditorProps<T>>>;
|
|
618
|
+
declare type InfiniteTableFilterEditorProps<T extends any> = {
|
|
619
|
+
filterType: string;
|
|
620
|
+
operator: string;
|
|
621
|
+
ariaLabel: string;
|
|
622
|
+
filterValue: T;
|
|
623
|
+
className: string;
|
|
624
|
+
onChange: (value: T | undefined) => void;
|
|
625
|
+
};
|
|
612
626
|
interface InfiniteTableProps<T> {
|
|
613
627
|
columns: InfiniteTablePropColumns<T>;
|
|
614
628
|
pivotColumns?: InfiniteTablePropColumnsMap<T, InfiniteTablePivotColumn<T>>;
|
|
@@ -642,13 +656,14 @@ interface InfiniteTableProps<T> {
|
|
|
642
656
|
rowHeight: number | string;
|
|
643
657
|
rowStyle?: InfiniteTablePropRowStyle<T>;
|
|
644
658
|
rowClassName?: InfiniteTablePropRowClassName<T>;
|
|
645
|
-
|
|
659
|
+
columnHeaderHeight: number | string;
|
|
646
660
|
domProps?: React$1.HTMLProps<HTMLDivElement>;
|
|
647
661
|
showZebraRows?: boolean;
|
|
648
662
|
showHoverRows?: boolean;
|
|
649
663
|
sortable?: boolean;
|
|
650
664
|
draggableColumns?: boolean;
|
|
651
665
|
header?: boolean;
|
|
666
|
+
headerOptions?: InfiniteTablePropHeaderOptions;
|
|
652
667
|
focusedClassName?: string;
|
|
653
668
|
focusedWithinClassName?: string;
|
|
654
669
|
focusedStyle?: React$1.CSSProperties;
|
|
@@ -676,12 +691,16 @@ interface InfiniteTableProps<T> {
|
|
|
676
691
|
columnOrder?: InfiniteTablePropColumnOrder;
|
|
677
692
|
onColumnOrderChange?: (columnOrder: InfiniteTablePropColumnOrder) => void;
|
|
678
693
|
onRowHeightChange?: (rowHeight: number) => void;
|
|
694
|
+
filterEditors?: InfiniteTablePropFilterEditors<T>;
|
|
679
695
|
onReady?: (api: InfiniteTableImperativeApi<T>) => void;
|
|
680
696
|
rowProps?: React$1.HTMLProps<HTMLDivElement> | ((rowArgs: InfiniteTableRowStyleFnParams<T>) => React$1.HTMLProps<HTMLDivElement>);
|
|
681
697
|
licenseKey?: string;
|
|
682
698
|
scrollTopKey?: string | number;
|
|
683
699
|
autoSizeColumnsKey?: InfiniteTablePropAutoSizeColumnsKey;
|
|
684
700
|
}
|
|
701
|
+
declare type InfiniteTablePropHeaderOptions = {
|
|
702
|
+
alwaysReserveSpaceForSortIcon: boolean;
|
|
703
|
+
};
|
|
685
704
|
declare type InfiniteTablePropAutoSizeColumnsKey = string | number | {
|
|
686
705
|
key: string | number;
|
|
687
706
|
columnsToSkip?: string[];
|
|
@@ -698,6 +717,7 @@ interface InfiniteTableComputedValues<T> {
|
|
|
698
717
|
vertical: boolean;
|
|
699
718
|
horizontal: boolean;
|
|
700
719
|
};
|
|
720
|
+
showColumnFilters: boolean;
|
|
701
721
|
rowspan?: MatrixBrainOptions['rowspan'];
|
|
702
722
|
computedPinnedStartOverflow: boolean;
|
|
703
723
|
computedPinnedEndOverflow: boolean;
|
|
@@ -728,217 +748,207 @@ interface InfiniteTableContextValue<T> {
|
|
|
728
748
|
getState: () => InfiniteTableState<T>;
|
|
729
749
|
}
|
|
730
750
|
|
|
731
|
-
declare type
|
|
732
|
-
|
|
733
|
-
|
|
751
|
+
declare type InfiniteTableBaseCellProps<T> = {
|
|
752
|
+
column: InfiniteTableComputedColumn<T>;
|
|
753
|
+
renderChildren: () => Renderable;
|
|
754
|
+
width: number;
|
|
755
|
+
cssEllipsis?: boolean;
|
|
756
|
+
contentStyle?: CSSProperties;
|
|
757
|
+
contentClassName?: string;
|
|
758
|
+
virtualized?: boolean;
|
|
759
|
+
skipColumnShifting?: boolean;
|
|
760
|
+
beforeChildren?: Renderable;
|
|
761
|
+
afterChildren?: Renderable;
|
|
762
|
+
offset?: number;
|
|
763
|
+
offsetProperty?: 'left' | 'right';
|
|
764
|
+
cssPosition?: CSSProperties['position'];
|
|
765
|
+
domRef?: React.RefCallback<HTMLElement>;
|
|
734
766
|
};
|
|
767
|
+
declare type InfiniteTableCellProps<T> = ({
|
|
768
|
+
cellType: 'header';
|
|
769
|
+
} & InfiniteTableBaseCellProps<T>) | ({
|
|
770
|
+
cellType: 'body';
|
|
771
|
+
} & InfiniteTableBaseCellProps<T>);
|
|
735
772
|
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
declare type DataSourceSingleSortInfo<T> = MultisortInfo<T> & {
|
|
753
|
-
field?: keyof T;
|
|
754
|
-
id?: string;
|
|
755
|
-
};
|
|
756
|
-
declare type DataSourceGroupBy<T> = GroupBy<T, any>;
|
|
757
|
-
declare type DataSourcePivotBy<T> = PivotBy<T, any>;
|
|
758
|
-
declare type DataSourceSortInfo<T> = null | DataSourceSingleSortInfo<T> | DataSourceSingleSortInfo<T>[];
|
|
759
|
-
declare type DataSourceRemoteData<T> = {
|
|
760
|
-
data: T[] | LazyGroupDataItem<T>[];
|
|
761
|
-
mappings?: DataSourceMappings;
|
|
762
|
-
cache?: boolean;
|
|
763
|
-
error?: string;
|
|
764
|
-
totalCount?: number;
|
|
765
|
-
livePaginationCursor?: DataSourceLivePaginationCursorValue;
|
|
773
|
+
declare type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & {
|
|
774
|
+
[K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>;
|
|
775
|
+
}[Keys];
|
|
776
|
+
declare type DiscriminatedUnion<A, B> = (A & {
|
|
777
|
+
[K in keyof B]?: undefined;
|
|
778
|
+
}) | (B & {
|
|
779
|
+
[K in keyof A]?: undefined;
|
|
780
|
+
});
|
|
781
|
+
|
|
782
|
+
declare type InfiniteTableToggleGroupRowFn = (groupKeys: any[]) => void;
|
|
783
|
+
declare type InfiniteTableColumnHeaderParams<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = {
|
|
784
|
+
domRef: InfiniteTableCellProps<DATA_TYPE>['domRef'];
|
|
785
|
+
sortTool: JSX.Element | null;
|
|
786
|
+
column: COL_TYPE;
|
|
787
|
+
columnSortInfo: DataSourceSingleSortInfo<DATA_TYPE> | null;
|
|
788
|
+
columnFilterValue: DataSourceFilterValueItem<DATA_TYPE> | null;
|
|
766
789
|
};
|
|
767
|
-
declare type
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
790
|
+
declare type InfiniteTableColumnRenderParamBase<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = {
|
|
791
|
+
domRef: InfiniteTableCellProps<DATA_TYPE>['domRef'];
|
|
792
|
+
value: string | number | Renderable;
|
|
793
|
+
groupRowInfo: InfiniteTableRowInfo<DATA_TYPE> | null;
|
|
794
|
+
rowIndex: number;
|
|
795
|
+
column: COL_TYPE;
|
|
796
|
+
toggleCurrentGroupRow: () => void;
|
|
797
|
+
toggleGroupRow: InfiniteTableToggleGroupRowFn;
|
|
798
|
+
groupBy: DataSourceState<DATA_TYPE>['groupBy'];
|
|
799
|
+
pivotBy?: DataSourceState<DATA_TYPE>['pivotBy'];
|
|
772
800
|
};
|
|
773
|
-
declare type
|
|
774
|
-
declare type
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
lazyLoad: DataSourceProps<T>['lazyLoad'];
|
|
779
|
-
onDataParamsChange: DataSourceProps<T>['onDataParamsChange'];
|
|
780
|
-
data: DataSourceProps<T>['data'];
|
|
781
|
-
primaryKey: DataSourceProps<T>['primaryKey'];
|
|
782
|
-
groupBy: NonUndefined<DataSourceProps<T>['groupBy']>;
|
|
783
|
-
groupRowsState: GroupRowsState<T>;
|
|
784
|
-
pivotBy: DataSourceProps<T>['pivotBy'];
|
|
785
|
-
loading: NonUndefined<DataSourceProps<T>['loading']>;
|
|
786
|
-
collapseGroupRowsOnDataFunctionChange: NonUndefined<DataSourceProps<T>['collapseGroupRowsOnDataFunctionChange']>;
|
|
787
|
-
sortInfo: DataSourceSingleSortInfo<T>[] | null;
|
|
788
|
-
}
|
|
789
|
-
declare type DataSourceAggregationReducer<T, AggregationResultType> = {
|
|
790
|
-
name?: string;
|
|
791
|
-
field?: keyof T;
|
|
792
|
-
initialValue?: AggregationResultType;
|
|
793
|
-
getter?: (data: T) => any;
|
|
794
|
-
reducer: string | ((accumulator: any, value: any, data: T) => AggregationResultType | any);
|
|
795
|
-
done?: (accumulatedValue: AggregationResultType | any, array: T[]) => AggregationResultType;
|
|
796
|
-
pivotColumn?: ColumnTypeWithInherit<Partial<InfiniteTableColumn<T>>> | (({ column, }: {
|
|
797
|
-
column: InfiniteTablePivotFinalColumnVariant<T>;
|
|
798
|
-
}) => ColumnTypeWithInherit<Partial<InfiniteTablePivotColumn<T>>>);
|
|
801
|
+
declare type InfiniteTableColumnRenderParam<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = InfiniteTableColumnRenderParamBase<DATA_TYPE, COL_TYPE> & InfiniteTableRowInfoDataDiscriminator<DATA_TYPE>;
|
|
802
|
+
declare type InfiniteTableGroupColumnRenderParams<DATA_TYPE, COL_TYPE> = InfiniteTableColumnRenderParamBase<DATA_TYPE, COL_TYPE> & {
|
|
803
|
+
rowInfo: InfiniteTable_HasGrouping_RowInfoGroup<DATA_TYPE>;
|
|
804
|
+
isGroupRow: true;
|
|
805
|
+
data: Partial<DATA_TYPE> | null;
|
|
799
806
|
};
|
|
800
|
-
declare type
|
|
801
|
-
|
|
807
|
+
declare type InfiniteTableColumnCellContextType<DATA_TYPE> = InfiniteTableColumnRenderParam<DATA_TYPE> & {};
|
|
808
|
+
declare type InfiniteTableGroupColumnRenderIconParam<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = InfiniteTableGroupColumnRenderParams<DATA_TYPE, COL_TYPE> & {
|
|
809
|
+
collapsed: boolean;
|
|
810
|
+
groupIcon: Renderable;
|
|
802
811
|
};
|
|
803
|
-
declare type
|
|
804
|
-
declare type
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
values: Record<string, any>;
|
|
811
|
-
totals?: Record<string, any>;
|
|
812
|
-
};
|
|
812
|
+
declare type InfiniteTableColumnRenderValueParam<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = InfiniteTableColumnRenderParam<DATA_TYPE, COL_TYPE>;
|
|
813
|
+
declare type InfiniteTableColumnRowspanParam<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = {
|
|
814
|
+
rowInfo: InfiniteTableRowInfo<DATA_TYPE>;
|
|
815
|
+
data: DATA_TYPE | Partial<DATA_TYPE> | null;
|
|
816
|
+
dataArray: InfiniteTableRowInfo<DATA_TYPE>[];
|
|
817
|
+
rowIndex: number;
|
|
818
|
+
column: COL_TYPE;
|
|
813
819
|
};
|
|
814
|
-
declare type
|
|
820
|
+
declare type InfiniteTableColumnRenderFunction<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (renderParams: InfiniteTableColumnRenderParam<DATA_TYPE, COL_TYPE>) => Renderable | null;
|
|
821
|
+
declare type InfiniteTableGroupColumnRenderIconFunction<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = (param: InfiniteTableGroupColumnRenderIconParam<DATA_TYPE, COL_TYPE>) => Renderable | null;
|
|
822
|
+
declare type InfiniteTableColumnHeaderRenderFunction<T> = ({ columnSortInfo, column, }: InfiniteTableColumnHeaderParams<T>) => Renderable;
|
|
823
|
+
declare type InfiniteTableColumnAlign = 'start' | 'center' | 'end';
|
|
824
|
+
declare type InfiniteTableColumnVerticalAlign = 'start' | 'center' | 'end';
|
|
825
|
+
declare type InfiniteTableColumnHeader<T> = Renderable | InfiniteTableColumnHeaderRenderFunction<T>;
|
|
826
|
+
declare type InfiniteTableDataTypeNames = 'string' | 'number' | 'date' | string;
|
|
827
|
+
declare type InfiniteTableColumnTypeNames = 'string' | 'number' | 'date' | string;
|
|
828
|
+
declare type InfiniteTableColumnWithRenderOrRenderValueOrFieldOrValueGetter<T> = RequireAtLeastOne<{
|
|
815
829
|
/**
|
|
816
|
-
*
|
|
830
|
+
* Determines the field property of the column.
|
|
817
831
|
*/
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
832
|
+
field?: keyof T;
|
|
833
|
+
render?: InfiniteTableColumnRenderFunction<T>;
|
|
834
|
+
renderValue?: InfiniteTableColumnRenderFunction<T>;
|
|
835
|
+
valueGetter?: InfiniteTableColumnValueGetter<T>;
|
|
836
|
+
valueFormatter?: InfiniteTableColumnValueFormatter<T>;
|
|
837
|
+
}, 'render' | 'renderValue' | 'field' | 'valueGetter' | 'valueFormatter'>;
|
|
838
|
+
declare type InfiniteTableColumnStyleFnParams<T> = {
|
|
839
|
+
value: Renderable;
|
|
840
|
+
column: InfiniteTableColumn<T>;
|
|
841
|
+
} & InfiniteTableRowInfoDataDiscriminator<T>;
|
|
842
|
+
declare type InfiniteTableColumnStyleFn<T> = (params: InfiniteTableColumnStyleFnParams<T>) => undefined | React.CSSProperties;
|
|
843
|
+
declare type InfiniteTableColumnClassNameFn<T> = (params: InfiniteTableColumnStyleFnParams<T>) => undefined | string;
|
|
844
|
+
declare type InfiniteTableColumnStyle<T> = CSSProperties | InfiniteTableColumnStyleFn<T>;
|
|
845
|
+
declare type InfiniteTableColumnClassName<T> = string | InfiniteTableColumnClassNameFn<T>;
|
|
846
|
+
declare type InfiniteTableColumnValueGetterParams<T> = {
|
|
847
|
+
data: T;
|
|
848
|
+
field?: keyof T;
|
|
824
849
|
};
|
|
825
|
-
declare type
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
lazyLoad?: boolean | {
|
|
863
|
-
batchSize?: number;
|
|
850
|
+
declare type InfiniteTableColumnValueFormatterParams<T> = InfiniteTableRowInfoDataDiscriminator<T>;
|
|
851
|
+
declare type InfiniteTableColumnValueGetter<T, VALUE_GETTER_TYPE = string | number | boolean | Date | null | undefined> = (params: InfiniteTableColumnValueGetterParams<T>) => VALUE_GETTER_TYPE;
|
|
852
|
+
declare type InfiniteTableColumnValueFormatter<T, VALUE_FORMATTER_TYPE = string | number | boolean | Date | null | undefined> = (params: InfiniteTableColumnValueFormatterParams<T>) => VALUE_FORMATTER_TYPE;
|
|
853
|
+
declare type InfiniteTableColumnRowspanFn<T> = (params: InfiniteTableColumnRowspanParam<T>) => number;
|
|
854
|
+
declare type InfiniteTableColumnComparer<T> = (a: T, b: T) => number;
|
|
855
|
+
declare type InfiniteTableBaseColumn<T> = {
|
|
856
|
+
sortable?: boolean;
|
|
857
|
+
draggable?: boolean;
|
|
858
|
+
resizable?: boolean;
|
|
859
|
+
comparer?: InfiniteTableColumnComparer<T>;
|
|
860
|
+
defaultHiddenWhenGroupedBy?: '*' | keyof T | {
|
|
861
|
+
[k in keyof Partial<T>]: true;
|
|
862
|
+
};
|
|
863
|
+
align?: InfiniteTableColumnAlign;
|
|
864
|
+
verticalAlign?: InfiniteTableColumnVerticalAlign;
|
|
865
|
+
columnGroup?: string;
|
|
866
|
+
header?: InfiniteTableColumnHeader<T>;
|
|
867
|
+
name?: Renderable;
|
|
868
|
+
cssEllipsis?: boolean;
|
|
869
|
+
headerCssEllipsis?: boolean;
|
|
870
|
+
type?: InfiniteTableColumnTypeNames | InfiniteTableColumnTypeNames[] | null;
|
|
871
|
+
dataType?: InfiniteTableDataTypeNames;
|
|
872
|
+
sortType?: string;
|
|
873
|
+
filterType?: string;
|
|
874
|
+
style?: InfiniteTableColumnStyle<T>;
|
|
875
|
+
className?: InfiniteTableColumnClassName<T>;
|
|
876
|
+
rowspan?: InfiniteTableColumnRowspanFn<T>;
|
|
877
|
+
valueGetter?: InfiniteTableColumnValueGetter<T>;
|
|
878
|
+
valueFormatter?: InfiniteTableColumnValueFormatter<T>;
|
|
879
|
+
defaultWidth?: number;
|
|
880
|
+
defaultFlex?: number;
|
|
881
|
+
defaultFilterable?: boolean;
|
|
882
|
+
minWidth?: number;
|
|
883
|
+
maxWidth?: number;
|
|
884
|
+
components?: {
|
|
885
|
+
ColumnCell?: React.FunctionComponent<HTMLProps<HTMLDivElement>>;
|
|
886
|
+
HeaderCell?: React.FunctionComponent<HTMLProps<HTMLDivElement>>;
|
|
864
887
|
};
|
|
865
|
-
loading?: boolean;
|
|
866
|
-
defaultLoading?: boolean;
|
|
867
|
-
onLoadingChange?: (loading: boolean) => void;
|
|
868
|
-
pivotBy?: DataSourcePropPivotBy<T>;
|
|
869
|
-
defaultPivotBy?: DataSourcePropPivotBy<T>;
|
|
870
|
-
onPivotByChange?: (pivotBy: DataSourcePropPivotBy<T>) => void;
|
|
871
|
-
aggregationReducers?: DataSourcePropAggregationReducers<T>;
|
|
872
|
-
defaultAggregationReducers?: DataSourcePropAggregationReducers<T>;
|
|
873
|
-
groupBy?: DataSourcePropGroupBy<T>;
|
|
874
|
-
defaultGroupBy?: DataSourcePropGroupBy<T>;
|
|
875
|
-
onGroupByChange?: (groupBy: DataSourcePropGroupBy<T>) => void;
|
|
876
|
-
groupRowsState?: GroupRowsState | DataSourcePropGroupRowsStateObject<any>;
|
|
877
|
-
defaultGroupRowsState?: GroupRowsState | DataSourcePropGroupRowsStateObject<keyof T>;
|
|
878
|
-
onGroupRowsStateChange?: (groupRowsState: GroupRowsState) => void;
|
|
879
|
-
collapseGroupRowsOnDataFunctionChange?: boolean;
|
|
880
|
-
sortInfo?: DataSourceSortInfo<T>;
|
|
881
|
-
defaultSortInfo?: DataSourceSortInfo<T>;
|
|
882
|
-
onSortInfoChange?: ((sortInfo: DataSourceSingleSortInfo<T> | null) => void) | ((sortInfo: DataSourceSingleSortInfo<T>[]) => void);
|
|
883
|
-
onDataParamsChange?: (dataParamsChange: DataSourceDataParams<T>) => void;
|
|
884
|
-
livePagination?: boolean;
|
|
885
|
-
livePaginationCursor?: DataSourcePropLivePaginationCursor<T>;
|
|
886
|
-
onLivePaginationCursorChange?: (livePaginationCursor: DataSourceLivePaginationCursorValue) => void;
|
|
887
888
|
};
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
889
|
+
/**
|
|
890
|
+
* Defines a column in the table.
|
|
891
|
+
*
|
|
892
|
+
* @typeParam DATA_TYPE The type of the data in the table.
|
|
893
|
+
*
|
|
894
|
+
* Can be bound to a field which is a `keyof DATA_TYPE`.
|
|
895
|
+
*/
|
|
896
|
+
declare type InfiniteTableColumn<DATA_TYPE> = {} & InfiniteTableBaseColumn<DATA_TYPE> & InfiniteTableColumnWithRenderOrRenderValueOrFieldOrValueGetter<DATA_TYPE>;
|
|
897
|
+
declare type InfiniteTableGeneratedGroupColumn<T> = InfiniteTableColumn<T> & {
|
|
898
|
+
groupByField: string | string[];
|
|
899
|
+
id?: string;
|
|
894
900
|
};
|
|
895
|
-
declare type
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
}
|
|
904
|
-
declare type
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
901
|
+
declare type InfiniteTablePivotColumn<T> = InfiniteTableColumn<T> & ColumnTypeWithInherit<Partial<InfiniteTablePivotFinalColumnVariant<T, any>>>;
|
|
902
|
+
declare type InfiniteTablePivotFinalColumnGroup<DataType, KeyType extends any = any> = InfiniteTableColumnGroup & {
|
|
903
|
+
pivotBy: DataSourcePivotBy<DataType>[];
|
|
904
|
+
pivotTotalColumnGroup?: true;
|
|
905
|
+
pivotGroupKeys: KeyType[];
|
|
906
|
+
pivotByAtIndex: PivotBy<DataType, KeyType>;
|
|
907
|
+
pivotGroupKey: KeyType;
|
|
908
|
+
pivotIndex: number;
|
|
909
|
+
};
|
|
910
|
+
declare type InfiniteTablePivotFinalColumn<DataType, KeyType extends any = any> = InfiniteTableColumn<DataType> & {
|
|
911
|
+
pivotBy: DataSourcePivotBy<DataType>[];
|
|
912
|
+
pivotColumn: true;
|
|
913
|
+
pivotTotalColumn: boolean;
|
|
914
|
+
pivotAggregator: AggregationReducer<DataType, any>;
|
|
915
|
+
pivotAggregatorIndex: number;
|
|
916
|
+
pivotGroupKeys: KeyType[];
|
|
917
|
+
pivotByAtIndex?: PivotBy<DataType, KeyType>;
|
|
918
|
+
pivotIndex: number;
|
|
919
|
+
pivotGroupKey: KeyType;
|
|
920
|
+
};
|
|
921
|
+
declare type InfiniteTablePivotFinalColumnVariant<DataType, KeyType extends any = any> = InfiniteTablePivotFinalColumn<DataType, KeyType>;
|
|
922
|
+
declare type InfiniteTableComputedColumnBase<T> = {
|
|
923
|
+
computedFilterType: string;
|
|
924
|
+
computedSortType: string;
|
|
925
|
+
computedDataType: string;
|
|
926
|
+
computedWidth: number;
|
|
927
|
+
computedOffset: number;
|
|
928
|
+
computedPinningOffset: number;
|
|
929
|
+
computedAbsoluteOffset: number;
|
|
930
|
+
computedSortable: boolean;
|
|
931
|
+
computedSortInfo: DataSourceSingleSortInfo<T> | null;
|
|
932
|
+
computedSorted: boolean;
|
|
933
|
+
computedSortedAsc: boolean;
|
|
934
|
+
computedSortedDesc: boolean;
|
|
935
|
+
computedSortIndex: number;
|
|
936
|
+
computedVisibleIndex: number;
|
|
937
|
+
computedMultiSort: boolean;
|
|
938
|
+
computedFiltered: boolean;
|
|
939
|
+
computedFilterable: boolean;
|
|
940
|
+
computedFilterValue: DataSourceFilterValueItem<T> | null;
|
|
941
|
+
computedPinned: InfiniteTableColumnPinnedValues;
|
|
942
|
+
computedDraggable: boolean;
|
|
943
|
+
computedFirstInCategory: boolean;
|
|
944
|
+
computedLastInCategory: boolean;
|
|
945
|
+
computedFirst: boolean;
|
|
946
|
+
computedLast: boolean;
|
|
947
|
+
toggleSort: () => void;
|
|
948
|
+
id: string;
|
|
949
|
+
};
|
|
950
|
+
declare type InfiniteTableComputedColumn<T> = InfiniteTableColumn<T> & InfiniteTableComputedColumnBase<T> & Partial<InfiniteTablePivotFinalColumn<T>> & Partial<InfiniteTableGeneratedGroupColumn<T>>;
|
|
951
|
+
declare type InfiniteTableComputedPivotFinalColumn<T> = InfiniteTableComputedColumn<T> & InfiniteTablePivotFinalColumn<T>;
|
|
942
952
|
|
|
943
953
|
declare type AggregationReducer<T, AggregationResultType = any> = DataSourceAggregationReducer<T, AggregationResultType> & {
|
|
944
954
|
id: string;
|
|
@@ -960,10 +970,14 @@ declare type InfiniteTableRowInfoDataDiscriminator<T> = {
|
|
|
960
970
|
data: T;
|
|
961
971
|
isGroupRow: false;
|
|
962
972
|
rowInfo: InfiniteTable_NoGrouping_RowInfoNormal<T> | InfiniteTable_HasGrouping_RowInfoNormal<T>;
|
|
973
|
+
field?: keyof T;
|
|
974
|
+
value: any;
|
|
963
975
|
} | {
|
|
964
976
|
data: Partial<T> | null;
|
|
965
977
|
rowInfo: InfiniteTable_HasGrouping_RowInfoGroup<T>;
|
|
966
978
|
isGroupRow: true;
|
|
979
|
+
field?: keyof T;
|
|
980
|
+
value: any;
|
|
967
981
|
};
|
|
968
982
|
/**
|
|
969
983
|
* This is the base row info for all scenarios - things every
|
|
@@ -1184,177 +1198,289 @@ declare type DataGroupResult<DataType, KeyType extends any> = {
|
|
|
1184
1198
|
declare function group<DataType, KeyType = any>(groupParams: GroupParams<DataType, KeyType>, data: DataType[]): DataGroupResult<DataType, KeyType>;
|
|
1185
1199
|
declare function flatten<DataType, KeyType extends any>(groupResult: DataGroupResult<DataType, KeyType>): DataType[];
|
|
1186
1200
|
|
|
1187
|
-
declare type
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
+
declare type SortDir = 1 | -1;
|
|
1202
|
+
declare type MultisortInfo<T> = {
|
|
1203
|
+
/**
|
|
1204
|
+
* The sorting direction
|
|
1205
|
+
*/
|
|
1206
|
+
dir: SortDir;
|
|
1207
|
+
/**
|
|
1208
|
+
* for now 'string' and 'number' are known types, meaning they have
|
|
1209
|
+
* sort functions already implemented
|
|
1210
|
+
*/
|
|
1211
|
+
type?: string;
|
|
1212
|
+
fn?: (a: any, b: any) => number;
|
|
1213
|
+
/**
|
|
1214
|
+
* a property whose value to use for sorting on the array items
|
|
1215
|
+
*/
|
|
1216
|
+
field?: keyof T;
|
|
1217
|
+
/**
|
|
1218
|
+
* or a function to retrieve the item value to use for sorting
|
|
1219
|
+
*/
|
|
1220
|
+
valueGetter?: (item: T) => any;
|
|
1221
|
+
};
|
|
1222
|
+
declare const multisort: {
|
|
1223
|
+
<T>(sortInfo: MultisortInfo<T>[], array: T[], get?: ((item: any) => T) | undefined): T[];
|
|
1224
|
+
knownTypes: {
|
|
1225
|
+
[key: string]: (first: any, second: any) => number;
|
|
1226
|
+
};
|
|
1201
1227
|
};
|
|
1202
1228
|
|
|
1203
|
-
declare type
|
|
1204
|
-
|
|
1205
|
-
|
|
1229
|
+
declare type RenderRange = {
|
|
1230
|
+
renderStartIndex: number;
|
|
1231
|
+
renderEndIndex: number;
|
|
1232
|
+
};
|
|
1206
1233
|
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1234
|
+
interface DataSourceDataParams<T> {
|
|
1235
|
+
originalDataArray: T[];
|
|
1236
|
+
sortInfo?: DataSourceSortInfo<T>;
|
|
1237
|
+
groupBy?: DataSourcePropGroupBy<T>;
|
|
1238
|
+
pivotBy?: DataSourcePropPivotBy<T>;
|
|
1239
|
+
filterValue?: DataSourcePropFilterValue<T>;
|
|
1240
|
+
groupRowsState?: DataSourcePropGroupRowsStateObject<any>;
|
|
1241
|
+
lazyLoadBatchSize?: number;
|
|
1242
|
+
lazyLoadStartIndex?: number;
|
|
1243
|
+
groupKeys?: any[];
|
|
1244
|
+
append?: boolean;
|
|
1245
|
+
aggregationReducers?: DataSourcePropAggregationReducers<T>;
|
|
1246
|
+
livePaginationCursor?: DataSourceLivePaginationCursorValue;
|
|
1247
|
+
__cursorId?: DataSourceSetupState<T>['cursorId'];
|
|
1248
|
+
changes?: DataSourceDataParamsChanges<T>;
|
|
1249
|
+
}
|
|
1250
|
+
declare type DataSourceDataParamsChanges<T> = Partial<Record<keyof Omit<DataSourceDataParams<T>, 'originalDataArray' | 'changes'>, true>>;
|
|
1251
|
+
declare type DataSourceSingleSortInfo<T> = MultisortInfo<T> & {
|
|
1252
|
+
field?: keyof T;
|
|
1253
|
+
id?: string;
|
|
1213
1254
|
};
|
|
1214
|
-
declare type
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1255
|
+
declare type DataSourceGroupBy<T> = GroupBy<T, any>;
|
|
1256
|
+
declare type DataSourcePivotBy<T> = PivotBy<T, any>;
|
|
1257
|
+
declare type DataSourceSortInfo<T> = null | DataSourceSingleSortInfo<T> | DataSourceSingleSortInfo<T>[];
|
|
1258
|
+
declare type DataSourceRemoteData<T> = {
|
|
1259
|
+
data: T[] | LazyGroupDataItem<T>[];
|
|
1260
|
+
mappings?: DataSourceMappings;
|
|
1261
|
+
cache?: boolean;
|
|
1262
|
+
error?: string;
|
|
1263
|
+
totalCount?: number;
|
|
1264
|
+
totalCountUnfiltered?: number;
|
|
1265
|
+
livePaginationCursor?: DataSourceLivePaginationCursorValue;
|
|
1224
1266
|
};
|
|
1225
|
-
declare type
|
|
1226
|
-
declare type
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1267
|
+
declare type DataSourceData<T> = T[] | DataSourceRemoteData<T> | Promise<T[] | DataSourceRemoteData<T>> | ((dataInfo: DataSourceDataParams<T>) => T[] | Promise<T[] | DataSourceRemoteData<T>>);
|
|
1268
|
+
declare type DataSourceGroupRowsList<KeyType> = true | KeyType[][];
|
|
1269
|
+
declare type DataSourcePropGroupRowsStateObject<KeyType> = {
|
|
1270
|
+
expandedRows: DataSourceGroupRowsList<KeyType>;
|
|
1271
|
+
collapsedRows: DataSourceGroupRowsList<KeyType>;
|
|
1230
1272
|
};
|
|
1231
|
-
declare type
|
|
1232
|
-
declare type
|
|
1233
|
-
|
|
1234
|
-
|
|
1273
|
+
declare type DataSourcePropGroupBy<T> = DataSourceGroupBy<T>[];
|
|
1274
|
+
declare type DataSourcePropPivotBy<T> = DataSourcePivotBy<T>[];
|
|
1275
|
+
interface DataSourceMappedState<T> {
|
|
1276
|
+
aggregationReducers?: DataSourceProps<T>['aggregationReducers'];
|
|
1277
|
+
livePagination: DataSourceProps<T>['livePagination'];
|
|
1278
|
+
lazyLoad: DataSourceProps<T>['lazyLoad'];
|
|
1279
|
+
onDataParamsChange: DataSourceProps<T>['onDataParamsChange'];
|
|
1280
|
+
data: DataSourceProps<T>['data'];
|
|
1281
|
+
filterFunction: DataSourceProps<T>['filterFunction'];
|
|
1282
|
+
filterValue: DataSourceProps<T>['filterValue'];
|
|
1283
|
+
filterTypes: NonUndefined<DataSourceProps<T>['filterTypes']>;
|
|
1284
|
+
primaryKey: DataSourceProps<T>['primaryKey'];
|
|
1285
|
+
filterDelay: NonUndefined<DataSourceProps<T>['filterDelay']>;
|
|
1286
|
+
groupBy: NonUndefined<DataSourceProps<T>['groupBy']>;
|
|
1287
|
+
groupRowsState: GroupRowsState<T>;
|
|
1288
|
+
pivotBy: DataSourceProps<T>['pivotBy'];
|
|
1289
|
+
loading: NonUndefined<DataSourceProps<T>['loading']>;
|
|
1290
|
+
sortTypes: NonUndefined<DataSourceProps<T>['sortTypes']>;
|
|
1291
|
+
collapseGroupRowsOnDataFunctionChange: NonUndefined<DataSourceProps<T>['collapseGroupRowsOnDataFunctionChange']>;
|
|
1292
|
+
sortInfo: DataSourceSingleSortInfo<T>[] | null;
|
|
1293
|
+
}
|
|
1294
|
+
declare type DataSourceAggregationReducer<T, AggregationResultType> = {
|
|
1295
|
+
name?: string;
|
|
1296
|
+
field?: keyof T;
|
|
1297
|
+
initialValue?: AggregationResultType;
|
|
1298
|
+
getter?: (data: T) => any;
|
|
1299
|
+
reducer: string | ((accumulator: any, value: any, data: T) => AggregationResultType | any);
|
|
1300
|
+
done?: (accumulatedValue: AggregationResultType | any, array: T[]) => AggregationResultType;
|
|
1301
|
+
pivotColumn?: ColumnTypeWithInherit<Partial<InfiniteTableColumn<T>>> | (({ column, }: {
|
|
1302
|
+
column: InfiniteTablePivotFinalColumnVariant<T>;
|
|
1303
|
+
}) => ColumnTypeWithInherit<Partial<InfiniteTablePivotColumn<T>>>);
|
|
1235
1304
|
};
|
|
1236
|
-
declare type
|
|
1237
|
-
|
|
1238
|
-
rowInfo: InfiniteTableRowInfo<DATA_TYPE>;
|
|
1239
|
-
data: DATA_TYPE | Partial<DATA_TYPE> | null;
|
|
1240
|
-
dataArray: InfiniteTableRowInfo<DATA_TYPE>[];
|
|
1241
|
-
rowIndex: number;
|
|
1242
|
-
column: COL_TYPE;
|
|
1305
|
+
declare type ColumnTypeWithInherit<COL_TYPE> = COL_TYPE & {
|
|
1306
|
+
inheritFromColumn?: string | boolean;
|
|
1243
1307
|
};
|
|
1244
|
-
declare type
|
|
1245
|
-
declare type
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1308
|
+
declare type DataSourceMappings = Record<'totals' | 'values', string>;
|
|
1309
|
+
declare type LazyGroupDataItem<DataType> = {
|
|
1310
|
+
data: Partial<DataType>;
|
|
1311
|
+
keys: any[];
|
|
1312
|
+
aggregations?: Record<string, any>;
|
|
1313
|
+
dataset?: DataSourceRemoteData<DataType>;
|
|
1314
|
+
pivot?: {
|
|
1315
|
+
values: Record<string, any>;
|
|
1316
|
+
totals?: Record<string, any>;
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
declare type LazyRowInfoGroup<DataType> = {
|
|
1252
1320
|
/**
|
|
1253
|
-
*
|
|
1321
|
+
* Those are direct children of the current lazy group row
|
|
1254
1322
|
*/
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1323
|
+
children: LazyGroupDataItem<DataType>[];
|
|
1324
|
+
childrenLoading: boolean;
|
|
1325
|
+
childrenAvailable: boolean;
|
|
1326
|
+
cache: boolean;
|
|
1327
|
+
totalCount: number;
|
|
1328
|
+
totalCountUnfiltered: number;
|
|
1329
|
+
error?: string;
|
|
1330
|
+
};
|
|
1331
|
+
declare type LazyGroupDataDeepMap<DataType, KeyType = string> = DeepMap<KeyType, LazyRowInfoGroup<DataType>>;
|
|
1332
|
+
interface DataSourceSetupState<T> {
|
|
1333
|
+
unfilteredCount: number;
|
|
1334
|
+
filteredCount: number;
|
|
1335
|
+
lazyLoadCacheOfLoadedBatches: DeepMap<string, true>;
|
|
1336
|
+
pivotMappings?: DataSourceMappings;
|
|
1337
|
+
propsCache: Map<keyof DataSourceProps<T>, WeakMap<any, any>>;
|
|
1338
|
+
showSeparatePivotColumnForSingleAggregation: boolean;
|
|
1339
|
+
dataParams?: DataSourceDataParams<T>;
|
|
1340
|
+
originalLazyGroupData: LazyGroupDataDeepMap<T>;
|
|
1341
|
+
originalLazyGroupDataChangeDetect: number | string;
|
|
1342
|
+
scrollStopDelayUpdatedByTable: number;
|
|
1343
|
+
notifyScrollbarsChange: SubscriptionCallback<Scrollbars>;
|
|
1344
|
+
notifyScrollStop: SubscriptionCallback<ScrollStopInfo>;
|
|
1345
|
+
notifyRenderRangeChange: SubscriptionCallback<RenderRange>;
|
|
1346
|
+
originalDataArray: T[];
|
|
1347
|
+
lastFilterDataArray?: T[];
|
|
1348
|
+
lastSortDataArray?: T[];
|
|
1349
|
+
lastGroupDataArray?: InfiniteTableRowInfo<T>[];
|
|
1350
|
+
dataArray: InfiniteTableRowInfo<T>[];
|
|
1351
|
+
groupDeepMap?: DeepMap<GroupKeyType, DeepMapGroupValueType<T, any>>;
|
|
1352
|
+
pivotTotalColumnPosition: InfiniteTablePropPivotTotalColumnPosition;
|
|
1353
|
+
pivotGrandTotalColumnPosition: InfiniteTablePropPivotGrandTotalColumnPosition;
|
|
1354
|
+
cursorId: number | symbol | DataSourceLivePaginationCursorValue;
|
|
1355
|
+
updatedAt: number;
|
|
1356
|
+
reducedAt: number;
|
|
1357
|
+
groupedAt: number;
|
|
1358
|
+
sortedAt: number;
|
|
1359
|
+
filteredAt: number;
|
|
1360
|
+
generateGroupRows: boolean;
|
|
1361
|
+
postFilterDataArray?: T[];
|
|
1362
|
+
postSortDataArray?: T[];
|
|
1363
|
+
postGroupDataArray?: InfiniteTableRowInfo<T>[];
|
|
1364
|
+
pivotColumns?: Map<string, InfiniteTableColumn<T>>;
|
|
1365
|
+
pivotColumnGroups?: Map<string, InfiniteTableColumnGroup>;
|
|
1366
|
+
}
|
|
1367
|
+
declare type DataSourcePropAggregationReducers<T> = Record<string, DataSourceAggregationReducer<T, any>>;
|
|
1368
|
+
declare type DataSourceProps<T> = {
|
|
1369
|
+
children: React$1.ReactNode | ((contextData: DataSourceState<T>) => React$1.ReactNode);
|
|
1370
|
+
primaryKey: keyof T | (({ data, index }: {
|
|
1371
|
+
data: T;
|
|
1372
|
+
index: number;
|
|
1373
|
+
}) => string);
|
|
1374
|
+
fields?: (keyof T)[];
|
|
1375
|
+
data: DataSourceData<T>;
|
|
1376
|
+
lazyLoad?: boolean | {
|
|
1377
|
+
batchSize?: number;
|
|
1299
1378
|
};
|
|
1379
|
+
loading?: boolean;
|
|
1380
|
+
defaultLoading?: boolean;
|
|
1381
|
+
onLoadingChange?: (loading: boolean) => void;
|
|
1382
|
+
pivotBy?: DataSourcePropPivotBy<T>;
|
|
1383
|
+
defaultPivotBy?: DataSourcePropPivotBy<T>;
|
|
1384
|
+
onPivotByChange?: (pivotBy: DataSourcePropPivotBy<T>) => void;
|
|
1385
|
+
aggregationReducers?: DataSourcePropAggregationReducers<T>;
|
|
1386
|
+
defaultAggregationReducers?: DataSourcePropAggregationReducers<T>;
|
|
1387
|
+
groupBy?: DataSourcePropGroupBy<T>;
|
|
1388
|
+
defaultGroupBy?: DataSourcePropGroupBy<T>;
|
|
1389
|
+
onGroupByChange?: (groupBy: DataSourcePropGroupBy<T>) => void;
|
|
1390
|
+
groupRowsState?: GroupRowsState | DataSourcePropGroupRowsStateObject<any>;
|
|
1391
|
+
defaultGroupRowsState?: GroupRowsState | DataSourcePropGroupRowsStateObject<keyof T>;
|
|
1392
|
+
onGroupRowsStateChange?: (groupRowsState: GroupRowsState) => void;
|
|
1393
|
+
collapseGroupRowsOnDataFunctionChange?: boolean;
|
|
1394
|
+
sortInfo?: DataSourceSortInfo<T>;
|
|
1395
|
+
defaultSortInfo?: DataSourceSortInfo<T>;
|
|
1396
|
+
onSortInfoChange?: ((sortInfo: DataSourceSingleSortInfo<T> | null) => void) | ((sortInfo: DataSourceSingleSortInfo<T>[]) => void);
|
|
1397
|
+
onDataParamsChange?: (dataParamsChange: DataSourceDataParams<T>) => void;
|
|
1398
|
+
livePagination?: boolean;
|
|
1399
|
+
livePaginationCursor?: DataSourcePropLivePaginationCursor<T>;
|
|
1400
|
+
onLivePaginationCursorChange?: (livePaginationCursor: DataSourceLivePaginationCursorValue) => void;
|
|
1401
|
+
filterFunction?: DataSourcePropFilterFunction<T>;
|
|
1402
|
+
filterMode?: 'client' | 'server';
|
|
1403
|
+
filterValue?: DataSourcePropFilterValue<T>;
|
|
1404
|
+
defaultFilterValue?: DataSourcePropFilterValue<T>;
|
|
1405
|
+
onFilterValueChange?: (filterValue: DataSourcePropFilterValue<T>) => void;
|
|
1406
|
+
filterDelay?: number;
|
|
1407
|
+
filterTypes?: DataSourcePropFilterTypes<T>;
|
|
1408
|
+
sortTypes?: DataSourcePropSortTypes;
|
|
1300
1409
|
};
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
declare type InfiniteTableColumn<DATA_TYPE> = {} & InfiniteTableBaseColumn<DATA_TYPE> & InfiniteTableColumnWithRenderOrRenderValueOrFieldOrValueGetter<DATA_TYPE>;
|
|
1309
|
-
declare type InfiniteTableGeneratedGroupColumn<T> = InfiniteTableColumn<T> & {
|
|
1310
|
-
groupByField: string | string[];
|
|
1311
|
-
id?: string;
|
|
1410
|
+
declare type DataSourcePropSortTypes = Record<string, (first: any, second: any) => number>;
|
|
1411
|
+
declare type DataSourcePropFilterTypes<T> = Record<string, DataSourceFilterType<T>>;
|
|
1412
|
+
declare type DataSourceFilterFunctionParam<T> = {
|
|
1413
|
+
data: T;
|
|
1414
|
+
index: number;
|
|
1415
|
+
dataArray: T[];
|
|
1416
|
+
primaryKey: any;
|
|
1312
1417
|
};
|
|
1313
|
-
declare type
|
|
1314
|
-
declare type
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1418
|
+
declare type DataSourcePropFilterFunction<T> = (filterParam: DataSourceFilterFunctionParam<T>) => boolean;
|
|
1419
|
+
declare type DataSourcePropFilterValue<T> = DataSourceFilterValueItem<T>[];
|
|
1420
|
+
declare type DataSourceFilterValueItem<T> = DiscriminatedUnion<{
|
|
1421
|
+
field: keyof T;
|
|
1422
|
+
}, {
|
|
1423
|
+
id: string;
|
|
1424
|
+
}> & {
|
|
1425
|
+
valueGetter?: DataSourceFilterValueItemValueGetter<T>;
|
|
1426
|
+
filterValue: any;
|
|
1427
|
+
disabled?: boolean;
|
|
1428
|
+
filterType: string;
|
|
1429
|
+
operator: string;
|
|
1321
1430
|
};
|
|
1322
|
-
declare type
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
pivotGroupKeys: KeyType[];
|
|
1329
|
-
pivotByAtIndex?: PivotBy<DataType, KeyType>;
|
|
1330
|
-
pivotIndex: number;
|
|
1331
|
-
pivotGroupKey: KeyType;
|
|
1431
|
+
declare type DataSourceFilterValueItemValueGetter<T> = (param: DataSourceFilterFunctionParam<T>) => any;
|
|
1432
|
+
declare type DataSourceFilterType<T> = {
|
|
1433
|
+
emptyValues: Set<any>;
|
|
1434
|
+
label?: string;
|
|
1435
|
+
defaultOperator: string;
|
|
1436
|
+
operators: DataSourceFilterOperator<T>[];
|
|
1332
1437
|
};
|
|
1333
|
-
declare type
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
computedPinningOffset: number;
|
|
1338
|
-
computedAbsoluteOffset: number;
|
|
1339
|
-
computedSortable: boolean;
|
|
1340
|
-
computedSortInfo: DataSourceSingleSortInfo<T> | null;
|
|
1341
|
-
computedSorted: boolean;
|
|
1342
|
-
computedSortedAsc: boolean;
|
|
1343
|
-
computedSortedDesc: boolean;
|
|
1344
|
-
computedSortIndex: number;
|
|
1345
|
-
computedVisibleIndex: number;
|
|
1346
|
-
computedMultiSort: boolean;
|
|
1347
|
-
computedPinned: InfiniteTableColumnPinnedValues;
|
|
1348
|
-
computedDraggable: boolean;
|
|
1349
|
-
computedFirstInCategory: boolean;
|
|
1350
|
-
computedLastInCategory: boolean;
|
|
1351
|
-
computedFirst: boolean;
|
|
1352
|
-
computedLast: boolean;
|
|
1353
|
-
toggleSort: () => void;
|
|
1354
|
-
id: string;
|
|
1438
|
+
declare type DataSourceFilterOperator<T> = {
|
|
1439
|
+
name: string;
|
|
1440
|
+
label?: string;
|
|
1441
|
+
fn: DataSourceFilterOperatorFunction<T>;
|
|
1355
1442
|
};
|
|
1356
|
-
declare type
|
|
1357
|
-
declare type
|
|
1443
|
+
declare type DataSourceFilterOperatorFunction<T> = (filterOperatorFunctionParam: DataSourceFilterOperatorFunctionParam<T>) => boolean;
|
|
1444
|
+
declare type DataSourceFilterOperatorFunctionParam<T> = {
|
|
1445
|
+
currentValue: any;
|
|
1446
|
+
filterValue: any;
|
|
1447
|
+
emptyValues: Set<any>;
|
|
1448
|
+
} & DataSourceFilterFunctionParam<T>;
|
|
1449
|
+
declare type DataSourcePropLivePaginationCursor<T> = DataSourceLivePaginationCursorValue | DataSourceLivePaginationCursorFn<T>;
|
|
1450
|
+
declare type DataSourceLivePaginationCursorFn<T> = (params: DataSourceLivePaginationCursorParams<T>) => DataSourceLivePaginationCursorValue;
|
|
1451
|
+
declare type DataSourceLivePaginationCursorParams<T> = {
|
|
1452
|
+
array: T[];
|
|
1453
|
+
lastItem: T | Partial<T> | null;
|
|
1454
|
+
length: number;
|
|
1455
|
+
};
|
|
1456
|
+
declare type DataSourceLivePaginationCursorValue = string | number | null;
|
|
1457
|
+
interface DataSourceState<T> extends DataSourceSetupState<T>, DataSourceDerivedState<T>, DataSourceMappedState<T> {
|
|
1458
|
+
}
|
|
1459
|
+
interface DataSourceDerivedState<T> {
|
|
1460
|
+
operatorsByFilterType: Record<string, Record<string, DataSourceFilterOperator<T>>>;
|
|
1461
|
+
filterMode: NonUndefined<DataSourceProps<T>['filterMode']>;
|
|
1462
|
+
multiSort: boolean;
|
|
1463
|
+
controlledSort: boolean;
|
|
1464
|
+
controlledFilter: boolean;
|
|
1465
|
+
livePaginationCursor?: DataSourceLivePaginationCursorValue;
|
|
1466
|
+
lazyLoadBatchSize?: number;
|
|
1467
|
+
}
|
|
1468
|
+
declare type DataSourceComponentActions<T> = ComponentStateActions<DataSourceState<T>>;
|
|
1469
|
+
interface DataSourceContextValue<T> {
|
|
1470
|
+
getState: () => DataSourceState<T>;
|
|
1471
|
+
componentState: DataSourceState<T>;
|
|
1472
|
+
componentActions: DataSourceComponentActions<T>;
|
|
1473
|
+
}
|
|
1474
|
+
declare enum DataSourceActionType {
|
|
1475
|
+
INIT = "INIT"
|
|
1476
|
+
}
|
|
1477
|
+
interface DataSourceAction<T> {
|
|
1478
|
+
type: DataSourceActionType;
|
|
1479
|
+
payload: T;
|
|
1480
|
+
}
|
|
1481
|
+
interface DataSourceReducer<T> {
|
|
1482
|
+
(state: DataSourceState<T>, action: DataSourceAction<any>): DataSourceState<T>;
|
|
1483
|
+
}
|
|
1358
1484
|
|
|
1359
1485
|
declare function useInfiniteHeaderCell<T>(): InfiniteTableColumnHeaderParams<T, InfiniteTableComputedColumn<T>>;
|
|
1360
1486
|
|
|
@@ -1366,10 +1492,12 @@ declare function InfiniteTable<T>(props: InfiniteTableProps<T>): JSX.Element;
|
|
|
1366
1492
|
declare namespace InfiniteTable {
|
|
1367
1493
|
var defaultProps: {
|
|
1368
1494
|
rowHeight: number;
|
|
1369
|
-
|
|
1495
|
+
columnHeaderHeight: _vanilla_extract_private.CSSVarFunction;
|
|
1370
1496
|
};
|
|
1371
1497
|
}
|
|
1372
1498
|
|
|
1499
|
+
declare const defaultFilterTypes: Record<string, DataSourceFilterType<any>>;
|
|
1500
|
+
|
|
1373
1501
|
declare function useDataSource<T>(): DataSourceState<T>;
|
|
1374
1502
|
|
|
1375
1503
|
declare function DataSource<T>(props: DataSourceProps<T>): JSX.Element;
|
|
@@ -1425,4 +1553,8 @@ declare function interceptMap<K, V>(map: Map<K, V>, fns: InterceptedMapFns<K, V>
|
|
|
1425
1553
|
|
|
1426
1554
|
declare function useEffectWithChanges<T>(fn: (changes: Record<keyof T, any>, prevValues: Record<string, any>) => void | (() => void), deps: Record<keyof T, any>): void;
|
|
1427
1555
|
|
|
1428
|
-
|
|
1556
|
+
declare const defaultFilterEditors: InfiniteTablePropFilterEditors<unknown>;
|
|
1557
|
+
declare function StringFilterEditor<T>(props: InfiniteTableFilterEditorProps<T>): JSX.Element;
|
|
1558
|
+
declare function NumberFilterEditor<T>(props: InfiniteTableFilterEditorProps<T>): JSX.Element;
|
|
1559
|
+
|
|
1560
|
+
export { ColumnTypeWithInherit, DataSource, DataSourceAction, DataSourceActionType, DataSourceAggregationReducer, DataSourceComponentActions, DataSourceContextValue, DataSourceData, DataSourceDataParams, DataSourceDataParamsChanges, DataSourceDerivedState, DataSourceFilterFunctionParam, DataSourceFilterOperator, DataSourceFilterOperatorFunction, DataSourceFilterOperatorFunctionParam, DataSourceFilterType, DataSourceFilterValueItem, DataSourceFilterValueItemValueGetter, DataSourceGroupBy, DataSourceGroupRowsList, DataSourceLivePaginationCursorFn, DataSourceLivePaginationCursorParams, DataSourceLivePaginationCursorValue, DataSourceMappedState, DataSourceMappings, DataSourcePivotBy, DataSourcePropAggregationReducers, DataSourcePropFilterFunction, DataSourcePropFilterTypes, DataSourcePropFilterValue, DataSourcePropGroupBy, DataSourcePropGroupRowsStateObject, DataSourcePropLivePaginationCursor, DataSourcePropPivotBy, DataSourcePropSortTypes, DataSourceProps, DataSourceReducer, DataSourceRemoteData, DataSourceSetupState, DataSourceSingleSortInfo, DataSourceSortInfo, DataSourceState, GroupRowsState, InfiniteTable, InfiniteTableAction, InfiniteTableActionType, InfiniteTableClassName, InfiniteTableColumn, InfiniteTableColumnAggregator, InfiniteTableColumnComparer, InfiniteTableColumnGroup, InfiniteTableColumnRenderParam, InfiniteTableColumnRenderValueParam, InfiniteTableColumnRowspanParam, InfiniteTableColumnSizingOptions, InfiniteTableComponent, InfiniteTableComputedColumn, InfiniteTableComputedValues, InfiniteTableContextValue, InfiniteTableFilterEditorProps, InfiniteTableGroupColumnBase, InfiniteTableGroupColumnFunction, InfiniteTableGroupColumnGetterOptions, InfiniteTableGroupColumnRenderIconFunction, InfiniteTableImperativeApi, InfiniteTablePivotColumn, InfiniteTablePropAutoSizeColumnsKey, InfiniteTablePropColumnGroups, InfiniteTablePropColumnOrder, InfiniteTablePropColumnPinning, InfiniteTablePropColumnSizing, InfiniteTablePropColumnTypes, InfiniteTablePropColumnVisibility, InfiniteTablePropColumns, InfiniteTablePropColumnsMap, InfiniteTablePropComponents, InfiniteTablePropFilterEditors, InfiniteTablePropGroupColumn, InfiniteTablePropGroupRenderStrategy, InfiniteTablePropHeaderOptions, InfiniteTablePropRowClassName, InfiniteTablePropRowStyle, InfiniteTableProps, InfiniteTableRowClassNameFn, InfiniteTableRowInfo, InfiniteTableRowStyleFn, InfiniteTableState, LazyGroupDataDeepMap, LazyGroupDataItem, LazyRowInfoGroup, NumberFilterEditor, Scrollbars, StringFilterEditor, debounce, defaultFilterEditors, defaultFilterTypes, defaultFilterTypes as filterTypes, flatten, getComponentStateRoot, group, interceptMap, multisort, useComponentState, useDataSource, useEffectWithChanges, useInfiniteColumnCell, useInfiniteHeaderCell };
|