@mui/x-data-grid 8.0.0-alpha.0 → 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 +429 -5
- package/README.md +2 -2
- package/components/GridLoadingOverlay.d.ts +2 -2
- package/components/GridLoadingOverlay.js +4 -4
- package/components/cell/GridCell.js +3 -0
- package/components/columnsManagement/GridColumnsManagement.d.ts +2 -0
- package/components/columnsManagement/GridColumnsManagement.js +53 -6
- package/constants/gridClasses.d.ts +24 -0
- package/constants/gridClasses.js +1 -1
- package/constants/localeTextConstants.js +12 -0
- package/hooks/features/columnHeaders/useGridColumnHeaders.js +2 -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 +13 -0
- package/locales/beBY.js +13 -0
- package/locales/bgBG.js +14 -0
- package/locales/csCZ.js +14 -0
- package/locales/daDK.js +14 -0
- package/locales/deDE.js +14 -0
- package/locales/elGR.js +13 -0
- package/locales/esES.js +18 -4
- package/locales/faIR.js +14 -0
- package/locales/fiFI.js +14 -0
- package/locales/frFR.js +14 -0
- package/locales/heIL.js +14 -0
- package/locales/hrHR.js +14 -0
- package/locales/huHU.js +14 -0
- package/locales/isIS.js +13 -0
- package/locales/itIT.js +14 -0
- package/locales/jaJP.js +14 -0
- package/locales/koKR.js +13 -0
- package/locales/nbNO.js +14 -0
- package/locales/nlNL.js +14 -0
- package/locales/nnNO.js +14 -0
- package/locales/plPL.js +14 -0
- package/locales/ptBR.js +14 -0
- package/locales/ptPT.js +14 -0
- package/locales/roRO.js +13 -0
- package/locales/ruRU.js +14 -0
- package/locales/skSK.js +13 -0
- package/locales/svSE.js +18 -5
- package/locales/trTR.js +14 -0
- package/locales/ukUA.js +13 -0
- package/locales/urPK.js +13 -0
- package/locales/viVN.js +14 -0
- package/locales/zhCN.js +18 -4
- package/locales/zhHK.js +13 -0
- package/locales/zhTW.js +13 -0
- package/models/api/gridLocaleTextApi.d.ts +11 -0
- package/models/colDef/gridColDef.d.ts +4 -0
- package/models/gridDataSource.d.ts +12 -12
- package/modern/components/GridLoadingOverlay.js +4 -4
- package/modern/components/cell/GridCell.js +3 -0
- package/modern/components/columnsManagement/GridColumnsManagement.js +53 -6
- package/modern/constants/gridClasses.js +1 -1
- package/modern/constants/localeTextConstants.js +12 -0
- package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +2 -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 +13 -0
- package/modern/locales/beBY.js +13 -0
- package/modern/locales/bgBG.js +14 -0
- package/modern/locales/csCZ.js +14 -0
- package/modern/locales/daDK.js +14 -0
- package/modern/locales/deDE.js +14 -0
- package/modern/locales/elGR.js +13 -0
- package/modern/locales/esES.js +18 -4
- package/modern/locales/faIR.js +14 -0
- package/modern/locales/fiFI.js +14 -0
- package/modern/locales/frFR.js +14 -0
- package/modern/locales/heIL.js +14 -0
- package/modern/locales/hrHR.js +14 -0
- package/modern/locales/huHU.js +14 -0
- package/modern/locales/isIS.js +13 -0
- package/modern/locales/itIT.js +14 -0
- package/modern/locales/jaJP.js +14 -0
- package/modern/locales/koKR.js +13 -0
- package/modern/locales/nbNO.js +14 -0
- package/modern/locales/nlNL.js +14 -0
- package/modern/locales/nnNO.js +14 -0
- package/modern/locales/plPL.js +14 -0
- package/modern/locales/ptBR.js +14 -0
- package/modern/locales/ptPT.js +14 -0
- package/modern/locales/roRO.js +13 -0
- package/modern/locales/ruRU.js +14 -0
- package/modern/locales/skSK.js +13 -0
- package/modern/locales/svSE.js +18 -5
- package/modern/locales/trTR.js +14 -0
- package/modern/locales/ukUA.js +13 -0
- package/modern/locales/urPK.js +13 -0
- package/modern/locales/viVN.js +14 -0
- package/modern/locales/zhCN.js +18 -4
- package/modern/locales/zhHK.js +13 -0
- package/modern/locales/zhTW.js +13 -0
- package/node/components/GridLoadingOverlay.js +4 -4
- package/node/components/cell/GridCell.js +3 -0
- package/node/components/columnsManagement/GridColumnsManagement.js +53 -6
- package/node/constants/gridClasses.js +1 -1
- package/node/constants/localeTextConstants.js +12 -0
- package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +2 -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 +13 -0
- package/node/locales/beBY.js +13 -0
- package/node/locales/bgBG.js +14 -0
- package/node/locales/csCZ.js +14 -0
- package/node/locales/daDK.js +14 -0
- package/node/locales/deDE.js +14 -0
- package/node/locales/elGR.js +13 -0
- package/node/locales/esES.js +18 -4
- package/node/locales/faIR.js +14 -0
- package/node/locales/fiFI.js +14 -0
- package/node/locales/frFR.js +14 -0
- package/node/locales/heIL.js +14 -0
- package/node/locales/hrHR.js +14 -0
- package/node/locales/huHU.js +14 -0
- package/node/locales/isIS.js +13 -0
- package/node/locales/itIT.js +14 -0
- package/node/locales/jaJP.js +14 -0
- package/node/locales/koKR.js +13 -0
- package/node/locales/nbNO.js +14 -0
- package/node/locales/nlNL.js +14 -0
- package/node/locales/nnNO.js +14 -0
- package/node/locales/plPL.js +14 -0
- package/node/locales/ptBR.js +14 -0
- package/node/locales/ptPT.js +14 -0
- package/node/locales/roRO.js +13 -0
- package/node/locales/ruRU.js +14 -0
- package/node/locales/skSK.js +13 -0
- package/node/locales/svSE.js +18 -5
- package/node/locales/trTR.js +14 -0
- package/node/locales/ukUA.js +13 -0
- package/node/locales/urPK.js +13 -0
- package/node/locales/viVN.js +14 -0
- package/node/locales/zhCN.js +18 -4
- package/node/locales/zhHK.js +13 -0
- package/node/locales/zhTW.js +13 -0
- package/package.json +4 -4
|
@@ -236,6 +236,10 @@ export interface GridBaseColDef<R extends GridValidRowModel = GridValidRowModel,
|
|
|
236
236
|
* @default 1
|
|
237
237
|
*/
|
|
238
238
|
colSpan?: number | GridColSpanFn<R, V, F>;
|
|
239
|
+
/**
|
|
240
|
+
* Example values that can be used by the grid to get more context about the column.
|
|
241
|
+
*/
|
|
242
|
+
unstable_examples?: V[];
|
|
239
243
|
}
|
|
240
244
|
/**
|
|
241
245
|
* Column Definition interface used for columns with the `actions` type.
|
|
@@ -34,7 +34,7 @@ export interface GridGetRowsResponse {
|
|
|
34
34
|
rowCount?: number;
|
|
35
35
|
/**
|
|
36
36
|
* Additional `pageInfo` for advanced use-cases.
|
|
37
|
-
* `hasNextPage`: When row count is unknown/estimated, `hasNextPage` will be used to check if more records are available on server
|
|
37
|
+
* `hasNextPage`: When row count is unknown/estimated, `hasNextPage` will be used to check if more records are available on server.
|
|
38
38
|
*/
|
|
39
39
|
pageInfo?: {
|
|
40
40
|
hasNextPage?: boolean;
|
|
@@ -44,25 +44,25 @@ export interface GridGetRowsResponse {
|
|
|
44
44
|
export interface GridDataSource {
|
|
45
45
|
/**
|
|
46
46
|
* This method will be called when the grid needs to fetch some rows.
|
|
47
|
-
* @param {GridGetRowsParams} params The parameters required to fetch the rows
|
|
48
|
-
* @returns {Promise<GridGetRowsResponse>} A promise that resolves to the data of type [GridGetRowsResponse]
|
|
47
|
+
* @param {GridGetRowsParams} params The parameters required to fetch the rows.
|
|
48
|
+
* @returns {Promise<GridGetRowsResponse>} A promise that resolves to the data of type [GridGetRowsResponse].
|
|
49
49
|
*/
|
|
50
50
|
getRows(params: GridGetRowsParams): Promise<GridGetRowsResponse>;
|
|
51
51
|
/**
|
|
52
52
|
* This method will be called when the user updates a row [Not yet implemented].
|
|
53
|
-
* @param {GridRowModel} updatedRow The updated row
|
|
54
|
-
* @returns {Promise<any>} If resolved (synced on the backend), the grid will update the row and mutate the cache
|
|
53
|
+
* @param {GridRowModel} updatedRow The updated row.
|
|
54
|
+
* @returns {Promise<any>} If resolved (synced on the backend), the grid will update the row and mutate the cache.
|
|
55
55
|
*/
|
|
56
56
|
updateRow?(updatedRow: GridRowModel): Promise<any>;
|
|
57
57
|
/**
|
|
58
58
|
* Used to group rows by their parent group. Replaces `getTreeDataPath` used in client side tree-data.
|
|
59
|
-
* @param {GridRowModel} row The row to get the group key of
|
|
60
|
-
* @returns {string} The group key for the row
|
|
59
|
+
* @param {GridRowModel} row The row to get the group key of.
|
|
60
|
+
* @returns {string} The group key for the row.
|
|
61
61
|
*/
|
|
62
62
|
getGroupKey?: (row: GridRowModel) => string;
|
|
63
63
|
/**
|
|
64
64
|
* Used to determine the number of children a row has on server.
|
|
65
|
-
* @param {GridRowModel} row The row to check the number of children
|
|
65
|
+
* @param {GridRowModel} row The row to check the number of children.
|
|
66
66
|
* @returns {number} The number of children the row has.
|
|
67
67
|
* If the children count is not available for some reason, but there are some children, `getChildrenCount` should return `-1`.
|
|
68
68
|
*/
|
|
@@ -71,14 +71,14 @@ export interface GridDataSource {
|
|
|
71
71
|
export interface GridDataSourceCache {
|
|
72
72
|
/**
|
|
73
73
|
* Set the cache entry for the given key.
|
|
74
|
-
* @param {GridGetRowsParams} key The key of type `GridGetRowsParams
|
|
75
|
-
* @param {GridGetRowsResponse} value The value to be stored in the cache
|
|
74
|
+
* @param {GridGetRowsParams} key The key of type `GridGetRowsParams`.
|
|
75
|
+
* @param {GridGetRowsResponse} value The value to be stored in the cache.
|
|
76
76
|
*/
|
|
77
77
|
set: (key: GridGetRowsParams, value: GridGetRowsResponse) => void;
|
|
78
78
|
/**
|
|
79
79
|
* Get the cache entry for the given key.
|
|
80
|
-
* @param {GridGetRowsParams} key The key of type `GridGetRowsParams
|
|
81
|
-
* @returns {GridGetRowsResponse} The value stored in the cache
|
|
80
|
+
* @param {GridGetRowsParams} key The key of type `GridGetRowsParams`.
|
|
81
|
+
* @returns {GridGetRowsResponse} The value stored in the cache.
|
|
82
82
|
*/
|
|
83
83
|
get: (key: GridGetRowsParams) => GridGetRowsResponse | undefined;
|
|
84
84
|
/**
|
|
@@ -30,8 +30,8 @@ const LOADING_VARIANTS = {
|
|
|
30
30
|
};
|
|
31
31
|
const GridLoadingOverlay = /*#__PURE__*/React.forwardRef(function GridLoadingOverlay(props, ref) {
|
|
32
32
|
const {
|
|
33
|
-
variant = '
|
|
34
|
-
noRowsVariant = '
|
|
33
|
+
variant = 'linear-progress',
|
|
34
|
+
noRowsVariant = 'skeleton',
|
|
35
35
|
style
|
|
36
36
|
} = props,
|
|
37
37
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
@@ -52,13 +52,13 @@ process.env.NODE_ENV !== "production" ? GridLoadingOverlay.propTypes = {
|
|
|
52
52
|
// ----------------------------------------------------------------------
|
|
53
53
|
/**
|
|
54
54
|
* The variant of the overlay when no rows are displayed.
|
|
55
|
-
* @default '
|
|
55
|
+
* @default 'skeleton'
|
|
56
56
|
*/
|
|
57
57
|
noRowsVariant: PropTypes.oneOf(['circular-progress', 'linear-progress', 'skeleton']),
|
|
58
58
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
59
59
|
/**
|
|
60
60
|
* The variant of the overlay.
|
|
61
|
-
* @default '
|
|
61
|
+
* @default 'linear-progress'
|
|
62
62
|
*/
|
|
63
63
|
variant: PropTypes.oneOf(['circular-progress', 'linear-progress', 'skeleton'])
|
|
64
64
|
} : void 0;
|
|
@@ -229,6 +229,9 @@ const GridCell = /*#__PURE__*/React.forwardRef(function GridCell(props, ref) {
|
|
|
229
229
|
if (rowSpan > 1) {
|
|
230
230
|
cellStyle.height = `calc(var(--height) * ${rowSpan})`;
|
|
231
231
|
cellStyle.zIndex = 5;
|
|
232
|
+
if (isLeftPinned || isRightPinned) {
|
|
233
|
+
cellStyle.zIndex = 6;
|
|
234
|
+
}
|
|
232
235
|
}
|
|
233
236
|
return cellStyle;
|
|
234
237
|
}, [width, isNotVisible, styleProp, pinnedOffset, pinnedPosition, isRtl, rowSpan]);
|
|
@@ -5,6 +5,8 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import composeClasses from '@mui/utils/composeClasses';
|
|
6
6
|
import FormControlLabel from '@mui/material/FormControlLabel';
|
|
7
7
|
import { styled } from '@mui/material/styles';
|
|
8
|
+
import TextField from '@mui/material/TextField';
|
|
9
|
+
import { inputBaseClasses } from '@mui/material/InputBase';
|
|
8
10
|
import { gridColumnDefinitionsSelector, gridColumnVisibilityModelSelector } from "../../hooks/features/columns/gridColumnsSelector.js";
|
|
9
11
|
import { useGridSelector } from "../../hooks/utils/useGridSelector.js";
|
|
10
12
|
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
@@ -20,6 +22,7 @@ const useUtilityClasses = ownerState => {
|
|
|
20
22
|
const slots = {
|
|
21
23
|
root: ['columnsManagement'],
|
|
22
24
|
header: ['columnsManagementHeader'],
|
|
25
|
+
searchInput: ['columnsManagementSearchInput'],
|
|
23
26
|
footer: ['columnsManagementFooter'],
|
|
24
27
|
row: ['columnsManagementRow']
|
|
25
28
|
};
|
|
@@ -42,7 +45,8 @@ function GridColumnsManagement(props) {
|
|
|
42
45
|
disableShowHideToggle = false,
|
|
43
46
|
disableResetButton = false,
|
|
44
47
|
toggleAllMode = 'all',
|
|
45
|
-
getTogglableColumns
|
|
48
|
+
getTogglableColumns,
|
|
49
|
+
searchInputProps
|
|
46
50
|
} = props;
|
|
47
51
|
const isResetDisabled = React.useMemo(() => checkColumnVisibilityModelsSame(columnVisibilityModel, initialColumnVisibilityModel), [columnVisibilityModel, initialColumnVisibilityModel]);
|
|
48
52
|
const sortedColumns = React.useMemo(() => {
|
|
@@ -109,28 +113,52 @@ function GridColumnsManagement(props) {
|
|
|
109
113
|
}
|
|
110
114
|
return false;
|
|
111
115
|
};
|
|
116
|
+
const handleSearchReset = React.useCallback(() => {
|
|
117
|
+
setSearchValue('');
|
|
118
|
+
searchInputRef.current.focus();
|
|
119
|
+
}, []);
|
|
112
120
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
113
121
|
children: [/*#__PURE__*/_jsx(GridColumnsManagementHeader, {
|
|
114
122
|
className: classes.header,
|
|
115
123
|
ownerState: rootProps,
|
|
116
|
-
children: /*#__PURE__*/_jsx(
|
|
124
|
+
children: /*#__PURE__*/_jsx(SearchInput, _extends({
|
|
125
|
+
as: rootProps.slots.baseTextField,
|
|
126
|
+
ownerState: rootProps,
|
|
117
127
|
placeholder: apiRef.current.getLocaleText('columnsManagementSearchTitle'),
|
|
118
128
|
inputRef: searchInputRef,
|
|
129
|
+
className: classes.searchInput,
|
|
119
130
|
value: searchValue,
|
|
120
131
|
onChange: handleSearchValueChange,
|
|
121
132
|
variant: "outlined",
|
|
122
133
|
size: "small",
|
|
134
|
+
type: "search",
|
|
123
135
|
InputProps: {
|
|
124
136
|
startAdornment: /*#__PURE__*/_jsx(rootProps.slots.baseInputAdornment, {
|
|
125
137
|
position: "start",
|
|
126
138
|
children: /*#__PURE__*/_jsx(rootProps.slots.quickFilterIcon, {})
|
|
127
139
|
}),
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
140
|
+
endAdornment: /*#__PURE__*/_jsx(rootProps.slots.baseIconButton, _extends({
|
|
141
|
+
"aria-label": apiRef.current.getLocaleText('columnsManagementDeleteIconLabel'),
|
|
142
|
+
size: "small",
|
|
143
|
+
sx: [searchValue ? {
|
|
144
|
+
visibility: 'visible'
|
|
145
|
+
} : {
|
|
146
|
+
visibility: 'hidden'
|
|
147
|
+
}],
|
|
148
|
+
tabIndex: -1,
|
|
149
|
+
onClick: handleSearchReset
|
|
150
|
+
}, rootProps.slotProps?.baseIconButton, {
|
|
151
|
+
children: /*#__PURE__*/_jsx(rootProps.slots.quickFilterClearIcon, {
|
|
152
|
+
fontSize: "small"
|
|
153
|
+
})
|
|
154
|
+
}))
|
|
155
|
+
},
|
|
156
|
+
inputProps: {
|
|
157
|
+
'aria-label': apiRef.current.getLocaleText('columnsManagementSearchTitle')
|
|
131
158
|
},
|
|
159
|
+
autoComplete: "off",
|
|
132
160
|
fullWidth: true
|
|
133
|
-
}, rootProps.slotProps?.baseTextField))
|
|
161
|
+
}, rootProps.slotProps?.baseTextField, searchInputProps))
|
|
134
162
|
}), /*#__PURE__*/_jsxs(GridColumnsManagementBody, {
|
|
135
163
|
className: classes.root,
|
|
136
164
|
ownerState: rootProps,
|
|
@@ -205,6 +233,7 @@ process.env.NODE_ENV !== "production" ? GridColumnsManagement.propTypes = {
|
|
|
205
233
|
* @returns {GridColDef['field'][]} The list of togglable columns' field names.
|
|
206
234
|
*/
|
|
207
235
|
getTogglableColumns: PropTypes.func,
|
|
236
|
+
searchInputProps: PropTypes.object,
|
|
208
237
|
searchPredicate: PropTypes.func,
|
|
209
238
|
sort: PropTypes.oneOf(['asc', 'desc']),
|
|
210
239
|
/**
|
|
@@ -239,6 +268,24 @@ const GridColumnsManagementHeader = styled('div', {
|
|
|
239
268
|
}) => ({
|
|
240
269
|
padding: theme.spacing(1.5, 3)
|
|
241
270
|
}));
|
|
271
|
+
const SearchInput = styled(TextField, {
|
|
272
|
+
name: 'MuiDataGrid',
|
|
273
|
+
slot: 'ColumnsManagementSearchInput',
|
|
274
|
+
overridesResolver: (props, styles) => styles.columnsManagementSearchInput
|
|
275
|
+
})(({
|
|
276
|
+
theme
|
|
277
|
+
}) => ({
|
|
278
|
+
[`& .${inputBaseClasses.root}`]: {
|
|
279
|
+
padding: theme.spacing(0, 1.5, 0, 1.5)
|
|
280
|
+
},
|
|
281
|
+
[`& .${inputBaseClasses.input}::-webkit-search-decoration,
|
|
282
|
+
& .${inputBaseClasses.input}::-webkit-search-cancel-button,
|
|
283
|
+
& .${inputBaseClasses.input}::-webkit-search-results-button,
|
|
284
|
+
& .${inputBaseClasses.input}::-webkit-search-results-decoration`]: {
|
|
285
|
+
/* clears the 'X' icon from Chrome */
|
|
286
|
+
display: 'none'
|
|
287
|
+
}
|
|
288
|
+
}));
|
|
242
289
|
const GridColumnsManagementFooter = styled('div', {
|
|
243
290
|
name: 'MuiDataGrid',
|
|
244
291
|
slot: 'ColumnsManagementFooter',
|
|
@@ -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', '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',
|
|
@@ -32,6 +43,7 @@ export const GRID_DEFAULT_LOCALE_TEXT = {
|
|
|
32
43
|
columnsManagementNoColumns: 'No columns',
|
|
33
44
|
columnsManagementShowHideAllText: 'Show/Hide All',
|
|
34
45
|
columnsManagementReset: 'Reset',
|
|
46
|
+
columnsManagementDeleteIconLabel: 'Clear',
|
|
35
47
|
// Filter panel text
|
|
36
48
|
filterPanelAddFilter: 'Add filter',
|
|
37
49
|
filterPanelRemoveAll: 'Remove all',
|
|
@@ -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,
|
|
@@ -291,7 +291,7 @@ export const useGridColumnHeaders = props => {
|
|
|
291
291
|
pinnedPosition: pinnedPosition,
|
|
292
292
|
style: style,
|
|
293
293
|
indexInSection: indexInSection,
|
|
294
|
-
sectionLength:
|
|
294
|
+
sectionLength: visibleColumnGroupHeader.length,
|
|
295
295
|
gridHasFiller: gridHasFiller
|
|
296
296
|
}, index);
|
|
297
297
|
});
|
package/modern/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/modern/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/modern/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: 'تصدير',
|
|
@@ -34,6 +46,7 @@ const arSDGrid = {
|
|
|
34
46
|
// columnsManagementNoColumns: 'No columns',
|
|
35
47
|
// columnsManagementShowHideAllText: 'Show/Hide All',
|
|
36
48
|
// columnsManagementReset: 'Reset',
|
|
49
|
+
// columnsManagementDeleteIconLabel: 'Clear',
|
|
37
50
|
|
|
38
51
|
// Filter panel text
|
|
39
52
|
filterPanelAddFilter: 'إضافة مرشِح',
|
package/modern/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: 'Экспарт',
|
|
@@ -48,6 +60,7 @@ const beBYGrid = {
|
|
|
48
60
|
// columnsManagementNoColumns: 'No columns',
|
|
49
61
|
// columnsManagementShowHideAllText: 'Show/Hide All',
|
|
50
62
|
// columnsManagementReset: 'Reset',
|
|
63
|
+
// columnsManagementDeleteIconLabel: 'Clear',
|
|
51
64
|
|
|
52
65
|
// Filter panel text
|
|
53
66
|
filterPanelAddFilter: 'Дадаць фільтр',
|
package/modern/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: 'Изтегли',
|
|
@@ -34,6 +46,8 @@ const bgBGGrid = {
|
|
|
34
46
|
columnsManagementNoColumns: 'Няма колони',
|
|
35
47
|
columnsManagementShowHideAllText: 'Покажи/Скрий Всичко',
|
|
36
48
|
columnsManagementReset: 'Нулирай',
|
|
49
|
+
// columnsManagementDeleteIconLabel: 'Clear',
|
|
50
|
+
|
|
37
51
|
// Filter panel text
|
|
38
52
|
filterPanelAddFilter: 'Добави Филтър',
|
|
39
53
|
filterPanelRemoveAll: 'Премахни всички',
|
package/modern/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',
|
|
@@ -42,6 +54,8 @@ const csCZGrid = {
|
|
|
42
54
|
columnsManagementNoColumns: 'Žádné sloupce',
|
|
43
55
|
columnsManagementShowHideAllText: 'Zobrazit/skrýt vše',
|
|
44
56
|
columnsManagementReset: 'Resetovat',
|
|
57
|
+
// columnsManagementDeleteIconLabel: 'Clear',
|
|
58
|
+
|
|
45
59
|
// Filter panel text
|
|
46
60
|
filterPanelAddFilter: 'Přidat filtr',
|
|
47
61
|
filterPanelRemoveAll: 'Odstranit vše',
|
package/modern/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',
|
|
@@ -34,6 +46,8 @@ const daDKGrid = {
|
|
|
34
46
|
columnsManagementNoColumns: 'Ingen søjler',
|
|
35
47
|
columnsManagementShowHideAllText: 'Vis/Skjul Alle',
|
|
36
48
|
columnsManagementReset: 'Nulstil',
|
|
49
|
+
// columnsManagementDeleteIconLabel: 'Clear',
|
|
50
|
+
|
|
37
51
|
// Filter panel text
|
|
38
52
|
filterPanelAddFilter: 'Tilføj filter',
|
|
39
53
|
filterPanelRemoveAll: 'Fjern alle',
|
package/modern/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',
|
|
@@ -34,6 +46,8 @@ const deDEGrid = {
|
|
|
34
46
|
columnsManagementNoColumns: 'Keine Spalten',
|
|
35
47
|
columnsManagementShowHideAllText: 'Alle anzeigen/verbergen',
|
|
36
48
|
columnsManagementReset: 'Zurücksetzen',
|
|
49
|
+
// columnsManagementDeleteIconLabel: 'Clear',
|
|
50
|
+
|
|
37
51
|
// Filter panel text
|
|
38
52
|
filterPanelAddFilter: 'Filter hinzufügen',
|
|
39
53
|
filterPanelRemoveAll: 'Alle entfernen',
|
package/modern/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: 'Εξαγωγή',
|
|
@@ -34,6 +46,7 @@ const elGRGrid = {
|
|
|
34
46
|
// columnsManagementNoColumns: 'No columns',
|
|
35
47
|
// columnsManagementShowHideAllText: 'Show/Hide All',
|
|
36
48
|
// columnsManagementReset: 'Reset',
|
|
49
|
+
// columnsManagementDeleteIconLabel: 'Clear',
|
|
37
50
|
|
|
38
51
|
// Filter panel text
|
|
39
52
|
filterPanelAddFilter: 'Προσθήκη φίλτρου',
|
package/modern/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',
|
|
@@ -34,6 +46,8 @@ const esESGrid = {
|
|
|
34
46
|
columnsManagementNoColumns: 'Sin columnas',
|
|
35
47
|
columnsManagementShowHideAllText: 'Mostrar/Ocultar todas',
|
|
36
48
|
columnsManagementReset: 'Restablecer',
|
|
49
|
+
// columnsManagementDeleteIconLabel: 'Clear',
|
|
50
|
+
|
|
37
51
|
// Filter panel text
|
|
38
52
|
filterPanelAddFilter: 'Agregar filtro',
|
|
39
53
|
filterPanelRemoveAll: 'Remover todos',
|
|
@@ -47,9 +61,9 @@ const esESGrid = {
|
|
|
47
61
|
filterPanelInputPlaceholder: 'Valor de filtro',
|
|
48
62
|
// Filter operators text
|
|
49
63
|
filterOperatorContains: 'contiene',
|
|
50
|
-
|
|
64
|
+
filterOperatorDoesNotContain: 'no contiene',
|
|
51
65
|
filterOperatorEquals: 'es igual',
|
|
52
|
-
|
|
66
|
+
filterOperatorDoesNotEqual: 'es diferente a',
|
|
53
67
|
filterOperatorStartsWith: 'comienza con',
|
|
54
68
|
filterOperatorEndsWith: 'termina con',
|
|
55
69
|
filterOperatorIs: 'es',
|
|
@@ -69,9 +83,9 @@ const esESGrid = {
|
|
|
69
83
|
'filterOperator<=': '<=',
|
|
70
84
|
// Header filter operators text
|
|
71
85
|
headerFilterOperatorContains: 'Contiene',
|
|
72
|
-
|
|
86
|
+
headerFilterOperatorDoesNotContain: 'No contiene',
|
|
73
87
|
headerFilterOperatorEquals: 'Es igual a',
|
|
74
|
-
|
|
88
|
+
headerFilterOperatorDoesNotEqual: 'Es diferente a',
|
|
75
89
|
headerFilterOperatorStartsWith: 'Comienza con',
|
|
76
90
|
headerFilterOperatorEndsWith: 'Termina con',
|
|
77
91
|
headerFilterOperatorIs: 'Es',
|
package/modern/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: 'خروجی',
|
|
@@ -34,6 +46,8 @@ const faIRGrid = {
|
|
|
34
46
|
columnsManagementNoColumns: 'بدون سطر',
|
|
35
47
|
columnsManagementShowHideAllText: 'نمایش/مخفی کردن همه',
|
|
36
48
|
columnsManagementReset: 'بازنشانی',
|
|
49
|
+
// columnsManagementDeleteIconLabel: 'Clear',
|
|
50
|
+
|
|
37
51
|
// Filter panel text
|
|
38
52
|
filterPanelAddFilter: 'افزودن فیلتر',
|
|
39
53
|
filterPanelRemoveAll: 'حذف همه',
|