@mui/x-data-grid-premium 5.12.2 → 5.12.3
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 +57 -6
- package/DataGridPremium/useDataGridPremiumComponent.js +1 -1
- package/hooks/features/export/serializer/excelSerializer.js +6 -1
- package/index.js +1 -1
- package/legacy/DataGridPremium/useDataGridPremiumComponent.js +1 -1
- package/legacy/hooks/features/export/serializer/excelSerializer.js +43 -18
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/DataGridPremium/useDataGridPremiumComponent.js +1 -1
- package/modern/hooks/features/export/serializer/excelSerializer.js +6 -1
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/DataGridPremium/useDataGridPremiumComponent.js +1 -1
- package/node/hooks/features/export/serializer/excelSerializer.js +6 -1
- package/node/index.js +1 -1
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +5 -5
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,57 @@
|
|
|
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
|
+
## v5.12.3
|
|
7
|
+
|
|
8
|
+
_Jun 23, 2022_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Add Swedish (sv-SE) locale on the data grid and the pickers (#5210) @mrxdst
|
|
13
|
+
- 🌍 Add Dutch (nl-NL) locale on the pickers (#5237) @DDukers
|
|
14
|
+
- 📚 Documentation improvements
|
|
15
|
+
- 🐞 Bugfixes
|
|
16
|
+
|
|
17
|
+
### `@mui/x-data-grid@v5.12.3` / `@mui/x-data-grid-pro@v5.12.3` / `@mui/x-data-grid-premium@v5.12.3`
|
|
18
|
+
|
|
19
|
+
#### Changes
|
|
20
|
+
|
|
21
|
+
- [DataGrid] Do not hide non-hideable column when pressing Hide All button (#5298) @flaviendelangle
|
|
22
|
+
- [DataGrid] Do not regenerate the row tree when the `loading` prop changes (#5213) @flaviendelangle
|
|
23
|
+
- [DataGrid] Fix the default filter operator fallback on state initialization (#5266) @flaviendelangle
|
|
24
|
+
- [DataGrid] Stop using the deprecated `api` prop in the grid components (#5205) @flaviendelangle
|
|
25
|
+
- [DataGrid] Add Swedish (sv-SE) locale (#5210) @mrxdst
|
|
26
|
+
- [DataGridPremium] Fix detail panel on `DataGridPremium` (#5264) @flaviendelangle
|
|
27
|
+
- [DataGridPremium] Fix Excel import with Remix / Vite (#5207) @alexfauquette
|
|
28
|
+
- [DataGridPremium] Fix error with quick filter and grouping rows (#5238) @alexfauquette
|
|
29
|
+
|
|
30
|
+
### `@mui/x-date-pickers@v5.0.0-alpha.7` / `@mui/x-date-pickers-pro@v5.0.0-alpha.7`
|
|
31
|
+
|
|
32
|
+
#### Changes
|
|
33
|
+
|
|
34
|
+
- [pickers] Export adapters from both `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` (#5204) @flaviendelangle
|
|
35
|
+
- [pickers] Add Dutch (nl-NL) locale (#5237) @DDukers
|
|
36
|
+
|
|
37
|
+
### Docs
|
|
38
|
+
|
|
39
|
+
- [docs] Add `DataGridPremium` to all API sections (#5196) @flaviendelangle
|
|
40
|
+
- [docs] Add plan badge next to event name in the Events page (#5200) @flaviendelangle
|
|
41
|
+
- [docs] Add section for theme augmentation in the picker docs (#5276) @flaviendelangle
|
|
42
|
+
- [docs] Add waiting for upvote section for row group panel (#5271) @flaviendelangle
|
|
43
|
+
- [docs] Disable ad on main demo page (#5301) @joserodolfofreitas
|
|
44
|
+
- [docs] Fix typo in the `DateRangePicker` documentation (#5259) @flaviendelangle
|
|
45
|
+
|
|
46
|
+
### Core
|
|
47
|
+
|
|
48
|
+
- [core] Allow having multiple playgrounds (#5288) @alexfauquette
|
|
49
|
+
- [core] Improve typing of `GridFilterInputMultipleSingleSelect` (#5206) @flaviendelangle
|
|
50
|
+
- [core] Remove arbitrary new lines (#5245) @oliviertassinari
|
|
51
|
+
- [core] Remove dead logic (#5282) @oliviertassinari
|
|
52
|
+
- [test] Fix `inputFormat` when testing with different date adapters (#5291) @cherniavskii
|
|
53
|
+
- [test] Fix date assertion in Safari 13 (#5221) @m4theushw
|
|
54
|
+
- [test] Throw if date adapter is not found (#5289) @cherniavskii
|
|
55
|
+
- [test] Use mock for `ResizeObserver` (#5215) @m4theushw
|
|
56
|
+
|
|
6
57
|
## v5.12.2
|
|
7
58
|
|
|
8
59
|
_Jun 16, 2022_
|
|
@@ -71,7 +122,7 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
71
122
|
- [l10n] Update Japanese (ja-JP) locale (#5122) @hikotq
|
|
72
123
|
- [l10n] Update Russian (ru-RU) locale (#5069) @Artboomy
|
|
73
124
|
|
|
74
|
-
### `@mui/x-date-pickers@
|
|
125
|
+
### `@mui/x-date-pickers@v5.0.0-alpha.6` / `@mui/x-date-pickers-pro@v5.0.0-alpha.6`
|
|
75
126
|
|
|
76
127
|
#### Changes
|
|
77
128
|
|
|
@@ -138,7 +189,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
|
|
|
138
189
|
- [l10n] Add Norwegian (Bokmål) (nb-NO) locale (#5001) @spiftire
|
|
139
190
|
- [l10n] Add Turkish (tr-TR) locale (#5026) @Rassilion
|
|
140
191
|
|
|
141
|
-
### `@mui/x-date-pickers@
|
|
192
|
+
### `@mui/x-date-pickers@v5.0.0-alpha.5` / `@mui/x-date-pickers-pro@v5.0.0-alpha.5`
|
|
142
193
|
|
|
143
194
|
#### Breaking changes
|
|
144
195
|
|
|
@@ -211,7 +262,7 @@ We'd like to offer a big thanks to the 6 contributors who made this release poss
|
|
|
211
262
|
- [DataGridPremium] Support column spanning in the Excel export (#4830) @cherniavskii
|
|
212
263
|
- [l10n] Improve Russian (ru-RU) locale (#4864) @arvkonstantin
|
|
213
264
|
|
|
214
|
-
### `@mui/x-date-pickers@
|
|
265
|
+
### `@mui/x-date-pickers@v5.0.0-alpha.4` / `@mui/x-date-pickers-pro@v5.0.0-alpha.4`
|
|
215
266
|
|
|
216
267
|
#### Breaking changes
|
|
217
268
|
|
|
@@ -336,7 +387,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
|
|
|
336
387
|
- [l10n] Improve German (de-DE) locale (#4748) @sebastianfrey
|
|
337
388
|
- [l10n] Improve German (de-DE) locale (#4668) @izu-co
|
|
338
389
|
|
|
339
|
-
### `@mui/x-date-pickers@
|
|
390
|
+
### `@mui/x-date-pickers@v5.0.0-alpha.3` / `@mui/x-date-pickers-pro@v5.0.0-alpha.3`
|
|
340
391
|
|
|
341
392
|
#### Breaking changes
|
|
342
393
|
|
|
@@ -437,7 +488,7 @@ We'd like to offer a big thanks to the 6 contributors who made this release poss
|
|
|
437
488
|
- [DataGrid] Don't close column menu when updating rows (#4498) @m4theushw
|
|
438
489
|
- [DataGridPro] Introduce row reorder (#4034) @DanailH
|
|
439
490
|
|
|
440
|
-
### `@mui/x-date-pickers@
|
|
491
|
+
### `@mui/x-date-pickers@v5.0.0-alpha.2` / `@mui/x-date-pickers-pro@v5.0.0-alpha.2`
|
|
441
492
|
|
|
442
493
|
- [pickers] Pass `PaperProps` to `DesktopWrapper` component (#4584) @alexfauquette
|
|
443
494
|
- [TimePicker] Fix bug when time picker clear value (#4582) @alexfauquette
|
|
@@ -498,7 +549,7 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
|
|
|
498
549
|
- [DataGridPro] Fix toggling detail panel using keyboard (#4409) @cherniavskii
|
|
499
550
|
- [l10n] Add Hungarian (hu-HU) locale (#4458) @x22tri
|
|
500
551
|
|
|
501
|
-
### `@mui/x-date-pickers@
|
|
552
|
+
### `@mui/x-date-pickers@v5.0.0-alpha.1` / `@mui/x-date-pickers-pro@v5.0.0-alpha.1`
|
|
502
553
|
|
|
503
554
|
- [ClockPicker] Should call `shouldDisableTime` with the hours with meridiem (#4404) @flaviendelangle
|
|
504
555
|
- [MonthPicker] Clicking on a `PickersMonth` button should not trigger the form submit (#4402) @flaviendelangle
|
|
@@ -45,11 +45,11 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
45
45
|
useGridTreeData(apiRef);
|
|
46
46
|
useGridKeyboardNavigation(apiRef, props);
|
|
47
47
|
useGridSelection(apiRef, props);
|
|
48
|
-
useGridDetailPanel(apiRef, props);
|
|
49
48
|
useGridColumnPinning(apiRef, props);
|
|
50
49
|
useGridColumns(apiRef, props);
|
|
51
50
|
useGridRows(apiRef, props);
|
|
52
51
|
useGridParamsApi(apiRef);
|
|
52
|
+
useGridDetailPanel(apiRef, props);
|
|
53
53
|
useGridColumnSpanning(apiRef);
|
|
54
54
|
const useGridEditing = (_props$experimentalFe2 = props.experimentalFeatures) != null && _props$experimentalFe2.newEditingApi ? useGridEditing_new : useGridEditing_old;
|
|
55
55
|
useGridEditing(apiRef, props);
|
|
@@ -2,7 +2,12 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
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
|
-
const getExcelJs = () =>
|
|
5
|
+
const getExcelJs = async () => {
|
|
6
|
+
const {
|
|
7
|
+
default: excelJsDefault
|
|
8
|
+
} = await import('exceljs');
|
|
9
|
+
return excelJsDefault;
|
|
10
|
+
};
|
|
6
11
|
|
|
7
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.']);
|
|
8
13
|
|
package/index.js
CHANGED
|
@@ -45,11 +45,11 @@ export var useDataGridPremiumComponent = function useDataGridPremiumComponent(in
|
|
|
45
45
|
useGridTreeData(apiRef);
|
|
46
46
|
useGridKeyboardNavigation(apiRef, props);
|
|
47
47
|
useGridSelection(apiRef, props);
|
|
48
|
-
useGridDetailPanel(apiRef, props);
|
|
49
48
|
useGridColumnPinning(apiRef, props);
|
|
50
49
|
useGridColumns(apiRef, props);
|
|
51
50
|
useGridRows(apiRef, props);
|
|
52
51
|
useGridParamsApi(apiRef);
|
|
52
|
+
useGridDetailPanel(apiRef, props);
|
|
53
53
|
useGridColumnSpanning(apiRef);
|
|
54
54
|
var useGridEditing = (_props$experimentalFe2 = props.experimentalFeatures) != null && _props$experimentalFe2.newEditingApi ? useGridEditing_new : useGridEditing_old;
|
|
55
55
|
useGridEditing(apiRef, props);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
2
|
-
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
5
4
|
import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
5
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
6
6
|
|
|
7
7
|
var _defaultColumnsStyles;
|
|
8
8
|
|
|
@@ -10,9 +10,34 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
10
10
|
import { GRID_DATE_COL_DEF, GRID_DATETIME_COL_DEF } from '@mui/x-data-grid-pro';
|
|
11
11
|
import { buildWarning } from '@mui/x-data-grid/internals';
|
|
12
12
|
|
|
13
|
-
var getExcelJs = function
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
var getExcelJs = /*#__PURE__*/function () {
|
|
14
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
15
|
+
var _yield$import, excelJsDefault;
|
|
16
|
+
|
|
17
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
18
|
+
while (1) {
|
|
19
|
+
switch (_context.prev = _context.next) {
|
|
20
|
+
case 0:
|
|
21
|
+
_context.next = 2;
|
|
22
|
+
return import('exceljs');
|
|
23
|
+
|
|
24
|
+
case 2:
|
|
25
|
+
_yield$import = _context.sent;
|
|
26
|
+
excelJsDefault = _yield$import.default;
|
|
27
|
+
return _context.abrupt("return", excelJsDefault);
|
|
28
|
+
|
|
29
|
+
case 5:
|
|
30
|
+
case "end":
|
|
31
|
+
return _context.stop();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}, _callee);
|
|
35
|
+
}));
|
|
36
|
+
|
|
37
|
+
return function getExcelJs() {
|
|
38
|
+
return _ref.apply(this, arguments);
|
|
39
|
+
};
|
|
40
|
+
}();
|
|
16
41
|
|
|
17
42
|
var 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.']);
|
|
18
43
|
|
|
@@ -182,19 +207,19 @@ export function buildExcel(_x, _x2) {
|
|
|
182
207
|
}
|
|
183
208
|
|
|
184
209
|
function _buildExcel() {
|
|
185
|
-
_buildExcel = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
210
|
+
_buildExcel = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(options, api) {
|
|
186
211
|
var columns, rowIds, includeHeaders, valueOptionsSheetName, exceljsPreProcess, exceljsPostProcess, _options$columnsStyle, columnsStyles, excelJS, workbook, worksheet, columnsWithArrayValueOptions, defaultValueOptionsFormulae, valueOptionsWorksheet;
|
|
187
212
|
|
|
188
|
-
return _regeneratorRuntime.wrap(function
|
|
213
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
189
214
|
while (1) {
|
|
190
|
-
switch (
|
|
215
|
+
switch (_context2.prev = _context2.next) {
|
|
191
216
|
case 0:
|
|
192
217
|
columns = options.columns, rowIds = options.rowIds, includeHeaders = options.includeHeaders, valueOptionsSheetName = options.valueOptionsSheetName, exceljsPreProcess = options.exceljsPreProcess, exceljsPostProcess = options.exceljsPostProcess, _options$columnsStyle = options.columnsStyles, columnsStyles = _options$columnsStyle === void 0 ? {} : _options$columnsStyle;
|
|
193
|
-
|
|
218
|
+
_context2.next = 3;
|
|
194
219
|
return getExcelJs();
|
|
195
220
|
|
|
196
221
|
case 3:
|
|
197
|
-
excelJS =
|
|
222
|
+
excelJS = _context2.sent;
|
|
198
223
|
workbook = new excelJS.Workbook();
|
|
199
224
|
worksheet = workbook.addWorksheet('Sheet1');
|
|
200
225
|
worksheet.columns = columns.map(function (column) {
|
|
@@ -202,11 +227,11 @@ function _buildExcel() {
|
|
|
202
227
|
});
|
|
203
228
|
|
|
204
229
|
if (!exceljsPreProcess) {
|
|
205
|
-
|
|
230
|
+
_context2.next = 10;
|
|
206
231
|
break;
|
|
207
232
|
}
|
|
208
233
|
|
|
209
|
-
|
|
234
|
+
_context2.next = 10;
|
|
210
235
|
return exceljsPreProcess({
|
|
211
236
|
workbook: workbook,
|
|
212
237
|
worksheet: worksheet
|
|
@@ -226,8 +251,8 @@ function _buildExcel() {
|
|
|
226
251
|
|
|
227
252
|
if (columnsWithArrayValueOptions.length) {
|
|
228
253
|
valueOptionsWorksheet = workbook.addWorksheet(valueOptionsSheetName);
|
|
229
|
-
valueOptionsWorksheet.columns = columnsWithArrayValueOptions.map(function (
|
|
230
|
-
var field =
|
|
254
|
+
valueOptionsWorksheet.columns = columnsWithArrayValueOptions.map(function (_ref2) {
|
|
255
|
+
var field = _ref2.field;
|
|
231
256
|
return {
|
|
232
257
|
key: field
|
|
233
258
|
};
|
|
@@ -264,25 +289,25 @@ function _buildExcel() {
|
|
|
264
289
|
});
|
|
265
290
|
|
|
266
291
|
if (!exceljsPostProcess) {
|
|
267
|
-
|
|
292
|
+
_context2.next = 18;
|
|
268
293
|
break;
|
|
269
294
|
}
|
|
270
295
|
|
|
271
|
-
|
|
296
|
+
_context2.next = 18;
|
|
272
297
|
return exceljsPostProcess({
|
|
273
298
|
workbook: workbook,
|
|
274
299
|
worksheet: worksheet
|
|
275
300
|
});
|
|
276
301
|
|
|
277
302
|
case 18:
|
|
278
|
-
return
|
|
303
|
+
return _context2.abrupt("return", workbook);
|
|
279
304
|
|
|
280
305
|
case 19:
|
|
281
306
|
case "end":
|
|
282
|
-
return
|
|
307
|
+
return _context2.stop();
|
|
283
308
|
}
|
|
284
309
|
}
|
|
285
|
-
},
|
|
310
|
+
}, _callee2);
|
|
286
311
|
}));
|
|
287
312
|
return _buildExcel.apply(this, arguments);
|
|
288
313
|
}
|
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 = "MTY1NjAyMTYwMDAwMA==";
|
|
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).
|
|
@@ -43,11 +43,11 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
43
43
|
useGridTreeData(apiRef);
|
|
44
44
|
useGridKeyboardNavigation(apiRef, props);
|
|
45
45
|
useGridSelection(apiRef, props);
|
|
46
|
-
useGridDetailPanel(apiRef, props);
|
|
47
46
|
useGridColumnPinning(apiRef, props);
|
|
48
47
|
useGridColumns(apiRef, props);
|
|
49
48
|
useGridRows(apiRef, props);
|
|
50
49
|
useGridParamsApi(apiRef);
|
|
50
|
+
useGridDetailPanel(apiRef, props);
|
|
51
51
|
useGridColumnSpanning(apiRef);
|
|
52
52
|
const useGridEditing = props.experimentalFeatures?.newEditingApi ? useGridEditing_new : useGridEditing_old;
|
|
53
53
|
useGridEditing(apiRef, props);
|
|
@@ -2,7 +2,12 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
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
|
-
const getExcelJs = () =>
|
|
5
|
+
const getExcelJs = async () => {
|
|
6
|
+
const {
|
|
7
|
+
default: excelJsDefault
|
|
8
|
+
} = await import('exceljs');
|
|
9
|
+
return excelJsDefault;
|
|
10
|
+
};
|
|
6
11
|
|
|
7
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.']);
|
|
8
13
|
|
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 = "MTY1NjAyMTYwMDAwMA==";
|
|
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).
|
|
@@ -56,11 +56,11 @@ const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
56
56
|
(0, _internals.useGridTreeData)(apiRef);
|
|
57
57
|
(0, _internals.useGridKeyboardNavigation)(apiRef, props);
|
|
58
58
|
(0, _internals.useGridSelection)(apiRef, props);
|
|
59
|
-
(0, _internals.useGridDetailPanel)(apiRef, props);
|
|
60
59
|
(0, _internals.useGridColumnPinning)(apiRef, props);
|
|
61
60
|
(0, _internals.useGridColumns)(apiRef, props);
|
|
62
61
|
(0, _internals.useGridRows)(apiRef, props);
|
|
63
62
|
(0, _internals.useGridParamsApi)(apiRef);
|
|
63
|
+
(0, _internals.useGridDetailPanel)(apiRef, props);
|
|
64
64
|
(0, _internals.useGridColumnSpanning)(apiRef);
|
|
65
65
|
const useGridEditing = (_props$experimentalFe2 = props.experimentalFeatures) != null && _props$experimentalFe2.newEditingApi ? _internals.useGridEditing_new : _internals.useGridEditing_old;
|
|
66
66
|
useGridEditing(apiRef, props);
|
|
@@ -17,7 +17,12 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
17
17
|
|
|
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
|
-
const getExcelJs =
|
|
20
|
+
const getExcelJs = async () => {
|
|
21
|
+
const {
|
|
22
|
+
default: excelJsDefault
|
|
23
|
+
} = await Promise.resolve().then(() => _interopRequireWildcard(require('exceljs')));
|
|
24
|
+
return excelJsDefault;
|
|
25
|
+
};
|
|
21
26
|
|
|
22
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.']);
|
|
23
28
|
|
package/node/index.js
CHANGED
|
@@ -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 = "MTY1NjAyMTYwMDAwMA==";
|
|
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.12.
|
|
3
|
+
"version": "5.12.3",
|
|
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,14 +33,14 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.17.2",
|
|
35
35
|
"@mui/utils": "^5.4.1",
|
|
36
|
-
"@mui/x-data-grid": "5.12.
|
|
37
|
-
"@mui/x-data-grid-pro": "5.12.
|
|
38
|
-
"@mui/x-license-pro": "5.12.
|
|
36
|
+
"@mui/x-data-grid": "5.12.3",
|
|
37
|
+
"@mui/x-data-grid-pro": "5.12.3",
|
|
38
|
+
"@mui/x-license-pro": "5.12.3",
|
|
39
39
|
"@types/format-util": "^1.0.2",
|
|
40
40
|
"clsx": "^1.0.4",
|
|
41
41
|
"exceljs": "^4.3.0",
|
|
42
42
|
"prop-types": "^15.8.1",
|
|
43
|
-
"reselect": "^4.1.
|
|
43
|
+
"reselect": "^4.1.6"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@mui/material": "^5.4.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 = "MTY1NjAyMTYwMDAwMA==";
|
|
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).
|