@mui/x-data-grid 7.22.3 → 8.0.0-alpha.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/CHANGELOG.md +348 -12
- package/README.md +4 -4
- package/components/GridLoadingOverlay.d.ts +2 -2
- package/components/GridLoadingOverlay.js +4 -4
- package/components/GridRow.js +2 -27
- package/components/base/GridOverlays.js +5 -2
- package/components/cell/GridActionsCell.js +1 -2
- package/components/cell/GridActionsCellItem.js +1 -2
- package/components/cell/GridCell.js +3 -0
- package/components/containers/GridRootStyles.js +1 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +3 -4
- package/components/toolbar/GridToolbarColumnsButton.js +1 -1
- package/components/toolbar/GridToolbarDensitySelector.js +2 -4
- package/components/toolbar/GridToolbarExport.js +5 -3
- package/components/toolbar/GridToolbarExportContainer.js +1 -2
- package/constants/gridClasses.d.ts +20 -0
- package/constants/gridClasses.js +1 -1
- package/constants/localeTextConstants.js +11 -0
- package/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -1
- package/hooks/features/columnResize/useGridColumnResize.js +4 -2
- package/index.js +1 -1
- package/internals/index.d.ts +1 -0
- package/internals/index.js +1 -0
- package/joy/joySlots.js +7 -2
- package/locales/arSD.js +12 -0
- package/locales/beBY.js +12 -0
- package/locales/bgBG.js +12 -0
- package/locales/csCZ.js +12 -0
- package/locales/daDK.js +12 -0
- package/locales/deDE.js +12 -0
- package/locales/elGR.js +12 -0
- package/locales/esES.js +12 -0
- package/locales/faIR.js +12 -0
- package/locales/fiFI.js +12 -0
- package/locales/frFR.js +12 -0
- package/locales/heIL.js +12 -0
- package/locales/hrHR.js +12 -0
- package/locales/huHU.js +12 -0
- package/locales/isIS.js +12 -0
- package/locales/itIT.js +12 -0
- package/locales/jaJP.js +12 -0
- package/locales/koKR.js +12 -0
- package/locales/nbNO.js +12 -0
- package/locales/nlNL.js +12 -0
- package/locales/nnNO.js +12 -0
- package/locales/plPL.js +37 -27
- package/locales/ptBR.js +12 -0
- package/locales/ptPT.js +12 -0
- package/locales/roRO.js +12 -0
- package/locales/ruRU.js +12 -0
- package/locales/skSK.js +12 -0
- package/locales/svSE.js +12 -0
- package/locales/trTR.js +12 -0
- package/locales/ukUA.js +12 -0
- package/locales/urPK.js +12 -0
- package/locales/viVN.js +12 -0
- package/locales/zhCN.js +12 -0
- package/locales/zhHK.js +12 -0
- package/locales/zhTW.js +12 -0
- package/material/index.js +4 -0
- package/models/api/gridLocaleTextApi.d.ts +10 -0
- package/models/colDef/gridColDef.d.ts +4 -0
- package/models/gridDataSource.d.ts +12 -12
- package/models/gridSlotsComponent.d.ts +10 -0
- package/models/gridSlotsComponentsProps.d.ts +8 -0
- package/modern/components/GridLoadingOverlay.js +4 -4
- package/modern/components/GridRow.js +2 -27
- package/modern/components/base/GridOverlays.js +5 -2
- package/modern/components/cell/GridActionsCell.js +1 -2
- package/modern/components/cell/GridActionsCellItem.js +1 -2
- package/modern/components/cell/GridCell.js +3 -0
- package/modern/components/containers/GridRootStyles.js +1 -0
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -2
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -2
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -2
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +3 -4
- package/modern/components/toolbar/GridToolbarColumnsButton.js +1 -1
- package/modern/components/toolbar/GridToolbarDensitySelector.js +2 -4
- package/modern/components/toolbar/GridToolbarExport.js +5 -3
- package/modern/components/toolbar/GridToolbarExportContainer.js +1 -2
- package/modern/constants/gridClasses.js +1 -1
- package/modern/constants/localeTextConstants.js +11 -0
- package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -1
- package/modern/hooks/features/columnResize/useGridColumnResize.js +4 -2
- package/modern/index.js +1 -1
- package/modern/internals/index.js +1 -0
- package/modern/joy/joySlots.js +7 -2
- package/modern/locales/arSD.js +12 -0
- package/modern/locales/beBY.js +12 -0
- package/modern/locales/bgBG.js +12 -0
- package/modern/locales/csCZ.js +12 -0
- package/modern/locales/daDK.js +12 -0
- package/modern/locales/deDE.js +12 -0
- package/modern/locales/elGR.js +12 -0
- package/modern/locales/esES.js +12 -0
- package/modern/locales/faIR.js +12 -0
- package/modern/locales/fiFI.js +12 -0
- package/modern/locales/frFR.js +12 -0
- package/modern/locales/heIL.js +12 -0
- package/modern/locales/hrHR.js +12 -0
- package/modern/locales/huHU.js +12 -0
- package/modern/locales/isIS.js +12 -0
- package/modern/locales/itIT.js +12 -0
- package/modern/locales/jaJP.js +12 -0
- package/modern/locales/koKR.js +12 -0
- package/modern/locales/nbNO.js +12 -0
- package/modern/locales/nlNL.js +12 -0
- package/modern/locales/nnNO.js +12 -0
- package/modern/locales/plPL.js +37 -27
- package/modern/locales/ptBR.js +12 -0
- package/modern/locales/ptPT.js +12 -0
- package/modern/locales/roRO.js +12 -0
- package/modern/locales/ruRU.js +12 -0
- package/modern/locales/skSK.js +12 -0
- package/modern/locales/svSE.js +12 -0
- package/modern/locales/trTR.js +12 -0
- package/modern/locales/ukUA.js +12 -0
- package/modern/locales/urPK.js +12 -0
- package/modern/locales/viVN.js +12 -0
- package/modern/locales/zhCN.js +12 -0
- package/modern/locales/zhHK.js +12 -0
- package/modern/locales/zhTW.js +12 -0
- package/modern/material/index.js +4 -0
- package/node/components/GridLoadingOverlay.js +4 -4
- package/node/components/GridRow.js +2 -27
- package/node/components/base/GridOverlays.js +5 -2
- package/node/components/cell/GridActionsCell.js +1 -2
- package/node/components/cell/GridActionsCellItem.js +1 -2
- package/node/components/cell/GridCell.js +3 -0
- package/node/components/containers/GridRootStyles.js +1 -0
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -2
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -2
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -2
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +3 -4
- package/node/components/toolbar/GridToolbarColumnsButton.js +3 -3
- package/node/components/toolbar/GridToolbarDensitySelector.js +2 -4
- package/node/components/toolbar/GridToolbarExport.js +5 -3
- package/node/components/toolbar/GridToolbarExportContainer.js +1 -2
- package/node/constants/gridClasses.js +1 -1
- package/node/constants/localeTextConstants.js +11 -0
- package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -1
- package/node/hooks/features/columnResize/useGridColumnResize.js +4 -2
- package/node/index.js +1 -1
- package/node/internals/index.js +9 -2
- package/node/joy/joySlots.js +7 -2
- package/node/locales/arSD.js +12 -0
- package/node/locales/beBY.js +12 -0
- package/node/locales/bgBG.js +12 -0
- package/node/locales/csCZ.js +12 -0
- package/node/locales/daDK.js +12 -0
- package/node/locales/deDE.js +12 -0
- package/node/locales/elGR.js +12 -0
- package/node/locales/esES.js +12 -0
- package/node/locales/faIR.js +12 -0
- package/node/locales/fiFI.js +12 -0
- package/node/locales/frFR.js +12 -0
- package/node/locales/heIL.js +12 -0
- package/node/locales/hrHR.js +12 -0
- package/node/locales/huHU.js +12 -0
- package/node/locales/isIS.js +12 -0
- package/node/locales/itIT.js +12 -0
- package/node/locales/jaJP.js +12 -0
- package/node/locales/koKR.js +12 -0
- package/node/locales/nbNO.js +12 -0
- package/node/locales/nlNL.js +12 -0
- package/node/locales/nnNO.js +12 -0
- package/node/locales/plPL.js +37 -27
- package/node/locales/ptBR.js +12 -0
- package/node/locales/ptPT.js +12 -0
- package/node/locales/roRO.js +12 -0
- package/node/locales/ruRU.js +12 -0
- package/node/locales/skSK.js +12 -0
- package/node/locales/svSE.js +12 -0
- package/node/locales/trTR.js +12 -0
- package/node/locales/ukUA.js +12 -0
- package/node/locales/urPK.js +12 -0
- package/node/locales/viVN.js +12 -0
- package/node/locales/zhCN.js +12 -0
- package/node/locales/zhHK.js +12 -0
- package/node/locales/zhTW.js +12 -0
- package/node/material/index.js +4 -0
- package/package.json +5 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
4
3
|
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
5
4
|
import ListItemText from '@mui/material/ListItemText';
|
|
6
5
|
import { useGridApiContext } from "../../../../hooks/utils/useGridApiContext.js";
|
|
@@ -20,7 +19,7 @@ function GridColumnMenuFilterItem(props) {
|
|
|
20
19
|
if (rootProps.disableColumnFilter || !colDef.filterable) {
|
|
21
20
|
return null;
|
|
22
21
|
}
|
|
23
|
-
return /*#__PURE__*/_jsxs(
|
|
22
|
+
return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
24
23
|
onClick: showFilter,
|
|
25
24
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
26
25
|
children: /*#__PURE__*/_jsx(rootProps.slots.columnMenuFilterIcon, {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
4
3
|
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
5
4
|
import ListItemText from '@mui/material/ListItemText';
|
|
6
5
|
import { useGridApiContext } from "../../../../hooks/utils/useGridApiContext.js";
|
|
@@ -36,7 +35,7 @@ function GridColumnMenuHideItem(props) {
|
|
|
36
35
|
if (colDef.hideable === false) {
|
|
37
36
|
return null;
|
|
38
37
|
}
|
|
39
|
-
return /*#__PURE__*/_jsxs(
|
|
38
|
+
return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
40
39
|
onClick: toggleColumn,
|
|
41
40
|
disabled: disabled,
|
|
42
41
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
4
3
|
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
5
4
|
import ListItemText from '@mui/material/ListItemText';
|
|
6
5
|
import { GridPreferencePanelsValue } from "../../../../hooks/features/preferencesPanel/gridPreferencePanelsValue.js";
|
|
@@ -20,7 +19,7 @@ function GridColumnMenuManageItem(props) {
|
|
|
20
19
|
if (rootProps.disableColumnSelector) {
|
|
21
20
|
return null;
|
|
22
21
|
}
|
|
23
|
-
return /*#__PURE__*/_jsxs(
|
|
22
|
+
return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
24
23
|
onClick: showColumns,
|
|
25
24
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
26
25
|
children: /*#__PURE__*/_jsx(rootProps.slots.columnMenuManageColumnsIcon, {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
4
3
|
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
5
4
|
import ListItemText from '@mui/material/ListItemText';
|
|
6
5
|
import { useGridSelector } from "../../../../hooks/utils/useGridSelector.js";
|
|
@@ -37,7 +36,7 @@ function GridColumnMenuSortItem(props) {
|
|
|
37
36
|
return typeof label === 'function' ? label(colDef) : label;
|
|
38
37
|
};
|
|
39
38
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
40
|
-
children: [sortingOrder.includes('asc') && sortDirection !== 'asc' ? /*#__PURE__*/_jsxs(
|
|
39
|
+
children: [sortingOrder.includes('asc') && sortDirection !== 'asc' ? /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
41
40
|
onClick: onSortMenuItemClick,
|
|
42
41
|
"data-value": "asc",
|
|
43
42
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
@@ -47,7 +46,7 @@ function GridColumnMenuSortItem(props) {
|
|
|
47
46
|
}), /*#__PURE__*/_jsx(ListItemText, {
|
|
48
47
|
children: getLabel('columnMenuSortAsc')
|
|
49
48
|
})]
|
|
50
|
-
}) : null, sortingOrder.includes('desc') && sortDirection !== 'desc' ? /*#__PURE__*/_jsxs(
|
|
49
|
+
}) : null, sortingOrder.includes('desc') && sortDirection !== 'desc' ? /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
51
50
|
onClick: onSortMenuItemClick,
|
|
52
51
|
"data-value": "desc",
|
|
53
52
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
@@ -57,7 +56,7 @@ function GridColumnMenuSortItem(props) {
|
|
|
57
56
|
}), /*#__PURE__*/_jsx(ListItemText, {
|
|
58
57
|
children: getLabel('columnMenuSortDesc')
|
|
59
58
|
})]
|
|
60
|
-
}) : null, sortingOrder.includes(null) && sortDirection != null ? /*#__PURE__*/_jsxs(
|
|
59
|
+
}) : null, sortingOrder.includes(null) && sortDirection != null ? /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
61
60
|
onClick: onSortMenuItemClick,
|
|
62
61
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {}), /*#__PURE__*/_jsx(ListItemText, {
|
|
63
62
|
children: apiRef.current.getLocaleText('columnMenuUnsort')
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import
|
|
4
|
+
import useId from '@mui/utils/useId';
|
|
5
5
|
import { useGridSelector } from "../../hooks/utils/useGridSelector.js";
|
|
6
6
|
import { gridPreferencePanelStateSelector } from "../../hooks/features/preferencesPanel/gridPreferencePanelSelector.js";
|
|
7
7
|
import { GridPreferencePanelsValue } from "../../hooks/features/preferencesPanel/gridPreferencePanelsValue.js";
|
|
@@ -2,8 +2,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { unstable_useId as useId, unstable_useForkRef as useForkRef } from '@mui/utils';
|
|
5
|
-
import MenuList from '@mui/material/MenuList';
|
|
6
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
7
5
|
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
8
6
|
import { gridDensitySelector } from "../../hooks/features/density/densitySelector.js";
|
|
9
7
|
import { isHideMenuKey } from "../../utils/keyboardUtils.js";
|
|
@@ -74,7 +72,7 @@ const GridToolbarDensitySelector = /*#__PURE__*/React.forwardRef(function GridTo
|
|
|
74
72
|
if (rootProps.disableDensitySelector) {
|
|
75
73
|
return null;
|
|
76
74
|
}
|
|
77
|
-
const densityElements = densityOptions.map((option, index) => /*#__PURE__*/_jsxs(
|
|
75
|
+
const densityElements = densityOptions.map((option, index) => /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
|
|
78
76
|
onClick: () => handleDensityUpdate(option.value),
|
|
79
77
|
selected: option.value === density,
|
|
80
78
|
children: [/*#__PURE__*/_jsx(ListItemIcon, {
|
|
@@ -105,7 +103,7 @@ const GridToolbarDensitySelector = /*#__PURE__*/React.forwardRef(function GridTo
|
|
|
105
103
|
target: buttonRef.current,
|
|
106
104
|
onClose: handleDensitySelectorClose,
|
|
107
105
|
position: "bottom-start",
|
|
108
|
-
children: /*#__PURE__*/_jsx(
|
|
106
|
+
children: /*#__PURE__*/_jsx(rootProps.slots.baseMenuList, {
|
|
109
107
|
id: densityMenuId,
|
|
110
108
|
className: gridClasses.menuList,
|
|
111
109
|
"aria-labelledby": densityButtonId,
|
|
@@ -5,18 +5,19 @@ const _excluded = ["hideMenu", "options"],
|
|
|
5
5
|
_excluded3 = ["csvOptions", "printOptions", "excelOptions"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
|
-
import
|
|
8
|
+
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
9
9
|
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
10
10
|
import { GridToolbarExportContainer } from "./GridToolbarExportContainer.js";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
function GridCsvExportMenuItem(props) {
|
|
13
13
|
const apiRef = useGridApiContext();
|
|
14
|
+
const rootProps = useGridRootProps();
|
|
14
15
|
const {
|
|
15
16
|
hideMenu,
|
|
16
17
|
options
|
|
17
18
|
} = props,
|
|
18
19
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
19
|
-
return /*#__PURE__*/_jsx(
|
|
20
|
+
return /*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, _extends({
|
|
20
21
|
onClick: () => {
|
|
21
22
|
apiRef.current.exportDataAsCsv(options);
|
|
22
23
|
hideMenu?.();
|
|
@@ -47,12 +48,13 @@ process.env.NODE_ENV !== "production" ? GridCsvExportMenuItem.propTypes = {
|
|
|
47
48
|
} : void 0;
|
|
48
49
|
function GridPrintExportMenuItem(props) {
|
|
49
50
|
const apiRef = useGridApiContext();
|
|
51
|
+
const rootProps = useGridRootProps();
|
|
50
52
|
const {
|
|
51
53
|
hideMenu,
|
|
52
54
|
options
|
|
53
55
|
} = props,
|
|
54
56
|
other = _objectWithoutPropertiesLoose(props, _excluded2);
|
|
55
|
-
return /*#__PURE__*/_jsx(
|
|
57
|
+
return /*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, _extends({
|
|
56
58
|
onClick: () => {
|
|
57
59
|
apiRef.current.exportDataAsPrint(options);
|
|
58
60
|
hideMenu?.();
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { unstable_useId as useId, unstable_useForkRef as useForkRef } from '@mui/utils';
|
|
5
|
-
import MenuList from '@mui/material/MenuList';
|
|
6
5
|
import { isHideMenuKey } from "../../utils/keyboardUtils.js";
|
|
7
6
|
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
8
7
|
import { GridMenu } from "../menu/GridMenu.js";
|
|
@@ -63,7 +62,7 @@ const GridToolbarExportContainer = /*#__PURE__*/React.forwardRef(function GridTo
|
|
|
63
62
|
target: buttonRef.current,
|
|
64
63
|
onClose: handleMenuClose,
|
|
65
64
|
position: "bottom-start",
|
|
66
|
-
children: /*#__PURE__*/_jsx(
|
|
65
|
+
children: /*#__PURE__*/_jsx(rootProps.slots.baseMenuList, {
|
|
67
66
|
id: exportMenuId,
|
|
68
67
|
className: gridClasses.menuList,
|
|
69
68
|
"aria-labelledby": exportButtonId,
|
|
@@ -586,6 +586,26 @@ export interface GridClasses {
|
|
|
586
586
|
* Styles applied to the toolbar filter list element.
|
|
587
587
|
*/
|
|
588
588
|
toolbarFilterList: string;
|
|
589
|
+
/**
|
|
590
|
+
* Styles applied to the toolbar prompt control element.
|
|
591
|
+
*/
|
|
592
|
+
toolbarPromptControl: string;
|
|
593
|
+
/**
|
|
594
|
+
* Styles applied to the toolbar prompt control element when recording.
|
|
595
|
+
*/
|
|
596
|
+
'toolbarPromptControl--recording': string;
|
|
597
|
+
/**
|
|
598
|
+
* Styles applied to the toolbar prompt control recording indicator element.
|
|
599
|
+
*/
|
|
600
|
+
toolbarPromptControlRecordingIndicator: string;
|
|
601
|
+
/**
|
|
602
|
+
* Styles applied to the toolbar prompt control record button element.
|
|
603
|
+
*/
|
|
604
|
+
toolbarPromptControlRecordButton: string;
|
|
605
|
+
/**
|
|
606
|
+
* Styles applied to the toolbar prompt control send button element.
|
|
607
|
+
*/
|
|
608
|
+
toolbarPromptControlSendButton: string;
|
|
589
609
|
/**
|
|
590
610
|
* Styles applied the grid if `showColumnVerticalBorder={true}`.
|
|
591
611
|
*/
|
package/constants/gridClasses.js
CHANGED
|
@@ -2,4 +2,4 @@ import { unstable_generateUtilityClasses as generateUtilityClasses, unstable_gen
|
|
|
2
2
|
export function getDataGridUtilityClass(slot) {
|
|
3
3
|
return generateUtilityClass('MuiDataGrid', slot);
|
|
4
4
|
}
|
|
5
|
-
export const gridClasses = generateUtilityClasses('MuiDataGrid', ['actionsCell', 'aggregationColumnHeader', 'aggregationColumnHeader--alignLeft', 'aggregationColumnHeader--alignCenter', 'aggregationColumnHeader--alignRight', 'aggregationColumnHeaderLabel', 'autoHeight', 'autosizing', 'booleanCell', 'cell--editable', 'cell--editing', 'cell--flex', 'cell--textCenter', 'cell--textLeft', 'cell--textRight', 'cell--rangeTop', 'cell--rangeBottom', 'cell--rangeLeft', 'cell--rangeRight', 'cell--pinnedLeft', 'cell--pinnedRight', 'cell--selectionMode', 'cell', 'cellCheckbox', 'cellEmpty', 'cellSkeleton', 'cellOffsetLeft', 'checkboxInput', 'columnHeader', 'columnHeader--alignCenter', 'columnHeader--alignLeft', 'columnHeader--alignRight', 'columnHeader--dragging', 'columnHeader--moving', 'columnHeader--numeric', 'columnHeader--sortable', 'columnHeader--sorted', 'columnHeader--filtered', 'columnHeader--pinnedLeft', 'columnHeader--pinnedRight', 'columnHeader--last', 'columnHeader--lastUnpinned', 'columnHeader--siblingFocused', 'columnHeaderCheckbox', 'columnHeaderDraggableContainer', 'columnHeaderTitle', 'columnHeaderTitleContainer', 'columnHeaderTitleContainerContent', 'columnHeader--filledGroup', 'columnHeader--emptyGroup', 'columnHeaders', 'columnSeparator--resizable', 'columnSeparator--resizing', 'columnSeparator--sideLeft', 'columnSeparator--sideRight', 'columnSeparator', 'columnsManagement', 'columnsManagementRow', 'columnsManagementHeader', 'columnsManagementSearchInput', 'columnsManagementFooter', 'container--top', 'container--bottom', 'detailPanel', 'detailPanels', 'detailPanelToggleCell', 'detailPanelToggleCell--expanded', 'footerCell', 'panel', 'panelHeader', 'panelWrapper', 'panelContent', 'panelFooter', 'paper', 'editBooleanCell', 'editInputCell', 'filler', 'filler--borderBottom', 'filler--pinnedLeft', 'filler--pinnedRight', 'filterForm', 'filterFormDeleteIcon', 'filterFormLogicOperatorInput', 'filterFormColumnInput', 'filterFormOperatorInput', 'filterFormValueInput', 'filterIcon', 'footerContainer', 'headerFilterRow', 'iconButtonContainer', 'iconSeparator', 'main', 'main--hasPinnedRight', 'main--hasSkeletonLoadingOverlay', 'menu', 'menuIcon', 'menuIconButton', 'menuOpen', 'menuList', 'overlay', 'overlayWrapper', 'overlayWrapperInner', 'root', 'root--densityStandard', 'root--densityComfortable', 'root--densityCompact', 'root--disableUserSelection', 'root--noToolbar', 'row', 'row--editable', 'row--editing', 'row--firstVisible', 'row--lastVisible', 'row--dragging', 'row--dynamicHeight', 'row--detailPanelExpanded', 'row--borderBottom', 'rowReorderCellPlaceholder', 'rowCount', 'rowReorderCellContainer', 'rowReorderCell', 'rowReorderCell--draggable', 'rowSkeleton', 'scrollArea--left', 'scrollArea--right', 'scrollArea', 'scrollbar', 'scrollbar--vertical', 'scrollbar--horizontal', 'scrollbarFiller', 'scrollbarFiller--header', 'scrollbarFiller--borderTop', 'scrollbarFiller--borderBottom', 'scrollbarFiller--pinnedRight', 'selectedRowCount', 'sortIcon', 'toolbarContainer', 'toolbarFilterList', 'virtualScroller', 'virtualScroller--hasScrollX', 'virtualScrollerContent', 'virtualScrollerContent--overflowed', 'virtualScrollerRenderZone', 'pinnedColumns', 'withVerticalBorder', 'withBorderColor', 'cell--withRightBorder', 'cell--withLeftBorder', 'columnHeader--withRightBorder', 'columnHeader--withLeftBorder', 'treeDataGroupingCell', 'treeDataGroupingCellToggle', 'treeDataGroupingCellLoadingContainer', 'groupingCriteriaCell', 'groupingCriteriaCellToggle', 'groupingCriteriaCellLoadingContainer', 'pinnedRows', 'pinnedRows--top', 'pinnedRows--bottom', 'pinnedRowsRenderZone']);
|
|
5
|
+
export const gridClasses = generateUtilityClasses('MuiDataGrid', ['actionsCell', 'aggregationColumnHeader', 'aggregationColumnHeader--alignLeft', 'aggregationColumnHeader--alignCenter', 'aggregationColumnHeader--alignRight', 'aggregationColumnHeaderLabel', 'autoHeight', 'autosizing', 'booleanCell', 'cell--editable', 'cell--editing', 'cell--flex', 'cell--textCenter', 'cell--textLeft', 'cell--textRight', 'cell--rangeTop', 'cell--rangeBottom', 'cell--rangeLeft', 'cell--rangeRight', 'cell--pinnedLeft', 'cell--pinnedRight', 'cell--selectionMode', 'cell', 'cellCheckbox', 'cellEmpty', 'cellSkeleton', 'cellOffsetLeft', 'checkboxInput', 'columnHeader', 'columnHeader--alignCenter', 'columnHeader--alignLeft', 'columnHeader--alignRight', 'columnHeader--dragging', 'columnHeader--moving', 'columnHeader--numeric', 'columnHeader--sortable', 'columnHeader--sorted', 'columnHeader--filtered', 'columnHeader--pinnedLeft', 'columnHeader--pinnedRight', 'columnHeader--last', 'columnHeader--lastUnpinned', 'columnHeader--siblingFocused', 'columnHeaderCheckbox', 'columnHeaderDraggableContainer', 'columnHeaderTitle', 'columnHeaderTitleContainer', 'columnHeaderTitleContainerContent', 'columnHeader--filledGroup', 'columnHeader--emptyGroup', 'columnHeaders', 'columnSeparator--resizable', 'columnSeparator--resizing', 'columnSeparator--sideLeft', 'columnSeparator--sideRight', 'columnSeparator', 'columnsManagement', 'columnsManagementRow', 'columnsManagementHeader', 'columnsManagementSearchInput', 'columnsManagementFooter', 'container--top', 'container--bottom', 'detailPanel', 'detailPanels', 'detailPanelToggleCell', 'detailPanelToggleCell--expanded', 'footerCell', 'panel', 'panelHeader', 'panelWrapper', 'panelContent', 'panelFooter', 'paper', 'editBooleanCell', 'editInputCell', 'filler', 'filler--borderBottom', 'filler--pinnedLeft', 'filler--pinnedRight', 'filterForm', 'filterFormDeleteIcon', 'filterFormLogicOperatorInput', 'filterFormColumnInput', 'filterFormOperatorInput', 'filterFormValueInput', 'filterIcon', 'footerContainer', 'headerFilterRow', 'iconButtonContainer', 'iconSeparator', 'main', 'main--hasPinnedRight', 'main--hasSkeletonLoadingOverlay', 'menu', 'menuIcon', 'menuIconButton', 'menuOpen', 'menuList', 'overlay', 'overlayWrapper', 'overlayWrapperInner', 'root', 'root--densityStandard', 'root--densityComfortable', 'root--densityCompact', 'root--disableUserSelection', 'root--noToolbar', 'row', 'row--editable', 'row--editing', 'row--firstVisible', 'row--lastVisible', 'row--dragging', 'row--dynamicHeight', 'row--detailPanelExpanded', 'row--borderBottom', 'rowReorderCellPlaceholder', 'rowCount', 'rowReorderCellContainer', 'rowReorderCell', 'rowReorderCell--draggable', 'rowSkeleton', 'scrollArea--left', 'scrollArea--right', 'scrollArea', 'scrollbar', 'scrollbar--vertical', 'scrollbar--horizontal', 'scrollbarFiller', 'scrollbarFiller--header', 'scrollbarFiller--borderTop', 'scrollbarFiller--borderBottom', 'scrollbarFiller--pinnedRight', 'selectedRowCount', 'sortIcon', 'toolbarContainer', 'toolbarFilterList', 'toolbarPromptControl', 'toolbarPromptControl--recording', 'toolbarPromptControlRecordingIndicator', 'toolbarPromptControlRecordButton', 'toolbarPromptControlSendButton', 'virtualScroller', 'virtualScroller--hasScrollX', 'virtualScrollerContent', 'virtualScrollerContent--overflowed', 'virtualScrollerRenderZone', 'pinnedColumns', 'withVerticalBorder', 'withBorderColor', 'cell--withRightBorder', 'cell--withLeftBorder', 'columnHeader--withRightBorder', 'columnHeader--withLeftBorder', 'treeDataGroupingCell', 'treeDataGroupingCellToggle', 'treeDataGroupingCellLoadingContainer', 'groupingCriteriaCell', 'groupingCriteriaCellToggle', 'groupingCriteriaCellLoadingContainer', 'pinnedRows', 'pinnedRows--top', 'pinnedRows--bottom', 'pinnedRowsRenderZone']);
|
|
@@ -21,6 +21,17 @@ export const GRID_DEFAULT_LOCALE_TEXT = {
|
|
|
21
21
|
toolbarQuickFilterPlaceholder: 'Search…',
|
|
22
22
|
toolbarQuickFilterLabel: 'Search',
|
|
23
23
|
toolbarQuickFilterDeleteIconLabel: 'Clear',
|
|
24
|
+
// Prompt toolbar field
|
|
25
|
+
toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
26
|
+
toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
27
|
+
toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
28
|
+
toolbarPromptControlLabel: 'Prompt input',
|
|
29
|
+
toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
30
|
+
toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
31
|
+
toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
32
|
+
toolbarPromptControlSendActionLabel: 'Send',
|
|
33
|
+
toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
34
|
+
toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
24
35
|
// Export selector toolbar button text
|
|
25
36
|
toolbarExport: 'Export',
|
|
26
37
|
toolbarExportLabel: 'Export',
|
|
@@ -283,7 +283,7 @@ export const useGridColumnHeaders = props => {
|
|
|
283
283
|
fields: headerInfo.fields,
|
|
284
284
|
colIndex: headerInfo.colIndex,
|
|
285
285
|
depth: depth,
|
|
286
|
-
isLastColumn:
|
|
286
|
+
isLastColumn: index === visibleColumnGroupHeader.length - 1,
|
|
287
287
|
maxDepth: headerGroupingMaxDepth,
|
|
288
288
|
height: dimensions.groupHeaderHeight,
|
|
289
289
|
hasFocus: hasFocus,
|
|
@@ -193,8 +193,10 @@ export const useGridColumnResize = (apiRef, props) => {
|
|
|
193
193
|
const prevWidth = refs.columnHeaderElement.offsetWidth;
|
|
194
194
|
const widthDiff = newWidth - prevWidth;
|
|
195
195
|
const columnWidthDiff = newWidth - refs.initialColWidth;
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
if (columnWidthDiff > 0) {
|
|
197
|
+
const newTotalWidth = refs.initialTotalWidth + columnWidthDiff;
|
|
198
|
+
apiRef.current.rootElementRef?.current?.style.setProperty('--DataGrid-rowWidth', `${newTotalWidth}px`);
|
|
199
|
+
}
|
|
198
200
|
refs.colDef.computedWidth = newWidth;
|
|
199
201
|
refs.colDef.width = newWidth;
|
|
200
202
|
refs.colDef.flex = 0;
|
package/index.js
CHANGED
package/internals/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { GridHeaders } from '../components/GridHeaders';
|
|
|
8
8
|
export { GridBaseColumnHeaders } from '../components/columnHeaders/GridBaseColumnHeaders';
|
|
9
9
|
export { DATA_GRID_DEFAULT_SLOTS_COMPONENTS } from '../constants/defaultGridSlotsComponents';
|
|
10
10
|
export { getGridFilter } from '../components/panel/filterPanel/GridFilterPanel';
|
|
11
|
+
export { getValueOptions } from '../components/panel/filterPanel/filterPanelUtils';
|
|
11
12
|
export { useGridRegisterPipeProcessor } from '../hooks/core/pipeProcessing';
|
|
12
13
|
export type { GridPipeProcessor } from '../hooks/core/pipeProcessing';
|
|
13
14
|
export { useGridRegisterStrategyProcessor, GRID_DEFAULT_STRATEGY, } from '../hooks/core/strategyProcessing';
|
package/internals/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export { GridHeaders } from "../components/GridHeaders.js";
|
|
|
5
5
|
export { GridBaseColumnHeaders } from "../components/columnHeaders/GridBaseColumnHeaders.js";
|
|
6
6
|
export { DATA_GRID_DEFAULT_SLOTS_COMPONENTS } from "../constants/defaultGridSlotsComponents.js";
|
|
7
7
|
export { getGridFilter } from "../components/panel/filterPanel/GridFilterPanel.js";
|
|
8
|
+
export { getValueOptions } from "../components/panel/filterPanel/filterPanelUtils.js";
|
|
8
9
|
export { useGridRegisterPipeProcessor } from "../hooks/core/pipeProcessing/index.js";
|
|
9
10
|
export { useGridRegisterStrategyProcessor, GRID_DEFAULT_STRATEGY } from "../hooks/core/strategyProcessing/index.js";
|
|
10
11
|
export { useGridInitialization } from "../hooks/core/useGridInitialization.js";
|
package/joy/joySlots.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
-
const _excluded = ["slotProps", "variant", "color", "sx"],
|
|
3
|
+
const _excluded = ["slotProps", "variant", "color", "sx", "anchorOrigin"],
|
|
4
4
|
_excluded2 = ["touchRippleRef", "inputProps", "onChange", "color", "size", "checked", "sx", "value", "inputRef"],
|
|
5
5
|
_excluded3 = ["onChange", "label", "placeholder", "value", "inputRef", "type", "size", "variant"],
|
|
6
6
|
_excluded4 = ["startIcon", "color", "endIcon", "size", "sx", "variant"],
|
|
@@ -64,10 +64,15 @@ function convertVariant(variant, defaultVariant = 'plain') {
|
|
|
64
64
|
const Badge = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
65
65
|
let {
|
|
66
66
|
color,
|
|
67
|
-
sx
|
|
67
|
+
sx,
|
|
68
|
+
anchorOrigin
|
|
68
69
|
} = _ref,
|
|
69
70
|
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
70
71
|
return /*#__PURE__*/_jsx(JoyBadge, _extends({}, props, {
|
|
72
|
+
anchorOrigin: anchorOrigin?.horizontal && anchorOrigin?.vertical ? anchorOrigin : {
|
|
73
|
+
vertical: 'top',
|
|
74
|
+
horizontal: 'right'
|
|
75
|
+
},
|
|
71
76
|
color: convertColor(color),
|
|
72
77
|
variant: "plain",
|
|
73
78
|
sx: sx,
|
package/locales/arSD.js
CHANGED
|
@@ -23,6 +23,18 @@ const arSDGrid = {
|
|
|
23
23
|
toolbarQuickFilterPlaceholder: 'بحث...',
|
|
24
24
|
toolbarQuickFilterLabel: 'بحث',
|
|
25
25
|
toolbarQuickFilterDeleteIconLabel: 'أزال',
|
|
26
|
+
// Prompt toolbar field
|
|
27
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
28
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
29
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
30
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
31
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
32
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
33
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
34
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
35
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
36
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
37
|
+
|
|
26
38
|
// Export selector toolbar button text
|
|
27
39
|
toolbarExport: 'تصدير',
|
|
28
40
|
toolbarExportLabel: 'تصدير',
|
package/locales/beBY.js
CHANGED
|
@@ -37,6 +37,18 @@ const beBYGrid = {
|
|
|
37
37
|
toolbarQuickFilterPlaceholder: 'Пошук…',
|
|
38
38
|
toolbarQuickFilterLabel: 'Пошук',
|
|
39
39
|
toolbarQuickFilterDeleteIconLabel: 'Ачысціць',
|
|
40
|
+
// Prompt toolbar field
|
|
41
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
42
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
43
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
44
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
45
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
46
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
47
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
48
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
49
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
50
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
51
|
+
|
|
40
52
|
// Export selector toolbar button text
|
|
41
53
|
toolbarExport: 'Экспарт',
|
|
42
54
|
toolbarExportLabel: 'Экспарт',
|
package/locales/bgBG.js
CHANGED
|
@@ -23,6 +23,18 @@ const bgBGGrid = {
|
|
|
23
23
|
toolbarQuickFilterPlaceholder: 'Търси…',
|
|
24
24
|
toolbarQuickFilterLabel: 'Търсене',
|
|
25
25
|
toolbarQuickFilterDeleteIconLabel: 'Изчисти',
|
|
26
|
+
// Prompt toolbar field
|
|
27
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
28
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
29
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
30
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
31
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
32
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
33
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
34
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
35
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
36
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
37
|
+
|
|
26
38
|
// Export selector toolbar button text
|
|
27
39
|
toolbarExport: 'Изтегли',
|
|
28
40
|
toolbarExportLabel: 'Изтегли',
|
package/locales/csCZ.js
CHANGED
|
@@ -31,6 +31,18 @@ const csCZGrid = {
|
|
|
31
31
|
toolbarQuickFilterPlaceholder: 'Hledat…',
|
|
32
32
|
toolbarQuickFilterLabel: 'Hledat',
|
|
33
33
|
toolbarQuickFilterDeleteIconLabel: 'Vymazat',
|
|
34
|
+
// Prompt toolbar field
|
|
35
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
36
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
37
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
38
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
39
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
40
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
41
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
42
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
43
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
44
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
45
|
+
|
|
34
46
|
// Export selector toolbar button text
|
|
35
47
|
toolbarExport: 'Export',
|
|
36
48
|
toolbarExportLabel: 'Export',
|
package/locales/daDK.js
CHANGED
|
@@ -23,6 +23,18 @@ const daDKGrid = {
|
|
|
23
23
|
toolbarQuickFilterPlaceholder: 'Søg…',
|
|
24
24
|
toolbarQuickFilterLabel: 'Søg',
|
|
25
25
|
toolbarQuickFilterDeleteIconLabel: 'Ryd',
|
|
26
|
+
// Prompt toolbar field
|
|
27
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
28
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
29
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
30
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
31
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
32
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
33
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
34
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
35
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
36
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
37
|
+
|
|
26
38
|
// Export selector toolbar button text
|
|
27
39
|
toolbarExport: 'Eksport',
|
|
28
40
|
toolbarExportLabel: 'Eksporter',
|
package/locales/deDE.js
CHANGED
|
@@ -23,6 +23,18 @@ const deDEGrid = {
|
|
|
23
23
|
toolbarQuickFilterPlaceholder: 'Suchen…',
|
|
24
24
|
toolbarQuickFilterLabel: 'Suchen',
|
|
25
25
|
toolbarQuickFilterDeleteIconLabel: 'Löschen',
|
|
26
|
+
// Prompt toolbar field
|
|
27
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
28
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
29
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
30
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
31
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
32
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
33
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
34
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
35
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
36
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
37
|
+
|
|
26
38
|
// Export selector toolbar button text
|
|
27
39
|
toolbarExport: 'Exportieren',
|
|
28
40
|
toolbarExportLabel: 'Exportieren',
|
package/locales/elGR.js
CHANGED
|
@@ -23,6 +23,18 @@ const elGRGrid = {
|
|
|
23
23
|
toolbarQuickFilterPlaceholder: 'Αναζήτηση…',
|
|
24
24
|
toolbarQuickFilterLabel: 'Αναζήτηση',
|
|
25
25
|
toolbarQuickFilterDeleteIconLabel: 'Καθαρισμός',
|
|
26
|
+
// Prompt toolbar field
|
|
27
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
28
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
29
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
30
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
31
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
32
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
33
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
34
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
35
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
36
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
37
|
+
|
|
26
38
|
// Export selector toolbar button text
|
|
27
39
|
toolbarExport: 'Εξαγωγή',
|
|
28
40
|
toolbarExportLabel: 'Εξαγωγή',
|
package/locales/esES.js
CHANGED
|
@@ -23,6 +23,18 @@ const esESGrid = {
|
|
|
23
23
|
toolbarQuickFilterPlaceholder: 'Buscar…',
|
|
24
24
|
toolbarQuickFilterLabel: 'Buscar',
|
|
25
25
|
toolbarQuickFilterDeleteIconLabel: 'Limpiar',
|
|
26
|
+
// Prompt toolbar field
|
|
27
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
28
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
29
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
30
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
31
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
32
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
33
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
34
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
35
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
36
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
37
|
+
|
|
26
38
|
// Export selector toolbar button text
|
|
27
39
|
toolbarExport: 'Exportar',
|
|
28
40
|
toolbarExportLabel: 'Exportar',
|
package/locales/faIR.js
CHANGED
|
@@ -23,6 +23,18 @@ const faIRGrid = {
|
|
|
23
23
|
toolbarQuickFilterPlaceholder: 'جستجو...',
|
|
24
24
|
toolbarQuickFilterLabel: 'جستجو',
|
|
25
25
|
toolbarQuickFilterDeleteIconLabel: 'حذف',
|
|
26
|
+
// Prompt toolbar field
|
|
27
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
28
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
29
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
30
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
31
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
32
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
33
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
34
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
35
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
36
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
37
|
+
|
|
26
38
|
// Export selector toolbar button text
|
|
27
39
|
toolbarExport: 'خروجی',
|
|
28
40
|
toolbarExportLabel: 'خروجی',
|
package/locales/fiFI.js
CHANGED
|
@@ -23,6 +23,18 @@ const fiFIGrid = {
|
|
|
23
23
|
toolbarQuickFilterPlaceholder: 'Hae…',
|
|
24
24
|
toolbarQuickFilterLabel: 'Hae',
|
|
25
25
|
toolbarQuickFilterDeleteIconLabel: 'Tyhjennä',
|
|
26
|
+
// Prompt toolbar field
|
|
27
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
28
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
29
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
30
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
31
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
32
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
33
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
34
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
35
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
36
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
37
|
+
|
|
26
38
|
// Export selector toolbar button text
|
|
27
39
|
toolbarExport: 'Vie',
|
|
28
40
|
toolbarExportLabel: 'Vie',
|
package/locales/frFR.js
CHANGED
|
@@ -23,6 +23,18 @@ const frFRGrid = {
|
|
|
23
23
|
toolbarQuickFilterPlaceholder: 'Rechercher…',
|
|
24
24
|
toolbarQuickFilterLabel: 'Recherche',
|
|
25
25
|
toolbarQuickFilterDeleteIconLabel: 'Supprimer',
|
|
26
|
+
// Prompt toolbar field
|
|
27
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
28
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
29
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
30
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
31
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
32
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
33
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
34
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
35
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
36
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
37
|
+
|
|
26
38
|
// Export selector toolbar button text
|
|
27
39
|
toolbarExport: 'Exporter',
|
|
28
40
|
toolbarExportLabel: 'Exporter',
|
package/locales/heIL.js
CHANGED
|
@@ -23,6 +23,18 @@ const heILGrid = {
|
|
|
23
23
|
toolbarQuickFilterPlaceholder: 'חיפוש…',
|
|
24
24
|
toolbarQuickFilterLabel: 'חיפוש',
|
|
25
25
|
toolbarQuickFilterDeleteIconLabel: 'ניקוי',
|
|
26
|
+
// Prompt toolbar field
|
|
27
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
28
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
29
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
30
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
31
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
32
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
33
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
34
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
35
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
36
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
37
|
+
|
|
26
38
|
// Export selector toolbar button text
|
|
27
39
|
toolbarExport: 'ייצוא',
|
|
28
40
|
toolbarExportLabel: 'ייצוא',
|
package/locales/hrHR.js
CHANGED
|
@@ -31,6 +31,18 @@ const hrHRGrid = {
|
|
|
31
31
|
toolbarQuickFilterPlaceholder: 'Traži…',
|
|
32
32
|
toolbarQuickFilterLabel: 'traži',
|
|
33
33
|
toolbarQuickFilterDeleteIconLabel: 'Obriši',
|
|
34
|
+
// Prompt toolbar field
|
|
35
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
36
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
37
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
38
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
39
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
40
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
41
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
42
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
43
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
44
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
45
|
+
|
|
34
46
|
// Export selector toolbar button text
|
|
35
47
|
toolbarExport: 'Izvoz',
|
|
36
48
|
toolbarExportLabel: 'Izvoz',
|
package/locales/huHU.js
CHANGED
|
@@ -23,6 +23,18 @@ const huHUGrid = {
|
|
|
23
23
|
toolbarQuickFilterPlaceholder: 'Keresés…',
|
|
24
24
|
toolbarQuickFilterLabel: 'Keresés',
|
|
25
25
|
toolbarQuickFilterDeleteIconLabel: 'Törlés',
|
|
26
|
+
// Prompt toolbar field
|
|
27
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
28
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
29
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
30
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
31
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
32
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
33
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
34
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
35
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
36
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
37
|
+
|
|
26
38
|
// Export selector toolbar button text
|
|
27
39
|
toolbarExport: 'Exportálás',
|
|
28
40
|
toolbarExportLabel: 'Exportálás',
|