@mui/x-data-grid-premium 8.4.0 → 8.5.1
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 +215 -0
- package/DataGridPremium/DataGridPremium.js +9 -1
- package/DataGridPremium/useDataGridPremiumComponent.js +9 -5
- package/components/GridAggregationRowOverlay.js +2 -1
- package/components/GridColumnMenuAggregationItem.js +2 -2
- package/components/GridDataSourceGroupingCriteriaCell.js +2 -2
- package/components/GridEmptyPivotOverlay.js +1 -0
- package/components/GridPremiumColumnMenu.js +2 -1
- package/components/aiAssistantPanel/AiAssistantPanelTrigger.d.ts +1 -1
- package/components/aiAssistantPanel/AiAssistantPanelTrigger.js +3 -1
- package/components/aiAssistantPanel/GridAiAssistantPanel.js +2 -2
- package/components/aiAssistantPanel/GridAiAssistantPanelConversation.js +2 -2
- package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js +3 -2
- package/components/collapsible/Collapsible.js +2 -2
- package/components/collapsible/CollapsiblePanel.js +2 -2
- package/components/collapsible/CollapsibleTrigger.js +2 -2
- package/components/export/ExportExcel.js +3 -2
- package/components/pivotPanel/GridPivotPanelHeader.js +2 -2
- package/components/pivotPanel/GridPivotPanelSearch.js +2 -2
- package/components/pivotPanel/PivotPanelTrigger.d.ts +1 -1
- package/components/pivotPanel/PivotPanelTrigger.js +3 -2
- package/components/prompt/GridPrompt.js +4 -3
- package/components/promptField/PromptField.js +3 -2
- package/components/promptField/PromptFieldControl.js +3 -2
- package/components/promptField/PromptFieldRecord.js +3 -2
- package/components/promptField/PromptFieldSend.js +3 -2
- package/components/resizablePanel/ResizablePanel.js +2 -2
- package/components/resizablePanel/ResizablePanelHandle.js +2 -2
- package/components/sidebar/Sidebar.js +2 -2
- package/components/sidebar/SidebarHeader.js +2 -2
- package/esm/DataGridPremium/DataGridPremium.js +9 -1
- package/esm/DataGridPremium/useDataGridPremiumComponent.js +9 -5
- package/esm/components/GridAggregationRowOverlay.js +1 -0
- package/esm/components/GridColumnMenuAggregationItem.js +1 -1
- package/esm/components/GridDataSourceGroupingCriteriaCell.js +1 -1
- package/esm/components/GridEmptyPivotOverlay.js +1 -0
- package/esm/components/GridPremiumColumnMenu.js +2 -1
- package/esm/components/aiAssistantPanel/AiAssistantPanelTrigger.d.ts +1 -1
- package/esm/components/aiAssistantPanel/AiAssistantPanelTrigger.js +4 -2
- package/esm/components/aiAssistantPanel/GridAiAssistantPanel.js +1 -1
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversation.js +1 -1
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js +1 -1
- package/esm/components/collapsible/Collapsible.js +1 -1
- package/esm/components/collapsible/CollapsiblePanel.js +1 -1
- package/esm/components/collapsible/CollapsibleTrigger.js +1 -1
- package/esm/components/export/ExportExcel.js +3 -2
- package/esm/components/pivotPanel/GridPivotPanelHeader.js +1 -1
- package/esm/components/pivotPanel/GridPivotPanelSearch.js +1 -1
- package/esm/components/pivotPanel/PivotPanelTrigger.d.ts +1 -1
- package/esm/components/pivotPanel/PivotPanelTrigger.js +3 -2
- package/esm/components/prompt/GridPrompt.js +2 -1
- package/esm/components/promptField/PromptField.js +3 -2
- package/esm/components/promptField/PromptFieldControl.js +3 -2
- package/esm/components/promptField/PromptFieldRecord.js +3 -2
- package/esm/components/promptField/PromptFieldSend.js +3 -2
- package/esm/components/resizablePanel/ResizablePanel.js +1 -1
- package/esm/components/resizablePanel/ResizablePanelHandle.js +1 -1
- package/esm/components/sidebar/Sidebar.js +1 -1
- package/esm/components/sidebar/SidebarHeader.js +1 -1
- package/esm/hooks/features/aggregation/gridAggregationUtils.js +1 -1
- package/esm/hooks/features/clipboard/useGridClipboardImport.js +1 -1
- package/esm/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +2 -4
- package/esm/index.js +1 -1
- package/esm/models/index.d.ts +1 -0
- package/esm/models/index.js +1 -0
- package/hooks/features/aggregation/gridAggregationUtils.js +2 -2
- package/hooks/features/clipboard/useGridClipboardImport.js +2 -2
- package/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +1 -3
- package/index.js +1 -1
- package/models/index.d.ts +1 -0
- package/models/index.js +11 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,221 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## 8.5.1
|
|
9
|
+
|
|
10
|
+
<!-- generated comparing v8.5.0..master -->
|
|
11
|
+
|
|
12
|
+
_Jun 5, 2025_
|
|
13
|
+
|
|
14
|
+
We'd like to extend a big thank you to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
15
|
+
|
|
16
|
+
- 📊 Allow exporting pie charts
|
|
17
|
+
- 📚 Documentation improvements
|
|
18
|
+
- 🌎 Improve Portuguese (ptPT) translations on the Data Grid
|
|
19
|
+
- 🌎 Improve Portuguese (ptPT, ptBR) translations on Charts
|
|
20
|
+
- 🌎 Improve Arabic (ar-SD) locale
|
|
21
|
+
- 🐞 Bugfixes
|
|
22
|
+
|
|
23
|
+
Special thanks go out to the community members for their valuable contributions: @moosekebab, @TiagoPortfolio.
|
|
24
|
+
The following are all team members who have contributed to this release:
|
|
25
|
+
@alexfauquette, @bernardobelchior, @JCQuintas, @KenanYusuf, @LukasTy, @michelengelen, @arminmeh.
|
|
26
|
+
|
|
27
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
28
|
+
|
|
29
|
+
### Data Grid
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid@8.5.1`
|
|
32
|
+
|
|
33
|
+
- [DataGrid] Fix `registerPipeProcessor()` for Node v20 (#18241) @arminmeh
|
|
34
|
+
- [DataGrid] Fix background color in column header filler cells (#18188) @KenanYusuf
|
|
35
|
+
- [DataGrid] Keep pipe pre-processors execution order when callback reference changes (#17558) @arminmeh
|
|
36
|
+
- [DataGrid] Use `useComponentRenderer` from x-internals (#18203) @bernardobelchior
|
|
37
|
+
- [l10n] Improve Arabic (ar-SD) locale (#17959) @moosekebab
|
|
38
|
+
- [l10n] Improve Portuguese from Portugal (pt-PT) locale (#18064) @TiagoPortfolio
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid-pro@8.5.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-data-grid@8.5.1`, plus:
|
|
43
|
+
|
|
44
|
+
- [DataGridPro] Skip rendering detail panels of the rows turned into skeleton rows with lazy loading (#17958) @arminmeh
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-data-grid-premium@8.5.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
47
|
+
|
|
48
|
+
Same changes as in `@mui/x-data-grid-pro@8.5.1`.
|
|
49
|
+
|
|
50
|
+
### Date and Time Pickers
|
|
51
|
+
|
|
52
|
+
#### `@mui/x-date-pickers@8.5.1`
|
|
53
|
+
|
|
54
|
+
- [pickers] Fix `transformOrigin` resolving based on popper `placement` (#18206) @LukasTy
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-date-pickers-pro@8.5.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
57
|
+
|
|
58
|
+
Same changes as in `@mui/x-date-pickers@8.5.1`.
|
|
59
|
+
|
|
60
|
+
### Charts
|
|
61
|
+
|
|
62
|
+
#### `@mui/x-charts@8.5.1`
|
|
63
|
+
|
|
64
|
+
- [charts] Allow skipping tooltip render (#18050) @alexfauquette
|
|
65
|
+
- [charts] Fix act warnings in toolbar tests (#18212) @JCQuintas
|
|
66
|
+
- [charts] Fix prop typo in `extendVertically` (#18211) @JCQuintas
|
|
67
|
+
- [charts] Fix responsive height for ChartsWrapper (#18183) @alexfauquette
|
|
68
|
+
- [charts] Improve charts toolbar accessibility (#18056) @bernardobelchior
|
|
69
|
+
- [charts] Let line series propagate null from the dataset (#18223) @alexfauquette
|
|
70
|
+
- [l10n] Add Portuguese locales for charts (pt-PT, pt-BR) (#18069) @bernardobelchior
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-charts-pro@8.5.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
73
|
+
|
|
74
|
+
Same changes as in `@mui/x-charts@8.5.1`, plus:
|
|
75
|
+
|
|
76
|
+
- [charts-pro] Add `linear-sharp` curve as alternative to square edge (#17966) @JCQuintas
|
|
77
|
+
- [charts-pro] Add correct classes to `FunnelSectionLabel` (#18061) @JCQuintas
|
|
78
|
+
- [charts-pro] Allow exporting a pie chart (#18063) @bernardobelchior
|
|
79
|
+
- [charts-pro] Fix initial render for zoom slider selection (#18208) @bernardobelchior
|
|
80
|
+
- [charts-pro] Fix props being passed to DOM in FunnelChart (#18192) @JCQuintas
|
|
81
|
+
- [charts-pro] Show axis value in zoom slider tooltip (#18054) @bernardobelchior
|
|
82
|
+
- [charts-pro] Render the toolbar in the heatmap chart (#18247) @bernardobelchior
|
|
83
|
+
|
|
84
|
+
### Tree View
|
|
85
|
+
|
|
86
|
+
#### `@mui/x-tree-view@8.5.1`
|
|
87
|
+
|
|
88
|
+
Internal changes.
|
|
89
|
+
|
|
90
|
+
#### `@mui/x-tree-view-pro@8.5.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
91
|
+
|
|
92
|
+
Same changes as in `@mui/x-tree-view@8.5.1`.
|
|
93
|
+
|
|
94
|
+
### Docs
|
|
95
|
+
|
|
96
|
+
- [docs] Update `valueFormatter` signature in migration guide (#18226) @michelengelen
|
|
97
|
+
|
|
98
|
+
### Core
|
|
99
|
+
|
|
100
|
+
- chore(deps): bump @next/eslint-plugin-next to 15.3.3 (#18155) @renovate[bot]
|
|
101
|
+
- chore(deps): bump @types/lodash to ^4.17.17 (#17990) @renovate[bot]
|
|
102
|
+
- chore(deps): bump babel (#18157) @renovate[bot]
|
|
103
|
+
- chore(deps): bump eslint to ^9.28.0 (#17352) @renovate[bot]
|
|
104
|
+
- chore(deps): bump material ui (#17802) @renovate[bot]
|
|
105
|
+
- chore(deps): bump next to ^15.3.3 (#18159) @renovate[bot]
|
|
106
|
+
- chore(deps): bump ossf/scorecard-action action to v2.4.2 (#18160) @renovate[bot]
|
|
107
|
+
- chore(deps): bump react-router to ^7.6.1 (#18162) @renovate[bot]
|
|
108
|
+
- chore(deps): bump yargs to ^18.0.0 (#18169) @renovate[bot]
|
|
109
|
+
- [code-infra] Different approach to console testing for `processRowUpdate` (#18213) @JCQuintas
|
|
110
|
+
- [code-infra] Fix act warnings in DataGrid/toolbar (#18207) @JCQuintas
|
|
111
|
+
- [code-infra] Remove `istanbul` references (#18194) @JCQuintas
|
|
112
|
+
- [code-infra] Remove codesandbox:ci (#18179) @JCQuintas
|
|
113
|
+
- [code-infra] Replace `mocha` with `vitest` on e2e and regression tests (#18071) @JCQuintas
|
|
114
|
+
- [code-infra] Upgrade @mui/internal-test-utils (#18191) @JCQuintas
|
|
115
|
+
- [code-infra] Use vitest for `no-direct-state-access` tests (#18209) @JCQuintas
|
|
116
|
+
- [infra] Improve test setup (#18228) @LukasTy
|
|
117
|
+
- [infra] Update bug and feature request templates to standardize label types (#18198) @michelengelen
|
|
118
|
+
- [infra] Use `playwright` docker image (#18186) @LukasTy
|
|
119
|
+
|
|
120
|
+
## 8.5.0
|
|
121
|
+
|
|
122
|
+
_May 29, 2025_
|
|
123
|
+
|
|
124
|
+
We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
125
|
+
|
|
126
|
+
- 📊 Add support for exporting `RadarChartPro`, `FunnelChart` and `Heatmap` as image and PDF.
|
|
127
|
+
- 📊 `RadarChart` is now stable.
|
|
128
|
+
|
|
129
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
130
|
+
@xBlizZer, @sai6855, @alisasanib.
|
|
131
|
+
Following are all team members who have contributed to this release:
|
|
132
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @KenanYusuf, @LukasTy, @oliviertassinari.
|
|
133
|
+
|
|
134
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
135
|
+
|
|
136
|
+
### Data Grid
|
|
137
|
+
|
|
138
|
+
#### `@mui/x-data-grid@8.5.0`
|
|
139
|
+
|
|
140
|
+
- [DataGrid] Avoid ResizeObserver loop error (#17984) @cherniavskii
|
|
141
|
+
- [DataGrid] Fix column management `toggleColumn` event type (#18023) @KenanYusuf
|
|
142
|
+
- [DataGrid] Remove unnecessary `any` type (#17979) @sai6855
|
|
143
|
+
|
|
144
|
+
#### `@mui/x-data-grid-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
145
|
+
|
|
146
|
+
Same changes as in `@mui/x-data-grid@8.5.0`, plus:
|
|
147
|
+
|
|
148
|
+
- [DataGridPro] Allow multi sorting without modifier key (#17925) @cherniavskii
|
|
149
|
+
- [DataGridPro] Row reordering icon improvements (#17947) @KenanYusuf
|
|
150
|
+
- [DataGridPro] Fix pinned columns order in column management (#17950) @alisasanib
|
|
151
|
+
|
|
152
|
+
#### `@mui/x-data-grid-premium@8.5.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
153
|
+
|
|
154
|
+
Same changes as in `@mui/x-data-grid-pro@8.5.0`, plus:
|
|
155
|
+
|
|
156
|
+
- [DataGridPremium] Export `GridApiPremium` type (#18037) @arminmeh
|
|
157
|
+
|
|
158
|
+
### Date and Time Pickers
|
|
159
|
+
|
|
160
|
+
#### `@mui/x-date-pickers@8.5.0`
|
|
161
|
+
|
|
162
|
+
Internal changes.
|
|
163
|
+
|
|
164
|
+
#### `@mui/x-date-pickers-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
165
|
+
|
|
166
|
+
Same changes as in `@mui/x-date-pickers@8.5.0`, plus:
|
|
167
|
+
|
|
168
|
+
- [DateRangePicker] Allow to override the format in the field (#17972) @flaviendelangle
|
|
169
|
+
|
|
170
|
+
### Charts
|
|
171
|
+
|
|
172
|
+
#### `@mui/x-charts@8.5.0`
|
|
173
|
+
|
|
174
|
+
- [charts] Add `render` prop to charts toolbar components (#17649) @bernardobelchior
|
|
175
|
+
- [charts] Add configurable slots to toolbar (#17712) @bernardobelchior
|
|
176
|
+
- [charts] Export `useFunnelSeries` and `useRadarSeries` (#18034) @JCQuintas
|
|
177
|
+
- [charts] Expose `ChartApi` through context (#18004) @bernardobelchior
|
|
178
|
+
- [charts] Mark Radar chart as stable (#17946) @alexfauquette
|
|
179
|
+
- [charts] Only update store if interaction item is different (#17851) @bernardobelchior
|
|
180
|
+
- [charts] Reuse shared date utils (#18014) @JCQuintas
|
|
181
|
+
- [charts] Use Map for string cache instead of object (#17982) @bernardobelchior
|
|
182
|
+
- [charts] Fix Population pyramid demo (#17987) @oliviertassinari
|
|
183
|
+
|
|
184
|
+
#### `@mui/x-charts-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
185
|
+
|
|
186
|
+
Same changes as in `@mui/x-charts@8.5.0`, plus:
|
|
187
|
+
|
|
188
|
+
- [charts-pro] Add range selection to zoom slider (#17949) @bernardobelchior
|
|
189
|
+
- [charts-pro] Allow configuring zoom slider tooltip (#18030) @bernardobelchior
|
|
190
|
+
- [charts-pro] Allow exporting a funnel chart (#17957) @bernardobelchior
|
|
191
|
+
- [charts-pro] Allow exporting a heatmap chart (#17916) @bernardobelchior
|
|
192
|
+
- [charts-pro] Allow exporting a radar chart (#17968) @bernardobelchior
|
|
193
|
+
- [charts-pro] Always show both zoom slider tooltips (#18027) @bernardobelchior
|
|
194
|
+
- [charts-pro] Show zoom slider tooltip when selecting range (#18028) @bernardobelchior
|
|
195
|
+
- [charts-pro] Split `ChartAxisZoomSlider` into smaller files (#18011) @bernardobelchior
|
|
196
|
+
- [charts-pro] Update zoom slider range selection cursor (#17977) @bernardobelchior
|
|
197
|
+
- [charts-pro] Add support for Heatmap legend (#17943) @alexfauquette
|
|
198
|
+
|
|
199
|
+
### Tree View
|
|
200
|
+
|
|
201
|
+
#### `@mui/x-tree-view@8.5.0`
|
|
202
|
+
|
|
203
|
+
Internal changes.
|
|
204
|
+
|
|
205
|
+
#### `@mui/x-tree-view-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
206
|
+
|
|
207
|
+
Same changes as in `@mui/x-tree-view@8.5.0`.
|
|
208
|
+
|
|
209
|
+
### Docs
|
|
210
|
+
|
|
211
|
+
- [docs] Fix derived column pivoting demo crash (#17944) @arminmeh
|
|
212
|
+
- [docs] Fix light/dark mode blink on pickers overview (#18002) @alexfauquette
|
|
213
|
+
- [docs] Fix scatter shape demo causing horizontal overflow (#17974) @bernardobelchior
|
|
214
|
+
|
|
215
|
+
### Core
|
|
216
|
+
|
|
217
|
+
- [code-infra] Add bundle size monitor (#17754) @Janpot
|
|
218
|
+
- [code-infra] Enable `babel-plugin-display-name` in vitest (#17903) @JCQuintas
|
|
219
|
+
- [infra] Remove last deprecated `ponyfillGlobal` usage (#18003) @LukasTy
|
|
220
|
+
- [infra] Use `babel-plugin-display-name` from npm (#18040) @LukasTy
|
|
221
|
+
- [x-telemetry] Remove deprecated `ponyfillGlobal` (#17986) @xBlizZer
|
|
222
|
+
|
|
8
223
|
## 8.4.0
|
|
9
224
|
|
|
10
225
|
_May 21, 2025_
|
|
@@ -40,7 +40,7 @@ const configuration = {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
const releaseInfo = "
|
|
43
|
+
const releaseInfo = "MTc0OTA3MDgwMDAwMA==";
|
|
44
44
|
const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicense.Watermark, {
|
|
45
45
|
packageName: "x-data-grid-premium",
|
|
46
46
|
releaseInfo: releaseInfo
|
|
@@ -76,6 +76,7 @@ const DataGridPremiumRaw = (0, _forwardRef.forwardRef)(function DataGridPremium(
|
|
|
76
76
|
}))
|
|
77
77
|
});
|
|
78
78
|
});
|
|
79
|
+
if (process.env.NODE_ENV !== "production") DataGridPremiumRaw.displayName = "DataGridPremiumRaw";
|
|
79
80
|
process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
80
81
|
// ----------------------------- Warning --------------------------------
|
|
81
82
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -647,6 +648,13 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
647
648
|
* @default "error" ("warn" in dev mode)
|
|
648
649
|
*/
|
|
649
650
|
logLevel: _propTypes.default.oneOf(['debug', 'error', 'info', 'warn', false]),
|
|
651
|
+
/**
|
|
652
|
+
* If set to "always", the multi-sorting is applied without modifier key.
|
|
653
|
+
* Otherwise, the modifier key is required for multi-sorting to be applied.
|
|
654
|
+
* @see See https://mui.com/x/react-data-grid/sorting/#multi-sorting
|
|
655
|
+
* @default "withModifierKey"
|
|
656
|
+
*/
|
|
657
|
+
multipleColumnsSortingMode: _propTypes.default.oneOf(['always', 'withModifierKey']),
|
|
650
658
|
/**
|
|
651
659
|
* Nonce of the inline styles for [Content Security Policy](https://www.w3.org/TR/2016/REC-CSP2-20161215/#script-src-the-nonce-attribute).
|
|
652
660
|
*/
|
|
@@ -36,19 +36,23 @@ const useDataGridPremiumComponent = (apiRef, inProps) => {
|
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* Register all pre-processors called during state initialization here.
|
|
39
|
+
* Some pre-processors are changing the same part of the state (like the order of the columns).
|
|
40
|
+
* Order them in descending order of priority.
|
|
41
|
+
* For example, left pinned columns should always render first from the left, so the `hydrateColumns` pre-processor from `useGridColumnPinningPreProcessors` should be called last (after all other `hydrateColumns` pre-processors).
|
|
42
|
+
* Similarly, the `hydrateColumns` pre-processor from `useGridRowSelectionPreProcessors` should be called after `useGridRowGroupingPreProcessors` because the selection checkboxes should appear before the grouping columns.
|
|
43
|
+
* Desired autogenerated columns order is:
|
|
44
|
+
* left pinned columns -> row reordering column -> checkbox column -> tree data / row grouping column -> master detail column -> rest of the columns
|
|
39
45
|
*/
|
|
40
|
-
(0, _internals.
|
|
41
|
-
(0, _internals.useGridRowReorderPreProcessors)(apiRef, props);
|
|
46
|
+
(0, _internals.useGridDetailPanelPreProcessors)(apiRef, props);
|
|
42
47
|
(0, _useGridRowGroupingPreProcessors.useGridRowGroupingPreProcessors)(apiRef, props);
|
|
43
48
|
(0, _useGridDataSourceRowGroupingPreProcessors.useGridDataSourceRowGroupingPreProcessors)(apiRef, props);
|
|
44
49
|
(0, _internals.useGridTreeDataPreProcessors)(apiRef, props);
|
|
45
50
|
(0, _internals.useGridDataSourceTreeDataPreProcessors)(apiRef, props);
|
|
51
|
+
(0, _internals.useGridRowSelectionPreProcessors)(apiRef, props);
|
|
46
52
|
(0, _internals.useGridLazyLoaderPreProcessors)(apiRef, props);
|
|
47
53
|
(0, _internals.useGridRowPinningPreProcessors)(apiRef);
|
|
48
54
|
(0, _useGridAggregationPreProcessors.useGridAggregationPreProcessors)(apiRef, props);
|
|
49
|
-
(0, _internals.
|
|
50
|
-
// The column pinning `hydrateColumns` pre-processor must be after every other `hydrateColumns` pre-processors
|
|
51
|
-
// Because it changes the order of the columns.
|
|
55
|
+
(0, _internals.useGridRowReorderPreProcessors)(apiRef, props);
|
|
52
56
|
(0, _internals.useGridColumnPinningPreProcessors)(apiRef, props);
|
|
53
57
|
(0, _internals.useGridRowsPreProcessors)(apiRef);
|
|
54
58
|
|
|
@@ -13,7 +13,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
13
13
|
var React = _react;
|
|
14
14
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
15
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
16
|
-
var
|
|
16
|
+
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
17
17
|
var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
18
18
|
var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
19
19
|
var _gridAggregationUtils = require("../hooks/features/aggregation/gridAggregationUtils");
|
|
@@ -27,7 +27,7 @@ function GridColumnMenuAggregationItem(props) {
|
|
|
27
27
|
const apiRef = (0, _useGridApiContext.useGridApiContext)();
|
|
28
28
|
const inputRef = React.useRef(null);
|
|
29
29
|
const rootProps = (0, _useGridRootProps.useGridRootProps)();
|
|
30
|
-
const id = (0,
|
|
30
|
+
const id = (0, _useId.default)();
|
|
31
31
|
const aggregationModel = (0, _xDataGridPro.useGridSelector)(apiRef, _gridAggregationSelectors.gridAggregationModelSelector);
|
|
32
32
|
const availableAggregationFunctions = React.useMemo(() => (0, _gridAggregationUtils.getAvailableAggregationFunctions)({
|
|
33
33
|
aggregationFunctions: rootProps.aggregationFunctions,
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.GridDataSourceGroupingCriteriaCell = GridDataSourceGroupingCriteriaCell;
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
11
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
12
12
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
13
13
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
14
14
|
var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
@@ -23,7 +23,7 @@ const useUtilityClasses = ownerState => {
|
|
|
23
23
|
toggle: ['groupingCriteriaCellToggle'],
|
|
24
24
|
loadingContainer: ['groupingCriteriaCellLoadingContainer']
|
|
25
25
|
};
|
|
26
|
-
return (0,
|
|
26
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
27
27
|
};
|
|
28
28
|
function GridGroupingCriteriaCellIcon(props) {
|
|
29
29
|
const apiRef = (0, _internals.useGridPrivateApiContext)();
|
|
@@ -20,6 +20,7 @@ const GridEmptyPivotOverlay = exports.GridEmptyPivotOverlay = (0, _forwardRef.fo
|
|
|
20
20
|
children: apiRef.current.getLocaleText('emptyPivotOverlayLabel')
|
|
21
21
|
}));
|
|
22
22
|
});
|
|
23
|
+
if (process.env.NODE_ENV !== "production") GridEmptyPivotOverlay.displayName = "GridEmptyPivotOverlay";
|
|
23
24
|
process.env.NODE_ENV !== "production" ? GridEmptyPivotOverlay.propTypes = {
|
|
24
25
|
// ----------------------------- Warning --------------------------------
|
|
25
26
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -49,4 +49,5 @@ const GridPremiumColumnMenu = exports.GridPremiumColumnMenu = (0, _forwardRef.fo
|
|
|
49
49
|
defaultSlotProps: GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM,
|
|
50
50
|
ref: ref
|
|
51
51
|
}));
|
|
52
|
-
});
|
|
52
|
+
});
|
|
53
|
+
if (process.env.NODE_ENV !== "production") GridPremiumColumnMenu.displayName = "GridPremiumColumnMenu";
|
|
@@ -12,6 +12,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
13
|
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
14
14
|
var _forwardRef = require("@mui/x-internals/forwardRef");
|
|
15
|
+
var _useComponentRenderer = require("@mui/x-internals/useComponentRenderer");
|
|
15
16
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
16
17
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
17
18
|
var _utils = require("@mui/material/utils");
|
|
@@ -67,7 +68,7 @@ const AiAssistantPanelTrigger = exports.AiAssistantPanelTrigger = (0, _forwardRe
|
|
|
67
68
|
}
|
|
68
69
|
onPointerUp?.(event);
|
|
69
70
|
};
|
|
70
|
-
const element = (0,
|
|
71
|
+
const element = (0, _useComponentRenderer.useComponentRenderer)(rootProps.slots.baseButton, render, (0, _extends2.default)({}, rootProps.slotProps?.baseButton, {
|
|
71
72
|
id: buttonId,
|
|
72
73
|
'aria-haspopup': 'true',
|
|
73
74
|
'aria-expanded': open ? 'true' : undefined,
|
|
@@ -82,6 +83,7 @@ const AiAssistantPanelTrigger = exports.AiAssistantPanelTrigger = (0, _forwardRe
|
|
|
82
83
|
children: element
|
|
83
84
|
});
|
|
84
85
|
});
|
|
86
|
+
if (process.env.NODE_ENV !== "production") AiAssistantPanelTrigger.displayName = "AiAssistantPanelTrigger";
|
|
85
87
|
process.env.NODE_ENV !== "production" ? AiAssistantPanelTrigger.propTypes = {
|
|
86
88
|
// ----------------------------- Warning --------------------------------
|
|
87
89
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -10,7 +10,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
12
12
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
13
|
-
var
|
|
13
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
14
14
|
var _system = require("@mui/system");
|
|
15
15
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
16
16
|
var _gridAiAssistantSelectors = require("../../hooks/features/aiAssistant/gridAiAssistantSelectors");
|
|
@@ -34,7 +34,7 @@ const useUtilityClasses = ownerState => {
|
|
|
34
34
|
emptyText: ['aiAssistantPanelEmptyText'],
|
|
35
35
|
footer: ['aiAssistantPanelFooter']
|
|
36
36
|
};
|
|
37
|
-
return (0,
|
|
37
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
38
38
|
};
|
|
39
39
|
const AiAssistantPanelRoot = (0, _system.styled)('div', {
|
|
40
40
|
name: 'MuiDataGrid',
|
|
@@ -9,7 +9,7 @@ exports.GridAiAssistantPanelConversation = GridAiAssistantPanelConversation;
|
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
12
|
-
var
|
|
12
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
13
13
|
var _system = require("@mui/system");
|
|
14
14
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
15
15
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
@@ -23,7 +23,7 @@ const useUtilityClasses = ownerState => {
|
|
|
23
23
|
root: ['aiAssistantPanelConversation'],
|
|
24
24
|
list: ['aiAssistantPanelConversationList']
|
|
25
25
|
};
|
|
26
|
-
return (0,
|
|
26
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
27
27
|
};
|
|
28
28
|
const AiAssistantPanelConversationRoot = (0, _system.styled)(_xDataGridPro.GridShadowScrollArea, {
|
|
29
29
|
name: 'MuiDataGrid',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
3
4
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
@@ -7,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
8
|
exports.GridAiAssistantPanelSuggestions = GridAiAssistantPanelSuggestions;
|
|
8
9
|
var React = _interopRequireWildcard(require("react"));
|
|
9
10
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
10
|
-
var
|
|
11
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
11
12
|
var _system = require("@mui/system");
|
|
12
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
13
14
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -23,7 +24,7 @@ const useUtilityClasses = ownerState => {
|
|
|
23
24
|
item: ['aiAssistantPanelSuggestionsItem'],
|
|
24
25
|
label: ['aiAssistantPanelSuggestionsLabel']
|
|
25
26
|
};
|
|
26
|
-
return (0,
|
|
27
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
27
28
|
};
|
|
28
29
|
const AiAssistantPanelSuggestionsRoot = (0, _system.styled)('div', {
|
|
29
30
|
name: 'MuiDataGrid',
|
|
@@ -13,7 +13,7 @@ var _system = require("@mui/system");
|
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
14
|
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
15
15
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
16
|
-
var
|
|
16
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
17
17
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
18
18
|
var _CollapsibleContext = require("./CollapsibleContext");
|
|
19
19
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -26,7 +26,7 @@ const useUtilityClasses = ownerState => {
|
|
|
26
26
|
const slots = {
|
|
27
27
|
root: ['collapsible']
|
|
28
28
|
};
|
|
29
|
-
return (0,
|
|
29
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
30
30
|
};
|
|
31
31
|
const CollapsibleRoot = (0, _system.styled)('div', {
|
|
32
32
|
name: 'MuiDataGrid',
|
|
@@ -12,7 +12,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _system = require("@mui/system");
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
14
|
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
15
|
-
var
|
|
15
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
16
16
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
17
17
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
18
18
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -26,7 +26,7 @@ const useUtilityClasses = ownerState => {
|
|
|
26
26
|
const slots = {
|
|
27
27
|
root: ['collapsiblePanel']
|
|
28
28
|
};
|
|
29
|
-
return (0,
|
|
29
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
30
30
|
};
|
|
31
31
|
const CollapsiblePanelRoot = (0, _system.styled)('div', {
|
|
32
32
|
name: 'MuiDataGrid',
|
|
@@ -11,7 +11,7 @@ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runt
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _system = require("@mui/system");
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
|
-
var
|
|
14
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
16
16
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
17
17
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -26,7 +26,7 @@ const useUtilityClasses = ownerState => {
|
|
|
26
26
|
root: ['collapsibleTrigger'],
|
|
27
27
|
icon: ['collapsibleIcon']
|
|
28
28
|
};
|
|
29
|
-
return (0,
|
|
29
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
30
30
|
};
|
|
31
31
|
const CollapsibleTriggerRoot = (0, _system.styled)('button', {
|
|
32
32
|
name: 'MuiDataGrid',
|
|
@@ -10,7 +10,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
var
|
|
13
|
+
var _useComponentRenderer = require("@mui/x-internals/useComponentRenderer");
|
|
14
14
|
var _forwardRef = require("@mui/x-internals/forwardRef");
|
|
15
15
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
16
16
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -41,7 +41,7 @@ const ExportExcel = exports.ExportExcel = (0, _forwardRef.forwardRef)(function E
|
|
|
41
41
|
apiRef.current.exportDataAsExcel(options);
|
|
42
42
|
onClick?.(event);
|
|
43
43
|
};
|
|
44
|
-
const element = (0,
|
|
44
|
+
const element = (0, _useComponentRenderer.useComponentRenderer)(rootProps.slots.baseButton, render, (0, _extends2.default)({
|
|
45
45
|
onClick: handleClick
|
|
46
46
|
}, rootProps.slotProps?.baseButton, other, {
|
|
47
47
|
ref
|
|
@@ -50,6 +50,7 @@ const ExportExcel = exports.ExportExcel = (0, _forwardRef.forwardRef)(function E
|
|
|
50
50
|
children: element
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
|
+
if (process.env.NODE_ENV !== "production") ExportExcel.displayName = "ExportExcel";
|
|
53
54
|
process.env.NODE_ENV !== "production" ? ExportExcel.propTypes = {
|
|
54
55
|
// ----------------------------- Warning --------------------------------
|
|
55
56
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -11,7 +11,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
var _system = require("@mui/system");
|
|
12
12
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
|
-
var
|
|
14
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _sidebar = require("../sidebar");
|
|
16
16
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
17
17
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -27,7 +27,7 @@ const useUtilityClasses = ownerState => {
|
|
|
27
27
|
switch: ['pivotPanelSwitch'],
|
|
28
28
|
label: ['pivotPanelSwitchLabel']
|
|
29
29
|
};
|
|
30
|
-
return (0,
|
|
30
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
31
31
|
};
|
|
32
32
|
const GridPivotPanelHeaderRoot = (0, _system.styled)('div', {
|
|
33
33
|
name: 'MuiDataGrid',
|
|
@@ -11,7 +11,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
12
12
|
var _system = require("@mui/system");
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
|
-
var
|
|
14
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
16
16
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -22,7 +22,7 @@ const useUtilityClasses = ownerState => {
|
|
|
22
22
|
const slots = {
|
|
23
23
|
container: ['pivotPanelSearchContainer']
|
|
24
24
|
};
|
|
25
|
-
return (0,
|
|
25
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
26
26
|
};
|
|
27
27
|
const GridPivotPanelSearchContainer = (0, _system.styled)('div', {
|
|
28
28
|
name: 'MuiDataGrid',
|
|
@@ -12,7 +12,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
13
|
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
14
14
|
var _forwardRef = require("@mui/x-internals/forwardRef");
|
|
15
|
-
var
|
|
15
|
+
var _useComponentRenderer = require("@mui/x-internals/useComponentRenderer");
|
|
16
16
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
17
17
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
18
18
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -53,7 +53,7 @@ const PivotPanelTrigger = exports.PivotPanelTrigger = (0, _forwardRef.forwardRef
|
|
|
53
53
|
apiRef.current.setPivotPanelOpen(!open);
|
|
54
54
|
onClick?.(event);
|
|
55
55
|
};
|
|
56
|
-
const element = (0,
|
|
56
|
+
const element = (0, _useComponentRenderer.useComponentRenderer)(rootProps.slots.baseButton, render, (0, _extends2.default)({}, rootProps.slotProps?.baseButton, {
|
|
57
57
|
id: buttonId,
|
|
58
58
|
// TODO: Hook up the panel/trigger IDs to the pivot panel
|
|
59
59
|
'aria-haspopup': 'true',
|
|
@@ -68,6 +68,7 @@ const PivotPanelTrigger = exports.PivotPanelTrigger = (0, _forwardRef.forwardRef
|
|
|
68
68
|
children: element
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
|
+
if (process.env.NODE_ENV !== "production") PivotPanelTrigger.displayName = "PivotPanelTrigger";
|
|
71
72
|
process.env.NODE_ENV !== "production" ? PivotPanelTrigger.propTypes = {
|
|
72
73
|
// ----------------------------- Warning --------------------------------
|
|
73
74
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -8,7 +8,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.GridPrompt = GridPrompt;
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
11
|
-
var
|
|
11
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
12
|
+
var _capitalize = _interopRequireDefault(require("@mui/utils/capitalize"));
|
|
12
13
|
var _system = require("@mui/system");
|
|
13
14
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
15
|
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
@@ -31,7 +32,7 @@ const useUtilityClasses = ownerState => {
|
|
|
31
32
|
changesToggle: ['promptChangesToggle'],
|
|
32
33
|
changesToggleIcon: ['promptChangesToggleIcon']
|
|
33
34
|
};
|
|
34
|
-
return (0,
|
|
35
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
35
36
|
};
|
|
36
37
|
const fadeIn = (0, _system.keyframes)({
|
|
37
38
|
from: {
|
|
@@ -211,7 +212,7 @@ function GridPrompt(props) {
|
|
|
211
212
|
}, [apiRef, getColumnName, rootProps.slots.promptAggregationIcon]);
|
|
212
213
|
const getFilterChanges = React.useCallback(filters => {
|
|
213
214
|
return filters.map(filter => {
|
|
214
|
-
const filterOperator = apiRef.current.getLocaleText(`filterOperator${(0,
|
|
215
|
+
const filterOperator = apiRef.current.getLocaleText(`filterOperator${(0, _capitalize.default)(filter.operator)}`);
|
|
215
216
|
let filterValue = filter.value;
|
|
216
217
|
if ((0, _internals.isSingleSelectColDef)(columns[filter.column])) {
|
|
217
218
|
const allOptions = (0, _internals.getValueOptions)(columns[filter.column]) ?? [];
|