@redsift/table 11.11.0-muiv6 → 11.11.0-muiv8-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,333 +1,250 @@
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, GridRowSelectionModel, GridRowId, DataGridProProps, GridFilterModel, GridPaginationModel, GridSortModel, GridColumnVisibilityModel, GridPinnedColumnFields, GridInitialState, GridSlotsComponent, GridApiPro, GridCallbackDetails, 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';
7
- import { GridInitialStatePro } from '@mui/x-data-grid-pro/models/gridStatePro';
8
- import React, { ReactNode, ComponentProps, MutableRefObject, RefObject } from 'react';
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';
6
+ import React$1, { Ref, ReactElement, ComponentProps, ReactNode, MutableRefObject, RefObject } from 'react';
9
7
  import { TablePaginationProps } from '@mui/material';
10
- import { Theme, Comp, IconProps, NotificationsColorPalette, ProductColorPalette, ShieldVariant } from '@redsift/design-system';
11
- import { GridApiPro } from '@mui/x-data-grid-pro/models/gridApiPro';
12
8
 
13
- declare const DETAIL_PANEL_TOGGLE_COL_DEF: _mui_x_data_grid_pro.GridColDef<any, any, any>;
9
+ declare const DETAIL_PANEL_TOGGLE_COL_DEF: _mui_x_data_grid_pro.GridColDef;
14
10
 
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>;
11
+ declare const getRsStringColumnType: () => GridColTypeDef;
12
+ declare const getRsNumberColumnType: () => GridColTypeDef;
13
+ declare const getRsSingleSelectColumnType: () => GridColTypeDef;
14
+ declare const getRsSingleSelectWithShortOperatorListColumnType: () => GridColTypeDef;
15
+ declare const getRsMultipleSelectColumnType: () => GridColTypeDef;
16
+ declare const getRsMultipleSelectWithShortOperatorListColumnType: () => GridColTypeDef;
17
+ declare const customColumnTypes: Record<GridColType | string, GridColTypeDef>;
85
18
 
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
- };
19
+ declare const IS_BETWEEN: GridFilterOperator<any, number, any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
92
20
 
93
- declare const getGridNumericOperators: () => GridFilterOperator<any, number | string | null, any>[];
21
+ declare const getGridNumericOperators: () => GridFilterOperator<any, unknown, any>[];
94
22
 
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
- };
23
+ declare const DOES_NOT_CONTAIN: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
101
24
 
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
- };
25
+ declare const DOES_NOT_EQUAL: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
108
26
 
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
- };
27
+ declare const DOES_NOT_HAVE: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
115
28
  declare const DOES_NOT_HAVE_WITH_SELECT: {
116
29
  InputComponent: typeof GridFilterInputSingleSelect;
117
- label: string;
118
- value: string;
119
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
30
+ label?: string | undefined;
31
+ headerLabel?: string | undefined;
32
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
33
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
34
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
35
+ getValueAsString?: ((value: any) => string) | undefined;
36
+ requiresFilterValue?: boolean | undefined;
120
37
  };
121
38
 
122
- declare const HAS: {
123
- label: string;
124
- value: string;
125
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
126
- InputComponent: typeof GridFilterInputValue;
127
- };
39
+ declare const HAS: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
128
40
  declare const HAS_WITH_SELECT: {
129
41
  InputComponent: typeof GridFilterInputSingleSelect;
130
- label: string;
131
- value: string;
132
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
42
+ label?: string | undefined;
43
+ headerLabel?: string | undefined;
44
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
45
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
46
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
47
+ getValueAsString?: ((value: any) => string) | undefined;
48
+ requiresFilterValue?: boolean | undefined;
133
49
  };
134
50
 
135
- declare const HAS_ONLY: {
136
- label: string;
137
- value: string;
138
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
139
- InputComponent: typeof GridFilterInputValue;
140
- };
51
+ declare const HAS_ONLY: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
141
52
  declare const HAS_ONLY_WITH_SELECT: {
142
53
  InputComponent: typeof GridFilterInputSingleSelect;
143
- label: string;
144
- value: string;
145
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
54
+ label?: string | undefined;
55
+ headerLabel?: string | undefined;
56
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
57
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
58
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
59
+ getValueAsString?: ((value: any) => string) | undefined;
60
+ requiresFilterValue?: boolean | undefined;
146
61
  };
147
62
 
148
- declare const IS: {
149
- label: string;
150
- value: string;
151
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
152
- InputComponent: typeof GridFilterInputValue;
153
- };
63
+ declare const IS: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
154
64
  declare const IS_WITH_SELECT: {
155
65
  InputComponent: typeof GridFilterInputSingleSelect;
156
- label: string;
157
- value: string;
158
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
66
+ label?: string | undefined;
67
+ headerLabel?: string | undefined;
68
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
69
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
70
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
71
+ getValueAsString?: ((value: any) => string) | undefined;
72
+ requiresFilterValue?: boolean | undefined;
159
73
  };
160
74
 
161
- declare const IS_NOT: {
162
- label: string;
163
- value: string;
164
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
165
- InputComponent: typeof GridFilterInputValue;
166
- };
75
+ declare const IS_NOT: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
167
76
  declare const IS_NOT_WITH_SELECT: {
168
77
  InputComponent: typeof GridFilterInputSingleSelect;
169
- label: string;
170
- value: string;
171
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
78
+ label?: string | undefined;
79
+ headerLabel?: string | undefined;
80
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
81
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
82
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
83
+ getValueAsString?: ((value: any) => string) | undefined;
84
+ requiresFilterValue?: boolean | undefined;
172
85
  };
173
86
 
174
- declare const getGridStringOperators: () => GridFilterOperator<any, number | string | null, any>[];
87
+ declare const getGridStringOperators: () => GridFilterOperator<any, unknown, any>[];
175
88
 
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
- };
89
+ declare const CONTAINS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
90
+ declare const CONTAINS_ANY_OF_I: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
188
91
 
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
- };
92
+ declare const DOES_NOT_HAVE_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
195
93
  declare const DOES_NOT_HAVE_ANY_OF_WITH_SELECT: {
196
94
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
197
- label: string;
198
- value: string;
199
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
95
+ label?: string | undefined;
96
+ headerLabel?: string | undefined;
97
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
98
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
99
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
100
+ getValueAsString?: ((value: any) => string) | undefined;
101
+ requiresFilterValue?: boolean | undefined;
200
102
  };
201
103
 
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
- };
104
+ declare const ENDS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
208
105
 
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
- };
106
+ declare const IS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
215
107
  declare const IS_ANY_OF_WITH_SELECT: {
216
108
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
217
- label: string;
218
- value: string;
219
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
109
+ label?: string | undefined;
110
+ headerLabel?: string | undefined;
111
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
112
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
113
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
114
+ getValueAsString?: ((value: any) => string) | undefined;
115
+ requiresFilterValue?: boolean | undefined;
220
116
  };
221
117
 
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
- };
118
+ declare const IS_ANY_OF_I: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
228
119
  declare const IS_ANY_OF_I_WITH_SELECT: {
229
120
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
230
- label: string;
231
- value: string;
232
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
121
+ label?: string | undefined;
122
+ headerLabel?: string | undefined;
123
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
124
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
125
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
126
+ getValueAsString?: ((value: any) => string) | undefined;
127
+ requiresFilterValue?: boolean | undefined;
233
128
  };
234
129
 
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
- };
130
+ declare const HAS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
241
131
  declare const HAS_ANY_OF_WITH_SELECT: {
242
132
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
243
- label: string;
244
- value: string;
245
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
133
+ label?: string | undefined;
134
+ headerLabel?: string | undefined;
135
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
136
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
137
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
138
+ getValueAsString?: ((value: any) => string) | undefined;
139
+ requiresFilterValue?: boolean | undefined;
246
140
  };
247
141
 
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
- };
142
+ declare const IS_NOT_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
254
143
  declare const IS_NOT_ANY_OF_WITH_SELECT: {
255
144
  InputComponent: typeof GridFilterInputMultipleSingleSelect;
256
- label: string;
257
- value: string;
258
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
145
+ label?: string | undefined;
146
+ headerLabel?: string | undefined;
147
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
148
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
149
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
150
+ getValueAsString?: ((value: any) => string) | undefined;
151
+ requiresFilterValue?: boolean | undefined;
259
152
  };
260
153
 
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
- };
154
+ declare const STARTS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps>;
267
155
 
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>[];
156
+ declare const getGridStringArrayOperators: () => GridFilterOperator<any, unknown, any>[];
157
+ declare const getGridStringArrayOperatorsWithSelect: () => GridFilterOperator<any, unknown, any>[];
158
+ declare const getGridStringArrayOperatorsWithSelectOnStringArrayColumns: () => GridFilterOperator<any, unknown, any>[];
271
159
 
272
160
  declare const operatorList: {
273
- string: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
274
- number: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
275
- boolean: _mui_x_data_grid_pro.GridFilterOperator<any, boolean | null, any>[];
276
- date: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
277
- dateTime: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
278
- 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: ({
161
+ string: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any, _mui_x_data_grid_pro.GridFilterInputValueProps>[];
162
+ number: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any, _mui_x_data_grid_pro.GridFilterInputValueProps & {
163
+ type?: "number" | undefined;
164
+ }>[];
165
+ boolean: _mui_x_data_grid_pro.GridFilterOperator<any, boolean | null, any, _mui_x_data_grid_pro.GridFilterInputValueProps>[];
166
+ date: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any, _mui_x_data_grid_pro.GridFilterInputDateProps>[];
167
+ dateTime: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any, _mui_x_data_grid_pro.GridFilterInputDateProps>[];
168
+ singleSelect: _mui_x_data_grid_pro.GridFilterOperator<any, any, any, _mui_x_data_grid_pro.GridFilterInputValueProps>[];
169
+ rsString: _mui_x_data_grid_pro.GridFilterOperator<any, unknown, any, _mui_x_data_grid_pro.GridFilterInputValueProps>[];
170
+ rsNumber: _mui_x_data_grid_pro.GridFilterOperator<any, unknown, any, _mui_x_data_grid_pro.GridFilterInputValueProps>[];
171
+ rsSingleSelect: (_mui_x_data_grid_pro.GridFilterOperator<any, string | string[], any, _mui_x_data_grid_pro.GridFilterInputValueProps> | {
282
172
  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;
288
- 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;
173
+ label?: string | undefined;
174
+ headerLabel?: string | undefined;
175
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
176
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
177
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
178
+ getValueAsString?: ((value: any) => string) | undefined;
179
+ requiresFilterValue?: boolean | undefined;
291
180
  } | {
292
181
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
293
- label: string;
294
- 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;
182
+ label?: string | undefined;
183
+ headerLabel?: string | undefined;
184
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
185
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
186
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
187
+ getValueAsString?: ((value: any) => string) | undefined;
188
+ requiresFilterValue?: boolean | undefined;
296
189
  })[];
297
190
  rsSingleSelectWithShortOperatorList: ({
298
191
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
299
- label: string;
300
- 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;
192
+ label?: string | undefined;
193
+ headerLabel?: string | undefined;
194
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
195
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
196
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
197
+ getValueAsString?: ((value: any) => string) | undefined;
198
+ requiresFilterValue?: boolean | undefined;
302
199
  } | {
303
200
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
304
- label: string;
305
- 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;
201
+ label?: string | undefined;
202
+ headerLabel?: string | undefined;
203
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
204
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
205
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
206
+ getValueAsString?: ((value: any) => string) | undefined;
207
+ requiresFilterValue?: boolean | undefined;
307
208
  })[];
308
209
  rsMultipleSelect: ({
309
210
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
310
- label: string;
311
- 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;
211
+ label?: string | undefined;
212
+ headerLabel?: string | undefined;
213
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
214
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
215
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
216
+ getValueAsString?: ((value: any) => string) | undefined;
217
+ requiresFilterValue?: boolean | undefined;
313
218
  } | {
314
219
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
315
- label: string;
316
- 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;
220
+ label?: string | undefined;
221
+ headerLabel?: string | undefined;
222
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
223
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
224
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
225
+ getValueAsString?: ((value: any) => string) | undefined;
226
+ requiresFilterValue?: boolean | undefined;
318
227
  })[];
319
228
  rsMultipleSelectWithShortOperatorList: ({
320
229
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
321
- label: string;
322
- 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;
230
+ label?: string | undefined;
231
+ headerLabel?: string | undefined;
232
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
233
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
234
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
235
+ getValueAsString?: ((value: any) => string) | undefined;
236
+ requiresFilterValue?: boolean | undefined;
324
237
  } | {
325
238
  InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
326
- label: string;
327
- 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;
239
+ label?: string | undefined;
240
+ headerLabel?: string | undefined;
241
+ value: "endsWith" | "startsWith" | (string & {}) | "=" | "is" | "after" | "contains" | "doesNotContain" | "equals" | "doesNotEqual" | "!=" | ">" | ">=" | "<" | "<=" | "not" | "onOrAfter" | "before" | "onOrBefore" | "isEmpty" | "isNotEmpty" | "isAnyOf";
242
+ getApplyFilterFn: _mui_x_data_grid_pro.GetApplyFilterFn<any, string | string[], any>;
243
+ InputComponentProps?: Partial<_mui_x_data_grid_pro.GridFilterInputValueProps> | undefined;
244
+ getValueAsString?: ((value: any) => string) | undefined;
245
+ requiresFilterValue?: boolean | undefined;
329
246
  })[];
330
- rsStringArray: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
247
+ rsStringArray: _mui_x_data_grid_pro.GridFilterOperator<any, unknown, any, _mui_x_data_grid_pro.GridFilterInputValueProps>[];
331
248
  };
332
249
 
333
250
  declare function getCompletion(text: string, role: string, openai_api_key: string | undefined, model?: string): Promise<string>;
@@ -348,6 +265,211 @@ declare const buildStorageKey: ({ id, version, category }: {
348
265
  }) => `${string}:${number}:paginationModel` | `${string}:${number}:filterModel` | `${string}:${number}:sortModel` | `${string}:${number}:visibilityModel` | `${string}:${number}:pinnedColumns` | `${string}:${number}:dimension` | `${string}:${number}:searchModel`;
349
266
  declare const clearPreviousVersionStorage: (id: string, previousLocalStorageVersions: number[]) => void;
350
267
 
268
+ /**
269
+ * Default empty row selection model for MUI DataGrid v8+
270
+ * In v8, GridRowSelectionModel changed from GridRowId[] to { type: 'include' | 'exclude'; ids: Set<GridRowId> }
271
+ */
272
+ declare const EMPTY_ROW_SELECTION_MODEL: GridRowSelectionModel;
273
+ /**
274
+ * Creates a new row selection model with the given ids
275
+ */
276
+ declare const createRowSelectionModel: (ids: GridRowId[] | Set<GridRowId>) => GridRowSelectionModel;
277
+ /**
278
+ * Gets the size/count of selected rows from a selection model
279
+ */
280
+ declare const getSelectionCount: (model: GridRowSelectionModel) => number;
281
+ /**
282
+ * Checks if a row is selected in the given selection model
283
+ */
284
+ declare const isRowSelected: (model: GridRowSelectionModel, rowId: GridRowId) => boolean;
285
+ /**
286
+ * Converts a selection model to an array of selected row IDs
287
+ * Note: For 'exclude' type, this only returns the ids that are explicitly excluded,
288
+ * not the actual selected rows (which would require knowing all row ids)
289
+ */
290
+ declare const getSelectedIds: (model: GridRowSelectionModel) => GridRowId[];
291
+
292
+ /** Component Type. */
293
+ type Comp<P, T = HTMLElement> = {
294
+ (props: P & {
295
+ ref?: Ref<T>;
296
+ }): ReactElement | null;
297
+ /** React component type. */
298
+ readonly $$typeof?: symbol;
299
+ /** Component name. */
300
+ displayName?: string;
301
+ /** Component base class name. */
302
+ className?: string;
303
+ };
304
+ /** Get types of the values of a record. */
305
+ type ValueOf<T extends Record<any, any>> = T[keyof T];
306
+
307
+ /**
308
+ * Color palette.
309
+ */
310
+ declare const Theme: {
311
+ readonly light: "light";
312
+ readonly dark: "dark";
313
+ };
314
+ type Theme = ValueOf<typeof Theme>;
315
+ declare const NotificationsColorPalette: {
316
+ readonly question: "question";
317
+ readonly 'no-data': "no-data";
318
+ readonly success: "success";
319
+ readonly warning: "warning";
320
+ readonly info: "info";
321
+ readonly primary: "primary";
322
+ readonly secondary: "secondary";
323
+ readonly error: "error";
324
+ };
325
+ type NotificationsColorPalette = ValueOf<typeof NotificationsColorPalette>;
326
+ declare const ProductColorPalette: {
327
+ readonly asm: "asm";
328
+ readonly 'brand-trust': "brand-trust";
329
+ readonly certificates: "certificates";
330
+ readonly ondmarc: "ondmarc";
331
+ readonly pulse: "pulse";
332
+ readonly radar: "radar";
333
+ readonly 'rojo-ds': "rojo-ds";
334
+ readonly 'vendor-secure': "vendor-secure";
335
+ readonly website: "website";
336
+ };
337
+ type ProductColorPalette = ValueOf<typeof ProductColorPalette>;
338
+
339
+ declare const AlignSelf: {
340
+ readonly auto: "auto";
341
+ readonly normal: "normal";
342
+ readonly start: "start";
343
+ readonly end: "end";
344
+ readonly center: "center";
345
+ readonly 'flex-start': "flex-start";
346
+ readonly 'flex-end': "flex-end";
347
+ readonly 'self-start': "self-start";
348
+ readonly 'self-end': "self-end";
349
+ readonly baseline: "baseline";
350
+ readonly stretch: "stretch";
351
+ };
352
+ type AlignSelf = ValueOf<typeof AlignSelf>;
353
+ interface LayoutProps {
354
+ /** 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>. */
355
+ flex?: string;
356
+ /** 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>. */
357
+ flexGrow?: number;
358
+ /** 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>. */
359
+ flexShrink?: number;
360
+ /** 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>. */
361
+ flexBasis?: string;
362
+ /** 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>. */
363
+ alignSelf?: AlignSelf;
364
+ /** 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>. */
365
+ justifySelf?: string;
366
+ /** 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>. */
367
+ order?: number;
368
+ /** 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>. */
369
+ gridArea?: string;
370
+ /** 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>. */
371
+ gridColumn?: string;
372
+ /** 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>. */
373
+ gridRow?: string;
374
+ /** 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>. */
375
+ gridColumnStart?: string;
376
+ /** 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>. */
377
+ gridColumnEnd?: string;
378
+ /** 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>. */
379
+ gridRowStart?: string;
380
+ /** 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>. */
381
+ gridRowEnd?: string;
382
+ }
383
+ interface SpacingProps {
384
+ /** The margin for all four sides of the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/margin">MDN</a>. */
385
+ margin?: string;
386
+ /** 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>. */
387
+ marginBottom?: string;
388
+ /** 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>. */
389
+ marginLeft?: string;
390
+ /** 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>. */
391
+ marginRight?: string;
392
+ /** 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>. */
393
+ marginTop?: string;
394
+ }
395
+ interface PositioningProps {
396
+ /** Specifies how the element is positioned. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/position">MDN</a>. */
397
+ position?: string;
398
+ /** The top position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/top">MDN</a>. */
399
+ top?: string;
400
+ /** The bottom position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/bottom">MDN</a>. */
401
+ bottom?: string;
402
+ /** 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. */
403
+ left?: string;
404
+ /** 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. */
405
+ right?: string;
406
+ /** The stacking order for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/z-index">MDN</a>. */
407
+ zIndex?: string;
408
+ }
409
+
410
+ /**
411
+ * Component size.
412
+ */
413
+ declare const IconSize: {
414
+ readonly xsmall: "xsmall";
415
+ readonly small: "small";
416
+ readonly medium: "medium";
417
+ readonly large: "large";
418
+ readonly xlarge: "xlarge";
419
+ readonly xxlarge: "xxlarge";
420
+ };
421
+ type IconSize = ValueOf<typeof IconSize>;
422
+ type IconDimensions = {
423
+ width?: number;
424
+ height?: number;
425
+ fontSize?: number;
426
+ lineHeight?: number;
427
+ };
428
+ /**
429
+ * Component props.
430
+ */
431
+ interface IconProps extends ComponentProps<'span'>, LayoutProps, SpacingProps, PositioningProps {
432
+ /** Indicates whether the element is exposed to an accessibility API. */
433
+ 'aria-hidden'?: boolean | 'false' | 'true';
434
+ /** A screen reader only label for the Icon. */
435
+ 'aria-label'?: string;
436
+ /** Color variant. Either from color palette or hex or rgb strings. */
437
+ color?: NotificationsColorPalette | ProductColorPalette | (string & {});
438
+ /** Whether the icon has a badge attached to it. */
439
+ badge?: ReactElement;
440
+ /**
441
+ * Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
442
+ * Can also be a ReactElement.
443
+ */
444
+ icon: string | string[] | ReactElement;
445
+ /** Icon size. */
446
+ size?: IconSize | IconDimensions;
447
+ /** Additional properties to forward to the SVG tag. */
448
+ svgProps?: ComponentProps<'svg'>;
449
+ /** Theme. */
450
+ theme?: Theme;
451
+ }
452
+
453
+ /**
454
+ * Component variant.
455
+ */
456
+ declare const ShieldVariant: {
457
+ readonly success: "success";
458
+ readonly successLocked: "successLocked";
459
+ readonly successUnlocked: "successUnlocked";
460
+ readonly fail: "fail";
461
+ readonly failLocked: "failLocked";
462
+ readonly failUnlocked: "failUnlocked";
463
+ readonly warning: "warning";
464
+ readonly warningLocked: "warningLocked";
465
+ readonly warningUnlocked: "warningUnlocked";
466
+ readonly ignored: "ignored";
467
+ readonly noData: "noData";
468
+ readonly question: "question";
469
+ readonly email: "email";
470
+ };
471
+ type ShieldVariant = ValueOf<typeof ShieldVariant>;
472
+
351
473
  interface DataGridProps extends Partial<Pick<DataGridProProps, 'rows'>>, Omit<DataGridProProps, 'rows'> {
352
474
  /** License key for MUI Datagrid Pro. */
353
475
  license?: string;
@@ -451,7 +573,7 @@ declare const getFilterModelFromString: (searchString: string, columns: DataGrid
451
573
  declare const getSearchParamsFromFilterModel: (filterModel: ExtendedGridFilterModel) => URLSearchParams;
452
574
  /** SORT */
453
575
  declare const getSortingFromString: (searchString: string, columns: DataGridProps['columns']) => GridSortModel | 'invalid';
454
- declare const getSearchParamsFromSorting: (sorting: GridSortItem[]) => URLSearchParams;
576
+ declare const getSearchParamsFromSorting: (sorting: GridSortModel) => URLSearchParams;
455
577
  /** PAGINATION */
456
578
  declare const getPaginationFromString: (searchString: string) => ExtendedGridPaginationModel | 'invalid';
457
579
  declare const getSearchParamsFromPagination: (pagination: ExtendedGridPaginationModel) => URLSearchParams;
@@ -459,7 +581,7 @@ declare const getSearchParamsFromPagination: (pagination: ExtendedGridPagination
459
581
  declare const getColumnVisibilityFromString: (searchString: string, columns: DataGridProps['columns']) => GridColumnVisibilityModel | 'invalid';
460
582
  declare const getSearchParamsFromColumnVisibility: (columnVisibility: GridColumnVisibilityModel, columns: DataGridProps['columns']) => URLSearchParams;
461
583
  declare const getPinnedColumnsFromString: (notParsed: string, tableColumns: DataGridProps['columns']) => PinnedColumns | 'invalid';
462
- declare const getSearchParamsFromPinnedColumns: (pinnedColumns: GridPinnedColumns) => URLSearchParams;
584
+ declare const getSearchParamsFromPinnedColumns: (pinnedColumns: GridPinnedColumnFields) => URLSearchParams;
463
585
  declare const getSearchParamsFromTab: (search: string) => URLSearchParams;
464
586
  type FinalSearchInput = {
465
587
  localStorageVersion: number;
@@ -467,7 +589,7 @@ type FinalSearchInput = {
467
589
  sortModel: GridSortModel;
468
590
  paginationModel: ExtendedGridPaginationModel;
469
591
  columnsVisibilityModel: GridColumnVisibilityModel;
470
- pinnedColumnsModel: GridPinnedColumns;
592
+ pinnedColumnsModel: GridPinnedColumnFields;
471
593
  search: string;
472
594
  columns: DataGridProps['columns'];
473
595
  };
@@ -493,30 +615,30 @@ type ModelsTable = {
493
615
  sortModel: GridSortModel;
494
616
  paginationModel: ExtendedGridPaginationModel;
495
617
  columnVisibilityModel: GridColumnVisibilityModel;
496
- pinnedColumnsModel: PinnedColumns;
618
+ pinnedColumnsModel: GridPinnedColumnFields;
497
619
  };
498
620
  /** Return the state of the table given the URL and the local storage state */
499
- declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps['columns'], historyReplace: (newSearch: string) => void, initialState: GridInitialStatePro | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
621
+ declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps['columns'], historyReplace: (newSearch: string) => void, initialState: GridInitialState | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
500
622
  type DataGridModel = {
501
623
  filterModel: GridFilterModel;
502
624
  sortModel: GridSortModel;
503
625
  paginationModel: ExtendedGridPaginationModel;
504
626
  columnsModel: GridColumnVisibilityModel;
505
- pinnedColumnsModel: GridPinnedColumns;
627
+ pinnedColumnsModel: GridPinnedColumnFields;
506
628
  };
507
629
  declare const updateUrl: ({ filterModel, sortModel, paginationModel, columnsModel: columnsVisibilityModel, pinnedColumnsModel }: DataGridModel, search: string, localStorageVersion: number, historyReplace: (newSearch: string) => void, columns: DataGridProps['columns']) => void;
508
630
  declare const areFilterModelsEquivalent: (filterModel: GridFilterModel, filterModelToMatch: GridFilterModel) => boolean;
509
631
 
510
- declare const BaseButton: React.JSXElementConstructor<any>;
632
+ declare const BaseButton: React$1.JSXElementConstructor<any>;
511
633
 
512
- declare const BaseCheckbox: React.JSXElementConstructor<any>;
634
+ declare const BaseCheckbox: React$1.JSXElementConstructor<any>;
513
635
 
514
636
  declare const muiIconToDSIcon: Partial<Record<keyof GridSlotsComponent, string>>;
515
- declare const BaseIcon: React.JSXElementConstructor<any>;
637
+ declare const BaseIcon: React$1.JSXElementConstructor<any>;
516
638
 
517
- declare const BasePopper: React.JSXElementConstructor<any>;
639
+ declare const BaseIconButton: React$1.JSXElementConstructor<any>;
518
640
 
519
- declare const BaseTextField: React.JSXElementConstructor<any>;
641
+ declare const BaseTextField: React$1.JSXElementConstructor<any>;
520
642
 
521
643
  interface CompletionResponseItem {
522
644
  field: string;
@@ -545,7 +667,7 @@ interface FilterConfig {
545
667
  }
546
668
  interface GridToolbarFilterSemanticFieldProps extends ComponentProps<'form'> {
547
669
  nlpFilterConfig: FilterConfig;
548
- onFilterModelChange: (filterModel: GridFilterModel) => void;
670
+ onFilterModelChange?: (filterModel: GridFilterModel) => void;
549
671
  dateFormat?: string;
550
672
  defaultModel?: string;
551
673
  defaultFilter?: CompletionResponse;
@@ -569,14 +691,14 @@ type ControlledPaginationProps = {
569
691
  displayRowsPerPage?: boolean;
570
692
  displayPagination?: boolean;
571
693
  selectionStatus: SelectionStatus;
572
- apiRef: MutableRefObject<GridApiPro>;
694
+ apiRef: MutableRefObject<GridApiPro | null>;
573
695
  paginationModel: GridPaginationModel;
574
- onPaginationModelChange: (model: GridPaginationModel) => void;
696
+ onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
575
697
  pageSizeOptions?: number[];
576
698
  isRowSelectable?: DataGridProps['isRowSelectable'];
577
699
  paginationProps?: DataGridProps['paginationProps'];
578
700
  };
579
- declare const ControlledPagination: React.FC<ControlledPaginationProps>;
701
+ declare const ControlledPagination: React$1.FC<ControlledPaginationProps>;
580
702
 
581
703
  type ServerSideControlledPaginationProps = {
582
704
  displaySelection?: boolean;
@@ -584,14 +706,14 @@ type ServerSideControlledPaginationProps = {
584
706
  displayPagination?: boolean;
585
707
  selectionStatus: SelectionStatus;
586
708
  paginationModel: GridPaginationModel;
587
- onPaginationModelChange: (model: GridPaginationModel) => void;
709
+ onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
588
710
  pageSizeOptions?: number[];
589
711
  paginationProps?: DataGridProps['paginationProps'];
590
712
  rowCount: number;
591
713
  loading?: boolean;
592
714
  };
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>;
715
+ declare const onServerSideSelectionStatusChange: (newSelectionModel: GridRowSelectionModel, apiRef: React$1.MutableRefObject<GridApiPro | 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;
716
+ declare const ServerSideControlledPagination: React$1.FC<ServerSideControlledPaginationProps>;
595
717
 
596
718
  interface TextCellProps extends ComponentProps<'div'> {
597
719
  /** Including Badge Component. */
@@ -619,16 +741,16 @@ interface TextCellProps extends ComponentProps<'div'> {
619
741
  */
620
742
  declare const TextCell: Comp<TextCellProps, HTMLDivElement>;
621
743
 
622
- type GridToolbarColumnsProps = Omit<typeof GridToolbarColumnsButton, 'ref'>;
623
- type GridToolbarDensityProps = Omit<typeof GridToolbarDensitySelector, 'ref'>;
744
+ type GridToolbarColumnsButtonProps = React.ComponentProps<typeof GridToolbarColumnsButton>;
745
+ type GridToolbarDensitySelectorProps = React.ComponentProps<typeof GridToolbarDensitySelector>;
624
746
  type GridToolbarFilterSemanticProps = Omit<GridToolbarFilterSemanticFieldProps, 'ref'>;
625
747
  interface ToolbarProps {
626
748
  /** Props to forward to the column button. */
627
- columnsButtonProps?: GridToolbarColumnsProps;
749
+ columnsButtonProps?: GridToolbarColumnsButtonProps;
628
750
  /** Column button ref. */
629
751
  columnsButtonRef?: RefObject<HTMLButtonElement>;
630
752
  /** Props to forward to the density button. */
631
- densityButtonProps?: GridToolbarDensityProps;
753
+ densityButtonProps?: GridToolbarDensitySelectorProps;
632
754
  /** Density button ref. */
633
755
  densityButtonRef?: RefObject<HTMLButtonElement>;
634
756
  /** Props to forward to the export button. */
@@ -668,16 +790,16 @@ declare global {
668
790
  }
669
791
  }
670
792
  /** ------ */
671
- declare const Toolbar: React.FC<ToolbarProps>;
793
+ declare const Toolbar: React$1.FC<ToolbarProps>;
672
794
 
673
795
  type ToolbarWrapperProps = {
674
796
  hideToolbar: DataGridProps['hideToolbar'];
675
- RenderedToolbar: React.JSXElementConstructor<any>;
797
+ RenderedToolbar: React$1.JSXElementConstructor<any>;
676
798
  filterModel: DataGridProps['filterModel'];
677
799
  onFilterModelChange: DataGridProps['onFilterModelChange'];
678
800
  pagination: DataGridProps['pagination'];
679
801
  paginationPlacement: DataGridProps['paginationPlacement'];
680
- selectionStatus: React.MutableRefObject<SelectionStatus>;
802
+ selectionStatus: React$1.MutableRefObject<SelectionStatus>;
681
803
  apiRef: DataGridProps['apiRef'];
682
804
  isRowSelectable: DataGridProps['isRowSelectable'];
683
805
  paginationModel: DataGridProps['paginationModel'];
@@ -687,6 +809,6 @@ type ToolbarWrapperProps = {
687
809
  paginationMode?: DataGridProps['paginationMode'];
688
810
  rowCount?: DataGridProps['rowCount'];
689
811
  };
690
- declare const ToolbarWrapper: React.FC<ToolbarWrapperProps>;
812
+ declare const ToolbarWrapper: React$1.FC<ToolbarWrapperProps>;
691
813
 
692
- 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 };
814
+ 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, ModelsTable, 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, createRowSelectionModel, 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, getSelectedIds, getSelectionCount, getSortingFromString, isOperatorValueValid, isRowSelected, isValueValid, muiIconToDSIcon, numberOperatorDecoder, numberOperatorEncoder, onServerSideSelectionStatusChange, operatorList, updateUrl, urlSearchParamsToString };