@redsift/table 12.5.13-muiv6 → 12.5.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,89 +1,18 @@
1
- import * as _mui_x_data_grid_pro from '@mui/x-data-grid-pro';
2
- import { GridColumnTypesRecord, GridColDef, GridFilterOperator, GridFilterItem, GridCellParams, GridFilterInputValue, GridFilterInputSingleSelect, GridFilterInputMultipleValue, GridFilterInputMultipleSingleSelect, DataGridProProps, GridFilterModel, GridPaginationModel, GridSortModel, GridSortItem, GridColumnVisibilityModel, GridPinnedColumns, GridSlotsComponent, GridApiPro as GridApiPro$1, GridRowParams, GridRowSelectionModel, GridToolbarExportProps, GridToolbarFilterButtonProps, GridToolbarColumnsButton, GridToolbarDensitySelector } from '@mui/x-data-grid-pro';
3
- export { GridAlignment, GridColDef, GridFilterItem, GridFilterModel, getGridBooleanOperators, getGridDateOperators, getGridSingleSelectOperators } from '@mui/x-data-grid-pro';
4
- import { GridInitialStatePro } from '@mui/x-data-grid-pro/models/gridStatePro';
5
- import React, { ReactNode, ComponentProps, MutableRefObject, RefObject } from 'react';
1
+ import { GridColTypeDef, GridColType, GridColDef, GridFilterOperator, GridFilterInputSingleSelect, GridFilterInputMultipleSingleSelect, GridRowId, GridRowSelectionModel, DataGridPremiumProps, GridFilterModel, GridPaginationModel, GridSortModel, GridColumnVisibilityModel, GridPinnedColumnFields, GridInitialState, GridRowGroupingModel, GridAggregationModel, GridPivotModel, GridSlotsComponent, GridApiPremium, GridCallbackDetails, GridRowParams, GridToolbarExportProps, GridToolbarFilterButtonProps, GridToolbarColumnsButton, GridToolbarDensitySelector } from '@mui/x-data-grid-premium';
2
+ export { GridAlignment, GridColDef, GridFilterItem, GridFilterModel, getGridBooleanOperators, getGridDateOperators, getGridSingleSelectOperators } from '@mui/x-data-grid-premium';
3
+ import * as _mui_x_data_grid from '@mui/x-data-grid';
4
+ import React$1, { Ref, ReactElement, ComponentProps, ReactNode, MutableRefObject, RefObject } from 'react';
6
5
  import { TablePaginationProps } from '@mui/material';
7
- import { Theme, Comp, IconProps, NotificationsColorPalette, ProductColorPalette, ShieldVariant } from '@redsift/design-system';
8
- import { GridApiPro } from '@mui/x-data-grid-pro/models/gridApiPro';
9
6
 
10
- declare const DETAIL_PANEL_TOGGLE_COL_DEF: _mui_x_data_grid_pro.GridColDef;
7
+ declare const DETAIL_PANEL_TOGGLE_COL_DEF: _mui_x_data_grid.GridColDef;
11
8
 
12
- declare const getRsStringColumnType: () => {
13
- type: string;
14
- filterOperators: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
15
- };
16
- declare const getRsNumberColumnType: () => {
17
- type: string;
18
- filterOperators: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
19
- };
20
- declare const getRsSingleSelectColumnType: () => {
21
- type: string;
22
- filterOperators: ({
23
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
24
- label: string;
25
- value: string;
26
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
27
- } | {
28
- label: string;
29
- value: string;
30
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
31
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleValue;
32
- } | {
33
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
34
- label: string;
35
- value: string;
36
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
37
- })[];
38
- };
39
- declare const getRsSingleSelectWithShortOperatorListColumnType: () => {
40
- type: string;
41
- filterOperators: ({
42
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
43
- label: string;
44
- value: string;
45
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
46
- } | {
47
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
48
- label: string;
49
- value: string;
50
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
51
- })[];
52
- };
53
- declare const getRsMultipleSelectColumnType: () => {
54
- type: string;
55
- filterOperators: ({
56
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
57
- label: string;
58
- value: string;
59
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
60
- } | {
61
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
62
- label: string;
63
- value: string;
64
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
65
- } | {
66
- label: string;
67
- value: string;
68
- getApplyFilterFn: (_filterItem: _mui_x_data_grid_pro.GridFilterItem) => (params: _mui_x_data_grid_pro.GridCellParams) => boolean;
69
- requiresFilterValue: boolean;
70
- })[];
71
- };
72
- declare const getRsMultipleSelectWithShortOperatorListColumnType: () => {
73
- type: string;
74
- filterOperators: ({
75
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
76
- label: string;
77
- value: string;
78
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
79
- } | {
80
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
81
- label: string;
82
- value: string;
83
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
84
- })[];
85
- };
86
- declare const customColumnTypes: Partial<GridColumnTypesRecord>;
9
+ declare const getRsStringColumnType: () => GridColTypeDef;
10
+ declare const getRsNumberColumnType: () => GridColTypeDef;
11
+ declare const getRsSingleSelectColumnType: () => GridColTypeDef;
12
+ declare const getRsSingleSelectWithShortOperatorListColumnType: () => GridColTypeDef;
13
+ declare const getRsMultipleSelectColumnType: () => GridColTypeDef;
14
+ declare const getRsMultipleSelectWithShortOperatorListColumnType: () => GridColTypeDef;
15
+ declare const customColumnTypes: Record<GridColType | string, GridColTypeDef>;
87
16
 
88
17
  type StringOperatorName = 'contains' | 'doesNotContain' | 'equals' | 'doesNotEqual' | 'startsWith' | 'doesNotStartWith' | 'endsWith' | 'doesNotEndWith' | 'isEmpty' | 'isNotEmpty' | 'isAnyOf' | 'isNotAnyOf' | 'containsAnyOf' | 'doesNotContainAnyOf' | 'startsWithAnyOf' | 'doesNotStartWithAnyOf' | 'endsWithAnyOf' | 'doesNotEndWithAnyOf';
89
18
  type NumberOperatorName = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'isEmpty' | 'isNotEmpty' | 'isBetween';
@@ -125,242 +54,174 @@ type ColumnOptions<T extends ColumnType> = T extends 'string' ? StringColumnOpti
125
54
  */
126
55
  declare function createColumn<T extends ColumnType>(type: T, options?: ColumnOptions<T>): Partial<GridColDef>;
127
56
 
128
- declare const ARRAY_IS_EMPTY: {
129
- label: string;
130
- value: string;
131
- getApplyFilterFn: (_filterItem: GridFilterItem) => (params: GridCellParams) => boolean;
132
- requiresFilterValue: boolean;
133
- };
134
- declare const ARRAY_IS_NOT_EMPTY: {
135
- label: string;
136
- value: string;
137
- getApplyFilterFn: (_filterItem: GridFilterItem) => (params: GridCellParams) => boolean;
138
- requiresFilterValue: boolean;
139
- };
57
+ declare const ARRAY_IS_EMPTY: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
58
+ declare const ARRAY_IS_NOT_EMPTY: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
140
59
 
141
- declare const DATE_IS_BETWEEN: {
142
- label: string;
143
- value: string;
144
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams<any, any>) => boolean) | null;
145
- InputComponent: (props: any) => JSX.Element;
146
- };
60
+ declare const DATE_IS_BETWEEN: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
147
61
 
148
62
  declare const getGridDateOperatorsExtended: (showTime?: boolean) => GridFilterOperator[];
149
63
 
150
- declare const IS_BETWEEN: {
151
- label: string;
152
- value: string;
153
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams<any, any>) => boolean) | null;
154
- InputComponent: (props: any) => JSX.Element;
155
- };
64
+ declare const IS_BETWEEN: GridFilterOperator<any, number, any, _mui_x_data_grid.GridFilterInputValueProps>;
156
65
 
157
- declare const getGridNumericOperators: () => GridFilterOperator<any, number | string | null, any>[];
66
+ declare const getGridNumericOperators: () => GridFilterOperator<any, unknown, any>[];
158
67
 
159
- declare const DOES_NOT_CONTAIN: {
160
- label: string;
161
- value: string;
162
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
163
- InputComponent: typeof GridFilterInputValue;
164
- };
68
+ declare const DOES_NOT_CONTAIN: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
165
69
 
166
- declare const DOES_NOT_END_WITH: {
167
- label: string;
168
- value: string;
169
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
170
- InputComponent: typeof GridFilterInputValue;
171
- };
70
+ declare const DOES_NOT_END_WITH: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
172
71
 
173
- declare const DOES_NOT_EQUAL: {
174
- label: string;
175
- value: string;
176
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
177
- InputComponent: typeof GridFilterInputValue;
178
- };
72
+ declare const DOES_NOT_EQUAL: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
179
73
 
180
- declare const DOES_NOT_HAVE: {
181
- label: string;
182
- value: string;
183
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
184
- InputComponent: typeof GridFilterInputValue;
185
- };
74
+ declare const DOES_NOT_HAVE: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
186
75
  declare const DOES_NOT_HAVE_WITH_SELECT: {
187
76
  InputComponent: typeof GridFilterInputSingleSelect;
188
- label: string;
189
- value: string;
190
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
77
+ label?: string;
78
+ headerLabel?: string;
79
+ value: _mui_x_data_grid.GridFilterItem["operator"];
80
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
81
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
82
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
83
+ requiresFilterValue?: boolean;
191
84
  };
192
85
 
193
- declare const DOES_NOT_START_WITH: {
194
- label: string;
195
- value: string;
196
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
197
- InputComponent: typeof GridFilterInputValue;
198
- };
86
+ declare const DOES_NOT_START_WITH: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
199
87
 
200
- declare const HAS: {
201
- label: string;
202
- value: string;
203
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
204
- InputComponent: typeof GridFilterInputValue;
205
- };
88
+ declare const HAS: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
206
89
  declare const HAS_WITH_SELECT: {
207
90
  InputComponent: typeof GridFilterInputSingleSelect;
208
- label: string;
209
- value: string;
210
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
91
+ label?: string;
92
+ headerLabel?: string;
93
+ value: _mui_x_data_grid.GridFilterItem["operator"];
94
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
95
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
96
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
97
+ requiresFilterValue?: boolean;
211
98
  };
212
99
 
213
- declare const HAS_ONLY: {
214
- label: string;
215
- value: string;
216
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
217
- InputComponent: typeof GridFilterInputValue;
218
- };
100
+ declare const HAS_ONLY: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
219
101
  declare const HAS_ONLY_WITH_SELECT: {
220
102
  InputComponent: typeof GridFilterInputSingleSelect;
221
- label: string;
222
- value: string;
223
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
103
+ label?: string;
104
+ headerLabel?: string;
105
+ value: _mui_x_data_grid.GridFilterItem["operator"];
106
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
107
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
108
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
109
+ requiresFilterValue?: boolean;
224
110
  };
225
111
 
226
- declare const IS: {
227
- label: string;
228
- value: string;
229
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
230
- InputComponent: typeof GridFilterInputValue;
231
- };
112
+ declare const IS: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
232
113
  declare const IS_WITH_SELECT: {
233
114
  InputComponent: typeof GridFilterInputSingleSelect;
234
- label: string;
235
- value: string;
236
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
115
+ label?: string;
116
+ headerLabel?: string;
117
+ value: _mui_x_data_grid.GridFilterItem["operator"];
118
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
119
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
120
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
121
+ requiresFilterValue?: boolean;
237
122
  };
238
123
 
239
- declare const IS_NOT: {
240
- label: string;
241
- value: string;
242
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
243
- InputComponent: typeof GridFilterInputValue;
244
- };
124
+ declare const IS_NOT: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
245
125
  declare const IS_NOT_WITH_SELECT: {
246
126
  InputComponent: typeof GridFilterInputSingleSelect;
247
- label: string;
248
- value: string;
249
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
127
+ label?: string;
128
+ headerLabel?: string;
129
+ value: _mui_x_data_grid.GridFilterItem["operator"];
130
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
131
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
132
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
133
+ requiresFilterValue?: boolean;
250
134
  };
251
135
 
252
- declare const getGridStringOperators: () => GridFilterOperator<any, number | string | null, any>[];
136
+ declare const getGridStringOperators: () => GridFilterOperator<any, unknown, any>[];
253
137
 
254
- declare const CONTAINS_ANY_OF: {
255
- label: string;
256
- value: string;
257
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
258
- InputComponent: typeof GridFilterInputMultipleValue;
259
- };
138
+ declare const CONTAINS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
260
139
 
261
- declare const DOES_NOT_CONTAIN_ANY_OF: {
262
- label: string;
263
- value: string;
264
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
265
- InputComponent: typeof GridFilterInputMultipleValue;
266
- };
140
+ declare const DOES_NOT_CONTAIN_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
267
141
 
268
- declare const DOES_NOT_END_WITH_ANY_OF: {
269
- label: string;
270
- value: string;
271
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
272
- InputComponent: typeof GridFilterInputMultipleValue;
273
- };
142
+ declare const DOES_NOT_END_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
274
143
 
275
- declare const DOES_NOT_HAVE_ANY_OF: {
276
- label: string;
277
- value: string;
278
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
279
- InputComponent: typeof GridFilterInputMultipleValue;
280
- };
144
+ declare const DOES_NOT_HAVE_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
281
145
  declare const DOES_NOT_HAVE_ANY_OF_WITH_SELECT: {
282
146
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
283
- label: string;
284
- value: string;
285
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
147
+ label?: string;
148
+ headerLabel?: string;
149
+ value: _mui_x_data_grid.GridFilterItem["operator"];
150
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
151
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
152
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
153
+ requiresFilterValue?: boolean;
286
154
  };
287
155
 
288
- declare const DOES_NOT_START_WITH_ANY_OF: {
289
- label: string;
290
- value: string;
291
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
292
- InputComponent: typeof GridFilterInputMultipleValue;
293
- };
156
+ declare const DOES_NOT_START_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
294
157
 
295
- declare const ENDS_WITH_ANY_OF: {
296
- label: string;
297
- value: string;
298
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
299
- InputComponent: typeof GridFilterInputMultipleValue;
300
- };
158
+ declare const ENDS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
301
159
 
302
- declare const HAS_ALL_OF: {
303
- label: string;
304
- value: string;
305
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
306
- InputComponent: typeof GridFilterInputMultipleValue;
307
- };
160
+ declare const HAS_ALL_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
308
161
  declare const HAS_ALL_OF_WITH_SELECT: {
309
162
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
310
- label: string;
311
- value: string;
312
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
163
+ label?: string;
164
+ headerLabel?: string;
165
+ value: _mui_x_data_grid.GridFilterItem["operator"];
166
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
167
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
168
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
169
+ requiresFilterValue?: boolean;
313
170
  };
314
171
 
315
- declare const HAS_ANY_OF: {
316
- label: string;
317
- value: string;
318
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
319
- InputComponent: typeof GridFilterInputMultipleValue;
320
- };
172
+ declare const HAS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
321
173
  declare const HAS_ANY_OF_WITH_SELECT: {
322
174
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
323
- label: string;
324
- value: string;
325
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
175
+ label?: string;
176
+ headerLabel?: string;
177
+ value: _mui_x_data_grid.GridFilterItem["operator"];
178
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
179
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
180
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
181
+ requiresFilterValue?: boolean;
326
182
  };
327
183
 
328
- declare const IS_ANY_OF: {
329
- label: string;
330
- value: string;
331
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
332
- InputComponent: typeof GridFilterInputMultipleValue;
333
- };
184
+ declare const IS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
334
185
  declare const IS_ANY_OF_WITH_SELECT: {
335
186
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
336
- label: string;
337
- value: string;
338
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
187
+ label?: string;
188
+ headerLabel?: string;
189
+ value: _mui_x_data_grid.GridFilterItem["operator"];
190
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
191
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
192
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
193
+ requiresFilterValue?: boolean;
339
194
  };
340
195
 
341
- declare const IS_NOT_ANY_OF: {
342
- label: string;
343
- value: string;
344
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
345
- InputComponent: typeof GridFilterInputMultipleValue;
196
+ declare const IS_ANY_OF_I: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
197
+ declare const IS_ANY_OF_I_WITH_SELECT: {
198
+ InputComponent: typeof GridFilterInputMultipleSingleSelect;
199
+ label?: string;
200
+ headerLabel?: string;
201
+ value: _mui_x_data_grid.GridFilterItem["operator"];
202
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
203
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
204
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
205
+ requiresFilterValue?: boolean;
346
206
  };
207
+
208
+ declare const IS_NOT_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
347
209
  declare const IS_NOT_ANY_OF_WITH_SELECT: {
348
210
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
349
- label: string;
350
- value: string;
351
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
211
+ label?: string;
212
+ headerLabel?: string;
213
+ value: _mui_x_data_grid.GridFilterItem["operator"];
214
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
215
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
216
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
217
+ requiresFilterValue?: boolean;
352
218
  };
353
219
 
354
- declare const STARTS_WITH_ANY_OF: {
355
- label: string;
356
- value: string;
357
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
358
- InputComponent: typeof GridFilterInputMultipleValue;
359
- };
220
+ declare const STARTS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
360
221
 
361
- declare const getGridStringArrayOperators: () => GridFilterOperator<any, number | string | null, any>[];
362
- declare const getGridStringArrayOperatorsWithSelect: () => GridFilterOperator<any, number | string | null, any>[];
363
- declare const getGridStringArrayOperatorsWithSelectOnStringArrayColumns: () => GridFilterOperator<any, number | string | null, any>[];
222
+ declare const getGridStringArrayOperators: () => GridFilterOperator<any, unknown, any>[];
223
+ declare const getGridStringArrayOperatorsWithSelect: () => GridFilterOperator<any, unknown, any>[];
224
+ declare const getGridStringArrayOperatorsWithSelectOnStringArrayColumns: () => GridFilterOperator<any, unknown, any>[];
364
225
 
365
226
  /**
366
227
  * Wraps a filter operator's `getApplyFilterFn` to lowercase both the cell value
@@ -375,69 +236,93 @@ declare const wrapCaseInsensitive: (operator: GridFilterOperator) => GridFilterO
375
236
  declare const makeCaseInsensitive: (operators: GridFilterOperator[]) => GridFilterOperator[];
376
237
 
377
238
  declare const operatorList: {
378
- string: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
379
- number: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
380
- boolean: _mui_x_data_grid_pro.GridFilterOperator<any, boolean | null, any>[];
381
- date: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
382
- dateTime: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
383
- singleSelect: _mui_x_data_grid_pro.GridFilterOperator<any, any, any>[];
384
- rsString: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
385
- rsNumber: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
386
- rsSingleSelect: ({
387
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
388
- label: string;
389
- value: string;
390
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
239
+ string: _mui_x_data_grid.GridFilterOperator<any, string | number | null, any, _mui_x_data_grid.GridFilterInputValueProps>[];
240
+ number: _mui_x_data_grid.GridFilterOperator<any, string | number | null, any, _mui_x_data_grid.GridFilterInputValueProps & {
241
+ type?: "number";
242
+ }>[];
243
+ boolean: _mui_x_data_grid.GridFilterOperator<any, boolean | null, any, _mui_x_data_grid.GridFilterInputValueProps>[];
244
+ date: _mui_x_data_grid.GridFilterOperator<any, Date, any, _mui_x_data_grid.GridFilterInputDateProps>[];
245
+ dateTime: _mui_x_data_grid.GridFilterOperator<any, Date, any, _mui_x_data_grid.GridFilterInputDateProps>[];
246
+ singleSelect: _mui_x_data_grid.GridFilterOperator<any, any, any, _mui_x_data_grid.GridFilterInputValueProps>[];
247
+ rsString: _mui_x_data_grid.GridFilterOperator<any, unknown, any, _mui_x_data_grid.GridFilterInputValueProps>[];
248
+ rsNumber: _mui_x_data_grid.GridFilterOperator<any, unknown, any, _mui_x_data_grid.GridFilterInputValueProps>[];
249
+ rsSingleSelect: (_mui_x_data_grid.GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps> | {
250
+ InputComponent: typeof _mui_x_data_grid.GridFilterInputSingleSelect;
251
+ label?: string;
252
+ headerLabel?: string;
253
+ value: _mui_x_data_grid.GridFilterItem["operator"];
254
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
255
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
256
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
257
+ requiresFilterValue?: boolean;
391
258
  } | {
392
- label: string;
393
- value: string;
394
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
395
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleValue;
396
- } | {
397
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
398
- label: string;
399
- value: string;
400
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
259
+ InputComponent: typeof _mui_x_data_grid.GridFilterInputMultipleSingleSelect;
260
+ label?: string;
261
+ headerLabel?: string;
262
+ value: _mui_x_data_grid.GridFilterItem["operator"];
263
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
264
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
265
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
266
+ requiresFilterValue?: boolean;
401
267
  })[];
402
268
  rsSingleSelectWithShortOperatorList: ({
403
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
404
- label: string;
405
- value: string;
406
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
269
+ InputComponent: typeof _mui_x_data_grid.GridFilterInputSingleSelect;
270
+ label?: string;
271
+ headerLabel?: string;
272
+ value: _mui_x_data_grid.GridFilterItem["operator"];
273
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
274
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
275
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
276
+ requiresFilterValue?: boolean;
407
277
  } | {
408
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
409
- label: string;
410
- value: string;
411
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
278
+ InputComponent: typeof _mui_x_data_grid.GridFilterInputMultipleSingleSelect;
279
+ label?: string;
280
+ headerLabel?: string;
281
+ value: _mui_x_data_grid.GridFilterItem["operator"];
282
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
283
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
284
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
285
+ requiresFilterValue?: boolean;
412
286
  })[];
413
- rsMultipleSelect: ({
414
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
415
- label: string;
416
- value: string;
417
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
418
- } | {
419
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
420
- label: string;
421
- value: string;
422
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
287
+ rsMultipleSelect: (_mui_x_data_grid.GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps> | {
288
+ InputComponent: typeof _mui_x_data_grid.GridFilterInputSingleSelect;
289
+ label?: string;
290
+ headerLabel?: string;
291
+ value: _mui_x_data_grid.GridFilterItem["operator"];
292
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
293
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
294
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
295
+ requiresFilterValue?: boolean;
423
296
  } | {
424
- label: string;
425
- value: string;
426
- getApplyFilterFn: (_filterItem: _mui_x_data_grid_pro.GridFilterItem) => (params: _mui_x_data_grid_pro.GridCellParams) => boolean;
427
- requiresFilterValue: boolean;
297
+ InputComponent: typeof _mui_x_data_grid.GridFilterInputMultipleSingleSelect;
298
+ label?: string;
299
+ headerLabel?: string;
300
+ value: _mui_x_data_grid.GridFilterItem["operator"];
301
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
302
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
303
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
304
+ requiresFilterValue?: boolean;
428
305
  })[];
429
306
  rsMultipleSelectWithShortOperatorList: ({
430
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
431
- label: string;
432
- value: string;
433
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
307
+ InputComponent: typeof _mui_x_data_grid.GridFilterInputSingleSelect;
308
+ label?: string;
309
+ headerLabel?: string;
310
+ value: _mui_x_data_grid.GridFilterItem["operator"];
311
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
312
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
313
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
314
+ requiresFilterValue?: boolean;
434
315
  } | {
435
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
436
- label: string;
437
- value: string;
438
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
316
+ InputComponent: typeof _mui_x_data_grid.GridFilterInputMultipleSingleSelect;
317
+ label?: string;
318
+ headerLabel?: string;
319
+ value: _mui_x_data_grid.GridFilterItem["operator"];
320
+ getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
321
+ InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
322
+ getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
323
+ requiresFilterValue?: boolean;
439
324
  })[];
440
- rsStringArray: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
325
+ rsStringArray: _mui_x_data_grid.GridFilterOperator<any, unknown, any, _mui_x_data_grid.GridFilterInputValueProps>[];
441
326
  };
442
327
 
443
328
  declare function getCompletion(text: string, role: string, openai_api_key: string | undefined, model?: string): Promise<string>;
@@ -451,7 +336,13 @@ declare const DIMENSION_MODEL_KEY = "dimension";
451
336
  declare const FILTER_SEARCH_KEY = "searchModel";
452
337
  declare const DENSITY_MODEL_KEY = "densityModel";
453
338
  declare const COLUMN_ORDER_MODEL_KEY = "columnOrderModel";
454
- declare const CATEGORIES: readonly ["paginationModel", "filterModel", "sortModel", "visibilityModel", "dimension", "searchModel", "pinnedColumns", "densityModel", "columnOrderModel"];
339
+ declare const ROW_GROUPING_MODEL_KEY = "rowGroupingModel";
340
+ declare const AGGREGATION_MODEL_KEY = "aggregationModel";
341
+ /** Storage category key for the pivot column/row/value configuration. Consumer interop — use with `buildStorageKey`. */
342
+ declare const PIVOT_MODEL_KEY = "pivotModel";
343
+ /** Storage category key for whether pivoting is active. Consumer interop — use with `buildStorageKey`. */
344
+ declare const PIVOT_ACTIVE_KEY = "pivotActive";
345
+ declare const CATEGORIES: readonly ["paginationModel", "filterModel", "sortModel", "visibilityModel", "dimension", "searchModel", "pinnedColumns", "densityModel", "columnOrderModel", "rowGroupingModel", "aggregationModel", "pivotModel", "pivotActive"];
455
346
  type Category = (typeof CATEGORIES)[number];
456
347
  /**
457
348
  * Build the localStorage key for a specific grid state category.
@@ -459,7 +350,7 @@ type Category = (typeof CATEGORIES)[number];
459
350
  *
460
351
  * @example
461
352
  * ```ts
462
- * const key = buildStorageKey({ id: pathname, version: 2, category: 'filterModel' });
353
+ * const key = buildStorageKey({ id: pathname, version: 2, category: PIVOT_ACTIVE_KEY });
463
354
  * localStorage.removeItem(key);
464
355
  * ```
465
356
  */
@@ -467,7 +358,7 @@ declare const buildStorageKey: ({ id, version, category }: {
467
358
  id: string;
468
359
  version: number;
469
360
  category: Category;
470
- }) => `${string}:${number}:paginationModel` | `${string}:${number}:filterModel` | `${string}:${number}:sortModel` | `${string}:${number}:visibilityModel` | `${string}:${number}:pinnedColumns` | `${string}:${number}:dimension` | `${string}:${number}:searchModel` | `${string}:${number}:densityModel` | `${string}:${number}:columnOrderModel`;
361
+ }) => `${string}:${number}:paginationModel` | `${string}:${number}:filterModel` | `${string}:${number}:sortModel` | `${string}:${number}:visibilityModel` | `${string}:${number}:pinnedColumns` | `${string}:${number}:dimension` | `${string}:${number}:searchModel` | `${string}:${number}:densityModel` | `${string}:${number}:columnOrderModel` | `${string}:${number}:rowGroupingModel` | `${string}:${number}:aggregationModel` | `${string}:${number}:pivotModel` | `${string}:${number}:pivotActive`;
471
362
  declare const clearPreviousVersionStorage: (id: string, previousLocalStorageVersions: number[]) => void;
472
363
  /**
473
364
  * Clear localStorage keys for all versions from 0 to `maxVersion` (inclusive).
@@ -515,13 +406,14 @@ declare const resetStatefulDataGridState: ({ id, versions, search, historyReplac
515
406
  * default (all columns visible). Clears the persisted `visibilityModel`
516
407
  * localStorage entry for the given versions and strips the `_columnVisibility`
517
408
  * param from the live URL, leaving every other piece of grid state (filters,
518
- * sort, pagination, pinned columns, …) untouched.
409
+ * sort, pivot, pagination, pinned columns, …) untouched.
519
410
  *
520
411
  * This is the visibility-scoped counterpart to `resetStatefulDataGridState`.
521
- * Reach for it at transition points where a stale visibility snapshot would
522
- * otherwise re-seed and keep base columns hidden. Because it leaves the other
523
- * params alone it will not clobber a filter the caller is writing in the same
524
- * transition.
412
+ * Reach for it at transition points — for example drilling down from pivot
413
+ * mode to a flat record view — where a stale pivot-era visibility snapshot
414
+ * would otherwise re-seed and keep base columns hidden. Because it leaves the
415
+ * other params alone it will not clobber a filter the caller is writing in the
416
+ * same transition.
525
417
  *
526
418
  * Like `resetStatefulDataGridState`, the URL strip reads `window.location.search`
527
419
  * directly so it operates on the live URL (the caller's captured snapshot may
@@ -548,7 +440,229 @@ declare const resetColumnVisibility: ({ id, versions, search, historyReplace, }:
548
440
  }) => void;
549
441
  }) => void;
550
442
 
551
- interface DataGridProps extends Partial<Pick<DataGridProProps, 'rows'>>, Omit<DataGridProProps, 'rows'> {
443
+ /**
444
+ * Type for legacy array-based row selection (v7 and earlier)
445
+ */
446
+ type LegacyRowSelectionModel = GridRowId[];
447
+ /**
448
+ * Type that accepts both legacy array format and new v8 object format
449
+ */
450
+ type RowSelectionModelInput = LegacyRowSelectionModel | GridRowSelectionModel;
451
+ /**
452
+ * Default empty row selection model for MUI DataGrid v8+
453
+ * In v8, GridRowSelectionModel changed from GridRowId[] to { type: 'include' | 'exclude'; ids: Set<GridRowId> }
454
+ */
455
+ declare const EMPTY_ROW_SELECTION_MODEL: GridRowSelectionModel;
456
+ /**
457
+ * Creates a new row selection model with the given ids
458
+ */
459
+ declare const createRowSelectionModel: (ids: GridRowId[] | Set<GridRowId>) => GridRowSelectionModel;
460
+ /**
461
+ * Normalizes a row selection model input to the v8 GridRowSelectionModel format.
462
+ * Accepts both legacy array format (v7) and new object format (v8).
463
+ * This allows consumers to continue using arrays while internally using the v8 format.
464
+ */
465
+ declare const normalizeRowSelectionModel: (input: RowSelectionModelInput | undefined | null) => GridRowSelectionModel;
466
+ /**
467
+ * Gets the size/count of selected rows from a selection model
468
+ */
469
+ declare const getSelectionCount: (model: GridRowSelectionModel) => number;
470
+ /**
471
+ * Checks if a row is selected in the given selection model
472
+ */
473
+ declare const isRowSelected: (model: GridRowSelectionModel, rowId: GridRowId) => boolean;
474
+ /**
475
+ * Converts a selection model to an array of selected row IDs
476
+ * Note: For 'exclude' type, this only returns the ids that are explicitly excluded,
477
+ * not the actual selected rows (which would require knowing all row ids)
478
+ */
479
+ declare const getSelectedIds: (model: GridRowSelectionModel) => GridRowId[];
480
+
481
+ /** Component Type. */
482
+ type Comp<P, T = HTMLElement> = {
483
+ (props: P & {
484
+ ref?: Ref<T>;
485
+ }): ReactElement | null;
486
+ /** React component type. */
487
+ readonly $$typeof?: symbol;
488
+ /** Component name. */
489
+ displayName?: string;
490
+ /** Component base class name. */
491
+ className?: string;
492
+ };
493
+ /** Get types of the values of a record. */
494
+ type ValueOf<T extends Record<any, any>> = T[keyof T];
495
+
496
+ /**
497
+ * Color palette.
498
+ */
499
+ declare const Theme: {
500
+ readonly light: "light";
501
+ readonly dark: "dark";
502
+ };
503
+ type Theme = ValueOf<typeof Theme>;
504
+ declare const NotificationsColorPalette: {
505
+ readonly question: "question";
506
+ readonly 'no-data': "no-data";
507
+ readonly success: "success";
508
+ readonly warning: "warning";
509
+ readonly info: "info";
510
+ readonly primary: "primary";
511
+ readonly secondary: "secondary";
512
+ readonly error: "error";
513
+ };
514
+ type NotificationsColorPalette = ValueOf<typeof NotificationsColorPalette>;
515
+ declare const ProductColorPalette: {
516
+ readonly asm: "asm";
517
+ readonly 'brand-trust': "brand-trust";
518
+ readonly certificates: "certificates";
519
+ readonly ondmarc: "ondmarc";
520
+ readonly pulse: "pulse";
521
+ readonly radar: "radar";
522
+ readonly 'rojo-ds': "rojo-ds";
523
+ readonly 'vendor-secure': "vendor-secure";
524
+ readonly website: "website";
525
+ };
526
+ type ProductColorPalette = ValueOf<typeof ProductColorPalette>;
527
+
528
+ declare const AlignSelf: {
529
+ readonly auto: "auto";
530
+ readonly normal: "normal";
531
+ readonly start: "start";
532
+ readonly end: "end";
533
+ readonly center: "center";
534
+ readonly 'flex-start': "flex-start";
535
+ readonly 'flex-end': "flex-end";
536
+ readonly 'self-start': "self-start";
537
+ readonly 'self-end': "self-end";
538
+ readonly baseline: "baseline";
539
+ readonly stretch: "stretch";
540
+ };
541
+ type AlignSelf = ValueOf<typeof AlignSelf>;
542
+ interface LayoutProps {
543
+ /** When used in a flex layout, specifies how the element will grow or shrink to fit the space available. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex">MDN</a>. */
544
+ flex?: string;
545
+ /** When used in a flex layout, specifies how the element will grow to fit the space available. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow">MDN</a>. */
546
+ flexGrow?: number;
547
+ /** When used in a flex layout, specifies how the element will shrink to fit the space available. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex-shrink">MDN</a>. */
548
+ flexShrink?: number;
549
+ /** When used in a flex layout, specifies the initial main size of the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex_basis">MDN</a>. */
550
+ flexBasis?: string;
551
+ /** Overrides the alignItems property of a flex or grid container. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/align-self">MDN</a>. */
552
+ alignSelf?: AlignSelf;
553
+ /** Specifies how the element is justified inside a flex or grid container. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self">MDN</a>. */
554
+ justifySelf?: string;
555
+ /** The layout order for the element within a flex or grid container. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/order">MDN</a>. */
556
+ order?: number;
557
+ /** When used in a grid layout, specifies the named grid area that the element should be placed in within the grid. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/grid-area">MDN</a>. */
558
+ gridArea?: string;
559
+ /** When used in a grid layout, specifies the column the element should be placed in within the grid. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column">MDN</a>. */
560
+ gridColumn?: string;
561
+ /** When used in a grid layout, specifies the row the element should be placed in within the grid. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row">MDN</a>. */
562
+ gridRow?: string;
563
+ /** When used in a grid layout, specifies the starting column to span within the grid. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-start">MDN</a>. */
564
+ gridColumnStart?: string;
565
+ /** When used in a grid layout, specifies the ending column to span within the grid. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-end">MDN</a>. */
566
+ gridColumnEnd?: string;
567
+ /** When used in a grid layout, specifies the starting row to span within the grid. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-start">MDN</a>. */
568
+ gridRowStart?: string;
569
+ /** When used in a grid layout, specifies the ending row to span within the grid. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-end">MDN</a>. */
570
+ gridRowEnd?: string;
571
+ }
572
+ interface SpacingProps {
573
+ /** The margin for all four sides of the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/margin">MDN</a>. */
574
+ margin?: string;
575
+ /** The margin for the bottom side of the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom">MDN</a>. */
576
+ marginBottom?: string;
577
+ /** The margin for the left side of the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left">MDN</a>. */
578
+ marginLeft?: string;
579
+ /** The margin for the right side of the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right">MDN</a>. */
580
+ marginRight?: string;
581
+ /** The margin for the top side of the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top">MDN</a>. */
582
+ marginTop?: string;
583
+ }
584
+ interface PositioningProps {
585
+ /** Specifies how the element is positioned. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/position">MDN</a>. */
586
+ position?: string;
587
+ /** The top position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/top">MDN</a>. */
588
+ top?: string;
589
+ /** The bottom position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/bottom">MDN</a>. */
590
+ bottom?: string;
591
+ /** The left position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/left">MDN</a>. Consider using start instead for RTL support. */
592
+ left?: string;
593
+ /** The right position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/right">MDN</a>. Consider using start instead for RTL support. */
594
+ right?: string;
595
+ /** The stacking order for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/z-index">MDN</a>. */
596
+ zIndex?: string;
597
+ }
598
+
599
+ /**
600
+ * Component size.
601
+ */
602
+ declare const IconSize: {
603
+ readonly xsmall: "xsmall";
604
+ readonly small: "small";
605
+ readonly medium: "medium";
606
+ readonly large: "large";
607
+ readonly xlarge: "xlarge";
608
+ readonly xxlarge: "xxlarge";
609
+ };
610
+ type IconSize = ValueOf<typeof IconSize>;
611
+ type IconDimensions = {
612
+ width?: number;
613
+ height?: number;
614
+ fontSize?: number;
615
+ lineHeight?: number;
616
+ };
617
+ /**
618
+ * Component props.
619
+ */
620
+ interface IconProps extends ComponentProps<'span'>, LayoutProps, SpacingProps, PositioningProps {
621
+ /** Indicates whether the element is exposed to an accessibility API. */
622
+ 'aria-hidden'?: boolean | 'false' | 'true';
623
+ /** A screen reader only label for the Icon. */
624
+ 'aria-label'?: string;
625
+ /** Color variant. Either from color palette or hex or rgb strings. */
626
+ color?: NotificationsColorPalette | ProductColorPalette | (string & {});
627
+ /** Whether the icon has a badge attached to it. */
628
+ badge?: ReactElement;
629
+ /**
630
+ * Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
631
+ * Can also be a ReactElement.
632
+ */
633
+ icon: string | string[] | ReactElement;
634
+ /**
635
+ * Icon size.
636
+ * @default 'medium'
637
+ */
638
+ size?: IconSize | IconDimensions;
639
+ /** Additional properties to forward to the SVG tag. */
640
+ svgProps?: ComponentProps<'svg'>;
641
+ /** Theme. */
642
+ theme?: Theme;
643
+ }
644
+
645
+ /**
646
+ * Component variant.
647
+ */
648
+ declare const ShieldVariant: {
649
+ readonly success: "success";
650
+ readonly successLocked: "successLocked";
651
+ readonly successUnlocked: "successUnlocked";
652
+ readonly fail: "fail";
653
+ readonly failLocked: "failLocked";
654
+ readonly failUnlocked: "failUnlocked";
655
+ readonly warning: "warning";
656
+ readonly warningLocked: "warningLocked";
657
+ readonly warningUnlocked: "warningUnlocked";
658
+ readonly ignored: "ignored";
659
+ readonly noData: "noData";
660
+ readonly question: "question";
661
+ readonly email: "email";
662
+ };
663
+ type ShieldVariant = ValueOf<typeof ShieldVariant>;
664
+
665
+ interface DataGridProps extends Partial<Pick<DataGridPremiumProps, 'rows'>>, Omit<DataGridPremiumProps, 'rows'> {
552
666
  /** License key for MUI Datagrid Pro. */
553
667
  license?: string;
554
668
  /**
@@ -808,7 +922,7 @@ declare const numberOperatorDecoder: Record<string, string>;
808
922
  declare const isOperatorValueValid: (field: string, operator: OperatorValue, columns: DataGridProps["columns"]) => boolean;
809
923
  declare const isValueValid: (value: OperatorValue, field: string, columns: DataGridProps["columns"], operator: OperatorValue) => boolean;
810
924
  /** FILTERS */
811
- declare const getFilterModelFromString: (searchString: string, columns: DataGridProps["columns"]) => ExtendedGridFilterModel | "invalid";
925
+ declare const getFilterModelFromString: (searchString: string, columns: DataGridProps["columns"], previousModel?: ExtendedGridFilterModel) => ExtendedGridFilterModel | "invalid";
812
926
  /**
813
927
  * Normalises a `date` / `dateTime` filter value to a canonical, URL-safe string
814
928
  * before it is serialised into the URL.
@@ -831,7 +945,7 @@ declare const normalizeDateValue: (value: unknown, type: string | undefined) =>
831
945
  declare const getSearchParamsFromFilterModel: (filterModel: ExtendedGridFilterModel) => URLSearchParams;
832
946
  /** SORT */
833
947
  declare const getSortingFromString: (searchString: string, columns: DataGridProps["columns"]) => GridSortModel | "invalid";
834
- declare const getSearchParamsFromSorting: (sorting: GridSortItem[]) => URLSearchParams;
948
+ declare const getSearchParamsFromSorting: (sorting: GridSortModel) => URLSearchParams;
835
949
  /** PAGINATION */
836
950
  declare const getPaginationFromString: (searchString: string) => ExtendedGridPaginationModel | "invalid";
837
951
  declare const getSearchParamsFromPagination: (pagination: ExtendedGridPaginationModel) => URLSearchParams;
@@ -839,16 +953,42 @@ declare const getSearchParamsFromPagination: (pagination: ExtendedGridPagination
839
953
  declare const getColumnVisibilityFromString: (searchString: string, columns: DataGridProps["columns"]) => GridColumnVisibilityModel | "invalid";
840
954
  declare const getSearchParamsFromColumnVisibility: (columnVisibility: GridColumnVisibilityModel, columns: DataGridProps["columns"]) => URLSearchParams;
841
955
  declare const getPinnedColumnsFromString: (notParsed: string, tableColumns: DataGridProps["columns"]) => PinnedColumns | "invalid";
842
- declare const getSearchParamsFromPinnedColumns: (pinnedColumns: GridPinnedColumns) => URLSearchParams;
956
+ declare const getSearchParamsFromPinnedColumns: (pinnedColumns: GridPinnedColumnFields) => URLSearchParams;
843
957
  declare const getSearchParamsFromTab: (search: string) => URLSearchParams;
844
958
  /** DENSITY */
845
959
  type GridDensityValue = 'compact' | 'standard' | 'comfortable';
846
960
  declare const getDensityFromString: (searchString: string) => GridDensityValue | "invalid";
847
961
  declare const getSearchParamsFromDensity: (density: GridDensityValue) => URLSearchParams;
962
+ declare const getDensityModel: (search: string, localStorageDensity: string, setLocalStorageDensity: (density: string) => void, initialState: GridInitialState | undefined, isNewVersion: boolean) => GridDensityValue;
848
963
  /** COLUMN ORDER */
849
964
  type ColumnOrderModel = string[];
850
965
  declare const getColumnOrderFromString: (searchString: string) => ColumnOrderModel | "invalid";
851
966
  declare const getSearchParamsFromColumnOrder: (columnOrder: ColumnOrderModel) => URLSearchParams;
967
+ /** ROW GROUPING */
968
+ declare const getRowGroupingFromString: (searchString: string) => GridRowGroupingModel | "invalid";
969
+ declare const getSearchParamsFromRowGrouping: (rowGrouping: GridRowGroupingModel) => URLSearchParams;
970
+ /** AGGREGATION */
971
+ declare const getAggregationFromString: (searchString: string) => GridAggregationModel | "invalid";
972
+ declare const getSearchParamsFromAggregation: (aggregation: GridAggregationModel) => URLSearchParams;
973
+ /** PIVOT */
974
+ interface PivotModel {
975
+ columns: string[];
976
+ rows: string[];
977
+ values: {
978
+ field: string;
979
+ aggFunc: string;
980
+ }[];
981
+ }
982
+ /** Convert MUI's GridPivotModel → our simplified PivotModel */
983
+ declare const fromGridPivotModel: (model: GridPivotModel) => PivotModel;
984
+ /**
985
+ * Pivot format: `cols:f1,f2;rows:f3;vals:f4.sum,f5.avg`
986
+ */
987
+ declare const getPivotFromString: (searchString: string) => PivotModel | "invalid";
988
+ declare const getSearchParamsFromPivot: (pivot: PivotModel) => URLSearchParams;
989
+ /** PIVOT ACTIVE */
990
+ declare const getPivotActiveFromString: (searchString: string) => boolean | "invalid";
991
+ declare const getSearchParamsFromPivotActive: (active: boolean) => URLSearchParams;
852
992
  /**
853
993
  * Builds the `v=<version>` search param the grid uses to detect stale URLs.
854
994
  *
@@ -873,14 +1013,18 @@ type FinalSearchInput = {
873
1013
  sortModel: GridSortModel;
874
1014
  paginationModel: ExtendedGridPaginationModel;
875
1015
  columnsVisibilityModel: GridColumnVisibilityModel;
876
- pinnedColumnsModel: GridPinnedColumns;
1016
+ pinnedColumnsModel: GridPinnedColumnFields;
877
1017
  density: GridDensityValue;
878
1018
  columnOrderModel: ColumnOrderModel;
879
1019
  defaultColumnOrder: ColumnOrderModel;
1020
+ rowGroupingModel: GridRowGroupingModel;
1021
+ aggregationModel: GridAggregationModel;
1022
+ pivotModel: PivotModel;
1023
+ pivotActive: boolean;
880
1024
  search: string;
881
1025
  columns: DataGridProps['columns'];
882
1026
  };
883
- declare const getFinalSearch: ({ search, localStorageVersion, filterModel, sortModel, paginationModel, columnsVisibilityModel, pinnedColumnsModel, density, columnOrderModel, defaultColumnOrder, columns, }: FinalSearchInput) => URLSearchParams;
1027
+ declare const getFinalSearch: ({ search, localStorageVersion, filterModel, sortModel, paginationModel, columnsVisibilityModel, pinnedColumnsModel, density, columnOrderModel, defaultColumnOrder, rowGroupingModel, aggregationModel, pivotModel, pivotActive, columns, }: FinalSearchInput) => URLSearchParams;
884
1028
  type PinnedColumns = {
885
1029
  left: string[];
886
1030
  right: string[];
@@ -900,6 +1044,14 @@ type ModelsLocalStorage = {
900
1044
  setLocalStorageDensity: (density: string) => void;
901
1045
  localStorageColumnOrder: string;
902
1046
  setLocalStorageColumnOrder: (value: string) => void;
1047
+ localStorageRowGrouping: string;
1048
+ setLocalStorageRowGrouping: (value: string) => void;
1049
+ localStorageAggregation: string;
1050
+ setLocalStorageAggregation: (value: string) => void;
1051
+ localStoragePivot: string;
1052
+ setLocalStoragePivot: (value: string) => void;
1053
+ localStoragePivotActive: string;
1054
+ setLocalStoragePivotActive: (value: string) => void;
903
1055
  };
904
1056
  type ModelsTable = {
905
1057
  filterModel: GridFilterModel;
@@ -909,22 +1061,30 @@ type ModelsTable = {
909
1061
  pinnedColumnsModel: PinnedColumns;
910
1062
  density: GridDensityValue;
911
1063
  columnOrderModel: ColumnOrderModel;
1064
+ rowGroupingModel: GridRowGroupingModel;
1065
+ aggregationModel: GridAggregationModel;
1066
+ pivotModel: PivotModel;
1067
+ pivotActive: boolean;
912
1068
  /** The display-format search string the URL should have. Null if no update needed. */
913
1069
  pendingSearch: string | null;
914
1070
  };
915
1071
  /** Return the state of the table given the URL and the local storage state */
916
- declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], initialState: GridInitialStatePro | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
1072
+ declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], initialState: GridInitialState | undefined, localStorage: ModelsLocalStorage, previousFilterModel?: ExtendedGridFilterModel) => ModelsTable;
917
1073
  type DataGridModel = {
918
1074
  filterModel: GridFilterModel;
919
1075
  sortModel: GridSortModel;
920
1076
  paginationModel: ExtendedGridPaginationModel;
921
1077
  columnsModel: GridColumnVisibilityModel;
922
- pinnedColumnsModel: GridPinnedColumns;
1078
+ pinnedColumnsModel: GridPinnedColumnFields;
923
1079
  density: GridDensityValue;
924
1080
  columnOrderModel: ColumnOrderModel;
925
1081
  defaultColumnOrder: ColumnOrderModel;
1082
+ rowGroupingModel: GridRowGroupingModel;
1083
+ aggregationModel: GridAggregationModel;
1084
+ pivotModel: PivotModel;
1085
+ pivotActive: boolean;
926
1086
  };
927
- declare const updateUrl: ({ filterModel, sortModel, paginationModel, columnsModel: columnsVisibilityModel, pinnedColumnsModel, density, columnOrderModel, defaultColumnOrder, }: DataGridModel, search: string, localStorageVersion: number, historyReplace: (newSearch: string) => void, columns: DataGridProps["columns"]) => void;
1087
+ declare const updateUrl: ({ filterModel, sortModel, paginationModel, columnsModel: columnsVisibilityModel, pinnedColumnsModel, density, columnOrderModel, defaultColumnOrder, rowGroupingModel, aggregationModel, pivotModel, pivotActive, }: DataGridModel, search: string, localStorageVersion: number, historyReplace: (newSearch: string) => void, columns: DataGridProps["columns"]) => void;
928
1088
  declare const areFilterModelsEquivalent: (filterModel: GridFilterModel, filterModelToMatch: GridFilterModel) => boolean;
929
1089
 
930
1090
  /**
@@ -1044,16 +1204,16 @@ interface UseLinkedFilterModelReturn {
1044
1204
  */
1045
1205
  declare function useLinkedFilterModel(options?: UseLinkedFilterModelOptions): UseLinkedFilterModelReturn;
1046
1206
 
1047
- declare const BaseButton: React.JSXElementConstructor<any>;
1207
+ declare const BaseButton: React$1.JSXElementConstructor<any>;
1048
1208
 
1049
- declare const BaseCheckbox: React.JSXElementConstructor<any>;
1209
+ declare const BaseCheckbox: React$1.JSXElementConstructor<any>;
1050
1210
 
1051
1211
  declare const muiIconToDSIcon: Partial<Record<keyof GridSlotsComponent, string>>;
1052
- declare const BaseIcon: React.JSXElementConstructor<any>;
1212
+ declare const BaseIcon: React$1.JSXElementConstructor<any>;
1053
1213
 
1054
- declare const BasePopper: React.JSXElementConstructor<any>;
1214
+ declare const BaseIconButton: React$1.JSXElementConstructor<any>;
1055
1215
 
1056
- declare const BaseTextField: React.JSXElementConstructor<any>;
1216
+ declare const BaseTextField: React$1.JSXElementConstructor<any>;
1057
1217
 
1058
1218
  interface CompletionResponseItem {
1059
1219
  field: string;
@@ -1073,16 +1233,21 @@ interface LocaleText {
1073
1233
  powerTooltipContent?: string;
1074
1234
  errorText?: string;
1075
1235
  }
1236
+ interface FilterConfigColumn {
1237
+ field: string;
1238
+ type?: string;
1239
+ description?: string;
1240
+ }
1076
1241
  interface FilterConfig {
1077
- columns: object[];
1078
- typeOperators: object;
1242
+ columns: FilterConfigColumn[];
1243
+ typeOperators: Record<string, string[]>;
1079
1244
  notes: string;
1080
1245
  openaiApiKey?: string;
1081
1246
  completionFunc?: (nlpFilterConfig: FilterConfig, prompt: string, model: string) => Promise<CompletionResponse>;
1082
1247
  }
1083
1248
  interface GridToolbarFilterSemanticFieldProps extends ComponentProps<'form'> {
1084
1249
  nlpFilterConfig: FilterConfig;
1085
- onFilterModelChange: (filterModel: GridFilterModel) => void;
1250
+ onFilterModelChange?: (filterModel: GridFilterModel) => void;
1086
1251
  dateFormat?: string;
1087
1252
  defaultModel?: string;
1088
1253
  defaultFilter?: CompletionResponse;
@@ -1106,14 +1271,14 @@ type ControlledPaginationProps = {
1106
1271
  displayRowsPerPage?: boolean;
1107
1272
  displayPagination?: boolean;
1108
1273
  selectionStatus: SelectionStatus;
1109
- apiRef: MutableRefObject<GridApiPro>;
1274
+ apiRef: MutableRefObject<GridApiPremium | null>;
1110
1275
  paginationModel: GridPaginationModel;
1111
- onPaginationModelChange: (model: GridPaginationModel) => void;
1276
+ onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
1112
1277
  pageSizeOptions?: number[];
1113
1278
  isRowSelectable?: DataGridProps['isRowSelectable'];
1114
1279
  paginationProps?: DataGridProps['paginationProps'];
1115
1280
  };
1116
- declare const ControlledPagination: React.FC<ControlledPaginationProps>;
1281
+ declare const ControlledPagination: React$1.FC<ControlledPaginationProps>;
1117
1282
 
1118
1283
  type ServerSideControlledPaginationProps = {
1119
1284
  displaySelection?: boolean;
@@ -1121,7 +1286,7 @@ type ServerSideControlledPaginationProps = {
1121
1286
  displayPagination?: boolean;
1122
1287
  selectionStatus: SelectionStatus;
1123
1288
  paginationModel: GridPaginationModel;
1124
- onPaginationModelChange: (model: GridPaginationModel) => void;
1289
+ onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
1125
1290
  pageSizeOptions?: number[];
1126
1291
  paginationProps?: DataGridProps['paginationProps'];
1127
1292
  rowCount: number;
@@ -1130,7 +1295,7 @@ type ServerSideControlledPaginationProps = {
1130
1295
  /**
1131
1296
  * Get the IDs of all selectable rows currently loaded in the grid (i.e. the current page for server-side).
1132
1297
  */
1133
- declare const getSelectableRowIdsInPage: (apiRef: React.MutableRefObject<GridApiPro$1>, isRowSelectable: ((params: GridRowParams<any>) => boolean) | undefined) => GridRowSelectionModel;
1298
+ declare const getSelectableRowIdsInPage: (apiRef: React$1.MutableRefObject<GridApiPremium>, isRowSelectable: ((params: GridRowParams<any>) => boolean) | undefined) => GridRowId[];
1134
1299
  /**
1135
1300
  * Intercept MUI's `onRowSelectionModelChange` for server-side pagination to fix the
1136
1301
  * header checkbox behavior when cross-page selections exist.
@@ -1144,9 +1309,9 @@ declare const getSelectableRowIdsInPage: (apiRef: React.MutableRefObject<GridApi
1144
1309
  * selections with 0 selected on current page), we merge all current page rows with the
1145
1310
  * existing cross-page selections instead.
1146
1311
  */
1147
- declare const fixServerSideHeaderCheckboxSelection: (newSelectionModel: GridRowSelectionModel, previousSelectionModel: GridRowSelectionModel, selectionStatus: React.MutableRefObject<SelectionStatus>, apiRef: React.MutableRefObject<GridApiPro$1>, isRowSelectable: ((params: GridRowParams<any>) => boolean) | undefined) => GridRowSelectionModel;
1148
- declare const onServerSideSelectionStatusChange: (newSelectionModel: GridRowSelectionModel, apiRef: React.MutableRefObject<GridApiPro$1>, selectionStatus: React.MutableRefObject<SelectionStatus>, isRowSelectable: ((params: GridRowParams<any>) => boolean) | undefined, page: number, pageSize: number) => void;
1149
- declare const ServerSideControlledPagination: React.FC<ServerSideControlledPaginationProps>;
1312
+ declare const fixServerSideHeaderCheckboxSelection: (newSelectionModel: GridRowSelectionModel, previousSelectionModel: GridRowSelectionModel, selectionStatus: React$1.MutableRefObject<SelectionStatus>, apiRef: React$1.MutableRefObject<GridApiPremium>, isRowSelectable: ((params: GridRowParams<any>) => boolean) | undefined) => GridRowSelectionModel;
1313
+ declare const onServerSideSelectionStatusChange: (newSelectionModel: GridRowSelectionModel, apiRef: React$1.MutableRefObject<GridApiPremium | null>, selectionStatus: React$1.MutableRefObject<SelectionStatus>, forceUpdate: React$1.Dispatch<React$1.SetStateAction<number>>, isRowSelectable: ((params: GridRowParams<any>) => boolean) | undefined, page: number, pageSize: number) => void;
1314
+ declare const ServerSideControlledPagination: React$1.FC<ServerSideControlledPaginationProps>;
1150
1315
 
1151
1316
  interface TextCellProps extends ComponentProps<'div'> {
1152
1317
  /** Including Badge Component. */
@@ -1174,16 +1339,16 @@ interface TextCellProps extends ComponentProps<'div'> {
1174
1339
  */
1175
1340
  declare const TextCell: Comp<TextCellProps, HTMLDivElement>;
1176
1341
 
1177
- type GridToolbarColumnsProps = Omit<typeof GridToolbarColumnsButton, 'ref'>;
1178
- type GridToolbarDensityProps = Omit<typeof GridToolbarDensitySelector, 'ref'>;
1342
+ type GridToolbarColumnsButtonProps = React.ComponentProps<typeof GridToolbarColumnsButton>;
1343
+ type GridToolbarDensitySelectorProps = React.ComponentProps<typeof GridToolbarDensitySelector>;
1179
1344
  type GridToolbarFilterSemanticProps = Omit<GridToolbarFilterSemanticFieldProps, 'ref'>;
1180
1345
  interface ToolbarProps {
1181
1346
  /** Props to forward to the column button. */
1182
- columnsButtonProps?: GridToolbarColumnsProps;
1347
+ columnsButtonProps?: GridToolbarColumnsButtonProps;
1183
1348
  /** Column button ref. */
1184
1349
  columnsButtonRef?: RefObject<HTMLButtonElement>;
1185
1350
  /** Props to forward to the density button. */
1186
- densityButtonProps?: GridToolbarDensityProps;
1351
+ densityButtonProps?: GridToolbarDensitySelectorProps;
1187
1352
  /** Density button ref. */
1188
1353
  densityButtonRef?: RefObject<HTMLButtonElement>;
1189
1354
  /** Props to forward to the export button. */
@@ -1223,11 +1388,11 @@ declare global {
1223
1388
  }
1224
1389
  }
1225
1390
  /** ------ */
1226
- declare const Toolbar: React.FC<ToolbarProps>;
1391
+ declare const Toolbar: React$1.FC<ToolbarProps>;
1227
1392
 
1228
1393
  type ToolbarWrapperProps = {
1229
1394
  hideToolbar: DataGridProps['hideToolbar'];
1230
- RenderedToolbar: React.JSXElementConstructor<any>;
1395
+ RenderedToolbar: React$1.JSXElementConstructor<any>;
1231
1396
  filterModel: DataGridProps['filterModel'];
1232
1397
  onFilterModelChange: DataGridProps['onFilterModelChange'];
1233
1398
  pagination: DataGridProps['pagination'];
@@ -1255,6 +1420,6 @@ type ToolbarWrapperProps = {
1255
1420
  * The row gets a top margin matching the banner's built-in bottom margin so the spacing
1256
1421
  * above and below it is symmetric.
1257
1422
  */
1258
- declare const ToolbarWrapper: React.FC<ToolbarWrapperProps>;
1423
+ declare const ToolbarWrapper: React$1.FC<ToolbarWrapperProps>;
1259
1424
 
1260
- export { ARRAY_IS_EMPTY, ARRAY_IS_NOT_EMPTY, BaseButton, BaseCheckbox, BaseIcon, BasePopper, BaseTextField, CATEGORIES, COLUMN_ORDER_MODEL_KEY, CONTAINS_ANY_OF, Category, ColumnOptions, ColumnOrderModel, ColumnType, CompletionResponse, ControlledPagination, ControlledPaginationProps, DATE_IS_BETWEEN, DEFAULT_OPERATORS, DENSITY_MODEL_KEY, DETAIL_PANEL_TOGGLE_COL_DEF, DIMENSION_MODEL_KEY, DOES_NOT_CONTAIN, DOES_NOT_CONTAIN_ANY_OF, DOES_NOT_END_WITH, DOES_NOT_END_WITH_ANY_OF, DOES_NOT_EQUAL, DOES_NOT_HAVE, DOES_NOT_HAVE_ANY_OF, DOES_NOT_HAVE_ANY_OF_WITH_SELECT, DOES_NOT_HAVE_WITH_SELECT, DOES_NOT_START_WITH, DOES_NOT_START_WITH_ANY_OF, DataGrid, DataGridModel, DataGridProps, DateOperatorName, ENDS_WITH_ANY_OF, FILTER_MODEL_KEY, FILTER_SEARCH_KEY, FilterConfig, GridDensityValue, GridToolbarFilterSemanticField, GridToolbarFilterSemanticFieldProps, HAS, HAS_ALL_OF, HAS_ALL_OF_WITH_SELECT, HAS_ANY_OF, HAS_ANY_OF_WITH_SELECT, HAS_ONLY, HAS_ONLY_WITH_SELECT, HAS_WITH_SELECT, IS, IS_ANY_OF, IS_ANY_OF_WITH_SELECT, IS_BETWEEN, IS_NOT, IS_NOT_ANY_OF, IS_NOT_ANY_OF_WITH_SELECT, IS_NOT_WITH_SELECT, IS_WITH_SELECT, MultiSelectOperatorName, NumberOperatorName, PAGINATION_MODEL_KEY, PINNED_COLUMNS, PinnedColumns, ReactRouterV5History, SORT_MODEL_KEY, STARTS_WITH_ANY_OF, SelectionStatus, ServerSideControlledPagination, ServerSideControlledPaginationProps, SingleSelectOperatorName, StatefulDataGrid, StatefulDataGridProps, StringOperatorName, StyledDataGridProps, TagsOperatorName, TextCell, Toolbar, ToolbarWrapper, ToolbarWrapperProps, UseLinkedFilterModelOptions, UseLinkedFilterModelReturn, VISIBILITY_MODEL_KEY, areFilterModelsEquivalent, areSearchStringsEqual, buildQueryParamsString, buildStorageKey, clearAllVersionStorage, clearPreviousVersionStorage, convertFromDisplayFormat, convertToDisplayFormat, createColumn, createReactRouterV5Adapter, customColumnTypes, decodeValue, encodeValue, fixServerSideHeaderCheckboxSelection, getColumnOrderFromString, getColumnVisibilityFromString, getCompletion, getDecodedSearchFromUrl, getDensityFromString, getFilterModelFromString, getFinalSearch, getGridDateOperatorsExtended, getGridNumericOperators, getGridStringArrayOperators, getGridStringArrayOperatorsWithSelect, getGridStringArrayOperatorsWithSelectOnStringArrayColumns, getGridStringOperators, getModelsParsedOrUpdateLocalStorage, getPaginationFromString, getPinnedColumnsFromString, getRsMultipleSelectColumnType, getRsMultipleSelectWithShortOperatorListColumnType, getRsNumberColumnType, getRsSingleSelectColumnType, getRsSingleSelectWithShortOperatorListColumnType, getRsStringColumnType, getSearchParamsFromColumnOrder, getSearchParamsFromColumnVisibility, getSearchParamsFromDensity, getSearchParamsFromFilterModel, getSearchParamsFromPagination, getSearchParamsFromPinnedColumns, getSearchParamsFromSorting, getSearchParamsFromTab, getSearchParamsFromVersion, getSelectableRowIdsInPage, getSortingFromString, isOperatorValueValid, isValueValid, makeCaseInsensitive, muiIconToDSIcon, normalizeDateValue, numberOperatorDecoder, numberOperatorEncoder, onServerSideSelectionStatusChange, operatorList, resetColumnVisibility, resetStatefulDataGridState, updateUrl, urlSearchParamsToString, useLinkedFilterModel, wrapCaseInsensitive };
1425
+ export { AGGREGATION_MODEL_KEY, ARRAY_IS_EMPTY, ARRAY_IS_NOT_EMPTY, BaseButton, BaseCheckbox, BaseIcon, BaseIconButton, BaseTextField, CATEGORIES, COLUMN_ORDER_MODEL_KEY, CONTAINS_ANY_OF, Category, ColumnOptions, ColumnOrderModel, ColumnType, CompletionResponse, ControlledPagination, ControlledPaginationProps, DATE_IS_BETWEEN, DEFAULT_OPERATORS, DENSITY_MODEL_KEY, DETAIL_PANEL_TOGGLE_COL_DEF, DIMENSION_MODEL_KEY, DOES_NOT_CONTAIN, DOES_NOT_CONTAIN_ANY_OF, DOES_NOT_END_WITH, DOES_NOT_END_WITH_ANY_OF, DOES_NOT_EQUAL, DOES_NOT_HAVE, DOES_NOT_HAVE_ANY_OF, DOES_NOT_HAVE_ANY_OF_WITH_SELECT, DOES_NOT_HAVE_WITH_SELECT, DOES_NOT_START_WITH, DOES_NOT_START_WITH_ANY_OF, DataGrid, DataGridModel, DataGridProps, DateOperatorName, EMPTY_ROW_SELECTION_MODEL, ENDS_WITH_ANY_OF, FILTER_MODEL_KEY, FILTER_SEARCH_KEY, FilterConfig, FilterConfigColumn, GridDensityValue, GridToolbarFilterSemanticField, GridToolbarFilterSemanticFieldProps, HAS, HAS_ALL_OF, HAS_ALL_OF_WITH_SELECT, HAS_ANY_OF, HAS_ANY_OF_WITH_SELECT, HAS_ONLY, HAS_ONLY_WITH_SELECT, HAS_WITH_SELECT, IS, IS_ANY_OF, IS_ANY_OF_I, IS_ANY_OF_I_WITH_SELECT, IS_ANY_OF_WITH_SELECT, IS_BETWEEN, IS_NOT, IS_NOT_ANY_OF, IS_NOT_ANY_OF_WITH_SELECT, IS_NOT_WITH_SELECT, IS_WITH_SELECT, LegacyRowSelectionModel, MultiSelectOperatorName, NumberOperatorName, PAGINATION_MODEL_KEY, PINNED_COLUMNS, PIVOT_ACTIVE_KEY, PIVOT_MODEL_KEY, PinnedColumns, PivotModel, ROW_GROUPING_MODEL_KEY, ReactRouterV5History, RowSelectionModelInput, SORT_MODEL_KEY, STARTS_WITH_ANY_OF, SelectionStatus, ServerSideControlledPagination, ServerSideControlledPaginationProps, SingleSelectOperatorName, StatefulDataGrid, StatefulDataGridProps, StringOperatorName, StyledDataGridProps, TagsOperatorName, TextCell, Toolbar, ToolbarWrapper, ToolbarWrapperProps, UseLinkedFilterModelOptions, UseLinkedFilterModelReturn, VISIBILITY_MODEL_KEY, areFilterModelsEquivalent, areSearchStringsEqual, buildQueryParamsString, buildStorageKey, clearAllVersionStorage, clearPreviousVersionStorage, convertFromDisplayFormat, convertToDisplayFormat, createColumn, createReactRouterV5Adapter, createRowSelectionModel, customColumnTypes, decodeValue, encodeValue, fixServerSideHeaderCheckboxSelection, fromGridPivotModel, getAggregationFromString, getColumnOrderFromString, getColumnVisibilityFromString, getCompletion, getDecodedSearchFromUrl, getDensityFromString, getDensityModel, getFilterModelFromString, getFinalSearch, getGridDateOperatorsExtended, getGridNumericOperators, getGridStringArrayOperators, getGridStringArrayOperatorsWithSelect, getGridStringArrayOperatorsWithSelectOnStringArrayColumns, getGridStringOperators, getModelsParsedOrUpdateLocalStorage, getPaginationFromString, getPinnedColumnsFromString, getPivotActiveFromString, getPivotFromString, getRowGroupingFromString, getRsMultipleSelectColumnType, getRsMultipleSelectWithShortOperatorListColumnType, getRsNumberColumnType, getRsSingleSelectColumnType, getRsSingleSelectWithShortOperatorListColumnType, getRsStringColumnType, getSearchParamsFromAggregation, getSearchParamsFromColumnOrder, getSearchParamsFromColumnVisibility, getSearchParamsFromDensity, getSearchParamsFromFilterModel, getSearchParamsFromPagination, getSearchParamsFromPinnedColumns, getSearchParamsFromPivot, getSearchParamsFromPivotActive, getSearchParamsFromRowGrouping, getSearchParamsFromSorting, getSearchParamsFromTab, getSearchParamsFromVersion, getSelectableRowIdsInPage, getSelectedIds, getSelectionCount, getSortingFromString, isOperatorValueValid, isRowSelected, isValueValid, makeCaseInsensitive, muiIconToDSIcon, normalizeDateValue, normalizeRowSelectionModel, numberOperatorDecoder, numberOperatorEncoder, onServerSideSelectionStatusChange, operatorList, resetColumnVisibility, resetStatefulDataGridState, updateUrl, urlSearchParamsToString, useLinkedFilterModel, wrapCaseInsensitive };