material-react-table 0.31.0 → 0.32.0
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/README.md +3 -4
- package/dist/{MaterialReactTable.d.ts → cjs/MaterialReactTable.d.ts} +494 -486
- package/dist/{body → cjs/body}/MRT_TableBody.d.ts +8 -8
- package/dist/{body → cjs/body}/MRT_TableBodyCell.d.ts +11 -11
- package/dist/{body → cjs/body}/MRT_TableBodyRow.d.ts +9 -9
- package/dist/{body → cjs/body}/MRT_TableBodyRowGrabHandle.d.ts +9 -9
- package/dist/{body → cjs/body}/MRT_TableDetailPanel.d.ts +8 -8
- package/dist/{buttons → cjs/buttons}/MRT_ColumnPinningButtons.d.ts +8 -8
- package/dist/{buttons → cjs/buttons}/MRT_CopyButton.d.ts +9 -9
- package/dist/{buttons → cjs/buttons}/MRT_EditActionButtons.d.ts +8 -8
- package/dist/{buttons → cjs/buttons}/MRT_ExpandAllButton.d.ts +7 -7
- package/dist/{buttons → cjs/buttons}/MRT_ExpandButton.d.ts +8 -8
- package/dist/{buttons → cjs/buttons}/MRT_FullScreenToggleButton.d.ts +8 -8
- package/dist/{buttons → cjs/buttons}/MRT_GrabHandleButton.d.ts +11 -11
- package/dist/{buttons → cjs/buttons}/MRT_ShowHideColumnsButton.d.ts +8 -8
- package/dist/{buttons → cjs/buttons}/MRT_ToggleDensePaddingButton.d.ts +8 -8
- package/dist/{buttons → cjs/buttons}/MRT_ToggleFiltersButton.d.ts +8 -8
- package/dist/{buttons → cjs/buttons}/MRT_ToggleGlobalFilterButton.d.ts +8 -8
- package/dist/{buttons → cjs/buttons}/MRT_ToggleRowActionMenuButton.d.ts +8 -8
- package/dist/{column.utils.d.ts → cjs/column.utils.d.ts} +12 -11
- package/dist/{filtersFns.d.ts → cjs/filtersFns.d.ts} +68 -68
- package/dist/{footer → cjs/footer}/MRT_TableFooter.d.ts +7 -7
- package/dist/{footer → cjs/footer}/MRT_TableFooterCell.d.ts +8 -8
- package/dist/{footer → cjs/footer}/MRT_TableFooterRow.d.ts +8 -8
- package/dist/{head → cjs/head}/MRT_TableHead.d.ts +7 -7
- package/dist/{head → cjs/head}/MRT_TableHeadCell.d.ts +8 -8
- package/dist/{head → cjs/head}/MRT_TableHeadCellColumnActionsButton.d.ts +8 -8
- package/dist/{head → cjs/head}/MRT_TableHeadCellFilterContainer.d.ts +8 -8
- package/dist/{head → cjs/head}/MRT_TableHeadCellFilterLabel.d.ts +8 -8
- package/dist/{head → cjs/head}/MRT_TableHeadCellGrabHandle.d.ts +9 -9
- package/dist/{head → cjs/head}/MRT_TableHeadCellResizeHandle.d.ts +8 -8
- package/dist/{head → cjs/head}/MRT_TableHeadCellSortLabel.d.ts +8 -8
- package/dist/{head → cjs/head}/MRT_TableHeadRow.d.ts +8 -8
- package/dist/{icons.d.ts → cjs/icons.d.ts} +33 -33
- package/dist/cjs/index.d.ts +3 -0
- package/dist/cjs/index.min.js +51 -0
- package/dist/cjs/index.min.js.map +1 -0
- package/dist/{inputs → cjs/inputs}/MRT_EditCellTextField.d.ts +8 -8
- package/dist/{inputs → cjs/inputs}/MRT_FilterRangeFields.d.ts +8 -8
- package/dist/{inputs → cjs/inputs}/MRT_FilterTextField.d.ts +9 -9
- package/dist/{inputs → cjs/inputs}/MRT_GlobalFilterTextField.d.ts +7 -7
- package/dist/{inputs → cjs/inputs}/MRT_SelectCheckbox.d.ts +9 -9
- package/dist/{localization.d.ts → cjs/localization.d.ts} +82 -82
- package/dist/{menus → cjs/menus}/MRT_ColumnActionMenu.d.ts +20 -20
- package/dist/{menus → cjs/menus}/MRT_FilterOptionMenu.d.ts +18 -18
- package/dist/{menus → cjs/menus}/MRT_RowActionMenu.d.ts +11 -11
- package/dist/{menus → cjs/menus}/MRT_ShowHideColumnsMenu.d.ts +10 -10
- package/dist/{menus → cjs/menus}/MRT_ShowHideColumnsMenuItems.d.ts +12 -12
- package/dist/{sortingFns.d.ts → cjs/sortingFns.d.ts} +12 -12
- package/dist/{table → cjs/table}/MRT_Table.d.ts +8 -8
- package/dist/{table → cjs/table}/MRT_TableContainer.d.ts +7 -7
- package/dist/{table → cjs/table}/MRT_TablePaper.d.ts +7 -7
- package/dist/{table → cjs/table}/MRT_TableRoot.d.ts +3 -3
- package/dist/{toolbar → cjs/toolbar}/MRT_LinearProgressBar.d.ts +8 -8
- package/dist/{toolbar → cjs/toolbar}/MRT_TablePagination.d.ts +8 -8
- package/dist/{toolbar → cjs/toolbar}/MRT_ToolbarAlertBanner.d.ts +8 -8
- package/dist/{toolbar → cjs/toolbar}/MRT_ToolbarBottom.d.ts +7 -7
- package/dist/{toolbar → cjs/toolbar}/MRT_ToolbarDropZone.d.ts +7 -7
- package/dist/{toolbar → cjs/toolbar}/MRT_ToolbarInternalButtons.d.ts +7 -7
- package/dist/{toolbar → cjs/toolbar}/MRT_ToolbarTop.d.ts +21 -21
- package/dist/esm/MaterialReactTable.d.ts +494 -0
- package/dist/esm/body/MRT_TableBody.d.ts +8 -0
- package/dist/esm/body/MRT_TableBodyCell.d.ts +11 -0
- package/dist/esm/body/MRT_TableBodyRow.d.ts +9 -0
- package/dist/esm/body/MRT_TableBodyRowGrabHandle.d.ts +9 -0
- package/dist/esm/body/MRT_TableDetailPanel.d.ts +8 -0
- package/dist/esm/buttons/MRT_ColumnPinningButtons.d.ts +8 -0
- package/dist/esm/buttons/MRT_CopyButton.d.ts +9 -0
- package/dist/esm/buttons/MRT_EditActionButtons.d.ts +8 -0
- package/dist/esm/buttons/MRT_ExpandAllButton.d.ts +7 -0
- package/dist/esm/buttons/MRT_ExpandButton.d.ts +8 -0
- package/dist/esm/buttons/MRT_FullScreenToggleButton.d.ts +8 -0
- package/dist/esm/buttons/MRT_GrabHandleButton.d.ts +11 -0
- package/dist/esm/buttons/MRT_ShowHideColumnsButton.d.ts +8 -0
- package/dist/esm/buttons/MRT_ToggleDensePaddingButton.d.ts +8 -0
- package/dist/esm/buttons/MRT_ToggleFiltersButton.d.ts +8 -0
- package/dist/esm/buttons/MRT_ToggleGlobalFilterButton.d.ts +8 -0
- package/dist/esm/buttons/MRT_ToggleRowActionMenuButton.d.ts +8 -0
- package/dist/esm/column.utils.d.ts +12 -0
- package/dist/esm/filtersFns.d.ts +68 -0
- package/dist/esm/footer/MRT_TableFooter.d.ts +7 -0
- package/dist/esm/footer/MRT_TableFooterCell.d.ts +8 -0
- package/dist/esm/footer/MRT_TableFooterRow.d.ts +8 -0
- package/dist/esm/head/MRT_TableHead.d.ts +7 -0
- package/dist/esm/head/MRT_TableHeadCell.d.ts +8 -0
- package/dist/esm/head/MRT_TableHeadCellColumnActionsButton.d.ts +8 -0
- package/dist/esm/head/MRT_TableHeadCellFilterContainer.d.ts +8 -0
- package/dist/esm/head/MRT_TableHeadCellFilterLabel.d.ts +8 -0
- package/dist/esm/head/MRT_TableHeadCellGrabHandle.d.ts +9 -0
- package/dist/esm/head/MRT_TableHeadCellResizeHandle.d.ts +8 -0
- package/dist/esm/head/MRT_TableHeadCellSortLabel.d.ts +8 -0
- package/dist/esm/head/MRT_TableHeadRow.d.ts +8 -0
- package/dist/esm/icons.d.ts +33 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/inputs/MRT_EditCellTextField.d.ts +8 -0
- package/dist/esm/inputs/MRT_FilterRangeFields.d.ts +8 -0
- package/dist/esm/inputs/MRT_FilterTextField.d.ts +9 -0
- package/dist/esm/inputs/MRT_GlobalFilterTextField.d.ts +7 -0
- package/dist/esm/inputs/MRT_SelectCheckbox.d.ts +9 -0
- package/dist/esm/localization.d.ts +82 -0
- package/dist/esm/material-react-table.esm.min.js +51 -0
- package/dist/esm/material-react-table.esm.min.js.map +1 -0
- package/dist/esm/menus/MRT_ColumnActionMenu.d.ts +20 -0
- package/dist/esm/menus/MRT_FilterOptionMenu.d.ts +18 -0
- package/dist/esm/menus/MRT_RowActionMenu.d.ts +11 -0
- package/dist/esm/menus/MRT_ShowHideColumnsMenu.d.ts +10 -0
- package/dist/esm/menus/MRT_ShowHideColumnsMenuItems.d.ts +12 -0
- package/dist/esm/sortingFns.d.ts +12 -0
- package/dist/esm/table/MRT_Table.d.ts +8 -0
- package/dist/esm/table/MRT_TableContainer.d.ts +7 -0
- package/dist/esm/table/MRT_TablePaper.d.ts +7 -0
- package/dist/esm/table/MRT_TableRoot.d.ts +3 -0
- package/dist/esm/toolbar/MRT_LinearProgressBar.d.ts +8 -0
- package/dist/esm/toolbar/MRT_TablePagination.d.ts +8 -0
- package/dist/esm/toolbar/MRT_ToolbarAlertBanner.d.ts +8 -0
- package/dist/esm/toolbar/MRT_ToolbarBottom.d.ts +7 -0
- package/dist/esm/toolbar/MRT_ToolbarDropZone.d.ts +7 -0
- package/dist/esm/toolbar/MRT_ToolbarInternalButtons.d.ts +7 -0
- package/dist/esm/toolbar/MRT_ToolbarTop.d.ts +21 -0
- package/dist/index.d.ts +686 -7
- package/package.json +24 -25
- package/src/MaterialReactTable.tsx +17 -4
- package/src/body/MRT_TableBodyCell.tsx +6 -3
- package/src/column.utils.ts +20 -0
- package/src/footer/MRT_TableFooterCell.tsx +1 -0
- package/src/head/MRT_TableHeadCell.tsx +4 -3
- package/src/index.tsx +0 -6
- package/src/inputs/MRT_EditCellTextField.tsx +1 -1
- package/src/inputs/MRT_FilterTextField.tsx +1 -1
- package/src/table/MRT_TableRoot.tsx +1 -16
- package/dist/index.js +0 -8
- package/dist/material-react-table.cjs.development.js +0 -3992
- package/dist/material-react-table.cjs.development.js.map +0 -1
- package/dist/material-react-table.cjs.production.min.js +0 -2
- package/dist/material-react-table.cjs.production.min.js.map +0 -1
- package/dist/material-react-table.esm.js +0 -3985
- package/dist/material-react-table.esm.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import type { MRT_Cell, MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
cell: MRT_Cell;
|
|
5
|
-
table: MRT_TableInstance;
|
|
6
|
-
}
|
|
7
|
-
export declare const MRT_EditCellTextField: FC<Props>;
|
|
8
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import type { MRT_Cell, MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
cell: MRT_Cell;
|
|
5
|
+
table: MRT_TableInstance;
|
|
6
|
+
}
|
|
7
|
+
export declare const MRT_EditCellTextField: FC<Props>;
|
|
8
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { MRT_Header, MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
header: MRT_Header;
|
|
5
|
-
table: MRT_TableInstance;
|
|
6
|
-
}
|
|
7
|
-
export declare const MRT_FilterRangeFields: FC<Props>;
|
|
8
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { MRT_Header, MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
header: MRT_Header;
|
|
5
|
+
table: MRT_TableInstance;
|
|
6
|
+
}
|
|
7
|
+
export declare const MRT_FilterRangeFields: FC<Props>;
|
|
8
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import type { MRT_Header, MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
header: MRT_Header;
|
|
5
|
-
rangeFilterIndex?: number;
|
|
6
|
-
table: MRT_TableInstance;
|
|
7
|
-
}
|
|
8
|
-
export declare const MRT_FilterTextField: FC<Props>;
|
|
9
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import type { MRT_Header, MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
header: MRT_Header;
|
|
5
|
+
rangeFilterIndex?: number;
|
|
6
|
+
table: MRT_TableInstance;
|
|
7
|
+
}
|
|
8
|
+
export declare const MRT_FilterTextField: FC<Props>;
|
|
9
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
table: MRT_TableInstance;
|
|
5
|
-
}
|
|
6
|
-
export declare const MRT_GlobalFilterTextField: FC<Props>;
|
|
7
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
table: MRT_TableInstance;
|
|
5
|
+
}
|
|
6
|
+
export declare const MRT_GlobalFilterTextField: FC<Props>;
|
|
7
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import type { MRT_Row, MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
row?: MRT_Row;
|
|
5
|
-
selectAll?: boolean;
|
|
6
|
-
table: MRT_TableInstance;
|
|
7
|
-
}
|
|
8
|
-
export declare const MRT_SelectCheckbox: FC<Props>;
|
|
9
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import type { MRT_Row, MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
row?: MRT_Row;
|
|
5
|
+
selectAll?: boolean;
|
|
6
|
+
table: MRT_TableInstance;
|
|
7
|
+
}
|
|
8
|
+
export declare const MRT_SelectCheckbox: FC<Props>;
|
|
9
|
+
export {};
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
export interface MRT_Localization {
|
|
2
|
-
actions: string;
|
|
3
|
-
and: string;
|
|
4
|
-
cancel: string;
|
|
5
|
-
changeFilterMode: string;
|
|
6
|
-
changeSearchMode: string;
|
|
7
|
-
clearFilter: string;
|
|
8
|
-
clearSearch: string;
|
|
9
|
-
clearSort: string;
|
|
10
|
-
clickToCopy: string;
|
|
11
|
-
columnActions: string;
|
|
12
|
-
copiedToClipboard: string;
|
|
13
|
-
dropToGroupBy: string;
|
|
14
|
-
edit: string;
|
|
15
|
-
expand: string;
|
|
16
|
-
expandAll: string;
|
|
17
|
-
filterArrIncludes: string;
|
|
18
|
-
filterArrIncludesAll: string;
|
|
19
|
-
filterArrIncludesSome: string;
|
|
20
|
-
filterBetween: string;
|
|
21
|
-
filterBetweenInclusive: string;
|
|
22
|
-
filterByColumn: string;
|
|
23
|
-
filterContains: string;
|
|
24
|
-
filterEmpty: string;
|
|
25
|
-
filterEndsWith: string;
|
|
26
|
-
filterEquals: string;
|
|
27
|
-
filterEqualsString: string;
|
|
28
|
-
filterFuzzy: string;
|
|
29
|
-
filterGreaterThan: string;
|
|
30
|
-
filterGreaterThanOrEqualTo: string;
|
|
31
|
-
filterInNumberRange: string;
|
|
32
|
-
filterIncludesString: string;
|
|
33
|
-
filterIncludesStringSensitive: string;
|
|
34
|
-
filterLessThan: string;
|
|
35
|
-
filterLessThanOrEqualTo: string;
|
|
36
|
-
filterMode: string;
|
|
37
|
-
filterNotEmpty: string;
|
|
38
|
-
filterNotEquals: string;
|
|
39
|
-
filterStartsWith: string;
|
|
40
|
-
filterWeakEquals: string;
|
|
41
|
-
filteringByColumn: string;
|
|
42
|
-
grab: string;
|
|
43
|
-
groupByColumn: string;
|
|
44
|
-
groupedBy: string;
|
|
45
|
-
hideAll: string;
|
|
46
|
-
hideColumn: string;
|
|
47
|
-
max: string;
|
|
48
|
-
min: string;
|
|
49
|
-
move: string;
|
|
50
|
-
or: string;
|
|
51
|
-
pinToLeft: string;
|
|
52
|
-
pinToRight: string;
|
|
53
|
-
resetColumnSize: string;
|
|
54
|
-
resetOrder: string;
|
|
55
|
-
rowActions: string;
|
|
56
|
-
rowNumber: string;
|
|
57
|
-
rowNumbers: string;
|
|
58
|
-
save: string;
|
|
59
|
-
search: string;
|
|
60
|
-
select: string;
|
|
61
|
-
selectedCountOfRowCountRowsSelected: string;
|
|
62
|
-
showAll: string;
|
|
63
|
-
showAllColumns: string;
|
|
64
|
-
showHideColumns: string;
|
|
65
|
-
showHideFilters: string;
|
|
66
|
-
showHideSearch: string;
|
|
67
|
-
sortByColumnAsc: string;
|
|
68
|
-
sortByColumnDesc: string;
|
|
69
|
-
sortedByColumnAsc: string;
|
|
70
|
-
sortedByColumnDesc: string;
|
|
71
|
-
thenBy: string;
|
|
72
|
-
toggleDensity: string;
|
|
73
|
-
toggleFullScreen: string;
|
|
74
|
-
toggleSelectAll: string;
|
|
75
|
-
toggleSelectRow: string;
|
|
76
|
-
toggleVisibility: string;
|
|
77
|
-
ungroupByColumn: string;
|
|
78
|
-
unpin: string;
|
|
79
|
-
unpinAll: string;
|
|
80
|
-
unsorted: string;
|
|
81
|
-
}
|
|
82
|
-
export declare const MRT_DefaultLocalization_EN: MRT_Localization;
|
|
1
|
+
export interface MRT_Localization {
|
|
2
|
+
actions: string;
|
|
3
|
+
and: string;
|
|
4
|
+
cancel: string;
|
|
5
|
+
changeFilterMode: string;
|
|
6
|
+
changeSearchMode: string;
|
|
7
|
+
clearFilter: string;
|
|
8
|
+
clearSearch: string;
|
|
9
|
+
clearSort: string;
|
|
10
|
+
clickToCopy: string;
|
|
11
|
+
columnActions: string;
|
|
12
|
+
copiedToClipboard: string;
|
|
13
|
+
dropToGroupBy: string;
|
|
14
|
+
edit: string;
|
|
15
|
+
expand: string;
|
|
16
|
+
expandAll: string;
|
|
17
|
+
filterArrIncludes: string;
|
|
18
|
+
filterArrIncludesAll: string;
|
|
19
|
+
filterArrIncludesSome: string;
|
|
20
|
+
filterBetween: string;
|
|
21
|
+
filterBetweenInclusive: string;
|
|
22
|
+
filterByColumn: string;
|
|
23
|
+
filterContains: string;
|
|
24
|
+
filterEmpty: string;
|
|
25
|
+
filterEndsWith: string;
|
|
26
|
+
filterEquals: string;
|
|
27
|
+
filterEqualsString: string;
|
|
28
|
+
filterFuzzy: string;
|
|
29
|
+
filterGreaterThan: string;
|
|
30
|
+
filterGreaterThanOrEqualTo: string;
|
|
31
|
+
filterInNumberRange: string;
|
|
32
|
+
filterIncludesString: string;
|
|
33
|
+
filterIncludesStringSensitive: string;
|
|
34
|
+
filterLessThan: string;
|
|
35
|
+
filterLessThanOrEqualTo: string;
|
|
36
|
+
filterMode: string;
|
|
37
|
+
filterNotEmpty: string;
|
|
38
|
+
filterNotEquals: string;
|
|
39
|
+
filterStartsWith: string;
|
|
40
|
+
filterWeakEquals: string;
|
|
41
|
+
filteringByColumn: string;
|
|
42
|
+
grab: string;
|
|
43
|
+
groupByColumn: string;
|
|
44
|
+
groupedBy: string;
|
|
45
|
+
hideAll: string;
|
|
46
|
+
hideColumn: string;
|
|
47
|
+
max: string;
|
|
48
|
+
min: string;
|
|
49
|
+
move: string;
|
|
50
|
+
or: string;
|
|
51
|
+
pinToLeft: string;
|
|
52
|
+
pinToRight: string;
|
|
53
|
+
resetColumnSize: string;
|
|
54
|
+
resetOrder: string;
|
|
55
|
+
rowActions: string;
|
|
56
|
+
rowNumber: string;
|
|
57
|
+
rowNumbers: string;
|
|
58
|
+
save: string;
|
|
59
|
+
search: string;
|
|
60
|
+
select: string;
|
|
61
|
+
selectedCountOfRowCountRowsSelected: string;
|
|
62
|
+
showAll: string;
|
|
63
|
+
showAllColumns: string;
|
|
64
|
+
showHideColumns: string;
|
|
65
|
+
showHideFilters: string;
|
|
66
|
+
showHideSearch: string;
|
|
67
|
+
sortByColumnAsc: string;
|
|
68
|
+
sortByColumnDesc: string;
|
|
69
|
+
sortedByColumnAsc: string;
|
|
70
|
+
sortedByColumnDesc: string;
|
|
71
|
+
thenBy: string;
|
|
72
|
+
toggleDensity: string;
|
|
73
|
+
toggleFullScreen: string;
|
|
74
|
+
toggleSelectAll: string;
|
|
75
|
+
toggleSelectRow: string;
|
|
76
|
+
toggleVisibility: string;
|
|
77
|
+
ungroupByColumn: string;
|
|
78
|
+
unpin: string;
|
|
79
|
+
unpinAll: string;
|
|
80
|
+
unsorted: string;
|
|
81
|
+
}
|
|
82
|
+
export declare const MRT_DefaultLocalization_EN: MRT_Localization;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import type { MRT_Header, MRT_TableInstance } from '..';
|
|
3
|
-
export declare const commonMenuItemStyles: {
|
|
4
|
-
py: string;
|
|
5
|
-
my: number;
|
|
6
|
-
justifyContent: string;
|
|
7
|
-
alignItems: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const commonListItemStyles: {
|
|
10
|
-
display: string;
|
|
11
|
-
alignItems: string;
|
|
12
|
-
};
|
|
13
|
-
interface Props {
|
|
14
|
-
anchorEl: HTMLElement | null;
|
|
15
|
-
header: MRT_Header;
|
|
16
|
-
setAnchorEl: (anchorEl: HTMLElement | null) => void;
|
|
17
|
-
table: MRT_TableInstance;
|
|
18
|
-
}
|
|
19
|
-
export declare const MRT_ColumnActionMenu: FC<Props>;
|
|
20
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import type { MRT_Header, MRT_TableInstance } from '..';
|
|
3
|
+
export declare const commonMenuItemStyles: {
|
|
4
|
+
py: string;
|
|
5
|
+
my: number;
|
|
6
|
+
justifyContent: string;
|
|
7
|
+
alignItems: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const commonListItemStyles: {
|
|
10
|
+
display: string;
|
|
11
|
+
alignItems: string;
|
|
12
|
+
};
|
|
13
|
+
interface Props {
|
|
14
|
+
anchorEl: HTMLElement | null;
|
|
15
|
+
header: MRT_Header;
|
|
16
|
+
setAnchorEl: (anchorEl: HTMLElement | null) => void;
|
|
17
|
+
table: MRT_TableInstance;
|
|
18
|
+
}
|
|
19
|
+
export declare const MRT_ColumnActionMenu: FC<Props>;
|
|
20
|
+
export {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import type { MRT_Header, MRT_TableInstance } from '..';
|
|
3
|
-
import { MRT_Localization } from '../localization';
|
|
4
|
-
export declare const internalFilterOptions: (localization: MRT_Localization) => {
|
|
5
|
-
option: string;
|
|
6
|
-
symbol: string;
|
|
7
|
-
label: string;
|
|
8
|
-
divider: boolean;
|
|
9
|
-
}[];
|
|
10
|
-
interface Props {
|
|
11
|
-
anchorEl: HTMLElement | null;
|
|
12
|
-
header?: MRT_Header;
|
|
13
|
-
onSelect?: () => void;
|
|
14
|
-
setAnchorEl: (anchorEl: HTMLElement | null) => void;
|
|
15
|
-
table: MRT_TableInstance;
|
|
16
|
-
}
|
|
17
|
-
export declare const MRT_FilterOptionMenu: FC<Props>;
|
|
18
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import type { MRT_Header, MRT_TableInstance } from '..';
|
|
3
|
+
import { MRT_Localization } from '../localization';
|
|
4
|
+
export declare const internalFilterOptions: (localization: MRT_Localization) => {
|
|
5
|
+
option: string;
|
|
6
|
+
symbol: string;
|
|
7
|
+
label: string;
|
|
8
|
+
divider: boolean;
|
|
9
|
+
}[];
|
|
10
|
+
interface Props {
|
|
11
|
+
anchorEl: HTMLElement | null;
|
|
12
|
+
header?: MRT_Header;
|
|
13
|
+
onSelect?: () => void;
|
|
14
|
+
setAnchorEl: (anchorEl: HTMLElement | null) => void;
|
|
15
|
+
table: MRT_TableInstance;
|
|
16
|
+
}
|
|
17
|
+
export declare const MRT_FilterOptionMenu: FC<Props>;
|
|
18
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import type { MRT_Row, MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
anchorEl: HTMLElement | null;
|
|
5
|
-
handleEdit: () => void;
|
|
6
|
-
row: MRT_Row;
|
|
7
|
-
setAnchorEl: (anchorEl: HTMLElement | null) => void;
|
|
8
|
-
table: MRT_TableInstance;
|
|
9
|
-
}
|
|
10
|
-
export declare const MRT_RowActionMenu: FC<Props>;
|
|
11
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import type { MRT_Row, MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
anchorEl: HTMLElement | null;
|
|
5
|
+
handleEdit: () => void;
|
|
6
|
+
row: MRT_Row;
|
|
7
|
+
setAnchorEl: (anchorEl: HTMLElement | null) => void;
|
|
8
|
+
table: MRT_TableInstance;
|
|
9
|
+
}
|
|
10
|
+
export declare const MRT_RowActionMenu: FC<Props>;
|
|
11
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import type { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
anchorEl: HTMLElement | null;
|
|
5
|
-
isSubMenu?: boolean;
|
|
6
|
-
setAnchorEl: (anchorEl: HTMLElement | null) => void;
|
|
7
|
-
table: MRT_TableInstance;
|
|
8
|
-
}
|
|
9
|
-
export declare const MRT_ShowHideColumnsMenu: FC<Props>;
|
|
10
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import type { MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
anchorEl: HTMLElement | null;
|
|
5
|
+
isSubMenu?: boolean;
|
|
6
|
+
setAnchorEl: (anchorEl: HTMLElement | null) => void;
|
|
7
|
+
table: MRT_TableInstance;
|
|
8
|
+
}
|
|
9
|
+
export declare const MRT_ShowHideColumnsMenu: FC<Props>;
|
|
10
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2
|
-
import type { MRT_Column, MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
allColumns: MRT_Column[];
|
|
5
|
-
column: MRT_Column;
|
|
6
|
-
currentHoveredColumn: MRT_Column | null;
|
|
7
|
-
isSubMenu?: boolean;
|
|
8
|
-
setCurrentHoveredColumn: Dispatch<SetStateAction<MRT_Column | null>>;
|
|
9
|
-
table: MRT_TableInstance;
|
|
10
|
-
}
|
|
11
|
-
export declare const MRT_ShowHideColumnsMenuItems: FC<Props>;
|
|
12
|
-
export {};
|
|
1
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2
|
+
import type { MRT_Column, MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
allColumns: MRT_Column[];
|
|
5
|
+
column: MRT_Column;
|
|
6
|
+
currentHoveredColumn: MRT_Column | null;
|
|
7
|
+
isSubMenu?: boolean;
|
|
8
|
+
setCurrentHoveredColumn: Dispatch<SetStateAction<MRT_Column | null>>;
|
|
9
|
+
table: MRT_TableInstance;
|
|
10
|
+
}
|
|
11
|
+
export declare const MRT_ShowHideColumnsMenuItems: FC<Props>;
|
|
12
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Row } from '@tanstack/react-table';
|
|
2
|
-
import { MRT_Row } from '.';
|
|
3
|
-
export declare const MRT_SortingFns: {
|
|
4
|
-
fuzzy: <TData extends Record<string, any> = {}>(rowA: Row<TData>, rowB: Row<TData>, columnId: string) => number;
|
|
5
|
-
alphanumeric: import("@tanstack/table-core").SortingFn<any>;
|
|
6
|
-
alphanumericCaseSensitive: import("@tanstack/table-core").SortingFn<any>;
|
|
7
|
-
text: import("@tanstack/table-core").SortingFn<any>;
|
|
8
|
-
textCaseSensitive: import("@tanstack/table-core").SortingFn<any>;
|
|
9
|
-
datetime: import("@tanstack/table-core").SortingFn<any>;
|
|
10
|
-
basic: import("@tanstack/table-core").SortingFn<any>;
|
|
11
|
-
};
|
|
12
|
-
export declare const rankGlobalFuzzy: <TData extends Record<string, any> = {}>(rowA: MRT_Row<TData>, rowB: MRT_Row<TData>) => number;
|
|
1
|
+
import { Row } from '@tanstack/react-table';
|
|
2
|
+
import { MRT_Row } from '.';
|
|
3
|
+
export declare const MRT_SortingFns: {
|
|
4
|
+
fuzzy: <TData extends Record<string, any> = {}>(rowA: Row<TData>, rowB: Row<TData>, columnId: string) => number;
|
|
5
|
+
alphanumeric: import("@tanstack/table-core").SortingFn<any>;
|
|
6
|
+
alphanumericCaseSensitive: import("@tanstack/table-core").SortingFn<any>;
|
|
7
|
+
text: import("@tanstack/table-core").SortingFn<any>;
|
|
8
|
+
textCaseSensitive: import("@tanstack/table-core").SortingFn<any>;
|
|
9
|
+
datetime: import("@tanstack/table-core").SortingFn<any>;
|
|
10
|
+
basic: import("@tanstack/table-core").SortingFn<any>;
|
|
11
|
+
};
|
|
12
|
+
export declare const rankGlobalFuzzy: <TData extends Record<string, any> = {}>(rowA: MRT_Row<TData>, rowB: MRT_Row<TData>) => number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC, RefObject } from 'react';
|
|
2
|
-
import { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
tableContainerRef: RefObject<HTMLDivElement>;
|
|
5
|
-
table: MRT_TableInstance;
|
|
6
|
-
}
|
|
7
|
-
export declare const MRT_Table: FC<Props>;
|
|
8
|
-
export {};
|
|
1
|
+
import { FC, RefObject } from 'react';
|
|
2
|
+
import { MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
tableContainerRef: RefObject<HTMLDivElement>;
|
|
5
|
+
table: MRT_TableInstance;
|
|
6
|
+
}
|
|
7
|
+
export declare const MRT_Table: FC<Props>;
|
|
8
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import type { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
table: MRT_TableInstance;
|
|
5
|
-
}
|
|
6
|
-
export declare const MRT_TableContainer: FC<Props>;
|
|
7
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import type { MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
table: MRT_TableInstance;
|
|
5
|
+
}
|
|
6
|
+
export declare const MRT_TableContainer: FC<Props>;
|
|
7
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import type { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
table: MRT_TableInstance;
|
|
5
|
-
}
|
|
6
|
-
export declare const MRT_TablePaper: FC<Props>;
|
|
7
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import type { MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
table: MRT_TableInstance;
|
|
5
|
+
}
|
|
6
|
+
export declare const MRT_TablePaper: FC<Props>;
|
|
7
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { MaterialReactTableProps } from '..';
|
|
3
|
-
export declare const MRT_TableRoot: <TData extends Record<string, any> = {}>(props: MaterialReactTableProps<TData>) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { MaterialReactTableProps } from '..';
|
|
3
|
+
export declare const MRT_TableRoot: <TData extends Record<string, any> = {}>(props: MaterialReactTableProps<TData>) => JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
isTopToolbar: boolean;
|
|
5
|
-
table: MRT_TableInstance;
|
|
6
|
-
}
|
|
7
|
-
export declare const MRT_LinearProgressBar: FC<Props>;
|
|
8
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
isTopToolbar: boolean;
|
|
5
|
+
table: MRT_TableInstance;
|
|
6
|
+
}
|
|
7
|
+
export declare const MRT_LinearProgressBar: FC<Props>;
|
|
8
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
table: MRT_TableInstance;
|
|
5
|
-
position: 'top' | 'bottom';
|
|
6
|
-
}
|
|
7
|
-
export declare const MRT_TablePagination: FC<Props>;
|
|
8
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
table: MRT_TableInstance;
|
|
5
|
+
position: 'top' | 'bottom';
|
|
6
|
+
}
|
|
7
|
+
export declare const MRT_TablePagination: FC<Props>;
|
|
8
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
stackAlertBanner?: boolean;
|
|
5
|
-
table: MRT_TableInstance;
|
|
6
|
-
}
|
|
7
|
-
export declare const MRT_ToolbarAlertBanner: FC<Props>;
|
|
8
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
stackAlertBanner?: boolean;
|
|
5
|
+
table: MRT_TableInstance;
|
|
6
|
+
}
|
|
7
|
+
export declare const MRT_ToolbarAlertBanner: FC<Props>;
|
|
8
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
table: MRT_TableInstance;
|
|
5
|
-
}
|
|
6
|
-
export declare const MRT_ToolbarBottom: FC<Props>;
|
|
7
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
table: MRT_TableInstance;
|
|
5
|
+
}
|
|
6
|
+
export declare const MRT_ToolbarBottom: FC<Props>;
|
|
7
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
table: MRT_TableInstance;
|
|
5
|
-
}
|
|
6
|
-
export declare const MRT_ToolbarDropZone: FC<Props>;
|
|
7
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
table: MRT_TableInstance;
|
|
5
|
+
}
|
|
6
|
+
export declare const MRT_ToolbarDropZone: FC<Props>;
|
|
7
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
table: MRT_TableInstance;
|
|
5
|
-
}
|
|
6
|
-
export declare const MRT_ToolbarInternalButtons: FC<Props>;
|
|
7
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { MRT_TableInstance } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
table: MRT_TableInstance;
|
|
5
|
+
}
|
|
6
|
+
export declare const MRT_ToolbarInternalButtons: FC<Props>;
|
|
7
|
+
export {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { Theme } from '@mui/material';
|
|
3
|
-
import { MRT_TableInstance } from '..';
|
|
4
|
-
export declare const commonToolbarStyles: ({ theme }: {
|
|
5
|
-
theme: Theme;
|
|
6
|
-
}) => {
|
|
7
|
-
alignItems: string;
|
|
8
|
-
backgroundColor: string;
|
|
9
|
-
backgroundImage: string;
|
|
10
|
-
display: string;
|
|
11
|
-
minHeight: string;
|
|
12
|
-
overflow: string;
|
|
13
|
-
p: string;
|
|
14
|
-
transition: string;
|
|
15
|
-
zIndex: number;
|
|
16
|
-
};
|
|
17
|
-
interface Props {
|
|
18
|
-
table: MRT_TableInstance;
|
|
19
|
-
}
|
|
20
|
-
export declare const MRT_ToolbarTop: FC<Props>;
|
|
21
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { Theme } from '@mui/material';
|
|
3
|
+
import { MRT_TableInstance } from '..';
|
|
4
|
+
export declare const commonToolbarStyles: ({ theme }: {
|
|
5
|
+
theme: Theme;
|
|
6
|
+
}) => {
|
|
7
|
+
alignItems: string;
|
|
8
|
+
backgroundColor: string;
|
|
9
|
+
backgroundImage: string;
|
|
10
|
+
display: string;
|
|
11
|
+
minHeight: string;
|
|
12
|
+
overflow: string;
|
|
13
|
+
p: string;
|
|
14
|
+
transition: string;
|
|
15
|
+
zIndex: number;
|
|
16
|
+
};
|
|
17
|
+
interface Props {
|
|
18
|
+
table: MRT_TableInstance;
|
|
19
|
+
}
|
|
20
|
+
export declare const MRT_ToolbarTop: FC<Props>;
|
|
21
|
+
export {};
|