@mui/x-data-grid-premium 7.23.5 → 7.24.0
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 +159 -0
- package/DataGridPremium/DataGridPremium.js +5 -7
- package/DataGridPremium/useDataGridPremiumComponent.d.ts +1 -1
- package/DataGridPremium/useDataGridPremiumComponent.js +1 -1
- package/esm/DataGridPremium/DataGridPremium.js +7 -9
- package/esm/DataGridPremium/useDataGridPremiumComponent.js +1 -1
- package/esm/hooks/features/cellSelection/useGridCellSelection.js +3 -3
- package/esm/utils/releaseInfo.js +1 -1
- package/hooks/features/aggregation/createAggregationLookup.d.ts +1 -1
- package/hooks/features/aggregation/gridAggregationUtils.d.ts +2 -2
- package/hooks/features/aggregation/useGridAggregation.d.ts +1 -1
- package/hooks/features/aggregation/useGridAggregationPreProcessors.d.ts +1 -1
- package/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +1 -1
- package/hooks/features/cellSelection/gridCellSelectionInterfaces.d.ts +3 -3
- package/hooks/features/cellSelection/useGridCellSelection.d.ts +1 -1
- package/hooks/features/cellSelection/useGridCellSelection.js +3 -3
- package/hooks/features/clipboard/useGridClipboardImport.d.ts +1 -1
- package/hooks/features/export/serializer/excelSerializer.d.ts +2 -2
- package/hooks/features/export/useGridExcelExport.d.ts +1 -1
- package/hooks/features/rowGrouping/createGroupingColDef.d.ts +1 -1
- package/hooks/features/rowGrouping/gridRowGroupingUtils.d.ts +3 -3
- package/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.d.ts +1 -1
- package/hooks/features/rowGrouping/useGridRowGrouping.d.ts +1 -1
- package/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.d.ts +1 -1
- package/hooks/utils/useGridApiContext.d.ts +1 -1
- package/hooks/utils/useGridApiRef.d.ts +1 -1
- package/hooks/utils/useGridPrivateApiContext.d.ts +1 -1
- package/hooks/utils/useKeepGroupedColumnsHidden.d.ts +1 -1
- package/index.js +1 -1
- package/models/dataGridPremiumProps.d.ts +1 -1
- package/models/gridGroupingValueGetter.d.ts +1 -1
- package/models/gridPastedValueParser.d.ts +1 -1
- package/modern/DataGridPremium/DataGridPremium.js +7 -9
- package/modern/DataGridPremium/useDataGridPremiumComponent.js +1 -1
- package/modern/hooks/features/cellSelection/useGridCellSelection.js +3 -3
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/package.json +5 -5
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,165 @@
|
|
|
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
|
+
## 7.24.0
|
|
7
|
+
|
|
8
|
+
_Jan 17, 2025_
|
|
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
|
+
- 🔄 Data Grid [Scroll restoration](https://next.mui.com/x/react-data-grid/scrolling/#scroll-restoration)
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
|
|
15
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
16
|
+
@lauri865, @AxharKhan.
|
|
17
|
+
Following are all team members who have contributed to this release:
|
|
18
|
+
@KenanYusuf, @arminmeh, @cherniavskii, @michelengelen, @samuelsycamore, @LukasTy.
|
|
19
|
+
|
|
20
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
21
|
+
|
|
22
|
+
### Data Grid
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid@7.24.0`
|
|
25
|
+
|
|
26
|
+
- [DataGrid] Fix resizing right pinned column (#16193) @KenanYusuf
|
|
27
|
+
- [DataGrid] Improve scrollbar deadzone with overlay scrollbars (#16212) @lauri865
|
|
28
|
+
- [DataGrid] Scroll restoration (#16208) @lauri865
|
|
29
|
+
- [DataGrid] Fix row, cell and header memoizations (#16195) @lauri865
|
|
30
|
+
- [l10n] Improve Urdu (ur-PK) locale (#16081) @AxharKhan
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-data-grid-pro@7.24.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
33
|
+
|
|
34
|
+
Same changes as in `@mui/x-data-grid@7.24.0`, plus:
|
|
35
|
+
|
|
36
|
+
- [DataGridPro] Add test for column pinning with disabled column virtualization (#16196) @cherniavskii
|
|
37
|
+
- [DataGridPro] Fix width of right-pinned column group during resize (#16207) @cherniavskii
|
|
38
|
+
|
|
39
|
+
#### `@mui/x-data-grid-premium@7.24.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
40
|
+
|
|
41
|
+
Same changes as in `@mui/x-data-grid-pro@7.24.0`.
|
|
42
|
+
|
|
43
|
+
### Date and Time Pickers
|
|
44
|
+
|
|
45
|
+
#### `@mui/x-date-pickers@7.24.0`
|
|
46
|
+
|
|
47
|
+
Internal changes.
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-date-pickers-pro@7.24.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
50
|
+
|
|
51
|
+
Same changes as in `@mui/x-date-pickers@7.24.0`.
|
|
52
|
+
|
|
53
|
+
### Charts
|
|
54
|
+
|
|
55
|
+
#### `@mui/x-charts@7.24.0`
|
|
56
|
+
|
|
57
|
+
Internal changes.
|
|
58
|
+
|
|
59
|
+
#### `@mui/x-charts-pro@7.24.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
60
|
+
|
|
61
|
+
Same changes as in `@mui/x-charts@7.24.0`.
|
|
62
|
+
|
|
63
|
+
### Tree View
|
|
64
|
+
|
|
65
|
+
#### `@mui/x-tree-view@7.24.0`
|
|
66
|
+
|
|
67
|
+
Internal changes.
|
|
68
|
+
|
|
69
|
+
#### `@mui/x-tree-view-pro@7.24.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
70
|
+
|
|
71
|
+
Same changes as in `@mui/x-tree-view@7.24.0`.
|
|
72
|
+
|
|
73
|
+
### Docs
|
|
74
|
+
|
|
75
|
+
- [docs] Copyedit the Data Grid cell selection page (#16213) @samuelsycamore
|
|
76
|
+
- [docs] Fix demo rendering issue on Codesandbox (#16129) @arminmeh
|
|
77
|
+
|
|
78
|
+
### Core
|
|
79
|
+
|
|
80
|
+
- [core] Type all references as `RefObject` (#16125) @arminmeh
|
|
81
|
+
- [code-infra] Refactor `react` and `react-dom` definitions to simplify dep resolving (#16214) @LukasTy
|
|
82
|
+
- [infra] Improve cherry-pick action target list (#16188) @michelengelen
|
|
83
|
+
- [test] Fix flaky column pinning unit test (#16209) @cherniavskii
|
|
84
|
+
|
|
85
|
+
## 7.23.6
|
|
86
|
+
|
|
87
|
+
_Jan 9, 2025_
|
|
88
|
+
|
|
89
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
90
|
+
|
|
91
|
+
- 🌍 Add Chinese (Taiwan) (zh-TW) locale on the Date and Time Pickers
|
|
92
|
+
- 🌍 Improve Norwegian (nb-NO) locale on the Date and Time Pickers
|
|
93
|
+
- 🌍 Improve Dutch (nl-NL) locale on the Data Grid
|
|
94
|
+
- 🐞 Bugfixes
|
|
95
|
+
|
|
96
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
97
|
+
@josteinjhauge, @derek-0000, @nusr, @k-rajat19, @tomashauser.
|
|
98
|
+
Following are all team members who have contributed to this release:
|
|
99
|
+
@flaviendelangle, @LukasTy, @MBilalShafi, @arminmeh, @oliviertassinari, @cherniavskii.
|
|
100
|
+
|
|
101
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
102
|
+
|
|
103
|
+
### Data Grid
|
|
104
|
+
|
|
105
|
+
#### `@mui/x-data-grid@7.23.6`
|
|
106
|
+
|
|
107
|
+
- [DataGrid] Improve React 19 support (#16048) @LukasTy
|
|
108
|
+
- [DataGrid] Add `name` attribute to selection checkboxes (#16041) @derek-0000
|
|
109
|
+
- [DataGrid] Fix number filter field formatting values while typing (#16068) @arminmeh
|
|
110
|
+
- [DataGrid] Fix select all checkbox state reset with server side data (#16039) @MBilalShafi
|
|
111
|
+
|
|
112
|
+
#### `@mui/x-data-grid-pro@7.23.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
113
|
+
|
|
114
|
+
Same changes as in `@mui/x-data-grid@7.23.6`.
|
|
115
|
+
|
|
116
|
+
#### `@mui/x-data-grid-premium@7.23.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
117
|
+
|
|
118
|
+
Same changes as in `@mui/x-data-grid-pro@7.23.6`.
|
|
119
|
+
|
|
120
|
+
### Date and Time Pickers
|
|
121
|
+
|
|
122
|
+
#### `@mui/x-date-pickers@7.23.6`
|
|
123
|
+
|
|
124
|
+
- [pickers] Improve React 19 support (#16048) @LukasTy
|
|
125
|
+
- [l10n] Add Chinese (Taiwan) (zh-TW) locale (#16057) @nusr
|
|
126
|
+
- [l10n] Improve Norwegian (nb-NO) locale (#16083) @josteinjhauge
|
|
127
|
+
- [pickers] Support `date-fns-jalali` v4 (#16013) @LukasTy
|
|
128
|
+
|
|
129
|
+
#### `@mui/x-date-pickers-pro@7.23.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
130
|
+
|
|
131
|
+
Same changes as in `@mui/x-date-pickers@7.23.6`.
|
|
132
|
+
|
|
133
|
+
### Charts
|
|
134
|
+
|
|
135
|
+
#### `@mui/x-charts@7.23.6`
|
|
136
|
+
|
|
137
|
+
- [charts] Improve React 19 support (#16048) @LukasTy
|
|
138
|
+
- [charts] Fix 301 redirection in the API documentation @oliviertassinari
|
|
139
|
+
|
|
140
|
+
#### `@mui/x-charts-pro@7.23.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
141
|
+
|
|
142
|
+
Same changes as in `@mui/x-charts@7.23.6`.
|
|
143
|
+
|
|
144
|
+
### Tree View
|
|
145
|
+
|
|
146
|
+
#### `@mui/x-tree-view@7.23.6`
|
|
147
|
+
|
|
148
|
+
- [TreeView] Improve React 19 support (#16048) @LukasTy
|
|
149
|
+
|
|
150
|
+
#### `@mui/x-tree-view-pro@7.23.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
151
|
+
|
|
152
|
+
Same changes as in `@mui/x-tree-view@7.23.6`.
|
|
153
|
+
|
|
154
|
+
### Docs
|
|
155
|
+
|
|
156
|
+
- [docs] Fix `EditingWithDatePickers` demo (#16047) @k-rajat19
|
|
157
|
+
- [docs] Fix doc warning for automatic children selection on tree view (#16037) @flaviendelangle
|
|
158
|
+
- [docs] Fix non-existing "adapter" property of `LocalizationProvider` (#16088) @tomashauser
|
|
159
|
+
|
|
160
|
+
### Core
|
|
161
|
+
|
|
162
|
+
- [core] Clarify the release strategy (#16012) @MBilalShafi
|
|
163
|
+
- [core] Update the `release:version` docs (#16040) @cherniavskii
|
|
164
|
+
|
|
6
165
|
## 7.23.5
|
|
7
166
|
|
|
8
167
|
_Dec 27, 2024_
|
|
@@ -42,18 +42,16 @@ const DataGridPremiumRaw = (0, _forwardRef.forwardRef)(function DataGridPremium(
|
|
|
42
42
|
privateApiRef: privateApiRef,
|
|
43
43
|
configuration: configuration,
|
|
44
44
|
props: props,
|
|
45
|
-
children: /*#__PURE__*/(0, _jsxRuntime.
|
|
45
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridRoot, (0, _extends2.default)({
|
|
46
46
|
className: props.className,
|
|
47
47
|
style: props.style,
|
|
48
48
|
sx: props.sx
|
|
49
49
|
}, props.forwardedProps, props.slotProps?.root, {
|
|
50
50
|
ref: ref,
|
|
51
|
-
children:
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
})
|
|
56
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridFooterPlaceholder, {})]
|
|
51
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicense.Watermark, {
|
|
52
|
+
packageName: "x-data-grid-premium",
|
|
53
|
+
releaseInfo: releaseInfo
|
|
54
|
+
})
|
|
57
55
|
}))
|
|
58
56
|
});
|
|
59
57
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { GridApiPremium, GridPrivateApiPremium } from '../models/gridApiPremium';
|
|
3
3
|
import { DataGridPremiumProcessedProps } from '../models/dataGridPremiumProps';
|
|
4
|
-
export declare const useDataGridPremiumComponent: (inputApiRef: React.
|
|
4
|
+
export declare const useDataGridPremiumComponent: (inputApiRef: React.RefObject<GridApiPremium> | undefined, props: DataGridPremiumProcessedProps) => React.RefObject<GridPrivateApiPremium>;
|
|
@@ -49,6 +49,7 @@ const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
49
49
|
(0, _internals.useGridInitializeState)(_internals.columnPinningStateInitializer, apiRef, props);
|
|
50
50
|
(0, _internals.useGridInitializeState)(_internals.columnsStateInitializer, apiRef, props);
|
|
51
51
|
(0, _internals.useGridInitializeState)(_internals.rowPinningStateInitializer, apiRef, props);
|
|
52
|
+
(0, _internals.useGridInitializeState)(_internals.paginationStateInitializer, apiRef, props);
|
|
52
53
|
(0, _internals.useGridInitializeState)(_internals.rowsStateInitializer, apiRef, props);
|
|
53
54
|
(0, _internals.useGridInitializeState)(_internals.editingStateInitializer, apiRef, props);
|
|
54
55
|
(0, _internals.useGridInitializeState)(_internals.focusStateInitializer, apiRef, props);
|
|
@@ -59,7 +60,6 @@ const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
59
60
|
(0, _internals.useGridInitializeState)(_internals.densityStateInitializer, apiRef, props);
|
|
60
61
|
(0, _internals.useGridInitializeState)(_internals.columnReorderStateInitializer, apiRef, props);
|
|
61
62
|
(0, _internals.useGridInitializeState)(_internals.columnResizeStateInitializer, apiRef, props);
|
|
62
|
-
(0, _internals.useGridInitializeState)(_internals.paginationStateInitializer, apiRef, props);
|
|
63
63
|
(0, _internals.useGridInitializeState)(_internals.rowsMetaStateInitializer, apiRef, props);
|
|
64
64
|
(0, _internals.useGridInitializeState)(_internals.columnMenuStateInitializer, apiRef, props);
|
|
65
65
|
(0, _internals.useGridInitializeState)(_internals.columnGroupsStateInitializer, apiRef, props);
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { useLicenseVerifier, Watermark } from '@mui/x-license';
|
|
7
|
-
import {
|
|
7
|
+
import { GridRoot, GridContextProvider } from '@mui/x-data-grid-pro';
|
|
8
8
|
import { propValidatorsDataGrid, propValidatorsDataGridPro, validateProps } from '@mui/x-data-grid-pro/internals';
|
|
9
9
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
10
10
|
import { useDataGridPremiumComponent } from "./useDataGridPremiumComponent.js";
|
|
@@ -12,7 +12,7 @@ import { useDataGridPremiumProps } from "./useDataGridPremiumProps.js";
|
|
|
12
12
|
import { getReleaseInfo } from "../utils/releaseInfo.js";
|
|
13
13
|
import { useGridAriaAttributes } from "../hooks/utils/useGridAriaAttributes.js";
|
|
14
14
|
import { useGridRowAriaAttributes } from "../hooks/features/rows/useGridRowAriaAttributes.js";
|
|
15
|
-
import { jsx as _jsx
|
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
16
|
const configuration = {
|
|
17
17
|
hooks: {
|
|
18
18
|
useGridAriaAttributes,
|
|
@@ -35,18 +35,16 @@ const DataGridPremiumRaw = forwardRef(function DataGridPremium(inProps, ref) {
|
|
|
35
35
|
privateApiRef: privateApiRef,
|
|
36
36
|
configuration: configuration,
|
|
37
37
|
props: props,
|
|
38
|
-
children: /*#__PURE__*/
|
|
38
|
+
children: /*#__PURE__*/_jsx(GridRoot, _extends({
|
|
39
39
|
className: props.className,
|
|
40
40
|
style: props.style,
|
|
41
41
|
sx: props.sx
|
|
42
42
|
}, props.forwardedProps, props.slotProps?.root, {
|
|
43
43
|
ref: ref,
|
|
44
|
-
children:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
})
|
|
49
|
-
}), /*#__PURE__*/_jsx(GridFooterPlaceholder, {})]
|
|
44
|
+
children: /*#__PURE__*/_jsx(Watermark, {
|
|
45
|
+
packageName: "x-data-grid-premium",
|
|
46
|
+
releaseInfo: releaseInfo
|
|
47
|
+
})
|
|
50
48
|
}))
|
|
51
49
|
});
|
|
52
50
|
});
|
|
@@ -42,6 +42,7 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
42
42
|
useGridInitializeState(columnPinningStateInitializer, apiRef, props);
|
|
43
43
|
useGridInitializeState(columnsStateInitializer, apiRef, props);
|
|
44
44
|
useGridInitializeState(rowPinningStateInitializer, apiRef, props);
|
|
45
|
+
useGridInitializeState(paginationStateInitializer, apiRef, props);
|
|
45
46
|
useGridInitializeState(rowsStateInitializer, apiRef, props);
|
|
46
47
|
useGridInitializeState(editingStateInitializer, apiRef, props);
|
|
47
48
|
useGridInitializeState(focusStateInitializer, apiRef, props);
|
|
@@ -52,7 +53,6 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
52
53
|
useGridInitializeState(densityStateInitializer, apiRef, props);
|
|
53
54
|
useGridInitializeState(columnReorderStateInitializer, apiRef, props);
|
|
54
55
|
useGridInitializeState(columnResizeStateInitializer, apiRef, props);
|
|
55
|
-
useGridInitializeState(paginationStateInitializer, apiRef, props);
|
|
56
56
|
useGridInitializeState(rowsMetaStateInitializer, apiRef, props);
|
|
57
57
|
useGridInitializeState(columnMenuStateInitializer, apiRef, props);
|
|
58
58
|
useGridInitializeState(columnGroupsStateInitializer, apiRef, props);
|
|
@@ -16,10 +16,10 @@ const AUTO_SCROLL_SPEED = 20; // The speed to scroll once the mouse enters the s
|
|
|
16
16
|
export const useGridCellSelection = (apiRef, props) => {
|
|
17
17
|
const hasRootReference = apiRef.current.rootElementRef.current !== null;
|
|
18
18
|
const visibleRows = useGridVisibleRows(apiRef, props);
|
|
19
|
-
const cellWithVirtualFocus = React.useRef();
|
|
20
|
-
const lastMouseDownCell = React.useRef();
|
|
19
|
+
const cellWithVirtualFocus = React.useRef(null);
|
|
20
|
+
const lastMouseDownCell = React.useRef(null);
|
|
21
21
|
const mousePosition = React.useRef(null);
|
|
22
|
-
const autoScrollRAF = React.useRef();
|
|
22
|
+
const autoScrollRAF = React.useRef(null);
|
|
23
23
|
const sortedRowIds = useGridSelector(apiRef, gridSortedRowIdsSelector);
|
|
24
24
|
const dimensions = useGridSelector(apiRef, gridDimensionsSelector);
|
|
25
25
|
const totalHeaderHeight = getTotalHeaderHeight(apiRef, props);
|
package/esm/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 = "MTczNzA2ODQwMDAwMA==";
|
|
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
|
|
@@ -3,7 +3,7 @@ import { GridApiPremium } from '../../../models/gridApiPremium';
|
|
|
3
3
|
import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
|
|
4
4
|
import { GridAggregationFunction, GridAggregationLookup } from './gridAggregationInterfaces';
|
|
5
5
|
export declare const createAggregationLookup: ({ apiRef, aggregationFunctions, aggregationRowsScope, getAggregationPosition, }: {
|
|
6
|
-
apiRef: React.
|
|
6
|
+
apiRef: React.RefObject<GridApiPremium>;
|
|
7
7
|
aggregationFunctions: Record<string, GridAggregationFunction>;
|
|
8
8
|
aggregationRowsScope: DataGridPremiumProcessedProps["aggregationRowsScope"];
|
|
9
9
|
getAggregationPosition: DataGridPremiumProcessedProps["getAggregationPosition"];
|
|
@@ -29,7 +29,7 @@ interface AddFooterRowsParams {
|
|
|
29
29
|
* If `true`, there are some aggregation rules to apply
|
|
30
30
|
*/
|
|
31
31
|
hasAggregationRule: boolean;
|
|
32
|
-
apiRef: React.
|
|
32
|
+
apiRef: React.RefObject<GridPrivateApiPremium>;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Add a footer for each group that has at least one column with an aggregated value.
|
|
@@ -40,7 +40,7 @@ export declare const addFooterRows: ({ groupingParams, apiRef, getAggregationPos
|
|
|
40
40
|
*/
|
|
41
41
|
export declare const areAggregationRulesEqual: (previousValue: GridAggregationRules | undefined, newValue: GridAggregationRules) => boolean;
|
|
42
42
|
export declare const getAggregationFunctionLabel: ({ apiRef, aggregationRule, }: {
|
|
43
|
-
apiRef: React.
|
|
43
|
+
apiRef: React.RefObject<GridApiPremium>;
|
|
44
44
|
aggregationRule: GridAggregationRule;
|
|
45
45
|
}) => string;
|
|
46
46
|
export {};
|
|
@@ -3,4 +3,4 @@ import { GridStateInitializer } from '@mui/x-data-grid-pro/internals';
|
|
|
3
3
|
import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
|
|
4
4
|
import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
|
|
5
5
|
export declare const aggregationStateInitializer: GridStateInitializer<Pick<DataGridPremiumProcessedProps, 'aggregationModel' | 'initialState'>, GridPrivateApiPremium>;
|
|
6
|
-
export declare const useGridAggregation: (apiRef: React.
|
|
6
|
+
export declare const useGridAggregation: (apiRef: React.RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "onAggregationModelChange" | "initialState" | "aggregationModel" | "getAggregationPosition" | "aggregationFunctions" | "aggregationRowsScope" | "disableAggregation" | "rowGroupingColumnMode">) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
|
|
3
3
|
import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
|
|
4
|
-
export declare const useGridAggregationPreProcessors: (apiRef: React.
|
|
4
|
+
export declare const useGridAggregationPreProcessors: (apiRef: React.RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "aggregationFunctions" | "disableAggregation" | "getAggregationPosition" | "slotProps" | "slots">) => void;
|
|
@@ -17,7 +17,7 @@ interface GridColDefWithAggregationWrappers extends GridBaseColDef {
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const wrapColumnWithAggregationValue: ({ column, apiRef, aggregationRule, }: {
|
|
19
19
|
column: GridBaseColDef;
|
|
20
|
-
apiRef: React.
|
|
20
|
+
apiRef: React.RefObject<GridApiPremium>;
|
|
21
21
|
aggregationRule: GridAggregationRule;
|
|
22
22
|
}) => GridBaseColDef;
|
|
23
23
|
/**
|
|
@@ -13,13 +13,13 @@ export interface GridCellSelectionApi {
|
|
|
13
13
|
isCellSelected: (id: GridRowId, field: GridColDef['field']) => boolean;
|
|
14
14
|
/**
|
|
15
15
|
* Returns an object containing the selection state of the cells.
|
|
16
|
-
* The keys of the object
|
|
17
|
-
* The value of each key is
|
|
16
|
+
* The keys of the object correspond to the row IDs.
|
|
17
|
+
* The value of each key is also an object, which has a column field for a key and a boolean value for its selection state.
|
|
18
18
|
* @returns {GridCellSelectionModel} Object containing the selection state of the cells
|
|
19
19
|
*/
|
|
20
20
|
getCellSelectionModel: () => GridCellSelectionModel;
|
|
21
21
|
/**
|
|
22
|
-
* Updates the
|
|
22
|
+
* Updates the cell selection model according to the value passed to the `newModel` argument.
|
|
23
23
|
* Any cell already selected will be unselected.
|
|
24
24
|
* @param {GridCellSelectionModel} newModel The cells to select.
|
|
25
25
|
*/
|
|
@@ -3,4 +3,4 @@ import { GridStateInitializer } from '@mui/x-data-grid-pro/internals';
|
|
|
3
3
|
import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
|
|
4
4
|
import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
|
|
5
5
|
export declare const cellSelectionStateInitializer: GridStateInitializer<Pick<DataGridPremiumProcessedProps, 'cellSelectionModel' | 'initialState'>>;
|
|
6
|
-
export declare const useGridCellSelection: (apiRef: React.
|
|
6
|
+
export declare const useGridCellSelection: (apiRef: React.RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "cellSelection" | "cellSelectionModel" | "onCellSelectionModelChange" | "pagination" | "paginationMode" | "ignoreValueFormatterDuringExport" | "clipboardCopyCellDelimiter" | "columnHeaderHeight">) => void;
|
|
@@ -25,10 +25,10 @@ const AUTO_SCROLL_SPEED = 20; // The speed to scroll once the mouse enters the s
|
|
|
25
25
|
const useGridCellSelection = (apiRef, props) => {
|
|
26
26
|
const hasRootReference = apiRef.current.rootElementRef.current !== null;
|
|
27
27
|
const visibleRows = (0, _internals.useGridVisibleRows)(apiRef, props);
|
|
28
|
-
const cellWithVirtualFocus = React.useRef();
|
|
29
|
-
const lastMouseDownCell = React.useRef();
|
|
28
|
+
const cellWithVirtualFocus = React.useRef(null);
|
|
29
|
+
const lastMouseDownCell = React.useRef(null);
|
|
30
30
|
const mousePosition = React.useRef(null);
|
|
31
|
-
const autoScrollRAF = React.useRef();
|
|
31
|
+
const autoScrollRAF = React.useRef(null);
|
|
32
32
|
const sortedRowIds = (0, _xDataGridPro.useGridSelector)(apiRef, _xDataGridPro.gridSortedRowIdsSelector);
|
|
33
33
|
const dimensions = (0, _xDataGridPro.useGridSelector)(apiRef, _xDataGridPro.gridDimensionsSelector);
|
|
34
34
|
const totalHeaderHeight = (0, _internals.getTotalHeaderHeight)(apiRef, props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
|
|
3
3
|
import type { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
|
|
4
|
-
export declare const useGridClipboardImport: (apiRef: React.
|
|
4
|
+
export declare const useGridClipboardImport: (apiRef: React.RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "pagination" | "paginationMode" | "processRowUpdate" | "onProcessRowUpdateError" | "getRowId" | "onClipboardPasteStart" | "onClipboardPasteEnd" | "splitClipboardPastedText" | "disableClipboardPaste" | "onBeforeClipboardPasteStart">) => void;
|
|
@@ -18,7 +18,7 @@ interface SerializedRow {
|
|
|
18
18
|
* actual rendered columns.
|
|
19
19
|
* The caller of this function MUST call `resetColSpan()` before and after usage.
|
|
20
20
|
*/
|
|
21
|
-
export declare const serializeRowUnsafe: (id: GridRowId, columns: GridStateColDef[], apiRef: React.
|
|
21
|
+
export declare const serializeRowUnsafe: (id: GridRowId, columns: GridStateColDef[], apiRef: React.RefObject<GridPrivateApiPremium>, defaultValueOptionsFormulae: {
|
|
22
22
|
[field: string]: {
|
|
23
23
|
address: string;
|
|
24
24
|
};
|
|
@@ -53,7 +53,7 @@ interface BuildExcelOptions extends Pick<GridExcelExportOptions, 'exceljsPreProc
|
|
|
53
53
|
rowIds: GridRowId[];
|
|
54
54
|
columnsStyles?: ColumnsStylesInterface;
|
|
55
55
|
}
|
|
56
|
-
export declare function buildExcel(options: BuildExcelOptions, apiRef: React.
|
|
56
|
+
export declare function buildExcel(options: BuildExcelOptions, apiRef: React.RefObject<GridPrivateApiPremium>): Promise<Excel.Workbook>;
|
|
57
57
|
export interface ExcelExportInitEvent {
|
|
58
58
|
serializedColumns: SerializedColumns;
|
|
59
59
|
serializedRows: SerializedRow[];
|
|
@@ -8,4 +8,4 @@ import { DataGridPremiumProps } from '../../../models/dataGridPremiumProps';
|
|
|
8
8
|
* @requires useGridSelection (state)
|
|
9
9
|
* @requires useGridParamsApi (method)
|
|
10
10
|
*/
|
|
11
|
-
export declare const useGridExcelExport: (apiRef: React.
|
|
11
|
+
export declare const useGridExcelExport: (apiRef: React.RefObject<GridPrivateApiPremium>, props: DataGridPremiumProps) => void;
|
|
@@ -25,7 +25,7 @@ interface CreateGroupingColDefMonoCriteriaParams {
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const createGroupingColDefForOneGroupingCriteria: ({ columnsLookup, groupedByColDef, groupingCriteria, colDefOverride, strategy, }: CreateGroupingColDefMonoCriteriaParams) => GridColDef;
|
|
27
27
|
interface CreateGroupingColDefSeveralCriteriaParams {
|
|
28
|
-
apiRef: React.
|
|
28
|
+
apiRef: React.RefObject<GridApiPremium>;
|
|
29
29
|
columnsLookup: GridColumnRawLookup;
|
|
30
30
|
/**
|
|
31
31
|
* The fields from which we are grouping the rows.
|
|
@@ -15,7 +15,7 @@ interface FilterRowTreeFromTreeDataParams {
|
|
|
15
15
|
rowTree: GridRowTreeConfig;
|
|
16
16
|
isRowMatchingFilters: GridAggregatedFilterItemApplier | null;
|
|
17
17
|
filterModel: GridFilterModel;
|
|
18
|
-
apiRef: React.
|
|
18
|
+
apiRef: React.RefObject<GridPrivateApiPremium>;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* A leaf is visible if it passed the filter
|
|
@@ -26,12 +26,12 @@ interface FilterRowTreeFromTreeDataParams {
|
|
|
26
26
|
export declare const filterRowTreeFromGroupingColumns: (params: FilterRowTreeFromTreeDataParams) => Omit<GridFilterState, "filterModel">;
|
|
27
27
|
export declare const getColDefOverrides: (groupingColDefProp: DataGridPremiumProcessedProps["groupingColDef"], fields: string[], strategy?: RowGroupingStrategy) => import("@mui/x-data-grid-pro").GridGroupingColDefOverride<any> | null | undefined;
|
|
28
28
|
export declare const mergeStateWithRowGroupingModel: (rowGroupingModel: GridRowGroupingModel) => (state: GridStatePremium) => GridStatePremium;
|
|
29
|
-
export declare const setStrategyAvailability: (privateApiRef: React.
|
|
29
|
+
export declare const setStrategyAvailability: (privateApiRef: React.RefObject<GridPrivateApiPremium>, disableRowGrouping: boolean, dataSource?: GridDataSource) => void;
|
|
30
30
|
export declare const getCellGroupingCriteria: ({ row, colDef, groupingRule, apiRef, }: {
|
|
31
31
|
row: GridRowModel;
|
|
32
32
|
colDef: GridColDef;
|
|
33
33
|
groupingRule: GridGroupingRule;
|
|
34
|
-
apiRef: React.
|
|
34
|
+
apiRef: React.RefObject<GridPrivateApiPremium>;
|
|
35
35
|
}) => {
|
|
36
36
|
key: GridKeyValue | null | undefined;
|
|
37
37
|
field: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
|
|
3
3
|
import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
|
|
4
|
-
export declare const useGridDataSourceRowGroupingPreProcessors: (apiRef: React.
|
|
4
|
+
export declare const useGridDataSourceRowGroupingPreProcessors: (apiRef: React.RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "disableRowGrouping" | "groupingColDef" | "rowGroupingColumnMode" | "defaultGroupingExpansionDepth" | "isGroupExpandedByDefault" | "unstable_dataSource">) => void;
|
|
@@ -8,4 +8,4 @@ export declare const rowGroupingStateInitializer: GridStateInitializer<Pick<Data
|
|
|
8
8
|
* @requires useGridRows (state, method) - can be after, async only
|
|
9
9
|
* @requires useGridParamsApi (method) - can be after, async only
|
|
10
10
|
*/
|
|
11
|
-
export declare const useGridRowGrouping: (apiRef: React.
|
|
11
|
+
export declare const useGridRowGrouping: (apiRef: React.RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "initialState" | "rowGroupingModel" | "onRowGroupingModelChange" | "defaultGroupingExpansionDepth" | "isGroupExpandedByDefault" | "groupingColDef" | "rowGroupingColumnMode" | "disableRowGrouping" | "slotProps" | "slots" | "unstable_dataSource">) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
|
|
3
3
|
import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
|
|
4
|
-
export declare const useGridRowGroupingPreProcessors: (apiRef: React.
|
|
4
|
+
export declare const useGridRowGroupingPreProcessors: (apiRef: React.RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "disableRowGrouping" | "groupingColDef" | "rowGroupingColumnMode" | "defaultGroupingExpansionDepth" | "isGroupExpandedByDefault" | "unstable_dataSource">) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { GridApiPremium } from '../../models/gridApiPremium';
|
|
2
|
-
export declare const useGridApiContext: () => import("react").
|
|
2
|
+
export declare const useGridApiContext: () => import("react").RefObject<GridApiPremium>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { GridApiPremium } from '../../models/gridApiPremium';
|
|
2
|
-
export declare const useGridApiRef: () => import("react").
|
|
2
|
+
export declare const useGridApiRef: () => import("react").RefObject<GridApiPremium>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { GridPrivateApiPremium } from '../../models/gridApiPremium';
|
|
2
|
-
export declare const useGridPrivateApiContext: () => import("react").
|
|
2
|
+
export declare const useGridPrivateApiContext: () => import("react").RefObject<GridPrivateApiPremium>;
|
|
@@ -8,5 +8,5 @@ import { DataGridPremiumProps } from '../../models/dataGridPremiumProps';
|
|
|
8
8
|
* Does not work when used with the `hide` property of `GridColDef`
|
|
9
9
|
*/
|
|
10
10
|
export declare const useKeepGroupedColumnsHidden: (props: {
|
|
11
|
-
apiRef: React.
|
|
11
|
+
apiRef: React.RefObject<GridApi>;
|
|
12
12
|
} & Pick<DataGridPremiumProps, "initialState" | "rowGroupingModel">) => GridInitialStatePremium;
|
package/index.js
CHANGED
|
@@ -93,7 +93,7 @@ export interface DataGridPremiumPropsWithoutDefaultValue<R extends GridValidRowM
|
|
|
93
93
|
/**
|
|
94
94
|
* The ref object that allows grid manipulation. Can be instantiated with `useGridApiRef()`.
|
|
95
95
|
*/
|
|
96
|
-
apiRef?: React.
|
|
96
|
+
apiRef?: React.RefObject<GridApiPremium>;
|
|
97
97
|
/**
|
|
98
98
|
* The initial state of the DataGridPremium.
|
|
99
99
|
* The data in it is set in the state on initialization but isn't controlled.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { GridValidRowModel, GridColDef, GridKeyValue } from '@mui/x-data-grid-pro';
|
|
2
2
|
import { GridApiPremium } from './gridApiPremium';
|
|
3
|
-
export type GridGroupingValueGetter<R extends GridValidRowModel = GridValidRowModel, TValue = never> = (value: TValue, row: R, column: GridColDef<R>, apiRef: React.
|
|
3
|
+
export type GridGroupingValueGetter<R extends GridValidRowModel = GridValidRowModel, TValue = never> = (value: TValue, row: R, column: GridColDef<R>, apiRef: React.RefObject<GridApiPremium>) => GridKeyValue | null | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { GridColDef, GridValidRowModel } from '@mui/x-data-grid';
|
|
2
2
|
import { GridApiPremium } from './gridApiPremium';
|
|
3
|
-
export type GridPastedValueParser<R extends GridValidRowModel = GridValidRowModel, V = any, F = V> = (value: string, row: R, column: GridColDef<R, V, F>, apiRef: React.
|
|
3
|
+
export type GridPastedValueParser<R extends GridValidRowModel = GridValidRowModel, V = any, F = V> = (value: string, row: R, column: GridColDef<R, V, F>, apiRef: React.RefObject<GridApiPremium>) => V | undefined;
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { useLicenseVerifier, Watermark } from '@mui/x-license';
|
|
7
|
-
import {
|
|
7
|
+
import { GridRoot, GridContextProvider } from '@mui/x-data-grid-pro';
|
|
8
8
|
import { propValidatorsDataGrid, propValidatorsDataGridPro, validateProps } from '@mui/x-data-grid-pro/internals';
|
|
9
9
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
10
10
|
import { useDataGridPremiumComponent } from "./useDataGridPremiumComponent.js";
|
|
@@ -12,7 +12,7 @@ import { useDataGridPremiumProps } from "./useDataGridPremiumProps.js";
|
|
|
12
12
|
import { getReleaseInfo } from "../utils/releaseInfo.js";
|
|
13
13
|
import { useGridAriaAttributes } from "../hooks/utils/useGridAriaAttributes.js";
|
|
14
14
|
import { useGridRowAriaAttributes } from "../hooks/features/rows/useGridRowAriaAttributes.js";
|
|
15
|
-
import { jsx as _jsx
|
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
16
|
const configuration = {
|
|
17
17
|
hooks: {
|
|
18
18
|
useGridAriaAttributes,
|
|
@@ -35,18 +35,16 @@ const DataGridPremiumRaw = forwardRef(function DataGridPremium(inProps, ref) {
|
|
|
35
35
|
privateApiRef: privateApiRef,
|
|
36
36
|
configuration: configuration,
|
|
37
37
|
props: props,
|
|
38
|
-
children: /*#__PURE__*/
|
|
38
|
+
children: /*#__PURE__*/_jsx(GridRoot, _extends({
|
|
39
39
|
className: props.className,
|
|
40
40
|
style: props.style,
|
|
41
41
|
sx: props.sx
|
|
42
42
|
}, props.forwardedProps, props.slotProps?.root, {
|
|
43
43
|
ref: ref,
|
|
44
|
-
children:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
})
|
|
49
|
-
}), /*#__PURE__*/_jsx(GridFooterPlaceholder, {})]
|
|
44
|
+
children: /*#__PURE__*/_jsx(Watermark, {
|
|
45
|
+
packageName: "x-data-grid-premium",
|
|
46
|
+
releaseInfo: releaseInfo
|
|
47
|
+
})
|
|
50
48
|
}))
|
|
51
49
|
});
|
|
52
50
|
});
|
|
@@ -42,6 +42,7 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
42
42
|
useGridInitializeState(columnPinningStateInitializer, apiRef, props);
|
|
43
43
|
useGridInitializeState(columnsStateInitializer, apiRef, props);
|
|
44
44
|
useGridInitializeState(rowPinningStateInitializer, apiRef, props);
|
|
45
|
+
useGridInitializeState(paginationStateInitializer, apiRef, props);
|
|
45
46
|
useGridInitializeState(rowsStateInitializer, apiRef, props);
|
|
46
47
|
useGridInitializeState(editingStateInitializer, apiRef, props);
|
|
47
48
|
useGridInitializeState(focusStateInitializer, apiRef, props);
|
|
@@ -52,7 +53,6 @@ export const useDataGridPremiumComponent = (inputApiRef, props) => {
|
|
|
52
53
|
useGridInitializeState(densityStateInitializer, apiRef, props);
|
|
53
54
|
useGridInitializeState(columnReorderStateInitializer, apiRef, props);
|
|
54
55
|
useGridInitializeState(columnResizeStateInitializer, apiRef, props);
|
|
55
|
-
useGridInitializeState(paginationStateInitializer, apiRef, props);
|
|
56
56
|
useGridInitializeState(rowsMetaStateInitializer, apiRef, props);
|
|
57
57
|
useGridInitializeState(columnMenuStateInitializer, apiRef, props);
|
|
58
58
|
useGridInitializeState(columnGroupsStateInitializer, apiRef, props);
|
|
@@ -16,10 +16,10 @@ const AUTO_SCROLL_SPEED = 20; // The speed to scroll once the mouse enters the s
|
|
|
16
16
|
export const useGridCellSelection = (apiRef, props) => {
|
|
17
17
|
const hasRootReference = apiRef.current.rootElementRef.current !== null;
|
|
18
18
|
const visibleRows = useGridVisibleRows(apiRef, props);
|
|
19
|
-
const cellWithVirtualFocus = React.useRef();
|
|
20
|
-
const lastMouseDownCell = React.useRef();
|
|
19
|
+
const cellWithVirtualFocus = React.useRef(null);
|
|
20
|
+
const lastMouseDownCell = React.useRef(null);
|
|
21
21
|
const mousePosition = React.useRef(null);
|
|
22
|
-
const autoScrollRAF = React.useRef();
|
|
22
|
+
const autoScrollRAF = React.useRef(null);
|
|
23
23
|
const sortedRowIds = useGridSelector(apiRef, gridSortedRowIdsSelector);
|
|
24
24
|
const dimensions = useGridSelector(apiRef, gridDimensionsSelector);
|
|
25
25
|
const totalHeaderHeight = getTotalHeaderHeight(apiRef, props);
|
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 = "MTczNzA2ODQwMDAwMA==";
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.24.0",
|
|
4
4
|
"description": "The Premium plan edition of the Data Grid Components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"exceljs": "^4.4.0",
|
|
41
41
|
"prop-types": "^15.8.1",
|
|
42
42
|
"reselect": "^5.1.1",
|
|
43
|
-
"@mui/x-
|
|
44
|
-
"@mui/x-
|
|
45
|
-
"@mui/x-
|
|
46
|
-
"@mui/x-data-grid-pro": "7.
|
|
43
|
+
"@mui/x-license": "7.24.0",
|
|
44
|
+
"@mui/x-internals": "7.24.0",
|
|
45
|
+
"@mui/x-data-grid": "7.24.0",
|
|
46
|
+
"@mui/x-data-grid-pro": "7.24.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11.9.0",
|
package/utils/releaseInfo.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 = "MTczNzA2ODQwMDAwMA==";
|
|
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
|