@mui/x-data-grid 9.4.0 → 9.6.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/CHANGELOG.md +251 -0
- package/DataGrid/DataGrid.js +74 -13
- package/DataGrid/DataGrid.mjs +74 -13
- package/colDef/gridColumnTypesRegistry.d.mts +8 -0
- package/colDef/gridColumnTypesRegistry.d.ts +8 -0
- package/colDef/gridColumnTypesRegistry.js +44 -0
- package/colDef/gridColumnTypesRegistry.mjs +34 -0
- package/colDef/gridDefaultColumnTypes.d.mts +1 -1
- package/colDef/gridDefaultColumnTypes.d.ts +1 -1
- package/colDef/gridDefaultColumnTypes.js +11 -23
- package/colDef/gridDefaultColumnTypes.mjs +4 -22
- package/components/GridColumnHeaders.js +1 -1
- package/components/GridColumnHeaders.mjs +1 -1
- package/components/GridColumnUnsortedIcon.js +1 -1
- package/components/GridColumnUnsortedIcon.mjs +1 -1
- package/components/GridFooter.js +1 -1
- package/components/GridFooter.mjs +1 -1
- package/components/GridLoadingOverlay.js +1 -1
- package/components/GridLoadingOverlay.mjs +1 -1
- package/components/GridNoColumnsOverlay.js +1 -1
- package/components/GridNoColumnsOverlay.mjs +1 -1
- package/components/GridNoRowsOverlay.js +1 -1
- package/components/GridNoRowsOverlay.mjs +1 -1
- package/components/GridRow.js +1 -1
- package/components/GridRow.mjs +1 -1
- package/components/GridRowCount.js +1 -1
- package/components/GridRowCount.mjs +1 -1
- package/components/GridRowDragAndDropOverlay.d.mts +1 -1
- package/components/GridRowDragAndDropOverlay.d.ts +1 -1
- package/components/GridSelectedRowCount.js +1 -1
- package/components/GridSelectedRowCount.mjs +1 -1
- package/components/GridShadowScrollArea.js +1 -1
- package/components/GridShadowScrollArea.mjs +1 -1
- package/components/cell/GridActionsCell.js +84 -4
- package/components/cell/GridActionsCell.mjs +84 -4
- package/components/cell/GridActionsCellItem.js +75 -1
- package/components/cell/GridActionsCellItem.mjs +74 -0
- package/components/cell/GridBooleanCell.js +1 -1
- package/components/cell/GridBooleanCell.mjs +1 -1
- package/components/cell/GridCell.js +1 -1
- package/components/cell/GridCell.mjs +1 -1
- package/components/cell/GridEditBooleanCell.js +1 -1
- package/components/cell/GridEditBooleanCell.mjs +1 -1
- package/components/cell/GridEditDateCell.js +1 -1
- package/components/cell/GridEditDateCell.mjs +1 -1
- package/components/cell/GridEditInputCell.js +68 -0
- package/components/cell/GridEditInputCell.mjs +68 -0
- package/components/cell/GridEditLongTextCell.d.mts +3 -0
- package/components/cell/GridEditLongTextCell.d.ts +3 -0
- package/components/cell/GridEditLongTextCell.js +141 -0
- package/components/cell/GridEditLongTextCell.mjs +141 -0
- package/components/cell/GridEditSingleSelectCell.js +1 -1
- package/components/cell/GridEditSingleSelectCell.mjs +1 -1
- package/components/cell/GridLongTextCell.d.mts +3 -0
- package/components/cell/GridLongTextCell.d.ts +3 -0
- package/components/cell/GridLongTextCell.js +68 -0
- package/components/cell/GridLongTextCell.mjs +68 -0
- package/components/cell/GridSkeletonCell.js +3 -2
- package/components/cell/GridSkeletonCell.mjs +3 -2
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.js +2 -2
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.mjs +2 -2
- package/components/columnHeaders/GridColumnHeaderItem.js +1 -1
- package/components/columnHeaders/GridColumnHeaderItem.mjs +1 -1
- package/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
- package/components/columnHeaders/GridColumnHeaderSeparator.mjs +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.js +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.mjs +1 -1
- package/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
- package/components/columnHeaders/GridColumnHeaderTitle.mjs +1 -1
- package/components/columnSelection/GridCellCheckboxRenderer.js +1 -1
- package/components/columnSelection/GridCellCheckboxRenderer.mjs +1 -1
- package/components/columnSelection/GridHeaderCheckbox.js +1 -1
- package/components/columnSelection/GridHeaderCheckbox.mjs +1 -1
- package/components/columnSelection/GridRowCheckbox.js +1 -1
- package/components/columnSelection/GridRowCheckbox.mjs +1 -1
- package/components/columnsManagement/GridColumnsManagement.js +1 -1
- package/components/columnsManagement/GridColumnsManagement.mjs +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.js +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.mjs +1 -1
- package/components/containers/GridFooterContainer.js +1 -1
- package/components/containers/GridFooterContainer.mjs +1 -1
- package/components/containers/GridOverlay.js +1 -1
- package/components/containers/GridOverlay.mjs +1 -1
- package/components/containers/GridRoot.js +1 -1
- package/components/containers/GridRoot.mjs +1 -1
- package/components/containers/GridRootStyles.js +32 -2
- package/components/containers/GridRootStyles.mjs +32 -2
- package/components/containers/GridToolbarContainer.js +1 -1
- package/components/containers/GridToolbarContainer.mjs +1 -1
- package/components/export/ExportCsv.js +1 -1
- package/components/export/ExportCsv.mjs +1 -1
- package/components/export/ExportPrint.js +1 -1
- package/components/export/ExportPrint.mjs +1 -1
- package/components/filterPanel/FilterPanelTrigger.js +1 -1
- package/components/filterPanel/FilterPanelTrigger.mjs +1 -1
- package/components/menu/GridMenu.js +1 -1
- package/components/menu/GridMenu.mjs +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.mjs +1 -1
- package/components/menu/columnMenu/GridColumnMenu.js +2 -2
- package/components/menu/columnMenu/GridColumnMenu.mjs +2 -2
- package/components/menu/columnMenu/GridColumnMenuContainer.js +1 -1
- package/components/menu/columnMenu/GridColumnMenuContainer.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.mjs +1 -1
- package/components/panel/GridPanel.js +1 -1
- package/components/panel/GridPanel.mjs +1 -1
- package/components/panel/GridPanelContent.js +1 -1
- package/components/panel/GridPanelContent.mjs +1 -1
- package/components/panel/GridPanelFooter.js +1 -1
- package/components/panel/GridPanelFooter.mjs +1 -1
- package/components/panel/GridPanelHeader.js +1 -1
- package/components/panel/GridPanelHeader.mjs +1 -1
- package/components/panel/filterPanel/GridFilterForm.js +1 -1
- package/components/panel/filterPanel/GridFilterForm.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
- package/components/panel/filterPanel/GridFilterInputBoolean.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputDate.js +1 -1
- package/components/panel/filterPanel/GridFilterInputDate.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleValue.js +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleValue.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputSingleSelect.js +3 -5
- package/components/panel/filterPanel/GridFilterInputSingleSelect.mjs +3 -5
- package/components/panel/filterPanel/GridFilterInputValue.js +1 -1
- package/components/panel/filterPanel/GridFilterInputValue.mjs +1 -1
- package/components/panel/filterPanel/GridFilterPanel.js +1 -1
- package/components/panel/filterPanel/GridFilterPanel.mjs +1 -1
- package/components/panel/filterPanel/filterPanelUtils.d.mts +3 -2
- package/components/panel/filterPanel/filterPanelUtils.d.ts +3 -2
- package/components/panel/filterPanel/filterPanelUtils.js +4 -0
- package/components/panel/filterPanel/filterPanelUtils.mjs +3 -0
- package/components/quickFilter/QuickFilter.js +1 -1
- package/components/quickFilter/QuickFilter.mjs +1 -1
- package/components/quickFilter/QuickFilterClear.js +1 -1
- package/components/quickFilter/QuickFilterClear.mjs +1 -1
- package/components/quickFilter/QuickFilterControl.js +1 -1
- package/components/quickFilter/QuickFilterControl.mjs +1 -1
- package/components/quickFilter/QuickFilterTrigger.js +1 -1
- package/components/quickFilter/QuickFilterTrigger.mjs +1 -1
- package/components/toolbar/GridToolbar.js +1 -1
- package/components/toolbar/GridToolbar.mjs +1 -1
- package/components/toolbar/GridToolbarColumnsButton.js +1 -1
- package/components/toolbar/GridToolbarColumnsButton.mjs +1 -1
- package/components/toolbar/GridToolbarDensitySelector.js +1 -1
- package/components/toolbar/GridToolbarDensitySelector.mjs +1 -1
- package/components/toolbar/GridToolbarExport.js +3 -3
- package/components/toolbar/GridToolbarExport.mjs +3 -3
- package/components/toolbar/GridToolbarExportContainer.js +1 -1
- package/components/toolbar/GridToolbarExportContainer.mjs +1 -1
- package/components/toolbar/GridToolbarFilterButton.js +1 -1
- package/components/toolbar/GridToolbarFilterButton.mjs +1 -1
- package/components/toolbar/GridToolbarQuickFilter.js +1 -1
- package/components/toolbar/GridToolbarQuickFilter.mjs +1 -1
- package/components/toolbarV8/GridToolbar.js +8 -3
- package/components/toolbarV8/GridToolbar.mjs +8 -3
- package/components/toolbarV8/Toolbar.js +1 -1
- package/components/toolbarV8/Toolbar.mjs +1 -1
- package/components/toolbarV8/ToolbarButton.js +1 -1
- package/components/toolbarV8/ToolbarButton.mjs +1 -1
- package/components/virtualization/GridVirtualScrollbar.js +8 -1
- package/components/virtualization/GridVirtualScrollbar.mjs +8 -1
- package/components/virtualization/GridVirtualScroller.js +12 -0
- package/components/virtualization/GridVirtualScroller.mjs +12 -0
- package/constants/cssVariables.d.mts +3 -0
- package/constants/cssVariables.d.ts +3 -0
- package/constants/cssVariables.js +2 -1
- package/constants/cssVariables.mjs +2 -1
- package/constants/gridClasses.d.mts +48 -0
- package/constants/gridClasses.d.ts +48 -0
- package/constants/gridClasses.js +1 -1
- package/constants/gridClasses.mjs +1 -1
- package/hooks/core/useGridProps.js +5 -3
- package/hooks/core/useGridProps.mjs +5 -3
- package/hooks/features/columns/gridColumnsUtils.js +18 -10
- package/hooks/features/columns/gridColumnsUtils.mjs +19 -11
- package/hooks/features/columns/useGridColumns.js +11 -0
- package/hooks/features/columns/useGridColumns.mjs +11 -0
- package/hooks/features/dataSource/useGridDataSourceBase.js +2 -2
- package/hooks/features/dataSource/useGridDataSourceBase.mjs +2 -2
- package/hooks/features/editing/useGridCellEditing.js +1 -1
- package/hooks/features/editing/useGridCellEditing.mjs +1 -1
- package/hooks/features/editing/useGridRowEditing.js +1 -1
- package/hooks/features/editing/useGridRowEditing.mjs +1 -1
- package/hooks/features/export/serializers/csvSerializer.js +3 -1
- package/hooks/features/export/serializers/csvSerializer.mjs +3 -1
- package/hooks/features/filter/gridFilterUtils.js +5 -3
- package/hooks/features/filter/gridFilterUtils.mjs +5 -3
- package/hooks/features/listView/useGridListView.js +1 -1
- package/hooks/features/listView/useGridListView.mjs +1 -1
- package/hooks/features/sorting/gridSortingUtils.js +3 -1
- package/hooks/features/sorting/gridSortingUtils.mjs +3 -1
- package/hooks/utils/useGridSelector.js +27 -24
- package/hooks/utils/useGridSelector.mjs +26 -24
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/index.d.mts +9 -4
- package/internals/index.d.ts +9 -4
- package/internals/index.js +62 -2
- package/internals/index.mjs +8 -4
- package/internals/utils/propValidation.js +3 -0
- package/internals/utils/propValidation.mjs +3 -0
- package/material/augmentation.d.mts +4 -0
- package/material/augmentation.d.ts +4 -0
- package/material/index.js +42 -26
- package/material/index.mjs +42 -26
- package/material/variables.js +2 -1
- package/material/variables.mjs +2 -1
- package/models/colDef/gridColDef.d.mts +35 -3
- package/models/colDef/gridColDef.d.ts +35 -3
- package/models/colDef/gridColType.d.mts +1 -0
- package/models/colDef/gridColType.d.ts +1 -0
- package/models/colDef/gridColumnTypesRecord.d.mts +1 -1
- package/models/colDef/gridColumnTypesRecord.d.ts +1 -1
- package/models/colDef/index.d.mts +1 -1
- package/models/colDef/index.d.ts +1 -1
- package/models/gridBaseSlots.d.mts +46 -0
- package/models/gridBaseSlots.d.ts +46 -0
- package/models/gridSlotsComponent.d.mts +5 -0
- package/models/gridSlotsComponent.d.ts +5 -0
- package/models/gridSlotsComponentsProps.d.mts +3 -1
- package/models/gridSlotsComponentsProps.d.ts +3 -1
- package/models/gridStateCommunity.d.mts +1 -1
- package/models/gridStateCommunity.d.ts +1 -1
- package/package.json +7 -4
|
@@ -125,11 +125,12 @@ export const GridRootStyles = styled('div', {
|
|
|
125
125
|
minHeight: 0,
|
|
126
126
|
flexDirection: 'column',
|
|
127
127
|
overflow: 'hidden',
|
|
128
|
-
overflowAnchor: 'none',
|
|
129
|
-
// Keep the same scrolling position
|
|
130
128
|
transform: 'translate(0, 0)',
|
|
131
129
|
// Create a stacking context to keep scrollbars from showing on top
|
|
132
130
|
|
|
131
|
+
[`& .${c.virtualScroller}`]: {
|
|
132
|
+
overflowAnchor: 'none' // Keep the same scrolling position
|
|
133
|
+
},
|
|
133
134
|
// Use `css` tagged template so the ignore-comment remains a sibling of the
|
|
134
135
|
// `:first-child` rule in the stylis AST. Previously, the comment was embedded
|
|
135
136
|
// in the object-key selector, which got separated from the rule during
|
|
@@ -169,6 +170,16 @@ export const GridRootStyles = styled('div', {
|
|
|
169
170
|
[`& .${c['columnHeader--filter']}`]: {
|
|
170
171
|
flex: 'none !important',
|
|
171
172
|
width: 'unset !important'
|
|
173
|
+
},
|
|
174
|
+
[`& .${c.multiSelectCell}`]: {
|
|
175
|
+
width: 'max-content',
|
|
176
|
+
overflow: 'visible'
|
|
177
|
+
},
|
|
178
|
+
[`& .${c['multiSelectCellChip--hidden']}`]: {
|
|
179
|
+
display: 'inline-flex'
|
|
180
|
+
},
|
|
181
|
+
[`& .${c.multiSelectCellOverflow}`]: {
|
|
182
|
+
display: 'none'
|
|
172
183
|
}
|
|
173
184
|
},
|
|
174
185
|
[`&.${c.withSidePanel}`]: {
|
|
@@ -517,6 +528,25 @@ export const GridRootStyles = styled('div', {
|
|
|
517
528
|
whiteSpace: 'initial',
|
|
518
529
|
lineHeight: 'inherit'
|
|
519
530
|
},
|
|
531
|
+
[`& .${c['row--dynamicHeight']}`]: {
|
|
532
|
+
[`& .${c.multiSelectCell}, .${c.editMultiSelectCell}`]: {
|
|
533
|
+
flexWrap: 'wrap'
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
[`& .${c.cell}[aria-rowspan]:not([aria-rowspan="1"])`]: {
|
|
537
|
+
[`& .${c.multiSelectCell}`]: {
|
|
538
|
+
alignItems: 'flex-start',
|
|
539
|
+
alignContent: 'flex-start',
|
|
540
|
+
flexWrap: 'wrap',
|
|
541
|
+
paddingTop: 8
|
|
542
|
+
},
|
|
543
|
+
[`& .${c['multiSelectCellChip--hidden']}`]: {
|
|
544
|
+
display: 'inline-flex'
|
|
545
|
+
},
|
|
546
|
+
[`& .${c.multiSelectCellOverflow}`]: {
|
|
547
|
+
display: 'none'
|
|
548
|
+
}
|
|
549
|
+
},
|
|
520
550
|
[`& .${c.cellEmpty}`]: {
|
|
521
551
|
flex: 1,
|
|
522
552
|
padding: 0,
|
|
@@ -66,7 +66,7 @@ const GridToolbarContainer = exports.GridToolbarContainer = (0, _forwardRef.forw
|
|
|
66
66
|
}));
|
|
67
67
|
});
|
|
68
68
|
if (process.env.NODE_ENV !== "production") GridToolbarContainer.displayName = "GridToolbarContainer";
|
|
69
|
-
process.env.NODE_ENV !== "production" ? GridToolbarContainer.propTypes = {
|
|
69
|
+
process.env.NODE_ENV !== "production" ? GridToolbarContainer.propTypes /* remove-proptypes */ = {
|
|
70
70
|
// ----------------------------- Warning --------------------------------
|
|
71
71
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
72
72
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -59,7 +59,7 @@ const GridToolbarContainer = forwardRef(function GridToolbarContainer(props, ref
|
|
|
59
59
|
}));
|
|
60
60
|
});
|
|
61
61
|
if (process.env.NODE_ENV !== "production") GridToolbarContainer.displayName = "GridToolbarContainer";
|
|
62
|
-
process.env.NODE_ENV !== "production" ? GridToolbarContainer.propTypes = {
|
|
62
|
+
process.env.NODE_ENV !== "production" ? GridToolbarContainer.propTypes /* remove-proptypes */ = {
|
|
63
63
|
// ----------------------------- Warning --------------------------------
|
|
64
64
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
65
65
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -51,7 +51,7 @@ const ExportCsv = exports.ExportCsv = (0, _forwardRef.forwardRef)(function Expor
|
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
53
|
if (process.env.NODE_ENV !== "production") ExportCsv.displayName = "ExportCsv";
|
|
54
|
-
process.env.NODE_ENV !== "production" ? ExportCsv.propTypes = {
|
|
54
|
+
process.env.NODE_ENV !== "production" ? ExportCsv.propTypes /* remove-proptypes */ = {
|
|
55
55
|
// ----------------------------- Warning --------------------------------
|
|
56
56
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
57
57
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -43,7 +43,7 @@ const ExportCsv = forwardRef(function ExportCsv(props, ref) {
|
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
45
|
if (process.env.NODE_ENV !== "production") ExportCsv.displayName = "ExportCsv";
|
|
46
|
-
process.env.NODE_ENV !== "production" ? ExportCsv.propTypes = {
|
|
46
|
+
process.env.NODE_ENV !== "production" ? ExportCsv.propTypes /* remove-proptypes */ = {
|
|
47
47
|
// ----------------------------- Warning --------------------------------
|
|
48
48
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
49
49
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -51,7 +51,7 @@ const ExportPrint = exports.ExportPrint = (0, _forwardRef.forwardRef)(function E
|
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
53
|
if (process.env.NODE_ENV !== "production") ExportPrint.displayName = "ExportPrint";
|
|
54
|
-
process.env.NODE_ENV !== "production" ? ExportPrint.propTypes = {
|
|
54
|
+
process.env.NODE_ENV !== "production" ? ExportPrint.propTypes /* remove-proptypes */ = {
|
|
55
55
|
// ----------------------------- Warning --------------------------------
|
|
56
56
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
57
57
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -43,7 +43,7 @@ const ExportPrint = forwardRef(function ExportPrint(props, ref) {
|
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
45
|
if (process.env.NODE_ENV !== "production") ExportPrint.displayName = "ExportPrint";
|
|
46
|
-
process.env.NODE_ENV !== "production" ? ExportPrint.propTypes = {
|
|
46
|
+
process.env.NODE_ENV !== "production" ? ExportPrint.propTypes /* remove-proptypes */ = {
|
|
47
47
|
// ----------------------------- Warning --------------------------------
|
|
48
48
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
49
49
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -87,7 +87,7 @@ const FilterPanelTrigger = exports.FilterPanelTrigger = (0, _forwardRef.forwardR
|
|
|
87
87
|
});
|
|
88
88
|
});
|
|
89
89
|
if (process.env.NODE_ENV !== "production") FilterPanelTrigger.displayName = "FilterPanelTrigger";
|
|
90
|
-
process.env.NODE_ENV !== "production" ? FilterPanelTrigger.propTypes = {
|
|
90
|
+
process.env.NODE_ENV !== "production" ? FilterPanelTrigger.propTypes /* remove-proptypes */ = {
|
|
91
91
|
// ----------------------------- Warning --------------------------------
|
|
92
92
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
93
93
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -79,7 +79,7 @@ const FilterPanelTrigger = forwardRef(function FilterPanelTrigger(props, ref) {
|
|
|
79
79
|
});
|
|
80
80
|
});
|
|
81
81
|
if (process.env.NODE_ENV !== "production") FilterPanelTrigger.displayName = "FilterPanelTrigger";
|
|
82
|
-
process.env.NODE_ENV !== "production" ? FilterPanelTrigger.propTypes = {
|
|
82
|
+
process.env.NODE_ENV !== "production" ? FilterPanelTrigger.propTypes /* remove-proptypes */ = {
|
|
83
83
|
// ----------------------------- Warning --------------------------------
|
|
84
84
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
85
85
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -101,7 +101,7 @@ function GridMenu(props) {
|
|
|
101
101
|
children: children
|
|
102
102
|
}));
|
|
103
103
|
}
|
|
104
|
-
process.env.NODE_ENV !== "production" ? GridMenu.propTypes = {
|
|
104
|
+
process.env.NODE_ENV !== "production" ? GridMenu.propTypes /* remove-proptypes */ = {
|
|
105
105
|
// ----------------------------- Warning --------------------------------
|
|
106
106
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
107
107
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -94,7 +94,7 @@ function GridMenu(props) {
|
|
|
94
94
|
children: children
|
|
95
95
|
}));
|
|
96
96
|
}
|
|
97
|
-
process.env.NODE_ENV !== "production" ? GridMenu.propTypes = {
|
|
97
|
+
process.env.NODE_ENV !== "production" ? GridMenu.propTypes /* remove-proptypes */ = {
|
|
98
98
|
// ----------------------------- Warning --------------------------------
|
|
99
99
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
100
100
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -54,7 +54,7 @@ function GridColumnHeaderMenu({
|
|
|
54
54
|
}, contentComponentProps))
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
process.env.NODE_ENV !== "production" ? GridColumnHeaderMenu.propTypes = {
|
|
57
|
+
process.env.NODE_ENV !== "production" ? GridColumnHeaderMenu.propTypes /* remove-proptypes */ = {
|
|
58
58
|
// ----------------------------- Warning --------------------------------
|
|
59
59
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
60
60
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -46,7 +46,7 @@ function GridColumnHeaderMenu({
|
|
|
46
46
|
}, contentComponentProps))
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
process.env.NODE_ENV !== "production" ? GridColumnHeaderMenu.propTypes = {
|
|
49
|
+
process.env.NODE_ENV !== "production" ? GridColumnHeaderMenu.propTypes /* remove-proptypes */ = {
|
|
50
50
|
// ----------------------------- Warning --------------------------------
|
|
51
51
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
52
52
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -53,7 +53,7 @@ const GridGenericColumnMenu = exports.GridGenericColumnMenu = (0, _forwardRef.fo
|
|
|
53
53
|
}));
|
|
54
54
|
});
|
|
55
55
|
if (process.env.NODE_ENV !== "production") GridGenericColumnMenu.displayName = "GridGenericColumnMenu";
|
|
56
|
-
process.env.NODE_ENV !== "production" ? GridGenericColumnMenu.propTypes = {
|
|
56
|
+
process.env.NODE_ENV !== "production" ? GridGenericColumnMenu.propTypes /* remove-proptypes */ = {
|
|
57
57
|
// ----------------------------- Warning --------------------------------
|
|
58
58
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
59
59
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -95,7 +95,7 @@ const GridColumnMenu = exports.GridColumnMenu = (0, _forwardRef.forwardRef)(func
|
|
|
95
95
|
if (process.env.NODE_ENV !== "production") GridColumnMenu.displayName = "GridColumnMenu";
|
|
96
96
|
GridColumnMenu.defaultSlots = GRID_COLUMN_MENU_SLOTS;
|
|
97
97
|
GridColumnMenu.defaultSlotProps = GRID_COLUMN_MENU_SLOT_PROPS;
|
|
98
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenu.propTypes = {
|
|
98
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenu.propTypes /* remove-proptypes */ = {
|
|
99
99
|
// ----------------------------- Warning --------------------------------
|
|
100
100
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
101
101
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -47,7 +47,7 @@ const GridGenericColumnMenu = forwardRef(function GridGenericColumnMenu(props, r
|
|
|
47
47
|
}));
|
|
48
48
|
});
|
|
49
49
|
if (process.env.NODE_ENV !== "production") GridGenericColumnMenu.displayName = "GridGenericColumnMenu";
|
|
50
|
-
process.env.NODE_ENV !== "production" ? GridGenericColumnMenu.propTypes = {
|
|
50
|
+
process.env.NODE_ENV !== "production" ? GridGenericColumnMenu.propTypes /* remove-proptypes */ = {
|
|
51
51
|
// ----------------------------- Warning --------------------------------
|
|
52
52
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
53
53
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -89,7 +89,7 @@ const GridColumnMenu = forwardRef(function GridColumnMenu(props, ref) {
|
|
|
89
89
|
if (process.env.NODE_ENV !== "production") GridColumnMenu.displayName = "GridColumnMenu";
|
|
90
90
|
GridColumnMenu.defaultSlots = GRID_COLUMN_MENU_SLOTS;
|
|
91
91
|
GridColumnMenu.defaultSlotProps = GRID_COLUMN_MENU_SLOT_PROPS;
|
|
92
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenu.propTypes = {
|
|
92
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenu.propTypes /* remove-proptypes */ = {
|
|
93
93
|
// ----------------------------- Warning --------------------------------
|
|
94
94
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
95
95
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -65,7 +65,7 @@ const GridColumnMenuContainer = exports.GridColumnMenuContainer = (0, _forwardRe
|
|
|
65
65
|
}));
|
|
66
66
|
});
|
|
67
67
|
if (process.env.NODE_ENV !== "production") GridColumnMenuContainer.displayName = "GridColumnMenuContainer";
|
|
68
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuContainer.propTypes = {
|
|
68
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuContainer.propTypes /* remove-proptypes */ = {
|
|
69
69
|
// ----------------------------- Warning --------------------------------
|
|
70
70
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
71
71
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -58,7 +58,7 @@ const GridColumnMenuContainer = forwardRef(function GridColumnMenuContainer(prop
|
|
|
58
58
|
}));
|
|
59
59
|
});
|
|
60
60
|
if (process.env.NODE_ENV !== "production") GridColumnMenuContainer.displayName = "GridColumnMenuContainer";
|
|
61
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuContainer.propTypes = {
|
|
61
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuContainer.propTypes /* remove-proptypes */ = {
|
|
62
62
|
// ----------------------------- Warning --------------------------------
|
|
63
63
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
64
64
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -17,7 +17,7 @@ function GridColumnMenuColumnsItem(props) {
|
|
|
17
17
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_GridColumnMenuHideItem.GridColumnMenuHideItem, (0, _extends2.default)({}, props)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridColumnMenuManageItem.GridColumnMenuManageItem, (0, _extends2.default)({}, props))]
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuColumnsItem.propTypes = {
|
|
20
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuColumnsItem.propTypes /* remove-proptypes */ = {
|
|
21
21
|
// ----------------------------- Warning --------------------------------
|
|
22
22
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
23
23
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -9,7 +9,7 @@ function GridColumnMenuColumnsItem(props) {
|
|
|
9
9
|
children: [/*#__PURE__*/_jsx(GridColumnMenuHideItem, _extends({}, props)), /*#__PURE__*/_jsx(GridColumnMenuManageItem, _extends({}, props))]
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuColumnsItem.propTypes = {
|
|
12
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuColumnsItem.propTypes /* remove-proptypes */ = {
|
|
13
13
|
// ----------------------------- Warning --------------------------------
|
|
14
14
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15
15
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -33,7 +33,7 @@ function GridColumnMenuFilterItem(props) {
|
|
|
33
33
|
children: apiRef.current.getLocaleText('columnMenuFilter')
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuFilterItem.propTypes = {
|
|
36
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuFilterItem.propTypes /* remove-proptypes */ = {
|
|
37
37
|
// ----------------------------- Warning --------------------------------
|
|
38
38
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
39
39
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -25,7 +25,7 @@ function GridColumnMenuFilterItem(props) {
|
|
|
25
25
|
children: apiRef.current.getLocaleText('columnMenuFilter')
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuFilterItem.propTypes = {
|
|
28
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuFilterItem.propTypes /* remove-proptypes */ = {
|
|
29
29
|
// ----------------------------- Warning --------------------------------
|
|
30
30
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
31
31
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -50,7 +50,7 @@ function GridColumnMenuHideItem(props) {
|
|
|
50
50
|
children: apiRef.current.getLocaleText('columnMenuHideColumn')
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuHideItem.propTypes = {
|
|
53
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuHideItem.propTypes /* remove-proptypes */ = {
|
|
54
54
|
// ----------------------------- Warning --------------------------------
|
|
55
55
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
56
56
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -42,7 +42,7 @@ function GridColumnMenuHideItem(props) {
|
|
|
42
42
|
children: apiRef.current.getLocaleText('columnMenuHideColumn')
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuHideItem.propTypes = {
|
|
45
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuHideItem.propTypes /* remove-proptypes */ = {
|
|
46
46
|
// ----------------------------- Warning --------------------------------
|
|
47
47
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
48
48
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -33,7 +33,7 @@ function GridColumnMenuManageItem(props) {
|
|
|
33
33
|
children: apiRef.current.getLocaleText('columnMenuManageColumns')
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuManageItem.propTypes = {
|
|
36
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuManageItem.propTypes /* remove-proptypes */ = {
|
|
37
37
|
// ----------------------------- Warning --------------------------------
|
|
38
38
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
39
39
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -25,7 +25,7 @@ function GridColumnMenuManageItem(props) {
|
|
|
25
25
|
children: apiRef.current.getLocaleText('columnMenuManageColumns')
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuManageItem.propTypes = {
|
|
28
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuManageItem.propTypes /* remove-proptypes */ = {
|
|
29
29
|
// ----------------------------- Warning --------------------------------
|
|
30
30
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
31
31
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -66,7 +66,7 @@ function GridColumnMenuSortItem(props) {
|
|
|
66
66
|
}) : null]
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuSortItem.propTypes = {
|
|
69
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuSortItem.propTypes /* remove-proptypes */ = {
|
|
70
70
|
// ----------------------------- Warning --------------------------------
|
|
71
71
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
72
72
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -58,7 +58,7 @@ function GridColumnMenuSortItem(props) {
|
|
|
58
58
|
}) : null]
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
process.env.NODE_ENV !== "production" ? GridColumnMenuSortItem.propTypes = {
|
|
61
|
+
process.env.NODE_ENV !== "production" ? GridColumnMenuSortItem.propTypes /* remove-proptypes */ = {
|
|
62
62
|
// ----------------------------- Warning --------------------------------
|
|
63
63
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
64
64
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -97,7 +97,7 @@ const GridPanel = exports.GridPanel = (0, _forwardRef.forwardRef)((props, ref) =
|
|
|
97
97
|
}));
|
|
98
98
|
});
|
|
99
99
|
if (process.env.NODE_ENV !== "production") GridPanel.displayName = "GridPanel";
|
|
100
|
-
process.env.NODE_ENV !== "production" ? GridPanel.propTypes = {
|
|
100
|
+
process.env.NODE_ENV !== "production" ? GridPanel.propTypes /* remove-proptypes */ = {
|
|
101
101
|
// ----------------------------- Warning --------------------------------
|
|
102
102
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
103
103
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -90,7 +90,7 @@ const GridPanel = forwardRef((props, ref) => {
|
|
|
90
90
|
}));
|
|
91
91
|
});
|
|
92
92
|
if (process.env.NODE_ENV !== "production") GridPanel.displayName = "GridPanel";
|
|
93
|
-
process.env.NODE_ENV !== "production" ? GridPanel.propTypes = {
|
|
93
|
+
process.env.NODE_ENV !== "production" ? GridPanel.propTypes /* remove-proptypes */ = {
|
|
94
94
|
// ----------------------------- Warning --------------------------------
|
|
95
95
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
96
96
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -51,7 +51,7 @@ function GridPanelContent(props) {
|
|
|
51
51
|
ownerState: rootProps
|
|
52
52
|
}, other));
|
|
53
53
|
}
|
|
54
|
-
process.env.NODE_ENV !== "production" ? GridPanelContent.propTypes = {
|
|
54
|
+
process.env.NODE_ENV !== "production" ? GridPanelContent.propTypes /* remove-proptypes */ = {
|
|
55
55
|
// ----------------------------- Warning --------------------------------
|
|
56
56
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
57
57
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -43,7 +43,7 @@ function GridPanelContent(props) {
|
|
|
43
43
|
ownerState: rootProps
|
|
44
44
|
}, other));
|
|
45
45
|
}
|
|
46
|
-
process.env.NODE_ENV !== "production" ? GridPanelContent.propTypes = {
|
|
46
|
+
process.env.NODE_ENV !== "production" ? GridPanelContent.propTypes /* remove-proptypes */ = {
|
|
47
47
|
// ----------------------------- Warning --------------------------------
|
|
48
48
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
49
49
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -48,7 +48,7 @@ function GridPanelFooter(props) {
|
|
|
48
48
|
ownerState: rootProps
|
|
49
49
|
}, other));
|
|
50
50
|
}
|
|
51
|
-
process.env.NODE_ENV !== "production" ? GridPanelFooter.propTypes = {
|
|
51
|
+
process.env.NODE_ENV !== "production" ? GridPanelFooter.propTypes /* remove-proptypes */ = {
|
|
52
52
|
// ----------------------------- Warning --------------------------------
|
|
53
53
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
54
54
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -40,7 +40,7 @@ function GridPanelFooter(props) {
|
|
|
40
40
|
ownerState: rootProps
|
|
41
41
|
}, other));
|
|
42
42
|
}
|
|
43
|
-
process.env.NODE_ENV !== "production" ? GridPanelFooter.propTypes = {
|
|
43
|
+
process.env.NODE_ENV !== "production" ? GridPanelFooter.propTypes /* remove-proptypes */ = {
|
|
44
44
|
// ----------------------------- Warning --------------------------------
|
|
45
45
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
46
46
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -49,7 +49,7 @@ function GridPanelHeader(props) {
|
|
|
49
49
|
ownerState: rootProps
|
|
50
50
|
}, other));
|
|
51
51
|
}
|
|
52
|
-
process.env.NODE_ENV !== "production" ? GridPanelHeader.propTypes = {
|
|
52
|
+
process.env.NODE_ENV !== "production" ? GridPanelHeader.propTypes /* remove-proptypes */ = {
|
|
53
53
|
// ----------------------------- Warning --------------------------------
|
|
54
54
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
55
55
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -41,7 +41,7 @@ function GridPanelHeader(props) {
|
|
|
41
41
|
ownerState: rootProps
|
|
42
42
|
}, other));
|
|
43
43
|
}
|
|
44
|
-
process.env.NODE_ENV !== "production" ? GridPanelHeader.propTypes = {
|
|
44
|
+
process.env.NODE_ENV !== "production" ? GridPanelHeader.propTypes /* remove-proptypes */ = {
|
|
45
45
|
// ----------------------------- Warning --------------------------------
|
|
46
46
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
47
47
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -372,7 +372,7 @@ const GridFilterForm = exports.GridFilterForm = (0, _forwardRef.forwardRef)(func
|
|
|
372
372
|
}));
|
|
373
373
|
});
|
|
374
374
|
if (process.env.NODE_ENV !== "production") GridFilterForm.displayName = "GridFilterForm";
|
|
375
|
-
process.env.NODE_ENV !== "production" ? GridFilterForm.propTypes = {
|
|
375
|
+
process.env.NODE_ENV !== "production" ? GridFilterForm.propTypes /* remove-proptypes */ = {
|
|
376
376
|
// ----------------------------- Warning --------------------------------
|
|
377
377
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
378
378
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -365,7 +365,7 @@ const GridFilterForm = forwardRef(function GridFilterForm(props, ref) {
|
|
|
365
365
|
}));
|
|
366
366
|
});
|
|
367
367
|
if (process.env.NODE_ENV !== "production") GridFilterForm.displayName = "GridFilterForm";
|
|
368
|
-
process.env.NODE_ENV !== "production" ? GridFilterForm.propTypes = {
|
|
368
|
+
process.env.NODE_ENV !== "production" ? GridFilterForm.propTypes /* remove-proptypes */ = {
|
|
369
369
|
// ----------------------------- Warning --------------------------------
|
|
370
370
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
371
371
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -90,7 +90,7 @@ function sanitizeFilterItemValue(value) {
|
|
|
90
90
|
}
|
|
91
91
|
return undefined;
|
|
92
92
|
}
|
|
93
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputBoolean.propTypes = {
|
|
93
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputBoolean.propTypes /* remove-proptypes */ = {
|
|
94
94
|
// ----------------------------- Warning --------------------------------
|
|
95
95
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
96
96
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -82,7 +82,7 @@ export function sanitizeFilterItemValue(value) {
|
|
|
82
82
|
}
|
|
83
83
|
return undefined;
|
|
84
84
|
}
|
|
85
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputBoolean.propTypes = {
|
|
85
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputBoolean.propTypes /* remove-proptypes */ = {
|
|
86
86
|
// ----------------------------- Warning --------------------------------
|
|
87
87
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
88
88
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -100,7 +100,7 @@ function GridFilterInputDate(props) {
|
|
|
100
100
|
}, rootProps.slotProps?.baseTextField, other, slotProps?.root)), headerFilterMenu, clearButton]
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputDate.propTypes = {
|
|
103
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputDate.propTypes /* remove-proptypes */ = {
|
|
104
104
|
// ----------------------------- Warning --------------------------------
|
|
105
105
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
106
106
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -93,7 +93,7 @@ function GridFilterInputDate(props) {
|
|
|
93
93
|
}, rootProps.slotProps?.baseTextField, other, slotProps?.root)), headerFilterMenu, clearButton]
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputDate.propTypes = {
|
|
96
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputDate.propTypes /* remove-proptypes */ = {
|
|
97
97
|
// ----------------------------- Warning --------------------------------
|
|
98
98
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
99
99
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -77,7 +77,7 @@ function GridFilterInputMultipleSingleSelect(props) {
|
|
|
77
77
|
}
|
|
78
78
|
}, other, slotProps?.root));
|
|
79
79
|
}
|
|
80
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputMultipleSingleSelect.propTypes = {
|
|
80
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputMultipleSingleSelect.propTypes /* remove-proptypes */ = {
|
|
81
81
|
// ----------------------------- Warning --------------------------------
|
|
82
82
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
83
83
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -69,7 +69,7 @@ function GridFilterInputMultipleSingleSelect(props) {
|
|
|
69
69
|
}
|
|
70
70
|
}, other, slotProps?.root));
|
|
71
71
|
}
|
|
72
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputMultipleSingleSelect.propTypes = {
|
|
72
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputMultipleSingleSelect.propTypes /* remove-proptypes */ = {
|
|
73
73
|
// ----------------------------- Warning --------------------------------
|
|
74
74
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
75
75
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -66,7 +66,7 @@ function GridFilterInputMultipleValue(props) {
|
|
|
66
66
|
}
|
|
67
67
|
}, other, slotProps?.root));
|
|
68
68
|
}
|
|
69
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputMultipleValue.propTypes = {
|
|
69
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputMultipleValue.propTypes /* remove-proptypes */ = {
|
|
70
70
|
// ----------------------------- Warning --------------------------------
|
|
71
71
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
72
72
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -59,7 +59,7 @@ function GridFilterInputMultipleValue(props) {
|
|
|
59
59
|
}
|
|
60
60
|
}, other, slotProps?.root));
|
|
61
61
|
}
|
|
62
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputMultipleValue.propTypes = {
|
|
62
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputMultipleValue.propTypes /* remove-proptypes */ = {
|
|
63
63
|
// ----------------------------- Warning --------------------------------
|
|
64
64
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
65
65
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -64,10 +64,8 @@ function GridFilterInputSingleSelect(props) {
|
|
|
64
64
|
return (0, _filterPanelUtils.getValueOptions)(resolvedColumn);
|
|
65
65
|
}, [resolvedColumn]);
|
|
66
66
|
const onFilterChange = React.useCallback(event => {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
// NativeSelect casts the value to a string.
|
|
70
|
-
value = (0, _filterPanelUtils.getValueFromValueOptions)(value, currentValueOptions, getOptionValue);
|
|
67
|
+
// NativeSelect casts the value to a string, convert it back to the original type.
|
|
68
|
+
const value = (0, _filterPanelUtils.getValueFromValueOptions)(event.target.value, currentValueOptions, getOptionValue);
|
|
71
69
|
applyValue((0, _extends2.default)({}, item, {
|
|
72
70
|
value
|
|
73
71
|
}));
|
|
@@ -105,7 +103,7 @@ function GridFilterInputSingleSelect(props) {
|
|
|
105
103
|
})), headerFilterMenu, clearButton]
|
|
106
104
|
});
|
|
107
105
|
}
|
|
108
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputSingleSelect.propTypes = {
|
|
106
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputSingleSelect.propTypes /* remove-proptypes */ = {
|
|
109
107
|
// ----------------------------- Warning --------------------------------
|
|
110
108
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
111
109
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -56,10 +56,8 @@ function GridFilterInputSingleSelect(props) {
|
|
|
56
56
|
return getValueOptions(resolvedColumn);
|
|
57
57
|
}, [resolvedColumn]);
|
|
58
58
|
const onFilterChange = React.useCallback(event => {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
// NativeSelect casts the value to a string.
|
|
62
|
-
value = getValueFromValueOptions(value, currentValueOptions, getOptionValue);
|
|
59
|
+
// NativeSelect casts the value to a string, convert it back to the original type.
|
|
60
|
+
const value = getValueFromValueOptions(event.target.value, currentValueOptions, getOptionValue);
|
|
63
61
|
applyValue(_extends({}, item, {
|
|
64
62
|
value
|
|
65
63
|
}));
|
|
@@ -97,7 +95,7 @@ function GridFilterInputSingleSelect(props) {
|
|
|
97
95
|
})), headerFilterMenu, clearButton]
|
|
98
96
|
});
|
|
99
97
|
}
|
|
100
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputSingleSelect.propTypes = {
|
|
98
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputSingleSelect.propTypes /* remove-proptypes */ = {
|
|
101
99
|
// ----------------------------- Warning --------------------------------
|
|
102
100
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
103
101
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -86,7 +86,7 @@ function sanitizeFilterItemValue(value) {
|
|
|
86
86
|
}
|
|
87
87
|
return String(value);
|
|
88
88
|
}
|
|
89
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputValue.propTypes = {
|
|
89
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputValue.propTypes /* remove-proptypes */ = {
|
|
90
90
|
// ----------------------------- Warning --------------------------------
|
|
91
91
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
92
92
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -79,7 +79,7 @@ function sanitizeFilterItemValue(value) {
|
|
|
79
79
|
}
|
|
80
80
|
return String(value);
|
|
81
81
|
}
|
|
82
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputValue.propTypes = {
|
|
82
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputValue.propTypes /* remove-proptypes */ = {
|
|
83
83
|
// ----------------------------- Warning --------------------------------
|
|
84
84
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
85
85
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -195,7 +195,7 @@ const GridFilterPanel = exports.GridFilterPanel = (0, _forwardRef.forwardRef)(fu
|
|
|
195
195
|
}));
|
|
196
196
|
});
|
|
197
197
|
if (process.env.NODE_ENV !== "production") GridFilterPanel.displayName = "GridFilterPanel";
|
|
198
|
-
process.env.NODE_ENV !== "production" ? GridFilterPanel.propTypes = {
|
|
198
|
+
process.env.NODE_ENV !== "production" ? GridFilterPanel.propTypes /* remove-proptypes */ = {
|
|
199
199
|
// ----------------------------- Warning --------------------------------
|
|
200
200
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
201
201
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|