@redsift/table 12.3.0 → 12.3.1-muiv6-alpha.2

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,248 +1,330 @@
1
- import * as _mui_x_data_grid_premium from '@mui/x-data-grid-premium';
2
- import { GridColTypeDef, GridColType, 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';
1
+ import * as _mui_x_data_grid_pro from '@mui/x-data-grid-pro';
2
+ import { GridColumnTypesRecord, GridFilterItem, GridCellParams, GridFilterOperator, GridFilterInputValue, GridFilterInputSingleSelect, GridFilterInputMultipleValue, GridFilterInputMultipleSingleSelect, DataGridProProps, GridFilterModel, GridPaginationModel, GridSortModel, GridSortItem, GridColumnVisibilityModel, GridPinnedColumns, GridSlotsComponent, 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, { ReactNode, ComponentProps, MutableRefObject, RefObject } from 'react';
5
6
  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';
6
9
 
7
- declare const DETAIL_PANEL_TOGGLE_COL_DEF: _mui_x_data_grid_premium.GridColDef;
10
+ declare const DETAIL_PANEL_TOGGLE_COL_DEF: _mui_x_data_grid_pro.GridColDef;
8
11
 
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>;
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
+ };
67
+ declare const getRsMultipleSelectWithShortOperatorListColumnType: () => {
68
+ type: string;
69
+ filterOperators: ({
70
+ InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
71
+ label: string;
72
+ value: string;
73
+ getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
74
+ } | {
75
+ InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
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
+ };
81
+ declare const customColumnTypes: Partial<GridColumnTypesRecord>;
16
82
 
17
- declare const IS_BETWEEN: GridFilterOperator<any, number, any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
83
+ declare const IS_BETWEEN: {
84
+ label: string;
85
+ value: string;
86
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams<any, any>) => boolean) | null;
87
+ InputComponent: (props: any) => JSX.Element;
88
+ };
18
89
 
19
- declare const getGridNumericOperators: () => GridFilterOperator<any, unknown, any>[];
90
+ declare const getGridNumericOperators: () => GridFilterOperator<any, number | string | null, any>[];
20
91
 
21
- declare const DOES_NOT_CONTAIN: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
92
+ declare const DOES_NOT_CONTAIN: {
93
+ label: string;
94
+ value: string;
95
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
96
+ InputComponent: typeof GridFilterInputValue;
97
+ };
22
98
 
23
- declare const DOES_NOT_EQUAL: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
99
+ declare const DOES_NOT_EQUAL: {
100
+ label: string;
101
+ value: string;
102
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
103
+ InputComponent: typeof GridFilterInputValue;
104
+ };
24
105
 
25
- declare const DOES_NOT_HAVE: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
106
+ declare const DOES_NOT_HAVE: {
107
+ label: string;
108
+ value: string;
109
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
110
+ InputComponent: typeof GridFilterInputValue;
111
+ };
26
112
  declare const DOES_NOT_HAVE_WITH_SELECT: {
27
113
  InputComponent: typeof GridFilterInputSingleSelect;
28
- label?: string;
29
- headerLabel?: string;
30
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
31
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
32
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
33
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
34
- requiresFilterValue?: boolean;
114
+ label: string;
115
+ value: string;
116
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
35
117
  };
36
118
 
37
- declare const HAS: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
119
+ declare const HAS: {
120
+ label: string;
121
+ value: string;
122
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
123
+ InputComponent: typeof GridFilterInputValue;
124
+ };
38
125
  declare const HAS_WITH_SELECT: {
39
126
  InputComponent: typeof GridFilterInputSingleSelect;
40
- label?: string;
41
- headerLabel?: string;
42
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
43
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
44
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
45
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
46
- requiresFilterValue?: boolean;
127
+ label: string;
128
+ value: string;
129
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
47
130
  };
48
131
 
49
- declare const HAS_ONLY: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
132
+ declare const HAS_ONLY: {
133
+ label: string;
134
+ value: string;
135
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
136
+ InputComponent: typeof GridFilterInputValue;
137
+ };
50
138
  declare const HAS_ONLY_WITH_SELECT: {
51
139
  InputComponent: typeof GridFilterInputSingleSelect;
52
- label?: string;
53
- headerLabel?: string;
54
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
55
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
56
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
57
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
58
- requiresFilterValue?: boolean;
140
+ label: string;
141
+ value: string;
142
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
59
143
  };
60
144
 
61
- declare const IS: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
145
+ declare const IS: {
146
+ label: string;
147
+ value: string;
148
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
149
+ InputComponent: typeof GridFilterInputValue;
150
+ };
62
151
  declare const IS_WITH_SELECT: {
63
152
  InputComponent: typeof GridFilterInputSingleSelect;
64
- label?: string;
65
- headerLabel?: string;
66
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
67
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
68
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
69
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
70
- requiresFilterValue?: boolean;
153
+ label: string;
154
+ value: string;
155
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
71
156
  };
72
157
 
73
- declare const IS_NOT: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
158
+ declare const IS_NOT: {
159
+ label: string;
160
+ value: string;
161
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
162
+ InputComponent: typeof GridFilterInputValue;
163
+ };
74
164
  declare const IS_NOT_WITH_SELECT: {
75
165
  InputComponent: typeof GridFilterInputSingleSelect;
76
- label?: string;
77
- headerLabel?: string;
78
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
79
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
80
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
81
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
82
- requiresFilterValue?: boolean;
166
+ label: string;
167
+ value: string;
168
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
83
169
  };
84
170
 
85
- declare const getGridStringOperators: () => GridFilterOperator<any, unknown, any>[];
171
+ declare const getGridStringOperators: () => GridFilterOperator<any, number | string | null, any>[];
86
172
 
87
- declare const CONTAINS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
88
- declare const CONTAINS_ANY_OF_I: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
173
+ declare const CONTAINS_ANY_OF: {
174
+ label: string;
175
+ value: string;
176
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
177
+ InputComponent: typeof GridFilterInputMultipleValue;
178
+ };
179
+ declare const CONTAINS_ANY_OF_I: {
180
+ label: string;
181
+ value: string;
182
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
183
+ InputComponent: typeof GridFilterInputMultipleValue;
184
+ };
89
185
 
90
- declare const DOES_NOT_HAVE_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
186
+ declare const DOES_NOT_HAVE_ANY_OF: {
187
+ label: string;
188
+ value: string;
189
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
190
+ InputComponent: typeof GridFilterInputMultipleValue;
191
+ };
91
192
  declare const DOES_NOT_HAVE_ANY_OF_WITH_SELECT: {
92
193
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
93
- label?: string;
94
- headerLabel?: string;
95
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
96
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
97
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
98
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
99
- requiresFilterValue?: boolean;
194
+ label: string;
195
+ value: string;
196
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
100
197
  };
101
198
 
102
- declare const ENDS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
199
+ declare const ENDS_WITH_ANY_OF: {
200
+ label: string;
201
+ value: string;
202
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
203
+ InputComponent: typeof GridFilterInputMultipleValue;
204
+ };
103
205
 
104
- declare const IS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
206
+ declare const IS_ANY_OF: {
207
+ label: string;
208
+ value: string;
209
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
210
+ InputComponent: typeof GridFilterInputMultipleValue;
211
+ };
105
212
  declare const IS_ANY_OF_WITH_SELECT: {
106
213
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
107
- label?: string;
108
- headerLabel?: string;
109
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
110
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
111
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
112
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
113
- requiresFilterValue?: boolean;
214
+ label: string;
215
+ value: string;
216
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
114
217
  };
115
218
 
116
- declare const IS_ANY_OF_I: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
219
+ declare const IS_ANY_OF_I: {
220
+ label: string;
221
+ value: string;
222
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
223
+ InputComponent: typeof GridFilterInputMultipleValue;
224
+ };
117
225
  declare const IS_ANY_OF_I_WITH_SELECT: {
118
226
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
119
- label?: string;
120
- headerLabel?: string;
121
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
122
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
123
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
124
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
125
- requiresFilterValue?: boolean;
227
+ label: string;
228
+ value: string;
229
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
126
230
  };
127
231
 
128
- declare const HAS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
232
+ declare const HAS_ANY_OF: {
233
+ label: string;
234
+ value: string;
235
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
236
+ InputComponent: typeof GridFilterInputMultipleValue;
237
+ };
129
238
  declare const HAS_ANY_OF_WITH_SELECT: {
130
239
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
131
- label?: string;
132
- headerLabel?: string;
133
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
134
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
135
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
136
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
137
- requiresFilterValue?: boolean;
240
+ label: string;
241
+ value: string;
242
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
138
243
  };
139
244
 
140
- declare const IS_NOT_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
245
+ declare const IS_NOT_ANY_OF: {
246
+ label: string;
247
+ value: string;
248
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
249
+ InputComponent: typeof GridFilterInputMultipleValue;
250
+ };
141
251
  declare const IS_NOT_ANY_OF_WITH_SELECT: {
142
252
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
143
- label?: string;
144
- headerLabel?: string;
145
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
146
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
147
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
148
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
149
- requiresFilterValue?: boolean;
253
+ label: string;
254
+ value: string;
255
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
150
256
  };
151
257
 
152
- declare const STARTS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps>;
258
+ declare const STARTS_WITH_ANY_OF: {
259
+ label: string;
260
+ value: string;
261
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
262
+ InputComponent: typeof GridFilterInputMultipleValue;
263
+ };
153
264
 
154
- declare const getGridStringArrayOperators: () => GridFilterOperator<any, unknown, any>[];
155
- declare const getGridStringArrayOperatorsWithSelect: () => GridFilterOperator<any, unknown, any>[];
156
- declare const getGridStringArrayOperatorsWithSelectOnStringArrayColumns: () => GridFilterOperator<any, unknown, any>[];
265
+ declare const getGridStringArrayOperators: () => GridFilterOperator<any, number | string | null, any>[];
266
+ declare const getGridStringArrayOperatorsWithSelect: () => GridFilterOperator<any, number | string | null, any>[];
267
+ declare const getGridStringArrayOperatorsWithSelectOnStringArrayColumns: () => GridFilterOperator<any, number | string | null, any>[];
157
268
 
158
269
  declare const operatorList: {
159
- string: _mui_x_data_grid_premium.GridFilterOperator<any, string | number | null, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
160
- number: _mui_x_data_grid_premium.GridFilterOperator<any, string | number | null, any, _mui_x_data_grid_premium.GridFilterInputValueProps & {
161
- type?: "number";
162
- }>[];
163
- boolean: _mui_x_data_grid_premium.GridFilterOperator<any, boolean | null, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
164
- date: _mui_x_data_grid_premium.GridFilterOperator<any, Date, any, _mui_x_data_grid_premium.GridFilterInputDateProps>[];
165
- dateTime: _mui_x_data_grid_premium.GridFilterOperator<any, Date, any, _mui_x_data_grid_premium.GridFilterInputDateProps>[];
166
- singleSelect: _mui_x_data_grid_premium.GridFilterOperator<any, any, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
167
- rsString: _mui_x_data_grid_premium.GridFilterOperator<any, unknown, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
168
- rsNumber: _mui_x_data_grid_premium.GridFilterOperator<any, unknown, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
169
- rsSingleSelect: (_mui_x_data_grid_premium.GridFilterOperator<any, string | string[], any, _mui_x_data_grid_premium.GridFilterInputValueProps> | {
170
- InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputSingleSelect;
171
- label?: string;
172
- headerLabel?: string;
173
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
174
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
175
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
176
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
177
- requiresFilterValue?: boolean;
270
+ string: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
271
+ number: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
272
+ boolean: _mui_x_data_grid_pro.GridFilterOperator<any, boolean | null, any>[];
273
+ date: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
274
+ dateTime: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
275
+ singleSelect: _mui_x_data_grid_pro.GridFilterOperator<any, any, any>[];
276
+ rsString: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
277
+ rsNumber: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
278
+ rsSingleSelect: ({
279
+ InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
280
+ label: string;
281
+ value: string;
282
+ getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
283
+ } | {
284
+ label: string;
285
+ value: string;
286
+ getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
287
+ InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleValue;
178
288
  } | {
179
- InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputMultipleSingleSelect;
180
- label?: string;
181
- headerLabel?: string;
182
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
183
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
184
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
185
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
186
- requiresFilterValue?: boolean;
289
+ InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
290
+ label: string;
291
+ value: string;
292
+ getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
187
293
  })[];
188
294
  rsSingleSelectWithShortOperatorList: ({
189
- InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputSingleSelect;
190
- label?: string;
191
- headerLabel?: string;
192
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
193
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
194
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
195
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
196
- requiresFilterValue?: boolean;
295
+ InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
296
+ label: string;
297
+ value: string;
298
+ getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
197
299
  } | {
198
- InputComponent: typeof _mui_x_data_grid_premium.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;
300
+ InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
301
+ label: string;
302
+ value: string;
303
+ getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
206
304
  })[];
207
305
  rsMultipleSelect: ({
208
- InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputSingleSelect;
209
- label?: string;
210
- headerLabel?: string;
211
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
212
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
213
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
214
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
215
- requiresFilterValue?: boolean;
306
+ InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
307
+ label: string;
308
+ value: string;
309
+ getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
216
310
  } | {
217
- InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputMultipleSingleSelect;
218
- label?: string;
219
- headerLabel?: string;
220
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
221
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
222
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
223
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
224
- requiresFilterValue?: boolean;
311
+ InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
312
+ label: string;
313
+ value: string;
314
+ getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
225
315
  })[];
226
316
  rsMultipleSelectWithShortOperatorList: ({
227
- InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputSingleSelect;
228
- label?: string;
229
- headerLabel?: string;
230
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
231
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
232
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
233
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
234
- requiresFilterValue?: boolean;
317
+ InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
318
+ label: string;
319
+ value: string;
320
+ getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
235
321
  } | {
236
- InputComponent: typeof _mui_x_data_grid_premium.GridFilterInputMultipleSingleSelect;
237
- label?: string;
238
- headerLabel?: string;
239
- value: _mui_x_data_grid_premium.GridFilterItem["operator"];
240
- getApplyFilterFn: _mui_x_data_grid_premium.GetApplyFilterFn<any, string | string[], any>;
241
- InputComponentProps?: Partial<_mui_x_data_grid_premium.GridFilterInputValueProps> | undefined;
242
- getValueAsString?: (value: _mui_x_data_grid_premium.GridFilterItem["value"]) => string;
243
- requiresFilterValue?: boolean;
322
+ InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
323
+ label: string;
324
+ value: string;
325
+ getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
244
326
  })[];
245
- rsStringArray: _mui_x_data_grid_premium.GridFilterOperator<any, unknown, any, _mui_x_data_grid_premium.GridFilterInputValueProps>[];
327
+ rsStringArray: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
246
328
  };
247
329
 
248
330
  declare function getCompletion(text: string, role: string, openai_api_key: string | undefined, model?: string): Promise<string>;
@@ -263,229 +345,7 @@ declare const buildStorageKey: ({ id, version, category }: {
263
345
  }) => `${string}:${number}:paginationModel` | `${string}:${number}:filterModel` | `${string}:${number}:sortModel` | `${string}:${number}:visibilityModel` | `${string}:${number}:pinnedColumns` | `${string}:${number}:dimension` | `${string}:${number}:searchModel`;
264
346
  declare const clearPreviousVersionStorage: (id: string, previousLocalStorageVersions: number[]) => void;
265
347
 
266
- /**
267
- * Type for legacy array-based row selection (v7 and earlier)
268
- */
269
- type LegacyRowSelectionModel = GridRowId[];
270
- /**
271
- * Type that accepts both legacy array format and new v8 object format
272
- */
273
- type RowSelectionModelInput = LegacyRowSelectionModel | GridRowSelectionModel;
274
- /**
275
- * Default empty row selection model for MUI DataGrid v8+
276
- * In v8, GridRowSelectionModel changed from GridRowId[] to { type: 'include' | 'exclude'; ids: Set<GridRowId> }
277
- */
278
- declare const EMPTY_ROW_SELECTION_MODEL: GridRowSelectionModel;
279
- /**
280
- * Creates a new row selection model with the given ids
281
- */
282
- declare const createRowSelectionModel: (ids: GridRowId[] | Set<GridRowId>) => GridRowSelectionModel;
283
- /**
284
- * Normalizes a row selection model input to the v8 GridRowSelectionModel format.
285
- * Accepts both legacy array format (v7) and new object format (v8).
286
- * This allows consumers to continue using arrays while internally using the v8 format.
287
- */
288
- declare const normalizeRowSelectionModel: (input: RowSelectionModelInput | undefined | null) => GridRowSelectionModel;
289
- /**
290
- * Gets the size/count of selected rows from a selection model
291
- */
292
- declare const getSelectionCount: (model: GridRowSelectionModel) => number;
293
- /**
294
- * Checks if a row is selected in the given selection model
295
- */
296
- declare const isRowSelected: (model: GridRowSelectionModel, rowId: GridRowId) => boolean;
297
- /**
298
- * Converts a selection model to an array of selected row IDs
299
- * Note: For 'exclude' type, this only returns the ids that are explicitly excluded,
300
- * not the actual selected rows (which would require knowing all row ids)
301
- */
302
- declare const getSelectedIds: (model: GridRowSelectionModel) => GridRowId[];
303
-
304
- /** Component Type. */
305
- type Comp<P, T = HTMLElement> = {
306
- (props: P & {
307
- ref?: Ref<T>;
308
- }): ReactElement | null;
309
- /** React component type. */
310
- readonly $$typeof?: symbol;
311
- /** Component name. */
312
- displayName?: string;
313
- /** Component base class name. */
314
- className?: string;
315
- };
316
- /** Get types of the values of a record. */
317
- type ValueOf<T extends Record<any, any>> = T[keyof T];
318
-
319
- /**
320
- * Color palette.
321
- */
322
- declare const Theme: {
323
- readonly light: "light";
324
- readonly dark: "dark";
325
- };
326
- type Theme = ValueOf<typeof Theme>;
327
- declare const NotificationsColorPalette: {
328
- readonly question: "question";
329
- readonly 'no-data': "no-data";
330
- readonly success: "success";
331
- readonly warning: "warning";
332
- readonly info: "info";
333
- readonly primary: "primary";
334
- readonly secondary: "secondary";
335
- readonly error: "error";
336
- };
337
- type NotificationsColorPalette = ValueOf<typeof NotificationsColorPalette>;
338
- declare const ProductColorPalette: {
339
- readonly asm: "asm";
340
- readonly 'brand-trust': "brand-trust";
341
- readonly certificates: "certificates";
342
- readonly ondmarc: "ondmarc";
343
- readonly pulse: "pulse";
344
- readonly radar: "radar";
345
- readonly 'rojo-ds': "rojo-ds";
346
- readonly 'vendor-secure': "vendor-secure";
347
- readonly website: "website";
348
- };
349
- type ProductColorPalette = ValueOf<typeof ProductColorPalette>;
350
-
351
- declare const AlignSelf: {
352
- readonly auto: "auto";
353
- readonly normal: "normal";
354
- readonly start: "start";
355
- readonly end: "end";
356
- readonly center: "center";
357
- readonly 'flex-start': "flex-start";
358
- readonly 'flex-end': "flex-end";
359
- readonly 'self-start': "self-start";
360
- readonly 'self-end': "self-end";
361
- readonly baseline: "baseline";
362
- readonly stretch: "stretch";
363
- };
364
- type AlignSelf = ValueOf<typeof AlignSelf>;
365
- interface LayoutProps {
366
- /** 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>. */
367
- flex?: string;
368
- /** 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>. */
369
- flexGrow?: number;
370
- /** 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>. */
371
- flexShrink?: number;
372
- /** 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>. */
373
- flexBasis?: string;
374
- /** 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>. */
375
- alignSelf?: AlignSelf;
376
- /** 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>. */
377
- justifySelf?: string;
378
- /** 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>. */
379
- order?: number;
380
- /** 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>. */
381
- gridArea?: string;
382
- /** 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>. */
383
- gridColumn?: string;
384
- /** 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>. */
385
- gridRow?: string;
386
- /** 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>. */
387
- gridColumnStart?: string;
388
- /** 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>. */
389
- gridColumnEnd?: string;
390
- /** 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>. */
391
- gridRowStart?: string;
392
- /** 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>. */
393
- gridRowEnd?: string;
394
- }
395
- interface SpacingProps {
396
- /** The margin for all four sides of the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/margin">MDN</a>. */
397
- margin?: string;
398
- /** 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>. */
399
- marginBottom?: string;
400
- /** 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>. */
401
- marginLeft?: string;
402
- /** 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>. */
403
- marginRight?: string;
404
- /** 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>. */
405
- marginTop?: string;
406
- }
407
- interface PositioningProps {
408
- /** Specifies how the element is positioned. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/position">MDN</a>. */
409
- position?: string;
410
- /** The top position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/top">MDN</a>. */
411
- top?: string;
412
- /** The bottom position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/bottom">MDN</a>. */
413
- bottom?: string;
414
- /** 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. */
415
- left?: string;
416
- /** 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. */
417
- right?: string;
418
- /** The stacking order for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/z-index">MDN</a>. */
419
- zIndex?: string;
420
- }
421
-
422
- /**
423
- * Component size.
424
- */
425
- declare const IconSize: {
426
- readonly xsmall: "xsmall";
427
- readonly small: "small";
428
- readonly medium: "medium";
429
- readonly large: "large";
430
- readonly xlarge: "xlarge";
431
- readonly xxlarge: "xxlarge";
432
- };
433
- type IconSize = ValueOf<typeof IconSize>;
434
- type IconDimensions = {
435
- width?: number;
436
- height?: number;
437
- fontSize?: number;
438
- lineHeight?: number;
439
- };
440
- /**
441
- * Component props.
442
- */
443
- interface IconProps extends ComponentProps<'span'>, LayoutProps, SpacingProps, PositioningProps {
444
- /** Indicates whether the element is exposed to an accessibility API. */
445
- 'aria-hidden'?: boolean | 'false' | 'true';
446
- /** A screen reader only label for the Icon. */
447
- 'aria-label'?: string;
448
- /** Color variant. Either from color palette or hex or rgb strings. */
449
- color?: NotificationsColorPalette | ProductColorPalette | (string & {});
450
- /** Whether the icon has a badge attached to it. */
451
- badge?: ReactElement;
452
- /**
453
- * Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
454
- * Can also be a ReactElement.
455
- */
456
- icon: string | string[] | ReactElement;
457
- /**
458
- * Icon size.
459
- * @default 'medium'
460
- */
461
- size?: IconSize | IconDimensions;
462
- /** Additional properties to forward to the SVG tag. */
463
- svgProps?: ComponentProps<'svg'>;
464
- /** Theme. */
465
- theme?: Theme;
466
- }
467
-
468
- /**
469
- * Component variant.
470
- */
471
- declare const ShieldVariant: {
472
- readonly success: "success";
473
- readonly successLocked: "successLocked";
474
- readonly successUnlocked: "successUnlocked";
475
- readonly fail: "fail";
476
- readonly failLocked: "failLocked";
477
- readonly failUnlocked: "failUnlocked";
478
- readonly warning: "warning";
479
- readonly warningLocked: "warningLocked";
480
- readonly warningUnlocked: "warningUnlocked";
481
- readonly ignored: "ignored";
482
- readonly noData: "noData";
483
- readonly question: "question";
484
- readonly email: "email";
485
- };
486
- type ShieldVariant = ValueOf<typeof ShieldVariant>;
487
-
488
- interface DataGridProps extends Partial<Pick<DataGridPremiumProps, 'rows'>>, Omit<DataGridPremiumProps, 'rows'> {
348
+ interface DataGridProps extends Partial<Pick<DataGridProProps, 'rows'>>, Omit<DataGridProProps, 'rows'> {
489
349
  /** License key for MUI Datagrid Pro. */
490
350
  license?: string;
491
351
  /**
@@ -676,7 +536,7 @@ declare const getFilterModelFromString: (searchString: string, columns: DataGrid
676
536
  declare const getSearchParamsFromFilterModel: (filterModel: ExtendedGridFilterModel) => URLSearchParams;
677
537
  /** SORT */
678
538
  declare const getSortingFromString: (searchString: string, columns: DataGridProps["columns"]) => GridSortModel | "invalid";
679
- declare const getSearchParamsFromSorting: (sorting: GridSortModel) => URLSearchParams;
539
+ declare const getSearchParamsFromSorting: (sorting: GridSortItem[]) => URLSearchParams;
680
540
  /** PAGINATION */
681
541
  declare const getPaginationFromString: (searchString: string) => ExtendedGridPaginationModel | "invalid";
682
542
  declare const getSearchParamsFromPagination: (pagination: ExtendedGridPaginationModel) => URLSearchParams;
@@ -684,7 +544,7 @@ declare const getSearchParamsFromPagination: (pagination: ExtendedGridPagination
684
544
  declare const getColumnVisibilityFromString: (searchString: string, columns: DataGridProps["columns"]) => GridColumnVisibilityModel | "invalid";
685
545
  declare const getSearchParamsFromColumnVisibility: (columnVisibility: GridColumnVisibilityModel, columns: DataGridProps["columns"]) => URLSearchParams;
686
546
  declare const getPinnedColumnsFromString: (notParsed: string, tableColumns: DataGridProps["columns"]) => PinnedColumns | "invalid";
687
- declare const getSearchParamsFromPinnedColumns: (pinnedColumns: GridPinnedColumnFields) => URLSearchParams;
547
+ declare const getSearchParamsFromPinnedColumns: (pinnedColumns: GridPinnedColumns) => URLSearchParams;
688
548
  declare const getSearchParamsFromTab: (search: string) => URLSearchParams;
689
549
  type FinalSearchInput = {
690
550
  localStorageVersion: number;
@@ -692,7 +552,7 @@ type FinalSearchInput = {
692
552
  sortModel: GridSortModel;
693
553
  paginationModel: ExtendedGridPaginationModel;
694
554
  columnsVisibilityModel: GridColumnVisibilityModel;
695
- pinnedColumnsModel: GridPinnedColumnFields;
555
+ pinnedColumnsModel: GridPinnedColumns;
696
556
  search: string;
697
557
  columns: DataGridProps['columns'];
698
558
  };
@@ -718,30 +578,30 @@ type ModelsTable = {
718
578
  sortModel: GridSortModel;
719
579
  paginationModel: ExtendedGridPaginationModel;
720
580
  columnVisibilityModel: GridColumnVisibilityModel;
721
- pinnedColumnsModel: GridPinnedColumnFields;
581
+ pinnedColumnsModel: PinnedColumns;
722
582
  };
723
583
  /** Return the state of the table given the URL and the local storage state */
724
- declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], historyReplace: (newSearch: string) => void, initialState: GridInitialState | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
584
+ declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], historyReplace: (newSearch: string) => void, initialState: GridInitialStatePro | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
725
585
  type DataGridModel = {
726
586
  filterModel: GridFilterModel;
727
587
  sortModel: GridSortModel;
728
588
  paginationModel: ExtendedGridPaginationModel;
729
589
  columnsModel: GridColumnVisibilityModel;
730
- pinnedColumnsModel: GridPinnedColumnFields;
590
+ pinnedColumnsModel: GridPinnedColumns;
731
591
  };
732
592
  declare const updateUrl: ({ filterModel, sortModel, paginationModel, columnsModel: columnsVisibilityModel, pinnedColumnsModel }: DataGridModel, search: string, localStorageVersion: number, historyReplace: (newSearch: string) => void, columns: DataGridProps["columns"]) => void;
733
593
  declare const areFilterModelsEquivalent: (filterModel: GridFilterModel, filterModelToMatch: GridFilterModel) => boolean;
734
594
 
735
- declare const BaseButton: React$1.JSXElementConstructor<any>;
595
+ declare const BaseButton: React.JSXElementConstructor<any>;
736
596
 
737
- declare const BaseCheckbox: React$1.JSXElementConstructor<any>;
597
+ declare const BaseCheckbox: React.JSXElementConstructor<any>;
738
598
 
739
599
  declare const muiIconToDSIcon: Partial<Record<keyof GridSlotsComponent, string>>;
740
- declare const BaseIcon: React$1.JSXElementConstructor<any>;
600
+ declare const BaseIcon: React.JSXElementConstructor<any>;
741
601
 
742
- declare const BaseIconButton: React$1.JSXElementConstructor<any>;
602
+ declare const BasePopper: React.JSXElementConstructor<any>;
743
603
 
744
- declare const BaseTextField: React$1.JSXElementConstructor<any>;
604
+ declare const BaseTextField: React.JSXElementConstructor<any>;
745
605
 
746
606
  interface CompletionResponseItem {
747
607
  field: string;
@@ -770,7 +630,7 @@ interface FilterConfig {
770
630
  }
771
631
  interface GridToolbarFilterSemanticFieldProps extends ComponentProps<'form'> {
772
632
  nlpFilterConfig: FilterConfig;
773
- onFilterModelChange?: (filterModel: GridFilterModel) => void;
633
+ onFilterModelChange: (filterModel: GridFilterModel) => void;
774
634
  dateFormat?: string;
775
635
  defaultModel?: string;
776
636
  defaultFilter?: CompletionResponse;
@@ -794,14 +654,14 @@ type ControlledPaginationProps = {
794
654
  displayRowsPerPage?: boolean;
795
655
  displayPagination?: boolean;
796
656
  selectionStatus: SelectionStatus;
797
- apiRef: MutableRefObject<GridApiPremium | null>;
657
+ apiRef: MutableRefObject<GridApiPro>;
798
658
  paginationModel: GridPaginationModel;
799
- onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
659
+ onPaginationModelChange: (model: GridPaginationModel) => void;
800
660
  pageSizeOptions?: number[];
801
661
  isRowSelectable?: DataGridProps['isRowSelectable'];
802
662
  paginationProps?: DataGridProps['paginationProps'];
803
663
  };
804
- declare const ControlledPagination: React$1.FC<ControlledPaginationProps>;
664
+ declare const ControlledPagination: React.FC<ControlledPaginationProps>;
805
665
 
806
666
  type ServerSideControlledPaginationProps = {
807
667
  displaySelection?: boolean;
@@ -809,14 +669,14 @@ type ServerSideControlledPaginationProps = {
809
669
  displayPagination?: boolean;
810
670
  selectionStatus: SelectionStatus;
811
671
  paginationModel: GridPaginationModel;
812
- onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
672
+ onPaginationModelChange: (model: GridPaginationModel) => void;
813
673
  pageSizeOptions?: number[];
814
674
  paginationProps?: DataGridProps['paginationProps'];
815
675
  rowCount: number;
816
676
  loading?: boolean;
817
677
  };
818
- 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;
819
- declare const ServerSideControlledPagination: React$1.FC<ServerSideControlledPaginationProps>;
678
+ 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;
679
+ declare const ServerSideControlledPagination: React.FC<ServerSideControlledPaginationProps>;
820
680
 
821
681
  interface TextCellProps extends ComponentProps<'div'> {
822
682
  /** Including Badge Component. */
@@ -844,16 +704,16 @@ interface TextCellProps extends ComponentProps<'div'> {
844
704
  */
845
705
  declare const TextCell: Comp<TextCellProps, HTMLDivElement>;
846
706
 
847
- type GridToolbarColumnsButtonProps = React.ComponentProps<typeof GridToolbarColumnsButton>;
848
- type GridToolbarDensitySelectorProps = React.ComponentProps<typeof GridToolbarDensitySelector>;
707
+ type GridToolbarColumnsProps = Omit<typeof GridToolbarColumnsButton, 'ref'>;
708
+ type GridToolbarDensityProps = Omit<typeof GridToolbarDensitySelector, 'ref'>;
849
709
  type GridToolbarFilterSemanticProps = Omit<GridToolbarFilterSemanticFieldProps, 'ref'>;
850
710
  interface ToolbarProps {
851
711
  /** Props to forward to the column button. */
852
- columnsButtonProps?: GridToolbarColumnsButtonProps;
712
+ columnsButtonProps?: GridToolbarColumnsProps;
853
713
  /** Column button ref. */
854
714
  columnsButtonRef?: RefObject<HTMLButtonElement>;
855
715
  /** Props to forward to the density button. */
856
- densityButtonProps?: GridToolbarDensitySelectorProps;
716
+ densityButtonProps?: GridToolbarDensityProps;
857
717
  /** Density button ref. */
858
718
  densityButtonRef?: RefObject<HTMLButtonElement>;
859
719
  /** Props to forward to the export button. */
@@ -893,16 +753,16 @@ declare global {
893
753
  }
894
754
  }
895
755
  /** ------ */
896
- declare const Toolbar: React$1.FC<ToolbarProps>;
756
+ declare const Toolbar: React.FC<ToolbarProps>;
897
757
 
898
758
  type ToolbarWrapperProps = {
899
759
  hideToolbar: DataGridProps['hideToolbar'];
900
- RenderedToolbar: React$1.JSXElementConstructor<any>;
760
+ RenderedToolbar: React.JSXElementConstructor<any>;
901
761
  filterModel: DataGridProps['filterModel'];
902
762
  onFilterModelChange: DataGridProps['onFilterModelChange'];
903
763
  pagination: DataGridProps['pagination'];
904
764
  paginationPlacement: DataGridProps['paginationPlacement'];
905
- selectionStatus: React$1.MutableRefObject<SelectionStatus>;
765
+ selectionStatus: React.MutableRefObject<SelectionStatus>;
906
766
  apiRef: DataGridProps['apiRef'];
907
767
  isRowSelectable: DataGridProps['isRowSelectable'];
908
768
  paginationModel: DataGridProps['paginationModel'];
@@ -912,6 +772,6 @@ type ToolbarWrapperProps = {
912
772
  paginationMode?: DataGridProps['paginationMode'];
913
773
  rowCount?: DataGridProps['rowCount'];
914
774
  };
915
- declare const ToolbarWrapper: React$1.FC<ToolbarWrapperProps>;
775
+ declare const ToolbarWrapper: React.FC<ToolbarWrapperProps>;
916
776
 
917
- export { BaseButton, BaseCheckbox, BaseIcon, BaseIconButton, BaseTextField, CATEGORIES, CONTAINS_ANY_OF, CONTAINS_ANY_OF_I, Category, CompletionResponse, ControlledPagination, ControlledPaginationProps, DEFAULT_OPERATORS, DETAIL_PANEL_TOGGLE_COL_DEF, DIMENSION_MODEL_KEY, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_HAVE, DOES_NOT_HAVE_ANY_OF, DOES_NOT_HAVE_ANY_OF_WITH_SELECT, DOES_NOT_HAVE_WITH_SELECT, DataGrid, DataGridModel, DataGridProps, EMPTY_ROW_SELECTION_MODEL, ENDS_WITH_ANY_OF, FILTER_MODEL_KEY, FILTER_SEARCH_KEY, FilterConfig, GridToolbarFilterSemanticField, GridToolbarFilterSemanticFieldProps, HAS, 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, PAGINATION_MODEL_KEY, PINNED_COLUMNS, PinnedColumns, RowSelectionModelInput, SORT_MODEL_KEY, STARTS_WITH_ANY_OF, SelectionStatus, ServerSideControlledPagination, ServerSideControlledPaginationProps, StatefulDataGrid, StatefulDataGridProps, StyledDataGridProps, TextCell, Toolbar, ToolbarWrapper, ToolbarWrapperProps, VISIBILITY_MODEL_KEY, areFilterModelsEquivalent, buildStorageKey, clearPreviousVersionStorage, createRowSelectionModel, customColumnTypes, decodeValue, encodeValue, getColumnVisibilityFromString, getCompletion, getFilterModelFromString, getFinalSearch, 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, muiIconToDSIcon, normalizeRowSelectionModel, numberOperatorDecoder, numberOperatorEncoder, onServerSideSelectionStatusChange, operatorList, updateUrl, urlSearchParamsToString };
777
+ export { BaseButton, BaseCheckbox, BaseIcon, BasePopper, BaseTextField, CATEGORIES, CONTAINS_ANY_OF, CONTAINS_ANY_OF_I, Category, CompletionResponse, ControlledPagination, ControlledPaginationProps, DEFAULT_OPERATORS, DETAIL_PANEL_TOGGLE_COL_DEF, DIMENSION_MODEL_KEY, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, DOES_NOT_HAVE, DOES_NOT_HAVE_ANY_OF, DOES_NOT_HAVE_ANY_OF_WITH_SELECT, DOES_NOT_HAVE_WITH_SELECT, DataGrid, DataGridModel, DataGridProps, ENDS_WITH_ANY_OF, FILTER_MODEL_KEY, FILTER_SEARCH_KEY, FilterConfig, GridToolbarFilterSemanticField, GridToolbarFilterSemanticFieldProps, HAS, 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, PAGINATION_MODEL_KEY, PINNED_COLUMNS, PinnedColumns, SORT_MODEL_KEY, STARTS_WITH_ANY_OF, SelectionStatus, ServerSideControlledPagination, ServerSideControlledPaginationProps, StatefulDataGrid, StatefulDataGridProps, StyledDataGridProps, TextCell, Toolbar, ToolbarWrapper, ToolbarWrapperProps, VISIBILITY_MODEL_KEY, areFilterModelsEquivalent, buildStorageKey, clearPreviousVersionStorage, customColumnTypes, decodeValue, encodeValue, getColumnVisibilityFromString, getCompletion, getFilterModelFromString, getFinalSearch, getGridNumericOperators, getGridStringArrayOperators, getGridStringArrayOperatorsWithSelect, getGridStringArrayOperatorsWithSelectOnStringArrayColumns, getGridStringOperators, getModelsParsedOrUpdateLocalStorage, getPaginationFromString, getPinnedColumnsFromString, getRsMultipleSelectColumnType, getRsMultipleSelectWithShortOperatorListColumnType, getRsNumberColumnType, getRsSingleSelectColumnType, getRsSingleSelectWithShortOperatorListColumnType, getRsStringColumnType, getSearchParamsFromColumnVisibility, getSearchParamsFromFilterModel, getSearchParamsFromPagination, getSearchParamsFromPinnedColumns, getSearchParamsFromSorting, getSearchParamsFromTab, getSortingFromString, isOperatorValueValid, isValueValid, muiIconToDSIcon, numberOperatorDecoder, numberOperatorEncoder, onServerSideSelectionStatusChange, operatorList, updateUrl, urlSearchParamsToString };