@mui/x-data-grid-premium 6.0.2 → 6.0.4
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 +119 -5
- package/components/GridPremiumColumnMenu.d.ts +8 -8
- package/components/GridPremiumColumnMenu.js +7 -7
- package/components/reexports.d.ts +1 -1
- package/components/reexports.js +1 -1
- package/hooks/features/aggregation/useGridAggregationPreProcessors.js +1 -1
- package/hooks/features/aggregation/wrapColumnWithAggregation.js +2 -2
- package/hooks/features/rowGrouping/useGridRowGrouping.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +2 -2
- package/legacy/components/GridPremiumColumnMenu.js +7 -7
- package/legacy/components/reexports.js +1 -1
- package/legacy/hooks/features/aggregation/useGridAggregationPreProcessors.js +1 -1
- package/legacy/hooks/features/aggregation/wrapColumnWithAggregation.js +2 -2
- package/legacy/hooks/features/rowGrouping/useGridRowGrouping.js +1 -1
- package/legacy/index.js +2 -2
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/components/GridPremiumColumnMenu.js +7 -7
- package/modern/components/reexports.js +1 -1
- package/modern/hooks/features/aggregation/useGridAggregationPreProcessors.js +1 -1
- package/modern/hooks/features/aggregation/wrapColumnWithAggregation.js +1 -1
- package/modern/hooks/features/rowGrouping/useGridRowGrouping.js +1 -1
- package/modern/index.js +2 -2
- package/modern/utils/releaseInfo.js +1 -1
- package/node/components/GridPremiumColumnMenu.js +9 -9
- package/node/components/reexports.js +4 -4
- package/node/hooks/features/aggregation/useGridAggregationPreProcessors.js +1 -1
- package/node/hooks/features/aggregation/wrapColumnWithAggregation.js +1 -1
- package/node/hooks/features/rowGrouping/useGridRowGrouping.js +1 -1
- package/node/index.js +7 -7
- 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,121 @@
|
|
|
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.4
|
|
7
|
+
|
|
8
|
+
_Mar 30, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Add Danish (da-DK), and improve Norwegian (nb-NO), Spanish (es-ES), and Swedish (sv-SE) locales
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
- 📚 Documentation improvements
|
|
15
|
+
|
|
16
|
+
### `@mui/x-data-grid@v6.0.4` / `@mui/x-data-grid-pro@v6.0.4` / `@mui/x-data-grid-premium@v6.0.4`
|
|
17
|
+
|
|
18
|
+
#### Changes
|
|
19
|
+
|
|
20
|
+
- [DataGrid] Fix column header tooltip not showing when the title is truncated (#8433) @rohitnatesh
|
|
21
|
+
- [DataGrid] Fix filter model buttons' display condition (#8415) @MBilalShafi
|
|
22
|
+
- [DataGrid] Fix infinite rerender in a flex parent (#8436) @cherniavskii
|
|
23
|
+
- [DataGrid] Prevent reopening column menu when clicking in the button while it is open (#8286) @tanuj-22
|
|
24
|
+
- [DataGrid] Rename `components` by `slots` in column menu API (#7999) @MBilalShafi
|
|
25
|
+
- [DataGrid] Remove hardcoded CSS classes' usages (#8444) @MBilalShafi
|
|
26
|
+
- [DataGridPremium] Fix aggregation initial state causing issue with quick filter (#8441) @MBilalShafi
|
|
27
|
+
- [l10n] Improve Danish (da-DK) locale (#8368) @BossElijah
|
|
28
|
+
- [l10n] Improve Danish (da-DK) locale (#8378) @BossElijah
|
|
29
|
+
- [l10n] Improve Norwegian (nb-NO) locale (#8367) @BossElijah
|
|
30
|
+
- [l10n] Improve Norwegian (nb-NO) locale (#8409) @BossElijah
|
|
31
|
+
- [l10n] Improve Spanish (es-ES) locale (#8420) @martjanz
|
|
32
|
+
- [l10n] Improve Swedish (sv-SE) locale (#8381) @BossElijah
|
|
33
|
+
|
|
34
|
+
### `@mui/x-date-pickers@v6.0.4` / `@mui/x-date-pickers-pro@v6.0.4`
|
|
35
|
+
|
|
36
|
+
#### Changes
|
|
37
|
+
|
|
38
|
+
- [fields] Add missing tokens to `AdapterDateFnsJalali` (#8402) @flaviendelangle
|
|
39
|
+
- [fields] Clean the active date manager (#8370) @flaviendelangle
|
|
40
|
+
- [fields] Cleanup `useFieldState` (#8292) @flaviendelangle
|
|
41
|
+
- [fields] Only add RTL characters when needed (#8325) @flaviendelangle
|
|
42
|
+
- [pickers] Add support for single input fields in range pickers (#7927) @flaviendelangle
|
|
43
|
+
- [pickers] Allows non token characters in format (#8256) @alexfauquette
|
|
44
|
+
- [pickers] Avoid root imports and move public models to the models folder (#8337) @flaviendelangle
|
|
45
|
+
- [pickers] Update `view` when `views` or `openTo` changes (#8361) @LukasTy
|
|
46
|
+
- [l10n] Improve Norwegian (nb-NO) locale (#8382) @BossElijah
|
|
47
|
+
- [l10n] Add Danish (da-DK) locale (#8379) @BossElijah
|
|
48
|
+
- [l10n] Improve Swedish (sv-SE) locale (#8381) @BossElijah
|
|
49
|
+
|
|
50
|
+
### `@mui/x-codemod@v6.0.4`
|
|
51
|
+
|
|
52
|
+
#### Changes
|
|
53
|
+
|
|
54
|
+
- [codemod] Fix `remove-stabilized-experimentalFeatures` codemod (#8289) @alexfauquette
|
|
55
|
+
|
|
56
|
+
### Docs
|
|
57
|
+
|
|
58
|
+
- [docs] Fix `GridCellParams` signature in migration guide (#8427) @cherniavskii
|
|
59
|
+
- [docs] Fix "Custom field" demos responsive styles (#8408) @LukasTy
|
|
60
|
+
- [docs] Remove `label` from demos where it reduces clarity (#8416) @LukasTy
|
|
61
|
+
- [docs] Update slots' references in Data Grid migration guide (#8159) @MBilalShafi
|
|
62
|
+
|
|
63
|
+
### Core
|
|
64
|
+
|
|
65
|
+
- [charts] Work on typing (#8421) @flaviendelangle
|
|
66
|
+
|
|
67
|
+
## 6.0.3
|
|
68
|
+
|
|
69
|
+
_Mar 23, 2023_
|
|
70
|
+
|
|
71
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
72
|
+
|
|
73
|
+
- 🌍 Improve Bulgarian (bg-BG), Persian (fa-IR), Polish (pl-PL), and Dutch (nl-NL) locales
|
|
74
|
+
- 🐞 Bugfixes
|
|
75
|
+
- 📚 Documentation improvements
|
|
76
|
+
|
|
77
|
+
### `@mui/x-data-grid@v6.0.3` / `@mui/x-data-grid-pro@v6.0.3` / `@mui/x-data-grid-premium@v6.0.3`
|
|
78
|
+
|
|
79
|
+
#### Changes
|
|
80
|
+
|
|
81
|
+
- [DataGrid] Fix overflow calculation issue in column group headers (#8246) @MBilalShafi
|
|
82
|
+
- [DataGridPro] Fix column reorder glitches (#8335) @cherniavskii
|
|
83
|
+
- [l10n] Improve Bulgarian (bg-BG) locale (#8315) @todevmilen
|
|
84
|
+
- [l10n] Improve Persian (fa-IR) locale (#8268) @fakhamatia
|
|
85
|
+
- [l10n] improve Dutch (nl-NL) locale (#8317) @developenguin
|
|
86
|
+
|
|
87
|
+
### `@mui/x-date-pickers@v6.0.3` / `@mui/x-date-pickers-pro@v6.0.3`
|
|
88
|
+
|
|
89
|
+
#### Changes
|
|
90
|
+
|
|
91
|
+
- [fields] Allow to reset the value from the outside (#8287) @flaviendelangle
|
|
92
|
+
- [fields] Cleanup section order generation (#8290) @flaviendelangle
|
|
93
|
+
- [fields] Fix Safari input selection resetting regression (#8295) @LukasTy
|
|
94
|
+
- [fields] Fix editing when all sections are selected (#8330) @flaviendelangle
|
|
95
|
+
- [fields] Fix iOS browser scroll jumping when entering data (#8328) @LukasTy
|
|
96
|
+
- [fields] New prop `unstableFieldRef` to imperatively interact with the selected sections (#8235) @flaviendelangle
|
|
97
|
+
- [pickers] Align date calendar colors (#8318) @LukasTy
|
|
98
|
+
- [pickers] Support invalid dates from the field (#8298) @flaviendelangle
|
|
99
|
+
- [l10n] Improve Persian (fa-IR) locale (#8268) @fakhamatia
|
|
100
|
+
- [l10n] Improve Polish (pl-PL) locale (#8344) @drmats
|
|
101
|
+
- [l10n] improve Dutch (nl-NL) locale (#8317) @developenguin
|
|
102
|
+
|
|
103
|
+
### Docs
|
|
104
|
+
|
|
105
|
+
- [docs] Create examples of pickers with custom fields (#8034) @flaviendelangle
|
|
106
|
+
- [docs] Fix 301 redirections @oliviertassinari
|
|
107
|
+
- [docs] Fix link to React's docs @oliviertassinari
|
|
108
|
+
- [docs] Fix pro license links to point to the same page (#8303) @LukasTy
|
|
109
|
+
- [docs] Give an incentive to upgrade (#8269) @oliviertassinari
|
|
110
|
+
- [docs] Improve contrast on data grid navigation (#8239) @oliviertassinari
|
|
111
|
+
- [docs] Update shortcuts page to use slotProps (#8288) @dcorb
|
|
112
|
+
- [docs] Explain the `shouldDisableTime` migration in more depth (#8348) @LukasTy
|
|
113
|
+
|
|
114
|
+
### Core
|
|
115
|
+
|
|
116
|
+
- [core] Remove unused `visx` chart package (#8259) @LukasTy
|
|
117
|
+
- [core] Upgrade monorepo (#8331) @cherniavskii
|
|
118
|
+
- [charts] Project setup (#8308) @alexfauquette
|
|
119
|
+
- [test] Track visual regressions of column menu and filter/column panels (#8095) @cherniavskii
|
|
120
|
+
|
|
6
121
|
## 6.0.2
|
|
7
122
|
|
|
8
123
|
_Mar 16, 2023_
|
|
@@ -98,11 +213,9 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
|
|
|
98
213
|
|
|
99
214
|
_Mar 3, 2023_
|
|
100
215
|
|
|
101
|
-
We're
|
|
216
|
+
We're excited to [announce the first v6 stable release](https://mui.com/blog/mui-x-v6/)! 🎉🚀
|
|
102
217
|
|
|
103
218
|
This is now the officially supported major version, where we'll keep rolling out new features, bug fixes, and improvements.
|
|
104
|
-
Head over to the [what's new](https://mui.com/x/whats-new/) page to check the highlighted new features.
|
|
105
|
-
|
|
106
219
|
Migration guides are available with a complete list of the breaking changes:
|
|
107
220
|
|
|
108
221
|
- [Data Grid](https://mui.com/x/migration/migration-data-grid-v5/)
|
|
@@ -119,6 +232,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
119
232
|
- experimentalFeatures={{ rowPinning: true }}
|
|
120
233
|
/>
|
|
121
234
|
```
|
|
235
|
+
|
|
122
236
|
- ⚡️ Improved grid performance by rows and cells memoization (#7846) @m4theushw
|
|
123
237
|
- ✨ Fields have a distinct visual state when empty (#8069) @LukasTy
|
|
124
238
|
- 🌍 Improve Czech (cs-CZ) locale (#8113) @BlastyCZ
|
|
@@ -556,14 +670,14 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
556
670
|
```
|
|
557
671
|
|
|
558
672
|
- The `error` and `onError` props were removed - the grid no longer catches errors during rendering.
|
|
559
|
-
To catch errors that happen during rendering use the [error boundary](https://
|
|
673
|
+
To catch errors that happen during rendering use the [error boundary](https://react.dev/reference/react/Component#catching-rendering-errors-with-an-error-boundary).
|
|
560
674
|
|
|
561
675
|
- The `components.ErrorOverlay` slot was removed.
|
|
562
676
|
|
|
563
677
|
- The `GridErrorOverlay` component was removed.
|
|
564
678
|
|
|
565
679
|
- The `componentError` event was removed.
|
|
566
|
-
Use the [error boundary](https://
|
|
680
|
+
Use the [error boundary](https://react.dev/reference/react/Component#catching-rendering-errors-with-an-error-boundary) to catch errors thrown during rendering.
|
|
567
681
|
|
|
568
682
|
- The `apiRef.current.showError` method was removed.
|
|
569
683
|
The UI for errors is no longer handled by the grid.
|
|
@@ -2,15 +2,15 @@ import * as React from 'react';
|
|
|
2
2
|
import { GridColumnMenuProps, GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
3
3
|
import { GridColumnMenuAggregationItem } from './GridColumnMenuAggregationItem';
|
|
4
4
|
export declare function GridColumnMenuGroupingItem(props: GridColumnMenuItemProps): JSX.Element | null;
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
export declare const GRID_COLUMN_MENU_SLOTS_PREMIUM: {
|
|
6
|
+
columnMenuAggregationItem: typeof GridColumnMenuAggregationItem;
|
|
7
|
+
columnMenuGroupingItem: typeof GridColumnMenuGroupingItem;
|
|
8
|
+
columnMenuPinningItem: typeof import("@mui/x-data-grid-pro/components/GridColumnMenuPinningItem").GridColumnMenuPinningItem;
|
|
9
|
+
columnMenuSortItem: typeof import("@mui/x-data-grid/components/menu/columnMenu/menuItems/GridColumnMenuSortItem").GridColumnMenuSortItem;
|
|
10
|
+
columnMenuFilterItem: typeof import("@mui/x-data-grid/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem").GridColumnMenuFilterItem;
|
|
11
|
+
columnMenuColumnsItem: typeof import("@mui/x-data-grid/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem").GridColumnMenuColumnsItem;
|
|
12
12
|
};
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM: {
|
|
14
14
|
columnMenuAggregationItem: {
|
|
15
15
|
displayOrder: number;
|
|
16
16
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { GridGenericColumnMenu,
|
|
4
|
+
import { GridGenericColumnMenu, GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS } from '@mui/x-data-grid-pro';
|
|
5
5
|
import { GridColumnMenuAggregationItem } from './GridColumnMenuAggregationItem';
|
|
6
6
|
import { isGroupingColumn } from '../hooks/features/rowGrouping';
|
|
7
7
|
import { GridColumnMenuRowGroupItem } from './GridColumnMenuRowGroupItem';
|
|
@@ -19,11 +19,11 @@ export function GridColumnMenuGroupingItem(props) {
|
|
|
19
19
|
}
|
|
20
20
|
return null;
|
|
21
21
|
}
|
|
22
|
-
export const
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
export const GRID_COLUMN_MENU_SLOTS_PREMIUM = _extends({}, GRID_COLUMN_MENU_SLOTS, {
|
|
23
|
+
columnMenuAggregationItem: GridColumnMenuAggregationItem,
|
|
24
|
+
columnMenuGroupingItem: GridColumnMenuGroupingItem
|
|
25
25
|
});
|
|
26
|
-
export const
|
|
26
|
+
export const GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM = _extends({}, GRID_COLUMN_MENU_SLOT_PROPS, {
|
|
27
27
|
columnMenuAggregationItem: {
|
|
28
28
|
displayOrder: 23
|
|
29
29
|
},
|
|
@@ -35,8 +35,8 @@ const GridPremiumColumnMenu = /*#__PURE__*/React.forwardRef(function GridPremium
|
|
|
35
35
|
return /*#__PURE__*/_jsx(GridGenericColumnMenu, _extends({
|
|
36
36
|
ref: ref
|
|
37
37
|
}, props, {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
defaultSlots: GRID_COLUMN_MENU_SLOTS_PREMIUM,
|
|
39
|
+
defaultSlotProps: GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM
|
|
40
40
|
}));
|
|
41
41
|
});
|
|
42
42
|
process.env.NODE_ENV !== "production" ? GridPremiumColumnMenu.propTypes = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { GridPremiumColumnMenu as GridColumnMenu,
|
|
1
|
+
export { GridPremiumColumnMenu as GridColumnMenu, GRID_COLUMN_MENU_SLOTS_PREMIUM as GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM as GRID_COLUMN_MENU_SLOT_PROPS, } from './GridPremiumColumnMenu';
|
package/components/reexports.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { GridPremiumColumnMenu as GridColumnMenu,
|
|
1
|
+
export { GridPremiumColumnMenu as GridColumnMenu, GRID_COLUMN_MENU_SLOTS_PREMIUM as GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM as GRID_COLUMN_MENU_SLOT_PROPS } from './GridPremiumColumnMenu';
|
|
@@ -68,7 +68,7 @@ export const useGridAggregationPreProcessors = (apiRef, props) => {
|
|
|
68
68
|
if (availableAggregationFunctions.length === 0) {
|
|
69
69
|
return columnMenuItems;
|
|
70
70
|
}
|
|
71
|
-
return [...columnMenuItems, '
|
|
71
|
+
return [...columnMenuItems, 'columnMenuAggregationItem'];
|
|
72
72
|
}, [props.aggregationFunctions, props.disableAggregation]);
|
|
73
73
|
const stateExportPreProcessing = React.useCallback(prevState => {
|
|
74
74
|
if (props.disableAggregation) {
|
|
@@ -132,7 +132,7 @@ export const wrapColumnWithAggregationValue = ({
|
|
|
132
132
|
aggregationRule
|
|
133
133
|
}) => {
|
|
134
134
|
const getCellAggregationResult = (id, field) => {
|
|
135
|
-
var _rowNode$parent, _gridAggregationLooku;
|
|
135
|
+
var _rowNode$parent, _gridAggregationLooku, _gridAggregationLooku2;
|
|
136
136
|
let cellAggregationPosition = null;
|
|
137
137
|
const rowNode = apiRef.current.getRowNode(id);
|
|
138
138
|
if (rowNode.type === 'group') {
|
|
@@ -146,7 +146,7 @@ export const wrapColumnWithAggregationValue = ({
|
|
|
146
146
|
|
|
147
147
|
// TODO: Add custom root id
|
|
148
148
|
const groupId = cellAggregationPosition === 'inline' ? id : (_rowNode$parent = rowNode.parent) != null ? _rowNode$parent : '';
|
|
149
|
-
const aggregationResult = (_gridAggregationLooku = gridAggregationLookupSelector(apiRef)[groupId]) == null ? void 0 :
|
|
149
|
+
const aggregationResult = (_gridAggregationLooku = gridAggregationLookupSelector(apiRef)) == null ? void 0 : (_gridAggregationLooku2 = _gridAggregationLooku[groupId]) == null ? void 0 : _gridAggregationLooku2[field];
|
|
150
150
|
if (!aggregationResult || aggregationResult.position !== cellAggregationPosition) {
|
|
151
151
|
return null;
|
|
152
152
|
}
|
|
@@ -84,7 +84,7 @@ export const useGridRowGrouping = (apiRef, props) => {
|
|
|
84
84
|
return columnMenuItems;
|
|
85
85
|
}
|
|
86
86
|
if (isGroupingColumn(colDef.field) || colDef.groupable) {
|
|
87
|
-
return [...columnMenuItems, '
|
|
87
|
+
return [...columnMenuItems, 'columnMenuGroupingItem'];
|
|
88
88
|
}
|
|
89
89
|
return columnMenuItems;
|
|
90
90
|
}, [props.disableRowGrouping]);
|
package/index.d.ts
CHANGED
|
@@ -20,4 +20,4 @@ export { GridColumnHeaders } from '@mui/x-data-grid-pro';
|
|
|
20
20
|
export type { DataGridPremiumProps, GridExperimentalPremiumFeatures, } from './models/dataGridPremiumProps';
|
|
21
21
|
export { useGridApiContext, useGridApiRef, useGridRootProps } from './typeOverloads/reexports';
|
|
22
22
|
export type { GridApi, GridInitialState, GridState } from './typeOverloads/reexports';
|
|
23
|
-
export { GridColumnMenu,
|
|
23
|
+
export { GridColumnMenu, GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS, } from './components/reexports';
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/x-data-grid-premium v6.0.
|
|
2
|
+
* @mui/x-data-grid-premium v6.0.4
|
|
3
3
|
*
|
|
4
4
|
* @license MUI X Commercial
|
|
5
5
|
* This source code is licensed under the commercial license found in the
|
|
@@ -25,4 +25,4 @@ export * from './models';
|
|
|
25
25
|
export * from './components';
|
|
26
26
|
export { GridColumnHeaders } from '@mui/x-data-grid-pro';
|
|
27
27
|
export { useGridApiContext, useGridApiRef, useGridRootProps } from './typeOverloads/reexports';
|
|
28
|
-
export { GridColumnMenu,
|
|
28
|
+
export { GridColumnMenu, GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS } from './components/reexports';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { GridGenericColumnMenu,
|
|
4
|
+
import { GridGenericColumnMenu, GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS } from '@mui/x-data-grid-pro';
|
|
5
5
|
import { GridColumnMenuAggregationItem } from './GridColumnMenuAggregationItem';
|
|
6
6
|
import { isGroupingColumn } from '../hooks/features/rowGrouping';
|
|
7
7
|
import { GridColumnMenuRowGroupItem } from './GridColumnMenuRowGroupItem';
|
|
@@ -17,11 +17,11 @@ export function GridColumnMenuGroupingItem(props) {
|
|
|
17
17
|
}
|
|
18
18
|
return null;
|
|
19
19
|
}
|
|
20
|
-
export var
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
export var GRID_COLUMN_MENU_SLOTS_PREMIUM = _extends({}, GRID_COLUMN_MENU_SLOTS, {
|
|
21
|
+
columnMenuAggregationItem: GridColumnMenuAggregationItem,
|
|
22
|
+
columnMenuGroupingItem: GridColumnMenuGroupingItem
|
|
23
23
|
});
|
|
24
|
-
export var
|
|
24
|
+
export var GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM = _extends({}, GRID_COLUMN_MENU_SLOT_PROPS, {
|
|
25
25
|
columnMenuAggregationItem: {
|
|
26
26
|
displayOrder: 23
|
|
27
27
|
},
|
|
@@ -33,8 +33,8 @@ var GridPremiumColumnMenu = /*#__PURE__*/React.forwardRef(function GridPremiumCo
|
|
|
33
33
|
return /*#__PURE__*/_jsx(GridGenericColumnMenu, _extends({
|
|
34
34
|
ref: ref
|
|
35
35
|
}, props, {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
defaultSlots: GRID_COLUMN_MENU_SLOTS_PREMIUM,
|
|
37
|
+
defaultSlotProps: GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM
|
|
38
38
|
}));
|
|
39
39
|
});
|
|
40
40
|
process.env.NODE_ENV !== "production" ? GridPremiumColumnMenu.propTypes = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { GridPremiumColumnMenu as GridColumnMenu,
|
|
1
|
+
export { GridPremiumColumnMenu as GridColumnMenu, GRID_COLUMN_MENU_SLOTS_PREMIUM as GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM as GRID_COLUMN_MENU_SLOT_PROPS } from './GridPremiumColumnMenu';
|
|
@@ -69,7 +69,7 @@ export var useGridAggregationPreProcessors = function useGridAggregationPreProce
|
|
|
69
69
|
if (availableAggregationFunctions.length === 0) {
|
|
70
70
|
return columnMenuItems;
|
|
71
71
|
}
|
|
72
|
-
return [].concat(_toConsumableArray(columnMenuItems), ['
|
|
72
|
+
return [].concat(_toConsumableArray(columnMenuItems), ['columnMenuAggregationItem']);
|
|
73
73
|
}, [props.aggregationFunctions, props.disableAggregation]);
|
|
74
74
|
var stateExportPreProcessing = React.useCallback(function (prevState) {
|
|
75
75
|
if (props.disableAggregation) {
|
|
@@ -129,7 +129,7 @@ export var wrapColumnWithAggregationValue = function wrapColumnWithAggregationVa
|
|
|
129
129
|
apiRef = _ref6.apiRef,
|
|
130
130
|
aggregationRule = _ref6.aggregationRule;
|
|
131
131
|
var getCellAggregationResult = function getCellAggregationResult(id, field) {
|
|
132
|
-
var _rowNode$parent, _gridAggregationLooku;
|
|
132
|
+
var _rowNode$parent, _gridAggregationLooku, _gridAggregationLooku2;
|
|
133
133
|
var cellAggregationPosition = null;
|
|
134
134
|
var rowNode = apiRef.current.getRowNode(id);
|
|
135
135
|
if (rowNode.type === 'group') {
|
|
@@ -143,7 +143,7 @@ export var wrapColumnWithAggregationValue = function wrapColumnWithAggregationVa
|
|
|
143
143
|
|
|
144
144
|
// TODO: Add custom root id
|
|
145
145
|
var groupId = cellAggregationPosition === 'inline' ? id : (_rowNode$parent = rowNode.parent) != null ? _rowNode$parent : '';
|
|
146
|
-
var aggregationResult = (_gridAggregationLooku = gridAggregationLookupSelector(apiRef)[groupId]) == null ? void 0 :
|
|
146
|
+
var aggregationResult = (_gridAggregationLooku = gridAggregationLookupSelector(apiRef)) == null ? void 0 : (_gridAggregationLooku2 = _gridAggregationLooku[groupId]) == null ? void 0 : _gridAggregationLooku2[field];
|
|
147
147
|
if (!aggregationResult || aggregationResult.position !== cellAggregationPosition) {
|
|
148
148
|
return null;
|
|
149
149
|
}
|
|
@@ -87,7 +87,7 @@ export var useGridRowGrouping = function useGridRowGrouping(apiRef, props) {
|
|
|
87
87
|
return columnMenuItems;
|
|
88
88
|
}
|
|
89
89
|
if (isGroupingColumn(colDef.field) || colDef.groupable) {
|
|
90
|
-
return [].concat(_toConsumableArray(columnMenuItems), ['
|
|
90
|
+
return [].concat(_toConsumableArray(columnMenuItems), ['columnMenuGroupingItem']);
|
|
91
91
|
}
|
|
92
92
|
return columnMenuItems;
|
|
93
93
|
}, [props.disableRowGrouping]);
|
package/legacy/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/x-data-grid-premium v6.0.
|
|
2
|
+
* @mui/x-data-grid-premium v6.0.4
|
|
3
3
|
*
|
|
4
4
|
* @license MUI X Commercial
|
|
5
5
|
* This source code is licensed under the commercial license found in the
|
|
@@ -25,4 +25,4 @@ export * from './models';
|
|
|
25
25
|
export * from './components';
|
|
26
26
|
export { GridColumnHeaders } from '@mui/x-data-grid-pro';
|
|
27
27
|
export { useGridApiContext, useGridApiRef, useGridRootProps } from './typeOverloads/reexports';
|
|
28
|
-
export { GridColumnMenu,
|
|
28
|
+
export { GridColumnMenu, GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS } from './components/reexports';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export var getReleaseInfo = function getReleaseInfo() {
|
|
3
|
-
var releaseInfo = "
|
|
3
|
+
var releaseInfo = "MTY4MDEyNzIwMDAwMA==";
|
|
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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { GridGenericColumnMenu,
|
|
4
|
+
import { GridGenericColumnMenu, GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS } from '@mui/x-data-grid-pro';
|
|
5
5
|
import { GridColumnMenuAggregationItem } from './GridColumnMenuAggregationItem';
|
|
6
6
|
import { isGroupingColumn } from '../hooks/features/rowGrouping';
|
|
7
7
|
import { GridColumnMenuRowGroupItem } from './GridColumnMenuRowGroupItem';
|
|
@@ -19,11 +19,11 @@ export function GridColumnMenuGroupingItem(props) {
|
|
|
19
19
|
}
|
|
20
20
|
return null;
|
|
21
21
|
}
|
|
22
|
-
export const
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
export const GRID_COLUMN_MENU_SLOTS_PREMIUM = _extends({}, GRID_COLUMN_MENU_SLOTS, {
|
|
23
|
+
columnMenuAggregationItem: GridColumnMenuAggregationItem,
|
|
24
|
+
columnMenuGroupingItem: GridColumnMenuGroupingItem
|
|
25
25
|
});
|
|
26
|
-
export const
|
|
26
|
+
export const GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM = _extends({}, GRID_COLUMN_MENU_SLOT_PROPS, {
|
|
27
27
|
columnMenuAggregationItem: {
|
|
28
28
|
displayOrder: 23
|
|
29
29
|
},
|
|
@@ -35,8 +35,8 @@ const GridPremiumColumnMenu = /*#__PURE__*/React.forwardRef(function GridPremium
|
|
|
35
35
|
return /*#__PURE__*/_jsx(GridGenericColumnMenu, _extends({
|
|
36
36
|
ref: ref
|
|
37
37
|
}, props, {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
defaultSlots: GRID_COLUMN_MENU_SLOTS_PREMIUM,
|
|
39
|
+
defaultSlotProps: GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM
|
|
40
40
|
}));
|
|
41
41
|
});
|
|
42
42
|
process.env.NODE_ENV !== "production" ? GridPremiumColumnMenu.propTypes = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { GridPremiumColumnMenu as GridColumnMenu,
|
|
1
|
+
export { GridPremiumColumnMenu as GridColumnMenu, GRID_COLUMN_MENU_SLOTS_PREMIUM as GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM as GRID_COLUMN_MENU_SLOT_PROPS } from './GridPremiumColumnMenu';
|
|
@@ -68,7 +68,7 @@ export const useGridAggregationPreProcessors = (apiRef, props) => {
|
|
|
68
68
|
if (availableAggregationFunctions.length === 0) {
|
|
69
69
|
return columnMenuItems;
|
|
70
70
|
}
|
|
71
|
-
return [...columnMenuItems, '
|
|
71
|
+
return [...columnMenuItems, 'columnMenuAggregationItem'];
|
|
72
72
|
}, [props.aggregationFunctions, props.disableAggregation]);
|
|
73
73
|
const stateExportPreProcessing = React.useCallback(prevState => {
|
|
74
74
|
if (props.disableAggregation) {
|
|
@@ -143,7 +143,7 @@ export const wrapColumnWithAggregationValue = ({
|
|
|
143
143
|
|
|
144
144
|
// TODO: Add custom root id
|
|
145
145
|
const groupId = cellAggregationPosition === 'inline' ? id : rowNode.parent ?? '';
|
|
146
|
-
const aggregationResult = gridAggregationLookupSelector(apiRef)[groupId]?.[field];
|
|
146
|
+
const aggregationResult = gridAggregationLookupSelector(apiRef)?.[groupId]?.[field];
|
|
147
147
|
if (!aggregationResult || aggregationResult.position !== cellAggregationPosition) {
|
|
148
148
|
return null;
|
|
149
149
|
}
|
|
@@ -82,7 +82,7 @@ export const useGridRowGrouping = (apiRef, props) => {
|
|
|
82
82
|
return columnMenuItems;
|
|
83
83
|
}
|
|
84
84
|
if (isGroupingColumn(colDef.field) || colDef.groupable) {
|
|
85
|
-
return [...columnMenuItems, '
|
|
85
|
+
return [...columnMenuItems, 'columnMenuGroupingItem'];
|
|
86
86
|
}
|
|
87
87
|
return columnMenuItems;
|
|
88
88
|
}, [props.disableRowGrouping]);
|
package/modern/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/x-data-grid-premium v6.0.
|
|
2
|
+
* @mui/x-data-grid-premium v6.0.4
|
|
3
3
|
*
|
|
4
4
|
* @license MUI X Commercial
|
|
5
5
|
* This source code is licensed under the commercial license found in the
|
|
@@ -25,4 +25,4 @@ export * from './models';
|
|
|
25
25
|
export * from './components';
|
|
26
26
|
export { GridColumnHeaders } from '@mui/x-data-grid-pro';
|
|
27
27
|
export { useGridApiContext, useGridApiRef, useGridRootProps } from './typeOverloads/reexports';
|
|
28
|
-
export { GridColumnMenu,
|
|
28
|
+
export { GridColumnMenu, GRID_COLUMN_MENU_SLOTS, GRID_COLUMN_MENU_SLOT_PROPS } from './components/reexports';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTY4MDEyNzIwMDAwMA==";
|
|
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
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.
|
|
7
|
+
exports.GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM = exports.GRID_COLUMN_MENU_SLOTS_PREMIUM = void 0;
|
|
8
8
|
exports.GridColumnMenuGroupingItem = GridColumnMenuGroupingItem;
|
|
9
9
|
exports.GridPremiumColumnMenu = void 0;
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
@@ -30,12 +30,12 @@ function GridColumnMenuGroupingItem(props) {
|
|
|
30
30
|
}
|
|
31
31
|
return null;
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
const GRID_COLUMN_MENU_SLOTS_PREMIUM = (0, _extends2.default)({}, _xDataGridPro.GRID_COLUMN_MENU_SLOTS, {
|
|
34
|
+
columnMenuAggregationItem: _GridColumnMenuAggregationItem.GridColumnMenuAggregationItem,
|
|
35
|
+
columnMenuGroupingItem: GridColumnMenuGroupingItem
|
|
36
36
|
});
|
|
37
|
-
exports.
|
|
38
|
-
const
|
|
37
|
+
exports.GRID_COLUMN_MENU_SLOTS_PREMIUM = GRID_COLUMN_MENU_SLOTS_PREMIUM;
|
|
38
|
+
const GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM = (0, _extends2.default)({}, _xDataGridPro.GRID_COLUMN_MENU_SLOT_PROPS, {
|
|
39
39
|
columnMenuAggregationItem: {
|
|
40
40
|
displayOrder: 23
|
|
41
41
|
},
|
|
@@ -43,13 +43,13 @@ const GRID_COLUMN_MENU_COMPONENTS_PROPS_PREMIUM = (0, _extends2.default)({}, _xD
|
|
|
43
43
|
displayOrder: 27
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
exports.
|
|
46
|
+
exports.GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM = GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM;
|
|
47
47
|
const GridPremiumColumnMenu = /*#__PURE__*/React.forwardRef(function GridPremiumColumnMenuSimple(props, ref) {
|
|
48
48
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridGenericColumnMenu, (0, _extends2.default)({
|
|
49
49
|
ref: ref
|
|
50
50
|
}, props, {
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
defaultSlots: GRID_COLUMN_MENU_SLOTS_PREMIUM,
|
|
52
|
+
defaultSlotProps: GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM
|
|
53
53
|
}));
|
|
54
54
|
});
|
|
55
55
|
exports.GridPremiumColumnMenu = GridPremiumColumnMenu;
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
Object.defineProperty(exports, "
|
|
6
|
+
Object.defineProperty(exports, "GRID_COLUMN_MENU_SLOTS", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return _GridPremiumColumnMenu.
|
|
9
|
+
return _GridPremiumColumnMenu.GRID_COLUMN_MENU_SLOTS_PREMIUM;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
Object.defineProperty(exports, "
|
|
12
|
+
Object.defineProperty(exports, "GRID_COLUMN_MENU_SLOT_PROPS", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return _GridPremiumColumnMenu.
|
|
15
|
+
return _GridPremiumColumnMenu.GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "GridColumnMenu", {
|
|
@@ -77,7 +77,7 @@ const useGridAggregationPreProcessors = (apiRef, props) => {
|
|
|
77
77
|
if (availableAggregationFunctions.length === 0) {
|
|
78
78
|
return columnMenuItems;
|
|
79
79
|
}
|
|
80
|
-
return [...columnMenuItems, '
|
|
80
|
+
return [...columnMenuItems, 'columnMenuAggregationItem'];
|
|
81
81
|
}, [props.aggregationFunctions, props.disableAggregation]);
|
|
82
82
|
const stateExportPreProcessing = React.useCallback(prevState => {
|
|
83
83
|
if (props.disableAggregation) {
|
|
@@ -152,7 +152,7 @@ const wrapColumnWithAggregationValue = ({
|
|
|
152
152
|
|
|
153
153
|
// TODO: Add custom root id
|
|
154
154
|
const groupId = cellAggregationPosition === 'inline' ? id : rowNode.parent ?? '';
|
|
155
|
-
const aggregationResult = (0, _gridAggregationSelectors.gridAggregationLookupSelector)(apiRef)[groupId]?.[field];
|
|
155
|
+
const aggregationResult = (0, _gridAggregationSelectors.gridAggregationLookupSelector)(apiRef)?.[groupId]?.[field];
|
|
156
156
|
if (!aggregationResult || aggregationResult.position !== cellAggregationPosition) {
|
|
157
157
|
return null;
|
|
158
158
|
}
|
|
@@ -92,7 +92,7 @@ const useGridRowGrouping = (apiRef, props) => {
|
|
|
92
92
|
return columnMenuItems;
|
|
93
93
|
}
|
|
94
94
|
if ((0, _gridRowGroupingUtils.isGroupingColumn)(colDef.field) || colDef.groupable) {
|
|
95
|
-
return [...columnMenuItems, '
|
|
95
|
+
return [...columnMenuItems, 'columnMenuGroupingItem'];
|
|
96
96
|
}
|
|
97
97
|
return columnMenuItems;
|
|
98
98
|
}, [props.disableRowGrouping]);
|
package/node/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/x-data-grid-premium v6.0.
|
|
2
|
+
* @mui/x-data-grid-premium v6.0.4
|
|
3
3
|
*
|
|
4
4
|
* @license MUI X Commercial
|
|
5
5
|
* This source code is licensed under the commercial license found in the
|
|
@@ -17,19 +17,19 @@ var _exportNames = {
|
|
|
17
17
|
useGridApiRef: true,
|
|
18
18
|
useGridRootProps: true,
|
|
19
19
|
GridColumnMenu: true,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
GRID_COLUMN_MENU_SLOTS: true,
|
|
21
|
+
GRID_COLUMN_MENU_SLOT_PROPS: true
|
|
22
22
|
};
|
|
23
|
-
Object.defineProperty(exports, "
|
|
23
|
+
Object.defineProperty(exports, "GRID_COLUMN_MENU_SLOTS", {
|
|
24
24
|
enumerable: true,
|
|
25
25
|
get: function () {
|
|
26
|
-
return _reexports2.
|
|
26
|
+
return _reexports2.GRID_COLUMN_MENU_SLOTS;
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
|
-
Object.defineProperty(exports, "
|
|
29
|
+
Object.defineProperty(exports, "GRID_COLUMN_MENU_SLOT_PROPS", {
|
|
30
30
|
enumerable: true,
|
|
31
31
|
get: function () {
|
|
32
|
-
return _reexports2.
|
|
32
|
+
return _reexports2.GRID_COLUMN_MENU_SLOT_PROPS;
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "GridColumnHeaders", {
|
|
@@ -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 = "MTY4MDEyNzIwMDAwMA==";
|
|
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.
|
|
3
|
+
"version": "6.0.4",
|
|
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.
|
|
34
|
+
"@babel/runtime": "^7.21.0",
|
|
35
35
|
"@mui/utils": "^5.11.13",
|
|
36
|
-
"@mui/x-data-grid": "6.0.
|
|
37
|
-
"@mui/x-data-grid-pro": "6.0.
|
|
38
|
-
"@mui/x-license-pro": "6.0.
|
|
36
|
+
"@mui/x-data-grid": "6.0.4",
|
|
37
|
+
"@mui/x-data-grid-pro": "6.0.4",
|
|
38
|
+
"@mui/x-license-pro": "6.0.3",
|
|
39
39
|
"@types/format-util": "^1.0.2",
|
|
40
40
|
"clsx": "^1.2.1",
|
|
41
41
|
"exceljs": "^4.3.0",
|
package/utils/releaseInfo.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTY4MDEyNzIwMDAwMA==";
|
|
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
|