@redsift/table 11.7.0-muiv5 → 11.7.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,6 +1,9 @@
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';
1
4
  import * as _mui_x_data_grid_pro from '@mui/x-data-grid-pro';
2
- import { GridNativeColTypes, GridColumnTypesRecord, GridFilterItem, GridCellParams, GridFilterOperator, GridFilterInputValue, GridFilterInputSingleSelect, GridFilterInputMultipleValue, GridFilterInputMultipleSingleSelect, DataGridProProps, GridFilterModel, GridSortModel, GridSortItem, GridColumnVisibilityModel, GridPinnedColumns, GridSlotsComponent, GridSelectionModel, GridRowParams, GridToolbarExportProps, GridToolbarFilterButtonProps, GridToolbarColumnsButton, GridToolbarDensitySelector } from '@mui/x-data-grid-pro';
3
- export { GridAlignment, GridColDef, GridColumns, GridFilterItem, GridFilterModel, GridSelectionModel, getGridBooleanOperators, getGridDateOperators, getGridSingleSelectOperators } 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';
6
+ export { GridAlignment, GridColDef, GridFilterItem, GridFilterModel, getGridBooleanOperators, getGridDateOperators, getGridSingleSelectOperators } from '@mui/x-data-grid-pro';
4
7
  import { GridInitialStatePro } from '@mui/x-data-grid-pro/models/gridStatePro';
5
8
  import React, { ReactNode, ComponentProps, MutableRefObject, RefObject } from 'react';
6
9
  import { TablePaginationProps } from '@mui/material';
@@ -10,80 +13,80 @@ import { GridApiPro } from '@mui/x-data-grid-pro/models/gridApiPro';
10
13
  declare const DETAIL_PANEL_TOGGLE_COL_DEF: _mui_x_data_grid_pro.GridColDef<any, any, any>;
11
14
 
12
15
  declare const getRsStringColumnType: () => {
13
- extendType: GridNativeColTypes;
16
+ type: string;
14
17
  filterOperators: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
15
18
  };
16
19
  declare const getRsNumberColumnType: () => {
17
- extendType: GridNativeColTypes;
20
+ type: string;
18
21
  filterOperators: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
19
22
  };
20
23
  declare const getRsSingleSelectColumnType: () => {
21
- extendType: GridNativeColTypes;
24
+ type: string;
22
25
  filterOperators: ({
23
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
26
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
24
27
  label: string;
25
28
  value: string;
26
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
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;
27
30
  } | {
28
31
  label: string;
29
32
  value: string;
30
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
31
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleValue;
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;
32
35
  } | {
33
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
36
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
34
37
  label: string;
35
38
  value: string;
36
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
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;
37
40
  })[];
38
41
  };
39
42
  declare const getRsSingleSelectWithShortOperatorListColumnType: () => {
40
- extendType: GridNativeColTypes;
43
+ type: string;
41
44
  filterOperators: ({
42
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
45
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
43
46
  label: string;
44
47
  value: string;
45
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
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;
46
49
  } | {
47
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
50
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
48
51
  label: string;
49
52
  value: string;
50
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
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;
51
54
  })[];
52
55
  };
53
56
  declare const getRsMultipleSelectColumnType: () => {
54
- extendType: GridNativeColTypes;
57
+ type: string;
55
58
  filterOperators: ({
56
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
59
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
57
60
  label: string;
58
61
  value: string;
59
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
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;
60
63
  } | {
61
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
64
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
62
65
  label: string;
63
66
  value: string;
64
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
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;
65
68
  })[];
66
69
  };
67
70
  declare const getRsMultipleSelectWithShortOperatorListColumnType: () => {
68
- extendType: GridNativeColTypes;
71
+ type: string;
69
72
  filterOperators: ({
70
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
73
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
71
74
  label: string;
72
75
  value: string;
73
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
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;
74
77
  } | {
75
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
78
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
76
79
  label: string;
77
80
  value: string;
78
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
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;
79
82
  })[];
80
83
  };
81
- declare const customColumnTypes: GridColumnTypesRecord;
84
+ declare const customColumnTypes: Partial<GridColumnTypesRecord>;
82
85
 
83
86
  declare const IS_BETWEEN: {
84
87
  label: string;
85
88
  value: string;
86
- getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
89
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams<any, any>) => boolean) | null;
87
90
  InputComponent: (props: any) => JSX.Element;
88
91
  };
89
92
 
@@ -235,6 +238,12 @@ declare const IS_NOT_ANY_OF: {
235
238
  getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
236
239
  InputComponent: typeof GridFilterInputMultipleValue;
237
240
  };
241
+ declare const IS_NOT_ANY_OF_WITH_SELECT: {
242
+ InputComponent: typeof GridFilterInputMultipleSingleSelect;
243
+ label: string;
244
+ value: string;
245
+ getApplyFilterFn: (filterItem: GridFilterItem) => ((params: GridCellParams) => boolean) | null;
246
+ };
238
247
 
239
248
  declare const STARTS_WITH_ANY_OF: {
240
249
  label: string;
@@ -251,59 +260,59 @@ declare const operatorList: {
251
260
  string: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
252
261
  number: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
253
262
  boolean: _mui_x_data_grid_pro.GridFilterOperator<any, boolean | null, any>[];
254
- date: _mui_x_data_grid_pro.GridFilterOperator<any, string | Date, any>[];
255
- dateTime: _mui_x_data_grid_pro.GridFilterOperator<any, string | Date, any>[];
263
+ date: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
264
+ dateTime: _mui_x_data_grid_pro.GridFilterOperator<any, Date, any>[];
256
265
  singleSelect: _mui_x_data_grid_pro.GridFilterOperator<any, any, any>[];
257
266
  rsString: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
258
267
  rsNumber: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
259
268
  rsSingleSelect: ({
260
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
269
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
261
270
  label: string;
262
271
  value: string;
263
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
272
+ 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;
264
273
  } | {
265
274
  label: string;
266
275
  value: string;
267
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
268
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleValue;
276
+ 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;
277
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleValue.GridFilterInputMultipleValue;
269
278
  } | {
270
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
279
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
271
280
  label: string;
272
281
  value: string;
273
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
282
+ 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;
274
283
  })[];
275
284
  rsSingleSelectWithShortOperatorList: ({
276
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
285
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
277
286
  label: string;
278
287
  value: string;
279
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
288
+ 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;
280
289
  } | {
281
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
290
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
282
291
  label: string;
283
292
  value: string;
284
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
293
+ 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;
285
294
  })[];
286
295
  rsMultipleSelect: ({
287
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
296
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
288
297
  label: string;
289
298
  value: string;
290
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
299
+ 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;
291
300
  } | {
292
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
301
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
293
302
  label: string;
294
303
  value: string;
295
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
304
+ 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;
296
305
  })[];
297
306
  rsMultipleSelectWithShortOperatorList: ({
298
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputSingleSelect;
307
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputSingleSelect.GridFilterInputSingleSelect;
299
308
  label: string;
300
309
  value: string;
301
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
310
+ 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;
302
311
  } | {
303
- InputComponent: typeof _mui_x_data_grid_pro.GridFilterInputMultipleSingleSelect;
312
+ InputComponent: typeof _mui_x_data_grid_components_panel_filterPanel_GridFilterInputMultipleSingleSelect.GridFilterInputMultipleSingleSelect;
304
313
  label: string;
305
314
  value: string;
306
- getApplyFilterFn: (filterItem: _mui_x_data_grid_pro.GridFilterItem) => ((params: _mui_x_data_grid_pro.GridCellParams) => boolean) | null;
315
+ 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;
307
316
  })[];
308
317
  rsStringArray: _mui_x_data_grid_pro.GridFilterOperator<any, string | number | null, any>[];
309
318
  };
@@ -375,9 +384,7 @@ declare const StatefulDataGrid: Comp<StatefulDataGridProps, HTMLDivElement>;
375
384
  interface ExtendedGridFilterModel extends GridFilterModel {
376
385
  quickFilterValues?: string[];
377
386
  }
378
- interface ExtendedGridPaginationModel {
379
- page: number;
380
- pageSize: number;
387
+ interface ExtendedGridPaginationModel extends GridPaginationModel {
381
388
  direction?: 'next' | 'back';
382
389
  }
383
390
 
@@ -387,19 +394,21 @@ declare const encodeValue: (value: string | undefined) => string;
387
394
  declare const urlSearchParamsToString: (searchParams: URLSearchParams) => string;
388
395
  declare const numberOperatorEncoder: Record<string, string>;
389
396
  declare const numberOperatorDecoder: Record<string, string>;
397
+ declare const isOperatorValueValid: (field: string, operator: OperatorValue, columns: DataGridProps['columns']) => boolean;
398
+ declare const isValueValid: (value: OperatorValue, field: string, columns: DataGridProps['columns'], operator: OperatorValue) => boolean;
390
399
  /** FILTERS */
391
- declare const getFilterModelFromString: (searchString: string, columns: DataGridProps["columns"]) => ExtendedGridFilterModel | "invalid";
400
+ declare const getFilterModelFromString: (searchString: string, columns: DataGridProps['columns']) => ExtendedGridFilterModel | 'invalid';
392
401
  declare const getSearchParamsFromFilterModel: (filterModel: ExtendedGridFilterModel) => URLSearchParams;
393
402
  /** SORT */
394
- declare const getSortingFromString: (searchString: string, columns: DataGridProps["columns"]) => GridSortModel | "invalid";
403
+ declare const getSortingFromString: (searchString: string, columns: DataGridProps['columns']) => GridSortModel | 'invalid';
395
404
  declare const getSearchParamsFromSorting: (sorting: GridSortItem[]) => URLSearchParams;
396
405
  /** PAGINATION */
397
- declare const getPaginationFromString: (searchString: string) => ExtendedGridPaginationModel | "invalid";
406
+ declare const getPaginationFromString: (searchString: string) => ExtendedGridPaginationModel | 'invalid';
398
407
  declare const getSearchParamsFromPagination: (pagination: ExtendedGridPaginationModel) => URLSearchParams;
399
408
  /** COLUMN VISIBILITY */
400
- declare const getSearchParamsFromColumnVisibility: (columnVisibility: GridColumnVisibilityModel, columns: DataGridProps["columns"]) => URLSearchParams;
401
- declare const getColumnVisibilityFromString: (notParsed: string, tableColumns: DataGridProps["columns"]) => GridColumnVisibilityModel | "invalid";
402
- declare const getPinnedColumnsFromString: (notParsed: string, tableColumns: DataGridProps["columns"]) => PinnedColumns | "invalid";
409
+ declare const getColumnVisibilityFromString: (searchString: string, columns: DataGridProps['columns']) => GridColumnVisibilityModel | 'invalid';
410
+ declare const getSearchParamsFromColumnVisibility: (columnVisibility: GridColumnVisibilityModel, columns: DataGridProps['columns']) => URLSearchParams;
411
+ declare const getPinnedColumnsFromString: (notParsed: string, tableColumns: DataGridProps['columns']) => PinnedColumns | 'invalid';
403
412
  declare const getSearchParamsFromPinnedColumns: (pinnedColumns: GridPinnedColumns) => URLSearchParams;
404
413
  declare const getSearchParamsFromTab: (search: string) => URLSearchParams;
405
414
  type FinalSearchInput = {
@@ -437,7 +446,7 @@ type ModelsTable = {
437
446
  pinnedColumnsModel: PinnedColumns;
438
447
  };
439
448
  /** Return the state of the table given the URL and the local storage state */
440
- declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps["columns"], historyReplace: (newSearch: string) => void, initialState: GridInitialStatePro | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
449
+ declare const getModelsParsedOrUpdateLocalStorage: (search: string, localStorageVersion: number, columns: DataGridProps['columns'], historyReplace: (newSearch: string) => void, initialState: GridInitialStatePro | undefined, localStorage: ModelsLocalStorage) => ModelsTable;
441
450
  type DataGridModel = {
442
451
  filterModel: GridFilterModel;
443
452
  sortModel: GridSortModel;
@@ -445,7 +454,7 @@ type DataGridModel = {
445
454
  columnsModel: GridColumnVisibilityModel;
446
455
  pinnedColumnsModel: GridPinnedColumns;
447
456
  };
448
- declare const updateUrl: ({ filterModel, sortModel, paginationModel, columnsModel: columnsVisibilityModel, pinnedColumnsModel }: DataGridModel, search: string, localStorageVersion: number, historyReplace: (newSearch: string) => void, columns: DataGridProps["columns"]) => void;
457
+ declare const updateUrl: ({ filterModel, sortModel, paginationModel, columnsModel: columnsVisibilityModel, pinnedColumnsModel }: DataGridModel, search: string, localStorageVersion: number, historyReplace: (newSearch: string) => void, columns: DataGridProps['columns']) => void;
449
458
  declare const areFilterModelsEquivalent: (filterModel: GridFilterModel, filterModelToMatch: GridFilterModel) => boolean;
450
459
 
451
460
  declare const BaseButton: React.JSXElementConstructor<any>;
@@ -460,12 +469,12 @@ declare const BasePopper: React.JSXElementConstructor<any>;
460
469
  declare const BaseTextField: React.JSXElementConstructor<any>;
461
470
 
462
471
  interface CompletionResponseItem {
463
- columnField: string;
464
- operatorValue: string;
472
+ field: string;
473
+ operator: string;
465
474
  value?: string;
466
475
  }
467
476
  type CompletionResponse = {
468
- linkOperator: 'and' | 'or';
477
+ logicOperator: 'and' | 'or';
469
478
  items: CompletionResponseItem[];
470
479
  };
471
480
  interface LocaleText {
@@ -511,11 +520,9 @@ type ControlledPaginationProps = {
511
520
  displayPagination?: boolean;
512
521
  selectionStatus: SelectionStatus;
513
522
  apiRef: MutableRefObject<GridApiPro>;
514
- page: number;
515
- onPageChange: (page: number) => void;
516
- pageSize: number;
517
- onPageSizeChange: (pageSize: number) => void;
518
- rowsPerPageOptions?: number[];
523
+ paginationModel: GridPaginationModel;
524
+ onPaginationModelChange: (model: GridPaginationModel) => void;
525
+ pageSizeOptions?: number[];
519
526
  isRowSelectable?: DataGridProps['isRowSelectable'];
520
527
  paginationProps?: DataGridProps['paginationProps'];
521
528
  };
@@ -526,16 +533,14 @@ type ServerSideControlledPaginationProps = {
526
533
  displayRowsPerPage?: boolean;
527
534
  displayPagination?: boolean;
528
535
  selectionStatus: SelectionStatus;
529
- page: number;
530
- onPageChange: (page: number) => void;
531
- pageSize: number;
532
- onPageSizeChange: (pageSize: number) => void;
533
- rowsPerPageOptions?: number[];
536
+ paginationModel: GridPaginationModel;
537
+ onPaginationModelChange: (model: GridPaginationModel) => void;
538
+ pageSizeOptions?: number[];
534
539
  paginationProps?: DataGridProps['paginationProps'];
535
540
  rowCount: number;
536
541
  loading?: boolean;
537
542
  };
538
- declare const onServerSideSelectionStatusChange: (newSelectionModel: GridSelectionModel, apiRef: React.MutableRefObject<GridApiPro>, selectionStatus: React.MutableRefObject<SelectionStatus>, isRowSelectable: ((params: GridRowParams<any>) => boolean) | undefined, page: number, pageSize: number) => void;
543
+ 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;
539
544
  declare const ServerSideControlledPagination: React.FC<ServerSideControlledPaginationProps>;
540
545
 
541
546
  interface TextCellProps extends ComponentProps<'div'> {
@@ -625,15 +630,13 @@ type ToolbarWrapperProps = {
625
630
  selectionStatus: React.MutableRefObject<SelectionStatus>;
626
631
  apiRef: DataGridProps['apiRef'];
627
632
  isRowSelectable: DataGridProps['isRowSelectable'];
628
- page: DataGridProps['page'];
629
- onPageChange: DataGridProps['onPageChange'];
630
- pageSize: DataGridProps['pageSize'];
631
- onPageSizeChange: DataGridProps['onPageSizeChange'];
632
- rowsPerPageOptions: DataGridProps['rowsPerPageOptions'];
633
+ paginationModel: DataGridProps['paginationModel'];
634
+ onPaginationModelChange: DataGridProps['onPaginationModelChange'];
635
+ pageSizeOptions: DataGridProps['pageSizeOptions'];
633
636
  paginationProps: DataGridProps['paginationProps'];
634
637
  paginationMode?: DataGridProps['paginationMode'];
635
638
  rowCount?: DataGridProps['rowCount'];
636
639
  };
637
640
  declare const ToolbarWrapper: React.FC<ToolbarWrapperProps>;
638
641
 
639
- 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_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_WITH_SELECT, IS_WITH_SELECT, PAGINATION_MODEL_KEY, PINNED_COLUMNS, PinnedColumns, SORT_MODEL_KEY, STARTS_WITH_ANY_OF, SelectionStatus, ServerSideControlledPagination, ServerSideControlledPaginationProps, StatefulDataGrid, StatefulDataGridProps, StyledDataGridProps, TextCell, Toolbar, ToolbarWrapper, ToolbarWrapperProps, VISIBILITY_MODEL_KEY, areFilterModelsEquivalent, buildStorageKey, clearPreviousVersionStorage, customColumnTypes, decodeValue, encodeValue, getColumnVisibilityFromString, getCompletion, getFilterModelFromString, getFinalSearch, getGridNumericOperators, getGridStringArrayOperators, getGridStringArrayOperatorsWithSelect, getGridStringArrayOperatorsWithSelectOnStringArrayColumns, getGridStringOperators, getModelsParsedOrUpdateLocalStorage, getPaginationFromString, getPinnedColumnsFromString, getRsMultipleSelectColumnType, getRsMultipleSelectWithShortOperatorListColumnType, getRsNumberColumnType, getRsSingleSelectColumnType, getRsSingleSelectWithShortOperatorListColumnType, getRsStringColumnType, getSearchParamsFromColumnVisibility, getSearchParamsFromFilterModel, getSearchParamsFromPagination, getSearchParamsFromPinnedColumns, getSearchParamsFromSorting, getSearchParamsFromTab, getSortingFromString, muiIconToDSIcon, numberOperatorDecoder, numberOperatorEncoder, onServerSideSelectionStatusChange, operatorList, updateUrl, urlSearchParamsToString };
642
+ 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_WITH_SELECT, DataGrid, DataGridModel, DataGridProps, ENDS_WITH_ANY_OF, FILTER_MODEL_KEY, FILTER_SEARCH_KEY, FilterConfig, GridToolbarFilterSemanticField, GridToolbarFilterSemanticFieldProps, HAS, HAS_ANY_OF, HAS_ANY_OF_WITH_SELECT, HAS_ONLY, HAS_ONLY_WITH_SELECT, HAS_WITH_SELECT, IS, IS_ANY_OF, IS_ANY_OF_I, IS_ANY_OF_I_WITH_SELECT, IS_ANY_OF_WITH_SELECT, IS_BETWEEN, IS_NOT, IS_NOT_ANY_OF, IS_NOT_ANY_OF_WITH_SELECT, IS_NOT_WITH_SELECT, IS_WITH_SELECT, PAGINATION_MODEL_KEY, PINNED_COLUMNS, PinnedColumns, SORT_MODEL_KEY, STARTS_WITH_ANY_OF, SelectionStatus, ServerSideControlledPagination, ServerSideControlledPaginationProps, StatefulDataGrid, StatefulDataGridProps, StyledDataGridProps, TextCell, Toolbar, ToolbarWrapper, ToolbarWrapperProps, VISIBILITY_MODEL_KEY, areFilterModelsEquivalent, buildStorageKey, clearPreviousVersionStorage, customColumnTypes, decodeValue, encodeValue, getColumnVisibilityFromString, getCompletion, getFilterModelFromString, getFinalSearch, getGridNumericOperators, getGridStringArrayOperators, getGridStringArrayOperatorsWithSelect, getGridStringArrayOperatorsWithSelectOnStringArrayColumns, getGridStringOperators, getModelsParsedOrUpdateLocalStorage, getPaginationFromString, getPinnedColumnsFromString, getRsMultipleSelectColumnType, getRsMultipleSelectWithShortOperatorListColumnType, getRsNumberColumnType, getRsSingleSelectColumnType, getRsSingleSelectWithShortOperatorListColumnType, getRsStringColumnType, getSearchParamsFromColumnVisibility, getSearchParamsFromFilterModel, getSearchParamsFromPagination, getSearchParamsFromPinnedColumns, getSearchParamsFromSorting, getSearchParamsFromTab, getSortingFromString, isOperatorValueValid, isValueValid, muiIconToDSIcon, numberOperatorDecoder, numberOperatorEncoder, onServerSideSelectionStatusChange, operatorList, updateUrl, urlSearchParamsToString };
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export { C as CONTAINS_ANY_OF, u as CONTAINS_ANY_OF_I, D as DOES_NOT_CONTAIN, i as DOES_NOT_EQUAL, j as DOES_NOT_HAVE, k as DOES_NOT_HAVE_WITH_SELECT, E as ENDS_WITH_ANY_OF, H as HAS, z as HAS_ANY_OF, A as HAS_ANY_OF_WITH_SELECT, m as HAS_ONLY, n as HAS_ONLY_WITH_SELECT, l as HAS_WITH_SELECT, p as IS, v as IS_ANY_OF, x as IS_ANY_OF_I, y as IS_ANY_OF_I_WITH_SELECT, w as IS_ANY_OF_WITH_SELECT, I as IS_BETWEEN, r as IS_NOT, B as IS_NOT_ANY_OF, s as IS_NOT_WITH_SELECT, q as IS_WITH_SELECT, S as STARTS_WITH_ANY_OF, f as customColumnTypes, h as getGridNumericOperators, F as getGridStringArrayOperators, G as getGridStringArrayOperatorsWithSelect, J as getGridStringArrayOperatorsWithSelectOnStringArrayColumns, t as getGridStringOperators, d as getRsMultipleSelectColumnType, e as getRsMultipleSelectWithShortOperatorListColumnType, a as getRsNumberColumnType, b as getRsSingleSelectColumnType, c as getRsSingleSelectWithShortOperatorListColumnType, g as getRsStringColumnType, o as operatorList } from './_internal/useControlledDatagridState.js';
1
+ import { o as operatorList } from './_internal/StatefulDataGrid2.js';
2
+ export { J as CATEGORIES, C as CONTAINS_ANY_OF, m as CONTAINS_ANY_OF_I, B as DIMENSION_MODEL_KEY, D as DOES_NOT_CONTAIN, a as DOES_NOT_EQUAL, b as DOES_NOT_HAVE, c as DOES_NOT_HAVE_WITH_SELECT, E as ENDS_WITH_ANY_OF, F as FILTER_MODEL_KEY, G as FILTER_SEARCH_KEY, H as HAS, s as HAS_ANY_OF, t as HAS_ANY_OF_WITH_SELECT, e as HAS_ONLY, f as HAS_ONLY_WITH_SELECT, d as HAS_WITH_SELECT, h as IS, n as IS_ANY_OF, q as IS_ANY_OF_I, r as IS_ANY_OF_I_WITH_SELECT, p as IS_ANY_OF_WITH_SELECT, I as IS_BETWEEN, j as IS_NOT, u as IS_NOT_ANY_OF, v as IS_NOT_ANY_OF_WITH_SELECT, k as IS_NOT_WITH_SELECT, i as IS_WITH_SELECT, P as PAGINATION_MODEL_KEY, A as PINNED_COLUMNS, z as SORT_MODEL_KEY, S as STARTS_WITH_ANY_OF, a9 as StatefulDataGrid, V as VISIBILITY_MODEL_KEY, a8 as areFilterModelsEquivalent, K as buildStorageKey, L as clearPreviousVersionStorage, M as decodeValue, N as encodeValue, a0 as getColumnVisibilityFromString, W as getFilterModelFromString, a5 as getFinalSearch, g as getGridNumericOperators, w as getGridStringArrayOperators, x as getGridStringArrayOperatorsWithSelect, y as getGridStringArrayOperatorsWithSelectOnStringArrayColumns, l as getGridStringOperators, a6 as getModelsParsedOrUpdateLocalStorage, _ as getPaginationFromString, a2 as getPinnedColumnsFromString, a1 as getSearchParamsFromColumnVisibility, X as getSearchParamsFromFilterModel, $ as getSearchParamsFromPagination, a3 as getSearchParamsFromPinnedColumns, Z as getSearchParamsFromSorting, a4 as getSearchParamsFromTab, Y as getSortingFromString, T as isOperatorValueValid, U as isValueValid, R as numberOperatorDecoder, Q as numberOperatorEncoder, o as operatorList, a7 as updateUrl, O as urlSearchParamsToString } from './_internal/StatefulDataGrid2.js';
2
3
  export { D as DEFAULT_OPERATORS, G as GridToolbarFilterSemanticField, g as getCompletion } from './_internal/GridToolbarFilterSemanticField2.js';
3
- export { C as CATEGORIES, D as DIMENSION_MODEL_KEY, F as FILTER_MODEL_KEY, b as FILTER_SEARCH_KEY, P as PAGINATION_MODEL_KEY, a as PINNED_COLUMNS, S as SORT_MODEL_KEY, y as StatefulDataGrid, V as VISIBILITY_MODEL_KEY, x as areFilterModelsEquivalent, c as buildStorageKey, d as clearPreviousVersionStorage, e as decodeValue, f as encodeValue, p as getColumnVisibilityFromString, h as getFilterModelFromString, t as getFinalSearch, v as getModelsParsedOrUpdateLocalStorage, l as getPaginationFromString, q as getPinnedColumnsFromString, o as getSearchParamsFromColumnVisibility, i as getSearchParamsFromFilterModel, m as getSearchParamsFromPagination, r as getSearchParamsFromPinnedColumns, k as getSearchParamsFromSorting, s as getSearchParamsFromTab, j as getSortingFromString, g as numberOperatorDecoder, n as numberOperatorEncoder, w as updateUrl, u as urlSearchParamsToString } from './_internal/StatefulDataGrid2.js';
4
4
  import { GRID_DETAIL_PANEL_TOGGLE_COL_DEF } from '@mui/x-data-grid-pro';
5
5
  export { getGridBooleanOperators, getGridDateOperators, getGridSingleSelectOperators } from '@mui/x-data-grid-pro';
6
6
  export { B as BaseButton, a as BaseCheckbox, b as BaseIcon, c as BasePopper, m as muiIconToDSIcon } from './_internal/BasePopper.js';
@@ -15,5 +15,50 @@ export { T as ToolbarWrapper } from './_internal/ToolbarWrapper2.js';
15
15
  const DETAIL_PANEL_TOGGLE_COL_DEF = GRID_DETAIL_PANEL_TOGGLE_COL_DEF;
16
16
  DETAIL_PANEL_TOGGLE_COL_DEF.type = 'actions';
17
17
 
18
- export { DETAIL_PANEL_TOGGLE_COL_DEF };
18
+ const getRsStringColumnType = () => {
19
+ return {
20
+ type: 'string',
21
+ filterOperators: operatorList.rsString
22
+ };
23
+ };
24
+ const getRsNumberColumnType = () => {
25
+ return {
26
+ type: 'number',
27
+ filterOperators: operatorList.rsNumber
28
+ };
29
+ };
30
+ const getRsSingleSelectColumnType = () => {
31
+ return {
32
+ type: 'singleSelect',
33
+ filterOperators: operatorList.rsSingleSelect
34
+ };
35
+ };
36
+ const getRsSingleSelectWithShortOperatorListColumnType = () => {
37
+ return {
38
+ type: 'singleSelect',
39
+ filterOperators: operatorList.rsSingleSelectWithShortOperatorList
40
+ };
41
+ };
42
+ const getRsMultipleSelectColumnType = () => {
43
+ return {
44
+ type: 'singleSelect',
45
+ filterOperators: operatorList.rsMultipleSelect
46
+ };
47
+ };
48
+ const getRsMultipleSelectWithShortOperatorListColumnType = () => {
49
+ return {
50
+ type: 'singleSelect',
51
+ filterOperators: operatorList.rsMultipleSelectWithShortOperatorList
52
+ };
53
+ };
54
+ const customColumnTypes = {
55
+ rsString: getRsStringColumnType(),
56
+ rsNumber: getRsNumberColumnType(),
57
+ rsSingleSelect: getRsSingleSelectColumnType(),
58
+ rsSingleSelectWithShortOperatorList: getRsSingleSelectWithShortOperatorListColumnType(),
59
+ rsMultipleSelect: getRsMultipleSelectColumnType(),
60
+ rsMultipleSelectWithShortOperatorList: getRsMultipleSelectWithShortOperatorListColumnType()
61
+ };
62
+
63
+ export { DETAIL_PANEL_TOGGLE_COL_DEF, customColumnTypes, getRsMultipleSelectColumnType, getRsMultipleSelectWithShortOperatorListColumnType, getRsNumberColumnType, getRsSingleSelectColumnType, getRsSingleSelectWithShortOperatorListColumnType, getRsStringColumnType };
19
64
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/utils/columns/detailPanelToggleColDef.ts"],"sourcesContent":["import { GRID_DETAIL_PANEL_TOGGLE_COL_DEF } from '@mui/x-data-grid-pro';\n\n// Don't use a spread operator there or it will break the build due to MUI internal components\nconst DETAIL_PANEL_TOGGLE_COL_DEF = GRID_DETAIL_PANEL_TOGGLE_COL_DEF;\nDETAIL_PANEL_TOGGLE_COL_DEF.type = 'actions';\n\nexport { DETAIL_PANEL_TOGGLE_COL_DEF };\n"],"names":["DETAIL_PANEL_TOGGLE_COL_DEF","GRID_DETAIL_PANEL_TOGGLE_COL_DEF","type"],"mappings":";;;;;;;;;;;;;AAEA;AACMA,MAAAA,2BAA2B,GAAGC,iCAAgC;AACpED,2BAA2B,CAACE,IAAI,GAAG,SAAS;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/utils/columns/detailPanelToggleColDef.ts","../src/utils/columnTypes/index.ts"],"sourcesContent":["import { GRID_DETAIL_PANEL_TOGGLE_COL_DEF } from '@mui/x-data-grid-pro';\n\n// Don't use a spread operator there or it will break the build due to MUI internal components\nconst DETAIL_PANEL_TOGGLE_COL_DEF = GRID_DETAIL_PANEL_TOGGLE_COL_DEF;\nDETAIL_PANEL_TOGGLE_COL_DEF.type = 'actions';\n\nexport { DETAIL_PANEL_TOGGLE_COL_DEF };\n","import { GridColumnTypesRecord } from '@mui/x-data-grid-pro';\nimport { operatorList } from '../operators';\n\nexport const getRsStringColumnType = () => {\n return {\n type: 'string',\n filterOperators: operatorList.rsString,\n };\n};\n\nexport const getRsNumberColumnType = () => {\n return {\n type: 'number',\n filterOperators: operatorList.rsNumber,\n };\n};\n\nexport const getRsSingleSelectColumnType = () => {\n return {\n type: 'singleSelect',\n filterOperators: operatorList.rsSingleSelect,\n };\n};\n\nexport const getRsSingleSelectWithShortOperatorListColumnType = () => {\n return {\n type: 'singleSelect',\n filterOperators: operatorList.rsSingleSelectWithShortOperatorList,\n };\n};\n\nexport const getRsMultipleSelectColumnType = () => {\n return {\n type: 'singleSelect',\n filterOperators: operatorList.rsMultipleSelect,\n };\n};\n\nexport const getRsMultipleSelectWithShortOperatorListColumnType = () => {\n return {\n type: 'singleSelect',\n filterOperators: operatorList.rsMultipleSelectWithShortOperatorList,\n };\n};\n\nexport const customColumnTypes: Partial<GridColumnTypesRecord> = {\n rsString: getRsStringColumnType(),\n rsNumber: getRsNumberColumnType(),\n rsSingleSelect: getRsSingleSelectColumnType(),\n rsSingleSelectWithShortOperatorList: getRsSingleSelectWithShortOperatorListColumnType(),\n rsMultipleSelect: getRsMultipleSelectColumnType(),\n rsMultipleSelectWithShortOperatorList: getRsMultipleSelectWithShortOperatorListColumnType(),\n};\n"],"names":["DETAIL_PANEL_TOGGLE_COL_DEF","GRID_DETAIL_PANEL_TOGGLE_COL_DEF","type","getRsStringColumnType","filterOperators","operatorList","rsString","getRsNumberColumnType","rsNumber","getRsSingleSelectColumnType","rsSingleSelect","getRsSingleSelectWithShortOperatorListColumnType","rsSingleSelectWithShortOperatorList","getRsMultipleSelectColumnType","rsMultipleSelect","getRsMultipleSelectWithShortOperatorListColumnType","rsMultipleSelectWithShortOperatorList","customColumnTypes"],"mappings":";;;;;;;;;;;;;AAEA;AACMA,MAAAA,2BAA2B,GAAGC,iCAAgC;AACpED,2BAA2B,CAACE,IAAI,GAAG,SAAS;;ACD/BC,MAAAA,qBAAqB,GAAGA,MAAM;EACzC,OAAO;AACLD,IAAAA,IAAI,EAAE,QAAQ;IACdE,eAAe,EAAEC,YAAY,CAACC,QAAAA;GAC/B,CAAA;AACH,EAAC;AAEYC,MAAAA,qBAAqB,GAAGA,MAAM;EACzC,OAAO;AACLL,IAAAA,IAAI,EAAE,QAAQ;IACdE,eAAe,EAAEC,YAAY,CAACG,QAAAA;GAC/B,CAAA;AACH,EAAC;AAEYC,MAAAA,2BAA2B,GAAGA,MAAM;EAC/C,OAAO;AACLP,IAAAA,IAAI,EAAE,cAAc;IACpBE,eAAe,EAAEC,YAAY,CAACK,cAAAA;GAC/B,CAAA;AACH,EAAC;AAEYC,MAAAA,gDAAgD,GAAGA,MAAM;EACpE,OAAO;AACLT,IAAAA,IAAI,EAAE,cAAc;IACpBE,eAAe,EAAEC,YAAY,CAACO,mCAAAA;GAC/B,CAAA;AACH,EAAC;AAEYC,MAAAA,6BAA6B,GAAGA,MAAM;EACjD,OAAO;AACLX,IAAAA,IAAI,EAAE,cAAc;IACpBE,eAAe,EAAEC,YAAY,CAACS,gBAAAA;GAC/B,CAAA;AACH,EAAC;AAEYC,MAAAA,kDAAkD,GAAGA,MAAM;EACtE,OAAO;AACLb,IAAAA,IAAI,EAAE,cAAc;IACpBE,eAAe,EAAEC,YAAY,CAACW,qCAAAA;GAC/B,CAAA;AACH,EAAC;AAEM,MAAMC,iBAAiD,GAAG;EAC/DX,QAAQ,EAAEH,qBAAqB,EAAE;EACjCK,QAAQ,EAAED,qBAAqB,EAAE;EACjCG,cAAc,EAAED,2BAA2B,EAAE;EAC7CG,mCAAmC,EAAED,gDAAgD,EAAE;EACvFG,gBAAgB,EAAED,6BAA6B,EAAE;EACjDG,qCAAqC,EAAED,kDAAkD,EAAC;AAC5F;;;;"}
package/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "test": "yarn test:unit && yarn test:storybook"
31
31
  },
32
32
  "types": "types.d.ts",
33
- "version": "11.7.0-muiv5",
33
+ "version": "11.7.0",
34
34
  "dependencies": {
35
35
  "@emotion/react": "^11.11.0",
36
36
  "@emotion/styled": "^11.11.0",
@@ -50,7 +50,7 @@
50
50
  "@babel/preset-env": "^7.17.10",
51
51
  "@babel/preset-react": "^7.17.12",
52
52
  "@babel/preset-typescript": "^7.16.7",
53
- "@mui/x-data-grid-pro": "^5.17.17",
53
+ "@mui/x-data-grid-pro": "^6.18.0",
54
54
  "@mui/x-license-pro": "^6.6.0",
55
55
  "@rollup/plugin-babel": "^6.0.2",
56
56
  "@rollup/plugin-commonjs": "^24.0.0",
@@ -85,12 +85,12 @@
85
85
  "ts-jest": "^28.0.3"
86
86
  },
87
87
  "peerDependencies": {
88
- "@mui/x-data-grid-pro": ">=5.10.0",
88
+ "@mui/x-data-grid-pro": ">=6",
89
89
  "@redsift/design-system": "^11.7.0-0",
90
90
  "@redsift/icons": "^11.7.0-0",
91
91
  "react": ">=17",
92
92
  "react-dom": ">=17",
93
93
  "styled-components": "^5.3.5"
94
94
  },
95
- "gitHead": "e856e8e96da93e98c9fe870a76a502616d8fe65c"
95
+ "gitHead": "df42b62ddbb8844ad4eeeb151549e746f829fde4"
96
96
  }