@mui/x-data-grid-premium 6.0.0-alpha.13 → 6.0.0-alpha.14
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 +134 -0
- package/DataGridPremium/DataGridPremium.js +0 -10
- package/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +1 -1
- package/hooks/features/rowGrouping/gridRowGroupingUtils.d.ts +1 -1
- package/hooks/features/rowGrouping/gridRowGroupingUtils.js +1 -1
- package/index.js +2 -2
- package/legacy/DataGridPremium/DataGridPremium.js +0 -10
- package/legacy/hooks/features/rowGrouping/gridRowGroupingUtils.js +1 -1
- package/legacy/index.js +2 -2
- package/legacy/utils/releaseInfo.js +1 -1
- package/models/gridGroupingValueGetterParams.d.ts +1 -1
- package/modern/DataGridPremium/DataGridPremium.js +0 -10
- package/modern/hooks/features/rowGrouping/gridRowGroupingUtils.js +1 -1
- package/modern/index.js +2 -2
- package/modern/utils/releaseInfo.js +1 -1
- package/node/DataGridPremium/DataGridPremium.js +0 -10
- package/node/hooks/features/rowGrouping/gridRowGroupingUtils.js +1 -1
- package/node/index.js +2 -2
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +6 -6
- package/typeOverloads/modules.d.ts +5 -5
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,85 @@
|
|
|
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.0.0-alpha.14
|
|
7
|
+
|
|
8
|
+
_Jan 5, 2023_
|
|
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 `SingleInputTimeRangeField` and `SingleInputDateTimeRangeField` components (#7186) @alexfauquette
|
|
13
|
+
- 🚀 Use grid for modifying pickers layout (#6900) @alexfauquette
|
|
14
|
+
- ✨ Improve field components editing experience (#7272) @flaviendelangle
|
|
15
|
+
- 💻 Multiple codemods
|
|
16
|
+
- 📚 Many documentation improvements
|
|
17
|
+
- 🐞 Bugfixes
|
|
18
|
+
|
|
19
|
+
### `@mui/x-data-grid@v6.0.0-alpha.14` / `@mui/x-data-grid-pro@v6.0.0-alpha.14` / `@mui/x-data-grid-premium@v6.0.0-alpha.14`
|
|
20
|
+
|
|
21
|
+
#### Breaking changes
|
|
22
|
+
|
|
23
|
+
- [DataGrid] Set default `GridCellParams['value']` type to `unknown` (#6959) @cherniavskii
|
|
24
|
+
|
|
25
|
+
The default type of `GridCellParams['value']` was changed from `any` to `unknown`.
|
|
26
|
+
|
|
27
|
+
#### Changes
|
|
28
|
+
|
|
29
|
+
- [DataGrid] Fix flickering on mount (#7205) @cherniavskii
|
|
30
|
+
- [DataGrid] Fix selected text in cell input not being copied in Firefox (#6593) @cherniavskii
|
|
31
|
+
- [DataGrid] Invert generic parameters order (#6874) @DanailH
|
|
32
|
+
- [DataGrid] Remove legacy logic for `singleSelect` inside `GridFilterInputValue` (#7386) @m4theushw
|
|
33
|
+
- [DataGrid] Remove remaining props from legacy editing API (#7381) @m4theushw
|
|
34
|
+
- [DataGrid] Set default `GridCellParams['value']` type to `unknown` (#6959) @cherniavskii
|
|
35
|
+
|
|
36
|
+
### `@mui/x-date-pickers@v6.0.0-alpha.14` / `@mui/x-date-pickers-pro@v6.0.0-alpha.14`
|
|
37
|
+
|
|
38
|
+
#### Breaking changes
|
|
39
|
+
|
|
40
|
+
- [fields] Rename the `input` slot of the fields to `textField` to avoid confusion (#7369) @flaviendelangle
|
|
41
|
+
|
|
42
|
+
#### Changes
|
|
43
|
+
|
|
44
|
+
- [fields] Add `SingleInputTimeRangeField` and `SingleInputDateTimeRangeField` components (#7186) @alexfauquette
|
|
45
|
+
- [fields] Improve editing (automatic section switch, allow letter editing in digit section, allow numeric editing in letter section) (#7272) @flaviendelangle
|
|
46
|
+
- [fields] Rename the `input` slot of the fields to `textField` to avoid confusion (#7369) @flaviendelangle
|
|
47
|
+
- [fields] Prevent date change on `TimeField` arrow edition (#7383) @flaviendelangle
|
|
48
|
+
- [pickers] Clean some JSDoc descriptions (#7384) @flaviendelangle
|
|
49
|
+
- [pickers] Remove redundant `variants` in theme augmentation (#7356) @LukasTy
|
|
50
|
+
- [pickers] Remove the `PaperContent` slot from the new pickers (#7342) @flaviendelangle
|
|
51
|
+
- [pickers] Use grid for modifying the layout (#6900) @alexfauquette
|
|
52
|
+
|
|
53
|
+
### `@mui/x-codemod@v6.0.0-alpha.14`
|
|
54
|
+
|
|
55
|
+
#### Changes
|
|
56
|
+
|
|
57
|
+
- [codemod] Add new codemod for adapter import (#7348) @flaviendelangle
|
|
58
|
+
- [codemod] Add new codemod for the value prop renaming on the view components (#7338) @flaviendelangle
|
|
59
|
+
- [codemod] Reorganize codemods and add rename column menu components codemod (#7368) @MBilalShafi
|
|
60
|
+
|
|
61
|
+
### Docs
|
|
62
|
+
|
|
63
|
+
- [docs] Add example to add back the mobile keyboard view (#7347) @flaviendelangle
|
|
64
|
+
- [docs] Cleanup the doc pages of the community pickers (#7339) @flaviendelangle
|
|
65
|
+
- [docs] Drop security fixes support for v4 (#7322) @oliviertassinari
|
|
66
|
+
- [docs] Fix `disablePast` and `disableFuture` definition swap (#7324) @alexfauquette
|
|
67
|
+
- [docs] Hide ad for paid docs pages (#7321) @oliviertassinari
|
|
68
|
+
- [docs] New page for `TimeClock` (#7280) @flaviendelangle
|
|
69
|
+
- [docs] Note the pickers breaking changes supported by the codemod (#7337) @flaviendelangle
|
|
70
|
+
- [docs] Redirect translated pages (#7341) @cherniavskii
|
|
71
|
+
- [docs] Reorganize v6 pickers migration guide (#7257) @flaviendelangle
|
|
72
|
+
|
|
73
|
+
### Core
|
|
74
|
+
|
|
75
|
+
- [core] Apply eslint rule for React component @oliviertassinari
|
|
76
|
+
- [core] Apply title capitalization convention @oliviertassinari
|
|
77
|
+
- [core] Fix the product license reference name (#7367) @oliviertassinari
|
|
78
|
+
- [core] Order the slots alphabetically in the JSON files (#7349) @flaviendelangle
|
|
79
|
+
- [core] Remove blanklines in `_redirects` @oliviertassinari
|
|
80
|
+
- [core] Remove dead prettier config @oliviertassinari
|
|
81
|
+
- [core] Sync back with the mono repo (#7351) @oliviertassinari
|
|
82
|
+
- [core] Sync monorepo, fix layout scrollbar @oliviertassinari
|
|
83
|
+
- [core] Upgrade monorepo (#7307) @LukasTy
|
|
84
|
+
|
|
6
85
|
## 6.0.0-alpha.13
|
|
7
86
|
|
|
8
87
|
_Dec 24, 2022_
|
|
@@ -1507,6 +1586,61 @@ You can find more information about the new api, including how to set those tran
|
|
|
1507
1586
|
- [test] Skip tests for column pinning and dynamic row height (#5997) @m4theushw
|
|
1508
1587
|
- [website] Improve security header @oliviertassinari
|
|
1509
1588
|
|
|
1589
|
+
## 5.17.18
|
|
1590
|
+
|
|
1591
|
+
_Jan 5, 2023_
|
|
1592
|
+
|
|
1593
|
+
We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
|
|
1594
|
+
|
|
1595
|
+
- 🐞 Bugfixes
|
|
1596
|
+
|
|
1597
|
+
### `@mui/x-data-grid@v5.17.18` / `@mui/x-data-grid-pro@v5.17.18` / `@mui/x-data-grid-premium@v5.17.18`
|
|
1598
|
+
|
|
1599
|
+
#### Changes
|
|
1600
|
+
|
|
1601
|
+
- [DataGrid] Fix rows not rendering properly after height change (#7376) @cherniavskii
|
|
1602
|
+
- [DataGrid] Fix selected text in cell input not being copied in Firefox (#7330) @cherniavskii
|
|
1603
|
+
- [DataGridPremium] Export row grouping column menu components (#7308) @cherniavskii
|
|
1604
|
+
|
|
1605
|
+
### `@mui/x-date-pickers@v5.0.13` / `@mui/x-date-pickers-pro@v5.0.13`
|
|
1606
|
+
|
|
1607
|
+
#### Changes
|
|
1608
|
+
|
|
1609
|
+
- [pickers] Fix the product license reference name (#7367)
|
|
1610
|
+
|
|
1611
|
+
### Docs
|
|
1612
|
+
|
|
1613
|
+
- [docs] Redirect translated pages (#7370) @cherniavskii
|
|
1614
|
+
|
|
1615
|
+
### Core
|
|
1616
|
+
|
|
1617
|
+
- [core] Fix release date (#7314) @DanailH
|
|
1618
|
+
- [core] Fix the product license reference name (#7367) @oliviertassinari
|
|
1619
|
+
- [core] Upgrade monorepo (#7344) @cherniavskii
|
|
1620
|
+
|
|
1621
|
+
## 5.17.17
|
|
1622
|
+
|
|
1623
|
+
_Dec 24, 2022_
|
|
1624
|
+
|
|
1625
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
1626
|
+
|
|
1627
|
+
- 🌍 Improve Russian (ru-RU) and Korean (ko-KR) locales
|
|
1628
|
+
- 🐞 Bugfixes
|
|
1629
|
+
|
|
1630
|
+
### `@mui/x-data-grid@v5.17.17` / `@mui/x-data-grid-pro@v5.17.17` / `@mui/x-data-grid-premium@v5.17.17`
|
|
1631
|
+
|
|
1632
|
+
#### Changes
|
|
1633
|
+
|
|
1634
|
+
- [DataGrid] Update Russian (ru-RU) locale (#7291) @VeceluXa
|
|
1635
|
+
- [DataGridPro] Use row ID as `key` of the detail panels (#7311) @m4theushw
|
|
1636
|
+
- [DataGridPremium] Fix `exceljs` import with parcel (#7285) @alexfauquette
|
|
1637
|
+
|
|
1638
|
+
### `@mui/x-date-pickers@v5.0.12` / `@mui/x-date-pickers-pro@v5.0.12`
|
|
1639
|
+
|
|
1640
|
+
#### Changes
|
|
1641
|
+
|
|
1642
|
+
- [pickers] Improve Korean (ko-KR) locale (#7283) @hanbin9775
|
|
1643
|
+
|
|
1510
1644
|
## 5.17.16
|
|
1511
1645
|
|
|
1512
1646
|
_Dec 16, 2022_
|
|
@@ -242,10 +242,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
242
242
|
* @default "cell"
|
|
243
243
|
*/
|
|
244
244
|
editMode: PropTypes.oneOf(['cell', 'row']),
|
|
245
|
-
/**
|
|
246
|
-
* Set the edit rows model of the grid.
|
|
247
|
-
*/
|
|
248
|
-
editRowsModel: PropTypes.object,
|
|
249
245
|
/**
|
|
250
246
|
* An error that will turn the grid into its error state and display the error component.
|
|
251
247
|
*/
|
|
@@ -578,12 +574,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
578
574
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
579
575
|
*/
|
|
580
576
|
onDetailPanelExpandedRowIdsChange: PropTypes.func,
|
|
581
|
-
/**
|
|
582
|
-
* Callback fired when the `editRowsModel` changes.
|
|
583
|
-
* @param {GridEditRowsModel} editRowsModel With all properties from [[GridEditRowsModel]].
|
|
584
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
585
|
-
*/
|
|
586
|
-
onEditRowsModelChange: PropTypes.func,
|
|
587
577
|
/**
|
|
588
578
|
* Callback fired when an exception is thrown in the grid.
|
|
589
579
|
* @param {any} args The arguments passed to the `showError` call.
|
|
@@ -25,5 +25,5 @@ export declare const wrapColumnWithAggregationValue: ({ column, apiRef, aggregat
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const unwrapColumnFromAggregation: ({ column, }: {
|
|
27
27
|
column: GridColDefWithAggregationWrappers;
|
|
28
|
-
}) => GridBaseColDef<
|
|
28
|
+
}) => GridBaseColDef<import("@mui/x-data-grid-pro").GridValidRowModel, any, any>;
|
|
29
29
|
export {};
|
|
@@ -42,5 +42,5 @@ export declare const getGroupingRules: ({ sanitizedRowGroupingModel, columnsLook
|
|
|
42
42
|
/**
|
|
43
43
|
* Compares two sets of grouping rules to determine if they are equal or not.
|
|
44
44
|
*/
|
|
45
|
-
export declare const areGroupingRulesEqual: (
|
|
45
|
+
export declare const areGroupingRulesEqual: (newValue: GridGroupingRules<import("@mui/x-data-grid-pro").GridValidRowModel>, previousValue: GridGroupingRules<import("@mui/x-data-grid-pro").GridValidRowModel>) => boolean;
|
|
46
46
|
export {};
|
|
@@ -169,7 +169,7 @@ export const getGroupingRules = ({
|
|
|
169
169
|
/**
|
|
170
170
|
* Compares two sets of grouping rules to determine if they are equal or not.
|
|
171
171
|
*/
|
|
172
|
-
export const areGroupingRulesEqual = (
|
|
172
|
+
export const areGroupingRulesEqual = (newValue, previousValue) => {
|
|
173
173
|
if (previousValue.length !== newValue.length) {
|
|
174
174
|
return false;
|
|
175
175
|
}
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v6.0.0-alpha.
|
|
1
|
+
/** @license MUI X v6.0.0-alpha.14
|
|
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';
|
|
@@ -242,10 +242,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
242
242
|
* @default "cell"
|
|
243
243
|
*/
|
|
244
244
|
editMode: PropTypes.oneOf(['cell', 'row']),
|
|
245
|
-
/**
|
|
246
|
-
* Set the edit rows model of the grid.
|
|
247
|
-
*/
|
|
248
|
-
editRowsModel: PropTypes.object,
|
|
249
245
|
/**
|
|
250
246
|
* An error that will turn the grid into its error state and display the error component.
|
|
251
247
|
*/
|
|
@@ -578,12 +574,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
578
574
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
579
575
|
*/
|
|
580
576
|
onDetailPanelExpandedRowIdsChange: PropTypes.func,
|
|
581
|
-
/**
|
|
582
|
-
* Callback fired when the `editRowsModel` changes.
|
|
583
|
-
* @param {GridEditRowsModel} editRowsModel With all properties from [[GridEditRowsModel]].
|
|
584
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
585
|
-
*/
|
|
586
|
-
onEditRowsModelChange: PropTypes.func,
|
|
587
577
|
/**
|
|
588
578
|
* Callback fired when an exception is thrown in the grid.
|
|
589
579
|
* @param {any} args The arguments passed to the `showError` call.
|
|
@@ -182,7 +182,7 @@ export var getGroupingRules = function getGroupingRules(_ref2) {
|
|
|
182
182
|
/**
|
|
183
183
|
* Compares two sets of grouping rules to determine if they are equal or not.
|
|
184
184
|
*/
|
|
185
|
-
export var areGroupingRulesEqual = function areGroupingRulesEqual(
|
|
185
|
+
export var areGroupingRulesEqual = function areGroupingRulesEqual(newValue, previousValue) {
|
|
186
186
|
if (previousValue.length !== newValue.length) {
|
|
187
187
|
return false;
|
|
188
188
|
}
|
package/legacy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v6.0.0-alpha.
|
|
1
|
+
/** @license MUI X v6.0.0-alpha.14
|
|
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
|
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,7 @@ import { GridRowId, GridRowModel, GridValidRowModel, GridGroupNode, GridColDef }
|
|
|
2
2
|
/**
|
|
3
3
|
* Parameters passed to `colDef.groupingValueGetter`.
|
|
4
4
|
*/
|
|
5
|
-
export interface GridGroupingValueGetterParams<
|
|
5
|
+
export interface GridGroupingValueGetterParams<R extends GridValidRowModel = any, V = any> {
|
|
6
6
|
/**
|
|
7
7
|
* The grid row id.
|
|
8
8
|
*/
|
|
@@ -242,10 +242,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
242
242
|
* @default "cell"
|
|
243
243
|
*/
|
|
244
244
|
editMode: PropTypes.oneOf(['cell', 'row']),
|
|
245
|
-
/**
|
|
246
|
-
* Set the edit rows model of the grid.
|
|
247
|
-
*/
|
|
248
|
-
editRowsModel: PropTypes.object,
|
|
249
245
|
/**
|
|
250
246
|
* An error that will turn the grid into its error state and display the error component.
|
|
251
247
|
*/
|
|
@@ -578,12 +574,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
578
574
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
579
575
|
*/
|
|
580
576
|
onDetailPanelExpandedRowIdsChange: PropTypes.func,
|
|
581
|
-
/**
|
|
582
|
-
* Callback fired when the `editRowsModel` changes.
|
|
583
|
-
* @param {GridEditRowsModel} editRowsModel With all properties from [[GridEditRowsModel]].
|
|
584
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
585
|
-
*/
|
|
586
|
-
onEditRowsModelChange: PropTypes.func,
|
|
587
577
|
/**
|
|
588
578
|
* Callback fired when an exception is thrown in the grid.
|
|
589
579
|
* @param {any} args The arguments passed to the `showError` call.
|
|
@@ -166,7 +166,7 @@ export const getGroupingRules = ({
|
|
|
166
166
|
/**
|
|
167
167
|
* Compares two sets of grouping rules to determine if they are equal or not.
|
|
168
168
|
*/
|
|
169
|
-
export const areGroupingRulesEqual = (
|
|
169
|
+
export const areGroupingRulesEqual = (newValue, previousValue) => {
|
|
170
170
|
if (previousValue.length !== newValue.length) {
|
|
171
171
|
return false;
|
|
172
172
|
}
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v6.0.0-alpha.
|
|
1
|
+
/** @license MUI X v6.0.0-alpha.14
|
|
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
|
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
|
|
@@ -251,10 +251,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
251
251
|
* @default "cell"
|
|
252
252
|
*/
|
|
253
253
|
editMode: _propTypes.default.oneOf(['cell', 'row']),
|
|
254
|
-
/**
|
|
255
|
-
* Set the edit rows model of the grid.
|
|
256
|
-
*/
|
|
257
|
-
editRowsModel: _propTypes.default.object,
|
|
258
254
|
/**
|
|
259
255
|
* An error that will turn the grid into its error state and display the error component.
|
|
260
256
|
*/
|
|
@@ -587,12 +583,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
587
583
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
588
584
|
*/
|
|
589
585
|
onDetailPanelExpandedRowIdsChange: _propTypes.default.func,
|
|
590
|
-
/**
|
|
591
|
-
* Callback fired when the `editRowsModel` changes.
|
|
592
|
-
* @param {GridEditRowsModel} editRowsModel With all properties from [[GridEditRowsModel]].
|
|
593
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
594
|
-
*/
|
|
595
|
-
onEditRowsModelChange: _propTypes.default.func,
|
|
596
586
|
/**
|
|
597
587
|
* Callback fired when an exception is thrown in the grid.
|
|
598
588
|
* @param {any} args The arguments passed to the `showError` call.
|
|
@@ -184,7 +184,7 @@ const getGroupingRules = ({
|
|
|
184
184
|
* Compares two sets of grouping rules to determine if they are equal or not.
|
|
185
185
|
*/
|
|
186
186
|
exports.getGroupingRules = getGroupingRules;
|
|
187
|
-
const areGroupingRulesEqual = (
|
|
187
|
+
const areGroupingRulesEqual = (newValue, previousValue) => {
|
|
188
188
|
if (previousValue.length !== newValue.length) {
|
|
189
189
|
return false;
|
|
190
190
|
}
|
package/node/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MUI v6.0.0-alpha.
|
|
1
|
+
/** @license MUI X v6.0.0-alpha.14
|
|
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";
|
|
@@ -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 = "MTY3Mjg2OTYwMDAwMA==";
|
|
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.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.14",
|
|
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",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"directory": "packages/grid/x-data-grid-premium"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@babel/runtime": "^7.20.
|
|
35
|
-
"@mui/utils": "^5.
|
|
36
|
-
"@mui/x-data-grid": "6.0.0-alpha.
|
|
37
|
-
"@mui/x-data-grid-pro": "6.0.0-alpha.
|
|
38
|
-
"@mui/x-license-pro": "6.0.0-alpha.
|
|
34
|
+
"@babel/runtime": "^7.20.7",
|
|
35
|
+
"@mui/utils": "^5.11.2",
|
|
36
|
+
"@mui/x-data-grid": "6.0.0-alpha.14",
|
|
37
|
+
"@mui/x-data-grid-pro": "6.0.0-alpha.14",
|
|
38
|
+
"@mui/x-license-pro": "6.0.0-alpha.14",
|
|
39
39
|
"@types/format-util": "^1.0.2",
|
|
40
40
|
"clsx": "^1.2.1",
|
|
41
41
|
"exceljs": "^4.3.0",
|
|
@@ -40,12 +40,12 @@ export interface GridColDefPremium<R extends GridValidRowModel = any, V = any, F
|
|
|
40
40
|
* @param {GridGroupingValueGetterParams} params Object containing parameters for the getter.
|
|
41
41
|
* @returns {GridKeyValue | null | undefined} The cell key.
|
|
42
42
|
*/
|
|
43
|
-
groupingValueGetter?: (params: GridGroupingValueGetterParams<
|
|
43
|
+
groupingValueGetter?: (params: GridGroupingValueGetterParams<R, V>) => GridKeyValue | null | undefined;
|
|
44
44
|
}
|
|
45
|
-
export interface GridRenderCellParamsPremium<
|
|
45
|
+
export interface GridRenderCellParamsPremium<R extends GridValidRowModel = any, V = any, F = V> {
|
|
46
46
|
aggregation?: GridAggregationCellMeta;
|
|
47
47
|
}
|
|
48
|
-
export interface GridColumnHeaderParamsPremium<
|
|
48
|
+
export interface GridColumnHeaderParamsPremium<R extends GridValidRowModel = any, V = any, F = V> {
|
|
49
49
|
aggregation?: GridAggregationHeaderMeta;
|
|
50
50
|
}
|
|
51
51
|
export interface GridApiCachesPremium extends GridApiCachesPro {
|
|
@@ -55,9 +55,9 @@ export interface GridApiCachesPremium extends GridApiCachesPro {
|
|
|
55
55
|
declare module '@mui/x-data-grid-pro' {
|
|
56
56
|
interface GridControlledStateEventLookup extends GridControlledStateEventLookupPro, GridControlledStateEventLookupPremium {
|
|
57
57
|
}
|
|
58
|
-
interface GridRenderCellParams<
|
|
58
|
+
interface GridRenderCellParams<R, V, F> extends GridRenderCellParamsPremium<R, V, F> {
|
|
59
59
|
}
|
|
60
|
-
interface GridColumnHeaderParams<
|
|
60
|
+
interface GridColumnHeaderParams<R, V, F> extends GridColumnHeaderParamsPremium<R, V, F> {
|
|
61
61
|
}
|
|
62
62
|
interface GridApiCaches extends GridApiCachesPremium {
|
|
63
63
|
}
|
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
|
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
|