@redsift/table 11.11.0-muiv6 → 11.11.0-muiv7

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,273 +1,164 @@
1
- import * as _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect from '@mui/x-data-grid/components/panel/filterPanel/GridFilterInputMultipleSingleSelect';
2
- import * as _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleValue from '@mui/x-data-grid/components/panel/filterPanel/GridFilterInputMultipleValue';
3
- import * as _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect from '@mui/x-data-grid/components/panel/filterPanel/GridFilterInputSingleSelect';
4
1
  import * as _mui_x_data_grid_pro from '@mui/x-data-grid-pro';
5
- 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';
2
+ import { GridColTypeDef, GridColType, GridFilterOperator, GridFilterInputSingleSelect, GridFilterInputMultipleSingleSelect, DataGridProProps, GridFilterModel, GridPaginationModel, GridSortModel, GridColumnVisibilityModel, GridPinnedColumnFields, GridSlotsComponent, GridCallbackDetails, GridRowSelectionModel, GridApiPro as GridApiPro$1, GridRowParams, GridToolbarExportProps, GridToolbarFilterButtonProps, GridToolbarColumnsButton, GridToolbarDensitySelector } from '@mui/x-data-grid-pro';
6
3
  export { GridAlignment, GridColDef, GridFilterItem, GridFilterModel, getGridBooleanOperators, getGridDateOperators, getGridSingleSelectOperators } from '@mui/x-data-grid-pro';
4
+ import * as _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect from '@mui/x-data-grid/components/panel/filterPanel/GridFilterInputMultipleSingleSelect';
5
+ import * as _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect from '@mui/x-data-grid/components/panel/filterPanel/GridFilterInputSingleSelect';
7
6
  import { GridInitialStatePro } from '@mui/x-data-grid-pro/models/gridStatePro';
8
- import React, { ReactNode, ComponentProps, MutableRefObject, RefObject } from 'react';
7
+ import React$1, { ReactNode, ComponentProps, MutableRefObject, RefObject } from 'react';
9
8
  import { TablePaginationProps } from '@mui/material';
10
9
  import { Theme, Comp, IconProps, NotificationsColorPalette, ProductColorPalette, ShieldVariant } from '@redsift/design-system';
11
10
  import { GridApiPro } from '@mui/x-data-grid-pro/models/gridApiPro';
12
11
 
13
12
  declare const DETAIL_PANEL_TOGGLE_COL_DEF: _mui_x_data_grid_pro.GridColDef<any, any, any>;
14
13
 
15
- declare const getRsStringColumnType: () => {
16
- type: string;
17
- filterOperators: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
18
- };
19
- declare const getRsNumberColumnType: () => {
20
- type: string;
21
- filterOperators: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
22
- };
23
- declare const getRsSingleSelectColumnType: () => {
24
- type: string;
25
- filterOperators: ({
26
- InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
27
- label: string;
28
- value: string;
29
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
30
- } | {
31
- label: string;
32
- value: string;
33
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
34
- InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleValue.GridFilterInputMultipleValue;
35
- } | {
36
- InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
37
- label: string;
38
- value: string;
39
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
40
- })[];
41
- };
42
- declare const getRsSingleSelectWithShortOperatorListColumnType: () => {
43
- type: string;
44
- filterOperators: ({
45
- InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
46
- label: string;
47
- value: string;
48
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
49
- } | {
50
- InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
51
- label: string;
52
- value: string;
53
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
54
- })[];
55
- };
56
- declare const getRsMultipleSelectColumnType: () => {
57
- type: string;
58
- filterOperators: ({
59
- InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
60
- label: string;
61
- value: string;
62
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
63
- } | {
64
- InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
65
- label: string;
66
- value: string;
67
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
68
- })[];
69
- };
70
- declare const getRsMultipleSelectWithShortOperatorListColumnType: () => {
71
- type: string;
72
- filterOperators: ({
73
- InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
74
- label: string;
75
- value: string;
76
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
77
- } | {
78
- InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
79
- label: string;
80
- value: string;
81
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
82
- })[];
83
- };
84
- declare const customColumnTypes: Partial<GridColumnTypesRecord>;
14
+ declare const getRsStringColumnType: () => GridColTypeDef<any, any>;
15
+ declare const getRsNumberColumnType: () => GridColTypeDef<any, any>;
16
+ declare const getRsSingleSelectColumnType: () => GridColTypeDef<any, any>;
17
+ declare const getRsSingleSelectWithShortOperatorListColumnType: () => GridColTypeDef<any, any>;
18
+ declare const getRsMultipleSelectColumnType: () => GridColTypeDef<any, any>;
19
+ declare const getRsMultipleSelectWithShortOperatorListColumnType: () => GridColTypeDef<any, any>;
20
+ declare const customColumnTypes: Record<GridColType | string, GridColTypeDef>;
85
21
 
86
- declare const IS_BETWEEN: {
87
- label: string;
88
- value: string;
89
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams<any, any>) => boolean) | null;
90
- InputComponent: (props: any) => JSX.Element;
91
- };
22
+ declare const IS_BETWEEN: GridFilterOperator<any, number, any>;
92
23
 
93
- declare const getGridNumericOperators: () => GridFilterOperator<any, number | string | null, any>[];
24
+ declare const getGridNumericOperators: () => GridFilterOperator<any, unknown, any>[];
94
25
 
95
- declare const DOES_NOT_CONTAIN: {
96
- label: string;
97
- value: string;
98
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
99
- InputComponent: typeof GridFilterInputValue;
100
- };
26
+ declare const DOES_NOT_CONTAIN: GridFilterOperator<any, string | string[], any>;
101
27
 
102
- declare const DOES_NOT_EQUAL: {
103
- label: string;
104
- value: string;
105
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
106
- InputComponent: typeof GridFilterInputValue;
107
- };
28
+ declare const DOES_NOT_EQUAL: GridFilterOperator<any, string | string[], any>;
108
29
 
109
- declare const DOES_NOT_HAVE: {
110
- label: string;
111
- value: string;
112
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
113
- InputComponent: typeof GridFilterInputValue;
114
- };
30
+ declare const DOES_NOT_HAVE: GridFilterOperator<any, string | string[], any>;
115
31
  declare const DOES_NOT_HAVE_WITH_SELECT: {
116
32
  InputComponent: typeof GridFilterInputSingleSelect;
117
- label: string;
33
+ label?: string | undefined;
34
+ headerLabel?: string | undefined;
118
35
  value: string;
119
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
36
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
37
+ InputComponentProps?: Record<string, any> | undefined;
38
+ getValueAsString?: ((value: any) => string) | undefined;
39
+ requiresFilterValue?: boolean | undefined;
120
40
  };
121
41
 
122
- declare const HAS: {
123
- label: string;
124
- value: string;
125
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
126
- InputComponent: typeof GridFilterInputValue;
127
- };
42
+ declare const HAS: GridFilterOperator<any, string | string[], any>;
128
43
  declare const HAS_WITH_SELECT: {
129
44
  InputComponent: typeof GridFilterInputSingleSelect;
130
- label: string;
45
+ label?: string | undefined;
46
+ headerLabel?: string | undefined;
131
47
  value: string;
132
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
48
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
49
+ InputComponentProps?: Record<string, any> | undefined;
50
+ getValueAsString?: ((value: any) => string) | undefined;
51
+ requiresFilterValue?: boolean | undefined;
133
52
  };
134
53
 
135
- declare const HAS_ONLY: {
136
- label: string;
137
- value: string;
138
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
139
- InputComponent: typeof GridFilterInputValue;
140
- };
54
+ declare const HAS_ONLY: GridFilterOperator<any, string | string[], any>;
141
55
  declare const HAS_ONLY_WITH_SELECT: {
142
56
  InputComponent: typeof GridFilterInputSingleSelect;
143
- label: string;
57
+ label?: string | undefined;
58
+ headerLabel?: string | undefined;
144
59
  value: string;
145
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
60
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
61
+ InputComponentProps?: Record<string, any> | undefined;
62
+ getValueAsString?: ((value: any) => string) | undefined;
63
+ requiresFilterValue?: boolean | undefined;
146
64
  };
147
65
 
148
- declare const IS: {
149
- label: string;
150
- value: string;
151
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
152
- InputComponent: typeof GridFilterInputValue;
153
- };
66
+ declare const IS: GridFilterOperator<any, string | string[], any>;
154
67
  declare const IS_WITH_SELECT: {
155
68
  InputComponent: typeof GridFilterInputSingleSelect;
156
- label: string;
69
+ label?: string | undefined;
70
+ headerLabel?: string | undefined;
157
71
  value: string;
158
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
72
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
73
+ InputComponentProps?: Record<string, any> | undefined;
74
+ getValueAsString?: ((value: any) => string) | undefined;
75
+ requiresFilterValue?: boolean | undefined;
159
76
  };
160
77
 
161
- declare const IS_NOT: {
162
- label: string;
163
- value: string;
164
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
165
- InputComponent: typeof GridFilterInputValue;
166
- };
78
+ declare const IS_NOT: GridFilterOperator<any, string | string[], any>;
167
79
  declare const IS_NOT_WITH_SELECT: {
168
80
  InputComponent: typeof GridFilterInputSingleSelect;
169
- label: string;
81
+ label?: string | undefined;
82
+ headerLabel?: string | undefined;
170
83
  value: string;
171
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
84
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
85
+ InputComponentProps?: Record<string, any> | undefined;
86
+ getValueAsString?: ((value: any) => string) | undefined;
87
+ requiresFilterValue?: boolean | undefined;
172
88
  };
173
89
 
174
- declare const getGridStringOperators: () => GridFilterOperator<any, number | string | null, any>[];
90
+ declare const getGridStringOperators: () => GridFilterOperator<any, unknown, any>[];
175
91
 
176
- declare const CONTAINS_ANY_OF: {
177
- label: string;
178
- value: string;
179
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
180
- InputComponent: typeof GridFilterInputMultipleValue;
181
- };
182
- declare const CONTAINS_ANY_OF_I: {
183
- label: string;
184
- value: string;
185
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
186
- InputComponent: typeof GridFilterInputMultipleValue;
187
- };
92
+ declare const CONTAINS_ANY_OF: GridFilterOperator<any, string | string[], any>;
93
+ declare const CONTAINS_ANY_OF_I: GridFilterOperator<any, string | string[], any>;
188
94
 
189
- declare const DOES_NOT_HAVE_ANY_OF: {
190
- label: string;
191
- value: string;
192
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
193
- InputComponent: typeof GridFilterInputMultipleValue;
194
- };
95
+ declare const DOES_NOT_HAVE_ANY_OF: GridFilterOperator<any, string | string[], any>;
195
96
  declare const DOES_NOT_HAVE_ANY_OF_WITH_SELECT: {
196
97
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
197
- label: string;
98
+ label?: string | undefined;
99
+ headerLabel?: string | undefined;
198
100
  value: string;
199
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
101
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
102
+ InputComponentProps?: Record<string, any> | undefined;
103
+ getValueAsString?: ((value: any) => string) | undefined;
104
+ requiresFilterValue?: boolean | undefined;
200
105
  };
201
106
 
202
- declare const ENDS_WITH_ANY_OF: {
203
- label: string;
204
- value: string;
205
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
206
- InputComponent: typeof GridFilterInputMultipleValue;
207
- };
107
+ declare const ENDS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any>;
208
108
 
209
- declare const IS_ANY_OF: {
210
- label: string;
211
- value: string;
212
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
213
- InputComponent: typeof GridFilterInputMultipleValue;
214
- };
109
+ declare const IS_ANY_OF: GridFilterOperator<any, string | string[], any>;
215
110
  declare const IS_ANY_OF_WITH_SELECT: {
216
111
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
217
- label: string;
112
+ label?: string | undefined;
113
+ headerLabel?: string | undefined;
218
114
  value: string;
219
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
115
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
116
+ InputComponentProps?: Record<string, any> | undefined;
117
+ getValueAsString?: ((value: any) => string) | undefined;
118
+ requiresFilterValue?: boolean | undefined;
220
119
  };
221
120
 
222
- declare const IS_ANY_OF_I: {
223
- label: string;
224
- value: string;
225
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
226
- InputComponent: typeof GridFilterInputMultipleValue;
227
- };
121
+ declare const IS_ANY_OF_I: GridFilterOperator<any, string | string[], any>;
228
122
  declare const IS_ANY_OF_I_WITH_SELECT: {
229
123
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
230
- label: string;
124
+ label?: string | undefined;
125
+ headerLabel?: string | undefined;
231
126
  value: string;
232
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
127
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
128
+ InputComponentProps?: Record<string, any> | undefined;
129
+ getValueAsString?: ((value: any) => string) | undefined;
130
+ requiresFilterValue?: boolean | undefined;
233
131
  };
234
132
 
235
- declare const HAS_ANY_OF: {
236
- label: string;
237
- value: string;
238
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
239
- InputComponent: typeof GridFilterInputMultipleValue;
240
- };
133
+ declare const HAS_ANY_OF: GridFilterOperator<any, string | string[], any>;
241
134
  declare const HAS_ANY_OF_WITH_SELECT: {
242
135
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
243
- label: string;
136
+ label?: string | undefined;
137
+ headerLabel?: string | undefined;
244
138
  value: string;
245
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
139
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
140
+ InputComponentProps?: Record<string, any> | undefined;
141
+ getValueAsString?: ((value: any) => string) | undefined;
142
+ requiresFilterValue?: boolean | undefined;
246
143
  };
247
144
 
248
- declare const IS_NOT_ANY_OF: {
249
- label: string;
250
- value: string;
251
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
252
- InputComponent: typeof GridFilterInputMultipleValue;
253
- };
145
+ declare const IS_NOT_ANY_OF: GridFilterOperator<any, string | string[], any>;
254
146
  declare const IS_NOT_ANY_OF_WITH_SELECT: {
255
147
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
256
- label: string;
148
+ label?: string | undefined;
149
+ headerLabel?: string | undefined;
257
150
  value: string;
258
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
151
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
152
+ InputComponentProps?: Record<string, any> | undefined;
153
+ getValueAsString?: ((value: any) => string) | undefined;
154
+ requiresFilterValue?: boolean | undefined;
259
155
  };
260
156
 
261
- declare const STARTS_WITH_ANY_OF: {
262
- label: string;
263
- value: string;
264
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
265
- InputComponent: typeof GridFilterInputMultipleValue;
266
- };
157
+ declare const STARTS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any>;
267
158
 
268
- declare const getGridStringArrayOperators: () => GridFilterOperator<any, number | string | null, any>[];
269
- declare const getGridStringArrayOperatorsWithSelect: () => GridFilterOperator<any, number | string | null, any>[];
270
- declare const getGridStringArrayOperatorsWithSelectOnStringArrayColumns: () => GridFilterOperator<any, number | string | null, any>[];
159
+ declare const getGridStringArrayOperators: () => GridFilterOperator<any, unknown, any>[];
160
+ declare const getGridStringArrayOperatorsWithSelect: () => GridFilterOperator<any, unknown, any>[];
161
+ declare const getGridStringArrayOperatorsWithSelectOnStringArrayColumns: () => GridFilterOperator<any, unknown, any>[];
271
162
 
272
163
  declare const operatorList: {
273
164
  string: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
@@ -276,58 +167,85 @@ declare const operatorList: {
276
167
  date: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
277
168
  dateTime: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
278
169
  singleSelect: _mui_x_data_grid_pro.GridFilterOperator<any, any, any>[];
279
- rsString: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
280
- rsNumber: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
281
- rsSingleSelect: ({
170
+ rsString: _mui_x_data_grid_pro.GridFilterOperator<any, unknown, any>[];
171
+ rsNumber: _mui_x_data_grid_pro.GridFilterOperator<any, unknown, any>[];
172
+ rsSingleSelect: (_mui_x_data_grid_pro.GridFilterOperator<any, string | string[], any> | {
282
173
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
283
- label: string;
284
- value: string;
285
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
286
- } | {
287
- label: string;
174
+ label?: string | undefined;
175
+ headerLabel?: string | undefined;
288
176
  value: string;
289
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
290
- InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleValue.GridFilterInputMultipleValue;
177
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
178
+ InputComponentProps?: Record<string, any> | undefined;
179
+ getValueAsString?: ((value: any) => string) | undefined;
180
+ requiresFilterValue?: boolean | undefined;
291
181
  } | {
292
182
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
293
- label: string;
183
+ label?: string | undefined;
184
+ headerLabel?: string | undefined;
294
185
  value: string;
295
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
186
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
187
+ InputComponentProps?: Record<string, any> | undefined;
188
+ getValueAsString?: ((value: any) => string) | undefined;
189
+ requiresFilterValue?: boolean | undefined;
296
190
  })[];
297
191
  rsSingleSelectWithShortOperatorList: ({
298
192
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
299
- label: string;
193
+ label?: string | undefined;
194
+ headerLabel?: string | undefined;
300
195
  value: string;
301
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
196
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
197
+ InputComponentProps?: Record<string, any> | undefined;
198
+ getValueAsString?: ((value: any) => string) | undefined;
199
+ requiresFilterValue?: boolean | undefined;
302
200
  } | {
303
201
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
304
- label: string;
202
+ label?: string | undefined;
203
+ headerLabel?: string | undefined;
305
204
  value: string;
306
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
205
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
206
+ InputComponentProps?: Record<string, any> | undefined;
207
+ getValueAsString?: ((value: any) => string) | undefined;
208
+ requiresFilterValue?: boolean | undefined;
307
209
  })[];
308
210
  rsMultipleSelect: ({
309
211
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
310
- label: string;
212
+ label?: string | undefined;
213
+ headerLabel?: string | undefined;
311
214
  value: string;
312
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
215
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
216
+ InputComponentProps?: Record<string, any> | undefined;
217
+ getValueAsString?: ((value: any) => string) | undefined;
218
+ requiresFilterValue?: boolean | undefined;
313
219
  } | {
314
220
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
315
- label: string;
221
+ label?: string | undefined;
222
+ headerLabel?: string | undefined;
316
223
  value: string;
317
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
224
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
225
+ InputComponentProps?: Record<string, any> | undefined;
226
+ getValueAsString?: ((value: any) => string) | undefined;
227
+ requiresFilterValue?: boolean | undefined;
318
228
  })[];
319
229
  rsMultipleSelectWithShortOperatorList: ({
320
230
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
321
- label: string;
231
+ label?: string | undefined;
232
+ headerLabel?: string | undefined;
322
233
  value: string;
323
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
234
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
235
+ InputComponentProps?: Record<string, any> | undefined;
236
+ getValueAsString?: ((value: any) => string) | undefined;
237
+ requiresFilterValue?: boolean | undefined;
324
238
  } | {
325
239
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
326
- label: string;
240
+ label?: string | undefined;
241
+ headerLabel?: string | undefined;
327
242
  value: string;
328
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams<any, unknown, unknown, _mui_x_data_grid_pro.GridTreeNode>) => boolean) | null;
243
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
244
+ InputComponentProps?: Record<string, any> | undefined;
245
+ getValueAsString?: ((value: any) => string) | undefined;
246
+ requiresFilterValue?: boolean | undefined;
329
247
  })[];
330
- rsStringArray: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
248
+ rsStringArray: _mui_x_data_grid_pro.GridFilterOperator<any, unknown, any>[];
331
249
  };
332
250
 
333
251
  declare function getCompletion(text: string, role: string, openai_api_key: string | undefined, model?: string): Promise<string>;
@@ -451,7 +369,7 @@ declare const getFilterModelFromString: (searchString: string, columns: DataGrid
451
369
  declare const getSearchParamsFromFilterModel: (filterModel: ExtendedGridFilterModel) => URLSearchParams;
452
370
  /** SORT */
453
371
  declare const getSortingFromString: (searchString: string, columns: DataGridProps['columns']) => GridSortModel | 'invalid';
454
- declare const getSearchParamsFromSorting: (sorting: GridSortItem[]) => URLSearchParams;
372
+ declare const getSearchParamsFromSorting: (sorting: GridSortModel) => URLSearchParams;
455
373
  /** PAGINATION */
456
374
  declare const getPaginationFromString: (searchString: string) => ExtendedGridPaginationModel | 'invalid';
457
375
  declare const getSearchParamsFromPagination: (pagination: ExtendedGridPaginationModel) => URLSearchParams;
@@ -459,7 +377,7 @@ declare const getSearchParamsFromPagination: (pagination: ExtendedGridPagination
459
377
  declare const getColumnVisibilityFromString: (searchString: string, columns: DataGridProps['columns']) => GridColumnVisibilityModel | 'invalid';
460
378
  declare const getSearchParamsFromColumnVisibility: (columnVisibility: GridColumnVisibilityModel, columns: DataGridProps['columns']) => URLSearchParams;
461
379
  declare const getPinnedColumnsFromString: (notParsed: string, tableColumns: DataGridProps['columns']) => PinnedColumns | 'invalid';
462
- declare const getSearchParamsFromPinnedColumns: (pinnedColumns: GridPinnedColumns) => URLSearchParams;
380
+ declare const getSearchParamsFromPinnedColumns: (pinnedColumns: GridPinnedColumnFields) => URLSearchParams;
463
381
  declare const getSearchParamsFromTab: (search: string) => URLSearchParams;
464
382
  type FinalSearchInput = {
465
383
  localStorageVersion: number;
@@ -467,7 +385,7 @@ type FinalSearchInput = {
467
385
  sortModel: GridSortModel;
468
386
  paginationModel: ExtendedGridPaginationModel;
469
387
  columnsVisibilityModel: GridColumnVisibilityModel;
470
- pinnedColumnsModel: GridPinnedColumns;
388
+ pinnedColumnsModel: GridPinnedColumnFields;
471
389
  search: string;
472
390
  columns: DataGridProps['columns'];
473
391
  };
@@ -493,7 +411,7 @@ type ModelsTable = {
493
411
  sortModel: GridSortModel;
494
412
  paginationModel: ExtendedGridPaginationModel;
495
413
  columnVisibilityModel: GridColumnVisibilityModel;
496
- pinnedColumnsModel: PinnedColumns;
414
+ pinnedColumnsModel: GridPinnedColumnFields;
497
415
  };
498
416
  /** Return the state of the table given the URL and the local storage state */
499
417
  declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps['columns'], historyReplace: (newSearch: string) => void, initialState: GridInitialStatePro | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
@@ -502,21 +420,21 @@ type DataGridModel = {
502
420
  sortModel: GridSortModel;
503
421
  paginationModel: ExtendedGridPaginationModel;
504
422
  columnsModel: GridColumnVisibilityModel;
505
- pinnedColumnsModel: GridPinnedColumns;
423
+ pinnedColumnsModel: GridPinnedColumnFields;
506
424
  };
507
425
  declare const updateUrl: ({ filterModel, sortModel, paginationModel, columnsModel: columnsVisibilityModel, pinnedColumnsModel }: DataGridModel, search: string, localStorageVersion: number, historyReplace: (newSearch: string) => void, columns: DataGridProps['columns']) => void;
508
426
  declare const areFilterModelsEquivalent: (filterModel: GridFilterModel, filterModelToMatch: GridFilterModel) => boolean;
509
427
 
510
- declare const BaseButton: React.JSXElementConstructor<any>;
428
+ declare const BaseButton: React$1.JSXElementConstructor<any>;
511
429
 
512
- declare const BaseCheckbox: React.JSXElementConstructor<any>;
430
+ declare const BaseCheckbox: React$1.JSXElementConstructor<any>;
513
431
 
514
432
  declare const muiIconToDSIcon: Partial<Record<keyof GridSlotsComponent, string>>;
515
- declare const BaseIcon: React.JSXElementConstructor<any>;
433
+ declare const BaseIcon: React$1.JSXElementConstructor<any>;
516
434
 
517
- declare const BasePopper: React.JSXElementConstructor<any>;
435
+ declare const BasePopper: React$1.JSXElementConstructor<any>;
518
436
 
519
- declare const BaseTextField: React.JSXElementConstructor<any>;
437
+ declare const BaseTextField: React$1.JSXElementConstructor<any>;
520
438
 
521
439
  interface CompletionResponseItem {
522
440
  field: string;
@@ -545,7 +463,7 @@ interface FilterConfig {
545
463
  }
546
464
  interface GridToolbarFilterSemanticFieldProps extends ComponentProps<'form'> {
547
465
  nlpFilterConfig: FilterConfig;
548
- onFilterModelChange: (filterModel: GridFilterModel) => void;
466
+ onFilterModelChange?: (filterModel: GridFilterModel) => void;
549
467
  dateFormat?: string;
550
468
  defaultModel?: string;
551
469
  defaultFilter?: CompletionResponse;
@@ -571,12 +489,12 @@ type ControlledPaginationProps = {
571
489
  selectionStatus: SelectionStatus;
572
490
  apiRef: MutableRefObject<GridApiPro>;
573
491
  paginationModel: GridPaginationModel;
574
- onPaginationModelChange: (model: GridPaginationModel) => void;
492
+ onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
575
493
  pageSizeOptions?: number[];
576
494
  isRowSelectable?: DataGridProps['isRowSelectable'];
577
495
  paginationProps?: DataGridProps['paginationProps'];
578
496
  };
579
- declare const ControlledPagination: React.FC<ControlledPaginationProps>;
497
+ declare const ControlledPagination: React$1.FC<ControlledPaginationProps>;
580
498
 
581
499
  type ServerSideControlledPaginationProps = {
582
500
  displaySelection?: boolean;
@@ -584,14 +502,14 @@ type ServerSideControlledPaginationProps = {
584
502
  displayPagination?: boolean;
585
503
  selectionStatus: SelectionStatus;
586
504
  paginationModel: GridPaginationModel;
587
- onPaginationModelChange: (model: GridPaginationModel) => void;
505
+ onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
588
506
  pageSizeOptions?: number[];
589
507
  paginationProps?: DataGridProps['paginationProps'];
590
508
  rowCount: number;
591
509
  loading?: boolean;
592
510
  };
593
- 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;
594
- declare const ServerSideControlledPagination: React.FC<ServerSideControlledPaginationProps>;
511
+ 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;
512
+ declare const ServerSideControlledPagination: React$1.FC<ServerSideControlledPaginationProps>;
595
513
 
596
514
  interface TextCellProps extends ComponentProps<'div'> {
597
515
  /** Including Badge Component. */
@@ -619,16 +537,16 @@ interface TextCellProps extends ComponentProps<'div'> {
619
537
  */
620
538
  declare const TextCell: Comp<TextCellProps, HTMLDivElement>;
621
539
 
622
- type GridToolbarColumnsProps = Omit<typeof GridToolbarColumnsButton, 'ref'>;
623
- type GridToolbarDensityProps = Omit<typeof GridToolbarDensitySelector, 'ref'>;
540
+ type GridToolbarColumnsButtonProps = React.ComponentProps<typeof GridToolbarColumnsButton>;
541
+ type GridToolbarDensitySelectorProps = React.ComponentProps<typeof GridToolbarDensitySelector>;
624
542
  type GridToolbarFilterSemanticProps = Omit<GridToolbarFilterSemanticFieldProps, 'ref'>;
625
543
  interface ToolbarProps {
626
544
  /** Props to forward to the column button. */
627
- columnsButtonProps?: GridToolbarColumnsProps;
545
+ columnsButtonProps?: GridToolbarColumnsButtonProps;
628
546
  /** Column button ref. */
629
547
  columnsButtonRef?: RefObject<HTMLButtonElement>;
630
548
  /** Props to forward to the density button. */
631
- densityButtonProps?: GridToolbarDensityProps;
549
+ densityButtonProps?: GridToolbarDensitySelectorProps;
632
550
  /** Density button ref. */
633
551
  densityButtonRef?: RefObject<HTMLButtonElement>;
634
552
  /** Props to forward to the export button. */
@@ -668,16 +586,16 @@ declare global {
668
586
  }
669
587
  }
670
588
  /** ------ */
671
- declare const Toolbar: React.FC<ToolbarProps>;
589
+ declare const Toolbar: React$1.FC<ToolbarProps>;
672
590
 
673
591
  type ToolbarWrapperProps = {
674
592
  hideToolbar: DataGridProps['hideToolbar'];
675
- RenderedToolbar: React.JSXElementConstructor<any>;
593
+ RenderedToolbar: React$1.JSXElementConstructor<any>;
676
594
  filterModel: DataGridProps['filterModel'];
677
595
  onFilterModelChange: DataGridProps['onFilterModelChange'];
678
596
  pagination: DataGridProps['pagination'];
679
597
  paginationPlacement: DataGridProps['paginationPlacement'];
680
- selectionStatus: React.MutableRefObject<SelectionStatus>;
598
+ selectionStatus: React$1.MutableRefObject<SelectionStatus>;
681
599
  apiRef: DataGridProps['apiRef'];
682
600
  isRowSelectable: DataGridProps['isRowSelectable'];
683
601
  paginationModel: DataGridProps['paginationModel'];
@@ -687,6 +605,6 @@ type ToolbarWrapperProps = {
687
605
  paginationMode?: DataGridProps['paginationMode'];
688
606
  rowCount?: DataGridProps['rowCount'];
689
607
  };
690
- declare const ToolbarWrapper: React.FC<ToolbarWrapperProps>;
608
+ declare const ToolbarWrapper: React$1.FC<ToolbarWrapperProps>;
691
609
 
692
610
  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, areSearchStringsEqual, buildQueryParamsString, buildStorageKey, clearPreviousVersionStorage, convertFromDisplayFormat, convertToDisplayFormat, customColumnTypes, decodeValue, encodeValue, getColumnVisibilityFromString, getCompletion, getDecodedSearchFromUrl, 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 };