@redsift/table 12.5.3-muiv7 → 12.5.3
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/_internal/BaseComponents.js +1 -1
- package/_internal/BaseIconButton.js +126 -0
- package/_internal/BaseIconButton.js.map +1 -0
- package/_internal/DataGrid2.js +94 -63
- package/_internal/DataGrid2.js.map +1 -1
- package/_internal/GridToolbarFilterSemanticField2.js +1339 -2
- package/_internal/GridToolbarFilterSemanticField2.js.map +1 -1
- package/_internal/Pagination.js +1 -1
- package/_internal/ServerSideControlledPagination.js +318 -0
- package/_internal/ServerSideControlledPagination.js.map +1 -0
- package/_internal/StatefulDataGrid.js +1 -1
- package/_internal/StatefulDataGrid2.js +772 -1636
- package/_internal/StatefulDataGrid2.js.map +1 -1
- package/_internal/Toolbar2.js +1 -1
- package/_internal/Toolbar2.js.map +1 -1
- package/_internal/ToolbarWrapper2.js +1 -1
- package/_internal/ToolbarWrapper2.js.map +1 -1
- package/_internal/useControlledDatagridState.js +6 -1125
- package/_internal/useControlledDatagridState.js.map +1 -1
- package/index.d.ts +478 -186
- package/index.js +83 -49
- package/index.js.map +1 -1
- package/package.json +7 -8
- package/_internal/BasePopper.js +0 -2453
- package/_internal/BasePopper.js.map +0 -1
- package/_internal/ControlledPagination.js +0 -11958
- package/_internal/ControlledPagination.js.map +0 -1
- package/_internal/Portal.js +0 -6563
- package/_internal/Portal.js.map +0 -1
- package/_internal/jsx-runtime.js +0 -1342
- package/_internal/jsx-runtime.js.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import React$1, { ReactNode, ComponentProps, MutableRefObject, RefObject } from 'react';
|
|
1
|
+
import { GridColTypeDef, GridColType, GridColDef, GridFilterOperator, GridFilterInputSingleSelect, GridFilterInputMultipleSingleSelect, GridRowId, GridRowSelectionModel, DataGridPremiumProps, GridFilterModel, GridPaginationModel, GridSortModel, GridColumnVisibilityModel, GridPinnedColumnFields, GridInitialState, GridRowGroupingModel, GridAggregationModel, GridPivotModel, GridSlotsComponent, GridApiPremium, GridCallbackDetails, GridRowParams, GridToolbarExportProps, GridToolbarFilterButtonProps, GridToolbarColumnsButton, GridToolbarDensitySelector } from '@mui/x-data-grid-premium';
|
|
2
|
+
export { GridAlignment, GridColDef, GridFilterItem, GridFilterModel, getGridBooleanOperators, getGridDateOperators, getGridSingleSelectOperators } from '@mui/x-data-grid-premium';
|
|
3
|
+
import * as _mui_x_data_grid from '@mui/x-data-grid';
|
|
4
|
+
import React$1, { Ref, ReactElement, ComponentProps, ReactNode, MutableRefObject, RefObject } from 'react';
|
|
6
5
|
import { TablePaginationProps } from '@mui/material';
|
|
7
|
-
import { Theme, Comp, IconProps, NotificationsColorPalette, ProductColorPalette, ShieldVariant } from '@redsift/design-system';
|
|
8
|
-
import { GridApiPro } from '@mui/x-data-grid-pro/models/gridApiPro';
|
|
9
6
|
|
|
10
|
-
declare const DETAIL_PANEL_TOGGLE_COL_DEF:
|
|
7
|
+
declare const DETAIL_PANEL_TOGGLE_COL_DEF: _mui_x_data_grid.GridColDef;
|
|
11
8
|
|
|
12
9
|
declare const getRsStringColumnType: () => GridColTypeDef;
|
|
13
10
|
declare const getRsNumberColumnType: () => GridColTypeDef;
|
|
@@ -57,153 +54,174 @@ type ColumnOptions<T extends ColumnType> = T extends 'string' ? StringColumnOpti
|
|
|
57
54
|
*/
|
|
58
55
|
declare function createColumn<T extends ColumnType>(type: T, options?: ColumnOptions<T>): Partial<GridColDef>;
|
|
59
56
|
|
|
60
|
-
declare const ARRAY_IS_EMPTY: GridFilterOperator<any, string | string[], any>;
|
|
61
|
-
declare const ARRAY_IS_NOT_EMPTY: GridFilterOperator<any, string | string[], any>;
|
|
57
|
+
declare const ARRAY_IS_EMPTY: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
58
|
+
declare const ARRAY_IS_NOT_EMPTY: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
62
59
|
|
|
63
|
-
declare const DATE_IS_BETWEEN: GridFilterOperator<any,
|
|
60
|
+
declare const DATE_IS_BETWEEN: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
64
61
|
|
|
65
62
|
declare const getGridDateOperatorsExtended: (showTime?: boolean) => GridFilterOperator[];
|
|
66
63
|
|
|
67
|
-
declare const IS_BETWEEN: GridFilterOperator<any, number, any>;
|
|
64
|
+
declare const IS_BETWEEN: GridFilterOperator<any, number, any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
68
65
|
|
|
69
66
|
declare const getGridNumericOperators: () => GridFilterOperator<any, unknown, any>[];
|
|
70
67
|
|
|
71
|
-
declare const DOES_NOT_CONTAIN: GridFilterOperator<any, string | string[], any>;
|
|
68
|
+
declare const DOES_NOT_CONTAIN: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
72
69
|
|
|
73
|
-
declare const DOES_NOT_END_WITH: GridFilterOperator<any, string | string[], any>;
|
|
70
|
+
declare const DOES_NOT_END_WITH: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
74
71
|
|
|
75
|
-
declare const DOES_NOT_EQUAL: GridFilterOperator<any, string | string[], any>;
|
|
72
|
+
declare const DOES_NOT_EQUAL: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
76
73
|
|
|
77
|
-
declare const DOES_NOT_HAVE: GridFilterOperator<any, string | string[], any>;
|
|
74
|
+
declare const DOES_NOT_HAVE: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
78
75
|
declare const DOES_NOT_HAVE_WITH_SELECT: {
|
|
79
76
|
InputComponent: typeof GridFilterInputSingleSelect;
|
|
80
77
|
label?: string;
|
|
81
78
|
headerLabel?: string;
|
|
82
|
-
value:
|
|
83
|
-
getApplyFilterFn:
|
|
84
|
-
InputComponentProps?:
|
|
85
|
-
getValueAsString?: (value:
|
|
79
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
80
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
81
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
82
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
86
83
|
requiresFilterValue?: boolean;
|
|
87
84
|
};
|
|
88
85
|
|
|
89
|
-
declare const DOES_NOT_START_WITH: GridFilterOperator<any, string | string[], any>;
|
|
86
|
+
declare const DOES_NOT_START_WITH: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
90
87
|
|
|
91
|
-
declare const HAS: GridFilterOperator<any, string | string[], any>;
|
|
88
|
+
declare const HAS: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
92
89
|
declare const HAS_WITH_SELECT: {
|
|
93
90
|
InputComponent: typeof GridFilterInputSingleSelect;
|
|
94
91
|
label?: string;
|
|
95
92
|
headerLabel?: string;
|
|
96
|
-
value:
|
|
97
|
-
getApplyFilterFn:
|
|
98
|
-
InputComponentProps?:
|
|
99
|
-
getValueAsString?: (value:
|
|
93
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
94
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
95
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
96
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
100
97
|
requiresFilterValue?: boolean;
|
|
101
98
|
};
|
|
102
99
|
|
|
103
|
-
declare const HAS_ONLY: GridFilterOperator<any, string | string[], any>;
|
|
100
|
+
declare const HAS_ONLY: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
104
101
|
declare const HAS_ONLY_WITH_SELECT: {
|
|
105
102
|
InputComponent: typeof GridFilterInputSingleSelect;
|
|
106
103
|
label?: string;
|
|
107
104
|
headerLabel?: string;
|
|
108
|
-
value:
|
|
109
|
-
getApplyFilterFn:
|
|
110
|
-
InputComponentProps?:
|
|
111
|
-
getValueAsString?: (value:
|
|
105
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
106
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
107
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
108
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
112
109
|
requiresFilterValue?: boolean;
|
|
113
110
|
};
|
|
114
111
|
|
|
115
|
-
declare const IS: GridFilterOperator<any, string | string[], any>;
|
|
112
|
+
declare const IS: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
116
113
|
declare const IS_WITH_SELECT: {
|
|
117
114
|
InputComponent: typeof GridFilterInputSingleSelect;
|
|
118
115
|
label?: string;
|
|
119
116
|
headerLabel?: string;
|
|
120
|
-
value:
|
|
121
|
-
getApplyFilterFn:
|
|
122
|
-
InputComponentProps?:
|
|
123
|
-
getValueAsString?: (value:
|
|
117
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
118
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
119
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
120
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
124
121
|
requiresFilterValue?: boolean;
|
|
125
122
|
};
|
|
126
123
|
|
|
127
|
-
declare const IS_NOT: GridFilterOperator<any, string | string[], any>;
|
|
124
|
+
declare const IS_NOT: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
128
125
|
declare const IS_NOT_WITH_SELECT: {
|
|
129
126
|
InputComponent: typeof GridFilterInputSingleSelect;
|
|
130
127
|
label?: string;
|
|
131
128
|
headerLabel?: string;
|
|
132
|
-
value:
|
|
133
|
-
getApplyFilterFn:
|
|
134
|
-
InputComponentProps?:
|
|
135
|
-
getValueAsString?: (value:
|
|
129
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
130
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
131
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
132
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
136
133
|
requiresFilterValue?: boolean;
|
|
137
134
|
};
|
|
138
135
|
|
|
139
136
|
declare const getGridStringOperators: () => GridFilterOperator<any, unknown, any>[];
|
|
140
137
|
|
|
141
|
-
declare const CONTAINS_ANY_OF: GridFilterOperator<any, string | string[], any>;
|
|
138
|
+
declare const CONTAINS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
142
139
|
|
|
143
|
-
declare const DOES_NOT_CONTAIN_ANY_OF: GridFilterOperator<any, string | string[], any>;
|
|
140
|
+
declare const DOES_NOT_CONTAIN_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
144
141
|
|
|
145
|
-
declare const DOES_NOT_END_WITH_ANY_OF: GridFilterOperator<any, string | string[], any>;
|
|
142
|
+
declare const DOES_NOT_END_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
146
143
|
|
|
147
|
-
declare const DOES_NOT_HAVE_ANY_OF: GridFilterOperator<any, string | string[], any>;
|
|
148
|
-
declare const DOES_NOT_HAVE_ANY_OF_WITH_SELECT:
|
|
144
|
+
declare const DOES_NOT_HAVE_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
145
|
+
declare const DOES_NOT_HAVE_ANY_OF_WITH_SELECT: {
|
|
146
|
+
InputComponent: typeof GridFilterInputMultipleSingleSelect;
|
|
147
|
+
label?: string;
|
|
148
|
+
headerLabel?: string;
|
|
149
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
150
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
151
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
152
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
153
|
+
requiresFilterValue?: boolean;
|
|
154
|
+
};
|
|
149
155
|
|
|
150
|
-
declare const DOES_NOT_START_WITH_ANY_OF: GridFilterOperator<any, string | string[], any>;
|
|
156
|
+
declare const DOES_NOT_START_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
151
157
|
|
|
152
|
-
declare const ENDS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any>;
|
|
158
|
+
declare const ENDS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
153
159
|
|
|
154
|
-
declare const HAS_ALL_OF: GridFilterOperator<any, string | string[], any>;
|
|
160
|
+
declare const HAS_ALL_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
155
161
|
declare const HAS_ALL_OF_WITH_SELECT: {
|
|
156
162
|
InputComponent: typeof GridFilterInputMultipleSingleSelect;
|
|
157
163
|
label?: string;
|
|
158
164
|
headerLabel?: string;
|
|
159
|
-
value:
|
|
160
|
-
getApplyFilterFn:
|
|
161
|
-
InputComponentProps?:
|
|
162
|
-
getValueAsString?: (value:
|
|
165
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
166
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
167
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
168
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
163
169
|
requiresFilterValue?: boolean;
|
|
164
170
|
};
|
|
165
171
|
|
|
166
|
-
declare const HAS_ANY_OF: GridFilterOperator<any, string | string[], any>;
|
|
172
|
+
declare const HAS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
167
173
|
declare const HAS_ANY_OF_WITH_SELECT: {
|
|
168
174
|
InputComponent: typeof GridFilterInputMultipleSingleSelect;
|
|
169
175
|
label?: string;
|
|
170
176
|
headerLabel?: string;
|
|
171
|
-
value:
|
|
172
|
-
getApplyFilterFn:
|
|
173
|
-
InputComponentProps?:
|
|
174
|
-
getValueAsString?: (value:
|
|
177
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
178
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
179
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
180
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
175
181
|
requiresFilterValue?: boolean;
|
|
176
182
|
};
|
|
177
183
|
|
|
178
|
-
declare const IS_ANY_OF: GridFilterOperator<any, string | string[], any>;
|
|
184
|
+
declare const IS_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
179
185
|
declare const IS_ANY_OF_WITH_SELECT: {
|
|
180
186
|
InputComponent: typeof GridFilterInputMultipleSingleSelect;
|
|
181
187
|
label?: string;
|
|
182
188
|
headerLabel?: string;
|
|
183
|
-
value:
|
|
184
|
-
getApplyFilterFn:
|
|
185
|
-
InputComponentProps?:
|
|
186
|
-
getValueAsString?: (value:
|
|
189
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
190
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
191
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
192
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
193
|
+
requiresFilterValue?: boolean;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
declare const IS_ANY_OF_I: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
197
|
+
declare const IS_ANY_OF_I_WITH_SELECT: {
|
|
198
|
+
InputComponent: typeof GridFilterInputMultipleSingleSelect;
|
|
199
|
+
label?: string;
|
|
200
|
+
headerLabel?: string;
|
|
201
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
202
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
203
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
204
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
187
205
|
requiresFilterValue?: boolean;
|
|
188
206
|
};
|
|
189
207
|
|
|
190
|
-
declare const IS_NOT_ANY_OF: GridFilterOperator<any, string | string[], any>;
|
|
208
|
+
declare const IS_NOT_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
191
209
|
declare const IS_NOT_ANY_OF_WITH_SELECT: {
|
|
192
210
|
InputComponent: typeof GridFilterInputMultipleSingleSelect;
|
|
193
211
|
label?: string;
|
|
194
212
|
headerLabel?: string;
|
|
195
|
-
value:
|
|
196
|
-
getApplyFilterFn:
|
|
197
|
-
InputComponentProps?:
|
|
198
|
-
getValueAsString?: (value:
|
|
213
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
214
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
215
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
216
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
199
217
|
requiresFilterValue?: boolean;
|
|
200
218
|
};
|
|
201
219
|
|
|
202
|
-
declare const STARTS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any>;
|
|
220
|
+
declare const STARTS_WITH_ANY_OF: GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps>;
|
|
203
221
|
|
|
204
|
-
declare const getGridStringArrayOperators: () => GridFilterOperator[];
|
|
205
|
-
declare const getGridStringArrayOperatorsWithSelect: () => GridFilterOperator[];
|
|
206
|
-
declare const getGridStringArrayOperatorsWithSelectOnStringArrayColumns: () => GridFilterOperator[];
|
|
222
|
+
declare const getGridStringArrayOperators: () => GridFilterOperator<any, unknown, any>[];
|
|
223
|
+
declare const getGridStringArrayOperatorsWithSelect: () => GridFilterOperator<any, unknown, any>[];
|
|
224
|
+
declare const getGridStringArrayOperatorsWithSelectOnStringArrayColumns: () => GridFilterOperator<any, unknown, any>[];
|
|
207
225
|
|
|
208
226
|
/**
|
|
209
227
|
* Wraps a filter operator's `getApplyFilterFn` to lowercase both the cell value
|
|
@@ -218,91 +236,93 @@ declare const wrapCaseInsensitive: (operator: GridFilterOperator) => GridFilterO
|
|
|
218
236
|
declare const makeCaseInsensitive: (operators: GridFilterOperator[]) => GridFilterOperator[];
|
|
219
237
|
|
|
220
238
|
declare const operatorList: {
|
|
221
|
-
string:
|
|
222
|
-
number:
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
239
|
+
string: _mui_x_data_grid.GridFilterOperator<any, string | number | null, any, _mui_x_data_grid.GridFilterInputValueProps>[];
|
|
240
|
+
number: _mui_x_data_grid.GridFilterOperator<any, string | number | null, any, _mui_x_data_grid.GridFilterInputValueProps & {
|
|
241
|
+
type?: "number";
|
|
242
|
+
}>[];
|
|
243
|
+
boolean: _mui_x_data_grid.GridFilterOperator<any, boolean | null, any, _mui_x_data_grid.GridFilterInputValueProps>[];
|
|
244
|
+
date: _mui_x_data_grid.GridFilterOperator<any, Date, any, _mui_x_data_grid.GridFilterInputDateProps>[];
|
|
245
|
+
dateTime: _mui_x_data_grid.GridFilterOperator<any, Date, any, _mui_x_data_grid.GridFilterInputDateProps>[];
|
|
246
|
+
singleSelect: _mui_x_data_grid.GridFilterOperator<any, any, any, _mui_x_data_grid.GridFilterInputValueProps>[];
|
|
247
|
+
rsString: _mui_x_data_grid.GridFilterOperator<any, unknown, any, _mui_x_data_grid.GridFilterInputValueProps>[];
|
|
248
|
+
rsNumber: _mui_x_data_grid.GridFilterOperator<any, unknown, any, _mui_x_data_grid.GridFilterInputValueProps>[];
|
|
249
|
+
rsSingleSelect: (_mui_x_data_grid.GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps> | {
|
|
250
|
+
InputComponent: typeof _mui_x_data_grid.GridFilterInputSingleSelect;
|
|
231
251
|
label?: string;
|
|
232
252
|
headerLabel?: string;
|
|
233
|
-
value:
|
|
234
|
-
getApplyFilterFn:
|
|
235
|
-
InputComponentProps?:
|
|
236
|
-
getValueAsString?: (value:
|
|
253
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
254
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
255
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
256
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
237
257
|
requiresFilterValue?: boolean;
|
|
238
258
|
} | {
|
|
239
|
-
InputComponent: typeof
|
|
259
|
+
InputComponent: typeof _mui_x_data_grid.GridFilterInputMultipleSingleSelect;
|
|
240
260
|
label?: string;
|
|
241
261
|
headerLabel?: string;
|
|
242
|
-
value:
|
|
243
|
-
getApplyFilterFn:
|
|
244
|
-
InputComponentProps?:
|
|
245
|
-
getValueAsString?: (value:
|
|
262
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
263
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
264
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
265
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
246
266
|
requiresFilterValue?: boolean;
|
|
247
267
|
})[];
|
|
248
268
|
rsSingleSelectWithShortOperatorList: ({
|
|
249
|
-
InputComponent: typeof
|
|
269
|
+
InputComponent: typeof _mui_x_data_grid.GridFilterInputSingleSelect;
|
|
250
270
|
label?: string;
|
|
251
271
|
headerLabel?: string;
|
|
252
|
-
value:
|
|
253
|
-
getApplyFilterFn:
|
|
254
|
-
InputComponentProps?:
|
|
255
|
-
getValueAsString?: (value:
|
|
272
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
273
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
274
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
275
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
256
276
|
requiresFilterValue?: boolean;
|
|
257
277
|
} | {
|
|
258
|
-
InputComponent: typeof
|
|
278
|
+
InputComponent: typeof _mui_x_data_grid.GridFilterInputMultipleSingleSelect;
|
|
259
279
|
label?: string;
|
|
260
280
|
headerLabel?: string;
|
|
261
|
-
value:
|
|
262
|
-
getApplyFilterFn:
|
|
263
|
-
InputComponentProps?:
|
|
264
|
-
getValueAsString?: (value:
|
|
281
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
282
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
283
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
284
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
265
285
|
requiresFilterValue?: boolean;
|
|
266
286
|
})[];
|
|
267
|
-
rsMultipleSelect: (
|
|
268
|
-
InputComponent: typeof
|
|
287
|
+
rsMultipleSelect: (_mui_x_data_grid.GridFilterOperator<any, string | string[], any, _mui_x_data_grid.GridFilterInputValueProps> | {
|
|
288
|
+
InputComponent: typeof _mui_x_data_grid.GridFilterInputSingleSelect;
|
|
269
289
|
label?: string;
|
|
270
290
|
headerLabel?: string;
|
|
271
|
-
value:
|
|
272
|
-
getApplyFilterFn:
|
|
273
|
-
InputComponentProps?:
|
|
274
|
-
getValueAsString?: (value:
|
|
291
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
292
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
293
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
294
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
275
295
|
requiresFilterValue?: boolean;
|
|
276
296
|
} | {
|
|
277
|
-
InputComponent: typeof
|
|
297
|
+
InputComponent: typeof _mui_x_data_grid.GridFilterInputMultipleSingleSelect;
|
|
278
298
|
label?: string;
|
|
279
299
|
headerLabel?: string;
|
|
280
|
-
value:
|
|
281
|
-
getApplyFilterFn:
|
|
282
|
-
InputComponentProps?:
|
|
283
|
-
getValueAsString?: (value:
|
|
300
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
301
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
302
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
303
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
284
304
|
requiresFilterValue?: boolean;
|
|
285
305
|
})[];
|
|
286
306
|
rsMultipleSelectWithShortOperatorList: ({
|
|
287
|
-
InputComponent: typeof
|
|
307
|
+
InputComponent: typeof _mui_x_data_grid.GridFilterInputSingleSelect;
|
|
288
308
|
label?: string;
|
|
289
309
|
headerLabel?: string;
|
|
290
|
-
value:
|
|
291
|
-
getApplyFilterFn:
|
|
292
|
-
InputComponentProps?:
|
|
293
|
-
getValueAsString?: (value:
|
|
310
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
311
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
312
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
313
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
294
314
|
requiresFilterValue?: boolean;
|
|
295
315
|
} | {
|
|
296
|
-
InputComponent: typeof
|
|
316
|
+
InputComponent: typeof _mui_x_data_grid.GridFilterInputMultipleSingleSelect;
|
|
297
317
|
label?: string;
|
|
298
318
|
headerLabel?: string;
|
|
299
|
-
value:
|
|
300
|
-
getApplyFilterFn:
|
|
301
|
-
InputComponentProps?:
|
|
302
|
-
getValueAsString?: (value:
|
|
319
|
+
value: _mui_x_data_grid.GridFilterItem["operator"];
|
|
320
|
+
getApplyFilterFn: _mui_x_data_grid.GetApplyFilterFn<any, string | string[], any>;
|
|
321
|
+
InputComponentProps?: Partial<_mui_x_data_grid.GridFilterInputValueProps> | undefined;
|
|
322
|
+
getValueAsString?: (value: _mui_x_data_grid.GridFilterItem["value"]) => string;
|
|
303
323
|
requiresFilterValue?: boolean;
|
|
304
324
|
})[];
|
|
305
|
-
rsStringArray:
|
|
325
|
+
rsStringArray: _mui_x_data_grid.GridFilterOperator<any, unknown, any, _mui_x_data_grid.GridFilterInputValueProps>[];
|
|
306
326
|
};
|
|
307
327
|
|
|
308
328
|
declare function getCompletion(text: string, role: string, openai_api_key: string | undefined, model?: string): Promise<string>;
|
|
@@ -316,7 +336,13 @@ declare const DIMENSION_MODEL_KEY = "dimension";
|
|
|
316
336
|
declare const FILTER_SEARCH_KEY = "searchModel";
|
|
317
337
|
declare const DENSITY_MODEL_KEY = "densityModel";
|
|
318
338
|
declare const COLUMN_ORDER_MODEL_KEY = "columnOrderModel";
|
|
319
|
-
declare const
|
|
339
|
+
declare const ROW_GROUPING_MODEL_KEY = "rowGroupingModel";
|
|
340
|
+
declare const AGGREGATION_MODEL_KEY = "aggregationModel";
|
|
341
|
+
/** Storage category key for the pivot column/row/value configuration. Consumer interop — use with `buildStorageKey`. */
|
|
342
|
+
declare const PIVOT_MODEL_KEY = "pivotModel";
|
|
343
|
+
/** Storage category key for whether pivoting is active. Consumer interop — use with `buildStorageKey`. */
|
|
344
|
+
declare const PIVOT_ACTIVE_KEY = "pivotActive";
|
|
345
|
+
declare const CATEGORIES: readonly ["paginationModel", "filterModel", "sortModel", "visibilityModel", "dimension", "searchModel", "pinnedColumns", "densityModel", "columnOrderModel", "rowGroupingModel", "aggregationModel", "pivotModel", "pivotActive"];
|
|
320
346
|
type Category = (typeof CATEGORIES)[number];
|
|
321
347
|
/**
|
|
322
348
|
* Build the localStorage key for a specific grid state category.
|
|
@@ -324,7 +350,7 @@ type Category = (typeof CATEGORIES)[number];
|
|
|
324
350
|
*
|
|
325
351
|
* @example
|
|
326
352
|
* ```ts
|
|
327
|
-
* const key = buildStorageKey({ id: pathname, version: 2, category:
|
|
353
|
+
* const key = buildStorageKey({ id: pathname, version: 2, category: PIVOT_ACTIVE_KEY });
|
|
328
354
|
* localStorage.removeItem(key);
|
|
329
355
|
* ```
|
|
330
356
|
*/
|
|
@@ -332,7 +358,7 @@ declare const buildStorageKey: ({ id, version, category }: {
|
|
|
332
358
|
id: string;
|
|
333
359
|
version: number;
|
|
334
360
|
category: Category;
|
|
335
|
-
}) => `${string}:${number}:paginationModel` | `${string}:${number}:filterModel` | `${string}:${number}:sortModel` | `${string}:${number}:visibilityModel` | `${string}:${number}:pinnedColumns` | `${string}:${number}:dimension` | `${string}:${number}:searchModel` | `${string}:${number}:densityModel` | `${string}:${number}:columnOrderModel`;
|
|
361
|
+
}) => `${string}:${number}:paginationModel` | `${string}:${number}:filterModel` | `${string}:${number}:sortModel` | `${string}:${number}:visibilityModel` | `${string}:${number}:pinnedColumns` | `${string}:${number}:dimension` | `${string}:${number}:searchModel` | `${string}:${number}:densityModel` | `${string}:${number}:columnOrderModel` | `${string}:${number}:rowGroupingModel` | `${string}:${number}:aggregationModel` | `${string}:${number}:pivotModel` | `${string}:${number}:pivotActive`;
|
|
336
362
|
declare const clearPreviousVersionStorage: (id: string, previousLocalStorageVersions: number[]) => void;
|
|
337
363
|
/**
|
|
338
364
|
* Clear localStorage keys for all versions from 0 to `maxVersion` (inclusive).
|
|
@@ -356,7 +382,229 @@ declare const resetStatefulDataGridState: ({ id, versions, search, historyReplac
|
|
|
356
382
|
historyReplace: (newSearch: string) => void;
|
|
357
383
|
}) => void;
|
|
358
384
|
|
|
359
|
-
|
|
385
|
+
/**
|
|
386
|
+
* Type for legacy array-based row selection (v7 and earlier)
|
|
387
|
+
*/
|
|
388
|
+
type LegacyRowSelectionModel = GridRowId[];
|
|
389
|
+
/**
|
|
390
|
+
* Type that accepts both legacy array format and new v8 object format
|
|
391
|
+
*/
|
|
392
|
+
type RowSelectionModelInput = LegacyRowSelectionModel | GridRowSelectionModel;
|
|
393
|
+
/**
|
|
394
|
+
* Default empty row selection model for MUI DataGrid v8+
|
|
395
|
+
* In v8, GridRowSelectionModel changed from GridRowId[] to { type: 'include' | 'exclude'; ids: Set<GridRowId> }
|
|
396
|
+
*/
|
|
397
|
+
declare const EMPTY_ROW_SELECTION_MODEL: GridRowSelectionModel;
|
|
398
|
+
/**
|
|
399
|
+
* Creates a new row selection model with the given ids
|
|
400
|
+
*/
|
|
401
|
+
declare const createRowSelectionModel: (ids: GridRowId[] | Set<GridRowId>) => GridRowSelectionModel;
|
|
402
|
+
/**
|
|
403
|
+
* Normalizes a row selection model input to the v8 GridRowSelectionModel format.
|
|
404
|
+
* Accepts both legacy array format (v7) and new object format (v8).
|
|
405
|
+
* This allows consumers to continue using arrays while internally using the v8 format.
|
|
406
|
+
*/
|
|
407
|
+
declare const normalizeRowSelectionModel: (input: RowSelectionModelInput | undefined | null) => GridRowSelectionModel;
|
|
408
|
+
/**
|
|
409
|
+
* Gets the size/count of selected rows from a selection model
|
|
410
|
+
*/
|
|
411
|
+
declare const getSelectionCount: (model: GridRowSelectionModel) => number;
|
|
412
|
+
/**
|
|
413
|
+
* Checks if a row is selected in the given selection model
|
|
414
|
+
*/
|
|
415
|
+
declare const isRowSelected: (model: GridRowSelectionModel, rowId: GridRowId) => boolean;
|
|
416
|
+
/**
|
|
417
|
+
* Converts a selection model to an array of selected row IDs
|
|
418
|
+
* Note: For 'exclude' type, this only returns the ids that are explicitly excluded,
|
|
419
|
+
* not the actual selected rows (which would require knowing all row ids)
|
|
420
|
+
*/
|
|
421
|
+
declare const getSelectedIds: (model: GridRowSelectionModel) => GridRowId[];
|
|
422
|
+
|
|
423
|
+
/** Component Type. */
|
|
424
|
+
type Comp<P, T = HTMLElement> = {
|
|
425
|
+
(props: P & {
|
|
426
|
+
ref?: Ref<T>;
|
|
427
|
+
}): ReactElement | null;
|
|
428
|
+
/** React component type. */
|
|
429
|
+
readonly $$typeof?: symbol;
|
|
430
|
+
/** Component name. */
|
|
431
|
+
displayName?: string;
|
|
432
|
+
/** Component base class name. */
|
|
433
|
+
className?: string;
|
|
434
|
+
};
|
|
435
|
+
/** Get types of the values of a record. */
|
|
436
|
+
type ValueOf<T extends Record<any, any>> = T[keyof T];
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Color palette.
|
|
440
|
+
*/
|
|
441
|
+
declare const Theme: {
|
|
442
|
+
readonly light: "light";
|
|
443
|
+
readonly dark: "dark";
|
|
444
|
+
};
|
|
445
|
+
type Theme = ValueOf<typeof Theme>;
|
|
446
|
+
declare const NotificationsColorPalette: {
|
|
447
|
+
readonly question: "question";
|
|
448
|
+
readonly 'no-data': "no-data";
|
|
449
|
+
readonly success: "success";
|
|
450
|
+
readonly warning: "warning";
|
|
451
|
+
readonly info: "info";
|
|
452
|
+
readonly primary: "primary";
|
|
453
|
+
readonly secondary: "secondary";
|
|
454
|
+
readonly error: "error";
|
|
455
|
+
};
|
|
456
|
+
type NotificationsColorPalette = ValueOf<typeof NotificationsColorPalette>;
|
|
457
|
+
declare const ProductColorPalette: {
|
|
458
|
+
readonly asm: "asm";
|
|
459
|
+
readonly 'brand-trust': "brand-trust";
|
|
460
|
+
readonly certificates: "certificates";
|
|
461
|
+
readonly ondmarc: "ondmarc";
|
|
462
|
+
readonly pulse: "pulse";
|
|
463
|
+
readonly radar: "radar";
|
|
464
|
+
readonly 'rojo-ds': "rojo-ds";
|
|
465
|
+
readonly 'vendor-secure': "vendor-secure";
|
|
466
|
+
readonly website: "website";
|
|
467
|
+
};
|
|
468
|
+
type ProductColorPalette = ValueOf<typeof ProductColorPalette>;
|
|
469
|
+
|
|
470
|
+
declare const AlignSelf: {
|
|
471
|
+
readonly auto: "auto";
|
|
472
|
+
readonly normal: "normal";
|
|
473
|
+
readonly start: "start";
|
|
474
|
+
readonly end: "end";
|
|
475
|
+
readonly center: "center";
|
|
476
|
+
readonly 'flex-start': "flex-start";
|
|
477
|
+
readonly 'flex-end': "flex-end";
|
|
478
|
+
readonly 'self-start': "self-start";
|
|
479
|
+
readonly 'self-end': "self-end";
|
|
480
|
+
readonly baseline: "baseline";
|
|
481
|
+
readonly stretch: "stretch";
|
|
482
|
+
};
|
|
483
|
+
type AlignSelf = ValueOf<typeof AlignSelf>;
|
|
484
|
+
interface LayoutProps {
|
|
485
|
+
/** 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>. */
|
|
486
|
+
flex?: string;
|
|
487
|
+
/** 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>. */
|
|
488
|
+
flexGrow?: number;
|
|
489
|
+
/** 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>. */
|
|
490
|
+
flexShrink?: number;
|
|
491
|
+
/** 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>. */
|
|
492
|
+
flexBasis?: string;
|
|
493
|
+
/** 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>. */
|
|
494
|
+
alignSelf?: AlignSelf;
|
|
495
|
+
/** 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>. */
|
|
496
|
+
justifySelf?: string;
|
|
497
|
+
/** 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>. */
|
|
498
|
+
order?: number;
|
|
499
|
+
/** 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>. */
|
|
500
|
+
gridArea?: string;
|
|
501
|
+
/** 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>. */
|
|
502
|
+
gridColumn?: string;
|
|
503
|
+
/** 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>. */
|
|
504
|
+
gridRow?: string;
|
|
505
|
+
/** 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>. */
|
|
506
|
+
gridColumnStart?: string;
|
|
507
|
+
/** 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>. */
|
|
508
|
+
gridColumnEnd?: string;
|
|
509
|
+
/** 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>. */
|
|
510
|
+
gridRowStart?: string;
|
|
511
|
+
/** 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>. */
|
|
512
|
+
gridRowEnd?: string;
|
|
513
|
+
}
|
|
514
|
+
interface SpacingProps {
|
|
515
|
+
/** The margin for all four sides of the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/margin">MDN</a>. */
|
|
516
|
+
margin?: string;
|
|
517
|
+
/** 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>. */
|
|
518
|
+
marginBottom?: string;
|
|
519
|
+
/** 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>. */
|
|
520
|
+
marginLeft?: string;
|
|
521
|
+
/** 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>. */
|
|
522
|
+
marginRight?: string;
|
|
523
|
+
/** 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>. */
|
|
524
|
+
marginTop?: string;
|
|
525
|
+
}
|
|
526
|
+
interface PositioningProps {
|
|
527
|
+
/** Specifies how the element is positioned. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/position">MDN</a>. */
|
|
528
|
+
position?: string;
|
|
529
|
+
/** The top position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/top">MDN</a>. */
|
|
530
|
+
top?: string;
|
|
531
|
+
/** The bottom position for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/bottom">MDN</a>. */
|
|
532
|
+
bottom?: string;
|
|
533
|
+
/** 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. */
|
|
534
|
+
left?: string;
|
|
535
|
+
/** 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. */
|
|
536
|
+
right?: string;
|
|
537
|
+
/** The stacking order for the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/z-index">MDN</a>. */
|
|
538
|
+
zIndex?: string;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Component size.
|
|
543
|
+
*/
|
|
544
|
+
declare const IconSize: {
|
|
545
|
+
readonly xsmall: "xsmall";
|
|
546
|
+
readonly small: "small";
|
|
547
|
+
readonly medium: "medium";
|
|
548
|
+
readonly large: "large";
|
|
549
|
+
readonly xlarge: "xlarge";
|
|
550
|
+
readonly xxlarge: "xxlarge";
|
|
551
|
+
};
|
|
552
|
+
type IconSize = ValueOf<typeof IconSize>;
|
|
553
|
+
type IconDimensions = {
|
|
554
|
+
width?: number;
|
|
555
|
+
height?: number;
|
|
556
|
+
fontSize?: number;
|
|
557
|
+
lineHeight?: number;
|
|
558
|
+
};
|
|
559
|
+
/**
|
|
560
|
+
* Component props.
|
|
561
|
+
*/
|
|
562
|
+
interface IconProps extends ComponentProps<'span'>, LayoutProps, SpacingProps, PositioningProps {
|
|
563
|
+
/** Indicates whether the element is exposed to an accessibility API. */
|
|
564
|
+
'aria-hidden'?: boolean | 'false' | 'true';
|
|
565
|
+
/** A screen reader only label for the Icon. */
|
|
566
|
+
'aria-label'?: string;
|
|
567
|
+
/** Color variant. Either from color palette or hex or rgb strings. */
|
|
568
|
+
color?: NotificationsColorPalette | ProductColorPalette | (string & {});
|
|
569
|
+
/** Whether the icon has a badge attached to it. */
|
|
570
|
+
badge?: ReactElement;
|
|
571
|
+
/**
|
|
572
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
573
|
+
* Can also be a ReactElement.
|
|
574
|
+
*/
|
|
575
|
+
icon: string | string[] | ReactElement;
|
|
576
|
+
/**
|
|
577
|
+
* Icon size.
|
|
578
|
+
* @default 'medium'
|
|
579
|
+
*/
|
|
580
|
+
size?: IconSize | IconDimensions;
|
|
581
|
+
/** Additional properties to forward to the SVG tag. */
|
|
582
|
+
svgProps?: ComponentProps<'svg'>;
|
|
583
|
+
/** Theme. */
|
|
584
|
+
theme?: Theme;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Component variant.
|
|
589
|
+
*/
|
|
590
|
+
declare const ShieldVariant: {
|
|
591
|
+
readonly success: "success";
|
|
592
|
+
readonly successLocked: "successLocked";
|
|
593
|
+
readonly successUnlocked: "successUnlocked";
|
|
594
|
+
readonly fail: "fail";
|
|
595
|
+
readonly failLocked: "failLocked";
|
|
596
|
+
readonly failUnlocked: "failUnlocked";
|
|
597
|
+
readonly warning: "warning";
|
|
598
|
+
readonly warningLocked: "warningLocked";
|
|
599
|
+
readonly warningUnlocked: "warningUnlocked";
|
|
600
|
+
readonly ignored: "ignored";
|
|
601
|
+
readonly noData: "noData";
|
|
602
|
+
readonly question: "question";
|
|
603
|
+
readonly email: "email";
|
|
604
|
+
};
|
|
605
|
+
type ShieldVariant = ValueOf<typeof ShieldVariant>;
|
|
606
|
+
|
|
607
|
+
interface DataGridProps extends Partial<Pick<DataGridPremiumProps, 'rows'>>, Omit<DataGridPremiumProps, 'rows'> {
|
|
360
608
|
/** License key for MUI Datagrid Pro. */
|
|
361
609
|
license?: string;
|
|
362
610
|
/**
|
|
@@ -586,7 +834,7 @@ declare const getFilterModelFromString: (searchString: string, columns: DataGrid
|
|
|
586
834
|
declare const getSearchParamsFromFilterModel: (filterModel: ExtendedGridFilterModel) => URLSearchParams;
|
|
587
835
|
/** SORT */
|
|
588
836
|
declare const getSortingFromString: (searchString: string, columns: DataGridProps["columns"]) => GridSortModel | "invalid";
|
|
589
|
-
declare const getSearchParamsFromSorting: (sorting:
|
|
837
|
+
declare const getSearchParamsFromSorting: (sorting: GridSortModel) => URLSearchParams;
|
|
590
838
|
/** PAGINATION */
|
|
591
839
|
declare const getPaginationFromString: (searchString: string) => ExtendedGridPaginationModel | "invalid";
|
|
592
840
|
declare const getSearchParamsFromPagination: (pagination: ExtendedGridPaginationModel) => URLSearchParams;
|
|
@@ -600,11 +848,36 @@ declare const getSearchParamsFromTab: (search: string) => URLSearchParams;
|
|
|
600
848
|
type GridDensityValue = 'compact' | 'standard' | 'comfortable';
|
|
601
849
|
declare const getDensityFromString: (searchString: string) => GridDensityValue | "invalid";
|
|
602
850
|
declare const getSearchParamsFromDensity: (density: GridDensityValue) => URLSearchParams;
|
|
603
|
-
declare const getDensityModel: (search: string, localStorageDensity: string, setLocalStorageDensity: (density: string) => void, initialState:
|
|
851
|
+
declare const getDensityModel: (search: string, localStorageDensity: string, setLocalStorageDensity: (density: string) => void, initialState: GridInitialState | undefined, isNewVersion: boolean) => GridDensityValue;
|
|
604
852
|
/** COLUMN ORDER */
|
|
605
853
|
type ColumnOrderModel = string[];
|
|
606
854
|
declare const getColumnOrderFromString: (searchString: string) => ColumnOrderModel | "invalid";
|
|
607
855
|
declare const getSearchParamsFromColumnOrder: (columnOrder: ColumnOrderModel) => URLSearchParams;
|
|
856
|
+
/** ROW GROUPING */
|
|
857
|
+
declare const getRowGroupingFromString: (searchString: string) => GridRowGroupingModel | "invalid";
|
|
858
|
+
declare const getSearchParamsFromRowGrouping: (rowGrouping: GridRowGroupingModel) => URLSearchParams;
|
|
859
|
+
/** AGGREGATION */
|
|
860
|
+
declare const getAggregationFromString: (searchString: string) => GridAggregationModel | "invalid";
|
|
861
|
+
declare const getSearchParamsFromAggregation: (aggregation: GridAggregationModel) => URLSearchParams;
|
|
862
|
+
/** PIVOT */
|
|
863
|
+
interface PivotModel {
|
|
864
|
+
columns: string[];
|
|
865
|
+
rows: string[];
|
|
866
|
+
values: {
|
|
867
|
+
field: string;
|
|
868
|
+
aggFunc: string;
|
|
869
|
+
}[];
|
|
870
|
+
}
|
|
871
|
+
/** Convert MUI's GridPivotModel → our simplified PivotModel */
|
|
872
|
+
declare const fromGridPivotModel: (model: GridPivotModel) => PivotModel;
|
|
873
|
+
/**
|
|
874
|
+
* Pivot format: `cols:f1,f2;rows:f3;vals:f4.sum,f5.avg`
|
|
875
|
+
*/
|
|
876
|
+
declare const getPivotFromString: (searchString: string) => PivotModel | "invalid";
|
|
877
|
+
declare const getSearchParamsFromPivot: (pivot: PivotModel) => URLSearchParams;
|
|
878
|
+
/** PIVOT ACTIVE */
|
|
879
|
+
declare const getPivotActiveFromString: (searchString: string) => boolean | "invalid";
|
|
880
|
+
declare const getSearchParamsFromPivotActive: (active: boolean) => URLSearchParams;
|
|
608
881
|
type FinalSearchInput = {
|
|
609
882
|
localStorageVersion: number;
|
|
610
883
|
filterModel: GridFilterModel;
|
|
@@ -615,10 +888,14 @@ type FinalSearchInput = {
|
|
|
615
888
|
density: GridDensityValue;
|
|
616
889
|
columnOrderModel: ColumnOrderModel;
|
|
617
890
|
defaultColumnOrder: ColumnOrderModel;
|
|
891
|
+
rowGroupingModel: GridRowGroupingModel;
|
|
892
|
+
aggregationModel: GridAggregationModel;
|
|
893
|
+
pivotModel: PivotModel;
|
|
894
|
+
pivotActive: boolean;
|
|
618
895
|
search: string;
|
|
619
896
|
columns: DataGridProps['columns'];
|
|
620
897
|
};
|
|
621
|
-
declare const getFinalSearch: ({ search, localStorageVersion, filterModel, sortModel, paginationModel, columnsVisibilityModel, pinnedColumnsModel, density, columnOrderModel, defaultColumnOrder, columns, }: FinalSearchInput) => URLSearchParams;
|
|
898
|
+
declare const getFinalSearch: ({ search, localStorageVersion, filterModel, sortModel, paginationModel, columnsVisibilityModel, pinnedColumnsModel, density, columnOrderModel, defaultColumnOrder, rowGroupingModel, aggregationModel, pivotModel, pivotActive, columns, }: FinalSearchInput) => URLSearchParams;
|
|
622
899
|
type PinnedColumns = {
|
|
623
900
|
left: string[];
|
|
624
901
|
right: string[];
|
|
@@ -638,6 +915,14 @@ type ModelsLocalStorage = {
|
|
|
638
915
|
setLocalStorageDensity: (density: string) => void;
|
|
639
916
|
localStorageColumnOrder: string;
|
|
640
917
|
setLocalStorageColumnOrder: (value: string) => void;
|
|
918
|
+
localStorageRowGrouping: string;
|
|
919
|
+
setLocalStorageRowGrouping: (value: string) => void;
|
|
920
|
+
localStorageAggregation: string;
|
|
921
|
+
setLocalStorageAggregation: (value: string) => void;
|
|
922
|
+
localStoragePivot: string;
|
|
923
|
+
setLocalStoragePivot: (value: string) => void;
|
|
924
|
+
localStoragePivotActive: string;
|
|
925
|
+
setLocalStoragePivotActive: (value: string) => void;
|
|
641
926
|
};
|
|
642
927
|
type ModelsTable = {
|
|
643
928
|
filterModel: GridFilterModel;
|
|
@@ -647,11 +932,15 @@ type ModelsTable = {
|
|
|
647
932
|
pinnedColumnsModel: PinnedColumns;
|
|
648
933
|
density: GridDensityValue;
|
|
649
934
|
columnOrderModel: ColumnOrderModel;
|
|
935
|
+
rowGroupingModel: GridRowGroupingModel;
|
|
936
|
+
aggregationModel: GridAggregationModel;
|
|
937
|
+
pivotModel: PivotModel;
|
|
938
|
+
pivotActive: boolean;
|
|
650
939
|
/** The display-format search string the URL should have. Null if no update needed. */
|
|
651
940
|
pendingSearch: string | null;
|
|
652
941
|
};
|
|
653
942
|
/** Return the state of the table given the URL and the local storage state */
|
|
654
|
-
declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], initialState:
|
|
943
|
+
declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], initialState: GridInitialState | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
|
|
655
944
|
type DataGridModel = {
|
|
656
945
|
filterModel: GridFilterModel;
|
|
657
946
|
sortModel: GridSortModel;
|
|
@@ -661,10 +950,52 @@ type DataGridModel = {
|
|
|
661
950
|
density: GridDensityValue;
|
|
662
951
|
columnOrderModel: ColumnOrderModel;
|
|
663
952
|
defaultColumnOrder: ColumnOrderModel;
|
|
953
|
+
rowGroupingModel: GridRowGroupingModel;
|
|
954
|
+
aggregationModel: GridAggregationModel;
|
|
955
|
+
pivotModel: PivotModel;
|
|
956
|
+
pivotActive: boolean;
|
|
664
957
|
};
|
|
665
|
-
declare const updateUrl: ({ filterModel, sortModel, paginationModel, columnsModel: columnsVisibilityModel, pinnedColumnsModel, density, columnOrderModel, defaultColumnOrder, }: DataGridModel, search: string, localStorageVersion: number, historyReplace: (newSearch: string) => void, columns: DataGridProps["columns"]) => void;
|
|
958
|
+
declare const updateUrl: ({ filterModel, sortModel, paginationModel, columnsModel: columnsVisibilityModel, pinnedColumnsModel, density, columnOrderModel, defaultColumnOrder, rowGroupingModel, aggregationModel, pivotModel, pivotActive, }: DataGridModel, search: string, localStorageVersion: number, historyReplace: (newSearch: string) => void, columns: DataGridProps["columns"]) => void;
|
|
666
959
|
declare const areFilterModelsEquivalent: (filterModel: GridFilterModel, filterModelToMatch: GridFilterModel) => boolean;
|
|
667
960
|
|
|
961
|
+
/**
|
|
962
|
+
* A React Router v5 / connected-react-router adapter for `StatefulDataGrid.useRouter`.
|
|
963
|
+
*
|
|
964
|
+
* Defers `history.replace` via `queueMicrotask` to avoid the
|
|
965
|
+
* "Cannot update during an existing state transition" warning
|
|
966
|
+
* that connected-react-router triggers when the grid synchronises
|
|
967
|
+
* URL state during render.
|
|
968
|
+
*
|
|
969
|
+
* @example
|
|
970
|
+
* ```tsx
|
|
971
|
+
* import { createReactRouterV5Adapter } from '@redsift/table';
|
|
972
|
+
*
|
|
973
|
+
* const useRouter = createReactRouterV5Adapter(history);
|
|
974
|
+
*
|
|
975
|
+
* <StatefulDataGrid useRouter={useRouter} … />
|
|
976
|
+
* ```
|
|
977
|
+
*/
|
|
978
|
+
/** Minimal subset of React Router v5 `history` used by the adapter. */
|
|
979
|
+
interface ReactRouterV5History {
|
|
980
|
+
location: {
|
|
981
|
+
pathname: string;
|
|
982
|
+
search: string;
|
|
983
|
+
};
|
|
984
|
+
replace: (path: {
|
|
985
|
+
pathname: string;
|
|
986
|
+
search: string;
|
|
987
|
+
}) => void;
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
* Create a `useRouter` hook compatible with `StatefulDataGrid` from a
|
|
991
|
+
* React Router v5 `history` object.
|
|
992
|
+
*/
|
|
993
|
+
declare const createReactRouterV5Adapter: (history: ReactRouterV5History) => (() => {
|
|
994
|
+
pathname: string;
|
|
995
|
+
search: string;
|
|
996
|
+
historyReplace: (newSearch: string) => void;
|
|
997
|
+
});
|
|
998
|
+
|
|
668
999
|
interface UseLinkedFilterModelOptions {
|
|
669
1000
|
/** Starting filter model. Defaults to `{ items: [] }`. */
|
|
670
1001
|
initialFilterModel?: GridFilterModel;
|
|
@@ -725,44 +1056,6 @@ interface UseLinkedFilterModelReturn {
|
|
|
725
1056
|
*/
|
|
726
1057
|
declare function useLinkedFilterModel(options?: UseLinkedFilterModelOptions): UseLinkedFilterModelReturn;
|
|
727
1058
|
|
|
728
|
-
/**
|
|
729
|
-
* A React Router v5 / connected-react-router adapter for `StatefulDataGrid.useRouter`.
|
|
730
|
-
*
|
|
731
|
-
* Defers `history.replace` via `queueMicrotask` to avoid the
|
|
732
|
-
* "Cannot update during an existing state transition" warning
|
|
733
|
-
* that connected-react-router triggers when the grid synchronises
|
|
734
|
-
* URL state during render.
|
|
735
|
-
*
|
|
736
|
-
* @example
|
|
737
|
-
* ```tsx
|
|
738
|
-
* import { createReactRouterV5Adapter } from '@redsift/table';
|
|
739
|
-
*
|
|
740
|
-
* const useRouter = createReactRouterV5Adapter(history);
|
|
741
|
-
*
|
|
742
|
-
* <StatefulDataGrid useRouter={useRouter} … />
|
|
743
|
-
* ```
|
|
744
|
-
*/
|
|
745
|
-
/** Minimal subset of React Router v5 `history` used by the adapter. */
|
|
746
|
-
interface ReactRouterV5History {
|
|
747
|
-
location: {
|
|
748
|
-
pathname: string;
|
|
749
|
-
search: string;
|
|
750
|
-
};
|
|
751
|
-
replace: (path: {
|
|
752
|
-
pathname: string;
|
|
753
|
-
search: string;
|
|
754
|
-
}) => void;
|
|
755
|
-
}
|
|
756
|
-
/**
|
|
757
|
-
* Create a `useRouter` hook compatible with `StatefulDataGrid` from a
|
|
758
|
-
* React Router v5 `history` object.
|
|
759
|
-
*/
|
|
760
|
-
declare const createReactRouterV5Adapter: (history: ReactRouterV5History) => (() => {
|
|
761
|
-
pathname: string;
|
|
762
|
-
search: string;
|
|
763
|
-
historyReplace: (newSearch: string) => void;
|
|
764
|
-
});
|
|
765
|
-
|
|
766
1059
|
declare const BaseButton: React$1.JSXElementConstructor<any>;
|
|
767
1060
|
|
|
768
1061
|
declare const BaseCheckbox: React$1.JSXElementConstructor<any>;
|
|
@@ -770,7 +1063,7 @@ declare const BaseCheckbox: React$1.JSXElementConstructor<any>;
|
|
|
770
1063
|
declare const muiIconToDSIcon: Partial<Record<keyof GridSlotsComponent, string>>;
|
|
771
1064
|
declare const BaseIcon: React$1.JSXElementConstructor<any>;
|
|
772
1065
|
|
|
773
|
-
declare const
|
|
1066
|
+
declare const BaseIconButton: React$1.JSXElementConstructor<any>;
|
|
774
1067
|
|
|
775
1068
|
declare const BaseTextField: React$1.JSXElementConstructor<any>;
|
|
776
1069
|
|
|
@@ -792,9 +1085,14 @@ interface LocaleText {
|
|
|
792
1085
|
powerTooltipContent?: string;
|
|
793
1086
|
errorText?: string;
|
|
794
1087
|
}
|
|
1088
|
+
interface FilterConfigColumn {
|
|
1089
|
+
field: string;
|
|
1090
|
+
type?: string;
|
|
1091
|
+
description?: string;
|
|
1092
|
+
}
|
|
795
1093
|
interface FilterConfig {
|
|
796
|
-
columns:
|
|
797
|
-
typeOperators:
|
|
1094
|
+
columns: FilterConfigColumn[];
|
|
1095
|
+
typeOperators: Record<string, string[]>;
|
|
798
1096
|
notes: string;
|
|
799
1097
|
openaiApiKey?: string;
|
|
800
1098
|
completionFunc?: (nlpFilterConfig: FilterConfig, prompt: string, model: string) => Promise<CompletionResponse>;
|
|
@@ -825,13 +1123,10 @@ type ControlledPaginationProps = {
|
|
|
825
1123
|
displayRowsPerPage?: boolean;
|
|
826
1124
|
displayPagination?: boolean;
|
|
827
1125
|
selectionStatus: SelectionStatus;
|
|
828
|
-
apiRef: MutableRefObject<
|
|
1126
|
+
apiRef: MutableRefObject<GridApiPremium | null>;
|
|
829
1127
|
paginationModel: GridPaginationModel;
|
|
830
1128
|
onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
|
|
831
|
-
pageSizeOptions?:
|
|
832
|
-
value: number;
|
|
833
|
-
label: string;
|
|
834
|
-
})[];
|
|
1129
|
+
pageSizeOptions?: number[];
|
|
835
1130
|
isRowSelectable?: DataGridProps['isRowSelectable'];
|
|
836
1131
|
paginationProps?: DataGridProps['paginationProps'];
|
|
837
1132
|
};
|
|
@@ -844,10 +1139,7 @@ type ServerSideControlledPaginationProps = {
|
|
|
844
1139
|
selectionStatus: SelectionStatus;
|
|
845
1140
|
paginationModel: GridPaginationModel;
|
|
846
1141
|
onPaginationModelChange: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
|
|
847
|
-
pageSizeOptions?:
|
|
848
|
-
value: number;
|
|
849
|
-
label: string;
|
|
850
|
-
})[];
|
|
1142
|
+
pageSizeOptions?: number[];
|
|
851
1143
|
paginationProps?: DataGridProps['paginationProps'];
|
|
852
1144
|
rowCount: number;
|
|
853
1145
|
loading?: boolean;
|
|
@@ -855,7 +1147,7 @@ type ServerSideControlledPaginationProps = {
|
|
|
855
1147
|
/**
|
|
856
1148
|
* Get the IDs of all selectable rows currently loaded in the grid (i.e. the current page for server-side).
|
|
857
1149
|
*/
|
|
858
|
-
declare const getSelectableRowIdsInPage: (apiRef: React$1.MutableRefObject<
|
|
1150
|
+
declare const getSelectableRowIdsInPage: (apiRef: React$1.MutableRefObject<GridApiPremium>, isRowSelectable: ((params: GridRowParams<any>) => boolean) | undefined) => GridRowId[];
|
|
859
1151
|
/**
|
|
860
1152
|
* Intercept MUI's `onRowSelectionModelChange` for server-side pagination to fix the
|
|
861
1153
|
* header checkbox behavior when cross-page selections exist.
|
|
@@ -869,8 +1161,8 @@ declare const getSelectableRowIdsInPage: (apiRef: React$1.MutableRefObject<GridA
|
|
|
869
1161
|
* selections with 0 selected on current page), we merge all current page rows with the
|
|
870
1162
|
* existing cross-page selections instead.
|
|
871
1163
|
*/
|
|
872
|
-
declare const fixServerSideHeaderCheckboxSelection: (newSelectionModel: GridRowSelectionModel, previousSelectionModel: GridRowSelectionModel, selectionStatus: React$1.MutableRefObject<SelectionStatus>, apiRef: React$1.MutableRefObject<
|
|
873
|
-
declare const onServerSideSelectionStatusChange: (newSelectionModel: GridRowSelectionModel, apiRef: React$1.MutableRefObject<
|
|
1164
|
+
declare const fixServerSideHeaderCheckboxSelection: (newSelectionModel: GridRowSelectionModel, previousSelectionModel: GridRowSelectionModel, selectionStatus: React$1.MutableRefObject<SelectionStatus>, apiRef: React$1.MutableRefObject<GridApiPremium>, isRowSelectable: ((params: GridRowParams<any>) => boolean) | undefined) => GridRowSelectionModel;
|
|
1165
|
+
declare const onServerSideSelectionStatusChange: (newSelectionModel: GridRowSelectionModel, apiRef: React$1.MutableRefObject<GridApiPremium | null>, selectionStatus: React$1.MutableRefObject<SelectionStatus>, forceUpdate: React$1.Dispatch<React$1.SetStateAction<number>>, isRowSelectable: ((params: GridRowParams<any>) => boolean) | undefined, page: number, pageSize: number) => void;
|
|
874
1166
|
declare const ServerSideControlledPagination: React$1.FC<ServerSideControlledPaginationProps>;
|
|
875
1167
|
|
|
876
1168
|
interface TextCellProps extends ComponentProps<'div'> {
|
|
@@ -969,4 +1261,4 @@ type ToolbarWrapperProps = {
|
|
|
969
1261
|
};
|
|
970
1262
|
declare const ToolbarWrapper: React$1.FC<ToolbarWrapperProps>;
|
|
971
1263
|
|
|
972
|
-
export { ARRAY_IS_EMPTY, ARRAY_IS_NOT_EMPTY, BaseButton, BaseCheckbox, BaseIcon,
|
|
1264
|
+
export { AGGREGATION_MODEL_KEY, ARRAY_IS_EMPTY, ARRAY_IS_NOT_EMPTY, BaseButton, BaseCheckbox, BaseIcon, BaseIconButton, BaseTextField, CATEGORIES, COLUMN_ORDER_MODEL_KEY, CONTAINS_ANY_OF, Category, ColumnOptions, ColumnOrderModel, ColumnType, CompletionResponse, ControlledPagination, ControlledPaginationProps, DATE_IS_BETWEEN, DEFAULT_OPERATORS, DENSITY_MODEL_KEY, DETAIL_PANEL_TOGGLE_COL_DEF, DIMENSION_MODEL_KEY, DOES_NOT_CONTAIN, DOES_NOT_CONTAIN_ANY_OF, DOES_NOT_END_WITH, DOES_NOT_END_WITH_ANY_OF, DOES_NOT_EQUAL, DOES_NOT_HAVE, DOES_NOT_HAVE_ANY_OF, DOES_NOT_HAVE_ANY_OF_WITH_SELECT, DOES_NOT_HAVE_WITH_SELECT, DOES_NOT_START_WITH, DOES_NOT_START_WITH_ANY_OF, DataGrid, DataGridModel, DataGridProps, DateOperatorName, EMPTY_ROW_SELECTION_MODEL, ENDS_WITH_ANY_OF, FILTER_MODEL_KEY, FILTER_SEARCH_KEY, FilterConfig, FilterConfigColumn, GridDensityValue, GridToolbarFilterSemanticField, GridToolbarFilterSemanticFieldProps, HAS, HAS_ALL_OF, HAS_ALL_OF_WITH_SELECT, HAS_ANY_OF, HAS_ANY_OF_WITH_SELECT, HAS_ONLY, HAS_ONLY_WITH_SELECT, HAS_WITH_SELECT, IS, IS_ANY_OF, IS_ANY_OF_I, IS_ANY_OF_I_WITH_SELECT, IS_ANY_OF_WITH_SELECT, IS_BETWEEN, IS_NOT, IS_NOT_ANY_OF, IS_NOT_ANY_OF_WITH_SELECT, IS_NOT_WITH_SELECT, IS_WITH_SELECT, LegacyRowSelectionModel, MultiSelectOperatorName, NumberOperatorName, PAGINATION_MODEL_KEY, PINNED_COLUMNS, PIVOT_ACTIVE_KEY, PIVOT_MODEL_KEY, PinnedColumns, PivotModel, ROW_GROUPING_MODEL_KEY, ReactRouterV5History, RowSelectionModelInput, SORT_MODEL_KEY, STARTS_WITH_ANY_OF, SelectionStatus, ServerSideControlledPagination, ServerSideControlledPaginationProps, SingleSelectOperatorName, StatefulDataGrid, StatefulDataGridProps, StringOperatorName, StyledDataGridProps, TagsOperatorName, TextCell, Toolbar, ToolbarWrapper, ToolbarWrapperProps, UseLinkedFilterModelOptions, UseLinkedFilterModelReturn, VISIBILITY_MODEL_KEY, areFilterModelsEquivalent, areSearchStringsEqual, buildQueryParamsString, buildStorageKey, clearAllVersionStorage, clearPreviousVersionStorage, convertFromDisplayFormat, convertToDisplayFormat, createColumn, createReactRouterV5Adapter, createRowSelectionModel, customColumnTypes, decodeValue, encodeValue, fixServerSideHeaderCheckboxSelection, fromGridPivotModel, getAggregationFromString, getColumnOrderFromString, getColumnVisibilityFromString, getCompletion, getDecodedSearchFromUrl, getDensityFromString, getDensityModel, getFilterModelFromString, getFinalSearch, getGridDateOperatorsExtended, getGridNumericOperators, getGridStringArrayOperators, getGridStringArrayOperatorsWithSelect, getGridStringArrayOperatorsWithSelectOnStringArrayColumns, getGridStringOperators, getModelsParsedOrUpdateLocalStorage, getPaginationFromString, getPinnedColumnsFromString, getPivotActiveFromString, getPivotFromString, getRowGroupingFromString, getRsMultipleSelectColumnType, getRsMultipleSelectWithShortOperatorListColumnType, getRsNumberColumnType, getRsSingleSelectColumnType, getRsSingleSelectWithShortOperatorListColumnType, getRsStringColumnType, getSearchParamsFromAggregation, getSearchParamsFromColumnOrder, getSearchParamsFromColumnVisibility, getSearchParamsFromDensity, getSearchParamsFromFilterModel, getSearchParamsFromPagination, getSearchParamsFromPinnedColumns, getSearchParamsFromPivot, getSearchParamsFromPivotActive, getSearchParamsFromRowGrouping, getSearchParamsFromSorting, getSearchParamsFromTab, getSelectableRowIdsInPage, getSelectedIds, getSelectionCount, getSortingFromString, isOperatorValueValid, isRowSelected, isValueValid, makeCaseInsensitive, muiIconToDSIcon, normalizeRowSelectionModel, numberOperatorDecoder, numberOperatorEncoder, onServerSideSelectionStatusChange, operatorList, resetStatefulDataGridState, updateUrl, urlSearchParamsToString, useLinkedFilterModel, wrapCaseInsensitive };
|