@mui/x-data-grid 6.10.2 → 6.11.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 +154 -0
- package/DataGrid/DataGrid.d.ts +1 -1
- package/DataGrid/DataGrid.js +2 -1
- package/colDef/utils.d.ts +1 -1
- package/colDef/utils.js +1 -1
- package/components/GridPagination.d.ts +6 -2
- package/components/cell/GridActionsCellItem.d.ts +6 -2
- package/components/cell/GridCell.js +57 -46
- package/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
- package/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
- package/components/containers/GridMainContainer.js +10 -3
- package/components/containers/GridRoot.js +7 -13
- package/components/panel/GridPanel.d.ts +1 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
- package/hooks/features/columns/gridColumnsUtils.js +2 -2
- package/hooks/features/virtualization/useGridVirtualScroller.d.ts +7 -4
- package/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
- package/hooks/utils/useGridAriaAttributes.d.ts +6 -0
- package/hooks/utils/useGridAriaAttributes.js +25 -0
- package/index.js +1 -1
- package/legacy/DataGrid/DataGrid.js +2 -1
- package/legacy/colDef/utils.js +1 -1
- package/legacy/components/cell/GridCell.js +57 -46
- package/legacy/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
- package/legacy/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
- package/legacy/components/containers/GridMainContainer.js +10 -3
- package/legacy/components/containers/GridRoot.js +7 -13
- package/legacy/hooks/features/columns/gridColumnsUtils.js +2 -2
- package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
- package/legacy/hooks/utils/useGridAriaAttributes.js +25 -0
- package/legacy/index.js +1 -1
- package/legacy/locales/fiFI.js +28 -30
- package/legacy/locales/heIL.js +26 -29
- package/legacy/locales/itIT.js +34 -38
- package/locales/fiFI.js +28 -30
- package/locales/heIL.js +26 -29
- package/locales/itIT.js +34 -38
- package/models/gridFilterOperator.d.ts +1 -1
- package/models/props/DataGridProps.d.ts +7 -1
- package/modern/DataGrid/DataGrid.js +2 -1
- package/modern/colDef/utils.js +1 -1
- package/modern/components/cell/GridCell.js +54 -43
- package/modern/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
- package/modern/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
- package/modern/components/containers/GridMainContainer.js +9 -3
- package/modern/components/containers/GridRoot.js +6 -13
- package/modern/hooks/features/columns/gridColumnsUtils.js +2 -2
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
- package/modern/hooks/utils/useGridAriaAttributes.js +24 -0
- package/modern/index.js +1 -1
- package/modern/locales/fiFI.js +28 -30
- package/modern/locales/heIL.js +26 -29
- package/modern/locales/itIT.js +34 -38
- package/node/DataGrid/DataGrid.js +2 -1
- package/node/colDef/utils.js +1 -1
- package/node/components/cell/GridCell.js +54 -43
- package/node/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
- package/node/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
- package/node/components/containers/GridMainContainer.js +10 -3
- package/node/components/containers/GridRoot.js +6 -13
- package/node/hooks/features/columns/gridColumnsUtils.js +1 -1
- package/node/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
- package/node/hooks/utils/useGridAriaAttributes.js +31 -0
- package/node/index.js +1 -1
- package/node/locales/fiFI.js +28 -30
- package/node/locales/heIL.js +26 -29
- package/node/locales/itIT.js +34 -38
- package/package.json +3 -3
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.GridMainContainer = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
9
|
var React = _interopRequireWildcard(require("react"));
|
|
8
10
|
var _utils = require("@mui/utils");
|
|
9
11
|
var _system = require("@mui/system");
|
|
10
12
|
var _gridClasses = require("../../constants/gridClasses");
|
|
11
13
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
14
|
+
var _useGridAriaAttributes = require("../../hooks/utils/useGridAriaAttributes");
|
|
12
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
16
|
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); }
|
|
14
17
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -35,11 +38,15 @@ const GridMainContainerRoot = (0, _system.styled)('div', {
|
|
|
35
38
|
const GridMainContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
36
39
|
const rootProps = (0, _useGridRootProps.useGridRootProps)();
|
|
37
40
|
const classes = useUtilityClasses(rootProps);
|
|
38
|
-
|
|
41
|
+
const getAriaAttributes = rootProps.experimentalFeatures?.ariaV7 // ariaV7 should never change
|
|
42
|
+
? _useGridAriaAttributes.useGridAriaAttributes : null;
|
|
43
|
+
const ariaAttributes = typeof getAriaAttributes === 'function' ? getAriaAttributes() : null;
|
|
44
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(GridMainContainerRoot, (0, _extends2.default)({
|
|
39
45
|
ref: ref,
|
|
40
46
|
className: classes.root,
|
|
41
|
-
ownerState: rootProps
|
|
47
|
+
ownerState: rootProps
|
|
48
|
+
}, ariaAttributes, {
|
|
42
49
|
children: props.children
|
|
43
|
-
});
|
|
50
|
+
}));
|
|
44
51
|
});
|
|
45
52
|
exports.GridMainContainer = GridMainContainer;
|
|
@@ -12,14 +12,12 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
12
12
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
13
13
|
var _utils = require("@mui/utils");
|
|
14
14
|
var _GridRootStyles = require("./GridRootStyles");
|
|
15
|
-
var _gridColumnsSelector = require("../../hooks/features/columns/gridColumnsSelector");
|
|
16
15
|
var _useGridSelector = require("../../hooks/utils/useGridSelector");
|
|
17
16
|
var _useGridPrivateApiContext = require("../../hooks/utils/useGridPrivateApiContext");
|
|
18
17
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
19
18
|
var _gridClasses = require("../../constants/gridClasses");
|
|
20
19
|
var _densitySelector = require("../../hooks/features/density/densitySelector");
|
|
21
|
-
var
|
|
22
|
-
var _gridRowsSelector = require("../../hooks/features/rows/gridRowsSelector");
|
|
20
|
+
var _useGridAriaAttributes = require("../../hooks/utils/useGridAriaAttributes");
|
|
23
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
24
22
|
const _excluded = ["children", "className"];
|
|
25
23
|
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); }
|
|
@@ -43,13 +41,12 @@ const GridRoot = /*#__PURE__*/React.forwardRef(function GridRoot(props, ref) {
|
|
|
43
41
|
} = props,
|
|
44
42
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
45
43
|
const apiRef = (0, _useGridPrivateApiContext.useGridPrivateApiContext)();
|
|
46
|
-
const visibleColumns = (0, _useGridSelector.useGridSelector)(apiRef, _gridColumnsSelector.gridVisibleColumnDefinitionsSelector);
|
|
47
|
-
const totalRowCount = (0, _useGridSelector.useGridSelector)(apiRef, _gridRowsSelector.gridRowCountSelector);
|
|
48
44
|
const densityValue = (0, _useGridSelector.useGridSelector)(apiRef, _densitySelector.gridDensityValueSelector);
|
|
49
|
-
const headerGroupingMaxDepth = (0, _useGridSelector.useGridSelector)(apiRef, _gridColumnGroupsSelector.gridColumnGroupsHeaderMaxDepthSelector);
|
|
50
45
|
const rootContainerRef = React.useRef(null);
|
|
51
46
|
const handleRef = (0, _utils.unstable_useForkRef)(rootContainerRef, ref);
|
|
52
|
-
const
|
|
47
|
+
const getAriaAttributes = rootProps.experimentalFeatures?.ariaV7 // ariaV7 should never change
|
|
48
|
+
? null : _useGridAriaAttributes.useGridAriaAttributes;
|
|
49
|
+
const ariaAttributes = typeof getAriaAttributes === 'function' ? getAriaAttributes() : null;
|
|
53
50
|
const ownerState = (0, _extends2.default)({}, rootProps, {
|
|
54
51
|
density: densityValue
|
|
55
52
|
});
|
|
@@ -69,12 +66,8 @@ const GridRoot = /*#__PURE__*/React.forwardRef(function GridRoot(props, ref) {
|
|
|
69
66
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridRootStyles.GridRootStyles, (0, _extends2.default)({
|
|
70
67
|
ref: handleRef,
|
|
71
68
|
className: (0, _clsx.default)(className, classes.root),
|
|
72
|
-
ownerState: ownerState
|
|
73
|
-
|
|
74
|
-
"aria-colcount": visibleColumns.length,
|
|
75
|
-
"aria-rowcount": headerGroupingMaxDepth + 1 + pinnedRowsCount + totalRowCount,
|
|
76
|
-
"aria-multiselectable": !rootProps.disableMultipleRowSelection
|
|
77
|
-
}, other, {
|
|
69
|
+
ownerState: ownerState
|
|
70
|
+
}, ariaAttributes, other, {
|
|
78
71
|
children: children
|
|
79
72
|
}));
|
|
80
73
|
});
|
|
@@ -141,7 +141,7 @@ const hydrateColumnsWidth = (rawState, viewportInnerWidth) => {
|
|
|
141
141
|
computedWidth = 0;
|
|
142
142
|
flexColumns.push(newColumn);
|
|
143
143
|
} else {
|
|
144
|
-
computedWidth = (0, _utils.clamp)(newColumn.width, newColumn.minWidth, newColumn.maxWidth);
|
|
144
|
+
computedWidth = (0, _utils.clamp)(newColumn.width || _colDef.GRID_STRING_COL_DEF.width, newColumn.minWidth || _colDef.GRID_STRING_COL_DEF.minWidth, newColumn.maxWidth || _colDef.GRID_STRING_COL_DEF.maxWidth);
|
|
145
145
|
}
|
|
146
146
|
widthAllocatedBeforeFlex += computedWidth;
|
|
147
147
|
newColumn.computedWidth = computedWidth;
|
|
@@ -562,15 +562,18 @@ const useGridVirtualScroller = props => {
|
|
|
562
562
|
onWheel: handleWheel,
|
|
563
563
|
onTouchMove: handleTouchMove
|
|
564
564
|
}, inputProps, {
|
|
565
|
-
style: inputProps.style ? (0, _extends2.default)({}, inputProps.style, rootStyle) : rootStyle
|
|
565
|
+
style: inputProps.style ? (0, _extends2.default)({}, inputProps.style, rootStyle) : rootStyle,
|
|
566
|
+
role: 'presentation'
|
|
566
567
|
}),
|
|
567
568
|
getContentProps: ({
|
|
568
569
|
style
|
|
569
570
|
} = {}) => ({
|
|
570
|
-
style: style ? (0, _extends2.default)({}, style, contentSize) : contentSize
|
|
571
|
+
style: style ? (0, _extends2.default)({}, style, contentSize) : contentSize,
|
|
572
|
+
role: 'presentation'
|
|
571
573
|
}),
|
|
572
574
|
getRenderZoneProps: () => ({
|
|
573
|
-
ref: renderZoneRef
|
|
575
|
+
ref: renderZoneRef,
|
|
576
|
+
role: 'rowgroup'
|
|
574
577
|
})
|
|
575
578
|
};
|
|
576
579
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useGridAriaAttributes = void 0;
|
|
7
|
+
var _gridColumnsSelector = require("../features/columns/gridColumnsSelector");
|
|
8
|
+
var _useGridSelector = require("./useGridSelector");
|
|
9
|
+
var _useGridRootProps = require("./useGridRootProps");
|
|
10
|
+
var _gridColumnGroupsSelector = require("../features/columnGrouping/gridColumnGroupsSelector");
|
|
11
|
+
var _gridRowsSelector = require("../features/rows/gridRowsSelector");
|
|
12
|
+
var _useGridPrivateApiContext = require("./useGridPrivateApiContext");
|
|
13
|
+
const useGridAriaAttributes = () => {
|
|
14
|
+
const apiRef = (0, _useGridPrivateApiContext.useGridPrivateApiContext)();
|
|
15
|
+
const rootProps = (0, _useGridRootProps.useGridRootProps)();
|
|
16
|
+
const visibleColumns = (0, _useGridSelector.useGridSelector)(apiRef, _gridColumnsSelector.gridVisibleColumnDefinitionsSelector);
|
|
17
|
+
const totalRowCount = (0, _useGridSelector.useGridSelector)(apiRef, _gridRowsSelector.gridRowCountSelector);
|
|
18
|
+
const headerGroupingMaxDepth = (0, _useGridSelector.useGridSelector)(apiRef, _gridColumnGroupsSelector.gridColumnGroupsHeaderMaxDepthSelector);
|
|
19
|
+
const pinnedRowsCount = (0, _useGridSelector.useGridSelector)(apiRef, _gridRowsSelector.gridPinnedRowsCountSelector);
|
|
20
|
+
let role = 'grid';
|
|
21
|
+
if (rootProps.experimentalFeatures?.ariaV7 && rootProps.treeData) {
|
|
22
|
+
role = 'treegrid';
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
role,
|
|
26
|
+
'aria-colcount': visibleColumns.length,
|
|
27
|
+
'aria-rowcount': headerGroupingMaxDepth + 1 + pinnedRowsCount + totalRowCount,
|
|
28
|
+
'aria-multiselectable': !rootProps.disableMultipleRowSelection
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
exports.useGridAriaAttributes = useGridAriaAttributes;
|
package/node/index.js
CHANGED
package/node/locales/fiFI.js
CHANGED
|
@@ -43,7 +43,7 @@ const fiFIGrid = {
|
|
|
43
43
|
columnsPanelHideAllButton: 'Piilota kaikki',
|
|
44
44
|
// Filter panel text
|
|
45
45
|
filterPanelAddFilter: 'Lisää suodatin',
|
|
46
|
-
|
|
46
|
+
filterPanelRemoveAll: 'Poista kaikki',
|
|
47
47
|
filterPanelDeleteIconLabel: 'Poista',
|
|
48
48
|
filterPanelLogicOperator: 'Logiikkaoperaattori',
|
|
49
49
|
filterPanelOperator: 'Operaattorit',
|
|
@@ -54,7 +54,7 @@ const fiFIGrid = {
|
|
|
54
54
|
filterPanelInputPlaceholder: 'Suodattimen arvo',
|
|
55
55
|
// Filter operators text
|
|
56
56
|
filterOperatorContains: 'sisältää',
|
|
57
|
-
filterOperatorEquals: 'on yhtä suuri',
|
|
57
|
+
filterOperatorEquals: 'on yhtä suuri kuin',
|
|
58
58
|
filterOperatorStartsWith: 'alkaa',
|
|
59
59
|
filterOperatorEndsWith: 'päättyy',
|
|
60
60
|
filterOperatorIs: 'on',
|
|
@@ -65,35 +65,33 @@ const fiFIGrid = {
|
|
|
65
65
|
filterOperatorOnOrBefore: 'on sama tai ennen',
|
|
66
66
|
filterOperatorIsEmpty: 'on tyhjä',
|
|
67
67
|
filterOperatorIsNotEmpty: 'ei ole tyhjä',
|
|
68
|
-
filterOperatorIsAnyOf: 'mikä tahansa seuraavista',
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
68
|
+
filterOperatorIsAnyOf: 'on mikä tahansa seuraavista',
|
|
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: 'Sisältää',
|
|
77
|
+
headerFilterOperatorEquals: 'On yhtä suuri kuin',
|
|
78
|
+
headerFilterOperatorStartsWith: 'Alkaa',
|
|
79
|
+
headerFilterOperatorEndsWith: 'Päättyy',
|
|
80
|
+
headerFilterOperatorIs: 'On',
|
|
81
|
+
headerFilterOperatorNot: 'Ei ole',
|
|
82
|
+
headerFilterOperatorAfter: 'On jälkeen',
|
|
83
|
+
headerFilterOperatorOnOrAfter: 'On sama tai jälkeen',
|
|
84
|
+
headerFilterOperatorBefore: 'On ennen',
|
|
85
|
+
headerFilterOperatorOnOrBefore: 'On sama tai ennen',
|
|
86
|
+
headerFilterOperatorIsEmpty: 'On tyhjä',
|
|
87
|
+
headerFilterOperatorIsNotEmpty: 'Ei ole tyhjä',
|
|
88
|
+
headerFilterOperatorIsAnyOf: 'On mikä tahansa seuraavista',
|
|
89
|
+
'headerFilterOperator=': 'On yhtä suuri kuin',
|
|
90
|
+
'headerFilterOperator!=': 'Ei ole yhtä suuri kuin',
|
|
91
|
+
'headerFilterOperator>': 'Enemmän kuin',
|
|
92
|
+
'headerFilterOperator>=': 'Enemmän tai yhtä paljon kuin',
|
|
93
|
+
'headerFilterOperator<': 'Vähemmän kuin',
|
|
94
|
+
'headerFilterOperator<=': 'Vähemmän tai yhtä paljon kuin',
|
|
97
95
|
// Filter values text
|
|
98
96
|
filterValueAny: 'mikä tahansa',
|
|
99
97
|
filterValueTrue: 'tosi',
|
package/node/locales/heIL.js
CHANGED
|
@@ -74,26 +74,25 @@ const heILGrid = {
|
|
|
74
74
|
// 'filterOperator<=': '<=',
|
|
75
75
|
|
|
76
76
|
// Header filter operators text
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
77
|
+
headerFilterOperatorContains: 'מכיל',
|
|
78
|
+
headerFilterOperatorEquals: 'שווה',
|
|
79
|
+
headerFilterOperatorStartsWith: 'מתחיל ב-',
|
|
80
|
+
headerFilterOperatorEndsWith: 'נגמר ב-',
|
|
81
|
+
headerFilterOperatorIs: 'הינו',
|
|
82
|
+
headerFilterOperatorNot: 'אינו',
|
|
83
|
+
headerFilterOperatorAfter: 'אחרי',
|
|
84
|
+
headerFilterOperatorOnOrAfter: 'ב- או אחרי',
|
|
85
|
+
headerFilterOperatorBefore: 'לפני',
|
|
86
|
+
headerFilterOperatorOnOrBefore: 'ב- או לפני',
|
|
87
|
+
headerFilterOperatorIsEmpty: 'ריק',
|
|
88
|
+
headerFilterOperatorIsNotEmpty: 'אינו ריק',
|
|
89
|
+
headerFilterOperatorIsAnyOf: 'הוא אחד מ-',
|
|
90
|
+
'headerFilterOperator=': 'שווה',
|
|
91
|
+
'headerFilterOperator!=': 'אינו שווה',
|
|
92
|
+
'headerFilterOperator>': 'גדול מ-',
|
|
93
|
+
'headerFilterOperator>=': 'גדול שווה ל-',
|
|
94
|
+
'headerFilterOperator<': 'קטן מ-',
|
|
95
|
+
'headerFilterOperator<=': 'קטן שווה ל-',
|
|
97
96
|
// Filter values text
|
|
98
97
|
filterValueAny: 'כל ערך',
|
|
99
98
|
filterValueTrue: 'כן',
|
|
@@ -146,16 +145,14 @@ const heILGrid = {
|
|
|
146
145
|
expandDetailPanel: 'הרחב',
|
|
147
146
|
collapseDetailPanel: 'כווץ',
|
|
148
147
|
// Row reordering text
|
|
149
|
-
rowReorderingHeaderName: 'סידור שורות'
|
|
150
|
-
|
|
148
|
+
rowReorderingHeaderName: 'סידור שורות',
|
|
151
149
|
// Aggregation
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
150
|
+
aggregationMenuItemHeader: 'צבירה',
|
|
151
|
+
aggregationFunctionLabelSum: 'סכום',
|
|
152
|
+
aggregationFunctionLabelAvg: 'ממוצע',
|
|
153
|
+
aggregationFunctionLabelMin: 'מינימום',
|
|
154
|
+
aggregationFunctionLabelMax: 'מקסימום',
|
|
155
|
+
aggregationFunctionLabelSize: 'גודל'
|
|
158
156
|
};
|
|
159
|
-
|
|
160
157
|
const heIL = (0, _getGridLocalization.getGridLocalization)(heILGrid, _locale.heIL);
|
|
161
158
|
exports.heIL = heIL;
|
package/node/locales/itIT.js
CHANGED
|
@@ -43,7 +43,7 @@ const itITGrid = {
|
|
|
43
43
|
columnsPanelHideAllButton: 'Nascondi tutto',
|
|
44
44
|
// Filter panel text
|
|
45
45
|
filterPanelAddFilter: 'Aggiungi un filtro',
|
|
46
|
-
|
|
46
|
+
filterPanelRemoveAll: 'Rimuovi filtri',
|
|
47
47
|
filterPanelDeleteIconLabel: 'Rimuovi',
|
|
48
48
|
filterPanelLogicOperator: 'Operatore logico',
|
|
49
49
|
filterPanelOperator: 'Operatori',
|
|
@@ -66,34 +66,32 @@ const itITGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'è vuoto',
|
|
67
67
|
filterOperatorIsNotEmpty: 'non è vuoto',
|
|
68
68
|
filterOperatorIsAnyOf: 'è uno tra',
|
|
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: 'Contiene',
|
|
77
|
+
headerFilterOperatorEquals: 'uguale a',
|
|
78
|
+
headerFilterOperatorStartsWith: 'comincia per',
|
|
79
|
+
headerFilterOperatorEndsWith: 'termina per',
|
|
80
|
+
headerFilterOperatorIs: 'uguale a',
|
|
81
|
+
headerFilterOperatorNot: 'diversa da',
|
|
82
|
+
headerFilterOperatorAfter: 'dopo il',
|
|
83
|
+
headerFilterOperatorOnOrAfter: 'a partire dal',
|
|
84
|
+
headerFilterOperatorBefore: 'prima del',
|
|
85
|
+
headerFilterOperatorOnOrBefore: 'fino al',
|
|
86
|
+
headerFilterOperatorIsEmpty: 'è vuoto',
|
|
87
|
+
headerFilterOperatorIsNotEmpty: 'non è vuoto',
|
|
88
|
+
headerFilterOperatorIsAnyOf: 'è uno tra',
|
|
89
|
+
'headerFilterOperator=': 'uguale a',
|
|
90
|
+
'headerFilterOperator!=': 'diverso da',
|
|
91
|
+
'headerFilterOperator>': 'maggiore di',
|
|
92
|
+
'headerFilterOperator>=': 'maggiore o uguale a',
|
|
93
|
+
'headerFilterOperator<': 'minore di',
|
|
94
|
+
'headerFilterOperator<=': 'minore o uguale a',
|
|
97
95
|
// Filter values text
|
|
98
96
|
filterValueAny: 'qualunque',
|
|
99
97
|
filterValueTrue: 'vero',
|
|
@@ -101,7 +99,7 @@ const itITGrid = {
|
|
|
101
99
|
// Column menu text
|
|
102
100
|
columnMenuLabel: 'Menu',
|
|
103
101
|
columnMenuShowColumns: 'Mostra le colonne',
|
|
104
|
-
|
|
102
|
+
columnMenuManageColumns: 'Gestisci colonne',
|
|
105
103
|
columnMenuFilter: 'Filtra',
|
|
106
104
|
columnMenuHideColumn: 'Nascondi',
|
|
107
105
|
columnMenuUnsort: "Annulla l'ordinamento",
|
|
@@ -145,16 +143,14 @@ const itITGrid = {
|
|
|
145
143
|
expandDetailPanel: 'Espandi',
|
|
146
144
|
collapseDetailPanel: 'Comprimi',
|
|
147
145
|
// Row reordering text
|
|
148
|
-
rowReorderingHeaderName: 'Riordinamento righe'
|
|
149
|
-
|
|
146
|
+
rowReorderingHeaderName: 'Riordinamento righe',
|
|
150
147
|
// Aggregation
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
148
|
+
aggregationMenuItemHeader: 'aggregazione',
|
|
149
|
+
aggregationFunctionLabelSum: 'somma',
|
|
150
|
+
aggregationFunctionLabelAvg: 'media',
|
|
151
|
+
aggregationFunctionLabelMin: 'minimo',
|
|
152
|
+
aggregationFunctionLabelMax: 'massimo',
|
|
153
|
+
aggregationFunctionLabelSize: 'numero di elementi'
|
|
157
154
|
};
|
|
158
|
-
|
|
159
155
|
const itIT = (0, _getGridLocalization.getGridLocalization)(itITGrid, _locale.itIT);
|
|
160
156
|
exports.itIT = itIT;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.11.1",
|
|
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,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.22.6",
|
|
39
|
-
"@mui/utils": "^5.
|
|
40
|
-
"clsx": "^
|
|
39
|
+
"@mui/utils": "^5.14.3",
|
|
40
|
+
"clsx": "^2.0.0",
|
|
41
41
|
"prop-types": "^15.8.1",
|
|
42
42
|
"reselect": "^4.1.8"
|
|
43
43
|
},
|