@mui/x-data-grid 6.9.0 → 6.9.2
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 +136 -8
- package/DataGrid/DataGrid.js +4 -1
- package/DataGrid/useDataGridComponent.js +1 -1
- package/README.md +1 -1
- package/colDef/gridActionsColDef.js +2 -1
- package/colDef/gridBooleanColDef.js +1 -0
- package/colDef/gridBooleanOperators.js +5 -6
- package/colDef/gridCheckboxSelectionColDef.js +1 -0
- package/colDef/gridDateColDef.js +2 -0
- package/colDef/gridDateOperators.js +14 -19
- package/colDef/gridNumericColDef.js +3 -1
- package/colDef/gridNumericOperators.d.ts +2 -2
- package/colDef/gridNumericOperators.js +24 -43
- package/colDef/gridSingleSelectOperators.js +9 -14
- package/colDef/gridStringColDef.js +3 -1
- package/colDef/gridStringOperators.d.ts +2 -2
- package/colDef/gridStringOperators.js +22 -36
- package/colDef/utils.d.ts +21 -0
- package/colDef/utils.js +51 -0
- package/components/GridPagination.js +16 -3
- package/components/cell/GridCell.js +1 -1
- package/components/cell/GridEditDateCell.js +1 -1
- package/components/cell/GridEditInputCell.js +3 -3
- package/hooks/features/columns/gridColumnsUtils.js +2 -1
- package/hooks/features/dimensions/useGridDimensions.js +2 -2
- package/hooks/features/editing/useGridEditing.js +2 -1
- package/hooks/features/editing/useGridRowEditing.js +2 -2
- package/hooks/features/filter/gridFilterState.d.ts +6 -5
- package/hooks/features/filter/gridFilterUtils.d.ts +8 -6
- package/hooks/features/filter/gridFilterUtils.js +115 -57
- package/hooks/features/filter/useGridFilter.d.ts +1 -1
- package/hooks/features/filter/useGridFilter.js +34 -25
- package/hooks/features/pagination/gridPaginationSelector.js +10 -5
- package/hooks/features/rows/gridRowsUtils.d.ts +1 -0
- package/hooks/features/rows/gridRowsUtils.js +1 -0
- package/hooks/features/rows/useGridParamsApi.d.ts +2 -1
- package/hooks/features/rows/useGridParamsApi.js +31 -1
- package/hooks/features/rows/useGridRows.js +4 -3
- package/index.js +1 -1
- package/internals/index.d.ts +2 -1
- package/internals/index.js +1 -0
- package/joy/joySlots.js +29 -8
- package/legacy/DataGrid/DataGrid.js +4 -1
- package/legacy/DataGrid/useDataGridComponent.js +1 -1
- package/legacy/colDef/gridActionsColDef.js +2 -1
- package/legacy/colDef/gridBooleanColDef.js +1 -0
- package/legacy/colDef/gridBooleanOperators.js +5 -5
- package/legacy/colDef/gridCheckboxSelectionColDef.js +1 -0
- package/legacy/colDef/gridDateColDef.js +2 -0
- package/legacy/colDef/gridDateOperators.js +14 -16
- package/legacy/colDef/gridNumericColDef.js +3 -1
- package/legacy/colDef/gridNumericOperators.js +24 -33
- package/legacy/colDef/gridSingleSelectOperators.js +9 -11
- package/legacy/colDef/gridStringColDef.js +3 -1
- package/legacy/colDef/gridStringOperators.js +22 -28
- package/legacy/colDef/utils.js +51 -0
- package/legacy/components/GridPagination.js +16 -3
- package/legacy/components/cell/GridCell.js +2 -1
- package/legacy/components/cell/GridEditDateCell.js +1 -1
- package/legacy/components/cell/GridEditInputCell.js +3 -3
- package/legacy/hooks/features/columns/gridColumnsUtils.js +4 -1
- package/legacy/hooks/features/dimensions/useGridDimensions.js +2 -2
- package/legacy/hooks/features/editing/useGridEditing.js +2 -1
- package/legacy/hooks/features/editing/useGridRowEditing.js +2 -2
- package/legacy/hooks/features/filter/gridFilterUtils.js +115 -65
- package/legacy/hooks/features/filter/useGridFilter.js +32 -24
- package/legacy/hooks/features/pagination/gridPaginationSelector.js +10 -5
- package/legacy/hooks/features/rows/gridRowsUtils.js +1 -0
- package/legacy/hooks/features/rows/useGridParamsApi.js +29 -1
- package/legacy/hooks/features/rows/useGridRows.js +15 -16
- package/legacy/index.js +1 -1
- package/legacy/internals/index.js +1 -0
- package/legacy/joy/joySlots.js +29 -8
- package/legacy/locales/esES.js +3 -3
- package/legacy/locales/huHU.js +23 -25
- package/legacy/locales/roRO.js +34 -38
- package/locales/esES.js +3 -3
- package/locales/huHU.js +23 -25
- package/locales/roRO.js +34 -38
- package/models/api/gridEditingApi.d.ts +1 -1
- package/models/api/gridParamsApi.d.ts +22 -1
- package/models/colDef/gridColDef.d.ts +13 -1
- package/models/gridFilterOperator.d.ts +17 -2
- package/models/gridRows.d.ts +1 -1
- package/models/props/DataGridProps.d.ts +4 -1
- package/modern/DataGrid/DataGrid.js +4 -1
- package/modern/DataGrid/useDataGridComponent.js +1 -1
- package/modern/colDef/gridActionsColDef.js +2 -1
- package/modern/colDef/gridBooleanColDef.js +1 -0
- package/modern/colDef/gridBooleanOperators.js +5 -6
- package/modern/colDef/gridCheckboxSelectionColDef.js +1 -0
- package/modern/colDef/gridDateColDef.js +2 -0
- package/modern/colDef/gridDateOperators.js +14 -19
- package/modern/colDef/gridNumericColDef.js +3 -1
- package/modern/colDef/gridNumericOperators.js +24 -43
- package/modern/colDef/gridSingleSelectOperators.js +9 -14
- package/modern/colDef/gridStringColDef.js +3 -1
- package/modern/colDef/gridStringOperators.js +22 -36
- package/modern/colDef/utils.js +51 -0
- package/modern/components/GridPagination.js +16 -2
- package/modern/components/cell/GridCell.js +1 -1
- package/modern/components/cell/GridEditDateCell.js +1 -1
- package/modern/components/cell/GridEditInputCell.js +3 -3
- package/modern/hooks/features/columns/gridColumnsUtils.js +2 -1
- package/modern/hooks/features/dimensions/useGridDimensions.js +2 -2
- package/modern/hooks/features/editing/useGridEditing.js +1 -1
- package/modern/hooks/features/editing/useGridRowEditing.js +2 -2
- package/modern/hooks/features/filter/gridFilterUtils.js +110 -54
- package/modern/hooks/features/filter/useGridFilter.js +34 -25
- package/modern/hooks/features/pagination/gridPaginationSelector.js +9 -5
- package/modern/hooks/features/rows/gridRowsUtils.js +1 -0
- package/modern/hooks/features/rows/useGridParamsApi.js +29 -1
- package/modern/hooks/features/rows/useGridRows.js +4 -3
- package/modern/index.js +1 -1
- package/modern/internals/index.js +1 -0
- package/modern/joy/joySlots.js +29 -7
- package/modern/locales/esES.js +3 -3
- package/modern/locales/huHU.js +23 -25
- package/modern/locales/roRO.js +34 -38
- package/node/DataGrid/DataGrid.js +4 -1
- package/node/DataGrid/useDataGridComponent.js +1 -1
- package/node/colDef/gridActionsColDef.js +2 -1
- package/node/colDef/gridBooleanColDef.js +1 -0
- package/node/colDef/gridBooleanOperators.js +5 -6
- package/node/colDef/gridCheckboxSelectionColDef.js +1 -0
- package/node/colDef/gridDateColDef.js +2 -0
- package/node/colDef/gridDateOperators.js +14 -19
- package/node/colDef/gridNumericColDef.js +3 -1
- package/node/colDef/gridNumericOperators.js +24 -43
- package/node/colDef/gridSingleSelectOperators.js +9 -14
- package/node/colDef/gridStringColDef.js +3 -1
- package/node/colDef/gridStringOperators.js +22 -36
- package/node/colDef/utils.js +64 -0
- package/node/components/GridPagination.js +16 -2
- package/node/components/cell/GridCell.js +1 -1
- package/node/components/cell/GridEditDateCell.js +1 -1
- package/node/components/cell/GridEditInputCell.js +3 -3
- package/node/hooks/features/columns/gridColumnsUtils.js +2 -1
- package/node/hooks/features/dimensions/useGridDimensions.js +2 -2
- package/node/hooks/features/editing/useGridEditing.js +1 -1
- package/node/hooks/features/editing/useGridRowEditing.js +1 -1
- package/node/hooks/features/filter/gridFilterUtils.js +110 -54
- package/node/hooks/features/filter/useGridFilter.js +33 -24
- package/node/hooks/features/pagination/gridPaginationSelector.js +9 -5
- package/node/hooks/features/rows/gridRowsUtils.js +3 -1
- package/node/hooks/features/rows/useGridParamsApi.js +29 -1
- package/node/hooks/features/rows/useGridRows.js +3 -2
- package/node/index.js +1 -1
- package/node/internals/index.js +13 -1
- package/node/joy/joySlots.js +29 -7
- package/node/locales/esES.js +3 -3
- package/node/locales/huHU.js +23 -25
- package/node/locales/roRO.js +34 -38
- package/package.json +2 -2
|
@@ -71,12 +71,16 @@ const gridPaginationRowRangeSelector = (0, _createSelector.createSelectorMemoize
|
|
|
71
71
|
let topLevelRowAdded = 0;
|
|
72
72
|
while (lastRowIndex < visibleSortedRowEntries.length && topLevelRowAdded <= topLevelRowsInCurrentPageCount) {
|
|
73
73
|
const row = visibleSortedRowEntries[lastRowIndex];
|
|
74
|
-
const depth = rowTree[row.id]
|
|
75
|
-
if (
|
|
74
|
+
const depth = rowTree[row.id]?.depth;
|
|
75
|
+
if (depth === undefined) {
|
|
76
76
|
lastRowIndex += 1;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
} else {
|
|
78
|
+
if (topLevelRowAdded < topLevelRowsInCurrentPageCount || depth > 0) {
|
|
79
|
+
lastRowIndex += 1;
|
|
80
|
+
}
|
|
81
|
+
if (depth === 0) {
|
|
82
|
+
topLevelRowAdded += 1;
|
|
83
|
+
}
|
|
80
84
|
}
|
|
81
85
|
}
|
|
82
86
|
return {
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.buildRootGroup = exports.GRID_ROOT_GROUP_ID = void 0;
|
|
7
|
+
exports.buildRootGroup = exports.GRID_ROOT_GROUP_ID = exports.GRID_ID_AUTOGENERATED = void 0;
|
|
8
8
|
exports.calculatePinnedRowsHeight = calculatePinnedRowsHeight;
|
|
9
9
|
exports.checkGridRowIdIsValid = checkGridRowIdIsValid;
|
|
10
10
|
exports.createRowsInternalCache = void 0;
|
|
@@ -15,6 +15,8 @@ var _gridRowsSelector = require("./gridRowsSelector");
|
|
|
15
15
|
var _densitySelector = require("../density/densitySelector");
|
|
16
16
|
const GRID_ROOT_GROUP_ID = `auto-generated-group-node-root`;
|
|
17
17
|
exports.GRID_ROOT_GROUP_ID = GRID_ROOT_GROUP_ID;
|
|
18
|
+
const GRID_ID_AUTOGENERATED = Symbol('mui-autogenerated-id');
|
|
19
|
+
exports.GRID_ID_AUTOGENERATED = GRID_ID_AUTOGENERATED;
|
|
18
20
|
const buildRootGroup = () => ({
|
|
19
21
|
type: 'group',
|
|
20
22
|
id: GRID_ROOT_GROUP_ID,
|
|
@@ -7,6 +7,7 @@ exports.MissingRowIdError = void 0;
|
|
|
7
7
|
exports.useGridParamsApi = useGridParamsApi;
|
|
8
8
|
var React = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _domUtils = require("../../../utils/domUtils");
|
|
10
|
+
var _gridRowsUtils = require("./gridRowsUtils");
|
|
10
11
|
var _useGridApiMethod = require("../../utils/useGridApiMethod");
|
|
11
12
|
var _gridFocusStateSelector = require("../focus/gridFocusStateSelector");
|
|
12
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -22,7 +23,10 @@ class MissingRowIdError extends Error {}
|
|
|
22
23
|
* TODO: Impossible priority - useGridFocus also needs to be after useGridParamsApi
|
|
23
24
|
*/
|
|
24
25
|
exports.MissingRowIdError = MissingRowIdError;
|
|
25
|
-
function useGridParamsApi(apiRef) {
|
|
26
|
+
function useGridParamsApi(apiRef, props) {
|
|
27
|
+
const {
|
|
28
|
+
getRowId
|
|
29
|
+
} = props;
|
|
26
30
|
const getColumnHeaderParams = React.useCallback(field => ({
|
|
27
31
|
field,
|
|
28
32
|
colDef: apiRef.current.getColumn(field)
|
|
@@ -106,6 +110,28 @@ function useGridParamsApi(apiRef) {
|
|
|
106
110
|
}
|
|
107
111
|
return colDef.valueGetter(getBaseCellParams(id, field));
|
|
108
112
|
}, [apiRef, getBaseCellParams]);
|
|
113
|
+
const getRowValue = React.useCallback((row, colDef) => {
|
|
114
|
+
const id = _gridRowsUtils.GRID_ID_AUTOGENERATED in row ? row[_gridRowsUtils.GRID_ID_AUTOGENERATED] : getRowId?.(row) ?? row.id;
|
|
115
|
+
const field = colDef.field;
|
|
116
|
+
if (!colDef || !colDef.valueGetter) {
|
|
117
|
+
return row[field];
|
|
118
|
+
}
|
|
119
|
+
return colDef.valueGetter(getBaseCellParams(id, field));
|
|
120
|
+
}, [getBaseCellParams, getRowId]);
|
|
121
|
+
const getRowFormattedValue = React.useCallback((row, colDef) => {
|
|
122
|
+
const value = getRowValue(row, colDef);
|
|
123
|
+
if (!colDef || !colDef.valueFormatter) {
|
|
124
|
+
return value;
|
|
125
|
+
}
|
|
126
|
+
const id = (getRowId ? getRowId(row) : row.id) ?? row[_gridRowsUtils.GRID_ID_AUTOGENERATED];
|
|
127
|
+
const field = colDef.field;
|
|
128
|
+
return colDef.valueFormatter({
|
|
129
|
+
id,
|
|
130
|
+
field,
|
|
131
|
+
value,
|
|
132
|
+
api: apiRef.current
|
|
133
|
+
});
|
|
134
|
+
}, [apiRef, getRowId, getRowValue]);
|
|
109
135
|
const getColumnHeaderElement = React.useCallback(field => {
|
|
110
136
|
if (!apiRef.current.rootElementRef.current) {
|
|
111
137
|
return null;
|
|
@@ -131,6 +157,8 @@ function useGridParamsApi(apiRef) {
|
|
|
131
157
|
getCellValue,
|
|
132
158
|
getCellParams,
|
|
133
159
|
getCellElement,
|
|
160
|
+
getRowValue,
|
|
161
|
+
getRowFormattedValue,
|
|
134
162
|
getRowParams,
|
|
135
163
|
getRowElement,
|
|
136
164
|
getColumnHeaderParams,
|
|
@@ -56,8 +56,9 @@ const useGridRows = (apiRef, props) => {
|
|
|
56
56
|
}
|
|
57
57
|
const node = apiRef.current.getRowNode(id);
|
|
58
58
|
if (node && (0, _gridRowsUtils.isAutoGeneratedRow)(node)) {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
return {
|
|
60
|
+
[_gridRowsUtils.GRID_ID_AUTOGENERATED]: id
|
|
61
|
+
};
|
|
61
62
|
}
|
|
62
63
|
return null;
|
|
63
64
|
}, [apiRef]);
|
package/node/index.js
CHANGED
package/node/internals/index.js
CHANGED
|
@@ -663,7 +663,7 @@ var _warning = require("../utils/warning");
|
|
|
663
663
|
var _exportAs = require("../utils/exportAs");
|
|
664
664
|
var _useGridPrivateApiContext = require("../hooks/utils/useGridPrivateApiContext");
|
|
665
665
|
var _csvSerializer = require("../hooks/features/export/serializers/csvSerializer");
|
|
666
|
-
var _utils3 = require("
|
|
666
|
+
var _utils3 = require("../colDef/utils");
|
|
667
667
|
Object.keys(_utils3).forEach(function (key) {
|
|
668
668
|
if (key === "default" || key === "__esModule") return;
|
|
669
669
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -674,4 +674,16 @@ Object.keys(_utils3).forEach(function (key) {
|
|
|
674
674
|
return _utils3[key];
|
|
675
675
|
}
|
|
676
676
|
});
|
|
677
|
+
});
|
|
678
|
+
var _utils4 = require("./utils");
|
|
679
|
+
Object.keys(_utils4).forEach(function (key) {
|
|
680
|
+
if (key === "default" || key === "__esModule") return;
|
|
681
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
682
|
+
if (key in exports && exports[key] === _utils4[key]) return;
|
|
683
|
+
Object.defineProperty(exports, key, {
|
|
684
|
+
enumerable: true,
|
|
685
|
+
get: function () {
|
|
686
|
+
return _utils4[key];
|
|
687
|
+
}
|
|
688
|
+
});
|
|
677
689
|
});
|
package/node/joy/joySlots.js
CHANGED
|
@@ -19,11 +19,14 @@ var _Select = _interopRequireDefault(require("@mui/joy/Select"));
|
|
|
19
19
|
var _Option = _interopRequireDefault(require("@mui/joy/Option"));
|
|
20
20
|
var _Box = _interopRequireDefault(require("@mui/joy/Box"));
|
|
21
21
|
var _Typography = _interopRequireDefault(require("@mui/joy/Typography"));
|
|
22
|
+
var _CircularProgress = _interopRequireDefault(require("@mui/joy/CircularProgress"));
|
|
23
|
+
var _Tooltip = _interopRequireDefault(require("@mui/joy/Tooltip"));
|
|
22
24
|
var _utils = require("@mui/utils");
|
|
23
25
|
var _icons = _interopRequireWildcard(require("./icons"));
|
|
24
26
|
var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
25
27
|
var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
26
28
|
var _hooks = require("../hooks");
|
|
29
|
+
var _GridOverlay = require("../components/containers/GridOverlay");
|
|
27
30
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
28
31
|
const _excluded = ["touchRippleRef", "inputProps", "onChange", "color", "size", "checked", "sx", "value", "inputRef"],
|
|
29
32
|
_excluded2 = ["onChange", "label", "placeholder", "value", "inputRef", "type", "size", "variant"],
|
|
@@ -304,7 +307,20 @@ const Pagination = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
304
307
|
}, [apiRef]);
|
|
305
308
|
const page = paginationModel.page <= lastPage ? paginationModel.page : lastPage;
|
|
306
309
|
const pageSize = paginationModel.pageSize;
|
|
307
|
-
const
|
|
310
|
+
const isPageSizeIncludedInPageSizeOptions = () => {
|
|
311
|
+
for (let i = 0; i < rootProps.pageSizeOptions.length; i += 1) {
|
|
312
|
+
const option = rootProps.pageSizeOptions[i];
|
|
313
|
+
if (typeof option === 'number') {
|
|
314
|
+
if (option === pageSize) {
|
|
315
|
+
return true;
|
|
316
|
+
}
|
|
317
|
+
} else if (option.value === pageSize) {
|
|
318
|
+
return true;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
return false;
|
|
322
|
+
};
|
|
323
|
+
const pageSizeOptions = isPageSizeIncludedInPageSizeOptions() ? rootProps.pageSizeOptions : [];
|
|
308
324
|
const handleChangeRowsPerPage = (event, newValue) => {
|
|
309
325
|
const newPageSize = Number(newValue);
|
|
310
326
|
apiRef.current.setPageSize(newPageSize);
|
|
@@ -328,9 +344,9 @@ const Pagination = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
328
344
|
value: pageSize,
|
|
329
345
|
children: pageSizeOptions.map(option => {
|
|
330
346
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Option, {
|
|
331
|
-
value: option,
|
|
332
|
-
children: option
|
|
333
|
-
}, option);
|
|
347
|
+
value: typeof option !== 'number' && option.value ? option.value : option,
|
|
348
|
+
children: typeof option !== 'number' && option.label ? option.label : `${option}`
|
|
349
|
+
}, typeof option !== 'number' && option.label ? option.label : `${option}`);
|
|
334
350
|
})
|
|
335
351
|
})]
|
|
336
352
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, {
|
|
@@ -375,6 +391,12 @@ const Pagination = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
375
391
|
})]
|
|
376
392
|
});
|
|
377
393
|
});
|
|
394
|
+
const LoadingOverlay = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
395
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridOverlay.GridOverlay, (0, _extends2.default)({}, props, {
|
|
396
|
+
ref: ref,
|
|
397
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CircularProgress.default, {})
|
|
398
|
+
}));
|
|
399
|
+
});
|
|
378
400
|
const joySlots = (0, _extends2.default)({}, _icons.default, {
|
|
379
401
|
baseCheckbox: Checkbox,
|
|
380
402
|
baseTextField: TextField,
|
|
@@ -385,9 +407,9 @@ const joySlots = (0, _extends2.default)({}, _icons.default, {
|
|
|
385
407
|
baseSelectOption: Option,
|
|
386
408
|
baseInputLabel: InputLabel,
|
|
387
409
|
baseFormControl: _FormControl.default,
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
410
|
+
baseTooltip: _Tooltip.default,
|
|
411
|
+
pagination: Pagination,
|
|
412
|
+
loadingOverlay: LoadingOverlay
|
|
391
413
|
});
|
|
392
414
|
var _default = joySlots;
|
|
393
415
|
exports.default = _default;
|
package/node/locales/esES.js
CHANGED
|
@@ -14,8 +14,8 @@ const esESGrid = {
|
|
|
14
14
|
toolbarDensity: 'Densidad',
|
|
15
15
|
toolbarDensityLabel: 'Densidad',
|
|
16
16
|
toolbarDensityCompact: 'Compacta',
|
|
17
|
-
toolbarDensityStandard: '
|
|
18
|
-
toolbarDensityComfortable: '
|
|
17
|
+
toolbarDensityStandard: 'Estándar',
|
|
18
|
+
toolbarDensityComfortable: 'Cómoda',
|
|
19
19
|
// Columns selector toolbar button text
|
|
20
20
|
toolbarColumns: 'Columnas',
|
|
21
21
|
toolbarColumnsLabel: 'Seleccionar columnas',
|
|
@@ -43,7 +43,7 @@ const esESGrid = {
|
|
|
43
43
|
columnsPanelHideAllButton: 'Ocultar todo',
|
|
44
44
|
// Filter panel text
|
|
45
45
|
filterPanelAddFilter: 'Agregar filtro',
|
|
46
|
-
|
|
46
|
+
filterPanelRemoveAll: 'Remover todos',
|
|
47
47
|
filterPanelDeleteIconLabel: 'Borrar',
|
|
48
48
|
filterPanelLogicOperator: 'Operador lógico',
|
|
49
49
|
filterPanelOperator: 'Operadores',
|
package/node/locales/huHU.js
CHANGED
|
@@ -66,34 +66,32 @@ const huHUGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'üres',
|
|
67
67
|
filterOperatorIsNotEmpty: 'nem üres',
|
|
68
68
|
filterOperatorIsAnyOf: 'a következők egyike:',
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
'filterOperator=': '=',
|
|
70
|
+
'filterOperator!=': '!=',
|
|
71
|
+
'filterOperator>': '>',
|
|
72
|
+
'filterOperator>=': '>=',
|
|
73
|
+
'filterOperator<': '<',
|
|
74
|
+
'filterOperator<=': '<=',
|
|
76
75
|
// Header filter operators text
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
76
|
+
headerFilterOperatorContains: 'Tartalmazza:',
|
|
77
|
+
headerFilterOperatorEquals: 'Egyenlő ezzel:',
|
|
78
|
+
headerFilterOperatorStartsWith: 'Ezzel kezdődik:',
|
|
79
|
+
headerFilterOperatorEndsWith: 'Ezzel végződik:',
|
|
81
80
|
// headerFilterOperatorIs: 'Is',
|
|
82
81
|
// headerFilterOperatorNot: 'Is not',
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
82
|
+
headerFilterOperatorAfter: 'Ezutáni:',
|
|
83
|
+
headerFilterOperatorOnOrAfter: 'Ekkozori vagy ezutáni:',
|
|
84
|
+
headerFilterOperatorBefore: 'Ezelőtti:',
|
|
85
|
+
headerFilterOperatorOnOrBefore: 'Ekkori vagy ezelőtti:',
|
|
86
|
+
headerFilterOperatorIsEmpty: 'Üres',
|
|
87
|
+
headerFilterOperatorIsNotEmpty: 'Nem üres',
|
|
88
|
+
headerFilterOperatorIsAnyOf: 'A következők egyike:',
|
|
89
|
+
'headerFilterOperator=': 'Egyenlő',
|
|
90
|
+
'headerFilterOperator!=': 'Nem egyenlő',
|
|
91
|
+
'headerFilterOperator>': 'Nagyobb mint',
|
|
92
|
+
'headerFilterOperator>=': 'Nagyobb vagy egyenlő',
|
|
93
|
+
'headerFilterOperator<': 'Kissebb mint',
|
|
94
|
+
'headerFilterOperator<=': 'Kissebb vagy enygenlő',
|
|
97
95
|
// Filter values text
|
|
98
96
|
filterValueAny: 'bármilyen',
|
|
99
97
|
filterValueTrue: 'igaz',
|
package/node/locales/roRO.js
CHANGED
|
@@ -43,7 +43,7 @@ const roROGrid = {
|
|
|
43
43
|
columnsPanelHideAllButton: 'Ascunde tot',
|
|
44
44
|
// Filter panel text
|
|
45
45
|
filterPanelAddFilter: 'Adăugare filtru',
|
|
46
|
-
|
|
46
|
+
filterPanelRemoveAll: 'Șterge tot',
|
|
47
47
|
filterPanelDeleteIconLabel: 'Ștergere',
|
|
48
48
|
filterPanelLogicOperator: 'Operatori logici',
|
|
49
49
|
filterPanelOperator: 'Operatori',
|
|
@@ -66,34 +66,32 @@ const roROGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'este gol',
|
|
67
67
|
filterOperatorIsNotEmpty: 'nu este gol',
|
|
68
68
|
filterOperatorIsAnyOf: 'este una din valori',
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
'filterOperator=': '=',
|
|
70
|
+
'filterOperator!=': '!=',
|
|
71
|
+
'filterOperator>': '>',
|
|
72
|
+
'filterOperator>=': '>=',
|
|
73
|
+
'filterOperator<': '<',
|
|
74
|
+
'filterOperator<=': '<=',
|
|
76
75
|
// Header filter operators text
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
76
|
+
headerFilterOperatorContains: 'Conține',
|
|
77
|
+
headerFilterOperatorEquals: 'Egal cu',
|
|
78
|
+
headerFilterOperatorStartsWith: 'Începe cu',
|
|
79
|
+
headerFilterOperatorEndsWith: 'Se termină cu',
|
|
80
|
+
headerFilterOperatorIs: 'Este',
|
|
81
|
+
headerFilterOperatorNot: 'Nu este',
|
|
82
|
+
headerFilterOperatorAfter: 'Este după',
|
|
83
|
+
headerFilterOperatorOnOrAfter: 'Este la sau „după”',
|
|
84
|
+
headerFilterOperatorBefore: 'Este înainte de',
|
|
85
|
+
headerFilterOperatorOnOrBefore: 'este la sau înainte de',
|
|
86
|
+
headerFilterOperatorIsEmpty: 'Este gol',
|
|
87
|
+
headerFilterOperatorIsNotEmpty: 'Nu este gol',
|
|
88
|
+
headerFilterOperatorIsAnyOf: 'Este una din valori',
|
|
89
|
+
'headerFilterOperator=': 'Egal cu',
|
|
90
|
+
'headerFilterOperator!=': 'Nu este egal cu',
|
|
91
|
+
'headerFilterOperator>': 'Mai mare decât',
|
|
92
|
+
'headerFilterOperator>=': 'Mai mare sau egal cu',
|
|
93
|
+
'headerFilterOperator<': 'Mai mic decât',
|
|
94
|
+
'headerFilterOperator<=': 'Mai mic sau egal cu',
|
|
97
95
|
// Filter values text
|
|
98
96
|
filterValueAny: 'Aleatoriu',
|
|
99
97
|
filterValueTrue: 'Da',
|
|
@@ -101,7 +99,7 @@ const roROGrid = {
|
|
|
101
99
|
// Column menu text
|
|
102
100
|
columnMenuLabel: 'Meniu',
|
|
103
101
|
columnMenuShowColumns: 'Afișează toate coloanele',
|
|
104
|
-
|
|
102
|
+
columnMenuManageColumns: 'Gestionează coloane',
|
|
105
103
|
columnMenuFilter: 'Filtru',
|
|
106
104
|
columnMenuHideColumn: 'Ascunde',
|
|
107
105
|
columnMenuUnsort: 'Dezactivare sortare',
|
|
@@ -145,16 +143,14 @@ const roROGrid = {
|
|
|
145
143
|
expandDetailPanel: 'Extindere',
|
|
146
144
|
collapseDetailPanel: 'Restrângere',
|
|
147
145
|
// Row reordering text
|
|
148
|
-
rowReorderingHeaderName: 'Reordonare rânduri'
|
|
149
|
-
|
|
146
|
+
rowReorderingHeaderName: 'Reordonare rânduri',
|
|
150
147
|
// Aggregation
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
148
|
+
aggregationMenuItemHeader: 'Agregare',
|
|
149
|
+
aggregationFunctionLabelSum: 'Sumă',
|
|
150
|
+
aggregationFunctionLabelAvg: 'Medie',
|
|
151
|
+
aggregationFunctionLabelMin: 'Minim',
|
|
152
|
+
aggregationFunctionLabelMax: 'Maxim',
|
|
153
|
+
aggregationFunctionLabelSize: 'Numărul elementelor'
|
|
157
154
|
};
|
|
158
|
-
|
|
159
155
|
const roRO = (0, _getGridLocalization.getGridLocalization)(roROGrid, _locale.roRO);
|
|
160
156
|
exports.roRO = roRO;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "6.9.
|
|
3
|
+
"version": "6.9.2",
|
|
4
4
|
"description": "The community edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.22.5",
|
|
39
|
-
"@mui/utils": "^5.13.
|
|
39
|
+
"@mui/utils": "^5.13.6",
|
|
40
40
|
"clsx": "^1.2.1",
|
|
41
41
|
"prop-types": "^15.8.1",
|
|
42
42
|
"reselect": "^4.1.8"
|