@mui/x-data-grid-premium 5.17.16 → 5.17.18
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 +55 -0
- package/components/index.d.ts +2 -0
- package/components/index.js +3 -1
- package/hooks/features/export/serializer/excelSerializer.js +4 -4
- package/index.js +2 -2
- package/legacy/components/index.js +3 -1
- package/legacy/hooks/features/export/serializer/excelSerializer.js +5 -5
- package/legacy/index.js +2 -2
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/components/index.js +3 -1
- package/modern/hooks/features/export/serializer/excelSerializer.js +2 -4
- package/modern/index.js +2 -2
- package/modern/utils/releaseInfo.js +1 -1
- package/node/components/index.js +26 -0
- package/node/hooks/features/export/serializer/excelSerializer.js +4 -4
- package/node/index.js +2 -2
- 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,61 @@
|
|
|
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
|
+
## 5.17.18
|
|
7
|
+
|
|
8
|
+
_Jan 5, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🐞 Bugfixes
|
|
13
|
+
|
|
14
|
+
### `@mui/x-data-grid@v5.17.18` / `@mui/x-data-grid-pro@v5.17.18` / `@mui/x-data-grid-premium@v5.17.18`
|
|
15
|
+
|
|
16
|
+
#### Changes
|
|
17
|
+
|
|
18
|
+
- [DataGrid] Fix rows not rendering properly after height change (#7376) @cherniavskii
|
|
19
|
+
- [DataGrid] Fix selected text in cell input not being copied in Firefox (#7330) @cherniavskii
|
|
20
|
+
- [DataGridPremium] Export row grouping column menu components (#7308) @cherniavskii
|
|
21
|
+
|
|
22
|
+
### `@mui/x-date-pickers@v5.0.13` / `@mui/x-date-pickers-pro@v5.0.13`
|
|
23
|
+
|
|
24
|
+
#### Changes
|
|
25
|
+
|
|
26
|
+
- [pickers] Fix the product license reference name (#7367)
|
|
27
|
+
|
|
28
|
+
### Docs
|
|
29
|
+
|
|
30
|
+
- [docs] Redirect translated pages (#7370) @cherniavskii
|
|
31
|
+
|
|
32
|
+
### Core
|
|
33
|
+
|
|
34
|
+
- [core] Fix release date (#7314) @DanailH
|
|
35
|
+
- [core] Fix the product license reference name (#7367) @oliviertassinari
|
|
36
|
+
- [core] Upgrade monorepo (#7344) @cherniavskii
|
|
37
|
+
|
|
38
|
+
## 5.17.17
|
|
39
|
+
|
|
40
|
+
_Dec 24, 2022_
|
|
41
|
+
|
|
42
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
43
|
+
|
|
44
|
+
- 🌍 Improve Russian (ru-RU) and Korean (ko-KR) locales
|
|
45
|
+
- 🐞 Bugfixes
|
|
46
|
+
|
|
47
|
+
### `@mui/x-data-grid@v5.17.17` / `@mui/x-data-grid-pro@v5.17.17` / `@mui/x-data-grid-premium@v5.17.17`
|
|
48
|
+
|
|
49
|
+
#### Changes
|
|
50
|
+
|
|
51
|
+
- [DataGrid] Update Russian (ru-RU) locale (#7291) @VeceluXa
|
|
52
|
+
- [DataGridPro] Use row ID as `key` of the detail panels (#7311) @m4theushw
|
|
53
|
+
- [DataGridPremium] Fix `exceljs` import with parcel (#7285) @alexfauquette
|
|
54
|
+
|
|
55
|
+
### `@mui/x-date-pickers@v5.0.12` / `@mui/x-date-pickers-pro@v5.0.12`
|
|
56
|
+
|
|
57
|
+
#### Changes
|
|
58
|
+
|
|
59
|
+
- [pickers] Improve Korean (ko-KR) locale (#7283) @hanbin9775
|
|
60
|
+
|
|
6
61
|
## 5.17.16
|
|
7
62
|
|
|
8
63
|
_Dec 16, 2022_
|
package/components/index.d.ts
CHANGED
package/components/index.js
CHANGED
|
@@ -3,10 +3,10 @@ import { GRID_DATE_COL_DEF, GRID_DATETIME_COL_DEF } from '@mui/x-data-grid-pro';
|
|
|
3
3
|
import { buildWarning } from '@mui/x-data-grid/internals';
|
|
4
4
|
|
|
5
5
|
const getExcelJs = async () => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return
|
|
6
|
+
var _excelJsModule$defaul;
|
|
7
|
+
|
|
8
|
+
const excelJsModule = await import('exceljs');
|
|
9
|
+
return (_excelJsModule$defaul = excelJsModule.default) != null ? _excelJsModule$defaul : excelJsModule;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
const warnInvalidFormattedValue = buildWarning(['MUI: When the value of a field is an object or a `renderCell` is provided, the Excel export might not display the value correctly.', 'You can provide a `valueFormatter` with a string representation to be used.']);
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v5.17.
|
|
1
|
+
/** @license MUI X v5.17.18
|
|
2
2
|
*
|
|
3
|
-
* This source code is licensed under the
|
|
3
|
+
* This source code is licensed under the commercial license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
6
6
|
import './typeOverloads';
|
|
@@ -12,8 +12,9 @@ import { buildWarning } from '@mui/x-data-grid/internals';
|
|
|
12
12
|
|
|
13
13
|
var getExcelJs = /*#__PURE__*/function () {
|
|
14
14
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
15
|
-
var
|
|
15
|
+
var _excelJsModule$defaul;
|
|
16
16
|
|
|
17
|
+
var excelJsModule;
|
|
17
18
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
18
19
|
while (1) {
|
|
19
20
|
switch (_context.prev = _context.next) {
|
|
@@ -22,11 +23,10 @@ var getExcelJs = /*#__PURE__*/function () {
|
|
|
22
23
|
return import('exceljs');
|
|
23
24
|
|
|
24
25
|
case 2:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
return _context.abrupt("return", excelJsDefault);
|
|
26
|
+
excelJsModule = _context.sent;
|
|
27
|
+
return _context.abrupt("return", (_excelJsModule$defaul = excelJsModule.default) != null ? _excelJsModule$defaul : excelJsModule);
|
|
28
28
|
|
|
29
|
-
case
|
|
29
|
+
case 4:
|
|
30
30
|
case "end":
|
|
31
31
|
return _context.stop();
|
|
32
32
|
}
|
package/legacy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v5.17.
|
|
1
|
+
/** @license MUI X v5.17.18
|
|
2
2
|
*
|
|
3
|
-
* This source code is licensed under the
|
|
3
|
+
* This source code is licensed under the commercial license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
6
6
|
import './typeOverloads';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export var getReleaseInfo = function getReleaseInfo() {
|
|
3
|
-
var releaseInfo = "
|
|
3
|
+
var releaseInfo = "MTY3Mjg2OTYwMDAwMA==";
|
|
4
4
|
|
|
5
5
|
if (process.env.NODE_ENV !== 'production') {
|
|
6
6
|
// A simple hack to set the value in the test environment (has no build step).
|
|
@@ -3,10 +3,8 @@ import { GRID_DATE_COL_DEF, GRID_DATETIME_COL_DEF } from '@mui/x-data-grid-pro';
|
|
|
3
3
|
import { buildWarning } from '@mui/x-data-grid/internals';
|
|
4
4
|
|
|
5
5
|
const getExcelJs = async () => {
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
} = await import('exceljs');
|
|
9
|
-
return excelJsDefault;
|
|
6
|
+
const excelJsModule = await import('exceljs');
|
|
7
|
+
return excelJsModule.default ?? excelJsModule;
|
|
10
8
|
};
|
|
11
9
|
|
|
12
10
|
const warnInvalidFormattedValue = buildWarning(['MUI: When the value of a field is an object or a `renderCell` is provided, the Excel export might not display the value correctly.', 'You can provide a `valueFormatter` with a string representation to be used.']);
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v5.17.
|
|
1
|
+
/** @license MUI X v5.17.18
|
|
2
2
|
*
|
|
3
|
-
* This source code is licensed under the
|
|
3
|
+
* This source code is licensed under the commercial license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
6
6
|
import './typeOverloads';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTY3Mjg2OTYwMDAwMA==";
|
|
4
4
|
|
|
5
5
|
if (process.env.NODE_ENV !== 'production') {
|
|
6
6
|
// A simple hack to set the value in the test environment (has no build step).
|
package/node/components/index.js
CHANGED
|
@@ -15,4 +15,30 @@ Object.keys(_GridExcelExportMenuItem).forEach(function (key) {
|
|
|
15
15
|
return _GridExcelExportMenuItem[key];
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
var _GridRowGroupingColumnMenuItems = require("./GridRowGroupingColumnMenuItems");
|
|
21
|
+
|
|
22
|
+
Object.keys(_GridRowGroupingColumnMenuItems).forEach(function (key) {
|
|
23
|
+
if (key === "default" || key === "__esModule") return;
|
|
24
|
+
if (key in exports && exports[key] === _GridRowGroupingColumnMenuItems[key]) return;
|
|
25
|
+
Object.defineProperty(exports, key, {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () {
|
|
28
|
+
return _GridRowGroupingColumnMenuItems[key];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
var _GridRowGroupableColumnMenuItems = require("./GridRowGroupableColumnMenuItems");
|
|
34
|
+
|
|
35
|
+
Object.keys(_GridRowGroupableColumnMenuItems).forEach(function (key) {
|
|
36
|
+
if (key === "default" || key === "__esModule") return;
|
|
37
|
+
if (key in exports && exports[key] === _GridRowGroupableColumnMenuItems[key]) return;
|
|
38
|
+
Object.defineProperty(exports, key, {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () {
|
|
41
|
+
return _GridRowGroupableColumnMenuItems[key];
|
|
42
|
+
}
|
|
43
|
+
});
|
|
18
44
|
});
|
|
@@ -18,10 +18,10 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
18
18
|
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; }
|
|
19
19
|
|
|
20
20
|
const getExcelJs = async () => {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
21
|
+
var _excelJsModule$defaul;
|
|
22
|
+
|
|
23
|
+
const excelJsModule = await Promise.resolve().then(() => _interopRequireWildcard(require('exceljs')));
|
|
24
|
+
return (_excelJsModule$defaul = excelJsModule.default) != null ? _excelJsModule$defaul : excelJsModule;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
const warnInvalidFormattedValue = (0, _internals.buildWarning)(['MUI: When the value of a field is an object or a `renderCell` is provided, the Excel export might not display the value correctly.', 'You can provide a `valueFormatter` with a string representation to be used.']);
|
package/node/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v5.17.
|
|
1
|
+
/** @license MUI X v5.17.18
|
|
2
2
|
*
|
|
3
|
-
* This source code is licensed under the
|
|
3
|
+
* This source code is licensed under the commercial license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
|
@@ -8,7 +8,7 @@ exports.getReleaseInfo = void 0;
|
|
|
8
8
|
var _utils = require("@mui/utils");
|
|
9
9
|
|
|
10
10
|
const getReleaseInfo = () => {
|
|
11
|
-
const releaseInfo = "
|
|
11
|
+
const releaseInfo = "MTY3Mjg2OTYwMDAwMA==";
|
|
12
12
|
|
|
13
13
|
if (process.env.NODE_ENV !== 'production') {
|
|
14
14
|
// A simple hack to set the value in the test environment (has no build step).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "5.17.
|
|
3
|
+
"version": "5.17.18",
|
|
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.18.9",
|
|
35
35
|
"@mui/utils": "^5.10.3",
|
|
36
|
-
"@mui/x-data-grid": "5.17.
|
|
37
|
-
"@mui/x-data-grid-pro": "5.17.
|
|
36
|
+
"@mui/x-data-grid": "5.17.18",
|
|
37
|
+
"@mui/x-data-grid-pro": "5.17.18",
|
|
38
38
|
"@mui/x-license-pro": "5.17.12",
|
|
39
39
|
"@types/format-util": "^1.0.2",
|
|
40
40
|
"clsx": "^1.2.1",
|
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 = "MTY3Mjg2OTYwMDAwMA==";
|
|
4
4
|
|
|
5
5
|
if (process.env.NODE_ENV !== 'production') {
|
|
6
6
|
// A simple hack to set the value in the test environment (has no build step).
|