material-react-table 1.12.0-beta.0 → 1.12.0-beta.1
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/dist/cjs/index.js +17 -13
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/_locales/cs.d.ts +1 -1
- package/dist/cjs/types/_locales/da.d.ts +1 -1
- package/dist/cjs/types/_locales/de.d.ts +1 -1
- package/dist/cjs/types/_locales/en.d.ts +1 -1
- package/dist/cjs/types/_locales/es.d.ts +1 -1
- package/dist/cjs/types/_locales/fa.d.ts +1 -1
- package/dist/cjs/types/_locales/fi.d.ts +1 -1
- package/dist/cjs/types/_locales/fr.d.ts +1 -1
- package/dist/cjs/types/_locales/hu.d.ts +1 -1
- package/dist/cjs/types/_locales/id.d.ts +1 -1
- package/dist/cjs/types/_locales/it.d.ts +1 -1
- package/dist/cjs/types/_locales/ja.d.ts +1 -1
- package/dist/cjs/types/_locales/nl.d.ts +1 -1
- package/dist/cjs/types/_locales/pl.d.ts +1 -1
- package/dist/cjs/types/_locales/pt-BR.d.ts +1 -1
- package/dist/cjs/types/_locales/pt.d.ts +1 -1
- package/dist/cjs/types/_locales/ro.d.ts +1 -1
- package/dist/cjs/types/_locales/ru.d.ts +1 -1
- package/dist/cjs/types/_locales/sk.d.ts +1 -1
- package/dist/cjs/types/_locales/sr-Cyrl-RS.d.ts +1 -1
- package/dist/cjs/types/_locales/sr-Latn-RS.d.ts +1 -1
- package/dist/cjs/types/_locales/sv.d.ts +1 -1
- package/dist/cjs/types/_locales/tr.d.ts +1 -1
- package/dist/cjs/types/_locales/uk.d.ts +1 -1
- package/dist/cjs/types/_locales/vi.d.ts +1 -1
- package/dist/cjs/types/_locales/zh-Hans.d.ts +1 -1
- package/dist/cjs/types/_locales/zh-Hant.d.ts +1 -1
- package/dist/esm/material-react-table.esm.js +20 -14
- package/dist/esm/material-react-table.esm.js.map +1 -1
- package/dist/esm/types/_locales/cs.d.ts +1 -1
- package/dist/esm/types/_locales/da.d.ts +1 -1
- package/dist/esm/types/_locales/de.d.ts +1 -1
- package/dist/esm/types/_locales/en.d.ts +1 -1
- package/dist/esm/types/_locales/es.d.ts +1 -1
- package/dist/esm/types/_locales/fa.d.ts +1 -1
- package/dist/esm/types/_locales/fi.d.ts +1 -1
- package/dist/esm/types/_locales/fr.d.ts +1 -1
- package/dist/esm/types/_locales/hu.d.ts +1 -1
- package/dist/esm/types/_locales/id.d.ts +1 -1
- package/dist/esm/types/_locales/it.d.ts +1 -1
- package/dist/esm/types/_locales/ja.d.ts +1 -1
- package/dist/esm/types/_locales/nl.d.ts +1 -1
- package/dist/esm/types/_locales/pl.d.ts +1 -1
- package/dist/esm/types/_locales/pt-BR.d.ts +1 -1
- package/dist/esm/types/_locales/pt.d.ts +1 -1
- package/dist/esm/types/_locales/ro.d.ts +1 -1
- package/dist/esm/types/_locales/ru.d.ts +1 -1
- package/dist/esm/types/_locales/sk.d.ts +1 -1
- package/dist/esm/types/_locales/sr-Cyrl-RS.d.ts +1 -1
- package/dist/esm/types/_locales/sr-Latn-RS.d.ts +1 -1
- package/dist/esm/types/_locales/sv.d.ts +1 -1
- package/dist/esm/types/_locales/tr.d.ts +1 -1
- package/dist/esm/types/_locales/uk.d.ts +1 -1
- package/dist/esm/types/_locales/vi.d.ts +1 -1
- package/dist/esm/types/_locales/zh-Hans.d.ts +1 -1
- package/dist/esm/types/_locales/zh-Hant.d.ts +1 -1
- package/dist/index.d.ts +3 -4
- package/locales/cs.d.ts +1 -1
- package/locales/cs.esm.d.ts +1 -1
- package/locales/da.d.ts +1 -1
- package/locales/da.esm.d.ts +1 -1
- package/locales/de.d.ts +1 -1
- package/locales/de.esm.d.ts +1 -1
- package/locales/en.d.ts +1 -1
- package/locales/en.esm.d.ts +1 -1
- package/locales/es.d.ts +1 -1
- package/locales/es.esm.d.ts +1 -1
- package/locales/fa.d.ts +1 -1
- package/locales/fa.esm.d.ts +1 -1
- package/locales/fi.d.ts +1 -1
- package/locales/fi.esm.d.ts +1 -1
- package/locales/fr.d.ts +1 -1
- package/locales/fr.esm.d.ts +1 -1
- package/locales/hu.d.ts +1 -1
- package/locales/hu.esm.d.ts +1 -1
- package/locales/id.d.ts +1 -1
- package/locales/id.esm.d.ts +1 -1
- package/locales/it.d.ts +1 -1
- package/locales/it.esm.d.ts +1 -1
- package/locales/ja.d.ts +1 -1
- package/locales/ja.esm.d.ts +1 -1
- package/locales/nl.d.ts +1 -1
- package/locales/nl.esm.d.ts +1 -1
- package/locales/pl.d.ts +1 -1
- package/locales/pl.esm.d.ts +1 -1
- package/locales/pt-BR.d.ts +1 -1
- package/locales/pt-BR.esm.d.ts +1 -1
- package/locales/pt.d.ts +1 -1
- package/locales/pt.esm.d.ts +1 -1
- package/locales/ro.d.ts +1 -1
- package/locales/ro.esm.d.ts +1 -1
- package/locales/ru.d.ts +1 -1
- package/locales/ru.esm.d.ts +1 -1
- package/locales/sk.d.ts +1 -1
- package/locales/sk.esm.d.ts +1 -1
- package/locales/sr-Cyrl-RS.d.ts +1 -1
- package/locales/sr-Cyrl-RS.esm.d.ts +1 -1
- package/locales/sr-Latn-RS.d.ts +1 -1
- package/locales/sr-Latn-RS.esm.d.ts +1 -1
- package/locales/sv.d.ts +1 -1
- package/locales/sv.esm.d.ts +1 -1
- package/locales/tr.d.ts +1 -1
- package/locales/tr.esm.d.ts +1 -1
- package/locales/uk.d.ts +1 -1
- package/locales/uk.esm.d.ts +1 -1
- package/locales/vi.d.ts +1 -1
- package/locales/vi.esm.d.ts +1 -1
- package/locales/zh-Hans.d.ts +1 -1
- package/locales/zh-Hans.esm.d.ts +1 -1
- package/locales/zh-Hant.d.ts +1 -1
- package/locales/zh-Hant.esm.d.ts +1 -1
- package/package.json +2 -2
- package/src/_locales/cs.ts +1 -1
- package/src/_locales/da.ts +1 -1
- package/src/_locales/de.ts +1 -1
- package/src/_locales/en.ts +1 -1
- package/src/_locales/es.ts +1 -1
- package/src/_locales/fa.ts +1 -1
- package/src/_locales/fi.ts +1 -1
- package/src/_locales/fr.ts +1 -1
- package/src/_locales/hu.ts +1 -1
- package/src/_locales/id.ts +1 -1
- package/src/_locales/it.ts +1 -1
- package/src/_locales/ja.ts +1 -1
- package/src/_locales/nl.ts +1 -1
- package/src/_locales/pl.ts +1 -1
- package/src/_locales/pt-BR.ts +1 -1
- package/src/_locales/pt.ts +1 -1
- package/src/_locales/ro.ts +1 -1
- package/src/_locales/ru.ts +1 -1
- package/src/_locales/sk.ts +1 -1
- package/src/_locales/sr-Cyrl-RS.ts +1 -1
- package/src/_locales/sr-Latn-RS.ts +1 -1
- package/src/_locales/sv.ts +1 -1
- package/src/_locales/tr.ts +1 -1
- package/src/_locales/uk.ts +1 -1
- package/src/_locales/vi.ts +1 -1
- package/src/_locales/zh-Hans.ts +1 -1
- package/src/_locales/zh-Hant.ts +1 -1
- package/src/column.utils.ts +1 -1
- package/src/filterFns.ts +5 -1
- package/src/footer/MRT_TableFooterRow.tsx +5 -1
- package/src/head/MRT_TableHeadRow.tsx +5 -1
- package/src/inputs/MRT_EditCellTextField.tsx +6 -1
- package/src/menus/MRT_ShowHideColumnsMenuItems.tsx +7 -1
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_CS: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_DA: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_DE: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_EN: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_ES: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_FA: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_FI: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_FR: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_HU: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_ID: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_IT: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_JA: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_NL: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_PL: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_PT_BR: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_PT: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_RO: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_RU: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_SK: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_SR_CYRL_RS: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_SR_LATN_RS: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_SV: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_TR: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_UK: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_VI: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_ZH_HANS: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { type MRT_Localization } from '
|
1
|
+
import { type MRT_Localization } from '..';
|
2
2
|
export declare const MRT_Localization_ZH_HANT: MRT_Localization;
|
@@ -76,19 +76,19 @@ import DialogContent from '@mui/material/DialogContent';
|
|
76
76
|
import DialogTitle from '@mui/material/DialogTitle';
|
77
77
|
import Stack from '@mui/material/Stack';
|
78
78
|
|
79
|
-
/******************************************************************************
|
80
|
-
Copyright (c) Microsoft Corporation.
|
81
|
-
|
82
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
83
|
-
purpose with or without fee is hereby granted.
|
84
|
-
|
85
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
86
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
87
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
88
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
89
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
90
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
91
|
-
PERFORMANCE OF THIS SOFTWARE.
|
79
|
+
/******************************************************************************
|
80
|
+
Copyright (c) Microsoft Corporation.
|
81
|
+
|
82
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
83
|
+
purpose with or without fee is hereby granted.
|
84
|
+
|
85
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
86
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
87
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
88
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
89
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
90
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
91
|
+
PERFORMANCE OF THIS SOFTWARE.
|
92
92
|
***************************************************************************** */
|
93
93
|
function __rest(s, e) {
|
94
94
|
var t = {};
|
@@ -2942,5 +2942,11 @@ const MaterialReactTable = (_a) => {
|
|
2942
2942
|
return (jsx(MRT_TableRoot, Object.assign({ aggregationFns: _aggregationFns, autoResetExpanded: autoResetExpanded, columnResizeMode: columnResizeMode, defaultColumn: _defaultColumn, defaultDisplayColumn: _defaultDisplayColumn, editingMode: editingMode, enableBottomToolbar: enableBottomToolbar, enableColumnActions: enableColumnActions, enableColumnFilters: enableColumnFilters, enableColumnOrdering: enableColumnOrdering, enableColumnResizing: enableColumnResizing, enableDensityToggle: enableDensityToggle, enableExpandAll: enableExpandAll, enableFilterMatchHighlighting: enableFilterMatchHighlighting, enableFilters: enableFilters, enableFullScreenToggle: enableFullScreenToggle, enableGlobalFilter: enableGlobalFilter, enableGlobalFilterRankedResults: enableGlobalFilterRankedResults, enableGrouping: enableGrouping, enableHiding: enableHiding, enableMultiRowSelection: enableMultiRowSelection, enableMultiSort: enableMultiSort, enablePagination: enablePagination, enablePinning: enablePinning, enableRowSelection: enableRowSelection, enableSelectAll: enableSelectAll, enableSorting: enableSorting, enableStickyHeader: enableStickyHeader, enableTableFooter: enableTableFooter, enableTableHead: enableTableHead, enableToolbarInternalActions: enableToolbarInternalActions, enableTopToolbar: enableTopToolbar, filterFns: _filterFns, icons: _icons, layoutMode: layoutMode, localization: _localization, manualFiltering: manualFiltering, manualGrouping: manualGrouping, manualPagination: manualPagination, manualSorting: manualSorting, positionActionsColumn: positionActionsColumn, positionExpandColumn: positionExpandColumn, positionGlobalFilter: positionGlobalFilter, positionPagination: positionPagination, positionToolbarAlertBanner: positionToolbarAlertBanner, positionToolbarDropZone: positionToolbarDropZone, rowNumberMode: rowNumberMode, selectAllMode: selectAllMode, sortingFns: _sortingFns }, rest)));
|
2943
2943
|
};
|
2944
2944
|
|
2945
|
-
export { MRT_AggregationFns, MRT_BottomToolbar, MRT_CopyButton, MRT_EditActionButtons, MRT_ExpandButton, MRT_FilterFns, MRT_FilterOptionMenu, MRT_FullScreenToggleButton, MRT_GlobalFilterTextField, MRT_GrabHandleButton, MRT_ShowHideColumnsButton, MRT_SortingFns, MRT_TableHeadCellFilterContainer, MRT_TablePagination, MRT_ToggleDensePaddingButton, MRT_ToggleFiltersButton, MRT_ToggleGlobalFilterButton, MRT_ToggleRowActionMenuButton, MRT_ToolbarAlertBanner, MRT_ToolbarDropZone, MRT_ToolbarInternalButtons, MRT_TopToolbar, MaterialReactTable
|
2945
|
+
export { MRT_AggregationFns, MRT_BottomToolbar, MRT_CopyButton, MRT_EditActionButtons, MRT_ExpandButton, MRT_FilterFns, MRT_FilterOptionMenu, MRT_FullScreenToggleButton, MRT_GlobalFilterTextField, MRT_GrabHandleButton, MRT_ShowHideColumnsButton, MRT_SortingFns, MRT_TableHeadCellFilterContainer, MRT_TablePagination, MRT_ToggleDensePaddingButton, MRT_ToggleFiltersButton, MRT_ToggleGlobalFilterButton, MRT_ToggleRowActionMenuButton, MRT_ToolbarAlertBanner, MRT_ToolbarDropZone, MRT_ToolbarInternalButtons, MRT_TopToolbar, MaterialReactTable };
|
2946
2946
|
//# sourceMappingURL=material-react-table.esm.js.map
|
2947
|
+
|
2948
|
+
/**
|
2949
|
+
* @deprecated Use `import { MaterialReactTable } from 'material-react-table';` instead
|
2950
|
+
*/
|
2951
|
+
const _defaultExport = MaterialReactTable;
|
2952
|
+
export { _defaultExport as default };
|