material-react-table 1.0.0-beta.9 → 1.0.0-rc.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 +1 -1
- package/dist/cjs/MaterialReactTable.d.ts +110 -11
- package/dist/cjs/_locales/en.d.ts +2 -0
- package/dist/cjs/_locales/pt-BR.d.ts +2 -0
- package/dist/cjs/column.utils.d.ts +6 -0
- package/dist/cjs/head/MRT_TableHeadCellSortLabel.d.ts +2 -0
- package/dist/cjs/index.d.ts +4 -3
- package/dist/cjs/index.js +188 -63
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/inputs/MRT_FilterCheckbox.d.ts +8 -0
- package/dist/cjs/menus/MRT_FilterOptionMenu.d.ts +1 -2
- package/dist/cjs/table/MRT_TableRoot.d.ts +254 -2
- package/dist/cjs/toolbar/MRT_TablePagination.d.ts +3 -4
- package/dist/cjs/toolbar/MRT_ToolbarInternalButtons.d.ts +3 -4
- package/dist/cjs/toolbar/MRT_TopToolbar.d.ts +1 -0
- package/dist/esm/MaterialReactTable.d.ts +110 -11
- package/dist/esm/_locales/en.d.ts +2 -0
- package/dist/esm/_locales/pt-BR.d.ts +2 -0
- package/dist/esm/column.utils.d.ts +6 -0
- package/dist/esm/head/MRT_TableHeadCellSortLabel.d.ts +2 -0
- package/dist/esm/index.d.ts +4 -3
- package/dist/esm/inputs/MRT_FilterCheckbox.d.ts +8 -0
- package/dist/esm/material-react-table.esm.js +188 -65
- package/dist/esm/material-react-table.esm.js.map +1 -1
- package/dist/esm/menus/MRT_FilterOptionMenu.d.ts +1 -2
- package/dist/esm/table/MRT_TableRoot.d.ts +254 -2
- package/dist/esm/toolbar/MRT_TablePagination.d.ts +3 -4
- package/dist/esm/toolbar/MRT_ToolbarInternalButtons.d.ts +3 -4
- package/dist/esm/toolbar/MRT_TopToolbar.d.ts +1 -0
- package/dist/index.d.ts +59 -32
- package/locales/en.d.ts +2 -0
- package/locales/en.esm.d.ts +2 -0
- package/locales/en.esm.js +92 -0
- package/locales/en.esm.js.map +1 -0
- package/locales/en.js +96 -0
- package/locales/en.js.map +1 -0
- package/locales/pt-BR.d.ts +2 -0
- package/locales/pt-BR.esm.d.ts +2 -0
- package/locales/pt-BR.esm.js +92 -0
- package/locales/pt-BR.esm.js.map +1 -0
- package/locales/pt-BR.js +96 -0
- package/locales/pt-BR.js.map +1 -0
- package/package.json +13 -11
- package/src/MaterialReactTable.tsx +205 -77
- package/src/_locales/de.ts +1 -0
- package/src/{localization.ts → _locales/en.ts} +8 -84
- package/src/_locales/es.ts +1 -0
- package/src/_locales/fr.ts +1 -0
- package/src/_locales/hi.ts +1 -0
- package/src/_locales/id.ts +1 -0
- package/src/_locales/ja.ts +1 -0
- package/src/_locales/nl.ts +1 -0
- package/src/_locales/pt-BR.ts +92 -0
- package/src/_locales/pt.ts +1 -0
- package/src/_locales/ru.ts +1 -0
- package/src/_locales/uk.ts +1 -0
- package/src/_locales/vi.ts +1 -0
- package/src/_locales/zh.ts +1 -0
- package/src/body/MRT_EditRowModal.tsx +3 -2
- package/src/body/MRT_TableBodyCell.tsx +1 -1
- package/src/body/MRT_TableBodyRow.tsx +1 -1
- package/src/body/MRT_TableDetailPanel.tsx +1 -1
- package/src/buttons/MRT_ExpandAllButton.tsx +1 -1
- package/src/buttons/MRT_ExpandButton.tsx +1 -1
- package/src/buttons/MRT_GrabHandleButton.tsx +1 -1
- package/src/buttons/MRT_ToggleRowActionMenuButton.tsx +1 -1
- package/src/column.utils.ts +28 -3
- package/src/footer/MRT_TableFooter.tsx +1 -1
- package/src/head/MRT_TableHead.tsx +10 -2
- package/src/head/MRT_TableHeadCell.tsx +10 -2
- package/src/head/MRT_TableHeadCellColumnActionsButton.tsx +1 -1
- package/src/head/MRT_TableHeadCellFilterContainer.tsx +7 -3
- package/src/head/MRT_TableHeadCellGrabHandle.tsx +5 -1
- package/src/head/MRT_TableHeadCellResizeHandle.tsx +1 -1
- package/src/head/MRT_TableHeadCellSortLabel.tsx +11 -3
- package/src/index.tsx +6 -3
- package/src/inputs/MRT_FilterCheckbox.tsx +96 -0
- package/src/inputs/MRT_FilterTextField.tsx +21 -11
- package/src/inputs/MRT_GlobalFilterTextField.tsx +17 -5
- package/src/inputs/MRT_SelectCheckbox.tsx +16 -7
- package/src/menus/MRT_FilterOptionMenu.tsx +1 -1
- package/src/table/MRT_TablePaper.tsx +9 -7
- package/src/table/MRT_TableRoot.tsx +8 -7
- package/src/toolbar/MRT_BottomToolbar.tsx +4 -1
- package/src/toolbar/MRT_TablePagination.tsx +45 -8
- package/src/toolbar/MRT_ToolbarAlertBanner.tsx +2 -1
- package/src/toolbar/MRT_ToolbarInternalButtons.tsx +8 -4
- package/src/toolbar/MRT_TopToolbar.tsx +2 -1
- package/dist/cjs/localization.d.ts +0 -84
- package/dist/esm/localization.d.ts +0 -84
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { MRT_Header, MRT_InternalFilterOption, MRT_TableInstance } from '..';
|
|
2
|
-
import { MRT_Localization } from '../localization';
|
|
1
|
+
import type { MRT_Header, MRT_InternalFilterOption, MRT_Localization, MRT_TableInstance } from '..';
|
|
3
2
|
export declare const mrtFilterOptions: (localization: MRT_Localization) => MRT_InternalFilterOption[];
|
|
4
3
|
interface Props<TData extends Record<string, any> = {}> {
|
|
5
4
|
anchorEl: HTMLElement | null;
|
|
@@ -1,2 +1,254 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { MRT_Cell, MRT_Column, MRT_ColumnDef, MRT_FilterOption, MRT_Row, MRT_TableInstance, MRT_TableState, MaterialReactTableProps, MRT_Localization } from '..';
|
|
3
|
+
export declare const MRT_TableRoot: <TData extends Record<string, any> = {}>(props: Omit<Partial<import("@tanstack/table-core").TableOptions<TData>>, "state" | "data" | "onStateChange" | "initialState" | "columns" | "defaultColumn" | "enableRowSelection" | "expandRowsFn"> & {
|
|
4
|
+
columnFilterModeOptions?: (string | (string & Record<never, never>))[] | null | undefined;
|
|
5
|
+
columns: MRT_ColumnDef<TData>[];
|
|
6
|
+
data: TData[];
|
|
7
|
+
defaultColumn?: Partial<MRT_ColumnDef<TData>> | undefined;
|
|
8
|
+
defaultDisplayColumn?: Partial<MRT_ColumnDef<TData>> | undefined;
|
|
9
|
+
displayColumnDefOptions?: Partial<{
|
|
10
|
+
"mrt-row-drag": Partial<MRT_ColumnDef<{}>>;
|
|
11
|
+
"mrt-row-actions": Partial<MRT_ColumnDef<{}>>;
|
|
12
|
+
"mrt-row-expand": Partial<MRT_ColumnDef<{}>>;
|
|
13
|
+
"mrt-row-select": Partial<MRT_ColumnDef<{}>>;
|
|
14
|
+
"mrt-row-numbers": Partial<MRT_ColumnDef<{}>>;
|
|
15
|
+
}> | undefined;
|
|
16
|
+
editingMode?: "cell" | "row" | "table" | "modal" | undefined;
|
|
17
|
+
enableBottomToolbar?: boolean | undefined;
|
|
18
|
+
enableClickToCopy?: boolean | undefined;
|
|
19
|
+
enableColumnActions?: boolean | undefined;
|
|
20
|
+
enableColumnDragging?: boolean | undefined;
|
|
21
|
+
enableColumnFilterModes?: boolean | undefined;
|
|
22
|
+
enableColumnOrdering?: boolean | undefined;
|
|
23
|
+
enableDensityToggle?: boolean | undefined;
|
|
24
|
+
enableEditing?: boolean | undefined;
|
|
25
|
+
enableExpandAll?: boolean | undefined;
|
|
26
|
+
enableFullScreenToggle?: boolean | undefined;
|
|
27
|
+
enableGlobalFilterModes?: boolean | undefined;
|
|
28
|
+
enableGlobalFilterRankedResults?: boolean | undefined;
|
|
29
|
+
enablePagination?: boolean | undefined;
|
|
30
|
+
enableRowActions?: boolean | undefined;
|
|
31
|
+
enableRowDragging?: boolean | undefined;
|
|
32
|
+
enableRowNumbers?: boolean | undefined;
|
|
33
|
+
enableRowOrdering?: boolean | undefined;
|
|
34
|
+
enableRowSelection?: boolean | ((row: MRT_Row<TData>) => boolean) | undefined;
|
|
35
|
+
enableRowVirtualization?: boolean | undefined;
|
|
36
|
+
enableSelectAll?: boolean | undefined;
|
|
37
|
+
enableStickyFooter?: boolean | undefined;
|
|
38
|
+
enableStickyHeader?: boolean | undefined;
|
|
39
|
+
enableTableFooter?: boolean | undefined;
|
|
40
|
+
enableTableHead?: boolean | undefined;
|
|
41
|
+
enableToolbarInternalActions?: boolean | undefined;
|
|
42
|
+
enableTopToolbar?: boolean | undefined;
|
|
43
|
+
globalFilterModeOptions?: (string | (string & Record<never, never>))[] | null | undefined;
|
|
44
|
+
expandRowsFn?: ((dataRow: TData) => TData[]) | undefined;
|
|
45
|
+
icons?: Partial<import("..").MRT_Icons> | undefined;
|
|
46
|
+
initialState?: Partial<MRT_TableState<TData>> | undefined;
|
|
47
|
+
localization?: Partial<MRT_Localization> | undefined;
|
|
48
|
+
muiBottomToolbarProps?: import("@mui/material").ToolbarProps<"div", {}> | (({ table }: {
|
|
49
|
+
table: MRT_TableInstance<TData>;
|
|
50
|
+
}) => import("@mui/material").ToolbarProps<"div", {}>) | undefined;
|
|
51
|
+
muiExpandAllButtonProps?: import("@mui/material").IconButtonProps<"button", {}> | (({ table }: {
|
|
52
|
+
table: MRT_TableInstance<TData>;
|
|
53
|
+
}) => import("@mui/material").IconButtonProps<"button", {}>) | undefined;
|
|
54
|
+
muiExpandButtonProps?: import("@mui/material").IconButtonProps<"button", {}> | (({ row, table, }: {
|
|
55
|
+
table: MRT_TableInstance<TData>;
|
|
56
|
+
row: MRT_Row<TData>;
|
|
57
|
+
}) => import("@mui/material").IconButtonProps<"button", {}>) | undefined;
|
|
58
|
+
muiLinearProgressProps?: import("@mui/material").LinearProgressProps | (({ isTopToolbar, table, }: {
|
|
59
|
+
isTopToolbar: boolean;
|
|
60
|
+
table: MRT_TableInstance<TData>;
|
|
61
|
+
}) => import("@mui/material").LinearProgressProps) | undefined;
|
|
62
|
+
muiSearchTextFieldProps?: import("@mui/material").TextFieldProps | (({ table }: {
|
|
63
|
+
table: MRT_TableInstance<TData>;
|
|
64
|
+
}) => import("@mui/material").TextFieldProps) | undefined;
|
|
65
|
+
muiSelectAllCheckboxProps?: import("@mui/material").CheckboxProps | (({ table }: {
|
|
66
|
+
table: MRT_TableInstance<TData>;
|
|
67
|
+
}) => import("@mui/material").CheckboxProps) | undefined;
|
|
68
|
+
muiSelectCheckboxProps?: import("@mui/material").CheckboxProps | (({ table, row, }: {
|
|
69
|
+
table: MRT_TableInstance<TData>;
|
|
70
|
+
row: MRT_Row<TData>;
|
|
71
|
+
}) => import("@mui/material").CheckboxProps) | undefined;
|
|
72
|
+
muiTableBodyCellCopyButtonProps?: import("@mui/material").ButtonProps<"button", {}> | (({ cell, column, row, table, }: {
|
|
73
|
+
cell: MRT_Cell<TData>;
|
|
74
|
+
column: MRT_Column<TData>;
|
|
75
|
+
row: MRT_Row<TData>;
|
|
76
|
+
table: MRT_TableInstance<TData>;
|
|
77
|
+
}) => import("@mui/material").ButtonProps<"button", {}>) | undefined;
|
|
78
|
+
muiTableBodyCellEditTextFieldProps?: import("@mui/material").TextFieldProps | (({ cell, column, row, table, }: {
|
|
79
|
+
cell: MRT_Cell<TData>;
|
|
80
|
+
column: MRT_Column<TData>;
|
|
81
|
+
row: MRT_Row<TData>;
|
|
82
|
+
table: MRT_TableInstance<TData>;
|
|
83
|
+
}) => import("@mui/material").TextFieldProps) | undefined;
|
|
84
|
+
muiTableBodyCellProps?: import("@mui/material").TableCellProps | (({ cell, column, row, table, }: {
|
|
85
|
+
cell: MRT_Cell<TData>;
|
|
86
|
+
column: MRT_Column<TData>;
|
|
87
|
+
row: MRT_Row<TData>;
|
|
88
|
+
table: MRT_TableInstance<TData>;
|
|
89
|
+
}) => import("@mui/material").TableCellProps) | undefined;
|
|
90
|
+
muiTableBodyCellSkeletonProps?: import("@mui/material").SkeletonProps<"span", {}> | (({ cell, column, row, table, }: {
|
|
91
|
+
cell: MRT_Cell<TData>;
|
|
92
|
+
column: MRT_Column<TData>;
|
|
93
|
+
row: MRT_Row<TData>;
|
|
94
|
+
table: MRT_TableInstance<TData>;
|
|
95
|
+
}) => import("@mui/material").SkeletonProps<"span", {}>) | undefined;
|
|
96
|
+
muiTableBodyProps?: import("@mui/material").TableBodyProps<"tbody", {}> | (({ table }: {
|
|
97
|
+
table: MRT_TableInstance<TData>;
|
|
98
|
+
}) => import("@mui/material").TableBodyProps<"tbody", {}>) | undefined;
|
|
99
|
+
muiTableBodyRowDragHandleProps?: import("@mui/material").IconButtonProps<"button", {}> | (({ table, row, }: {
|
|
100
|
+
table: MRT_TableInstance<TData>;
|
|
101
|
+
row: MRT_Row<TData>;
|
|
102
|
+
}) => import("@mui/material").IconButtonProps<"button", {}>) | undefined;
|
|
103
|
+
muiTableBodyRowProps?: import("@mui/material").TableRowProps<"tr", {}> | (({ table, row, }: {
|
|
104
|
+
table: MRT_TableInstance<TData>;
|
|
105
|
+
row: MRT_Row<TData>;
|
|
106
|
+
}) => import("@mui/material").TableRowProps<"tr", {}>) | undefined;
|
|
107
|
+
muiTableContainerProps?: import("@mui/material").TableContainerProps<"div", {}> | (({ table, }: {
|
|
108
|
+
table: MRT_TableInstance<TData>;
|
|
109
|
+
}) => import("@mui/material").TableContainerProps<"div", {}>) | undefined;
|
|
110
|
+
muiTableDetailPanelProps?: import("@mui/material").TableCellProps | (({ table, row, }: {
|
|
111
|
+
table: MRT_TableInstance<TData>;
|
|
112
|
+
row: MRT_Row<TData>;
|
|
113
|
+
}) => import("@mui/material").TableCellProps) | undefined;
|
|
114
|
+
muiTableFooterCellProps?: import("@mui/material").TableCellProps | (({ table, column, }: {
|
|
115
|
+
table: MRT_TableInstance<TData>;
|
|
116
|
+
column: MRT_Column<TData>;
|
|
117
|
+
}) => import("@mui/material").TableCellProps) | undefined;
|
|
118
|
+
muiTableFooterProps?: import("@mui/material").TableFooterProps<"tfoot", {}> | (({ table }: {
|
|
119
|
+
table: MRT_TableInstance<TData>;
|
|
120
|
+
}) => import("@mui/material").TableFooterProps<"tfoot", {}>) | undefined;
|
|
121
|
+
muiTableFooterRowProps?: import("@mui/material").TableRowProps<"tr", {}> | (({ table, footerGroup, }: {
|
|
122
|
+
table: MRT_TableInstance<TData>;
|
|
123
|
+
footerGroup: import("..").MRT_HeaderGroup<TData>;
|
|
124
|
+
}) => import("@mui/material").TableRowProps<"tr", {}>) | undefined;
|
|
125
|
+
muiTableHeadCellColumnActionsButtonProps?: import("@mui/material").IconButtonProps<"button", {}> | (({ table, column, }: {
|
|
126
|
+
table: MRT_TableInstance<TData>;
|
|
127
|
+
column: MRT_Column<TData>;
|
|
128
|
+
}) => import("@mui/material").IconButtonProps<"button", {}>) | undefined;
|
|
129
|
+
muiTableHeadCellDragHandleProps?: import("@mui/material").IconButtonProps<"button", {}> | (({ table, column, }: {
|
|
130
|
+
table: MRT_TableInstance<TData>;
|
|
131
|
+
column: MRT_Column<TData>;
|
|
132
|
+
}) => import("@mui/material").IconButtonProps<"button", {}>) | undefined;
|
|
133
|
+
muiTableHeadCellFilterCheckboxProps?: import("@mui/material").CheckboxProps | (({ column, table, }: {
|
|
134
|
+
column: MRT_Column<TData>;
|
|
135
|
+
table: MRT_TableInstance<TData>;
|
|
136
|
+
}) => import("@mui/material").CheckboxProps) | undefined;
|
|
137
|
+
muiTableHeadCellFilterTextFieldProps?: import("@mui/material").TextFieldProps | (({ table, column, rangeFilterIndex, }: {
|
|
138
|
+
table: MRT_TableInstance<TData>;
|
|
139
|
+
column: MRT_Column<TData>;
|
|
140
|
+
rangeFilterIndex?: number | undefined;
|
|
141
|
+
}) => import("@mui/material").TextFieldProps) | undefined;
|
|
142
|
+
muiTableHeadCellProps?: import("@mui/material").TableCellProps | (({ table, column, }: {
|
|
143
|
+
table: MRT_TableInstance<TData>;
|
|
144
|
+
column: MRT_Column<TData>;
|
|
145
|
+
}) => import("@mui/material").TableCellProps) | undefined;
|
|
146
|
+
muiTableHeadProps?: import("@mui/material").TableHeadProps<"thead", {}> | (({ table }: {
|
|
147
|
+
table: MRT_TableInstance<TData>;
|
|
148
|
+
}) => import("@mui/material").TableHeadProps<"thead", {}>) | undefined;
|
|
149
|
+
muiTableHeadRowProps?: import("@mui/material").TableRowProps<"tr", {}> | (({ table, headerGroup, }: {
|
|
150
|
+
table: MRT_TableInstance<TData>;
|
|
151
|
+
headerGroup: import("..").MRT_HeaderGroup<TData>;
|
|
152
|
+
}) => import("@mui/material").TableRowProps<"tr", {}>) | undefined;
|
|
153
|
+
muiTablePaginationProps?: Partial<import("@mui/material").TablePaginationProps<React.JSXElementConstructor<import("@mui/material").TablePaginationBaseProps>, {}>> | (({ table, }: {
|
|
154
|
+
table: MRT_TableInstance<TData>;
|
|
155
|
+
}) => Partial<import("@mui/material").TablePaginationProps<React.JSXElementConstructor<import("@mui/material").TablePaginationBaseProps>, {}>>) | undefined;
|
|
156
|
+
muiTablePaperProps?: import("@mui/material").PaperProps<"div", {}> | (({ table }: {
|
|
157
|
+
table: MRT_TableInstance<TData>;
|
|
158
|
+
}) => import("@mui/material").PaperProps<"div", {}>) | undefined;
|
|
159
|
+
muiTableProps?: import("@mui/material").TableProps<"table", {}> | (({ table }: {
|
|
160
|
+
table: MRT_TableInstance<TData>;
|
|
161
|
+
}) => import("@mui/material").TableProps<"table", {}>) | undefined;
|
|
162
|
+
muiToolbarAlertBannerChipProps?: import("@mui/material").ChipProps<"div", {}> | (({ table }: {
|
|
163
|
+
table: MRT_TableInstance<TData>;
|
|
164
|
+
}) => import("@mui/material").ChipProps<"div", {}>) | undefined;
|
|
165
|
+
muiToolbarAlertBannerProps?: import("@mui/material").AlertProps | (({ table }: {
|
|
166
|
+
table: MRT_TableInstance<TData>;
|
|
167
|
+
}) => import("@mui/material").AlertProps) | undefined;
|
|
168
|
+
muiTopToolbarProps?: import("@mui/material").ToolbarProps<"div", {}> | (({ table }: {
|
|
169
|
+
table: MRT_TableInstance<TData>;
|
|
170
|
+
}) => import("@mui/material").ToolbarProps<"div", {}>) | undefined;
|
|
171
|
+
onDensityChange?: import("@tanstack/table-core").OnChangeFn<boolean> | undefined;
|
|
172
|
+
onDraggingColumnChange?: import("@tanstack/table-core").OnChangeFn<MRT_Column<TData> | null> | undefined;
|
|
173
|
+
onDraggingRowChange?: import("@tanstack/table-core").OnChangeFn<MRT_Row<TData> | null> | undefined;
|
|
174
|
+
onEditingCellChange?: import("@tanstack/table-core").OnChangeFn<MRT_Cell<TData> | null> | undefined;
|
|
175
|
+
onEditingRowSave?: (({ exitEditingMode, row, table, values, }: {
|
|
176
|
+
exitEditingMode: () => void;
|
|
177
|
+
row: MRT_Row<TData>;
|
|
178
|
+
table: MRT_TableInstance<TData>;
|
|
179
|
+
values: Record<(string & Record<never, never>) | (string & import("@tanstack/table-core").DeepKeys<TData>), any>;
|
|
180
|
+
}) => void | Promise<void>) | undefined;
|
|
181
|
+
onEditingRowChange?: import("@tanstack/table-core").OnChangeFn<MRT_Row<TData> | null> | undefined;
|
|
182
|
+
onFilterFnsChange?: import("@tanstack/table-core").OnChangeFn<{
|
|
183
|
+
[key: string]: MRT_FilterOption;
|
|
184
|
+
}> | undefined;
|
|
185
|
+
onGlobalFilterFnChange?: import("@tanstack/table-core").OnChangeFn<MRT_FilterOption> | undefined;
|
|
186
|
+
onHoveredColumnChange?: import("@tanstack/table-core").OnChangeFn<MRT_Column<TData> | null> | undefined;
|
|
187
|
+
onHoveredRowChange?: import("@tanstack/table-core").OnChangeFn<MRT_Row<TData> | null> | undefined;
|
|
188
|
+
onIsFullScreenChange?: import("@tanstack/table-core").OnChangeFn<boolean> | undefined;
|
|
189
|
+
onShowAlertBannerChange?: import("@tanstack/table-core").OnChangeFn<boolean> | undefined;
|
|
190
|
+
onShowFiltersChange?: import("@tanstack/table-core").OnChangeFn<boolean> | undefined;
|
|
191
|
+
onShowGlobalFilterChange?: import("@tanstack/table-core").OnChangeFn<boolean> | undefined;
|
|
192
|
+
positionActionsColumn?: "first" | "last" | undefined;
|
|
193
|
+
positionExpandColumn?: "first" | "last" | undefined;
|
|
194
|
+
positionGlobalFilter?: "left" | "right" | undefined;
|
|
195
|
+
positionPagination?: "bottom" | "top" | "both" | undefined;
|
|
196
|
+
positionToolbarAlertBanner?: "bottom" | "top" | "none" | undefined;
|
|
197
|
+
positionToolbarDropZone?: "bottom" | "top" | "none" | "both" | undefined;
|
|
198
|
+
renderBottomToolbar?: React.ReactNode | (({ table }: {
|
|
199
|
+
table: MRT_TableInstance<TData>;
|
|
200
|
+
}) => React.ReactNode);
|
|
201
|
+
renderBottomToolbarCustomActions?: (({ table, }: {
|
|
202
|
+
table: MRT_TableInstance<TData>;
|
|
203
|
+
}) => React.ReactNode) | undefined;
|
|
204
|
+
renderColumnActionsMenuItems?: (({ column, closeMenu, table, }: {
|
|
205
|
+
column: MRT_Column<TData>;
|
|
206
|
+
closeMenu: () => void;
|
|
207
|
+
table: MRT_TableInstance<TData>;
|
|
208
|
+
}) => React.ReactNode[]) | undefined;
|
|
209
|
+
renderColumnFilterModeMenuItems?: (({ column, internalFilterOptions, onSelectFilterMode, table, }: {
|
|
210
|
+
column: MRT_Column<TData>;
|
|
211
|
+
internalFilterOptions: import("..").MRT_InternalFilterOption[];
|
|
212
|
+
onSelectFilterMode: (filterMode: MRT_FilterOption) => void;
|
|
213
|
+
table: MRT_TableInstance<TData>;
|
|
214
|
+
}) => React.ReactNode[]) | undefined;
|
|
215
|
+
renderDetailPanel?: (({ row, table, }: {
|
|
216
|
+
row: MRT_Row<TData>;
|
|
217
|
+
table: MRT_TableInstance<TData>;
|
|
218
|
+
}) => React.ReactNode) | undefined;
|
|
219
|
+
renderGlobalFilterModeMenuItems?: (({ internalFilterOptions, onSelectFilterMode, table, }: {
|
|
220
|
+
internalFilterOptions: import("..").MRT_InternalFilterOption[];
|
|
221
|
+
onSelectFilterMode: (filterMode: MRT_FilterOption) => void;
|
|
222
|
+
table: MRT_TableInstance<TData>;
|
|
223
|
+
}) => React.ReactNode[]) | undefined;
|
|
224
|
+
renderRowActionMenuItems?: (({ closeMenu, row, table, }: {
|
|
225
|
+
closeMenu: () => void;
|
|
226
|
+
row: MRT_Row<TData>;
|
|
227
|
+
table: MRT_TableInstance<TData>;
|
|
228
|
+
}) => React.ReactNode[]) | undefined;
|
|
229
|
+
renderRowActions?: (({ cell, row, table, }: {
|
|
230
|
+
cell: MRT_Cell<TData>;
|
|
231
|
+
row: MRT_Row<TData>;
|
|
232
|
+
table: MRT_TableInstance<TData>;
|
|
233
|
+
}) => React.ReactNode) | undefined;
|
|
234
|
+
renderToolbarInternalActions?: (({ table, }: {
|
|
235
|
+
table: MRT_TableInstance<TData>;
|
|
236
|
+
}) => React.ReactNode) | undefined;
|
|
237
|
+
renderTopToolbar?: React.ReactNode | (({ table }: {
|
|
238
|
+
table: MRT_TableInstance<TData>;
|
|
239
|
+
}) => React.ReactNode);
|
|
240
|
+
renderTopToolbarCustomActions?: (({ table, }: {
|
|
241
|
+
table: MRT_TableInstance<TData>;
|
|
242
|
+
}) => React.ReactNode) | undefined;
|
|
243
|
+
rowCount?: number | undefined;
|
|
244
|
+
rowNumberMode?: "original" | "static" | undefined;
|
|
245
|
+
selectAllMode?: "all" | "page" | undefined;
|
|
246
|
+
state?: Partial<MRT_TableState<TData>> | undefined;
|
|
247
|
+
tableInstanceRef?: React.MutableRefObject<MRT_TableInstance<TData> | null> | undefined;
|
|
248
|
+
virtualizerProps?: Partial<import("react-virtual").Options<HTMLDivElement>> | (({ table, }: {
|
|
249
|
+
table: MRT_TableInstance<TData>;
|
|
250
|
+
}) => Partial<import("react-virtual").Options<HTMLDivElement>>) | undefined;
|
|
251
|
+
virtualizerInstanceRef?: React.MutableRefObject<import("..").Virtualizer | null> | undefined;
|
|
252
|
+
} & {
|
|
253
|
+
localization: MRT_Localization;
|
|
254
|
+
}) => JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
1
|
import { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
table: MRT_TableInstance;
|
|
2
|
+
interface Props<TData extends Record<string, any> = {}> {
|
|
5
3
|
position: 'top' | 'bottom';
|
|
4
|
+
table: MRT_TableInstance<TData>;
|
|
6
5
|
}
|
|
7
|
-
export declare const MRT_TablePagination:
|
|
6
|
+
export declare const MRT_TablePagination: <TData extends Record<string, any> = {}>({ table, position, }: Props<TData>) => JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
1
|
import type { MRT_TableInstance } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
table: MRT_TableInstance
|
|
2
|
+
interface Props<TData extends Record<string, any> = {}> {
|
|
3
|
+
table: MRT_TableInstance<TData>;
|
|
5
4
|
}
|
|
6
|
-
export declare const MRT_ToolbarInternalButtons:
|
|
5
|
+
export declare const MRT_ToolbarInternalButtons: <TData extends Record<string, any> = {}>({ table, }: Props<TData>) => JSX.Element;
|
|
7
6
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MutableRefObject, Dispatch, SetStateAction, ReactNode } from 'react';
|
|
2
|
-
import { ButtonProps, TextFieldProps, TableCellProps, IconButtonProps, ToolbarProps, LinearProgressProps,
|
|
2
|
+
import { ButtonProps, TextFieldProps, TableCellProps, IconButtonProps, CheckboxProps, ToolbarProps, LinearProgressProps, SkeletonProps, TableBodyProps, TableRowProps, TableContainerProps, TableFooterProps, TableHeadProps, TablePaginationProps, PaperProps, TableProps, ChipProps, AlertProps } from '@mui/material';
|
|
3
3
|
import { Row, Table, TableState, ColumnDef, DeepKeys, Column, Header, HeaderGroup, Cell, SortingFn, FilterFn, TableOptions, OnChangeFn } from '@tanstack/react-table';
|
|
4
4
|
import { Options, VirtualItem } from 'react-virtual';
|
|
5
5
|
import * as _tanstack_table_core from '@tanstack/table-core';
|
|
@@ -105,6 +105,17 @@ declare const MRT_FilterFns: {
|
|
|
105
105
|
inNumberRange: _tanstack_table_core.FilterFn<any>;
|
|
106
106
|
};
|
|
107
107
|
|
|
108
|
+
declare const MRT_SortingFns: {
|
|
109
|
+
fuzzy: <TData extends Record<string, any> = {}>(rowA: Row<TData>, rowB: Row<TData>, columnId: string) => number;
|
|
110
|
+
alphanumeric: _tanstack_table_core.SortingFn<any>;
|
|
111
|
+
alphanumericCaseSensitive: _tanstack_table_core.SortingFn<any>;
|
|
112
|
+
text: _tanstack_table_core.SortingFn<any>;
|
|
113
|
+
textCaseSensitive: _tanstack_table_core.SortingFn<any>;
|
|
114
|
+
datetime: _tanstack_table_core.SortingFn<any>;
|
|
115
|
+
basic: _tanstack_table_core.SortingFn<any>;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
declare type LiteralUnion<T extends U, U = string> = T | (U & Record<never, never>);
|
|
108
119
|
interface MRT_Localization {
|
|
109
120
|
actions: string;
|
|
110
121
|
and: string;
|
|
@@ -146,6 +157,10 @@ interface MRT_Localization {
|
|
|
146
157
|
filterStartsWith: string;
|
|
147
158
|
filterWeakEquals: string;
|
|
148
159
|
filteringByColumn: string;
|
|
160
|
+
goToFirstPage: string;
|
|
161
|
+
goToLastPage: string;
|
|
162
|
+
goToNextPage: string;
|
|
163
|
+
goToPreviousPage: string;
|
|
149
164
|
grab: string;
|
|
150
165
|
groupByColumn: string;
|
|
151
166
|
groupedBy: string;
|
|
@@ -156,6 +171,7 @@ interface MRT_Localization {
|
|
|
156
171
|
move: string;
|
|
157
172
|
noRecordsToDisplay: string;
|
|
158
173
|
noResultsFound: string;
|
|
174
|
+
of: string;
|
|
159
175
|
or: string;
|
|
160
176
|
pinToLeft: string;
|
|
161
177
|
pinToRight: string;
|
|
@@ -164,6 +180,7 @@ interface MRT_Localization {
|
|
|
164
180
|
rowActions: string;
|
|
165
181
|
rowNumber: string;
|
|
166
182
|
rowNumbers: string;
|
|
183
|
+
rowsPerPage: string;
|
|
167
184
|
save: string;
|
|
168
185
|
search: string;
|
|
169
186
|
select: string;
|
|
@@ -188,18 +205,6 @@ interface MRT_Localization {
|
|
|
188
205
|
unpinAll: string;
|
|
189
206
|
unsorted: string;
|
|
190
207
|
}
|
|
191
|
-
|
|
192
|
-
declare const MRT_SortingFns: {
|
|
193
|
-
fuzzy: <TData extends Record<string, any> = {}>(rowA: Row<TData>, rowB: Row<TData>, columnId: string) => number;
|
|
194
|
-
alphanumeric: _tanstack_table_core.SortingFn<any>;
|
|
195
|
-
alphanumericCaseSensitive: _tanstack_table_core.SortingFn<any>;
|
|
196
|
-
text: _tanstack_table_core.SortingFn<any>;
|
|
197
|
-
textCaseSensitive: _tanstack_table_core.SortingFn<any>;
|
|
198
|
-
datetime: _tanstack_table_core.SortingFn<any>;
|
|
199
|
-
basic: _tanstack_table_core.SortingFn<any>;
|
|
200
|
-
};
|
|
201
|
-
|
|
202
|
-
declare type LiteralUnion<T extends U, U = string> = T | (U & Record<never, never>);
|
|
203
208
|
interface MRT_RowModel<TData extends Record<string, any> = {}> {
|
|
204
209
|
flatRows: MRT_Row<TData>[];
|
|
205
210
|
rows: MRT_Row<TData>[];
|
|
@@ -297,9 +302,10 @@ declare type MRT_ColumnDef<TData extends Record<string, any> = {}> = Omit<Column
|
|
|
297
302
|
row: MRT_Row<TData>;
|
|
298
303
|
table: MRT_TableInstance<TData>;
|
|
299
304
|
}) => ReactNode;
|
|
300
|
-
Filter?: ({ column, header, table, }: {
|
|
305
|
+
Filter?: ({ column, header, rangeFilterIndex, table, }: {
|
|
301
306
|
column: MRT_Column<TData>;
|
|
302
307
|
header: MRT_Header<TData>;
|
|
308
|
+
rangeFilterIndex?: number;
|
|
303
309
|
table: MRT_TableInstance<TData>;
|
|
304
310
|
}) => ReactNode;
|
|
305
311
|
Footer?: ReactNode | (({ column, footer, table, }: {
|
|
@@ -356,7 +362,7 @@ declare type MRT_ColumnDef<TData extends Record<string, any> = {}> = Omit<Column
|
|
|
356
362
|
text: string;
|
|
357
363
|
value: any;
|
|
358
364
|
})[];
|
|
359
|
-
filterVariant?: 'text' | 'select' | 'multi-select' | 'range';
|
|
365
|
+
filterVariant?: 'text' | 'select' | 'multi-select' | 'range' | 'checkbox';
|
|
360
366
|
/**
|
|
361
367
|
* footer must be a string. If you want custom JSX to render the footer, you can also specify a `Footer` option. (Capital F)
|
|
362
368
|
*/
|
|
@@ -387,9 +393,11 @@ declare type MRT_ColumnDef<TData extends Record<string, any> = {}> = Omit<Column
|
|
|
387
393
|
row: MRT_Row<TData>;
|
|
388
394
|
table: MRT_TableInstance<TData>;
|
|
389
395
|
}) => TextFieldProps);
|
|
390
|
-
muiTableBodyCellProps?: TableCellProps | (({ cell, table, }: {
|
|
391
|
-
table: MRT_TableInstance<TData>;
|
|
396
|
+
muiTableBodyCellProps?: TableCellProps | (({ cell, column, row, table, }: {
|
|
392
397
|
cell: MRT_Cell<TData>;
|
|
398
|
+
column: MRT_Column<TData>;
|
|
399
|
+
row: MRT_Row<TData>;
|
|
400
|
+
table: MRT_TableInstance<TData>;
|
|
393
401
|
}) => TableCellProps);
|
|
394
402
|
muiTableFooterCellProps?: TableCellProps | (({ table, column, }: {
|
|
395
403
|
table: MRT_TableInstance<TData>;
|
|
@@ -403,6 +411,10 @@ declare type MRT_ColumnDef<TData extends Record<string, any> = {}> = Omit<Column
|
|
|
403
411
|
table: MRT_TableInstance<TData>;
|
|
404
412
|
column: MRT_Column<TData>;
|
|
405
413
|
}) => IconButtonProps);
|
|
414
|
+
muiTableHeadCellFilterCheckboxProps?: CheckboxProps | (({ column, table, }: {
|
|
415
|
+
column: MRT_Column<TData>;
|
|
416
|
+
table: MRT_TableInstance<TData>;
|
|
417
|
+
}) => CheckboxProps);
|
|
406
418
|
muiTableHeadCellFilterTextFieldProps?: TextFieldProps | (({ table, column, rangeFilterIndex, }: {
|
|
407
419
|
table: MRT_TableInstance<TData>;
|
|
408
420
|
column: MRT_Column<TData>;
|
|
@@ -599,6 +611,10 @@ declare type MaterialReactTableProps<TData extends Record<string, any> = {}> = O
|
|
|
599
611
|
table: MRT_TableInstance<TData>;
|
|
600
612
|
column: MRT_Column<TData>;
|
|
601
613
|
}) => IconButtonProps);
|
|
614
|
+
muiTableHeadCellFilterCheckboxProps?: CheckboxProps | (({ column, table, }: {
|
|
615
|
+
column: MRT_Column<TData>;
|
|
616
|
+
table: MRT_TableInstance<TData>;
|
|
617
|
+
}) => CheckboxProps);
|
|
602
618
|
muiTableHeadCellFilterTextFieldProps?: TextFieldProps | (({ table, column, rangeFilterIndex, }: {
|
|
603
619
|
table: MRT_TableInstance<TData>;
|
|
604
620
|
column: MRT_Column<TData>;
|
|
@@ -660,9 +676,9 @@ declare type MaterialReactTableProps<TData extends Record<string, any> = {}> = O
|
|
|
660
676
|
positionPagination?: 'bottom' | 'top' | 'both';
|
|
661
677
|
positionToolbarAlertBanner?: 'bottom' | 'top' | 'none';
|
|
662
678
|
positionToolbarDropZone?: 'bottom' | 'top' | 'none' | 'both';
|
|
663
|
-
renderBottomToolbar?: ({ table
|
|
679
|
+
renderBottomToolbar?: ReactNode | (({ table }: {
|
|
664
680
|
table: MRT_TableInstance<TData>;
|
|
665
|
-
}) => ReactNode
|
|
681
|
+
}) => ReactNode);
|
|
666
682
|
renderBottomToolbarCustomActions?: ({ table, }: {
|
|
667
683
|
table: MRT_TableInstance<TData>;
|
|
668
684
|
}) => ReactNode;
|
|
@@ -699,9 +715,9 @@ declare type MaterialReactTableProps<TData extends Record<string, any> = {}> = O
|
|
|
699
715
|
renderToolbarInternalActions?: ({ table, }: {
|
|
700
716
|
table: MRT_TableInstance<TData>;
|
|
701
717
|
}) => ReactNode;
|
|
702
|
-
renderTopToolbar?: ({ table
|
|
718
|
+
renderTopToolbar?: ReactNode | (({ table }: {
|
|
703
719
|
table: MRT_TableInstance<TData>;
|
|
704
|
-
}) => ReactNode
|
|
720
|
+
}) => ReactNode);
|
|
705
721
|
renderTopToolbarCustomActions?: ({ table, }: {
|
|
706
722
|
table: MRT_TableInstance<TData>;
|
|
707
723
|
}) => ReactNode;
|
|
@@ -722,43 +738,54 @@ declare type Virtualizer = {
|
|
|
722
738
|
scrollToIndex: (index: number, options?: any | undefined) => void;
|
|
723
739
|
measure: () => void;
|
|
724
740
|
};
|
|
725
|
-
declare const
|
|
741
|
+
declare const MaterialReactTable: <TData extends Record<string, any> = {}>({ aggregationFns, autoResetExpanded, columnResizeMode, defaultColumn, defaultDisplayColumn, editingMode, enableBottomToolbar, enableColumnActions, enableColumnFilters, enableColumnOrdering, enableColumnResizing, enableDensityToggle, enableExpandAll, enableFilters, enableFullScreenToggle, enableGlobalFilter, enableGlobalFilterRankedResults, enableGrouping, enableHiding, enableMultiRowSelection, enableMultiSort, enablePagination, enablePinning, enableRowSelection, enableSelectAll, enableSorting, enableStickyHeader, enableTableFooter, enableTableHead, enableToolbarInternalActions, enableTopToolbar, filterFns, icons, localization, positionActionsColumn, positionExpandColumn, positionGlobalFilter, positionPagination, positionToolbarAlertBanner, positionToolbarDropZone, rowNumberMode, selectAllMode, sortingFns, ...rest }: MaterialReactTableProps<TData>) => JSX.Element;
|
|
726
742
|
|
|
727
|
-
interface Props$
|
|
743
|
+
interface Props$8<TData extends Record<string, any> = {}> {
|
|
728
744
|
cell: MRT_Cell<TData>;
|
|
729
745
|
children: ReactNode;
|
|
730
746
|
table: MRT_TableInstance<TData>;
|
|
731
747
|
}
|
|
732
|
-
declare const MRT_CopyButton: <TData extends Record<string, any> = {}>({ cell, children, table, }: Props$
|
|
748
|
+
declare const MRT_CopyButton: <TData extends Record<string, any> = {}>({ cell, children, table, }: Props$8<TData>) => JSX.Element;
|
|
749
|
+
|
|
750
|
+
interface Props$7<TData extends Record<string, any> = {}> extends IconButtonProps {
|
|
751
|
+
table: MRT_TableInstance<TData>;
|
|
752
|
+
}
|
|
753
|
+
declare const MRT_FullScreenToggleButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$7<TData>) => JSX.Element;
|
|
754
|
+
|
|
755
|
+
interface Props$6<TData extends Record<string, any> = {}> {
|
|
756
|
+
table: MRT_TableInstance<TData>;
|
|
757
|
+
}
|
|
758
|
+
declare const MRT_GlobalFilterTextField: <TData extends Record<string, any> = {}>({ table, }: Props$6<TData>) => JSX.Element;
|
|
733
759
|
|
|
734
760
|
interface Props$5<TData extends Record<string, any> = {}> extends IconButtonProps {
|
|
735
761
|
table: MRT_TableInstance<TData>;
|
|
736
762
|
}
|
|
737
|
-
declare const
|
|
763
|
+
declare const MRT_ShowHideColumnsButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$5<TData>) => JSX.Element;
|
|
738
764
|
|
|
739
765
|
interface Props$4<TData extends Record<string, any> = {}> {
|
|
766
|
+
position: 'top' | 'bottom';
|
|
740
767
|
table: MRT_TableInstance<TData>;
|
|
741
768
|
}
|
|
742
|
-
declare const
|
|
769
|
+
declare const MRT_TablePagination: <TData extends Record<string, any> = {}>({ table, position, }: Props$4<TData>) => JSX.Element;
|
|
743
770
|
|
|
744
771
|
interface Props$3<TData extends Record<string, any> = {}> extends IconButtonProps {
|
|
745
772
|
table: MRT_TableInstance<TData>;
|
|
746
773
|
}
|
|
747
|
-
declare const
|
|
774
|
+
declare const MRT_ToggleDensePaddingButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$3<TData>) => JSX.Element;
|
|
748
775
|
|
|
749
776
|
interface Props$2<TData extends Record<string, any> = {}> extends IconButtonProps {
|
|
750
777
|
table: MRT_TableInstance<TData>;
|
|
751
778
|
}
|
|
752
|
-
declare const
|
|
779
|
+
declare const MRT_ToggleFiltersButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$2<TData>) => JSX.Element;
|
|
753
780
|
|
|
754
781
|
interface Props$1<TData extends Record<string, any> = {}> extends IconButtonProps {
|
|
755
782
|
table: MRT_TableInstance<TData>;
|
|
756
783
|
}
|
|
757
|
-
declare const
|
|
784
|
+
declare const MRT_ToggleGlobalFilterButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$1<TData>) => JSX.Element;
|
|
758
785
|
|
|
759
|
-
interface Props<TData extends Record<string, any> = {}>
|
|
786
|
+
interface Props<TData extends Record<string, any> = {}> {
|
|
760
787
|
table: MRT_TableInstance<TData>;
|
|
761
788
|
}
|
|
762
|
-
declare const
|
|
789
|
+
declare const MRT_ToolbarInternalButtons: <TData extends Record<string, any> = {}>({ table, }: Props<TData>) => JSX.Element;
|
|
763
790
|
|
|
764
|
-
export { MRT_Cell, MRT_Column, MRT_ColumnDef, MRT_CopyButton, MRT_DefinedColumnDef, MRT_DisplayColumnIds, MRT_FilterFn, MRT_FilterOption, MRT_FullScreenToggleButton, MRT_GlobalFilterTextField, MRT_Header, MRT_HeaderGroup, MRT_Icons, MRT_InternalFilterOption, MRT_Localization, MRT_Row, MRT_RowModel, MRT_ShowHideColumnsButton, MRT_SortingFn, MRT_SortingOption, MRT_TableInstance, MRT_TableState, MRT_ToggleDensePaddingButton, MRT_ToggleFiltersButton, MRT_ToggleGlobalFilterButton, MaterialReactTableProps, Virtualizer,
|
|
791
|
+
export { MRT_Cell, MRT_Column, MRT_ColumnDef, MRT_CopyButton, MRT_DefinedColumnDef, MRT_DisplayColumnIds, MRT_FilterFn, MRT_FilterOption, MRT_FullScreenToggleButton, MRT_GlobalFilterTextField, MRT_Header, MRT_HeaderGroup, MRT_Icons, MRT_InternalFilterOption, MRT_Localization, MRT_Row, MRT_RowModel, MRT_ShowHideColumnsButton, MRT_SortingFn, MRT_SortingOption, MRT_TableInstance, MRT_TablePagination, MRT_TableState, MRT_ToggleDensePaddingButton, MRT_ToggleFiltersButton, MRT_ToggleGlobalFilterButton, MRT_ToolbarInternalButtons, MaterialReactTableProps, Virtualizer, MaterialReactTable as default };
|
package/locales/en.d.ts
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
const MRT_Localization_EN = {
|
|
2
|
+
actions: 'Actions',
|
|
3
|
+
and: 'and',
|
|
4
|
+
cancel: 'Cancel',
|
|
5
|
+
changeFilterMode: 'Change filter mode',
|
|
6
|
+
changeSearchMode: 'Change search mode',
|
|
7
|
+
clearFilter: 'Clear filter',
|
|
8
|
+
clearSearch: 'Clear search',
|
|
9
|
+
clearSort: 'Clear sort',
|
|
10
|
+
clickToCopy: 'Click to copy',
|
|
11
|
+
columnActions: 'Column Actions',
|
|
12
|
+
copiedToClipboard: 'Copied to clipboard',
|
|
13
|
+
dropToGroupBy: 'Drop to group by {column}',
|
|
14
|
+
edit: 'Edit',
|
|
15
|
+
expand: 'Expand',
|
|
16
|
+
expandAll: 'Expand all',
|
|
17
|
+
filterArrIncludes: 'Includes',
|
|
18
|
+
filterArrIncludesAll: 'Includes all',
|
|
19
|
+
filterArrIncludesSome: 'Includes',
|
|
20
|
+
filterBetween: 'Between',
|
|
21
|
+
filterBetweenInclusive: 'Between Inclusive',
|
|
22
|
+
filterByColumn: 'Filter by {column}',
|
|
23
|
+
filterContains: 'Contains',
|
|
24
|
+
filterEmpty: 'Empty',
|
|
25
|
+
filterEndsWith: 'Ends With',
|
|
26
|
+
filterEquals: 'Equals',
|
|
27
|
+
filterEqualsString: 'Equals',
|
|
28
|
+
filterFuzzy: 'Fuzzy',
|
|
29
|
+
filterGreaterThan: 'Greater Than',
|
|
30
|
+
filterGreaterThanOrEqualTo: 'Greater Than Or Equal To',
|
|
31
|
+
filterInNumberRange: 'Between',
|
|
32
|
+
filterIncludesString: 'Contains',
|
|
33
|
+
filterIncludesStringSensitive: 'Contains',
|
|
34
|
+
filterLessThan: 'Less Than',
|
|
35
|
+
filterLessThanOrEqualTo: 'Less Than Or Equal To',
|
|
36
|
+
filterMode: 'Filter Mode: {filterType}',
|
|
37
|
+
filterNotEmpty: 'Not Empty',
|
|
38
|
+
filterNotEquals: 'Not Equals',
|
|
39
|
+
filterStartsWith: 'Starts With',
|
|
40
|
+
filterWeakEquals: 'Equals',
|
|
41
|
+
filteringByColumn: 'Filtering by {column} - {filterType} {filterValue}',
|
|
42
|
+
goToFirstPage: 'Go to first page',
|
|
43
|
+
goToLastPage: 'Go to last page',
|
|
44
|
+
goToNextPage: 'Go to next page',
|
|
45
|
+
goToPreviousPage: 'Go to previous page',
|
|
46
|
+
grab: 'Grab',
|
|
47
|
+
groupByColumn: 'Group by {column}',
|
|
48
|
+
groupedBy: 'Grouped by ',
|
|
49
|
+
hideAll: 'Hide all',
|
|
50
|
+
hideColumn: 'Hide {column} column',
|
|
51
|
+
max: 'Max',
|
|
52
|
+
min: 'Min',
|
|
53
|
+
move: 'Move',
|
|
54
|
+
noRecordsToDisplay: 'No records to display',
|
|
55
|
+
noResultsFound: 'No results found',
|
|
56
|
+
of: 'of',
|
|
57
|
+
or: 'or',
|
|
58
|
+
pinToLeft: 'Pin to left',
|
|
59
|
+
pinToRight: 'Pin to right',
|
|
60
|
+
resetColumnSize: 'Reset column size',
|
|
61
|
+
resetOrder: 'Reset order',
|
|
62
|
+
rowActions: 'Row Actions',
|
|
63
|
+
rowNumber: '#',
|
|
64
|
+
rowNumbers: 'Row Numbers',
|
|
65
|
+
rowsPerPage: 'Rows per page',
|
|
66
|
+
save: 'Save',
|
|
67
|
+
search: 'Search',
|
|
68
|
+
selectedCountOfRowCountRowsSelected: '{selectedCount} of {rowCount} row(s) selected',
|
|
69
|
+
select: 'Select',
|
|
70
|
+
showAll: 'Show all',
|
|
71
|
+
showAllColumns: 'Show all columns',
|
|
72
|
+
showHideColumns: 'Show/Hide columns',
|
|
73
|
+
showHideFilters: 'Show/Hide filters',
|
|
74
|
+
showHideSearch: 'Show/Hide search',
|
|
75
|
+
sortByColumnAsc: 'Sort by {column} ascending',
|
|
76
|
+
sortByColumnDesc: 'Sort by {column} descending',
|
|
77
|
+
sortedByColumnAsc: 'Sorted by {column} ascending',
|
|
78
|
+
sortedByColumnDesc: 'Sorted by {column} descending',
|
|
79
|
+
thenBy: ', then by ',
|
|
80
|
+
toggleDensity: 'Toggle density',
|
|
81
|
+
toggleFullScreen: 'Toggle full screen',
|
|
82
|
+
toggleSelectAll: 'Toggle select all',
|
|
83
|
+
toggleSelectRow: 'Toggle select row',
|
|
84
|
+
toggleVisibility: 'Toggle visibility',
|
|
85
|
+
ungroupByColumn: 'Ungroup by {column}',
|
|
86
|
+
unpin: 'Unpin',
|
|
87
|
+
unpinAll: 'Unpin all',
|
|
88
|
+
unsorted: 'Unsorted',
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export { MRT_Localization_EN };
|
|
92
|
+
//# sourceMappingURL=en.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en.esm.js","sources":["../src/_locales/en.ts"],"sourcesContent":[null],"names":[],"mappings":"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"}
|