material-react-table 2.0.6 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.esm.js +36 -22
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +35 -21
- package/dist/index.js.map +1 -1
- package/locales/fr/index.esm.js +1 -1
- package/locales/fr/index.js +1 -1
- package/{dist/types/locales/he.d.ts → locales/he/index.d.ts} +2 -1
- package/locales/he/index.esm.d.ts +3 -0
- package/locales/he/index.esm.js +93 -0
- package/locales/he/index.js +97 -0
- package/locales/he/package.json +6 -0
- package/package.json +21 -21
- package/src/body/MRT_TableBodyCell.tsx +8 -7
- package/src/head/MRT_TableHeadCell.tsx +4 -1
- package/src/head/MRT_TableHeadCellResizeHandle.tsx +18 -9
- package/src/hooks/useMRT_TableOptions.ts +8 -0
- package/src/inputs/MRT_EditCellTextField.tsx +3 -1
- package/src/inputs/MRT_FilterTextField.tsx +1 -1
- package/src/locales/fr.ts +1 -1
- package/dist/types/MaterialReactTable.d.ts +0 -7
- package/dist/types/aggregationFns.d.ts +0 -11
- package/dist/types/body/MRT_TableBody.d.ts +0 -13
- package/dist/types/body/MRT_TableBodyCell.d.ts +0 -15
- package/dist/types/body/MRT_TableBodyCellValue.d.ts +0 -8
- package/dist/types/body/MRT_TableBodyRow.d.ts +0 -18
- package/dist/types/body/MRT_TableBodyRowGrabHandle.d.ts +0 -10
- package/dist/types/body/MRT_TableBodyRowPinButton.d.ts +0 -8
- package/dist/types/body/MRT_TableDetailPanel.d.ts +0 -13
- package/dist/types/body/index.d.ts +0 -7
- package/dist/types/buttons/MRT_ColumnPinningButtons.d.ts +0 -8
- package/dist/types/buttons/MRT_CopyButton.d.ts +0 -8
- package/dist/types/buttons/MRT_EditActionButtons.d.ts +0 -9
- package/dist/types/buttons/MRT_ExpandAllButton.d.ts +0 -7
- package/dist/types/buttons/MRT_ExpandButton.d.ts +0 -8
- package/dist/types/buttons/MRT_GrabHandleButton.d.ts +0 -12
- package/dist/types/buttons/MRT_RowPinButton.d.ts +0 -10
- package/dist/types/buttons/MRT_ShowHideColumnsButton.d.ts +0 -7
- package/dist/types/buttons/MRT_ToggleDensePaddingButton.d.ts +0 -7
- package/dist/types/buttons/MRT_ToggleFiltersButton.d.ts +0 -7
- package/dist/types/buttons/MRT_ToggleFullScreenButton.d.ts +0 -7
- package/dist/types/buttons/MRT_ToggleGlobalFilterButton.d.ts +0 -7
- package/dist/types/buttons/MRT_ToggleRowActionMenuButton.d.ts +0 -9
- package/dist/types/buttons/index.d.ts +0 -13
- package/dist/types/column.utils.d.ts +0 -127
- package/dist/types/filterFns.d.ts +0 -69
- package/dist/types/footer/MRT_TableFooter.d.ts +0 -11
- package/dist/types/footer/MRT_TableFooterCell.d.ts +0 -8
- package/dist/types/footer/MRT_TableFooterRow.d.ts +0 -12
- package/dist/types/footer/index.d.ts +0 -3
- package/dist/types/head/MRT_TableHead.d.ts +0 -11
- package/dist/types/head/MRT_TableHeadCell.d.ts +0 -8
- package/dist/types/head/MRT_TableHeadCellColumnActionsButton.d.ts +0 -8
- package/dist/types/head/MRT_TableHeadCellFilterContainer.d.ts +0 -8
- package/dist/types/head/MRT_TableHeadCellFilterLabel.d.ts +0 -8
- package/dist/types/head/MRT_TableHeadCellGrabHandle.d.ts +0 -10
- package/dist/types/head/MRT_TableHeadCellResizeHandle.d.ts +0 -8
- package/dist/types/head/MRT_TableHeadCellSortLabel.d.ts +0 -8
- package/dist/types/head/MRT_TableHeadRow.d.ts +0 -12
- package/dist/types/head/index.d.ts +0 -9
- package/dist/types/hooks/index.d.ts +0 -4
- package/dist/types/hooks/useMRT_DisplayColumns.d.ts +0 -9
- package/dist/types/hooks/useMRT_Effects.d.ts +0 -2
- package/dist/types/hooks/useMRT_TableInstance.d.ts +0 -2
- package/dist/types/hooks/useMRT_TableOptions.d.ts +0 -22
- package/dist/types/icons.d.ts +0 -36
- package/dist/types/index.d.ts +0 -18
- package/dist/types/inputs/MRT_EditCellTextField.d.ts +0 -8
- package/dist/types/inputs/MRT_FilterCheckbox.d.ts +0 -8
- package/dist/types/inputs/MRT_FilterRangeFields.d.ts +0 -8
- package/dist/types/inputs/MRT_FilterRangeSlider.d.ts +0 -8
- package/dist/types/inputs/MRT_FilterTextField.d.ts +0 -9
- package/dist/types/inputs/MRT_GlobalFilterTextField.d.ts +0 -7
- package/dist/types/inputs/MRT_SelectCheckbox.d.ts +0 -9
- package/dist/types/inputs/index.d.ts +0 -7
- package/dist/types/locales/am.d.ts +0 -2
- package/dist/types/locales/ar.d.ts +0 -2
- package/dist/types/locales/az.d.ts +0 -2
- package/dist/types/locales/bg.d.ts +0 -2
- package/dist/types/locales/cs.d.ts +0 -2
- package/dist/types/locales/da.d.ts +0 -2
- package/dist/types/locales/de.d.ts +0 -2
- package/dist/types/locales/en.d.ts +0 -2
- package/dist/types/locales/es.d.ts +0 -2
- package/dist/types/locales/et.d.ts +0 -2
- package/dist/types/locales/fa.d.ts +0 -2
- package/dist/types/locales/fi.d.ts +0 -2
- package/dist/types/locales/fr.d.ts +0 -2
- package/dist/types/locales/hu.d.ts +0 -2
- package/dist/types/locales/hy.d.ts +0 -2
- package/dist/types/locales/id.d.ts +0 -2
- package/dist/types/locales/it.d.ts +0 -2
- package/dist/types/locales/ja.d.ts +0 -2
- package/dist/types/locales/ko.d.ts +0 -2
- package/dist/types/locales/nl.d.ts +0 -2
- package/dist/types/locales/no.d.ts +0 -2
- package/dist/types/locales/np.d.ts +0 -2
- package/dist/types/locales/pl.d.ts +0 -2
- package/dist/types/locales/pt-BR.d.ts +0 -2
- package/dist/types/locales/pt.d.ts +0 -2
- package/dist/types/locales/ro.d.ts +0 -2
- package/dist/types/locales/ru.d.ts +0 -2
- package/dist/types/locales/sk.d.ts +0 -2
- package/dist/types/locales/sr-Cyrl-RS.d.ts +0 -2
- package/dist/types/locales/sr-Latn-RS.d.ts +0 -2
- package/dist/types/locales/sv.d.ts +0 -2
- package/dist/types/locales/tr.d.ts +0 -2
- package/dist/types/locales/uk.d.ts +0 -2
- package/dist/types/locales/vi.d.ts +0 -2
- package/dist/types/locales/zh-Hans.d.ts +0 -2
- package/dist/types/locales/zh-Hant.d.ts +0 -2
- package/dist/types/menus/MRT_ColumnActionMenu.d.ts +0 -20
- package/dist/types/menus/MRT_FilterOptionMenu.d.ts +0 -13
- package/dist/types/menus/MRT_RowActionMenu.d.ts +0 -12
- package/dist/types/menus/MRT_ShowHideColumnsMenu.d.ts +0 -10
- package/dist/types/menus/MRT_ShowHideColumnsMenuItems.d.ts +0 -12
- package/dist/types/menus/index.d.ts +0 -5
- package/dist/types/modals/MRT_EditRowModal.d.ts +0 -8
- package/dist/types/modals/index.d.ts +0 -1
- package/dist/types/sortingFns.d.ts +0 -12
- package/dist/types/style.utils.d.ts +0 -32
- package/dist/types/table/MRT_Table.d.ts +0 -7
- package/dist/types/table/MRT_TableContainer.d.ts +0 -7
- package/dist/types/table/MRT_TableLoadingOverlay.d.ts +0 -7
- package/dist/types/table/MRT_TablePaper.d.ts +0 -7
- package/dist/types/table/index.d.ts +0 -5
- package/dist/types/toolbar/MRT_BottomToolbar.d.ts +0 -7
- package/dist/types/toolbar/MRT_LinearProgressBar.d.ts +0 -8
- package/dist/types/toolbar/MRT_TablePagination.d.ts +0 -15
- package/dist/types/toolbar/MRT_ToolbarAlertBanner.d.ts +0 -8
- package/dist/types/toolbar/MRT_ToolbarDropZone.d.ts +0 -7
- package/dist/types/toolbar/MRT_ToolbarInternalButtons.d.ts +0 -7
- package/dist/types/toolbar/MRT_TopToolbar.d.ts +0 -6
- package/dist/types/toolbar/index.d.ts +0 -7
- package/dist/types/types.d.ts +0 -854
- package/dist/types/useMaterialReactTable.d.ts +0 -2
@@ -1,9 +0,0 @@
|
|
1
|
-
import { type BoxProps } from '@mui/material/Box';
|
2
|
-
import { type MRT_Row, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends BoxProps {
|
4
|
-
row: MRT_Row<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
variant?: 'icon' | 'text';
|
7
|
-
}
|
8
|
-
export declare const MRT_EditActionButtons: <TData extends MRT_RowData>({ row, table, variant, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
9
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
2
|
-
import { type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
4
|
-
table: MRT_TableInstance<TData>;
|
5
|
-
}
|
6
|
-
export declare const MRT_ExpandAllButton: <TData extends MRT_RowData>({ table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
7
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
2
|
-
import { type MRT_Row, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
4
|
-
row: MRT_Row<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_ExpandButton: <TData extends MRT_RowData>({ row, table, }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { type DragEventHandler } from 'react';
|
2
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
3
|
-
import { type MRT_RowData, type MRT_TableInstance } from '../types';
|
4
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
5
|
-
iconButtonProps?: IconButtonProps;
|
6
|
-
location?: 'column' | 'row';
|
7
|
-
onDragEnd: DragEventHandler<HTMLButtonElement>;
|
8
|
-
onDragStart: DragEventHandler<HTMLButtonElement>;
|
9
|
-
table: MRT_TableInstance<TData>;
|
10
|
-
}
|
11
|
-
export declare const MRT_GrabHandleButton: <TData extends MRT_RowData>({ iconButtonProps, location, onDragEnd, onDragStart, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
12
|
-
export {};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { type RowPinningPosition } from '@tanstack/react-table';
|
2
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
3
|
-
import { type MRT_Row, type MRT_RowData, type MRT_TableInstance } from '../types';
|
4
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
5
|
-
pinningPosition: RowPinningPosition;
|
6
|
-
row: MRT_Row<TData>;
|
7
|
-
table: MRT_TableInstance<TData>;
|
8
|
-
}
|
9
|
-
export declare const MRT_RowPinButton: <TData extends MRT_RowData>({ pinningPosition, row, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
10
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
2
|
-
import { type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
4
|
-
table: MRT_TableInstance<TData>;
|
5
|
-
}
|
6
|
-
export declare const MRT_ShowHideColumnsButton: <TData extends MRT_RowData>({ table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
2
|
-
import { type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
4
|
-
table: MRT_TableInstance<TData>;
|
5
|
-
}
|
6
|
-
export declare const MRT_ToggleDensePaddingButton: <TData extends MRT_RowData>({ table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
2
|
-
import { type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
4
|
-
table: MRT_TableInstance<TData>;
|
5
|
-
}
|
6
|
-
export declare const MRT_ToggleFiltersButton: <TData extends MRT_RowData>({ table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
2
|
-
import { type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
4
|
-
table: MRT_TableInstance<TData>;
|
5
|
-
}
|
6
|
-
export declare const MRT_ToggleFullScreenButton: <TData extends MRT_RowData>({ table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
7
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
2
|
-
import { type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
4
|
-
table: MRT_TableInstance<TData>;
|
5
|
-
}
|
6
|
-
export declare const MRT_ToggleGlobalFilterButton: <TData extends MRT_RowData>({ table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
7
|
-
export {};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
2
|
-
import { type MRT_Cell, type MRT_Row, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
4
|
-
cell: MRT_Cell<TData>;
|
5
|
-
row: MRT_Row<TData>;
|
6
|
-
table: MRT_TableInstance<TData>;
|
7
|
-
}
|
8
|
-
export declare const MRT_ToggleRowActionMenuButton: <TData extends MRT_RowData>({ cell, row, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
9
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
export * from './MRT_ColumnPinningButtons';
|
2
|
-
export * from './MRT_CopyButton';
|
3
|
-
export * from './MRT_EditActionButtons';
|
4
|
-
export * from './MRT_ExpandAllButton';
|
5
|
-
export * from './MRT_ExpandButton';
|
6
|
-
export * from './MRT_GrabHandleButton';
|
7
|
-
export * from './MRT_RowPinButton';
|
8
|
-
export * from './MRT_ShowHideColumnsButton';
|
9
|
-
export * from './MRT_ToggleDensePaddingButton';
|
10
|
-
export * from './MRT_ToggleFiltersButton';
|
11
|
-
export * from './MRT_ToggleFullScreenButton';
|
12
|
-
export * from './MRT_ToggleGlobalFilterButton';
|
13
|
-
export * from './MRT_ToggleRowActionMenuButton';
|
@@ -1,127 +0,0 @@
|
|
1
|
-
import { type ReactNode } from 'react';
|
2
|
-
import { type Renderable, type Row } from '@tanstack/react-table';
|
3
|
-
import { type Range } from '@tanstack/react-virtual';
|
4
|
-
import { type MRT_AggregationFns } from './aggregationFns';
|
5
|
-
import { type MRT_FilterFns } from './filterFns';
|
6
|
-
import { type MRT_SortingFns } from './sortingFns';
|
7
|
-
import { type MRT_Column, type MRT_ColumnDef, type MRT_ColumnHelper, type MRT_ColumnOrderState, type MRT_DefinedColumnDef, type MRT_DisplayColumnIds, type MRT_FilterOption, type MRT_GroupingState, type MRT_Row, type MRT_RowData, type MRT_TableInstance, type MRT_TableOptions } from './types';
|
8
|
-
export declare const getColumnId: <TData extends MRT_RowData>(columnDef: MRT_ColumnDef<TData>) => string;
|
9
|
-
export declare const getAllLeafColumnDefs: <TData extends MRT_RowData>(columns: MRT_ColumnDef<TData>[]) => MRT_ColumnDef<TData>[];
|
10
|
-
export declare const prepareColumns: <TData extends MRT_RowData>({ aggregationFns, columnDefs, columnFilterFns, defaultDisplayColumn, filterFns, sortingFns, }: {
|
11
|
-
aggregationFns: {
|
12
|
-
sum: import("@tanstack/react-table").AggregationFn<any>;
|
13
|
-
min: import("@tanstack/react-table").AggregationFn<any>;
|
14
|
-
max: import("@tanstack/react-table").AggregationFn<any>;
|
15
|
-
extent: import("@tanstack/react-table").AggregationFn<any>;
|
16
|
-
mean: import("@tanstack/react-table").AggregationFn<any>;
|
17
|
-
median: import("@tanstack/react-table").AggregationFn<any>;
|
18
|
-
unique: import("@tanstack/react-table").AggregationFn<any>;
|
19
|
-
uniqueCount: import("@tanstack/react-table").AggregationFn<any>;
|
20
|
-
count: import("@tanstack/react-table").AggregationFn<any>;
|
21
|
-
} & Record<string, import("@tanstack/react-table").AggregationFn<any>>;
|
22
|
-
columnDefs: MRT_ColumnDef<TData>[];
|
23
|
-
columnFilterFns: {
|
24
|
-
[key: string]: MRT_FilterOption;
|
25
|
-
};
|
26
|
-
defaultDisplayColumn: Partial<MRT_ColumnDef<TData>>;
|
27
|
-
filterFns: {
|
28
|
-
between: {
|
29
|
-
<TData_1 extends MRT_RowData>(row: Row<TData_1>, id: string, filterValues: [string | number, string | number]): boolean;
|
30
|
-
autoRemove(val: any): boolean;
|
31
|
-
};
|
32
|
-
betweenInclusive: {
|
33
|
-
<TData_2 extends MRT_RowData>(row: Row<TData_2>, id: string, filterValues: [string | number, string | number]): boolean;
|
34
|
-
autoRemove(val: any): boolean;
|
35
|
-
};
|
36
|
-
contains: {
|
37
|
-
<TData_3 extends MRT_RowData>(row: Row<TData_3>, id: string, filterValue: string | number): boolean;
|
38
|
-
autoRemove(val: any): boolean;
|
39
|
-
};
|
40
|
-
empty: {
|
41
|
-
<TData_4 extends MRT_RowData>(row: Row<TData_4>, id: string, _filterValue: string | number): boolean;
|
42
|
-
autoRemove(val: any): boolean;
|
43
|
-
};
|
44
|
-
endsWith: {
|
45
|
-
<TData_5 extends MRT_RowData>(row: Row<TData_5>, id: string, filterValue: string | number): boolean;
|
46
|
-
autoRemove(val: any): boolean;
|
47
|
-
};
|
48
|
-
equals: {
|
49
|
-
<TData_6 extends MRT_RowData>(row: Row<TData_6>, id: string, filterValue: string | number): boolean;
|
50
|
-
autoRemove(val: any): boolean;
|
51
|
-
};
|
52
|
-
fuzzy: {
|
53
|
-
<TData_7 extends MRT_RowData>(row: Row<TData_7>, columnId: string, filterValue: string | number, addMeta: (item: import("@tanstack/match-sorter-utils").RankingInfo) => void): boolean;
|
54
|
-
autoRemove(val: any): boolean;
|
55
|
-
};
|
56
|
-
greaterThan: {
|
57
|
-
<TData_8 extends MRT_RowData>(row: Row<TData_8>, id: string, filterValue: string | number): boolean;
|
58
|
-
autoRemove(val: any): boolean;
|
59
|
-
};
|
60
|
-
greaterThanOrEqualTo: {
|
61
|
-
<TData_9 extends MRT_RowData>(row: Row<TData_9>, id: string, filterValue: string | number): boolean;
|
62
|
-
autoRemove(val: any): boolean;
|
63
|
-
};
|
64
|
-
lessThan: {
|
65
|
-
<TData_10 extends MRT_RowData>(row: Row<TData_10>, id: string, filterValue: string | number): boolean;
|
66
|
-
autoRemove(val: any): boolean;
|
67
|
-
};
|
68
|
-
lessThanOrEqualTo: {
|
69
|
-
<TData_11 extends MRT_RowData>(row: Row<TData_11>, id: string, filterValue: string | number): boolean;
|
70
|
-
autoRemove(val: any): boolean;
|
71
|
-
};
|
72
|
-
notEmpty: {
|
73
|
-
<TData_12 extends MRT_RowData>(row: Row<TData_12>, id: string, _filterValue: string | number): boolean;
|
74
|
-
autoRemove(val: any): boolean;
|
75
|
-
};
|
76
|
-
notEquals: {
|
77
|
-
<TData_13 extends MRT_RowData>(row: Row<TData_13>, id: string, filterValue: string | number): boolean;
|
78
|
-
autoRemove(val: any): boolean;
|
79
|
-
};
|
80
|
-
startsWith: {
|
81
|
-
<TData_14 extends MRT_RowData>(row: Row<TData_14>, id: string, filterValue: string | number): boolean;
|
82
|
-
autoRemove(val: any): boolean;
|
83
|
-
};
|
84
|
-
includesString: import("@tanstack/react-table").FilterFn<any>;
|
85
|
-
includesStringSensitive: import("@tanstack/react-table").FilterFn<any>;
|
86
|
-
equalsString: import("@tanstack/react-table").FilterFn<any>;
|
87
|
-
arrIncludes: import("@tanstack/react-table").FilterFn<any>;
|
88
|
-
arrIncludesAll: import("@tanstack/react-table").FilterFn<any>;
|
89
|
-
arrIncludesSome: import("@tanstack/react-table").FilterFn<any>;
|
90
|
-
weakEquals: import("@tanstack/react-table").FilterFn<any>;
|
91
|
-
inNumberRange: import("@tanstack/react-table").FilterFn<any>;
|
92
|
-
} & Record<string, import("@tanstack/react-table").FilterFn<any>>;
|
93
|
-
sortingFns: {
|
94
|
-
fuzzy: <TData_15 extends MRT_RowData>(rowA: Row<TData_15>, rowB: Row<TData_15>, columnId: string) => number;
|
95
|
-
alphanumeric: import("@tanstack/react-table").SortingFn<any>;
|
96
|
-
alphanumericCaseSensitive: import("@tanstack/react-table").SortingFn<any>;
|
97
|
-
text: import("@tanstack/react-table").SortingFn<any>;
|
98
|
-
textCaseSensitive: import("@tanstack/react-table").SortingFn<any>;
|
99
|
-
datetime: import("@tanstack/react-table").SortingFn<any>;
|
100
|
-
basic: import("@tanstack/react-table").SortingFn<any>;
|
101
|
-
} & Record<string, import("@tanstack/react-table").SortingFn<any>>;
|
102
|
-
}) => MRT_DefinedColumnDef<TData>[];
|
103
|
-
export declare const reorderColumn: <TData extends MRT_RowData>(draggedColumn: MRT_Column<TData>, targetColumn: MRT_Column<TData>, columnOrder: MRT_ColumnOrderState) => MRT_ColumnOrderState;
|
104
|
-
export declare const showExpandColumn: <TData extends MRT_RowData>(props: MRT_TableOptions<TData>, grouping?: MRT_GroupingState) => boolean;
|
105
|
-
export declare const getLeadingDisplayColumnIds: <TData extends MRT_RowData>(props: MRT_TableOptions<TData>) => MRT_DisplayColumnIds[];
|
106
|
-
export declare const getTrailingDisplayColumnIds: <TData extends MRT_RowData>(props: MRT_TableOptions<TData>) => MRT_DisplayColumnIds[];
|
107
|
-
export declare const getDefaultColumnOrderIds: <TData extends MRT_RowData>(props: MRT_TableOptions<TData>) => string[];
|
108
|
-
export declare const getDefaultColumnFilterFn: <TData extends MRT_RowData>(columnDef: MRT_ColumnDef<TData>) => MRT_FilterOption;
|
109
|
-
export declare const getIsFirstColumn: <TData extends MRT_RowData>(column: MRT_Column<TData>, table: MRT_TableInstance<TData>) => boolean;
|
110
|
-
export declare const getIsLastColumn: <TData extends MRT_RowData>(column: MRT_Column<TData>, table: MRT_TableInstance<TData>) => boolean;
|
111
|
-
export declare const getIsLastLeftPinnedColumn: <TData extends MRT_RowData>(table: MRT_TableInstance<TData>, column: MRT_Column<TData>) => boolean;
|
112
|
-
export declare const getIsFirstRightPinnedColumn: <TData extends MRT_RowData>(column: MRT_Column<TData>) => boolean;
|
113
|
-
export declare const getTotalRight: <TData extends MRT_RowData>(table: MRT_TableInstance<TData>, column: MRT_Column<TData>) => number;
|
114
|
-
export declare const getCanRankRows: <TData extends MRT_RowData>(table: MRT_TableInstance<TData>) => boolean | undefined;
|
115
|
-
export declare const parseFromValuesOrFunc: <T, U>(fn: T | ((arg: U) => T) | undefined, arg: U) => T | undefined;
|
116
|
-
export declare const flexRender: (Comp: Renderable<any>, props: any) => JSX.Element | ReactNode;
|
117
|
-
export declare const createRow: <TData extends MRT_RowData>(table: MRT_TableInstance<TData>, originalRow?: TData | undefined) => MRT_Row<TData>;
|
118
|
-
export declare const extraIndexRangeExtractor: (range: Range, draggingIndex: number) => number[];
|
119
|
-
export declare function createMRTColumnHelper<TData extends MRT_RowData>(): MRT_ColumnHelper<TData>;
|
120
|
-
export declare const getValueAndLabel: (option: {
|
121
|
-
label?: string;
|
122
|
-
text?: string;
|
123
|
-
value: string;
|
124
|
-
} | string) => {
|
125
|
-
label: string;
|
126
|
-
value: string;
|
127
|
-
};
|
@@ -1,69 +0,0 @@
|
|
1
|
-
import { type RankingInfo } from '@tanstack/match-sorter-utils';
|
2
|
-
import { type Row } from '@tanstack/react-table';
|
3
|
-
import { type MRT_RowData } from './types';
|
4
|
-
export declare const MRT_FilterFns: {
|
5
|
-
between: {
|
6
|
-
<TData extends MRT_RowData>(row: Row<TData>, id: string, filterValues: [number | string, number | string]): boolean;
|
7
|
-
autoRemove(val: any): boolean;
|
8
|
-
};
|
9
|
-
betweenInclusive: {
|
10
|
-
<TData_1 extends MRT_RowData>(row: Row<TData_1>, id: string, filterValues: [number | string, number | string]): boolean;
|
11
|
-
autoRemove(val: any): boolean;
|
12
|
-
};
|
13
|
-
contains: {
|
14
|
-
<TData_2 extends MRT_RowData>(row: Row<TData_2>, id: string, filterValue: number | string): boolean;
|
15
|
-
autoRemove(val: any): boolean;
|
16
|
-
};
|
17
|
-
empty: {
|
18
|
-
<TData_3 extends MRT_RowData>(row: Row<TData_3>, id: string, _filterValue: number | string): boolean;
|
19
|
-
autoRemove(val: any): boolean;
|
20
|
-
};
|
21
|
-
endsWith: {
|
22
|
-
<TData_4 extends MRT_RowData>(row: Row<TData_4>, id: string, filterValue: number | string): boolean;
|
23
|
-
autoRemove(val: any): boolean;
|
24
|
-
};
|
25
|
-
equals: {
|
26
|
-
<TData_5 extends MRT_RowData>(row: Row<TData_5>, id: string, filterValue: number | string): boolean;
|
27
|
-
autoRemove(val: any): boolean;
|
28
|
-
};
|
29
|
-
fuzzy: {
|
30
|
-
<TData_6 extends MRT_RowData>(row: Row<TData_6>, columnId: string, filterValue: number | string, addMeta: (item: RankingInfo) => void): boolean;
|
31
|
-
autoRemove(val: any): boolean;
|
32
|
-
};
|
33
|
-
greaterThan: {
|
34
|
-
<TData_7 extends MRT_RowData>(row: Row<TData_7>, id: string, filterValue: number | string): boolean;
|
35
|
-
autoRemove(val: any): boolean;
|
36
|
-
};
|
37
|
-
greaterThanOrEqualTo: {
|
38
|
-
<TData_8 extends MRT_RowData>(row: Row<TData_8>, id: string, filterValue: number | string): boolean;
|
39
|
-
autoRemove(val: any): boolean;
|
40
|
-
};
|
41
|
-
lessThan: {
|
42
|
-
<TData_9 extends MRT_RowData>(row: Row<TData_9>, id: string, filterValue: number | string): boolean;
|
43
|
-
autoRemove(val: any): boolean;
|
44
|
-
};
|
45
|
-
lessThanOrEqualTo: {
|
46
|
-
<TData_10 extends MRT_RowData>(row: Row<TData_10>, id: string, filterValue: number | string): boolean;
|
47
|
-
autoRemove(val: any): boolean;
|
48
|
-
};
|
49
|
-
notEmpty: {
|
50
|
-
<TData_11 extends MRT_RowData>(row: Row<TData_11>, id: string, _filterValue: number | string): boolean;
|
51
|
-
autoRemove(val: any): boolean;
|
52
|
-
};
|
53
|
-
notEquals: {
|
54
|
-
<TData_12 extends MRT_RowData>(row: Row<TData_12>, id: string, filterValue: number | string): boolean;
|
55
|
-
autoRemove(val: any): boolean;
|
56
|
-
};
|
57
|
-
startsWith: {
|
58
|
-
<TData_13 extends MRT_RowData>(row: Row<TData_13>, id: string, filterValue: number | string): boolean;
|
59
|
-
autoRemove(val: any): boolean;
|
60
|
-
};
|
61
|
-
includesString: import("@tanstack/react-table").FilterFn<any>;
|
62
|
-
includesStringSensitive: import("@tanstack/react-table").FilterFn<any>;
|
63
|
-
equalsString: import("@tanstack/react-table").FilterFn<any>;
|
64
|
-
arrIncludes: import("@tanstack/react-table").FilterFn<any>;
|
65
|
-
arrIncludesAll: import("@tanstack/react-table").FilterFn<any>;
|
66
|
-
arrIncludesSome: import("@tanstack/react-table").FilterFn<any>;
|
67
|
-
weakEquals: import("@tanstack/react-table").FilterFn<any>;
|
68
|
-
inNumberRange: import("@tanstack/react-table").FilterFn<any>;
|
69
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { type VirtualItem } from '@tanstack/react-virtual';
|
2
|
-
import { type TableFooterProps } from '@mui/material/TableFooter';
|
3
|
-
import { type MRT_RowData, type MRT_TableInstance } from '../types';
|
4
|
-
interface Props<TData extends MRT_RowData> extends TableFooterProps {
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
virtualColumns?: VirtualItem[];
|
7
|
-
virtualPaddingLeft?: number;
|
8
|
-
virtualPaddingRight?: number;
|
9
|
-
}
|
10
|
-
export declare const MRT_TableFooter: <TData extends MRT_RowData>({ table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
11
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type TableCellProps } from '@mui/material/TableCell';
|
2
|
-
import { type MRT_Header, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends TableCellProps {
|
4
|
-
footer: MRT_Header<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_TableFooterCell: <TData extends MRT_RowData>({ footer, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { type VirtualItem } from '@tanstack/react-virtual';
|
2
|
-
import { type TableRowProps } from '@mui/material/TableRow';
|
3
|
-
import { type MRT_HeaderGroup, type MRT_RowData, type MRT_TableInstance } from '../types';
|
4
|
-
interface Props<TData extends MRT_RowData> extends TableRowProps {
|
5
|
-
footerGroup: MRT_HeaderGroup<TData>;
|
6
|
-
table: MRT_TableInstance<TData>;
|
7
|
-
virtualColumns?: VirtualItem[];
|
8
|
-
virtualPaddingLeft?: number;
|
9
|
-
virtualPaddingRight?: number;
|
10
|
-
}
|
11
|
-
export declare const MRT_TableFooterRow: <TData extends MRT_RowData>({ footerGroup, table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element | null;
|
12
|
-
export {};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { type VirtualItem } from '@tanstack/react-virtual';
|
2
|
-
import { type TableHeadProps } from '@mui/material/TableHead';
|
3
|
-
import { type MRT_RowData, type MRT_TableInstance } from '../types';
|
4
|
-
interface Props<TData extends MRT_RowData> extends TableHeadProps {
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
virtualColumns?: VirtualItem[];
|
7
|
-
virtualPaddingLeft?: number;
|
8
|
-
virtualPaddingRight?: number;
|
9
|
-
}
|
10
|
-
export declare const MRT_TableHead: <TData extends MRT_RowData>({ table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
11
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type TableCellProps } from '@mui/material/TableCell';
|
2
|
-
import { type MRT_Header, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends TableCellProps {
|
4
|
-
header: MRT_Header<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_TableHeadCell: <TData extends MRT_RowData>({ header, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
2
|
-
import { type MRT_Header, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
4
|
-
header: MRT_Header<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_TableHeadCellColumnActionsButton: <TData extends MRT_RowData>({ header, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type CollapseProps } from '@mui/material/Collapse';
|
2
|
-
import { type MRT_Header, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends CollapseProps {
|
4
|
-
header: MRT_Header<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_TableHeadCellFilterContainer: <TData extends MRT_RowData>({ header, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
2
|
-
import { type MRT_Header, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
4
|
-
header: MRT_Header<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_TableHeadCellFilterLabel: <TData extends MRT_RowData = {}>({ header, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { type RefObject } from 'react';
|
2
|
-
import { type IconButtonProps } from '@mui/material/IconButton';
|
3
|
-
import { type MRT_Column, type MRT_RowData, type MRT_TableInstance } from '../types';
|
4
|
-
interface Props<TData extends MRT_RowData> extends IconButtonProps {
|
5
|
-
column: MRT_Column<TData>;
|
6
|
-
table: MRT_TableInstance<TData>;
|
7
|
-
tableHeadCellRef: RefObject<HTMLTableCellElement>;
|
8
|
-
}
|
9
|
-
export declare const MRT_TableHeadCellGrabHandle: <TData extends MRT_RowData>({ column, table, tableHeadCellRef, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
10
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type DividerProps } from '@mui/material/Divider';
|
2
|
-
import { type MRT_Header, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends DividerProps {
|
4
|
-
header: MRT_Header<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_TableHeadCellResizeHandle: <TData extends MRT_RowData>({ header, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type TableSortLabelProps } from '@mui/material/TableSortLabel';
|
2
|
-
import { type MRT_Header, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends TableSortLabelProps {
|
4
|
-
header: MRT_Header<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_TableHeadCellSortLabel: <TData extends MRT_RowData>({ header, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { type VirtualItem } from '@tanstack/react-virtual';
|
2
|
-
import { type TableRowProps } from '@mui/material/TableRow';
|
3
|
-
import { type MRT_HeaderGroup, type MRT_RowData, type MRT_TableInstance } from '../types';
|
4
|
-
interface Props<TData extends MRT_RowData> extends TableRowProps {
|
5
|
-
headerGroup: MRT_HeaderGroup<TData>;
|
6
|
-
table: MRT_TableInstance<TData>;
|
7
|
-
virtualColumns?: VirtualItem[];
|
8
|
-
virtualPaddingLeft?: number;
|
9
|
-
virtualPaddingRight?: number;
|
10
|
-
}
|
11
|
-
export declare const MRT_TableHeadRow: <TData extends MRT_RowData>({ headerGroup, table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
12
|
-
export {};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export * from './MRT_TableHead';
|
2
|
-
export * from './MRT_TableHeadCell';
|
3
|
-
export * from './MRT_TableHeadCellColumnActionsButton';
|
4
|
-
export * from './MRT_TableHeadCellFilterContainer';
|
5
|
-
export * from './MRT_TableHeadCellFilterLabel';
|
6
|
-
export * from './MRT_TableHeadCellGrabHandle';
|
7
|
-
export * from './MRT_TableHeadCellResizeHandle';
|
8
|
-
export * from './MRT_TableHeadCellSortLabel';
|
9
|
-
export * from './MRT_TableHeadRow';
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { type MRT_ColumnDef, type MRT_ColumnOrderState, type MRT_DefinedTableOptions, type MRT_GroupingState, type MRT_Row, type MRT_RowData } from '../types';
|
2
|
-
interface Params<TData extends MRT_RowData> {
|
3
|
-
columnOrder: MRT_ColumnOrderState;
|
4
|
-
creatingRow: MRT_Row<TData> | null;
|
5
|
-
grouping: MRT_GroupingState;
|
6
|
-
tableOptions: MRT_DefinedTableOptions<TData>;
|
7
|
-
}
|
8
|
-
export declare const useMRT_DisplayColumns: <TData extends MRT_RowData>(params: Params<TData>) => MRT_ColumnDef<TData>[];
|
9
|
-
export {};
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { type MRT_DefinedTableOptions, type MRT_RowData, type MRT_TableOptions } from '../types';
|
2
|
-
export declare const MRT_DefaultColumn: {
|
3
|
-
readonly filterVariant: "text";
|
4
|
-
readonly maxSize: 1000;
|
5
|
-
readonly minSize: 40;
|
6
|
-
readonly size: 180;
|
7
|
-
};
|
8
|
-
export declare const MRT_DefaultDisplayColumn: {
|
9
|
-
readonly columnDefType: "display";
|
10
|
-
readonly enableClickToCopy: false;
|
11
|
-
readonly enableColumnActions: false;
|
12
|
-
readonly enableColumnDragging: false;
|
13
|
-
readonly enableColumnFilter: false;
|
14
|
-
readonly enableColumnOrdering: false;
|
15
|
-
readonly enableEditing: false;
|
16
|
-
readonly enableGlobalFilter: false;
|
17
|
-
readonly enableGrouping: false;
|
18
|
-
readonly enableHiding: false;
|
19
|
-
readonly enableResizing: false;
|
20
|
-
readonly enableSorting: false;
|
21
|
-
};
|
22
|
-
export declare const useMRT_TableOptions: <TData extends MRT_RowData>(tableOptions: MRT_TableOptions<TData>) => MRT_DefinedTableOptions<TData>;
|
package/dist/types/icons.d.ts
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
export interface MRT_Icons {
|
2
|
-
ArrowDownwardIcon: any;
|
3
|
-
ArrowRightIcon: any;
|
4
|
-
CancelIcon: any;
|
5
|
-
ChevronLeftIcon: any;
|
6
|
-
ChevronRightIcon: any;
|
7
|
-
ClearAllIcon: any;
|
8
|
-
CloseIcon: any;
|
9
|
-
DensityLargeIcon: any;
|
10
|
-
DensityMediumIcon: any;
|
11
|
-
DensitySmallIcon: any;
|
12
|
-
DragHandleIcon: any;
|
13
|
-
DynamicFeedIcon: any;
|
14
|
-
EditIcon: any;
|
15
|
-
ExpandMoreIcon: any;
|
16
|
-
FilterAltIcon: any;
|
17
|
-
FilterListIcon: any;
|
18
|
-
FilterListOffIcon: any;
|
19
|
-
FirstPageIcon?: any;
|
20
|
-
FullscreenExitIcon: any;
|
21
|
-
FullscreenIcon: any;
|
22
|
-
KeyboardDoubleArrowDownIcon: any;
|
23
|
-
LastPageIcon?: any;
|
24
|
-
MoreHorizIcon: any;
|
25
|
-
MoreVertIcon: any;
|
26
|
-
PushPinIcon: any;
|
27
|
-
RestartAltIcon: any;
|
28
|
-
SaveIcon: any;
|
29
|
-
SearchIcon: any;
|
30
|
-
SearchOffIcon: any;
|
31
|
-
SortIcon: any;
|
32
|
-
SyncAltIcon?: any;
|
33
|
-
ViewColumnIcon: any;
|
34
|
-
VisibilityOffIcon: any;
|
35
|
-
}
|
36
|
-
export declare const MRT_Default_Icons: MRT_Icons;
|
package/dist/types/index.d.ts
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
export * from './MaterialReactTable';
|
2
|
-
export * from './aggregationFns';
|
3
|
-
export * from './body';
|
4
|
-
export * from './buttons';
|
5
|
-
export * from './column.utils';
|
6
|
-
export * from './filterFns';
|
7
|
-
export * from './footer';
|
8
|
-
export * from './head';
|
9
|
-
export * from './hooks';
|
10
|
-
export * from './inputs';
|
11
|
-
export * from './menus';
|
12
|
-
export * from './modals';
|
13
|
-
export * from './sortingFns';
|
14
|
-
export * from './style.utils';
|
15
|
-
export * from './table';
|
16
|
-
export * from './toolbar';
|
17
|
-
export * from './types';
|
18
|
-
export * from './useMaterialReactTable';
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type TextFieldProps } from '@mui/material/TextField';
|
2
|
-
import { type MRT_Cell, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends TextFieldProps<'standard'> {
|
4
|
-
cell: MRT_Cell<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_EditCellTextField: <TData extends MRT_RowData>({ cell, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type CheckboxProps } from '@mui/material/Checkbox';
|
2
|
-
import { type MRT_Column, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends CheckboxProps {
|
4
|
-
column: MRT_Column<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_FilterCheckbox: <TData extends MRT_RowData>({ column, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type BoxProps } from '@mui/material/Box';
|
2
|
-
import { type MRT_Header, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends BoxProps {
|
4
|
-
header: MRT_Header<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_FilterRangeFields: <TData extends MRT_RowData>({ header, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { type SliderProps } from '@mui/material/Slider';
|
2
|
-
import { type MRT_Header, type MRT_RowData, type MRT_TableInstance } from '../types';
|
3
|
-
interface Props<TData extends MRT_RowData> extends SliderProps {
|
4
|
-
header: MRT_Header<TData>;
|
5
|
-
table: MRT_TableInstance<TData>;
|
6
|
-
}
|
7
|
-
export declare const MRT_FilterRangeSlider: <TData extends MRT_RowData>({ header, table, ...rest }: Props<TData>) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export {};
|