@mui/x-data-grid-premium 8.3.1 → 8.5.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 +213 -0
- package/DataGridPremium/DataGridPremium.js +13 -3
- package/DataGridPremium/useDataGridPremiumProps.js +2 -2
- package/components/GridAggregationRowOverlay.js +2 -1
- package/components/GridColumnMenuAggregationItem.js +2 -2
- package/components/GridColumnMenuRowGroupItem.js +1 -0
- package/components/GridDataSourceGroupingCriteriaCell.js +2 -2
- package/components/GridEmptyPivotOverlay.js +1 -0
- package/components/GridPremiumColumnMenu.js +2 -1
- package/components/GridPremiumToolbar.js +1 -0
- package/components/aiAssistantPanel/AiAssistantPanelTrigger.js +1 -0
- 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/CollapsibleContext.js +1 -0
- package/components/collapsible/CollapsiblePanel.js +2 -2
- package/components/collapsible/CollapsibleTrigger.js +2 -2
- package/components/export/ExportExcel.js +1 -0
- package/components/pivotPanel/GridPivotPanelHeader.js +2 -2
- package/components/pivotPanel/GridPivotPanelSearch.js +2 -2
- package/components/pivotPanel/PivotPanelTrigger.js +1 -0
- package/components/prompt/GridPrompt.js +4 -3
- package/components/promptField/PromptField.js +1 -0
- package/components/promptField/PromptFieldContext.js +1 -0
- package/components/promptField/PromptFieldControl.js +1 -0
- package/components/promptField/PromptFieldRecord.js +1 -0
- package/components/promptField/PromptFieldSend.js +1 -0
- package/components/resizablePanel/ResizablePanel.js +2 -2
- package/components/resizablePanel/ResizablePanelContext.js +1 -0
- 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 +13 -3
- package/esm/DataGridPremium/useDataGridPremiumProps.js +2 -2
- package/esm/components/GridAggregationRowOverlay.js +1 -0
- package/esm/components/GridColumnMenuAggregationItem.js +1 -1
- package/esm/components/GridColumnMenuRowGroupItem.js +1 -0
- package/esm/components/GridDataSourceGroupingCriteriaCell.js +1 -1
- package/esm/components/GridEmptyPivotOverlay.js +1 -0
- package/esm/components/GridPremiumColumnMenu.js +2 -1
- package/esm/components/GridPremiumToolbar.js +1 -0
- package/esm/components/aiAssistantPanel/AiAssistantPanelTrigger.js +1 -0
- 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/CollapsibleContext.js +1 -0
- package/esm/components/collapsible/CollapsiblePanel.js +1 -1
- package/esm/components/collapsible/CollapsibleTrigger.js +1 -1
- package/esm/components/export/ExportExcel.js +1 -0
- package/esm/components/pivotPanel/GridPivotPanelHeader.js +1 -1
- package/esm/components/pivotPanel/GridPivotPanelSearch.js +1 -1
- package/esm/components/pivotPanel/PivotPanelTrigger.js +1 -0
- package/esm/components/prompt/GridPrompt.js +2 -1
- package/esm/components/promptField/PromptField.js +1 -0
- package/esm/components/promptField/PromptFieldContext.js +1 -0
- package/esm/components/promptField/PromptFieldControl.js +1 -0
- package/esm/components/promptField/PromptFieldRecord.js +1 -0
- package/esm/components/promptField/PromptFieldSend.js +1 -0
- package/esm/components/resizablePanel/ResizablePanel.js +1 -1
- package/esm/components/resizablePanel/ResizablePanelContext.js +1 -0
- 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/aggregation/wrapColumnWithAggregation.js +1 -0
- package/esm/hooks/features/cellSelection/useGridCellSelection.js +3 -2
- package/esm/hooks/features/clipboard/useGridClipboardImport.d.ts +1 -1
- package/esm/hooks/features/clipboard/useGridClipboardImport.js +5 -4
- package/esm/hooks/features/rowGrouping/createGroupingColDef.js +1 -0
- package/esm/index.js +1 -1
- package/esm/models/dataGridPremiumProps.d.ts +3 -2
- 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/aggregation/wrapColumnWithAggregation.js +1 -0
- package/hooks/features/cellSelection/useGridCellSelection.js +3 -2
- package/hooks/features/clipboard/useGridClipboardImport.d.ts +1 -1
- package/hooks/features/clipboard/useGridClipboardImport.js +6 -5
- package/hooks/features/rowGrouping/createGroupingColDef.js +1 -0
- package/index.js +1 -1
- package/models/dataGridPremiumProps.d.ts +3 -2
- package/models/index.d.ts +1 -0
- package/models/index.js +11 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,219 @@
|
|
|
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.0
|
|
9
|
+
|
|
10
|
+
_May 29, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 📊 Add support for exporting `RadarChartPro`, `FunnelChart` and `Heatmap` as image and PDF.
|
|
15
|
+
- 📊 `RadarChart` is now stable.
|
|
16
|
+
|
|
17
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
18
|
+
@xBlizZer, @sai6855, @alisasanib.
|
|
19
|
+
Following are all team members who have contributed to this release:
|
|
20
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @KenanYusuf, @LukasTy, @oliviertassinari.
|
|
21
|
+
|
|
22
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
23
|
+
|
|
24
|
+
### Data Grid
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid@8.5.0`
|
|
27
|
+
|
|
28
|
+
- [DataGrid] Avoid ResizeObserver loop error (#17984) @cherniavskii
|
|
29
|
+
- [DataGrid] Fix column management `toggleColumn` event type (#18023) @KenanYusuf
|
|
30
|
+
- [DataGrid] Remove unnecessary `any` type (#17979) @sai6855
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-data-grid-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
33
|
+
|
|
34
|
+
Same changes as in `@mui/x-data-grid@8.5.0`, plus:
|
|
35
|
+
|
|
36
|
+
- [DataGridPro] Allow multi sorting without modifier key (#17925) @cherniavskii
|
|
37
|
+
- [DataGridPro] Row reordering icon improvements (#17947) @KenanYusuf
|
|
38
|
+
- [DataGridPro] Fix pinned columns order in column management (#17950) @alisasanib
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid-premium@8.5.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-data-grid-pro@8.5.0`, plus:
|
|
43
|
+
|
|
44
|
+
- [DataGridPremium] Export `GridApiPremium` type (#18037) @arminmeh
|
|
45
|
+
|
|
46
|
+
### Date and Time Pickers
|
|
47
|
+
|
|
48
|
+
#### `@mui/x-date-pickers@8.5.0`
|
|
49
|
+
|
|
50
|
+
Internal changes.
|
|
51
|
+
|
|
52
|
+
#### `@mui/x-date-pickers-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
53
|
+
|
|
54
|
+
Same changes as in `@mui/x-date-pickers@8.5.0`, plus:
|
|
55
|
+
|
|
56
|
+
- [DateRangePicker] Allow to override the format in the field (#17972) @flaviendelangle
|
|
57
|
+
|
|
58
|
+
### Charts
|
|
59
|
+
|
|
60
|
+
#### `@mui/x-charts@8.5.0`
|
|
61
|
+
|
|
62
|
+
- [charts] Add `render` prop to charts toolbar components (#17649) @bernardobelchior
|
|
63
|
+
- [charts] Add configurable slots to toolbar (#17712) @bernardobelchior
|
|
64
|
+
- [charts] Export `useFunnelSeries` and `useRadarSeries` (#18034) @JCQuintas
|
|
65
|
+
- [charts] Expose `ChartApi` through context (#18004) @bernardobelchior
|
|
66
|
+
- [charts] Mark Radar chart as stable (#17946) @alexfauquette
|
|
67
|
+
- [charts] Only update store if interaction item is different (#17851) @bernardobelchior
|
|
68
|
+
- [charts] Reuse shared date utils (#18014) @JCQuintas
|
|
69
|
+
- [charts] Use Map for string cache instead of object (#17982) @bernardobelchior
|
|
70
|
+
- [charts] Fix Population pyramid demo (#17987) @oliviertassinari
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-charts-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
73
|
+
|
|
74
|
+
Same changes as in `@mui/x-charts@8.5.0`, plus:
|
|
75
|
+
|
|
76
|
+
- [charts-pro] Add range selection to zoom slider (#17949) @bernardobelchior
|
|
77
|
+
- [charts-pro] Allow configuring zoom slider tooltip (#18030) @bernardobelchior
|
|
78
|
+
- [charts-pro] Allow exporting a funnel chart (#17957) @bernardobelchior
|
|
79
|
+
- [charts-pro] Allow exporting a heatmap chart (#17916) @bernardobelchior
|
|
80
|
+
- [charts-pro] Allow exporting a radar chart (#17968) @bernardobelchior
|
|
81
|
+
- [charts-pro] Always show both zoom slider tooltips (#18027) @bernardobelchior
|
|
82
|
+
- [charts-pro] Show zoom slider tooltip when selecting range (#18028) @bernardobelchior
|
|
83
|
+
- [charts-pro] Split `ChartAxisZoomSlider` into smaller files (#18011) @bernardobelchior
|
|
84
|
+
- [charts-pro] Update zoom slider range selection cursor (#17977) @bernardobelchior
|
|
85
|
+
- [charts-pro] Add support for Heatmap legend (#17943) @alexfauquette
|
|
86
|
+
|
|
87
|
+
### Tree View
|
|
88
|
+
|
|
89
|
+
#### `@mui/x-tree-view@8.5.0`
|
|
90
|
+
|
|
91
|
+
Internal changes.
|
|
92
|
+
|
|
93
|
+
#### `@mui/x-tree-view-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
94
|
+
|
|
95
|
+
Same changes as in `@mui/x-tree-view@8.5.0`.
|
|
96
|
+
|
|
97
|
+
### Docs
|
|
98
|
+
|
|
99
|
+
- [docs] Fix derived column pivoting demo crash (#17944) @arminmeh
|
|
100
|
+
- [docs] Fix light/dark mode blink on pickers overview (#18002) @alexfauquette
|
|
101
|
+
- [docs] Fix scatter shape demo causing horizontal overflow (#17974) @bernardobelchior
|
|
102
|
+
|
|
103
|
+
### Core
|
|
104
|
+
|
|
105
|
+
- [code-infra] Add bundle size monitor (#17754) @Janpot
|
|
106
|
+
- [code-infra] Enable `babel-plugin-display-name` in vitest (#17903) @JCQuintas
|
|
107
|
+
- [infra] Remove last deprecated `ponyfillGlobal` usage (#18003) @LukasTy
|
|
108
|
+
- [infra] Use `babel-plugin-display-name` from npm (#18040) @LukasTy
|
|
109
|
+
- [x-telemetry] Remove deprecated `ponyfillGlobal` (#17986) @xBlizZer
|
|
110
|
+
|
|
111
|
+
## 8.4.0
|
|
112
|
+
|
|
113
|
+
_May 21, 2025_
|
|
114
|
+
|
|
115
|
+
We'd like to offer a big thanks to the 21 contributors who made this release possible. Here are some highlights ✨:
|
|
116
|
+
|
|
117
|
+
- 🔺 Support regular [`pyramid` variation in the `<FunnelChart />` component](https://mui.com/x/react-charts/funnel/#pyramid-chart):
|
|
118
|
+
|
|
119
|
+
<img width="398" alt="Pyramid funnel chart" src="https://github.com/user-attachments/assets/90ccb221-3a48-4ffa-8878-89c6db16da86" />
|
|
120
|
+
|
|
121
|
+
- 📚 Documentation improvements
|
|
122
|
+
- 🌎 Improve Icelandic (is-IS) locale on the Data Grid
|
|
123
|
+
- 🐞 Bugfixes
|
|
124
|
+
|
|
125
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
126
|
+
@aizerin, @arminmeh, @campmarc, @jyash97, @mapache-salvaje, @noraleonte, @nusr, @ragnarr18, @romgrk, @whereisrmsqhs.
|
|
127
|
+
Following are all team members who have contributed to this release:
|
|
128
|
+
@alexfauquette, @bernardobelchior, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @rita-codes.
|
|
129
|
+
|
|
130
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
131
|
+
|
|
132
|
+
### Data Grid
|
|
133
|
+
|
|
134
|
+
#### `@mui/x-data-grid@8.4.0`
|
|
135
|
+
|
|
136
|
+
- [DataGrid] Fix content rendering for large rows while using automatic page size (#14737) @campmarc
|
|
137
|
+
- [DataGrid] Fix disabled typography variants crashing grid (#17934) @KenanYusuf
|
|
138
|
+
- [DataGrid] Fix tree data demo crash (#17904) @MBilalShafi
|
|
139
|
+
- [DataGrid] Use `exclude` selection model type if quick filter does not have actual values (#17899) @arminmeh
|
|
140
|
+
- [DataGrid] Fix clipboard copy behavior for cell ranges with empty cells (#16797) @nusr
|
|
141
|
+
- [l10n] Improve Icelandic (is-IS) locale (#17915) @ragnarr18
|
|
142
|
+
|
|
143
|
+
#### `@mui/x-data-grid-pro@8.4.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
144
|
+
|
|
145
|
+
Same changes as in `@mui/x-data-grid@8.4.0`, plus:
|
|
146
|
+
|
|
147
|
+
- [DataGridPro] Add `aria-expanded` attribute to the master detail toggle button (#17122) @whereisrmsqhs
|
|
148
|
+
- [DataGridPro] Preserve row state during server-side lazy loading (#17743) @arminmeh
|
|
149
|
+
- [DataGridPro] Prevent text selection when reordering rows (#16568) @jyash97
|
|
150
|
+
|
|
151
|
+
#### `@mui/x-data-grid-premium@8.4.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
152
|
+
|
|
153
|
+
Same changes as in `@mui/x-data-grid-pro@8.4.0`.
|
|
154
|
+
|
|
155
|
+
### Date and Time Pickers
|
|
156
|
+
|
|
157
|
+
#### `@mui/x-date-pickers@8.4.0`
|
|
158
|
+
|
|
159
|
+
- [fields] Ensure fresh `disabled` value is used when focusing or clicking (#17914) @aizerin
|
|
160
|
+
- [fields] Improve the field controlled edition (#17816) @flaviendelangle
|
|
161
|
+
- [pickers] Fix `PickersTextField` overflow (#17942) @noraleonte
|
|
162
|
+
|
|
163
|
+
#### `@mui/x-date-pickers-pro@8.4.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
164
|
+
|
|
165
|
+
Same changes as in `@mui/x-date-pickers@8.4.0`.
|
|
166
|
+
|
|
167
|
+
### Charts
|
|
168
|
+
|
|
169
|
+
#### `@mui/x-charts@8.4.0`
|
|
170
|
+
|
|
171
|
+
- [charts] Add grouped axes demo (#17848) @bernardobelchior
|
|
172
|
+
- [charts] Enable tooltip disable portal (#17871) @alexfauquette
|
|
173
|
+
- [charts] Improve performance in scatter chart (#17849) @bernardobelchior
|
|
174
|
+
- [charts] Recreate `isPointInside` less often (#17850) @bernardobelchior
|
|
175
|
+
- [charts] Try fix for flaky `useAnimate` test (#17777) @JCQuintas
|
|
176
|
+
- [charts] Add `isXInside` and `isYInside` (#17911) @bernardobelchior
|
|
177
|
+
|
|
178
|
+
#### `@mui/x-charts-pro@8.4.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
179
|
+
|
|
180
|
+
Same changes as in `@mui/x-charts@8.4.0`, plus:
|
|
181
|
+
|
|
182
|
+
- [charts-pro] Add size for zoom slider (#17736) @bernardobelchior
|
|
183
|
+
- [charts-pro] Add zoom slider tooltip (#17733) @bernardobelchior
|
|
184
|
+
- [charts-pro] Clean and document Heatmap Tooltip (#17933) @alexfauquette
|
|
185
|
+
- [charts-pro] Introduce `Pyramid` chart (#17783) @JCQuintas
|
|
186
|
+
- [charts-pro] Update zoom slider nomenclature (#17938) @bernardobelchior
|
|
187
|
+
- [charts-pro] Fix error when importing rasterizehtml (#17897) @bernardobelchior
|
|
188
|
+
|
|
189
|
+
### Tree View
|
|
190
|
+
|
|
191
|
+
#### `@mui/x-tree-view@8.4.0`
|
|
192
|
+
|
|
193
|
+
- [TreeView] Add `getItemChildren` prop in `RichTreeView` (#17894) @rita-codes
|
|
194
|
+
- [TreeView] Add a method in the `apiRef` to toggle the editing status of an item (#17768) @rita-codes
|
|
195
|
+
- [TreeView] Add missing sx prop on the Tree Item component (#17930) @flaviendelangle
|
|
196
|
+
|
|
197
|
+
#### `@mui/x-tree-view-pro@8.4.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
198
|
+
|
|
199
|
+
Same changes as in `@mui/x-tree-view@8.4.0`.
|
|
200
|
+
|
|
201
|
+
### Docs
|
|
202
|
+
|
|
203
|
+
- [docs] Add a recipe for drag and drop row grouping (#17638) @KenanYusuf
|
|
204
|
+
- [docs] Add introductory text to Data Grid component pages (#17902) @KenanYusuf
|
|
205
|
+
- [docs] Refactor embedded CodeSandbox on Data Grid—Quickstart page (#17749) @rita-codes
|
|
206
|
+
- [docs] Remove double border on Data Grid—Quickstart demo (#17932) @rita-codes
|
|
207
|
+
- [docs] Standardize `apiRef` copy (#17776) @mapache-salvaje
|
|
208
|
+
- [docs][DataGrid] Revise server-side data docs (#17007) @mapache-salvaje
|
|
209
|
+
- [docs][DataGrid] Audit and revise the tree data doc (#17650) @mapache-salvaje
|
|
210
|
+
- [docs][pickers] Fix migration guide references to range fields (#17861) @LukasTy
|
|
211
|
+
- [docs][charts] Reorganize the Tooltip documentation (#17917) @alexfauquette
|
|
212
|
+
|
|
213
|
+
### Core
|
|
214
|
+
|
|
215
|
+
- [core] refactor: remove manual `displayName` (#17845) @romgrk
|
|
216
|
+
- [code-infra] Document how to use `vitest` cli (#17847) @JCQuintas
|
|
217
|
+
- [code-infra] Increase charts export test timeout (#17909) @JCQuintas
|
|
218
|
+
- [code-infra] Set `isolatedModules=true` in tsconfig (#17781) @JCQuintas
|
|
219
|
+
- [infra] Ensure proper docs preview path resolution (#17863) @LukasTy
|
|
220
|
+
|
|
8
221
|
## 8.3.1
|
|
9
222
|
|
|
10
223
|
_May 14, 2025_
|
|
@@ -40,7 +40,7 @@ const configuration = {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
const releaseInfo = "
|
|
43
|
+
const releaseInfo = "MTc0ODQ2OTYwMDAwMA==";
|
|
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
|
*/
|
|
@@ -1251,8 +1259,9 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
1251
1259
|
/**
|
|
1252
1260
|
* The function is used to split the pasted text into rows and cells.
|
|
1253
1261
|
* @param {string} text The text pasted from the clipboard.
|
|
1262
|
+
* @param {string} delimiter The delimiter used to split the text. Default is the tab character and can be set with the `clipboardCopyCellDelimiter` prop.
|
|
1254
1263
|
* @returns {string[][] | null} A 2D array of strings. The first dimension is the rows, the second dimension is the columns.
|
|
1255
|
-
* @default (pastedText) => { const text = pastedText.replace(/\r?\n$/, ''); return text.split(/\r\n|\n|\r/).map((row) => row.split(
|
|
1264
|
+
* @default (pastedText, delimiter = '\t') => { const text = pastedText.replace(/\r?\n$/, ''); return text.split(/\r\n|\n|\r/).map((row) => row.split(delimiter)); }
|
|
1256
1265
|
*/
|
|
1257
1266
|
splitClipboardPastedText: _propTypes.default.func,
|
|
1258
1267
|
style: _propTypes.default.object,
|
|
@@ -1287,4 +1296,5 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
1287
1296
|
* API:
|
|
1288
1297
|
* - [DataGridPremium API](https://mui.com/x/api/data-grid/data-grid-premium/)
|
|
1289
1298
|
*/
|
|
1290
|
-
const DataGridPremium = exports.DataGridPremium = /*#__PURE__*/React.memo(DataGridPremiumRaw);
|
|
1299
|
+
const DataGridPremium = exports.DataGridPremium = /*#__PURE__*/React.memo(DataGridPremiumRaw);
|
|
1300
|
+
if (process.env.NODE_ENV !== "production") DataGridPremium.displayName = "DataGridPremium";
|
|
@@ -35,11 +35,11 @@ const DATA_GRID_PREMIUM_PROPS_DEFAULT_VALUES = exports.DATA_GRID_PREMIUM_PROPS_D
|
|
|
35
35
|
aggregationRowsScope: 'filtered',
|
|
36
36
|
getAggregationPosition: groupNode => groupNode.depth === -1 ? 'footer' : 'inline',
|
|
37
37
|
disableClipboardPaste: false,
|
|
38
|
-
splitClipboardPastedText: pastedText => {
|
|
38
|
+
splitClipboardPastedText: (pastedText, delimiter = '\t') => {
|
|
39
39
|
// Excel on Windows adds an empty line break at the end of the copied text.
|
|
40
40
|
// See https://github.com/mui/mui-x/issues/9103
|
|
41
41
|
const text = pastedText.replace(/\r?\n$/, '');
|
|
42
|
-
return text.split(/\r\n|\n|\r/).map(row => row.split(
|
|
42
|
+
return text.split(/\r\n|\n|\r/).map(row => row.split(delimiter));
|
|
43
43
|
},
|
|
44
44
|
disablePivoting: false,
|
|
45
45
|
getPivotDerivedColumns: _utils.defaultGetPivotDerivedColumns,
|
|
@@ -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,
|
|
@@ -37,6 +37,7 @@ function GridColumnMenuRowGroupItem(props) {
|
|
|
37
37
|
children: apiRef.current.getLocaleText('unGroupColumn')(name)
|
|
38
38
|
}, field);
|
|
39
39
|
};
|
|
40
|
+
if (process.env.NODE_ENV !== "production") renderUnGroupingMenuItem.displayName = "renderUnGroupingMenuItem";
|
|
40
41
|
if (!colDef || !(0, _gridRowGroupingUtils.isGroupingColumn)(colDef.field)) {
|
|
41
42
|
return null;
|
|
42
43
|
}
|
|
@@ -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";
|
|
@@ -52,6 +52,7 @@ function GridPremiumToolbar(props) {
|
|
|
52
52
|
onClick: onMenuItemClick,
|
|
53
53
|
children: apiRef.current.getLocaleText('toolbarExportExcel')
|
|
54
54
|
}) : undefined;
|
|
55
|
+
if (process.env.NODE_ENV !== "production") additionalExportMenuItems.displayName = "additionalExportMenuItems";
|
|
55
56
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_internals.GridToolbar, (0, _extends2.default)({}, other, {
|
|
56
57
|
additionalItems: additionalItems,
|
|
57
58
|
additionalExportMenuItems: additionalExportMenuItems
|
|
@@ -82,6 +82,7 @@ const AiAssistantPanelTrigger = exports.AiAssistantPanelTrigger = (0, _forwardRe
|
|
|
82
82
|
children: element
|
|
83
83
|
});
|
|
84
84
|
});
|
|
85
|
+
if (process.env.NODE_ENV !== "production") AiAssistantPanelTrigger.displayName = "AiAssistantPanelTrigger";
|
|
85
86
|
process.env.NODE_ENV !== "production" ? AiAssistantPanelTrigger.propTypes = {
|
|
86
87
|
// ----------------------------- Warning --------------------------------
|
|
87
88
|
// | 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',
|
|
@@ -8,6 +8,7 @@ exports.CollapsibleContext = void 0;
|
|
|
8
8
|
exports.useCollapsibleContext = useCollapsibleContext;
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
const CollapsibleContext = exports.CollapsibleContext = /*#__PURE__*/React.createContext(undefined);
|
|
11
|
+
if (process.env.NODE_ENV !== "production") CollapsibleContext.displayName = "CollapsibleContext";
|
|
11
12
|
function useCollapsibleContext() {
|
|
12
13
|
const context = React.useContext(CollapsibleContext);
|
|
13
14
|
if (context === undefined) {
|
|
@@ -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',
|
|
@@ -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',
|
|
@@ -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]) ?? [];
|
|
@@ -69,6 +69,7 @@ const PromptField = exports.PromptField = (0, _forwardRef.forwardRef)(function P
|
|
|
69
69
|
children: element
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
|
+
if (process.env.NODE_ENV !== "production") PromptField.displayName = "PromptField";
|
|
72
73
|
process.env.NODE_ENV !== "production" ? PromptField.propTypes = {
|
|
73
74
|
// ----------------------------- Warning --------------------------------
|
|
74
75
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -8,6 +8,7 @@ exports.PromptFieldContext = void 0;
|
|
|
8
8
|
exports.usePromptFieldContext = usePromptFieldContext;
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
const PromptFieldContext = exports.PromptFieldContext = /*#__PURE__*/React.createContext(undefined);
|
|
11
|
+
if (process.env.NODE_ENV !== "production") PromptFieldContext.displayName = "PromptFieldContext";
|
|
11
12
|
function usePromptFieldContext() {
|
|
12
13
|
const context = React.useContext(PromptFieldContext);
|
|
13
14
|
if (context === undefined) {
|
|
@@ -65,6 +65,7 @@ const PromptFieldControl = exports.PromptFieldControl = (0, _forwardRef.forwardR
|
|
|
65
65
|
children: element
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
|
+
if (process.env.NODE_ENV !== "production") PromptFieldControl.displayName = "PromptFieldControl";
|
|
68
69
|
process.env.NODE_ENV !== "production" ? PromptFieldControl.propTypes = {
|
|
69
70
|
// ----------------------------- Warning --------------------------------
|
|
70
71
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -131,6 +131,7 @@ const PromptFieldRecord = exports.PromptFieldRecord = (0, _forwardRef.forwardRef
|
|
|
131
131
|
children: element
|
|
132
132
|
});
|
|
133
133
|
});
|
|
134
|
+
if (process.env.NODE_ENV !== "production") PromptFieldRecord.displayName = "PromptFieldRecord";
|
|
134
135
|
process.env.NODE_ENV !== "production" ? PromptFieldRecord.propTypes = {
|
|
135
136
|
// ----------------------------- Warning --------------------------------
|
|
136
137
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -56,6 +56,7 @@ const PromptFieldSend = exports.PromptFieldSend = (0, _forwardRef.forwardRef)(fu
|
|
|
56
56
|
children: element
|
|
57
57
|
});
|
|
58
58
|
});
|
|
59
|
+
if (process.env.NODE_ENV !== "production") PromptFieldSend.displayName = "PromptFieldSend";
|
|
59
60
|
process.env.NODE_ENV !== "production" ? PromptFieldSend.propTypes = {
|
|
60
61
|
// ----------------------------- Warning --------------------------------
|
|
61
62
|
// | These PropTypes are generated from the TypeScript type definitions |
|