@mui/x-data-grid-premium 6.19.1 → 6.19.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 +35 -0
- package/DataGridPremium/DataGridPremium.js +3 -19
- package/components/GridAggregationHeader.js +1 -2
- package/components/GridFooterCell.js +1 -2
- package/hooks/features/aggregation/createAggregationLookup.js +0 -1
- package/index.js +1 -1
- package/legacy/DataGridPremium/DataGridPremium.js +3 -19
- package/legacy/components/GridAggregationHeader.js +5 -7
- package/legacy/components/GridFooterCell.js +1 -2
- package/legacy/hooks/features/aggregation/createAggregationLookup.js +0 -1
- package/legacy/hooks/features/export/serializer/excelSerializer.js +3 -4
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/DataGridPremium/DataGridPremium.js +3 -19
- package/modern/components/GridAggregationHeader.js +1 -2
- package/modern/components/GridFooterCell.js +1 -2
- package/modern/hooks/features/aggregation/createAggregationLookup.js +0 -1
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/DataGridPremium/DataGridPremium.js +3 -19
- package/node/components/GridAggregationHeader.js +1 -2
- package/node/components/GridFooterCell.js +1 -2
- package/node/hooks/features/aggregation/createAggregationLookup.js +0 -1
- package/node/index.js +1 -1
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +3 -3
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 6.19.2
|
|
7
|
+
|
|
8
|
+
_Jan 25, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🚀 Apply the `layout.tabs` class to `Tabs` slot (@LukasTy) (#11782)
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
|
|
15
|
+
### Date Pickers
|
|
16
|
+
|
|
17
|
+
#### `@mui/x-date-pickers@6.19.2`
|
|
18
|
+
|
|
19
|
+
- [pickers] Apply the `layout.tabs` class to `Tabs` slot (@LukasTy) (#11782)
|
|
20
|
+
|
|
21
|
+
#### `@mui/x-date-pickers-pro@6.19.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
22
|
+
|
|
23
|
+
Same changes as in `@mui/x-date-pickers@6.19.2`, plus:
|
|
24
|
+
|
|
25
|
+
- [DateRangePicker] Remove `calendars` prop on `Mobile` (@LukasTy) (#11771)
|
|
26
|
+
|
|
27
|
+
### Data Grid
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid@6.19.2`
|
|
30
|
+
|
|
31
|
+
- [DataGrid] Fix support for tree with more than 50,000 children (@zenazn) (#11808)
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-pro@6.19.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid@6.19.2`.
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@6.19.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.2`.
|
|
40
|
+
|
|
6
41
|
## 6.19.1
|
|
7
42
|
|
|
8
43
|
_Jan 19, 2024_
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { useLicenseVerifier, Watermark } from '@mui/x-license-pro';
|
|
5
|
-
import { chainPropTypes } from '@mui/utils';
|
|
6
5
|
import { GridBody, GridFooterPlaceholder, GridHeader, GridRoot, GridContextProvider, useGridSelector, gridPinnedColumnsSelector } from '@mui/x-data-grid-pro';
|
|
7
6
|
import { DataGridProVirtualScroller } from '@mui/x-data-grid-pro/internals';
|
|
8
7
|
import { useDataGridPremiumComponent } from './useDataGridPremiumComponent';
|
|
@@ -120,12 +119,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
120
119
|
* It only works if the pagination is enabled.
|
|
121
120
|
* @default false
|
|
122
121
|
*/
|
|
123
|
-
checkboxSelectionVisibleOnly:
|
|
124
|
-
if (!props.pagination && props.checkboxSelectionVisibleOnly) {
|
|
125
|
-
return new Error('MUI: The `checkboxSelectionVisibleOnly` prop has no effect when the pagination is not enabled.');
|
|
126
|
-
}
|
|
127
|
-
return null;
|
|
128
|
-
}),
|
|
122
|
+
checkboxSelectionVisibleOnly: PropTypes.bool,
|
|
129
123
|
/**
|
|
130
124
|
* Override or extend the styles applied to the component.
|
|
131
125
|
*/
|
|
@@ -306,12 +300,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
306
300
|
* Set it to 'server' if you would like to handle filtering on the server-side.
|
|
307
301
|
* @default "client"
|
|
308
302
|
*/
|
|
309
|
-
filterMode:
|
|
310
|
-
if (props.treeData && props.filterMode === 'server') {
|
|
311
|
-
return new Error('MUI: The `filterMode="server"` prop is not available when the `treeData` is enabled.');
|
|
312
|
-
}
|
|
313
|
-
return null;
|
|
314
|
-
}),
|
|
303
|
+
filterMode: PropTypes.oneOf(['client', 'server']),
|
|
315
304
|
/**
|
|
316
305
|
* Set the filter model of the Data Grid.
|
|
317
306
|
*/
|
|
@@ -416,12 +405,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
416
405
|
* It has no effect if the pagination is enabled.
|
|
417
406
|
* @default false
|
|
418
407
|
*/
|
|
419
|
-
hideFooterRowCount:
|
|
420
|
-
if (props.pagination && props.hideFooterRowCount) {
|
|
421
|
-
return new Error('MUI: The `hideFooterRowCount` prop has no effect when the pagination is enabled.');
|
|
422
|
-
}
|
|
423
|
-
return null;
|
|
424
|
-
}),
|
|
408
|
+
hideFooterRowCount: PropTypes.bool,
|
|
425
409
|
/**
|
|
426
410
|
* If `true`, the selected row count in the footer is hidden.
|
|
427
411
|
* @default false
|
|
@@ -3,7 +3,6 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
const _excluded = ["renderHeader"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
6
|
-
import Box from '@mui/material/Box';
|
|
7
6
|
import { styled } from '@mui/material/styles';
|
|
8
7
|
import { getDataGridUtilityClass, gridClasses, GridColumnHeaderTitle } from '@mui/x-data-grid';
|
|
9
8
|
import { getAggregationFunctionLabel } from '../hooks/features/aggregation/gridAggregationUtils';
|
|
@@ -11,7 +10,7 @@ import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
|
11
10
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
12
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
12
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
const GridAggregationHeaderRoot = styled(
|
|
13
|
+
const GridAggregationHeaderRoot = styled('div', {
|
|
15
14
|
name: 'MuiDataGrid',
|
|
16
15
|
slot: 'AggregationColumnHeader',
|
|
17
16
|
overridesResolver: (_, styles) => styles.aggregationColumnHeader
|
|
@@ -4,11 +4,10 @@ const _excluded = ["formattedValue", "colDef", "cellMode", "row", "api", "id", "
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { getDataGridUtilityClass } from '@mui/x-data-grid';
|
|
6
6
|
import { styled } from '@mui/material/styles';
|
|
7
|
-
import Box from '@mui/material/Box';
|
|
8
7
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
9
8
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
10
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
const GridFooterCellRoot = styled(
|
|
10
|
+
const GridFooterCellRoot = styled('div', {
|
|
12
11
|
name: 'MuiDataGrid',
|
|
13
12
|
slot: 'FooterCell',
|
|
14
13
|
overridesResolver: (_, styles) => styles.footerCell
|
package/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { useLicenseVerifier, Watermark } from '@mui/x-license-pro';
|
|
5
|
-
import { chainPropTypes } from '@mui/utils';
|
|
6
5
|
import { GridBody, GridFooterPlaceholder, GridHeader, GridRoot, GridContextProvider, useGridSelector, gridPinnedColumnsSelector } from '@mui/x-data-grid-pro';
|
|
7
6
|
import { DataGridProVirtualScroller } from '@mui/x-data-grid-pro/internals';
|
|
8
7
|
import { useDataGridPremiumComponent } from './useDataGridPremiumComponent';
|
|
@@ -120,12 +119,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
120
119
|
* It only works if the pagination is enabled.
|
|
121
120
|
* @default false
|
|
122
121
|
*/
|
|
123
|
-
checkboxSelectionVisibleOnly:
|
|
124
|
-
if (!props.pagination && props.checkboxSelectionVisibleOnly) {
|
|
125
|
-
return new Error('MUI: The `checkboxSelectionVisibleOnly` prop has no effect when the pagination is not enabled.');
|
|
126
|
-
}
|
|
127
|
-
return null;
|
|
128
|
-
}),
|
|
122
|
+
checkboxSelectionVisibleOnly: PropTypes.bool,
|
|
129
123
|
/**
|
|
130
124
|
* Override or extend the styles applied to the component.
|
|
131
125
|
*/
|
|
@@ -306,12 +300,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
306
300
|
* Set it to 'server' if you would like to handle filtering on the server-side.
|
|
307
301
|
* @default "client"
|
|
308
302
|
*/
|
|
309
|
-
filterMode:
|
|
310
|
-
if (props.treeData && props.filterMode === 'server') {
|
|
311
|
-
return new Error('MUI: The `filterMode="server"` prop is not available when the `treeData` is enabled.');
|
|
312
|
-
}
|
|
313
|
-
return null;
|
|
314
|
-
}),
|
|
303
|
+
filterMode: PropTypes.oneOf(['client', 'server']),
|
|
315
304
|
/**
|
|
316
305
|
* Set the filter model of the Data Grid.
|
|
317
306
|
*/
|
|
@@ -416,12 +405,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
416
405
|
* It has no effect if the pagination is enabled.
|
|
417
406
|
* @default false
|
|
418
407
|
*/
|
|
419
|
-
hideFooterRowCount:
|
|
420
|
-
if (props.pagination && props.hideFooterRowCount) {
|
|
421
|
-
return new Error('MUI: The `hideFooterRowCount` prop has no effect when the pagination is enabled.');
|
|
422
|
-
}
|
|
423
|
-
return null;
|
|
424
|
-
}),
|
|
408
|
+
hideFooterRowCount: PropTypes.bool,
|
|
425
409
|
/**
|
|
426
410
|
* If `true`, the selected row count in the footer is hidden.
|
|
427
411
|
* @default false
|
|
@@ -2,10 +2,8 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
4
|
var _excluded = ["renderHeader"];
|
|
5
|
-
var _styled;
|
|
6
5
|
import * as React from 'react';
|
|
7
6
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
8
|
-
import Box from '@mui/material/Box';
|
|
9
7
|
import { styled } from '@mui/material/styles';
|
|
10
8
|
import { getDataGridUtilityClass, gridClasses, GridColumnHeaderTitle } from '@mui/x-data-grid';
|
|
11
9
|
import { getAggregationFunctionLabel } from '../hooks/features/aggregation/gridAggregationUtils';
|
|
@@ -13,20 +11,20 @@ import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
|
13
11
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
14
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
-
var GridAggregationHeaderRoot = styled(
|
|
14
|
+
var GridAggregationHeaderRoot = styled('div', {
|
|
17
15
|
name: 'MuiDataGrid',
|
|
18
16
|
slot: 'AggregationColumnHeader',
|
|
19
17
|
overridesResolver: function overridesResolver(_, styles) {
|
|
20
18
|
return styles.aggregationColumnHeader;
|
|
21
19
|
}
|
|
22
|
-
})((
|
|
20
|
+
})(_defineProperty(_defineProperty({
|
|
23
21
|
display: 'flex',
|
|
24
22
|
flexDirection: 'column'
|
|
25
|
-
},
|
|
23
|
+
}, "&.".concat(gridClasses['aggregationColumnHeader--alignRight']), {
|
|
26
24
|
alignItems: 'flex-end'
|
|
27
|
-
}),
|
|
25
|
+
}), "&.".concat(gridClasses['aggregationColumnHeader--alignCenter']), {
|
|
28
26
|
alignItems: 'center'
|
|
29
|
-
})
|
|
27
|
+
}));
|
|
30
28
|
var GridAggregationFunctionLabel = styled('div', {
|
|
31
29
|
name: 'MuiDataGrid',
|
|
32
30
|
slot: 'AggregationColumnHeaderLabel',
|
|
@@ -4,11 +4,10 @@ var _excluded = ["formattedValue", "colDef", "cellMode", "row", "api", "id", "va
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { getDataGridUtilityClass } from '@mui/x-data-grid';
|
|
6
6
|
import { styled } from '@mui/material/styles';
|
|
7
|
-
import Box from '@mui/material/Box';
|
|
8
7
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
9
8
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
10
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
var GridFooterCellRoot = styled(
|
|
10
|
+
var GridFooterCellRoot = styled('div', {
|
|
12
11
|
name: 'MuiDataGrid',
|
|
13
12
|
slot: 'FooterCell',
|
|
14
13
|
overridesResolver: function overridesResolver(_, styles) {
|
|
@@ -43,7 +43,6 @@ var getAggregationCellValue = function getAggregationCellValue(_ref) {
|
|
|
43
43
|
field: field // Added per user request in https://github.com/mui/mui-x/issues/6995#issuecomment-1327423455
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
|
-
|
|
47
46
|
var getGroupAggregatedValue = function getGroupAggregatedValue(_ref2) {
|
|
48
47
|
var groupId = _ref2.groupId,
|
|
49
48
|
apiRef = _ref2.apiRef,
|
|
@@ -4,7 +4,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
5
5
|
import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
6
6
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
7
|
-
var _defaultColumnsStyles;
|
|
8
7
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
9
8
|
import { GRID_DATE_COL_DEF, GRID_DATETIME_COL_DEF } from '@mui/x-data-grid-pro';
|
|
10
9
|
import { buildWarning, isObject, isSingleSelectColDef } from '@mui/x-data-grid/internals';
|
|
@@ -160,11 +159,11 @@ export var serializeRow = function serializeRow(id, columns, api, defaultValueOp
|
|
|
160
159
|
mergedCells: mergedCells
|
|
161
160
|
};
|
|
162
161
|
};
|
|
163
|
-
var defaultColumnsStyles = (
|
|
162
|
+
var defaultColumnsStyles = _defineProperty(_defineProperty({}, GRID_DATE_COL_DEF.type, {
|
|
164
163
|
numFmt: 'dd.mm.yyyy'
|
|
165
|
-
}),
|
|
164
|
+
}), GRID_DATETIME_COL_DEF.type, {
|
|
166
165
|
numFmt: 'dd.mm.yyyy hh:mm'
|
|
167
|
-
})
|
|
166
|
+
});
|
|
168
167
|
export var serializeColumn = function serializeColumn(column, columnsStyles) {
|
|
169
168
|
var _column$headerName;
|
|
170
169
|
var field = column.field,
|
package/legacy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export var getReleaseInfo = function getReleaseInfo() {
|
|
3
|
-
var releaseInfo = "
|
|
3
|
+
var releaseInfo = "MTcwNjEzMzYwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { useLicenseVerifier, Watermark } from '@mui/x-license-pro';
|
|
5
|
-
import { chainPropTypes } from '@mui/utils';
|
|
6
5
|
import { GridBody, GridFooterPlaceholder, GridHeader, GridRoot, GridContextProvider, useGridSelector, gridPinnedColumnsSelector } from '@mui/x-data-grid-pro';
|
|
7
6
|
import { DataGridProVirtualScroller } from '@mui/x-data-grid-pro/internals';
|
|
8
7
|
import { useDataGridPremiumComponent } from './useDataGridPremiumComponent';
|
|
@@ -120,12 +119,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
120
119
|
* It only works if the pagination is enabled.
|
|
121
120
|
* @default false
|
|
122
121
|
*/
|
|
123
|
-
checkboxSelectionVisibleOnly:
|
|
124
|
-
if (!props.pagination && props.checkboxSelectionVisibleOnly) {
|
|
125
|
-
return new Error('MUI: The `checkboxSelectionVisibleOnly` prop has no effect when the pagination is not enabled.');
|
|
126
|
-
}
|
|
127
|
-
return null;
|
|
128
|
-
}),
|
|
122
|
+
checkboxSelectionVisibleOnly: PropTypes.bool,
|
|
129
123
|
/**
|
|
130
124
|
* Override or extend the styles applied to the component.
|
|
131
125
|
*/
|
|
@@ -306,12 +300,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
306
300
|
* Set it to 'server' if you would like to handle filtering on the server-side.
|
|
307
301
|
* @default "client"
|
|
308
302
|
*/
|
|
309
|
-
filterMode:
|
|
310
|
-
if (props.treeData && props.filterMode === 'server') {
|
|
311
|
-
return new Error('MUI: The `filterMode="server"` prop is not available when the `treeData` is enabled.');
|
|
312
|
-
}
|
|
313
|
-
return null;
|
|
314
|
-
}),
|
|
303
|
+
filterMode: PropTypes.oneOf(['client', 'server']),
|
|
315
304
|
/**
|
|
316
305
|
* Set the filter model of the Data Grid.
|
|
317
306
|
*/
|
|
@@ -416,12 +405,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
416
405
|
* It has no effect if the pagination is enabled.
|
|
417
406
|
* @default false
|
|
418
407
|
*/
|
|
419
|
-
hideFooterRowCount:
|
|
420
|
-
if (props.pagination && props.hideFooterRowCount) {
|
|
421
|
-
return new Error('MUI: The `hideFooterRowCount` prop has no effect when the pagination is enabled.');
|
|
422
|
-
}
|
|
423
|
-
return null;
|
|
424
|
-
}),
|
|
408
|
+
hideFooterRowCount: PropTypes.bool,
|
|
425
409
|
/**
|
|
426
410
|
* If `true`, the selected row count in the footer is hidden.
|
|
427
411
|
* @default false
|
|
@@ -3,7 +3,6 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
const _excluded = ["renderHeader"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
6
|
-
import Box from '@mui/material/Box';
|
|
7
6
|
import { styled } from '@mui/material/styles';
|
|
8
7
|
import { getDataGridUtilityClass, gridClasses, GridColumnHeaderTitle } from '@mui/x-data-grid';
|
|
9
8
|
import { getAggregationFunctionLabel } from '../hooks/features/aggregation/gridAggregationUtils';
|
|
@@ -11,7 +10,7 @@ import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
|
11
10
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
12
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
12
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
const GridAggregationHeaderRoot = styled(
|
|
13
|
+
const GridAggregationHeaderRoot = styled('div', {
|
|
15
14
|
name: 'MuiDataGrid',
|
|
16
15
|
slot: 'AggregationColumnHeader',
|
|
17
16
|
overridesResolver: (_, styles) => styles.aggregationColumnHeader
|
|
@@ -4,11 +4,10 @@ const _excluded = ["formattedValue", "colDef", "cellMode", "row", "api", "id", "
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { getDataGridUtilityClass } from '@mui/x-data-grid';
|
|
6
6
|
import { styled } from '@mui/material/styles';
|
|
7
|
-
import Box from '@mui/material/Box';
|
|
8
7
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
9
8
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
10
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
const GridFooterCellRoot = styled(
|
|
10
|
+
const GridFooterCellRoot = styled('div', {
|
|
12
11
|
name: 'MuiDataGrid',
|
|
13
12
|
slot: 'FooterCell',
|
|
14
13
|
overridesResolver: (_, styles) => styles.footerCell
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcwNjEzMzYwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -9,7 +9,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
var _xLicensePro = require("@mui/x-license-pro");
|
|
12
|
-
var _utils = require("@mui/utils");
|
|
13
12
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
14
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
15
14
|
var _useDataGridPremiumComponent = require("./useDataGridPremiumComponent");
|
|
@@ -128,12 +127,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
128
127
|
* It only works if the pagination is enabled.
|
|
129
128
|
* @default false
|
|
130
129
|
*/
|
|
131
|
-
checkboxSelectionVisibleOnly:
|
|
132
|
-
if (!props.pagination && props.checkboxSelectionVisibleOnly) {
|
|
133
|
-
return new Error('MUI: The `checkboxSelectionVisibleOnly` prop has no effect when the pagination is not enabled.');
|
|
134
|
-
}
|
|
135
|
-
return null;
|
|
136
|
-
}),
|
|
130
|
+
checkboxSelectionVisibleOnly: _propTypes.default.bool,
|
|
137
131
|
/**
|
|
138
132
|
* Override or extend the styles applied to the component.
|
|
139
133
|
*/
|
|
@@ -314,12 +308,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
314
308
|
* Set it to 'server' if you would like to handle filtering on the server-side.
|
|
315
309
|
* @default "client"
|
|
316
310
|
*/
|
|
317
|
-
filterMode:
|
|
318
|
-
if (props.treeData && props.filterMode === 'server') {
|
|
319
|
-
return new Error('MUI: The `filterMode="server"` prop is not available when the `treeData` is enabled.');
|
|
320
|
-
}
|
|
321
|
-
return null;
|
|
322
|
-
}),
|
|
311
|
+
filterMode: _propTypes.default.oneOf(['client', 'server']),
|
|
323
312
|
/**
|
|
324
313
|
* Set the filter model of the Data Grid.
|
|
325
314
|
*/
|
|
@@ -424,12 +413,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
424
413
|
* It has no effect if the pagination is enabled.
|
|
425
414
|
* @default false
|
|
426
415
|
*/
|
|
427
|
-
hideFooterRowCount:
|
|
428
|
-
if (props.pagination && props.hideFooterRowCount) {
|
|
429
|
-
return new Error('MUI: The `hideFooterRowCount` prop has no effect when the pagination is enabled.');
|
|
430
|
-
}
|
|
431
|
-
return null;
|
|
432
|
-
}),
|
|
416
|
+
hideFooterRowCount: _propTypes.default.bool,
|
|
433
417
|
/**
|
|
434
418
|
* If `true`, the selected row count in the footer is hidden.
|
|
435
419
|
* @default false
|
|
@@ -9,7 +9,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _utils = require("@mui/utils");
|
|
12
|
-
var _Box = _interopRequireDefault(require("@mui/material/Box"));
|
|
13
12
|
var _styles = require("@mui/material/styles");
|
|
14
13
|
var _xDataGrid = require("@mui/x-data-grid");
|
|
15
14
|
var _gridAggregationUtils = require("../hooks/features/aggregation/gridAggregationUtils");
|
|
@@ -19,7 +18,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
19
18
|
const _excluded = ["renderHeader"];
|
|
20
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
21
20
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
22
|
-
const GridAggregationHeaderRoot = (0, _styles.styled)(
|
|
21
|
+
const GridAggregationHeaderRoot = (0, _styles.styled)('div', {
|
|
23
22
|
name: 'MuiDataGrid',
|
|
24
23
|
slot: 'AggregationColumnHeader',
|
|
25
24
|
overridesResolver: (_, styles) => styles.aggregationColumnHeader
|
|
@@ -10,14 +10,13 @@ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runt
|
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _xDataGrid = require("@mui/x-data-grid");
|
|
12
12
|
var _styles = require("@mui/material/styles");
|
|
13
|
-
var _Box = _interopRequireDefault(require("@mui/material/Box"));
|
|
14
13
|
var _utils = require("@mui/utils");
|
|
15
14
|
var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
16
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
16
|
const _excluded = ["formattedValue", "colDef", "cellMode", "row", "api", "id", "value", "rowNode", "field", "focusElementRef", "hasFocus", "tabIndex", "isEditable"];
|
|
18
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
19
18
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
|
-
const GridFooterCellRoot = (0, _styles.styled)(
|
|
19
|
+
const GridFooterCellRoot = (0, _styles.styled)('div', {
|
|
21
20
|
name: 'MuiDataGrid',
|
|
22
21
|
slot: 'FooterCell',
|
|
23
22
|
overridesResolver: (_, styles) => styles.footerCell
|
package/node/index.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getReleaseInfo = void 0;
|
|
7
7
|
var _utils = require("@mui/utils");
|
|
8
8
|
const getReleaseInfo = () => {
|
|
9
|
-
const releaseInfo = "
|
|
9
|
+
const releaseInfo = "MTcwNjEzMzYwMDAwMA==";
|
|
10
10
|
if (process.env.NODE_ENV !== 'production') {
|
|
11
11
|
// A simple hack to set the value in the test environment (has no build step).
|
|
12
12
|
// eslint-disable-next-line no-useless-concat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "6.19.
|
|
3
|
+
"version": "6.19.2",
|
|
4
4
|
"description": "The Premium plan edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.23.2",
|
|
35
35
|
"@mui/utils": "^5.14.16",
|
|
36
|
-
"@mui/x-data-grid": "6.19.
|
|
37
|
-
"@mui/x-data-grid-pro": "6.19.
|
|
36
|
+
"@mui/x-data-grid": "6.19.2",
|
|
37
|
+
"@mui/x-data-grid-pro": "6.19.2",
|
|
38
38
|
"@mui/x-license-pro": "6.10.2",
|
|
39
39
|
"@types/format-util": "^1.0.3",
|
|
40
40
|
"clsx": "^2.0.0",
|
package/utils/releaseInfo.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcwNjEzMzYwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|