@redsift/table 12.4.0-muiv7 → 12.4.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/index.d.ts CHANGED
@@ -1,13 +1,10 @@
1
- import * as _mui_x_data_grid_pro from '@mui/x-data-grid-pro';
2
- import { GridColTypeDef, GridColType, GridColDef, GridFilterOperator, GridFilterInputSingleSelect, GridFilterInputMultipleSingleSelect, DataGridProProps, GridFilterModel, GridPaginationModel, GridSortModel, GridSortItem, GridColumnVisibilityModel, GridPinnedColumnFields, GridSlotsComponent, GridCallbackDetails, GridRowSelectionModel, GridApiPro as GridApiPro$1, GridRowParams, 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$1, { ReactNode, ComponentProps, MutableRefObject, RefObject } from 'react';
1
+ import * as _mui_x_data_grid_premium from '@mui/x-data-grid-premium';
2
+ import { GridColTypeDef, GridColType, GridColDef, GridFilterOperator, GridFilterInputSingleSelect, GridFilterInputMultipleSingleSelect, GridRowId, GridRowSelectionModel, DataGridPremiumProps, GridFilterModel, GridPaginationModel, GridSortModel, GridColumnVisibilityModel, GridPinnedColumnFields, GridInitialState, GridSlotsComponent, GridApiPremium, GridCallbackDetails, GridRowParams, GridToolbarExportProps, GridToolbarFilterButtonProps, GridToolbarColumnsButton, GridToolbarDensitySelector } from '@mui/x-data-grid-premium';
3
+ export { GridAlignment, GridColDef, GridFilterItem, GridFilterModel, getGridBooleanOperators, getGridDateOperators, getGridSingleSelectOperators } from '@mui/x-data-grid-premium';
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_premium.GridColDef;
11
8
 
12
9
  declare const getRsStringColumnType: () => GridColTypeDef;
13
10
  declare const getRsNumberColumnType: () => GridColTypeDef;
@@ -57,153 +54,174 @@ type ColumnOptions<T extends ColumnType> = T extends 'string' ? StringColumnOpti
57
54
  */
58
55
  declare function createColumn<T extends ColumnType>(type: T, options?: ColumnOptions<T>): Partial<GridColDef>;
59
56
 
60
- declare const ARRAY_IS_EMPTY: GridFilterOperator<any, string | string[], any>;
61
- declare const ARRAY_IS_NOT_EMPTY: GridFilterOperator<any, string | string[], any>;
57
+ declare const ARRAY_IS_EMPTY: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
58
+ declare const ARRAY_IS_NOT_EMPTY: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
62
59
 
63
- declare const DATE_IS_BETWEEN: GridFilterOperator<any, unknown, any>;
60
+ declare const DATE_IS_BETWEEN: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
64
61
 
65
62
  declare const getGridDateOperatorsExtended: (showTime?: boolean) => GridFilterOperator[];
66
63
 
67
- declare const IS_BETWEEN: GridFilterOperator<any, number, any>;
64
+ declare const IS_BETWEEN: GridFilterOperator<any, number, any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
68
65
 
69
66
  declare const getGridNumericOperators: () => GridFilterOperator<any, unknown, any>[];
70
67
 
71
- declare const DOES_NOT_CONTAIN: GridFilterOperator<any, string | string[], any>;
68
+ declare const DOES_NOT_CONTAIN: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
72
69
 
73
- declare const DOES_NOT_END_WITH: GridFilterOperator<any, string | string[], any>;
70
+ declare const DOES_NOT_END_WITH: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
74
71
 
75
- declare const DOES_NOT_EQUAL: GridFilterOperator<any, string | string[], any>;
72
+ declare const DOES_NOT_EQUAL: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
76
73
 
77
- declare const DOES_NOT_HAVE: GridFilterOperator<any, string | string[], any>;
74
+ declare const DOES_NOT_HAVE: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
78
75
  declare const DOES_NOT_HAVE_WITH_SELECT: {
79
76
  InputComponent: typeof GridFilterInputSingleSelect;
80
77
  label?: string;
81
78
  headerLabel?: string;
82
- value: string;
83
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
84
- InputComponentProps?: Record<string, any>;
85
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
79
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
80
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
81
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
82
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
86
83
  requiresFilterValue?: boolean;
87
84
  };
88
85
 
89
- declare const DOES_NOT_START_WITH: GridFilterOperator<any, string | string[], any>;
86
+ declare const DOES_NOT_START_WITH: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
90
87
 
91
- declare const HAS: GridFilterOperator<any, string | string[], any>;
88
+ declare const HAS: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
92
89
  declare const HAS_WITH_SELECT: {
93
90
  InputComponent: typeof GridFilterInputSingleSelect;
94
91
  label?: string;
95
92
  headerLabel?: string;
96
- value: string;
97
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
98
- InputComponentProps?: Record<string, any>;
99
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
93
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
94
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
95
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
96
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
100
97
  requiresFilterValue?: boolean;
101
98
  };
102
99
 
103
- declare const HAS_ONLY: GridFilterOperator<any, string | string[], any>;
100
+ declare const HAS_ONLY: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
104
101
  declare const HAS_ONLY_WITH_SELECT: {
105
102
  InputComponent: typeof GridFilterInputSingleSelect;
106
103
  label?: string;
107
104
  headerLabel?: string;
108
- value: string;
109
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
110
- InputComponentProps?: Record<string, any>;
111
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
105
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
106
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
107
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
108
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
112
109
  requiresFilterValue?: boolean;
113
110
  };
114
111
 
115
- declare const IS: GridFilterOperator<any, string | string[], any>;
112
+ declare const IS: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
116
113
  declare const IS_WITH_SELECT: {
117
114
  InputComponent: typeof GridFilterInputSingleSelect;
118
115
  label?: string;
119
116
  headerLabel?: string;
120
- value: string;
121
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
122
- InputComponentProps?: Record<string, any>;
123
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
117
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
118
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
119
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
120
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
124
121
  requiresFilterValue?: boolean;
125
122
  };
126
123
 
127
- declare const IS_NOT: GridFilterOperator<any, string | string[], any>;
124
+ declare const IS_NOT: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
128
125
  declare const IS_NOT_WITH_SELECT: {
129
126
  InputComponent: typeof GridFilterInputSingleSelect;
130
127
  label?: string;
131
128
  headerLabel?: string;
132
- value: string;
133
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
134
- InputComponentProps?: Record<string, any>;
135
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
129
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
130
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
131
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
132
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
136
133
  requiresFilterValue?: boolean;
137
134
  };
138
135
 
139
136
  declare const getGridStringOperators: () => GridFilterOperator<any, unknown, any>[];
140
137
 
141
- declare const CONTAINS_ANY_OF: GridFilterOperator<any, string | string[], any>;
138
+ declare const CONTAINS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
142
139
 
143
- declare const DOES_NOT_CONTAIN_ANY_OF: GridFilterOperator<any, string | string[], any>;
140
+ declare const DOES_NOT_CONTAIN_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
144
141
 
145
- declare const DOES_NOT_END_WITH_ANY_OF: GridFilterOperator<any, string | string[], any>;
142
+ declare const DOES_NOT_END_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
146
143
 
147
- declare const DOES_NOT_HAVE_ANY_OF: GridFilterOperator<any, string | string[], any>;
148
- declare const DOES_NOT_HAVE_ANY_OF_WITH_SELECT: GridFilterOperator<any, string | string[], any>;
144
+ declare const DOES_NOT_HAVE_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
145
+ declare const DOES_NOT_HAVE_ANY_OF_WITH_SELECT: {
146
+ InputComponent: typeof GridFilterInputMultipleSingleSelect;
147
+ label?: string;
148
+ headerLabel?: string;
149
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
150
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
151
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
152
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
153
+ requiresFilterValue?: boolean;
154
+ };
149
155
 
150
- declare const DOES_NOT_START_WITH_ANY_OF: GridFilterOperator<any, string | string[], any>;
156
+ declare const DOES_NOT_START_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
151
157
 
152
- declare const ENDS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any>;
158
+ declare const ENDS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
153
159
 
154
- declare const HAS_ALL_OF: GridFilterOperator<any, string | string[], any>;
160
+ declare const HAS_ALL_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
155
161
  declare const HAS_ALL_OF_WITH_SELECT: {
156
162
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
157
163
  label?: string;
158
164
  headerLabel?: string;
159
- value: string;
160
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
161
- InputComponentProps?: Record<string, any>;
162
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
165
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
166
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
167
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
168
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
163
169
  requiresFilterValue?: boolean;
164
170
  };
165
171
 
166
- declare const HAS_ANY_OF: GridFilterOperator<any, string | string[], any>;
172
+ declare const HAS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
167
173
  declare const HAS_ANY_OF_WITH_SELECT: {
168
174
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
169
175
  label?: string;
170
176
  headerLabel?: string;
171
- value: string;
172
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
173
- InputComponentProps?: Record<string, any>;
174
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
177
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
178
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
179
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
180
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
175
181
  requiresFilterValue?: boolean;
176
182
  };
177
183
 
178
- declare const IS_ANY_OF: GridFilterOperator<any, string | string[], any>;
184
+ declare const IS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
179
185
  declare const IS_ANY_OF_WITH_SELECT: {
180
186
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
181
187
  label?: string;
182
188
  headerLabel?: string;
183
- value: string;
184
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
185
- InputComponentProps?: Record<string, any>;
186
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
189
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
190
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
191
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
192
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
187
193
  requiresFilterValue?: boolean;
188
194
  };
189
195
 
190
- declare const IS_NOT_ANY_OF: GridFilterOperator<any, string | string[], any>;
196
+ declare const IS_ANY_OF_I: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.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_premium.GridFilterItem["operator"];
202
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
203
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
204
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
205
+ requiresFilterValue?: boolean;
206
+ };
207
+
208
+ declare const IS_NOT_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
191
209
  declare const IS_NOT_ANY_OF_WITH_SELECT: {
192
210
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
193
211
  label?: string;
194
212
  headerLabel?: string;
195
- value: string;
196
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
197
- InputComponentProps?: Record<string, any>;
198
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
213
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
214
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
215
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
216
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
199
217
  requiresFilterValue?: boolean;
200
218
  };
201
219
 
202
- declare const STARTS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any>;
220
+ declare const STARTS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
203
221
 
204
- declare const getGridStringArrayOperators: () => GridFilterOperator[];
205
- declare const getGridStringArrayOperatorsWithSelect: () => GridFilterOperator[];
206
- declare const getGridStringArrayOperatorsWithSelectOnStringArrayColumns: () => GridFilterOperator[];
222
+ declare const getGridStringArrayOperators: () => GridFilterOperator<any, unknown, any>[];
223
+ declare const getGridStringArrayOperatorsWithSelect: () => GridFilterOperator<any, unknown, any>[];
224
+ declare const getGridStringArrayOperatorsWithSelectOnStringArrayColumns: () => GridFilterOperator<any, unknown, any>[];
207
225
 
208
226
  /**
209
227
  * Wraps a filter operator's `getApplyFilterFn` to lowercase both the cell value
@@ -218,91 +236,93 @@ declare const wrapCaseInsensitive: (operator: GridFilterOperator) => GridFilterO
218
236
  declare const makeCaseInsensitive: (operators: GridFilterOperator[]) => GridFilterOperator[];
219
237
 
220
238
  declare const operatorList: {
221
- string: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
222
- number: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
223
- boolean: _mui_x_data_grid_pro.GridFilterOperator<any, boolean | null, any>[];
224
- date: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
225
- dateTime: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
226
- singleSelect: _mui_x_data_grid_pro.GridFilterOperator<any, any, any>[];
227
- rsString: _mui_x_data_grid_pro.GridFilterOperator<any, unknown, any>[];
228
- rsNumber: _mui_x_data_grid_pro.GridFilterOperator<any, unknown, any>[];
229
- rsSingleSelect: (_mui_x_data_grid_pro.GridFilterOperator<any, string | string[], any> | {
230
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
239
+ string: _mui_x_data_grid_premium.GridFilterOperator<any, string | number | null, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
240
+ number: _mui_x_data_grid_premium.GridFilterOperator<any, string | number | null, any, _mui_x_data_grid_premium.GridFilterInputValueProps & {
241
+ type?: "number";
242
+ }>[];
243
+ boolean: _mui_x_data_grid_premium.GridFilterOperator<any, boolean | null, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
244
+ date: _mui_x_data_grid_premium.GridFilterOperator<any, Date, any, _mui_x_data_grid_premium.GridFilterInputDateProps>[];
245
+ dateTime: _mui_x_data_grid_premium.GridFilterOperator<any, Date, any, _mui_x_data_grid_premium.GridFilterInputDateProps>[];
246
+ singleSelect: _mui_x_data_grid_premium.GridFilterOperator<any, any, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
247
+ rsString: _mui_x_data_grid_premium.GridFilterOperator<any, unknown, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
248
+ rsNumber: _mui_x_data_grid_premium.GridFilterOperator<any, unknown, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
249
+ rsSingleSelect: (_mui_x_data_grid_premium.GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps> | {
250
+ InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputSingleSelect;
231
251
  label?: string;
232
252
  headerLabel?: string;
233
- value: string;
234
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
235
- InputComponentProps?: Record<string, any>;
236
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
253
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
254
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
255
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
256
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
237
257
  requiresFilterValue?: boolean;
238
258
  } | {
239
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
259
+ InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputMultipleSingleSelect;
240
260
  label?: string;
241
261
  headerLabel?: string;
242
- value: string;
243
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
244
- InputComponentProps?: Record<string, any>;
245
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
262
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
263
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
264
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
265
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
246
266
  requiresFilterValue?: boolean;
247
267
  })[];
248
268
  rsSingleSelectWithShortOperatorList: ({
249
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
269
+ InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputSingleSelect;
250
270
  label?: string;
251
271
  headerLabel?: string;
252
- value: string;
253
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
254
- InputComponentProps?: Record<string, any>;
255
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
272
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
273
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
274
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
275
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
256
276
  requiresFilterValue?: boolean;
257
277
  } | {
258
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
278
+ InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputMultipleSingleSelect;
259
279
  label?: string;
260
280
  headerLabel?: string;
261
- value: string;
262
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
263
- InputComponentProps?: Record<string, any>;
264
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
281
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
282
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
283
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
284
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
265
285
  requiresFilterValue?: boolean;
266
286
  })[];
267
- rsMultipleSelect: (_mui_x_data_grid_pro.GridFilterOperator<any, string | string[], any> | {
268
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
287
+ rsMultipleSelect: (_mui_x_data_grid_premium.GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps> | {
288
+ InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputSingleSelect;
269
289
  label?: string;
270
290
  headerLabel?: string;
271
- value: string;
272
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
273
- InputComponentProps?: Record<string, any>;
274
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
291
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
292
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
293
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
294
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
275
295
  requiresFilterValue?: boolean;
276
296
  } | {
277
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
297
+ InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputMultipleSingleSelect;
278
298
  label?: string;
279
299
  headerLabel?: string;
280
- value: string;
281
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
282
- InputComponentProps?: Record<string, any>;
283
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
300
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
301
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
302
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
303
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
284
304
  requiresFilterValue?: boolean;
285
305
  })[];
286
306
  rsMultipleSelectWithShortOperatorList: ({
287
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
307
+ InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputSingleSelect;
288
308
  label?: string;
289
309
  headerLabel?: string;
290
- value: string;
291
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
292
- InputComponentProps?: Record<string, any>;
293
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
310
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
311
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
312
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
313
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
294
314
  requiresFilterValue?: boolean;
295
315
  } | {
296
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
316
+ InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputMultipleSingleSelect;
297
317
  label?: string;
298
318
  headerLabel?: string;
299
- value: string;
300
- getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
301
- InputComponentProps?: Record<string, any>;
302
- getValueAsString?: (value: _mui_x_data_grid_pro.GridFilterItem["value"]) => string;
319
+ value: _mui_x_data_grid_premium.GridFilterItem["operator"];
320
+ getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
321
+ InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
322
+ getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
303
323
  requiresFilterValue?: boolean;
304
324
  })[];
305
- rsStringArray: _mui_x_data_grid_pro.GridFilterOperator<any, any, any>[];
325
+ rsStringArray: _mui_x_data_grid_premium.GridFilterOperator<any, unknown, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
306
326
  };
307
327
 
308
328
  declare function getCompletion(text: string, role: string, openai_api_key: string | undefined, model?: string): Promise<string>;
@@ -323,7 +343,229 @@ declare const buildStorageKey: ({ id, version, category }: {
323
343
  }) => `${string}:${number}:paginationModel` | `${string}:${number}:filterModel` | `${string}:${number}:sortModel` | `${string}:${number}:visibilityModel` | `${string}:${number}:pinnedColumns` | `${string}:${number}:dimension` | `${string}:${number}:searchModel`;
324
344
  declare const clearPreviousVersionStorage: (id: string, previousLocalStorageVersions: number[]) => void;
325
345
 
326
- interface DataGridProps extends Partial<Pick<DataGridProProps, 'rows'>>, Omit<DataGridProProps, 'rows'> {
346
+ /**
347
+ * Type for legacy array-based row selection (v7 and earlier)
348
+ */
349
+ type LegacyRowSelectionModel = GridRowId[];
350
+ /**
351
+ * Type that accepts both legacy array format and new v8 object format
352
+ */
353
+ type RowSelectionModelInput = LegacyRowSelectionModel | GridRowSelectionModel;
354
+ /**
355
+ * Default empty row selection model for MUI DataGrid v8+
356
+ * In v8, GridRowSelectionModel changed from GridRowId[] to { type: 'include' | 'exclude'; ids: Set<GridRowId> }
357
+ */
358
+ declare const EMPTY_ROW_SELECTION_MODEL: GridRowSelectionModel;
359
+ /**
360
+ * Creates a new row selection model with the given ids
361
+ */
362
+ declare const createRowSelectionModel: (ids: GridRowId[] | Set<GridRowId>) => GridRowSelectionModel;
363
+ /**
364
+ * Normalizes a row selection model input to the v8 GridRowSelectionModel format.
365
+ * Accepts both legacy array format (v7) and new object format (v8).
366
+ * This allows consumers to continue using arrays while internally using the v8 format.
367
+ */
368
+ declare const normalizeRowSelectionModel: (input: RowSelectionModelInput | undefined | null) => GridRowSelectionModel;
369
+ /**
370
+ * Gets the size/count of selected rows from a selection model
371
+ */
372
+ declare const getSelectionCount: (model: GridRowSelectionModel) => number;
373
+ /**
374
+ * Checks if a row is selected in the given selection model
375
+ */
376
+ declare const isRowSelected: (model: GridRowSelectionModel, rowId: GridRowId) => boolean;
377
+ /**
378
+ * Converts a selection model to an array of selected row IDs
379
+ * Note: For 'exclude' type, this only returns the ids that are explicitly excluded,
380
+ * not the actual selected rows (which would require knowing all row ids)
381
+ */
382
+ declare const getSelectedIds: (model: GridRowSelectionModel) => GridRowId[];
383
+
384
+ /** Component Type. */
385
+ type Comp<P, T = HTMLElement> = {
386
+ (props: P & {
387
+ ref?: Ref<T>;
388
+ }): ReactElement | null;
389
+ /** React component type. */
390
+ readonly $$typeof?: symbol;
391
+ /** Component name. */
392
+ displayName?: string;
393
+ /** Component base class name. */
394
+ className?: string;
395
+ };
396
+ /** Get types of the values of a record. */
397
+ type ValueOf<T extends Record<any, any>> = T[keyof T];
398
+
399
+ /**
400
+ * Color palette.
401
+ */
402
+ declare const Theme: {
403
+ readonly light: "light";
404
+ readonly dark: "dark";
405
+ };
406
+ type Theme = ValueOf<typeof Theme>;
407
+ declare const NotificationsColorPalette: {
408
+ readonly question: "question";
409
+ readonly 'no-data': "no-data";
410
+ readonly success: "success";
411
+ readonly warning: "warning";
412
+ readonly info: "info";
413
+ readonly primary: "primary";
414
+ readonly secondary: "secondary";
415
+ readonly error: "error";
416
+ };
417
+ type NotificationsColorPalette = ValueOf<typeof NotificationsColorPalette>;
418
+ declare const ProductColorPalette: {
419
+ readonly asm: "asm";
420
+ readonly 'brand-trust': "brand-trust";
421
+ readonly certificates: "certificates";
422
+ readonly ondmarc: "ondmarc";
423
+ readonly pulse: "pulse";
424
+ readonly radar: "radar";
425
+ readonly 'rojo-ds': "rojo-ds";
426
+ readonly 'vendor-secure': "vendor-secure";
427
+ readonly website: "website";
428
+ };
429
+ type ProductColorPalette = ValueOf<typeof ProductColorPalette>;
430
+
431
+ declare const AlignSelf: {
432
+ readonly auto: "auto";
433
+ readonly normal: "normal";
434
+ readonly start: "start";
435
+ readonly end: "end";
436
+ readonly center: "center";
437
+ readonly 'flex-start': "flex-start";
438
+ readonly 'flex-end': "flex-end";
439
+ readonly 'self-start': "self-start";
440
+ readonly 'self-end': "self-end";
441
+ readonly baseline: "baseline";
442
+ readonly stretch: "stretch";
443
+ };
444
+ type AlignSelf = ValueOf<typeof AlignSelf>;
445
+ interface LayoutProps {
446
+ /** 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>. */
447
+ flex?: string;
448
+ /** 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>. */
449
+ flexGrow?: number;
450
+ /** 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>. */
451
+ flexShrink?: number;
452
+ /** 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>. */
453
+ flexBasis?: string;
454
+ /** 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>. */
455
+ alignSelf?: AlignSelf;
456
+ /** 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>. */
457
+ justifySelf?: string;
458
+ /** 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>. */
459
+ order?: number;
460
+ /** 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>. */
461
+ gridArea?: string;
462
+ /** 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>. */
463
+ gridColumn?: string;
464
+ /** 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>. */
465
+ gridRow?: string;
466
+ /** 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>. */
467
+ gridColumnStart?: string;
468
+ /** 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>. */
469
+ gridColumnEnd?: string;
470
+ /** 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>. */
471
+ gridRowStart?: string;
472
+ /** 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>. */
473
+ gridRowEnd?: string;
474
+ }
475
+ interface SpacingProps {
476
+ /** The margin for all four sides of the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/margin">MDN</a>. */
477
+ margin?: string;
478
+ /** 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>. */
479
+ marginBottom?: string;
480
+ /** 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>. */
481
+ marginLeft?: string;
482
+ /** 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>. */
483
+ marginRight?: string;
484
+ /** 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>. */
485
+ marginTop?: string;
486
+ }
487
+ interface PositioningProps {
488
+ /** Specifies how the element is positioned. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/position">MDN</a>. */
489
+ position?: string;
490
+ /** The top position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/top">MDN</a>. */
491
+ top?: string;
492
+ /** The bottom position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/bottom">MDN</a>. */
493
+ bottom?: string;
494
+ /** 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. */
495
+ left?: string;
496
+ /** 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. */
497
+ right?: string;
498
+ /** The stacking order for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/z-index">MDN</a>. */
499
+ zIndex?: string;
500
+ }
501
+
502
+ /**
503
+ * Component size.
504
+ */
505
+ declare const IconSize: {
506
+ readonly xsmall: "xsmall";
507
+ readonly small: "small";
508
+ readonly medium: "medium";
509
+ readonly large: "large";
510
+ readonly xlarge: "xlarge";
511
+ readonly xxlarge: "xxlarge";
512
+ };
513
+ type IconSize = ValueOf<typeof IconSize>;
514
+ type IconDimensions = {
515
+ width?: number;
516
+ height?: number;
517
+ fontSize?: number;
518
+ lineHeight?: number;
519
+ };
520
+ /**
521
+ * Component props.
522
+ */
523
+ interface IconProps extends ComponentProps<'span'>, LayoutProps, SpacingProps, PositioningProps {
524
+ /** Indicates whether the element is exposed to an accessibility API. */
525
+ 'aria-hidden'?: boolean | 'false' | 'true';
526
+ /** A screen reader only label for the Icon. */
527
+ 'aria-label'?: string;
528
+ /** Color variant. Either from color palette or hex or rgb strings. */
529
+ color?: NotificationsColorPalette | ProductColorPalette | (string & {});
530
+ /** Whether the icon has a badge attached to it. */
531
+ badge?: ReactElement;
532
+ /**
533
+ * Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
534
+ * Can also be a ReactElement.
535
+ */
536
+ icon: string | string[] | ReactElement;
537
+ /**
538
+ * Icon size.
539
+ * @default 'medium'
540
+ */
541
+ size?: IconSize | IconDimensions;
542
+ /** Additional properties to forward to the SVG tag. */
543
+ svgProps?: ComponentProps<'svg'>;
544
+ /** Theme. */
545
+ theme?: Theme;
546
+ }
547
+
548
+ /**
549
+ * Component variant.
550
+ */
551
+ declare const ShieldVariant: {
552
+ readonly success: "success";
553
+ readonly successLocked: "successLocked";
554
+ readonly successUnlocked: "successUnlocked";
555
+ readonly fail: "fail";
556
+ readonly failLocked: "failLocked";
557
+ readonly failUnlocked: "failUnlocked";
558
+ readonly warning: "warning";
559
+ readonly warningLocked: "warningLocked";
560
+ readonly warningUnlocked: "warningUnlocked";
561
+ readonly ignored: "ignored";
562
+ readonly noData: "noData";
563
+ readonly question: "question";
564
+ readonly email: "email";
565
+ };
566
+ type ShieldVariant = ValueOf<typeof ShieldVariant>;
567
+
568
+ interface DataGridProps extends Partial<Pick<DataGridPremiumProps, 'rows'>>, Omit<DataGridPremiumProps, 'rows'> {
327
569
  /** License key for MUI Datagrid Pro. */
328
570
  license?: string;
329
571
  /**
@@ -553,7 +795,7 @@ declare const getFilterModelFromString: (searchString: string, columns: DataGrid
553
795
  declare const getSearchParamsFromFilterModel: (filterModel: ExtendedGridFilterModel) => URLSearchParams;
554
796
  /** SORT */
555
797
  declare const getSortingFromString: (searchString: string, columns: DataGridProps["columns"]) => GridSortModel | "invalid";
556
- declare const getSearchParamsFromSorting: (sorting: readonly GridSortItem[]) => URLSearchParams;
798
+ declare const getSearchParamsFromSorting: (sorting: GridSortModel) => URLSearchParams;
557
799
  /** PAGINATION */
558
800
  declare const getPaginationFromString: (searchString: string) => ExtendedGridPaginationModel | "invalid";
559
801
  declare const getSearchParamsFromPagination: (pagination: ExtendedGridPaginationModel) => URLSearchParams;
@@ -600,7 +842,7 @@ type ModelsTable = {
600
842
  pendingSearch: string | null;
601
843
  };
602
844
  /** Return the state of the table given the URL and the local storage state */
603
- declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], initialState: GridInitialStatePro | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
845
+ declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], initialState: GridInitialState | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
604
846
  type DataGridModel = {
605
847
  filterModel: GridFilterModel;
606
848
  sortModel: GridSortModel;
@@ -618,7 +860,7 @@ declare const BaseCheckbox: React$1.JSXElementConstructor<any>;
618
860
  declare const muiIconToDSIcon: Partial<Record<keyof GridSlotsComponent, string>>;
619
861
  declare const BaseIcon: React$1.JSXElementConstructor<any>;
620
862
 
621
- declare const BasePopper: React$1.JSXElementConstructor<any>;
863
+ declare const BaseIconButton: React$1.JSXElementConstructor<any>;
622
864
 
623
865
  declare const BaseTextField: React$1.JSXElementConstructor<any>;
624
866
 
@@ -640,9 +882,14 @@ interface LocaleText {
640
882
  powerTooltipContent?: string;
641
883
  errorText?: string;
642
884
  }
885
+ interface FilterConfigColumn {
886
+ field: string;
887
+ type?: string;
888
+ description?: string;
889
+ }
643
890
  interface FilterConfig {
644
- columns: object[];
645
- typeOperators: object;
891
+ columns: FilterConfigColumn[];
892
+ typeOperators: Record<string, string[]>;
646
893
  notes: string;
647
894
  openaiApiKey?: string;
648
895
  completionFunc?: (nlpFilterConfig: FilterConfig, prompt: string, model: string) => Promise<CompletionResponse>;
@@ -673,13 +920,10 @@ type ControlledPaginationProps = {
673
920
  displayRowsPerPage?: boolean;
674
921
  displayPagination?: boolean;
675
922
  selectionStatus: SelectionStatus;
676
- apiRef: MutableRefObject<GridApiPro>;
923
+ apiRef: MutableRefObject<GridApiPremium | null>;
677
924
  paginationModel: GridPaginationModel;
678
925
  onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
679
- pageSizeOptions?: readonly (number | {
680
- value: number;
681
- label: string;
682
- })[];
926
+ pageSizeOptions?: number[];
683
927
  isRowSelectable?: DataGridProps['isRowSelectable'];
684
928
  paginationProps?: DataGridProps['paginationProps'];
685
929
  };
@@ -692,15 +936,12 @@ type ServerSideControlledPaginationProps = {
692
936
  selectionStatus: SelectionStatus;
693
937
  paginationModel: GridPaginationModel;
694
938
  onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
695
- pageSizeOptions?: readonly (number | {
696
- value: number;
697
- label: string;
698
- })[];
939
+ pageSizeOptions?: number[];
699
940
  paginationProps?: DataGridProps['paginationProps'];
700
941
  rowCount: number;
701
942
  loading?: boolean;
702
943
  };
703
- declare const onServerSideSelectionStatusChange: (newSelectionModel: GridRowSelectionModel, apiRef: React$1.MutableRefObject<GridApiPro$1>, selectionStatus: React$1.MutableRefObject<SelectionStatus>, forceUpdate: React$1.Dispatch<React$1.SetStateAction<number>>, isRowSelectable: ((params: GridRowParams<any>) => boolean) | undefined, page: number, pageSize: number) => void;
944
+ 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;
704
945
  declare const ServerSideControlledPagination: React$1.FC<ServerSideControlledPaginationProps>;
705
946
 
706
947
  interface TextCellProps extends ComponentProps<'div'> {
@@ -799,4 +1040,4 @@ type ToolbarWrapperProps = {
799
1040
  };
800
1041
  declare const ToolbarWrapper: React$1.FC<ToolbarWrapperProps>;
801
1042
 
802
- export { ARRAY_IS_EMPTY, ARRAY_IS_NOT_EMPTY, BaseButton, BaseCheckbox, BaseIcon, BasePopper, BaseTextField, CATEGORIES, CONTAINS_ANY_OF, Category, ColumnOptions, ColumnType, CompletionResponse, ControlledPagination, ControlledPaginationProps, DATE_IS_BETWEEN, DEFAULT_OPERATORS, 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, 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, SORT_MODEL_KEY, STARTS_WITH_ANY_OF, SelectionStatus, ServerSideControlledPagination, ServerSideControlledPaginationProps, SingleSelectOperatorName, StatefulDataGrid, StatefulDataGridProps, StringOperatorName, StyledDataGridProps, TagsOperatorName, TextCell, Toolbar, ToolbarWrapper, ToolbarWrapperProps, VISIBILITY_MODEL_KEY, areFilterModelsEquivalent, areSearchStringsEqual, buildQueryParamsString, buildStorageKey, clearPreviousVersionStorage, convertFromDisplayFormat, convertToDisplayFormat, createColumn, customColumnTypes, decodeValue, encodeValue, getColumnVisibilityFromString, getCompletion, getDecodedSearchFromUrl, getFilterModelFromString, getFinalSearch, getGridDateOperatorsExtended, getGridNumericOperators, getGridStringArrayOperators, getGridStringArrayOperatorsWithSelect, getGridStringArrayOperatorsWithSelectOnStringArrayColumns, getGridStringOperators, getModelsParsedOrUpdateLocalStorage, getPaginationFromString, getPinnedColumnsFromString, getRsMultipleSelectColumnType, getRsMultipleSelectWithShortOperatorListColumnType, getRsNumberColumnType, getRsSingleSelectColumnType, getRsSingleSelectWithShortOperatorListColumnType, getRsStringColumnType, getSearchParamsFromColumnVisibility, getSearchParamsFromFilterModel, getSearchParamsFromPagination, getSearchParamsFromPinnedColumns, getSearchParamsFromSorting, getSearchParamsFromTab, getSortingFromString, isOperatorValueValid, isValueValid, makeCaseInsensitive, muiIconToDSIcon, numberOperatorDecoder, numberOperatorEncoder, onServerSideSelectionStatusChange, operatorList, updateUrl, urlSearchParamsToString, wrapCaseInsensitive };
1043
+ export { ARRAY_IS_EMPTY, ARRAY_IS_NOT_EMPTY, BaseButton, BaseCheckbox, BaseIcon, BaseIconButton, BaseTextField, CATEGORIES, CONTAINS_ANY_OF, Category, ColumnOptions, ColumnType, CompletionResponse, ControlledPagination, ControlledPaginationProps, DATE_IS_BETWEEN, DEFAULT_OPERATORS, 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, 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, PinnedColumns, RowSelectionModelInput, SORT_MODEL_KEY, STARTS_WITH_ANY_OF, SelectionStatus, ServerSideControlledPagination, ServerSideControlledPaginationProps, SingleSelectOperatorName, StatefulDataGrid, StatefulDataGridProps, StringOperatorName, StyledDataGridProps, TagsOperatorName, TextCell, Toolbar, ToolbarWrapper, ToolbarWrapperProps, VISIBILITY_MODEL_KEY, areFilterModelsEquivalent, areSearchStringsEqual, buildQueryParamsString, buildStorageKey, clearPreviousVersionStorage, convertFromDisplayFormat, convertToDisplayFormat, createColumn, createRowSelectionModel, customColumnTypes, decodeValue, encodeValue, getColumnVisibilityFromString, getCompletion, getDecodedSearchFromUrl, getFilterModelFromString, getFinalSearch, getGridDateOperatorsExtended, getGridNumericOperators, getGridStringArrayOperators, getGridStringArrayOperatorsWithSelect, getGridStringArrayOperatorsWithSelectOnStringArrayColumns, getGridStringOperators, getModelsParsedOrUpdateLocalStorage, getPaginationFromString, getPinnedColumnsFromString, getRsMultipleSelectColumnType, getRsMultipleSelectWithShortOperatorListColumnType, getRsNumberColumnType, getRsSingleSelectColumnType, getRsSingleSelectWithShortOperatorListColumnType, getRsStringColumnType, getSearchParamsFromColumnVisibility, getSearchParamsFromFilterModel, getSearchParamsFromPagination, getSearchParamsFromPinnedColumns, getSearchParamsFromSorting, getSearchParamsFromTab, getSelectedIds, getSelectionCount, getSortingFromString, isOperatorValueValid, isRowSelected, isValueValid, makeCaseInsensitive, muiIconToDSIcon, normalizeRowSelectionModel, numberOperatorDecoder, numberOperatorEncoder, onServerSideSelectionStatusChange, operatorList, updateUrl, urlSearchParamsToString, wrapCaseInsensitive };