@mui/x-data-grid 8.0.0-beta.3 → 8.1.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 +388 -96
- package/DataGrid/DataGrid.js +5 -2
- package/DataGrid/index.d.ts +1 -0
- package/DataGrid/index.js +1 -0
- package/DataGrid/useDataGridComponent.d.ts +2 -2
- package/DataGrid/useDataGridComponent.js +2 -3
- package/components/GridColumnSortButton.d.ts +16 -0
- package/components/GridColumnSortButton.js +109 -0
- package/components/GridColumnUnsortedIcon.d.ts +8 -0
- package/{material/icons → components}/GridColumnUnsortedIcon.js +1 -1
- package/components/GridRowCount.js +1 -2
- package/components/GridSelectedRowCount.js +1 -2
- package/components/GridShadowScrollArea.d.ts +2 -1
- package/components/GridShadowScrollArea.js +14 -3
- package/components/GridSkeletonLoadingOverlay.js +1 -2
- package/components/base/GridOverlays.js +3 -5
- package/components/cell/GridActionsCellItem.d.ts +2 -2
- package/components/cell/GridActionsCellItem.js +1 -1
- package/components/cell/GridCell.js +7 -0
- package/components/columnHeaders/GridBaseColumnHeaders.js +1 -2
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +3 -9
- package/components/columnHeaders/GridColumnHeaderSortIcon.js +18 -66
- package/components/columnHeaders/GridColumnHeaderTitle.js +1 -2
- package/components/columnHeaders/GridIconButtonContainer.js +1 -2
- package/components/columnsManagement/GridColumnsManagement.js +11 -7
- package/components/columnsPanel/ColumnsPanelTrigger.js +4 -4
- package/components/containers/GridFooterContainer.js +1 -2
- package/components/containers/GridOverlay.js +2 -0
- package/components/containers/GridRoot.d.ts +1 -0
- package/components/containers/GridRoot.js +12 -6
- package/components/containers/GridRootStyles.js +41 -16
- package/components/containers/GridToolbarContainer.d.ts +3 -0
- package/components/containers/GridToolbarContainer.js +4 -0
- package/components/filterPanel/FilterPanelTrigger.js +2 -2
- package/components/index.d.ts +1 -0
- package/components/index.js +12 -0
- package/components/panel/GridPanel.d.ts +1 -0
- package/components/panel/GridPanel.js +8 -7
- package/components/panel/GridPanelContext.d.ts +13 -0
- package/components/panel/{GridPreferencePanelContext.js → GridPanelContext.js} +11 -9
- package/components/panel/GridPanelFooter.js +1 -2
- package/components/panel/GridPanelHeader.js +1 -2
- package/components/panel/GridPreferencesPanel.js +19 -4
- package/components/panel/filterPanel/GridFilterForm.js +16 -13
- package/components/quickFilter/QuickFilterControl.js +2 -0
- package/components/toolbar/GridToolbar.d.ts +3 -0
- package/components/toolbar/GridToolbar.js +3 -0
- package/components/toolbar/GridToolbarColumnsButton.d.ts +3 -0
- package/components/toolbar/GridToolbarColumnsButton.js +5 -2
- package/components/toolbar/GridToolbarDensitySelector.d.ts +3 -0
- package/components/toolbar/GridToolbarDensitySelector.js +3 -0
- package/components/toolbar/GridToolbarExport.d.ts +3 -0
- package/components/toolbar/GridToolbarExport.js +4 -0
- package/components/toolbar/GridToolbarFilterButton.d.ts +3 -0
- package/components/toolbar/GridToolbarFilterButton.js +6 -4
- package/components/toolbar/GridToolbarQuickFilter.d.ts +3 -0
- package/components/toolbar/GridToolbarQuickFilter.js +4 -0
- package/components/toolbarV8/GridToolbar.d.ts +1 -0
- package/components/toolbarV8/GridToolbar.js +4 -1
- package/components/toolbarV8/Toolbar.d.ts +1 -5
- package/components/toolbarV8/Toolbar.js +1 -2
- package/components/virtualization/GridVirtualScrollerRenderZone.js +1 -2
- package/constants/cssVariables.d.ts +3 -0
- package/constants/cssVariables.js +2 -1
- package/constants/gridClasses.d.ts +215 -21
- package/constants/gridClasses.js +1 -1
- package/constants/localeTextConstants.js +79 -11
- package/context/GridContextProvider.js +2 -2
- package/esm/DataGrid/DataGrid.js +5 -2
- package/esm/DataGrid/index.d.ts +1 -0
- package/esm/DataGrid/index.js +1 -0
- package/esm/DataGrid/useDataGridComponent.d.ts +2 -2
- package/esm/DataGrid/useDataGridComponent.js +2 -3
- package/esm/components/GridColumnSortButton.d.ts +16 -0
- package/{modern/components/columnHeaders/GridColumnHeaderSortIcon.js → esm/components/GridColumnSortButton.js} +32 -15
- package/esm/components/GridColumnUnsortedIcon.d.ts +8 -0
- package/esm/{material/icons → components}/GridColumnUnsortedIcon.js +1 -1
- package/esm/components/GridRowCount.js +1 -2
- package/esm/components/GridSelectedRowCount.js +1 -2
- package/esm/components/GridShadowScrollArea.d.ts +2 -1
- package/esm/components/GridShadowScrollArea.js +14 -2
- package/esm/components/GridSkeletonLoadingOverlay.js +1 -2
- package/esm/components/base/GridOverlays.js +3 -5
- package/esm/components/cell/GridActionsCellItem.d.ts +2 -2
- package/esm/components/cell/GridActionsCellItem.js +1 -1
- package/esm/components/cell/GridCell.js +7 -0
- package/esm/components/columnHeaders/GridBaseColumnHeaders.js +1 -2
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +3 -9
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.js +18 -66
- package/esm/components/columnHeaders/GridColumnHeaderTitle.js +1 -2
- package/esm/components/columnHeaders/GridIconButtonContainer.js +1 -2
- package/esm/components/columnsManagement/GridColumnsManagement.js +11 -7
- package/esm/components/columnsPanel/ColumnsPanelTrigger.js +4 -4
- package/esm/components/containers/GridFooterContainer.js +1 -2
- package/esm/components/containers/GridOverlay.js +2 -0
- package/esm/components/containers/GridRoot.d.ts +1 -0
- package/esm/components/containers/GridRoot.js +13 -7
- package/esm/components/containers/GridRootStyles.js +41 -16
- package/esm/components/containers/GridToolbarContainer.d.ts +3 -0
- package/esm/components/containers/GridToolbarContainer.js +4 -0
- package/esm/components/filterPanel/FilterPanelTrigger.js +2 -2
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.js +1 -0
- package/esm/components/panel/GridPanel.d.ts +1 -0
- package/esm/components/panel/GridPanel.js +8 -7
- package/esm/components/panel/GridPanelContext.d.ts +13 -0
- package/{modern/components/panel/GridPreferencePanelContext.js → esm/components/panel/GridPanelContext.js} +8 -6
- package/esm/components/panel/GridPanelFooter.js +1 -2
- package/esm/components/panel/GridPanelHeader.js +1 -2
- package/esm/components/panel/GridPreferencesPanel.js +19 -4
- package/esm/components/panel/filterPanel/GridFilterForm.js +16 -13
- package/esm/components/quickFilter/QuickFilterControl.js +2 -0
- package/esm/components/toolbar/GridToolbar.d.ts +3 -0
- package/esm/components/toolbar/GridToolbar.js +3 -0
- package/esm/components/toolbar/GridToolbarColumnsButton.d.ts +3 -0
- package/esm/components/toolbar/GridToolbarColumnsButton.js +5 -2
- package/esm/components/toolbar/GridToolbarDensitySelector.d.ts +3 -0
- package/esm/components/toolbar/GridToolbarDensitySelector.js +3 -0
- package/esm/components/toolbar/GridToolbarExport.d.ts +3 -0
- package/esm/components/toolbar/GridToolbarExport.js +4 -0
- package/esm/components/toolbar/GridToolbarFilterButton.d.ts +3 -0
- package/esm/components/toolbar/GridToolbarFilterButton.js +6 -4
- package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +3 -0
- package/esm/components/toolbar/GridToolbarQuickFilter.js +4 -0
- package/esm/components/toolbarV8/GridToolbar.d.ts +1 -0
- package/esm/components/toolbarV8/GridToolbar.js +4 -1
- package/esm/components/toolbarV8/Toolbar.d.ts +1 -5
- package/esm/components/toolbarV8/Toolbar.js +1 -2
- package/esm/components/virtualization/GridVirtualScrollerRenderZone.js +1 -2
- package/esm/constants/cssVariables.d.ts +3 -0
- package/esm/constants/cssVariables.js +2 -1
- package/esm/constants/gridClasses.d.ts +215 -21
- package/esm/constants/gridClasses.js +1 -1
- package/esm/constants/localeTextConstants.js +79 -11
- package/esm/context/GridContextProvider.js +2 -2
- package/esm/hooks/core/useGridInitialization.d.ts +2 -2
- package/esm/hooks/core/useGridInitialization.js +1 -4
- package/esm/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +1 -1
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -2
- package/esm/hooks/features/columns/gridColumnsUtils.d.ts +1 -0
- package/esm/hooks/features/columns/gridColumnsUtils.js +1 -1
- package/esm/hooks/features/columns/useGridColumns.js +8 -2
- package/esm/hooks/features/dataSource/cache.d.ts +1 -1
- package/esm/hooks/features/dataSource/cache.js +1 -1
- package/esm/hooks/features/dataSource/models.d.ts +15 -2
- package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +3 -8
- package/esm/hooks/features/dataSource/useGridDataSourceBase.js +38 -6
- package/esm/hooks/features/dataSource/utils.d.ts +1 -1
- package/esm/hooks/features/editing/useGridCellEditing.d.ts +1 -1
- package/esm/hooks/features/editing/useGridCellEditing.js +26 -3
- package/esm/hooks/features/editing/useGridEditing.d.ts +1 -1
- package/esm/hooks/features/editing/useGridRowEditing.d.ts +1 -1
- package/esm/hooks/features/editing/useGridRowEditing.js +26 -2
- package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
- package/esm/hooks/features/overlays/useGridOverlays.d.ts +1 -1
- package/esm/hooks/features/overlays/useGridOverlays.js +9 -3
- package/esm/hooks/features/pivoting/gridPivotingInterfaces.d.ts +11 -0
- package/esm/hooks/features/pivoting/gridPivotingSelectors.d.ts +6 -0
- package/esm/hooks/features/pivoting/gridPivotingSelectors.js +8 -0
- package/esm/hooks/features/pivoting/index.d.ts +2 -0
- package/esm/hooks/features/pivoting/index.js +2 -0
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts +1 -0
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +1 -0
- package/esm/hooks/features/rowSelection/useGridRowSelection.js +7 -6
- package/esm/hooks/features/rows/useGridParamsApi.js +1 -1
- package/esm/hooks/features/rows/useGridRows.js +12 -6
- package/esm/hooks/features/virtualization/useGridVirtualScroller.js +5 -5
- package/esm/hooks/utils/useGridSelector.js +1 -4
- package/esm/hooks/utils/useIsSSR.js +1 -4
- package/esm/index.css +5 -0
- package/esm/index.js +1 -1
- package/esm/internals/index.d.ts +11 -4
- package/esm/internals/index.js +8 -3
- package/esm/locales/arSD.js +86 -11
- package/esm/locales/beBY.js +86 -11
- package/esm/locales/bgBG.js +86 -11
- package/esm/locales/bnBD.js +87 -11
- package/esm/locales/csCZ.js +87 -11
- package/esm/locales/daDK.js +86 -11
- package/esm/locales/deDE.js +87 -11
- package/esm/locales/elGR.js +86 -11
- package/esm/locales/esES.js +86 -11
- package/esm/locales/faIR.js +86 -11
- package/esm/locales/fiFI.js +86 -11
- package/esm/locales/frFR.js +86 -11
- package/esm/locales/heIL.js +86 -11
- package/esm/locales/hrHR.js +99 -29
- package/esm/locales/huHU.js +87 -11
- package/{modern/locales/arSD.d.ts → esm/locales/hyAM.d.ts} +1 -1
- package/esm/locales/hyAM.js +296 -0
- package/esm/locales/index.d.ts +1 -0
- package/esm/locales/index.js +1 -0
- package/esm/locales/isIS.js +86 -11
- package/esm/locales/itIT.js +86 -11
- package/esm/locales/jaJP.js +86 -11
- package/esm/locales/koKR.js +86 -11
- package/esm/locales/nbNO.js +86 -11
- package/esm/locales/nlNL.js +87 -11
- package/esm/locales/nnNO.js +86 -11
- package/esm/locales/plPL.js +88 -13
- package/esm/locales/ptBR.js +86 -11
- package/esm/locales/ptPT.js +86 -11
- package/esm/locales/roRO.js +86 -11
- package/esm/locales/ruRU.js +87 -11
- package/esm/locales/skSK.js +87 -11
- package/esm/locales/svSE.js +89 -14
- package/esm/locales/trTR.js +86 -11
- package/esm/locales/ukUA.js +87 -11
- package/esm/locales/urPK.js +86 -11
- package/esm/locales/viVN.js +86 -11
- package/esm/locales/zhCN.js +87 -11
- package/esm/locales/zhHK.js +87 -11
- package/esm/locales/zhTW.js +87 -11
- package/esm/material/augmentation.d.ts +7 -0
- package/esm/material/icons/createSvgIcon.d.ts +2 -0
- package/esm/material/icons/createSvgIcon.js +2 -0
- package/esm/material/icons/index.d.ts +29 -84
- package/esm/material/icons/index.js +1 -1
- package/esm/material/index.js +71 -36
- package/esm/material/variables.js +2 -1
- package/esm/models/api/gridApiCommon.d.ts +2 -1
- package/esm/models/api/gridEditingApi.d.ts +1 -1
- package/esm/models/api/gridFocusApi.d.ts +1 -1
- package/esm/models/api/gridLocaleTextApi.d.ts +61 -9
- package/esm/models/api/gridPreferencesPanelApi.d.ts +1 -1
- package/esm/models/api/gridRowApi.d.ts +2 -3
- package/esm/models/colDef/gridColDef.d.ts +1 -1
- package/esm/models/configuration/gridConfiguration.d.ts +5 -0
- package/esm/models/events/gridEventListener.d.ts +1 -1
- package/esm/models/events/gridEventLookup.d.ts +1 -1
- package/esm/models/events/gridEventPublisher.d.ts +1 -1
- package/esm/models/gridBaseSlots.d.ts +18 -2
- package/esm/models/gridIconSlotsComponent.d.ts +37 -41
- package/esm/models/gridSlotsComponent.d.ts +5 -0
- package/esm/models/gridSlotsComponentsProps.d.ts +5 -2
- package/esm/models/index.d.ts +2 -2
- package/esm/models/index.js +0 -1
- package/esm/models/params/gridColumnResizeParams.d.ts +0 -1
- package/esm/package.json +1 -1
- package/hooks/core/useGridInitialization.d.ts +2 -2
- package/hooks/core/useGridInitialization.js +1 -4
- package/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +1 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -2
- package/hooks/features/columns/gridColumnsUtils.d.ts +1 -0
- package/hooks/features/columns/gridColumnsUtils.js +1 -0
- package/hooks/features/columns/useGridColumns.js +8 -2
- package/hooks/features/dataSource/cache.d.ts +1 -1
- package/hooks/features/dataSource/cache.js +1 -1
- package/hooks/features/dataSource/models.d.ts +15 -2
- package/hooks/features/dataSource/useGridDataSourceBase.d.ts +3 -8
- package/hooks/features/dataSource/useGridDataSourceBase.js +37 -5
- package/hooks/features/dataSource/utils.d.ts +1 -1
- package/hooks/features/editing/useGridCellEditing.d.ts +1 -1
- package/hooks/features/editing/useGridCellEditing.js +26 -3
- package/hooks/features/editing/useGridEditing.d.ts +1 -1
- package/hooks/features/editing/useGridRowEditing.d.ts +1 -1
- package/hooks/features/editing/useGridRowEditing.js +26 -2
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
- package/hooks/features/overlays/useGridOverlays.d.ts +1 -1
- package/hooks/features/overlays/useGridOverlays.js +9 -3
- package/hooks/features/pivoting/gridPivotingInterfaces.d.ts +11 -0
- package/hooks/features/pivoting/gridPivotingSelectors.d.ts +6 -0
- package/hooks/features/pivoting/gridPivotingSelectors.js +14 -0
- package/hooks/features/pivoting/index.d.ts +2 -0
- package/hooks/features/pivoting/index.js +27 -0
- package/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts +1 -0
- package/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +1 -0
- package/hooks/features/rowSelection/useGridRowSelection.js +7 -6
- package/hooks/features/rows/useGridParamsApi.js +1 -1
- package/hooks/features/rows/useGridRows.js +12 -6
- package/hooks/features/virtualization/useGridVirtualScroller.js +5 -5
- package/hooks/utils/useGridSelector.js +2 -6
- package/hooks/utils/useIsSSR.js +2 -6
- package/index.css +5 -0
- package/index.js +1 -1
- package/internals/index.d.ts +11 -4
- package/internals/index.js +60 -2
- package/locales/arSD.js +86 -11
- package/locales/beBY.js +86 -11
- package/locales/bgBG.js +86 -11
- package/locales/bnBD.js +87 -11
- package/locales/csCZ.js +87 -11
- package/locales/daDK.js +86 -11
- package/locales/deDE.js +87 -11
- package/locales/elGR.js +86 -11
- package/locales/esES.js +86 -11
- package/locales/faIR.js +86 -11
- package/locales/fiFI.js +86 -11
- package/locales/frFR.js +86 -11
- package/locales/heIL.js +86 -11
- package/locales/hrHR.js +99 -29
- package/locales/huHU.js +87 -11
- package/{modern/locales/beBY.d.ts → locales/hyAM.d.ts} +1 -1
- package/locales/hyAM.js +302 -0
- package/locales/index.d.ts +1 -0
- package/locales/index.js +11 -0
- package/locales/isIS.js +86 -11
- package/locales/itIT.js +86 -11
- package/locales/jaJP.js +86 -11
- package/locales/koKR.js +86 -11
- package/locales/nbNO.js +86 -11
- package/locales/nlNL.js +87 -11
- package/locales/nnNO.js +86 -11
- package/locales/plPL.js +88 -13
- package/locales/ptBR.js +86 -11
- package/locales/ptPT.js +86 -11
- package/locales/roRO.js +86 -11
- package/locales/ruRU.js +87 -11
- package/locales/skSK.js +87 -11
- package/locales/svSE.js +89 -14
- package/locales/trTR.js +86 -11
- package/locales/ukUA.js +87 -11
- package/locales/urPK.js +86 -11
- package/locales/viVN.js +86 -11
- package/locales/zhCN.js +87 -11
- package/locales/zhHK.js +87 -11
- package/locales/zhTW.js +87 -11
- package/material/augmentation.d.ts +7 -0
- package/material/icons/createSvgIcon.d.ts +2 -0
- package/material/icons/createSvgIcon.js +8 -0
- package/material/icons/index.d.ts +29 -84
- package/material/icons/index.js +29 -29
- package/material/index.js +71 -36
- package/material/variables.js +2 -1
- package/models/api/gridApiCommon.d.ts +2 -1
- package/models/api/gridEditingApi.d.ts +1 -1
- package/models/api/gridFocusApi.d.ts +1 -1
- package/models/api/gridLocaleTextApi.d.ts +61 -9
- package/models/api/gridPreferencesPanelApi.d.ts +1 -1
- package/models/api/gridRowApi.d.ts +2 -3
- package/models/colDef/gridColDef.d.ts +1 -1
- package/models/configuration/gridConfiguration.d.ts +5 -0
- package/models/events/gridEventListener.d.ts +1 -1
- package/models/events/gridEventLookup.d.ts +1 -1
- package/models/events/gridEventPublisher.d.ts +1 -1
- package/models/gridBaseSlots.d.ts +18 -2
- package/models/gridIconSlotsComponent.d.ts +37 -41
- package/models/gridSlotsComponent.d.ts +5 -0
- package/models/gridSlotsComponentsProps.d.ts +5 -2
- package/models/index.d.ts +2 -2
- package/models/index.js +0 -12
- package/models/params/gridColumnResizeParams.d.ts +0 -1
- package/package.json +7 -13
- package/components/panel/GridPreferencePanelContext.d.ts +0 -12
- package/esm/components/panel/GridPreferencePanelContext.d.ts +0 -12
- package/esm/components/panel/GridPreferencePanelContext.js +0 -24
- package/esm/material/icons/GridColumnUnsortedIcon.d.ts +0 -8
- package/esm/models/muiEvent.d.ts +0 -5
- package/material/icons/GridColumnUnsortedIcon.d.ts +0 -8
- package/models/muiEvent.d.ts +0 -5
- package/modern/DataGrid/DataGrid.d.ts +0 -16
- package/modern/DataGrid/DataGrid.js +0 -792
- package/modern/DataGrid/index.d.ts +0 -1
- package/modern/DataGrid/index.js +0 -1
- package/modern/DataGrid/useDataGridComponent.d.ts +0 -4
- package/modern/DataGrid/useDataGridComponent.js +0 -94
- package/modern/DataGrid/useDataGridProps.d.ts +0 -3
- package/modern/DataGrid/useDataGridProps.js +0 -49
- package/modern/colDef/gridActionsColDef.d.ts +0 -3
- package/modern/colDef/gridActionsColDef.js +0 -19
- package/modern/colDef/gridBooleanColDef.d.ts +0 -2
- package/modern/colDef/gridBooleanColDef.js +0 -41
- package/modern/colDef/gridBooleanOperators.d.ts +0 -2
- package/modern/colDef/gridBooleanOperators.js +0 -12
- package/modern/colDef/gridCheckboxSelectionColDef.d.ts +0 -3
- package/modern/colDef/gridCheckboxSelectionColDef.js +0 -29
- package/modern/colDef/gridDateColDef.d.ts +0 -5
- package/modern/colDef/gridDateColDef.js +0 -60
- package/modern/colDef/gridDateOperators.d.ts +0 -3
- package/modern/colDef/gridDateOperators.js +0 -108
- package/modern/colDef/gridDefaultColumnTypes.d.ts +0 -3
- package/modern/colDef/gridDefaultColumnTypes.js +0 -20
- package/modern/colDef/gridNumericColDef.d.ts +0 -2
- package/modern/colDef/gridNumericColDef.js +0 -15
- package/modern/colDef/gridNumericOperators.d.ts +0 -7
- package/modern/colDef/gridNumericOperators.js +0 -143
- package/modern/colDef/gridSingleSelectColDef.d.ts +0 -2
- package/modern/colDef/gridSingleSelectColDef.js +0 -61
- package/modern/colDef/gridSingleSelectOperators.d.ts +0 -2
- package/modern/colDef/gridSingleSelectOperators.js +0 -38
- package/modern/colDef/gridStringColDef.d.ts +0 -5
- package/modern/colDef/gridStringColDef.js +0 -27
- package/modern/colDef/gridStringOperators.d.ts +0 -4
- package/modern/colDef/gridStringOperators.js +0 -121
- package/modern/colDef/index.d.ts +0 -13
- package/modern/colDef/index.js +0 -13
- package/modern/components/GridApiContext.d.ts +0 -2
- package/modern/components/GridApiContext.js +0 -7
- package/modern/components/GridColumnHeaders.d.ts +0 -7
- package/modern/components/GridColumnHeaders.js +0 -85
- package/modern/components/GridConfigurationContext.d.ts +0 -2
- package/modern/components/GridConfigurationContext.js +0 -7
- package/modern/components/GridDetailPanels.d.ts +0 -5
- package/modern/components/GridDetailPanels.js +0 -3
- package/modern/components/GridFooter.d.ts +0 -6
- package/modern/components/GridFooter.js +0 -40
- package/modern/components/GridHeader.d.ts +0 -2
- package/modern/components/GridHeader.js +0 -11
- package/modern/components/GridHeaders.d.ts +0 -4
- package/modern/components/GridHeaders.js +0 -48
- package/modern/components/GridLoadingOverlay.d.ts +0 -17
- package/modern/components/GridLoadingOverlay.js +0 -67
- package/modern/components/GridNoColumnsOverlay.d.ts +0 -6
- package/modern/components/GridNoColumnsOverlay.js +0 -36
- package/modern/components/GridNoResultsOverlay.d.ts +0 -5
- package/modern/components/GridNoResultsOverlay.js +0 -14
- package/modern/components/GridNoRowsOverlay.d.ts +0 -6
- package/modern/components/GridNoRowsOverlay.js +0 -23
- package/modern/components/GridPagination.d.ts +0 -6
- package/modern/components/GridPagination.js +0 -80
- package/modern/components/GridPinnedRows.d.ts +0 -6
- package/modern/components/GridPinnedRows.js +0 -3
- package/modern/components/GridRow.d.ts +0 -39
- package/modern/components/GridRow.js +0 -341
- package/modern/components/GridRowCount.d.ts +0 -13
- package/modern/components/GridRowCount.js +0 -64
- package/modern/components/GridScrollArea.d.ts +0 -10
- package/modern/components/GridScrollArea.js +0 -151
- package/modern/components/GridScrollbarFillerCell.d.ts +0 -13
- package/modern/components/GridScrollbarFillerCell.js +0 -23
- package/modern/components/GridSelectedRowCount.d.ts +0 -12
- package/modern/components/GridSelectedRowCount.js +0 -67
- package/modern/components/GridShadowScrollArea.d.ts +0 -8
- package/modern/components/GridShadowScrollArea.js +0 -82
- package/modern/components/GridSkeletonLoadingOverlay.d.ts +0 -14
- package/modern/components/GridSkeletonLoadingOverlay.js +0 -199
- package/modern/components/base/GridBody.d.ts +0 -2
- package/modern/components/base/GridBody.js +0 -2
- package/modern/components/base/GridFooterPlaceholder.d.ts +0 -2
- package/modern/components/base/GridFooterPlaceholder.js +0 -11
- package/modern/components/base/GridOverlays.d.ts +0 -13
- package/modern/components/base/GridOverlays.js +0 -86
- package/modern/components/base/index.d.ts +0 -2
- package/modern/components/base/index.js +0 -2
- package/modern/components/cell/GridActionsCell.d.ts +0 -13
- package/modern/components/cell/GridActionsCell.js +0 -261
- package/modern/components/cell/GridActionsCellItem.d.ts +0 -52
- package/modern/components/cell/GridActionsCellItem.js +0 -73
- package/modern/components/cell/GridBooleanCell.d.ts +0 -13
- package/modern/components/cell/GridBooleanCell.js +0 -124
- package/modern/components/cell/GridCell.d.ts +0 -77
- package/modern/components/cell/GridCell.js +0 -325
- package/modern/components/cell/GridEditBooleanCell.d.ts +0 -17
- package/modern/components/cell/GridEditBooleanCell.js +0 -139
- package/modern/components/cell/GridEditDateCell.d.ts +0 -21
- package/modern/components/cell/GridEditDateCell.js +0 -193
- package/modern/components/cell/GridEditInputCell.d.ts +0 -19
- package/modern/components/cell/GridEditInputCell.js +0 -168
- package/modern/components/cell/GridEditSingleSelectCell.d.ts +0 -22
- package/modern/components/cell/GridEditSingleSelectCell.js +0 -189
- package/modern/components/cell/GridSkeletonCell.d.ts +0 -20
- package/modern/components/cell/GridSkeletonCell.js +0 -104
- package/modern/components/cell/index.d.ts +0 -10
- package/modern/components/cell/index.js +0 -9
- package/modern/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +0 -10
- package/modern/components/columnHeaders/ColumnHeaderMenuIcon.js +0 -63
- package/modern/components/columnHeaders/GridBaseColumnHeaders.d.ts +0 -7
- package/modern/components/columnHeaders/GridBaseColumnHeaders.js +0 -45
- package/modern/components/columnHeaders/GridColumnGroupHeader.d.ts +0 -21
- package/modern/components/columnHeaders/GridColumnGroupHeader.js +0 -137
- package/modern/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +0 -12
- package/modern/components/columnHeaders/GridColumnHeaderFilterIconButton.js +0 -108
- package/modern/components/columnHeaders/GridColumnHeaderItem.d.ts +0 -34
- package/modern/components/columnHeaders/GridColumnHeaderItem.js +0 -231
- package/modern/components/columnHeaders/GridColumnHeaderSeparator.d.ts +0 -17
- package/modern/components/columnHeaders/GridColumnHeaderSeparator.js +0 -71
- package/modern/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +0 -15
- package/modern/components/columnHeaders/GridColumnHeaderTitle.d.ts +0 -11
- package/modern/components/columnHeaders/GridColumnHeaderTitle.js +0 -88
- package/modern/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +0 -32
- package/modern/components/columnHeaders/GridGenericColumnHeaderItem.js +0 -93
- package/modern/components/columnHeaders/GridIconButtonContainer.d.ts +0 -3
- package/modern/components/columnHeaders/GridIconButtonContainer.js +0 -43
- package/modern/components/columnHeaders/index.d.ts +0 -5
- package/modern/components/columnHeaders/index.js +0 -5
- package/modern/components/columnSelection/GridCellCheckboxRenderer.d.ts +0 -5
- package/modern/components/columnSelection/GridCellCheckboxRenderer.js +0 -153
- package/modern/components/columnSelection/GridHeaderCheckbox.d.ts +0 -4
- package/modern/components/columnSelection/GridHeaderCheckbox.js +0 -169
- package/modern/components/columnSelection/index.d.ts +0 -2
- package/modern/components/columnSelection/index.js +0 -2
- package/modern/components/columnsManagement/GridColumnsManagement.d.ts +0 -45
- package/modern/components/columnsManagement/GridColumnsManagement.js +0 -294
- package/modern/components/columnsManagement/index.d.ts +0 -1
- package/modern/components/columnsManagement/index.js +0 -1
- package/modern/components/columnsManagement/utils.d.ts +0 -4
- package/modern/components/columnsManagement/utils.js +0 -16
- package/modern/components/columnsPanel/ColumnsPanelTrigger.d.ts +0 -33
- package/modern/components/columnsPanel/ColumnsPanelTrigger.js +0 -101
- package/modern/components/columnsPanel/index.d.ts +0 -1
- package/modern/components/columnsPanel/index.js +0 -1
- package/modern/components/containers/GridFooterContainer.d.ts +0 -9
- package/modern/components/containers/GridFooterContainer.js +0 -54
- package/modern/components/containers/GridOverlay.d.ts +0 -9
- package/modern/components/containers/GridOverlay.js +0 -58
- package/modern/components/containers/GridRoot.d.ts +0 -11
- package/modern/components/containers/GridRoot.js +0 -77
- package/modern/components/containers/GridRootStyles.d.ts +0 -5
- package/modern/components/containers/GridRootStyles.js +0 -849
- package/modern/components/containers/GridToolbarContainer.d.ts +0 -9
- package/modern/components/containers/GridToolbarContainer.js +0 -62
- package/modern/components/containers/index.d.ts +0 -4
- package/modern/components/containers/index.js +0 -4
- package/modern/components/export/ExportCsv.d.ts +0 -30
- package/modern/components/export/ExportCsv.js +0 -82
- package/modern/components/export/ExportPrint.d.ts +0 -30
- package/modern/components/export/ExportPrint.js +0 -82
- package/modern/components/export/index.d.ts +0 -2
- package/modern/components/export/index.js +0 -2
- package/modern/components/filterPanel/FilterPanelTrigger.d.ts +0 -37
- package/modern/components/filterPanel/FilterPanelTrigger.js +0 -104
- package/modern/components/filterPanel/index.d.ts +0 -1
- package/modern/components/filterPanel/index.js +0 -1
- package/modern/components/index.d.ts +0 -25
- package/modern/components/index.js +0 -25
- package/modern/components/menu/GridMenu.d.ts +0 -15
- package/modern/components/menu/GridMenu.js +0 -99
- package/modern/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +0 -26
- package/modern/components/menu/columnMenu/GridColumnHeaderMenu.js +0 -63
- package/modern/components/menu/columnMenu/GridColumnMenu.d.ts +0 -24
- package/modern/components/menu/columnMenu/GridColumnMenu.js +0 -109
- package/modern/components/menu/columnMenu/GridColumnMenuContainer.d.ts +0 -4
- package/modern/components/menu/columnMenu/GridColumnMenuContainer.js +0 -59
- package/modern/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +0 -7
- package/modern/components/menu/columnMenu/GridColumnMenuItemProps.js +0 -1
- package/modern/components/menu/columnMenu/GridColumnMenuProps.d.ts +0 -12
- package/modern/components/menu/columnMenu/GridColumnMenuProps.js +0 -1
- package/modern/components/menu/columnMenu/index.d.ts +0 -6
- package/modern/components/menu/columnMenu/index.js +0 -9
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +0 -7
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +0 -20
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +0 -7
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +0 -36
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +0 -7
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +0 -53
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +0 -7
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +0 -36
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +0 -7
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +0 -68
- package/modern/components/menu/columnMenu/menuItems/index.d.ts +0 -5
- package/modern/components/menu/columnMenu/menuItems/index.js +0 -5
- package/modern/components/menu/index.d.ts +0 -2
- package/modern/components/menu/index.js +0 -2
- package/modern/components/panel/GridColumnsPanel.d.ts +0 -5
- package/modern/components/panel/GridColumnsPanel.js +0 -12
- package/modern/components/panel/GridPanel.d.ts +0 -20
- package/modern/components/panel/GridPanel.js +0 -107
- package/modern/components/panel/GridPanelContent.d.ts +0 -9
- package/modern/components/panel/GridPanelContent.js +0 -53
- package/modern/components/panel/GridPanelFooter.d.ts +0 -9
- package/modern/components/panel/GridPanelFooter.js +0 -51
- package/modern/components/panel/GridPanelHeader.d.ts +0 -9
- package/modern/components/panel/GridPanelHeader.js +0 -48
- package/modern/components/panel/GridPanelWrapper.d.ts +0 -6
- package/modern/components/panel/GridPanelWrapper.js +0 -47
- package/modern/components/panel/GridPreferencePanelContext.d.ts +0 -12
- package/modern/components/panel/GridPreferencesPanel.d.ts +0 -2
- package/modern/components/panel/GridPreferencesPanel.js +0 -29
- package/modern/components/panel/filterPanel/GridFilterForm.d.ts +0 -107
- package/modern/components/panel/filterPanel/GridFilterForm.js +0 -466
- package/modern/components/panel/filterPanel/GridFilterInputBoolean.d.ts +0 -10
- package/modern/components/panel/filterPanel/GridFilterInputBoolean.js +0 -122
- package/modern/components/panel/filterPanel/GridFilterInputDate.d.ts +0 -11
- package/modern/components/panel/filterPanel/GridFilterInputDate.js +0 -135
- package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +0 -12
- package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -116
- package/modern/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +0 -11
- package/modern/components/panel/filterPanel/GridFilterInputMultipleValue.js +0 -98
- package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +0 -11
- package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.js +0 -147
- package/modern/components/panel/filterPanel/GridFilterInputValue.d.ts +0 -15
- package/modern/components/panel/filterPanel/GridFilterInputValue.js +0 -121
- package/modern/components/panel/filterPanel/GridFilterPanel.d.ts +0 -49
- package/modern/components/panel/filterPanel/GridFilterPanel.js +0 -247
- package/modern/components/panel/filterPanel/filterPanelUtils.d.ts +0 -5
- package/modern/components/panel/filterPanel/filterPanelUtils.js +0 -22
- package/modern/components/panel/filterPanel/index.d.ts +0 -10
- package/modern/components/panel/filterPanel/index.js +0 -8
- package/modern/components/panel/index.d.ts +0 -7
- package/modern/components/panel/index.js +0 -7
- package/modern/components/quickFilter/QuickFilter.d.ts +0 -64
- package/modern/components/quickFilter/QuickFilter.js +0 -189
- package/modern/components/quickFilter/QuickFilterClear.d.ts +0 -28
- package/modern/components/quickFilter/QuickFilterClear.js +0 -76
- package/modern/components/quickFilter/QuickFilterContext.d.ts +0 -16
- package/modern/components/quickFilter/QuickFilterContext.js +0 -9
- package/modern/components/quickFilter/QuickFilterControl.d.ts +0 -28
- package/modern/components/quickFilter/QuickFilterControl.js +0 -121
- package/modern/components/quickFilter/QuickFilterTrigger.d.ts +0 -28
- package/modern/components/quickFilter/QuickFilterTrigger.js +0 -79
- package/modern/components/quickFilter/index.d.ts +0 -4
- package/modern/components/quickFilter/index.js +0 -4
- package/modern/components/reexportable.d.ts +0 -1
- package/modern/components/reexportable.js +0 -1
- package/modern/components/toolbar/GridToolbar.d.ts +0 -17
- package/modern/components/toolbar/GridToolbar.js +0 -78
- package/modern/components/toolbar/GridToolbarColumnsButton.d.ts +0 -14
- package/modern/components/toolbar/GridToolbarColumnsButton.js +0 -79
- package/modern/components/toolbar/GridToolbarDensitySelector.d.ts +0 -14
- package/modern/components/toolbar/GridToolbarDensitySelector.js +0 -126
- package/modern/components/toolbar/GridToolbarExport.d.ts +0 -39
- package/modern/components/toolbar/GridToolbarExport.js +0 -124
- package/modern/components/toolbar/GridToolbarExportContainer.d.ts +0 -16
- package/modern/components/toolbar/GridToolbarExportContainer.js +0 -94
- package/modern/components/toolbar/GridToolbarFilterButton.d.ts +0 -15
- package/modern/components/toolbar/GridToolbarFilterButton.js +0 -142
- package/modern/components/toolbar/GridToolbarQuickFilter.d.ts +0 -43
- package/modern/components/toolbar/GridToolbarQuickFilter.js +0 -185
- package/modern/components/toolbar/index.d.ts +0 -8
- package/modern/components/toolbar/index.js +0 -7
- package/modern/components/toolbarV8/GridToolbar.d.ts +0 -16
- package/modern/components/toolbarV8/GridToolbar.js +0 -191
- package/modern/components/toolbarV8/Toolbar.d.ts +0 -32
- package/modern/components/toolbarV8/Toolbar.js +0 -180
- package/modern/components/toolbarV8/ToolbarButton.d.ts +0 -23
- package/modern/components/toolbarV8/ToolbarButton.js +0 -108
- package/modern/components/toolbarV8/ToolbarContext.d.ts +0 -11
- package/modern/components/toolbarV8/ToolbarContext.js +0 -9
- package/modern/components/toolbarV8/index.d.ts +0 -2
- package/modern/components/toolbarV8/index.js +0 -2
- package/modern/components/virtualization/GridBottomContainer.d.ts +0 -3
- package/modern/components/virtualization/GridBottomContainer.js +0 -25
- package/modern/components/virtualization/GridMainContainer.d.ts +0 -20
- package/modern/components/virtualization/GridMainContainer.js +0 -51
- package/modern/components/virtualization/GridTopContainer.d.ts +0 -2
- package/modern/components/virtualization/GridTopContainer.js +0 -25
- package/modern/components/virtualization/GridVirtualScrollbar.d.ts +0 -11
- package/modern/components/virtualization/GridVirtualScrollbar.js +0 -148
- package/modern/components/virtualization/GridVirtualScroller.d.ts +0 -6
- package/modern/components/virtualization/GridVirtualScroller.js +0 -130
- package/modern/components/virtualization/GridVirtualScrollerContent.d.ts +0 -8
- package/modern/components/virtualization/GridVirtualScrollerContent.js +0 -43
- package/modern/components/virtualization/GridVirtualScrollerFiller.d.ts +0 -10
- package/modern/components/virtualization/GridVirtualScrollerFiller.js +0 -74
- package/modern/components/virtualization/GridVirtualScrollerRenderZone.d.ts +0 -8
- package/modern/components/virtualization/GridVirtualScrollerRenderZone.js +0 -58
- package/modern/constants/cssVariables.d.ts +0 -267
- package/modern/constants/cssVariables.js +0 -152
- package/modern/constants/dataGridPropsDefaultValues.d.ts +0 -5
- package/modern/constants/dataGridPropsDefaultValues.js +0 -59
- package/modern/constants/defaultGridSlotsComponents.d.ts +0 -2
- package/modern/constants/defaultGridSlotsComponents.js +0 -38
- package/modern/constants/envConstants.d.ts +0 -1
- package/modern/constants/envConstants.js +0 -19
- package/modern/constants/gridClasses.d.ts +0 -717
- package/modern/constants/gridClasses.js +0 -5
- package/modern/constants/index.d.ts +0 -4
- package/modern/constants/index.js +0 -4
- package/modern/constants/localeTextConstants.d.ts +0 -2
- package/modern/constants/localeTextConstants.js +0 -191
- package/modern/constants/signature.d.ts +0 -9
- package/modern/constants/signature.js +0 -10
- package/modern/context/GridContextProvider.d.ts +0 -17
- package/modern/context/GridContextProvider.js +0 -33
- package/modern/context/GridRootPropsContext.d.ts +0 -3
- package/modern/context/GridRootPropsContext.js +0 -8
- package/modern/context/index.d.ts +0 -1
- package/modern/context/index.js +0 -1
- package/modern/hooks/core/gridCoreSelector.d.ts +0 -6
- package/modern/hooks/core/gridCoreSelector.js +0 -6
- package/modern/hooks/core/gridPropsSelectors.d.ts +0 -9
- package/modern/hooks/core/gridPropsSelectors.js +0 -15
- package/modern/hooks/core/index.d.ts +0 -2
- package/modern/hooks/core/index.js +0 -1
- package/modern/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +0 -142
- package/modern/hooks/core/pipeProcessing/gridPipeProcessingApi.js +0 -1
- package/modern/hooks/core/pipeProcessing/index.d.ts +0 -4
- package/modern/hooks/core/pipeProcessing/index.js +0 -4
- package/modern/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +0 -32
- package/modern/hooks/core/pipeProcessing/useGridPipeProcessing.js +0 -107
- package/modern/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +0 -4
- package/modern/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js +0 -26
- package/modern/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +0 -4
- package/modern/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js +0 -28
- package/modern/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +0 -79
- package/modern/hooks/core/strategyProcessing/gridStrategyProcessingApi.js +0 -5
- package/modern/hooks/core/strategyProcessing/index.d.ts +0 -3
- package/modern/hooks/core/strategyProcessing/index.js +0 -3
- package/modern/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +0 -4
- package/modern/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +0 -18
- package/modern/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +0 -43
- package/modern/hooks/core/strategyProcessing/useGridStrategyProcessing.js +0 -110
- package/modern/hooks/core/useGridApiInitialization.d.ts +0 -5
- package/modern/hooks/core/useGridApiInitialization.js +0 -112
- package/modern/hooks/core/useGridInitialization.d.ts +0 -7
- package/modern/hooks/core/useGridInitialization.js +0 -28
- package/modern/hooks/core/useGridIsRtl.d.ts +0 -3
- package/modern/hooks/core/useGridIsRtl.js +0 -19
- package/modern/hooks/core/useGridLocaleText.d.ts +0 -4
- package/modern/hooks/core/useGridLocaleText.js +0 -12
- package/modern/hooks/core/useGridLoggerFactory.d.ts +0 -4
- package/modern/hooks/core/useGridLoggerFactory.js +0 -44
- package/modern/hooks/core/useGridProps.d.ts +0 -8
- package/modern/hooks/core/useGridProps.js +0 -18
- package/modern/hooks/core/useGridRefs.d.ts +0 -3
- package/modern/hooks/core/useGridRefs.js +0 -19
- package/modern/hooks/core/useGridStateInitialization.d.ts +0 -3
- package/modern/hooks/core/useGridStateInitialization.js +0 -95
- package/modern/hooks/features/clipboard/useGridClipboard.d.ts +0 -8
- package/modern/hooks/features/clipboard/useGridClipboard.js +0 -97
- package/modern/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +0 -16
- package/modern/hooks/features/columnGrouping/gridColumnGroupsInterfaces.js +0 -1
- package/modern/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +0 -12
- package/modern/hooks/features/columnGrouping/gridColumnGroupsSelector.js +0 -10
- package/modern/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +0 -18
- package/modern/hooks/features/columnGrouping/gridColumnGroupsUtils.js +0 -82
- package/modern/hooks/features/columnGrouping/index.d.ts +0 -2
- package/modern/hooks/features/columnGrouping/index.js +0 -2
- package/modern/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +0 -10
- package/modern/hooks/features/columnGrouping/useGridColumnGrouping.js +0 -131
- package/modern/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +0 -65
- package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +0 -317
- package/modern/hooks/features/columnMenu/columnMenuInterfaces.d.ts +0 -47
- package/modern/hooks/features/columnMenu/columnMenuInterfaces.js +0 -1
- package/modern/hooks/features/columnMenu/columnMenuSelector.d.ts +0 -2
- package/modern/hooks/features/columnMenu/columnMenuSelector.js +0 -2
- package/modern/hooks/features/columnMenu/index.d.ts +0 -2
- package/modern/hooks/features/columnMenu/index.js +0 -2
- package/modern/hooks/features/columnMenu/useGridColumnMenu.d.ts +0 -9
- package/modern/hooks/features/columnMenu/useGridColumnMenu.js +0 -104
- package/modern/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +0 -13
- package/modern/hooks/features/columnMenu/useGridColumnMenuSlots.js +0 -59
- package/modern/hooks/features/columnResize/columnResizeSelector.d.ts +0 -3
- package/modern/hooks/features/columnResize/columnResizeSelector.js +0 -3
- package/modern/hooks/features/columnResize/columnResizeState.d.ts +0 -3
- package/modern/hooks/features/columnResize/columnResizeState.js +0 -1
- package/modern/hooks/features/columnResize/gridColumnResizeApi.d.ts +0 -50
- package/modern/hooks/features/columnResize/gridColumnResizeApi.js +0 -11
- package/modern/hooks/features/columnResize/index.d.ts +0 -3
- package/modern/hooks/features/columnResize/index.js +0 -3
- package/modern/hooks/features/columnResize/useGridColumnResize.d.ts +0 -10
- package/modern/hooks/features/columnResize/useGridColumnResize.js +0 -562
- package/modern/hooks/features/columns/gridColumnsInterfaces.d.ts +0 -42
- package/modern/hooks/features/columns/gridColumnsInterfaces.js +0 -9
- package/modern/hooks/features/columns/gridColumnsSelector.d.ts +0 -79
- package/modern/hooks/features/columns/gridColumnsSelector.js +0 -140
- package/modern/hooks/features/columns/gridColumnsUtils.d.ts +0 -74
- package/modern/hooks/features/columns/gridColumnsUtils.js +0 -328
- package/modern/hooks/features/columns/index.d.ts +0 -2
- package/modern/hooks/features/columns/index.js +0 -2
- package/modern/hooks/features/columns/useGridColumnSpanning.d.ts +0 -7
- package/modern/hooks/features/columns/useGridColumnSpanning.js +0 -107
- package/modern/hooks/features/columns/useGridColumns.d.ts +0 -11
- package/modern/hooks/features/columns/useGridColumns.js +0 -307
- package/modern/hooks/features/dataSource/cache.d.ts +0 -29
- package/modern/hooks/features/dataSource/cache.js +0 -39
- package/modern/hooks/features/dataSource/gridDataSourceError.d.ts +0 -31
- package/modern/hooks/features/dataSource/gridDataSourceError.js +0 -32
- package/modern/hooks/features/dataSource/gridDataSourceSelector.d.ts +0 -8
- package/modern/hooks/features/dataSource/gridDataSourceSelector.js +0 -12
- package/modern/hooks/features/dataSource/index.d.ts +0 -2
- package/modern/hooks/features/dataSource/index.js +0 -2
- package/modern/hooks/features/dataSource/models.d.ts +0 -22
- package/modern/hooks/features/dataSource/models.js +0 -1
- package/modern/hooks/features/dataSource/useGridDataSource.d.ts +0 -7
- package/modern/hooks/features/dataSource/useGridDataSource.js +0 -24
- package/modern/hooks/features/dataSource/useGridDataSourceBase.d.ts +0 -33
- package/modern/hooks/features/dataSource/useGridDataSourceBase.js +0 -165
- package/modern/hooks/features/dataSource/utils.d.ts +0 -23
- package/modern/hooks/features/dataSource/utils.js +0 -71
- package/modern/hooks/features/density/densitySelector.d.ts +0 -6
- package/modern/hooks/features/density/densitySelector.js +0 -10
- package/modern/hooks/features/density/densityState.d.ts +0 -2
- package/modern/hooks/features/density/densityState.js +0 -1
- package/modern/hooks/features/density/index.d.ts +0 -2
- package/modern/hooks/features/density/index.js +0 -2
- package/modern/hooks/features/density/useGridDensity.d.ts +0 -6
- package/modern/hooks/features/density/useGridDensity.js +0 -64
- package/modern/hooks/features/dimensions/gridDimensionsApi.d.ts +0 -103
- package/modern/hooks/features/dimensions/gridDimensionsApi.js +0 -1
- package/modern/hooks/features/dimensions/gridDimensionsSelectors.d.ts +0 -18
- package/modern/hooks/features/dimensions/gridDimensionsSelectors.js +0 -25
- package/modern/hooks/features/dimensions/index.d.ts +0 -3
- package/modern/hooks/features/dimensions/index.js +0 -1
- package/modern/hooks/features/dimensions/useGridDimensions.d.ts +0 -10
- package/modern/hooks/features/dimensions/useGridDimensions.js +0 -299
- package/modern/hooks/features/editing/gridEditingSelectors.d.ts +0 -15
- package/modern/hooks/features/editing/gridEditingSelectors.js +0 -15
- package/modern/hooks/features/editing/index.d.ts +0 -1
- package/modern/hooks/features/editing/index.js +0 -1
- package/modern/hooks/features/editing/useGridCellEditing.d.ts +0 -4
- package/modern/hooks/features/editing/useGridCellEditing.js +0 -469
- package/modern/hooks/features/editing/useGridEditing.d.ts +0 -6
- package/modern/hooks/features/editing/useGridEditing.js +0 -123
- package/modern/hooks/features/editing/useGridRowEditing.d.ts +0 -4
- package/modern/hooks/features/editing/useGridRowEditing.js +0 -605
- package/modern/hooks/features/editing/utils.d.ts +0 -2
- package/modern/hooks/features/editing/utils.js +0 -15
- package/modern/hooks/features/events/useGridEvents.d.ts +0 -8
- package/modern/hooks/features/events/useGridEvents.js +0 -24
- package/modern/hooks/features/export/serializers/csvSerializer.d.ts +0 -19
- package/modern/hooks/features/export/serializers/csvSerializer.js +0 -144
- package/modern/hooks/features/export/useGridCsvExport.d.ts +0 -11
- package/modern/hooks/features/export/useGridCsvExport.js +0 -74
- package/modern/hooks/features/export/useGridPrintExport.d.ts +0 -10
- package/modern/hooks/features/export/useGridPrintExport.js +0 -290
- package/modern/hooks/features/export/utils.d.ts +0 -20
- package/modern/hooks/features/export/utils.js +0 -39
- package/modern/hooks/features/filter/gridFilterSelector.d.ts +0 -103
- package/modern/hooks/features/filter/gridFilterSelector.js +0 -177
- package/modern/hooks/features/filter/gridFilterState.d.ts +0 -61
- package/modern/hooks/features/filter/gridFilterState.js +0 -23
- package/modern/hooks/features/filter/gridFilterUtils.d.ts +0 -23
- package/modern/hooks/features/filter/gridFilterUtils.js +0 -311
- package/modern/hooks/features/filter/index.d.ts +0 -4
- package/modern/hooks/features/filter/index.js +0 -2
- package/modern/hooks/features/filter/useGridFilter.d.ts +0 -11
- package/modern/hooks/features/filter/useGridFilter.js +0 -366
- package/modern/hooks/features/focus/gridFocusState.d.ts +0 -20
- package/modern/hooks/features/focus/gridFocusState.js +0 -1
- package/modern/hooks/features/focus/gridFocusStateSelector.d.ts +0 -12
- package/modern/hooks/features/focus/gridFocusStateSelector.js +0 -11
- package/modern/hooks/features/focus/index.d.ts +0 -2
- package/modern/hooks/features/focus/index.js +0 -2
- package/modern/hooks/features/focus/useGridFocus.d.ts +0 -11
- package/modern/hooks/features/focus/useGridFocus.js +0 -406
- package/modern/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +0 -5
- package/modern/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +0 -7
- package/modern/hooks/features/headerFiltering/index.d.ts +0 -1
- package/modern/hooks/features/headerFiltering/index.js +0 -1
- package/modern/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +0 -6
- package/modern/hooks/features/headerFiltering/useGridHeaderFiltering.js +0 -105
- package/modern/hooks/features/index.d.ts +0 -19
- package/modern/hooks/features/index.js +0 -20
- package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +0 -13
- package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +0 -537
- package/modern/hooks/features/keyboardNavigation/utils.d.ts +0 -26
- package/modern/hooks/features/keyboardNavigation/utils.js +0 -53
- package/modern/hooks/features/listView/gridListViewSelectors.d.ts +0 -7
- package/modern/hooks/features/listView/gridListViewSelectors.js +0 -7
- package/modern/hooks/features/listView/index.d.ts +0 -1
- package/modern/hooks/features/listView/index.js +0 -1
- package/modern/hooks/features/listView/useGridListView.d.ts +0 -10
- package/modern/hooks/features/listView/useGridListView.js +0 -61
- package/modern/hooks/features/overlays/useGridOverlays.d.ts +0 -14
- package/modern/hooks/features/overlays/useGridOverlays.js +0 -62
- package/modern/hooks/features/pagination/gridPaginationInterfaces.d.ts +0 -58
- package/modern/hooks/features/pagination/gridPaginationInterfaces.js +0 -1
- package/modern/hooks/features/pagination/gridPaginationSelector.d.ts +0 -79
- package/modern/hooks/features/pagination/gridPaginationSelector.js +0 -153
- package/modern/hooks/features/pagination/gridPaginationUtils.d.ts +0 -9
- package/modern/hooks/features/pagination/gridPaginationUtils.js +0 -28
- package/modern/hooks/features/pagination/index.d.ts +0 -2
- package/modern/hooks/features/pagination/index.js +0 -2
- package/modern/hooks/features/pagination/useGridPagination.d.ts +0 -10
- package/modern/hooks/features/pagination/useGridPagination.js +0 -30
- package/modern/hooks/features/pagination/useGridPaginationMeta.d.ts +0 -4
- package/modern/hooks/features/pagination/useGridPaginationMeta.js +0 -77
- package/modern/hooks/features/pagination/useGridPaginationModel.d.ts +0 -11
- package/modern/hooks/features/pagination/useGridPaginationModel.js +0 -232
- package/modern/hooks/features/pagination/useGridRowCount.d.ts +0 -4
- package/modern/hooks/features/pagination/useGridRowCount.js +0 -108
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +0 -3
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelSelector.js +0 -8
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +0 -13
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelState.js +0 -1
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts +0 -5
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +0 -6
- package/modern/hooks/features/preferencesPanel/index.d.ts +0 -3
- package/modern/hooks/features/preferencesPanel/index.js +0 -3
- package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +0 -9
- package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.js +0 -88
- package/modern/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +0 -6
- package/modern/hooks/features/rowSelection/gridRowSelectionSelector.js +0 -29
- package/modern/hooks/features/rowSelection/index.d.ts +0 -1
- package/modern/hooks/features/rowSelection/index.js +0 -1
- package/modern/hooks/features/rowSelection/useGridRowSelection.d.ts +0 -12
- package/modern/hooks/features/rowSelection/useGridRowSelection.js +0 -583
- package/modern/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +0 -4
- package/modern/hooks/features/rowSelection/useGridRowSelectionPreProcessors.js +0 -44
- package/modern/hooks/features/rowSelection/utils.d.ts +0 -14
- package/modern/hooks/features/rowSelection/utils.js +0 -165
- package/modern/hooks/features/rows/gridRowSpanningSelectors.d.ts +0 -4
- package/modern/hooks/features/rows/gridRowSpanningSelectors.js +0 -5
- package/modern/hooks/features/rows/gridRowSpanningUtils.d.ts +0 -10
- package/modern/hooks/features/rows/gridRowSpanningUtils.js +0 -42
- package/modern/hooks/features/rows/gridRowsInterfaces.d.ts +0 -108
- package/modern/hooks/features/rows/gridRowsInterfaces.js +0 -1
- package/modern/hooks/features/rows/gridRowsMetaInterfaces.d.ts +0 -16
- package/modern/hooks/features/rows/gridRowsMetaInterfaces.js +0 -1
- package/modern/hooks/features/rows/gridRowsMetaSelector.d.ts +0 -2
- package/modern/hooks/features/rows/gridRowsMetaSelector.js +0 -2
- package/modern/hooks/features/rows/gridRowsMetaState.d.ts +0 -21
- package/modern/hooks/features/rows/gridRowsMetaState.js +0 -1
- package/modern/hooks/features/rows/gridRowsSelector.d.ts +0 -50
- package/modern/hooks/features/rows/gridRowsSelector.js +0 -58
- package/modern/hooks/features/rows/gridRowsUtils.d.ts +0 -61
- package/modern/hooks/features/rows/gridRowsUtils.js +0 -302
- package/modern/hooks/features/rows/index.d.ts +0 -5
- package/modern/hooks/features/rows/index.js +0 -4
- package/modern/hooks/features/rows/useGridParamsApi.d.ts +0 -13
- package/modern/hooks/features/rows/useGridParamsApi.js +0 -137
- package/modern/hooks/features/rows/useGridRowAriaAttributes.d.ts +0 -2
- package/modern/hooks/features/rows/useGridRowAriaAttributes.js +0 -17
- package/modern/hooks/features/rows/useGridRowSpanning.d.ts +0 -27
- package/modern/hooks/features/rows/useGridRowSpanning.js +0 -270
- package/modern/hooks/features/rows/useGridRows.d.ts +0 -6
- package/modern/hooks/features/rows/useGridRows.js +0 -459
- package/modern/hooks/features/rows/useGridRowsMeta.d.ts +0 -10
- package/modern/hooks/features/rows/useGridRowsMeta.js +0 -227
- package/modern/hooks/features/rows/useGridRowsPreProcessors.d.ts +0 -3
- package/modern/hooks/features/rows/useGridRowsPreProcessors.js +0 -81
- package/modern/hooks/features/scroll/useGridScroll.d.ts +0 -12
- package/modern/hooks/features/scroll/useGridScroll.js +0 -134
- package/modern/hooks/features/sorting/gridSortingSelector.d.ts +0 -32
- package/modern/hooks/features/sorting/gridSortingSelector.js +0 -70
- package/modern/hooks/features/sorting/gridSortingState.d.ts +0 -14
- package/modern/hooks/features/sorting/gridSortingState.js +0 -1
- package/modern/hooks/features/sorting/gridSortingUtils.d.ts +0 -18
- package/modern/hooks/features/sorting/gridSortingUtils.js +0 -138
- package/modern/hooks/features/sorting/index.d.ts +0 -4
- package/modern/hooks/features/sorting/index.js +0 -2
- package/modern/hooks/features/sorting/useGridSorting.d.ts +0 -10
- package/modern/hooks/features/sorting/useGridSorting.js +0 -250
- package/modern/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +0 -40
- package/modern/hooks/features/statePersistence/gridStatePersistenceInterface.js +0 -1
- package/modern/hooks/features/statePersistence/index.d.ts +0 -1
- package/modern/hooks/features/statePersistence/index.js +0 -1
- package/modern/hooks/features/statePersistence/useGridStatePersistence.d.ts +0 -3
- package/modern/hooks/features/statePersistence/useGridStatePersistence.js +0 -23
- package/modern/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +0 -6
- package/modern/hooks/features/virtualization/gridFocusedVirtualCellSelector.js +0 -32
- package/modern/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +0 -36
- package/modern/hooks/features/virtualization/gridVirtualizationSelectors.js +0 -43
- package/modern/hooks/features/virtualization/index.d.ts +0 -2
- package/modern/hooks/features/virtualization/index.js +0 -2
- package/modern/hooks/features/virtualization/useGridVirtualScroller.d.ts +0 -56
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +0 -843
- package/modern/hooks/features/virtualization/useGridVirtualization.d.ts +0 -21
- package/modern/hooks/features/virtualization/useGridVirtualization.js +0 -61
- package/modern/hooks/index.d.ts +0 -3
- package/modern/hooks/index.js +0 -3
- package/modern/hooks/utils/index.d.ts +0 -9
- package/modern/hooks/utils/index.js +0 -8
- package/modern/hooks/utils/useFirstRender.d.ts +0 -1
- package/modern/hooks/utils/useFirstRender.js +0 -8
- package/modern/hooks/utils/useGridApiContext.d.ts +0 -4
- package/modern/hooks/utils/useGridApiContext.js +0 -9
- package/modern/hooks/utils/useGridApiMethod.d.ts +0 -7
- package/modern/hooks/utils/useGridApiMethod.js +0 -12
- package/modern/hooks/utils/useGridApiRef.d.ts +0 -7
- package/modern/hooks/utils/useGridApiRef.js +0 -5
- package/modern/hooks/utils/useGridAriaAttributes.d.ts +0 -2
- package/modern/hooks/utils/useGridAriaAttributes.js +0 -28
- package/modern/hooks/utils/useGridComponentRenderer.d.ts +0 -12
- package/modern/hooks/utils/useGridComponentRenderer.js +0 -36
- package/modern/hooks/utils/useGridConfiguration.d.ts +0 -2
- package/modern/hooks/utils/useGridConfiguration.js +0 -9
- package/modern/hooks/utils/useGridEvent.d.ts +0 -12
- package/modern/hooks/utils/useGridEvent.js +0 -88
- package/modern/hooks/utils/useGridInitializeState.d.ts +0 -8
- package/modern/hooks/utils/useGridInitializeState.js +0 -8
- package/modern/hooks/utils/useGridLogger.d.ts +0 -4
- package/modern/hooks/utils/useGridLogger.js +0 -10
- package/modern/hooks/utils/useGridNativeEventListener.d.ts +0 -3
- package/modern/hooks/utils/useGridNativeEventListener.js +0 -17
- package/modern/hooks/utils/useGridPrivateApiContext.d.ts +0 -6
- package/modern/hooks/utils/useGridPrivateApiContext.js +0 -12
- package/modern/hooks/utils/useGridRootProps.d.ts +0 -2
- package/modern/hooks/utils/useGridRootProps.js +0 -9
- package/modern/hooks/utils/useGridSelector.d.ts +0 -8
- package/modern/hooks/utils/useGridSelector.js +0 -83
- package/modern/hooks/utils/useGridVisibleRows.d.ts +0 -26
- package/modern/hooks/utils/useGridVisibleRows.js +0 -17
- package/modern/hooks/utils/useIsSSR.d.ts +0 -1
- package/modern/hooks/utils/useIsSSR.js +0 -8
- package/modern/hooks/utils/useLazyRef.d.ts +0 -1
- package/modern/hooks/utils/useLazyRef.js +0 -1
- package/modern/hooks/utils/useOnMount.d.ts +0 -1
- package/modern/hooks/utils/useOnMount.js +0 -1
- package/modern/hooks/utils/useRunOnce.d.ts +0 -5
- package/modern/hooks/utils/useRunOnce.js +0 -18
- package/modern/hooks/utils/useTimeout.d.ts +0 -1
- package/modern/hooks/utils/useTimeout.js +0 -1
- package/modern/index.d.ts +0 -38
- package/modern/index.js +0 -38
- package/modern/internals/constants.d.ts +0 -9
- package/modern/internals/constants.js +0 -10
- package/modern/internals/demo/TailwindDemoContainer.d.ts +0 -11
- package/modern/internals/demo/TailwindDemoContainer.js +0 -55
- package/modern/internals/demo/index.d.ts +0 -1
- package/modern/internals/demo/index.js +0 -1
- package/modern/internals/index.d.ts +0 -112
- package/modern/internals/index.js +0 -90
- package/modern/internals/utils/attachPinnedStyle.d.ts +0 -2
- package/modern/internals/utils/attachPinnedStyle.js +0 -9
- package/modern/internals/utils/computeSlots.d.ts +0 -7
- package/modern/internals/utils/computeSlots.js +0 -18
- package/modern/internals/utils/getPinnedCellOffset.d.ts +0 -3
- package/modern/internals/utils/getPinnedCellOffset.js +0 -16
- package/modern/internals/utils/gridRowGroupingUtils.d.ts +0 -2
- package/modern/internals/utils/gridRowGroupingUtils.js +0 -9
- package/modern/internals/utils/index.d.ts +0 -4
- package/modern/internals/utils/index.js +0 -4
- package/modern/internals/utils/propValidation.d.ts +0 -4
- package/modern/internals/utils/propValidation.js +0 -12
- package/modern/locales/arSD.js +0 -197
- package/modern/locales/beBY.js +0 -220
- package/modern/locales/bgBG.d.ts +0 -2
- package/modern/locales/bgBG.js +0 -197
- package/modern/locales/bnBD.d.ts +0 -2
- package/modern/locales/bnBD.js +0 -194
- package/modern/locales/csCZ.d.ts +0 -2
- package/modern/locales/csCZ.js +0 -222
- package/modern/locales/daDK.d.ts +0 -2
- package/modern/locales/daDK.js +0 -197
- package/modern/locales/deDE.d.ts +0 -2
- package/modern/locales/deDE.js +0 -193
- package/modern/locales/elGR.d.ts +0 -2
- package/modern/locales/elGR.js +0 -198
- package/modern/locales/enUS.d.ts +0 -2
- package/modern/locales/enUS.js +0 -3
- package/modern/locales/esES.d.ts +0 -2
- package/modern/locales/esES.js +0 -195
- package/modern/locales/faIR.d.ts +0 -2
- package/modern/locales/faIR.js +0 -196
- package/modern/locales/fiFI.d.ts +0 -2
- package/modern/locales/fiFI.js +0 -197
- package/modern/locales/frFR.d.ts +0 -2
- package/modern/locales/frFR.js +0 -197
- package/modern/locales/heIL.d.ts +0 -2
- package/modern/locales/heIL.js +0 -195
- package/modern/locales/hrHR.d.ts +0 -1
- package/modern/locales/hrHR.js +0 -220
- package/modern/locales/huHU.d.ts +0 -2
- package/modern/locales/huHU.js +0 -194
- package/modern/locales/index.d.ts +0 -37
- package/modern/locales/index.js +0 -38
- package/modern/locales/isIS.d.ts +0 -2
- package/modern/locales/isIS.js +0 -197
- package/modern/locales/itIT.d.ts +0 -2
- package/modern/locales/itIT.js +0 -197
- package/modern/locales/jaJP.d.ts +0 -2
- package/modern/locales/jaJP.js +0 -197
- package/modern/locales/koKR.d.ts +0 -2
- package/modern/locales/koKR.js +0 -195
- package/modern/locales/nbNO.d.ts +0 -2
- package/modern/locales/nbNO.js +0 -197
- package/modern/locales/nlNL.d.ts +0 -2
- package/modern/locales/nlNL.js +0 -195
- package/modern/locales/nnNO.d.ts +0 -2
- package/modern/locales/nnNO.js +0 -197
- package/modern/locales/plPL.d.ts +0 -2
- package/modern/locales/plPL.js +0 -194
- package/modern/locales/ptBR.d.ts +0 -2
- package/modern/locales/ptBR.js +0 -195
- package/modern/locales/ptPT.d.ts +0 -1
- package/modern/locales/ptPT.js +0 -195
- package/modern/locales/roRO.d.ts +0 -2
- package/modern/locales/roRO.js +0 -195
- package/modern/locales/ruRU.d.ts +0 -2
- package/modern/locales/ruRU.js +0 -216
- package/modern/locales/skSK.d.ts +0 -2
- package/modern/locales/skSK.js +0 -222
- package/modern/locales/svSE.d.ts +0 -2
- package/modern/locales/svSE.js +0 -197
- package/modern/locales/trTR.d.ts +0 -2
- package/modern/locales/trTR.js +0 -195
- package/modern/locales/ukUA.d.ts +0 -2
- package/modern/locales/ukUA.js +0 -216
- package/modern/locales/urPK.d.ts +0 -2
- package/modern/locales/urPK.js +0 -197
- package/modern/locales/viVN.d.ts +0 -2
- package/modern/locales/viVN.js +0 -197
- package/modern/locales/zhCN.d.ts +0 -2
- package/modern/locales/zhCN.js +0 -192
- package/modern/locales/zhHK.d.ts +0 -1
- package/modern/locales/zhHK.js +0 -192
- package/modern/locales/zhTW.d.ts +0 -2
- package/modern/locales/zhTW.js +0 -192
- package/modern/material/augmentation.d.ts +0 -74
- package/modern/material/augmentation.js +0 -1
- package/modern/material/icons/GridColumnUnsortedIcon.d.ts +0 -8
- package/modern/material/icons/GridColumnUnsortedIcon.js +0 -16
- package/modern/material/icons/index.d.ts +0 -84
- package/modern/material/icons/index.js +0 -92
- package/modern/material/index.d.ts +0 -6
- package/modern/material/index.js +0 -665
- package/modern/material/variables.d.ts +0 -5
- package/modern/material/variables.js +0 -96
- package/modern/models/api/gridApiCommon.d.ts +0 -34
- package/modern/models/api/gridApiCommon.js +0 -1
- package/modern/models/api/gridApiCommunity.d.ts +0 -12
- package/modern/models/api/gridApiCommunity.js +0 -1
- package/modern/models/api/gridCallbackDetails.d.ts +0 -15
- package/modern/models/api/gridCallbackDetails.js +0 -1
- package/modern/models/api/gridColumnApi.d.ts +0 -74
- package/modern/models/api/gridColumnApi.js +0 -1
- package/modern/models/api/gridColumnGroupingApi.d.ts +0 -19
- package/modern/models/api/gridColumnGroupingApi.js +0 -1
- package/modern/models/api/gridColumnMenuApi.d.ts +0 -19
- package/modern/models/api/gridColumnMenuApi.js +0 -1
- package/modern/models/api/gridColumnSpanning.d.ts +0 -34
- package/modern/models/api/gridColumnSpanning.js +0 -1
- package/modern/models/api/gridCoreApi.d.ts +0 -96
- package/modern/models/api/gridCoreApi.js +0 -1
- package/modern/models/api/gridCsvExportApi.d.ts +0 -18
- package/modern/models/api/gridCsvExportApi.js +0 -1
- package/modern/models/api/gridDensityApi.d.ts +0 -17
- package/modern/models/api/gridDensityApi.js +0 -1
- package/modern/models/api/gridEditingApi.d.ts +0 -238
- package/modern/models/api/gridEditingApi.js +0 -1
- package/modern/models/api/gridFilterApi.d.ts +0 -67
- package/modern/models/api/gridFilterApi.js +0 -1
- package/modern/models/api/gridFocusApi.d.ts +0 -46
- package/modern/models/api/gridFocusApi.js +0 -1
- package/modern/models/api/gridHeaderFilteringApi.d.ts +0 -30
- package/modern/models/api/gridHeaderFilteringApi.js +0 -1
- package/modern/models/api/gridInfiniteLoaderApi.d.ts +0 -7
- package/modern/models/api/gridInfiniteLoaderApi.js +0 -1
- package/modern/models/api/gridLocaleTextApi.d.ts +0 -163
- package/modern/models/api/gridLocaleTextApi.js +0 -1
- package/modern/models/api/gridLoggerApi.d.ts +0 -11
- package/modern/models/api/gridLoggerApi.js +0 -1
- package/modern/models/api/gridParamsApi.d.ts +0 -107
- package/modern/models/api/gridParamsApi.js +0 -1
- package/modern/models/api/gridPreferencesPanelApi.d.ts +0 -17
- package/modern/models/api/gridPreferencesPanelApi.js +0 -1
- package/modern/models/api/gridPrintExportApi.d.ts +0 -11
- package/modern/models/api/gridPrintExportApi.js +0 -1
- package/modern/models/api/gridRowApi.d.ts +0 -120
- package/modern/models/api/gridRowApi.js +0 -1
- package/modern/models/api/gridRowSelectionApi.d.ts +0 -90
- package/modern/models/api/gridRowSelectionApi.js +0 -1
- package/modern/models/api/gridRowsMetaApi.d.ts +0 -60
- package/modern/models/api/gridRowsMetaApi.js +0 -1
- package/modern/models/api/gridScrollApi.d.ts +0 -24
- package/modern/models/api/gridScrollApi.js +0 -1
- package/modern/models/api/gridSortApi.d.ts +0 -46
- package/modern/models/api/gridSortApi.js +0 -1
- package/modern/models/api/gridStateApi.d.ts +0 -33
- package/modern/models/api/gridStateApi.js +0 -1
- package/modern/models/api/gridVirtualizationApi.d.ts +0 -19
- package/modern/models/api/gridVirtualizationApi.js +0 -1
- package/modern/models/api/index.d.ts +0 -23
- package/modern/models/api/index.js +0 -13
- package/modern/models/colDef/gridColDef.d.ts +0 -317
- package/modern/models/colDef/gridColDef.js +0 -1
- package/modern/models/colDef/gridColType.d.ts +0 -11
- package/modern/models/colDef/gridColType.js +0 -1
- package/modern/models/colDef/gridColumnTypesRecord.d.ts +0 -3
- package/modern/models/colDef/gridColumnTypesRecord.js +0 -1
- package/modern/models/colDef/index.d.ts +0 -3
- package/modern/models/colDef/index.js +0 -6
- package/modern/models/configuration/gridConfiguration.d.ts +0 -15
- package/modern/models/configuration/gridConfiguration.js +0 -1
- package/modern/models/configuration/gridRowConfiguration.d.ts +0 -12
- package/modern/models/configuration/gridRowConfiguration.js +0 -1
- package/modern/models/controlStateItem.d.ts +0 -14
- package/modern/models/controlStateItem.js +0 -1
- package/modern/models/cursorCoordinates.d.ts +0 -4
- package/modern/models/cursorCoordinates.js +0 -1
- package/modern/models/elementSize.d.ts +0 -13
- package/modern/models/elementSize.js +0 -1
- package/modern/models/events/gridEventListener.d.ts +0 -8
- package/modern/models/events/gridEventListener.js +0 -1
- package/modern/models/events/gridEventLookup.d.ts +0 -661
- package/modern/models/events/gridEventLookup.js +0 -1
- package/modern/models/events/gridEventPublisher.d.ts +0 -29
- package/modern/models/events/gridEventPublisher.js +0 -1
- package/modern/models/events/index.d.ts +0 -3
- package/modern/models/events/index.js +0 -3
- package/modern/models/gridApiCaches.d.ts +0 -6
- package/modern/models/gridApiCaches.js +0 -1
- package/modern/models/gridBaseSlots.d.ts +0 -260
- package/modern/models/gridBaseSlots.js +0 -1
- package/modern/models/gridCell.d.ts +0 -30
- package/modern/models/gridCell.js +0 -1
- package/modern/models/gridCellClass.d.ts +0 -10
- package/modern/models/gridCellClass.js +0 -1
- package/modern/models/gridColumnGrouping.d.ts +0 -41
- package/modern/models/gridColumnGrouping.js +0 -11
- package/modern/models/gridColumnHeaderClass.d.ts +0 -9
- package/modern/models/gridColumnHeaderClass.js +0 -1
- package/modern/models/gridColumnSpanning.d.ts +0 -12
- package/modern/models/gridColumnSpanning.js +0 -1
- package/modern/models/gridDataSource.d.ts +0 -70
- package/modern/models/gridDataSource.js +0 -1
- package/modern/models/gridDensity.d.ts +0 -4
- package/modern/models/gridDensity.js +0 -1
- package/modern/models/gridEditRowModel.d.ts +0 -28
- package/modern/models/gridEditRowModel.js +0 -16
- package/modern/models/gridExport.d.ts +0 -157
- package/modern/models/gridExport.js +0 -1
- package/modern/models/gridFeatureMode.d.ts +0 -1
- package/modern/models/gridFeatureMode.js +0 -1
- package/modern/models/gridFilterInputComponent.d.ts +0 -32
- package/modern/models/gridFilterInputComponent.js +0 -1
- package/modern/models/gridFilterItem.d.ts +0 -30
- package/modern/models/gridFilterItem.js +0 -11
- package/modern/models/gridFilterModel.d.ts +0 -34
- package/modern/models/gridFilterModel.js +0 -1
- package/modern/models/gridFilterOperator.d.ts +0 -58
- package/modern/models/gridFilterOperator.js +0 -1
- package/modern/models/gridHeaderFilteringModel.d.ts +0 -6
- package/modern/models/gridHeaderFilteringModel.js +0 -1
- package/modern/models/gridIconSlotsComponent.d.ts +0 -191
- package/modern/models/gridIconSlotsComponent.js +0 -1
- package/modern/models/gridPaginationProps.d.ts +0 -16
- package/modern/models/gridPaginationProps.js +0 -1
- package/modern/models/gridRenderContextProps.d.ts +0 -55
- package/modern/models/gridRenderContextProps.js +0 -1
- package/modern/models/gridRowSelectionManager.d.ts +0 -9
- package/modern/models/gridRowSelectionManager.js +0 -36
- package/modern/models/gridRowSelectionModel.d.ts +0 -9
- package/modern/models/gridRowSelectionModel.js +0 -1
- package/modern/models/gridRows.d.ts +0 -178
- package/modern/models/gridRows.js +0 -1
- package/modern/models/gridSlotsComponent.d.ts +0 -215
- package/modern/models/gridSlotsComponent.js +0 -1
- package/modern/models/gridSlotsComponentsProps.d.ts +0 -124
- package/modern/models/gridSlotsComponentsProps.js +0 -1
- package/modern/models/gridSortModel.d.ts +0 -30
- package/modern/models/gridSortModel.js +0 -1
- package/modern/models/gridStateCommunity.d.ts +0 -60
- package/modern/models/gridStateCommunity.js +0 -1
- package/modern/models/index.d.ts +0 -31
- package/modern/models/index.js +0 -30
- package/modern/models/logger.d.ts +0 -6
- package/modern/models/logger.js +0 -1
- package/modern/models/muiEvent.d.ts +0 -5
- package/modern/models/muiEvent.js +0 -1
- package/modern/models/params/gridCellParams.d.ts +0 -113
- package/modern/models/params/gridCellParams.js +0 -1
- package/modern/models/params/gridColumnGroupHeaderParams.d.ts +0 -30
- package/modern/models/params/gridColumnGroupHeaderParams.js +0 -1
- package/modern/models/params/gridColumnHeaderParams.d.ts +0 -15
- package/modern/models/params/gridColumnHeaderParams.js +0 -1
- package/modern/models/params/gridColumnOrderChangeParams.d.ts +0 -18
- package/modern/models/params/gridColumnOrderChangeParams.js +0 -1
- package/modern/models/params/gridColumnResizeParams.d.ts +0 -19
- package/modern/models/params/gridColumnResizeParams.js +0 -1
- package/modern/models/params/gridEditCellParams.d.ts +0 -65
- package/modern/models/params/gridEditCellParams.js +0 -27
- package/modern/models/params/gridHeaderSelectionCheckboxParams.d.ts +0 -3
- package/modern/models/params/gridHeaderSelectionCheckboxParams.js +0 -1
- package/modern/models/params/gridMenuParams.d.ts +0 -6
- package/modern/models/params/gridMenuParams.js +0 -1
- package/modern/models/params/gridPreferencePanelParams.d.ts +0 -2
- package/modern/models/params/gridPreferencePanelParams.js +0 -1
- package/modern/models/params/gridRowParams.d.ts +0 -110
- package/modern/models/params/gridRowParams.js +0 -44
- package/modern/models/params/gridRowSelectionCheckboxParams.d.ts +0 -5
- package/modern/models/params/gridRowSelectionCheckboxParams.js +0 -1
- package/modern/models/params/gridScrollParams.d.ts +0 -14
- package/modern/models/params/gridScrollParams.js +0 -1
- package/modern/models/params/gridValueOptionsParams.d.ts +0 -18
- package/modern/models/params/gridValueOptionsParams.js +0 -1
- package/modern/models/params/index.d.ts +0 -13
- package/modern/models/params/index.js +0 -13
- package/modern/models/props/DataGridProps.d.ts +0 -866
- package/modern/models/props/DataGridProps.js +0 -1
- package/modern/package.json +0 -1
- package/modern/themeAugmentation/index.d.ts +0 -2
- package/modern/themeAugmentation/index.js +0 -4
- package/modern/themeAugmentation/overrides.d.ts +0 -18
- package/modern/themeAugmentation/overrides.js +0 -1
- package/modern/themeAugmentation/props.d.ts +0 -15
- package/modern/themeAugmentation/props.js +0 -1
- package/modern/utils/ResizeObserver.d.ts +0 -4
- package/modern/utils/ResizeObserver.js +0 -10
- package/modern/utils/Store.d.ts +0 -11
- package/modern/utils/Store.js +0 -24
- package/modern/utils/assert.d.ts +0 -2
- package/modern/utils/assert.js +0 -3
- package/modern/utils/cellBorderUtils.d.ts +0 -3
- package/modern/utils/cellBorderUtils.js +0 -21
- package/modern/utils/cleanupTracking/CleanupTracking.d.ts +0 -9
- package/modern/utils/cleanupTracking/CleanupTracking.js +0 -1
- package/modern/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +0 -7
- package/modern/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.js +0 -18
- package/modern/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +0 -9
- package/modern/utils/cleanupTracking/TimerBasedCleanupTracking.js +0 -38
- package/modern/utils/composeGridClasses.d.ts +0 -3
- package/modern/utils/composeGridClasses.js +0 -5
- package/modern/utils/createControllablePromise.d.ts +0 -5
- package/modern/utils/createControllablePromise.js +0 -11
- package/modern/utils/createSelector.d.ts +0 -23
- package/modern/utils/createSelector.js +0 -94
- package/modern/utils/css/context.d.ts +0 -14
- package/modern/utils/css/context.js +0 -54
- package/modern/utils/doesSupportPreventScroll.d.ts +0 -1
- package/modern/utils/doesSupportPreventScroll.js +0 -13
- package/modern/utils/domUtils.d.ts +0 -29
- package/modern/utils/domUtils.js +0 -204
- package/modern/utils/exportAs.d.ts +0 -12
- package/modern/utils/exportAs.js +0 -38
- package/modern/utils/getGridLocalization.d.ts +0 -11
- package/modern/utils/getGridLocalization.js +0 -9
- package/modern/utils/getPublicApiRef.d.ts +0 -3
- package/modern/utils/getPublicApiRef.js +0 -5
- package/modern/utils/index.d.ts +0 -2
- package/modern/utils/index.js +0 -1
- package/modern/utils/isJSDOM.d.ts +0 -1
- package/modern/utils/isJSDOM.js +0 -1
- package/modern/utils/keyboardUtils.d.ts +0 -14
- package/modern/utils/keyboardUtils.js +0 -37
- package/modern/utils/platform.d.ts +0 -1
- package/modern/utils/platform.js +0 -2
- package/modern/utils/roundToDecimalPlaces.d.ts +0 -1
- package/modern/utils/roundToDecimalPlaces.js +0 -3
- package/modern/utils/rtlFlipSide.d.ts +0 -2
- package/modern/utils/rtlFlipSide.js +0 -22
- package/modern/utils/utils.d.ts +0 -30
- package/modern/utils/utils.js +0 -82
- package/modern/utils/weakMapMemoize.d.ts +0 -20
- package/modern/utils/weakMapMemoize.js +0 -128
- package/tsconfig.build.tsbuildinfo +0 -1
- /package/esm/{models/muiEvent.js → hooks/features/pivoting/gridPivotingInterfaces.js} +0 -0
- /package/{models/muiEvent.js → hooks/features/pivoting/gridPivotingInterfaces.js} +0 -0
|
@@ -1,866 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
3
|
-
import { SxProps } from '@mui/system';
|
|
4
|
-
import { Theme } from '@mui/material/styles';
|
|
5
|
-
import { GridDensity } from "../gridDensity.js";
|
|
6
|
-
import { GridEditMode } from "../gridEditRowModel.js";
|
|
7
|
-
import { GridFeatureMode } from "../gridFeatureMode.js";
|
|
8
|
-
import { Logger } from "../logger.js";
|
|
9
|
-
import { GridSortDirection, GridSortModel } from "../gridSortModel.js";
|
|
10
|
-
import { GridSlotsComponent } from "../gridSlotsComponent.js";
|
|
11
|
-
import { GridRowId, GridRowIdGetter, GridRowsProp, GridValidRowModel } from "../gridRows.js";
|
|
12
|
-
import { GridEventListener } from "../events/index.js";
|
|
13
|
-
import { GridCallbackDetails, GridLocaleText } from "../api/index.js";
|
|
14
|
-
import { GridApiCommunity } from "../api/gridApiCommunity.js";
|
|
15
|
-
import type { GridColDef, GridListViewColDef } from '../colDef/gridColDef';
|
|
16
|
-
import { GridClasses } from "../../constants/gridClasses.js";
|
|
17
|
-
import { GridRowHeightParams, GridRowHeightReturnValue, GridRowParams, GridRowSpacing, GridRowSpacingParams, GridRowClassNameParams } from "../params/index.js";
|
|
18
|
-
import { GridCellParams } from "../params/gridCellParams.js";
|
|
19
|
-
import { GridFilterModel } from "../gridFilterModel.js";
|
|
20
|
-
import { GridRowSelectionModel } from "../gridRowSelectionModel.js";
|
|
21
|
-
import { GridInitialStateCommunity } from "../gridStateCommunity.js";
|
|
22
|
-
import { GridSlotsComponentsProps } from "../gridSlotsComponentsProps.js";
|
|
23
|
-
import { GridColumnVisibilityModel } from "../../hooks/features/columns/gridColumnsInterfaces.js";
|
|
24
|
-
import { GridCellModesModel, GridRowModesModel } from "../api/gridEditingApi.js";
|
|
25
|
-
import { GridColumnGroupingModel } from "../gridColumnGrouping.js";
|
|
26
|
-
import { GridPaginationMeta, GridPaginationModel } from "../gridPaginationProps.js";
|
|
27
|
-
import type { GridAutosizeOptions } from '../../hooks/features/columnResize';
|
|
28
|
-
import type { GridDataSource, GridDataSourceCache } from '../gridDataSource';
|
|
29
|
-
import type { GridRowSelectionPropagation } from '../gridRowSelectionModel';
|
|
30
|
-
import type { GridGetRowsError, GridUpdateRowError } from '../../hooks/features/dataSource/gridDataSourceError';
|
|
31
|
-
type CommonProps = {
|
|
32
|
-
className?: string;
|
|
33
|
-
style?: React.CSSProperties;
|
|
34
|
-
};
|
|
35
|
-
export interface GridExperimentalFeatures {
|
|
36
|
-
/**
|
|
37
|
-
* Emits a warning if the cell receives focus without also syncing the focus state.
|
|
38
|
-
* Only works if NODE_ENV=test.
|
|
39
|
-
*/
|
|
40
|
-
warnIfFocusStateIsNotSynced: boolean;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* The props users can give to the Data Grid component.
|
|
44
|
-
*/
|
|
45
|
-
export type DataGridProps<R extends GridValidRowModel = any> = Omit<Partial<DataGridPropsWithDefaultValues<R>> & DataGridPropsWithComplexDefaultValueBeforeProcessing & DataGridPropsWithoutDefaultValue<R>, DataGridForcedPropsKey> & {
|
|
46
|
-
pagination?: true;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* The props of the Data Grid component after the pre-processing phase that the user should not be able to override.
|
|
50
|
-
* Those are usually used in feature-hook for which the pro-plan has more advanced features (eg: multi-sorting, multi-filtering, ...).
|
|
51
|
-
*/
|
|
52
|
-
export type DataGridForcedPropsKey = 'checkboxSelectionVisibleOnly' | 'disableMultipleColumnsFiltering' | 'disableMultipleColumnsSorting' | 'disableColumnReorder' | 'keepColumnPositionIfDraggedOutside' | 'throttleRowsMs' | 'hideFooterRowCount' | 'pagination' | 'signature' | 'listView';
|
|
53
|
-
/**
|
|
54
|
-
* The Data Grid options with a default value that must be merged with the value given through props.
|
|
55
|
-
*/
|
|
56
|
-
export interface DataGridPropsWithComplexDefaultValueAfterProcessing {
|
|
57
|
-
slots: GridSlotsComponent;
|
|
58
|
-
localeText: GridLocaleText;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* The Data Grid options with a default value that must be merged with the value given through props.
|
|
62
|
-
*/
|
|
63
|
-
export interface DataGridPropsWithComplexDefaultValueBeforeProcessing {
|
|
64
|
-
/**
|
|
65
|
-
* Overridable components.
|
|
66
|
-
*/
|
|
67
|
-
slots?: Partial<GridSlotsComponent>;
|
|
68
|
-
/**
|
|
69
|
-
* Set the locale text of the Data Grid.
|
|
70
|
-
* You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository.
|
|
71
|
-
*/
|
|
72
|
-
localeText?: Partial<GridLocaleText>;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* The Data Grid options with a default value overridable through props
|
|
76
|
-
* None of the entry of this interface should be optional, they all have default values and `DataGridProps` already applies a `Partial<DataGridSimpleOptions>` for the public interface
|
|
77
|
-
* The controlled model do not have a default value at the prop processing level, so they must be defined in `DataGridOtherProps`
|
|
78
|
-
* TODO: add multiSortKey
|
|
79
|
-
*/
|
|
80
|
-
export interface DataGridPropsWithDefaultValues<R extends GridValidRowModel = any> {
|
|
81
|
-
/**
|
|
82
|
-
* If `true`, the Data Grid height is dynamic and follows the number of rows in the Data Grid.
|
|
83
|
-
* @default false
|
|
84
|
-
* @deprecated Use flex parent container instead: https://mui.com/x/react-data-grid/layout/#flex-parent-container
|
|
85
|
-
* @example
|
|
86
|
-
* <div style={{ display: 'flex', flexDirection: 'column' }}>
|
|
87
|
-
* <DataGrid />
|
|
88
|
-
* </div>
|
|
89
|
-
*/
|
|
90
|
-
autoHeight: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* If `true`, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar.
|
|
93
|
-
* @default false
|
|
94
|
-
*/
|
|
95
|
-
autoPageSize: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
98
|
-
* @default false
|
|
99
|
-
*/
|
|
100
|
-
checkboxSelection: boolean;
|
|
101
|
-
/**
|
|
102
|
-
* If `true`, the "Select All" header checkbox selects only the rows on the current page. To be used in combination with `checkboxSelection`.
|
|
103
|
-
* It only works if the pagination is enabled.
|
|
104
|
-
* @default false
|
|
105
|
-
*/
|
|
106
|
-
checkboxSelectionVisibleOnly: boolean;
|
|
107
|
-
/**
|
|
108
|
-
* Column region in pixels to render before/after the viewport
|
|
109
|
-
* @default 150
|
|
110
|
-
*/
|
|
111
|
-
columnBufferPx: number;
|
|
112
|
-
/**
|
|
113
|
-
* Row region in pixels to render before/after the viewport
|
|
114
|
-
* @default 150
|
|
115
|
-
*/
|
|
116
|
-
rowBufferPx: number;
|
|
117
|
-
/**
|
|
118
|
-
* If `false`, the row selection mode is disabled.
|
|
119
|
-
* @default true
|
|
120
|
-
*/
|
|
121
|
-
rowSelection: boolean;
|
|
122
|
-
/**
|
|
123
|
-
* The milliseconds throttle delay for resizing the grid.
|
|
124
|
-
* @default 60
|
|
125
|
-
*/
|
|
126
|
-
resizeThrottleMs: number;
|
|
127
|
-
/**
|
|
128
|
-
* If `true`, column filters are disabled.
|
|
129
|
-
* @default false
|
|
130
|
-
*/
|
|
131
|
-
disableColumnFilter: boolean;
|
|
132
|
-
/**
|
|
133
|
-
* If `true`, the column menu is disabled.
|
|
134
|
-
* @default false
|
|
135
|
-
*/
|
|
136
|
-
disableColumnMenu: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* If `true`, hiding/showing columns is disabled.
|
|
139
|
-
* @default false
|
|
140
|
-
*/
|
|
141
|
-
disableColumnSelector: boolean;
|
|
142
|
-
/**
|
|
143
|
-
* If `true`, the density selector is disabled.
|
|
144
|
-
* @default false
|
|
145
|
-
*/
|
|
146
|
-
disableDensitySelector: boolean;
|
|
147
|
-
/**
|
|
148
|
-
* If `true`, `eval()` is not used for performance optimization.
|
|
149
|
-
* @default false
|
|
150
|
-
*/
|
|
151
|
-
disableEval: boolean;
|
|
152
|
-
/**
|
|
153
|
-
* If `true`, filtering with multiple columns is disabled.
|
|
154
|
-
* @default false
|
|
155
|
-
*/
|
|
156
|
-
disableMultipleColumnsFiltering: boolean;
|
|
157
|
-
/**
|
|
158
|
-
* If `true`, multiple selection using the Ctrl/CMD or Shift key is disabled.
|
|
159
|
-
* The MIT DataGrid will ignore this prop, unless `checkboxSelection` is enabled.
|
|
160
|
-
* @default false (`!props.checkboxSelection` for MIT Data Grid)
|
|
161
|
-
*/
|
|
162
|
-
disableMultipleRowSelection: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* If `true`, the column sorting feature will be disabled.
|
|
165
|
-
* @default false
|
|
166
|
-
*/
|
|
167
|
-
disableColumnSorting: boolean;
|
|
168
|
-
/**
|
|
169
|
-
* If `true`, the sorting with multiple columns is disabled.
|
|
170
|
-
* @default false
|
|
171
|
-
*/
|
|
172
|
-
disableMultipleColumnsSorting: boolean;
|
|
173
|
-
/**
|
|
174
|
-
* If `true`, the selection on click on a row or cell is disabled.
|
|
175
|
-
* @default false
|
|
176
|
-
*/
|
|
177
|
-
disableRowSelectionOnClick: boolean;
|
|
178
|
-
/**
|
|
179
|
-
* If `true`, the virtualization is disabled.
|
|
180
|
-
* @default false
|
|
181
|
-
*/
|
|
182
|
-
disableVirtualization: boolean;
|
|
183
|
-
/**
|
|
184
|
-
* Controls whether to use the cell or row editing.
|
|
185
|
-
* @default "cell"
|
|
186
|
-
*/
|
|
187
|
-
editMode: GridEditMode;
|
|
188
|
-
/**
|
|
189
|
-
* Filtering can be processed on the server or client-side.
|
|
190
|
-
* Set it to 'server' if you would like to handle filtering on the server-side.
|
|
191
|
-
* @default "client"
|
|
192
|
-
*/
|
|
193
|
-
filterMode: GridFeatureMode;
|
|
194
|
-
/**
|
|
195
|
-
* The milliseconds delay to wait after a keystroke before triggering filtering.
|
|
196
|
-
* @default 150
|
|
197
|
-
*/
|
|
198
|
-
filterDebounceMs: number;
|
|
199
|
-
/**
|
|
200
|
-
* Sets the height in pixel of the column headers in the Data Grid.
|
|
201
|
-
* @default 56
|
|
202
|
-
*/
|
|
203
|
-
columnHeaderHeight: number;
|
|
204
|
-
/**
|
|
205
|
-
* If `true`, the footer component is hidden.
|
|
206
|
-
* @default false
|
|
207
|
-
*/
|
|
208
|
-
hideFooter: boolean;
|
|
209
|
-
/**
|
|
210
|
-
* If `true`, the pagination component in the footer is hidden.
|
|
211
|
-
* @default false
|
|
212
|
-
*/
|
|
213
|
-
hideFooterPagination: boolean;
|
|
214
|
-
/**
|
|
215
|
-
* If `true`, the row count in the footer is hidden.
|
|
216
|
-
* It has no effect if the pagination is enabled.
|
|
217
|
-
* @default false
|
|
218
|
-
*/
|
|
219
|
-
hideFooterRowCount: boolean;
|
|
220
|
-
/**
|
|
221
|
-
* If `true`, the selected row count in the footer is hidden.
|
|
222
|
-
* @default false
|
|
223
|
-
*/
|
|
224
|
-
hideFooterSelectedRowCount: boolean;
|
|
225
|
-
/**
|
|
226
|
-
* If `true`, the diacritics (accents) are ignored when filtering or quick filtering.
|
|
227
|
-
* E.g. when filter value is `cafe`, the rows with `café` will be visible.
|
|
228
|
-
* @default false
|
|
229
|
-
*/
|
|
230
|
-
ignoreDiacritics: boolean;
|
|
231
|
-
/**
|
|
232
|
-
* If `true`, the selection model will retain selected rows that do not exist.
|
|
233
|
-
* Useful when using server side pagination and row selections need to be retained
|
|
234
|
-
* when changing pages.
|
|
235
|
-
* @default false
|
|
236
|
-
*/
|
|
237
|
-
keepNonExistentRowsSelected: boolean;
|
|
238
|
-
/**
|
|
239
|
-
* Pass a custom logger in the components that implements the [[Logger]] interface.
|
|
240
|
-
* @default console
|
|
241
|
-
*/
|
|
242
|
-
logger: Logger;
|
|
243
|
-
/**
|
|
244
|
-
* Allows to pass the logging level or false to turn off logging.
|
|
245
|
-
* @default "error" ("warn" in dev mode)
|
|
246
|
-
*/
|
|
247
|
-
logLevel: keyof Logger | false;
|
|
248
|
-
/**
|
|
249
|
-
* If `true`, a loading overlay is displayed.
|
|
250
|
-
* @default false
|
|
251
|
-
*/
|
|
252
|
-
loading: boolean;
|
|
253
|
-
/**
|
|
254
|
-
* If `true`, pagination is enabled.
|
|
255
|
-
* @default false
|
|
256
|
-
*/
|
|
257
|
-
pagination: boolean;
|
|
258
|
-
/**
|
|
259
|
-
* Pagination can be processed on the server or client-side.
|
|
260
|
-
* Set it to 'client' if you would like to handle the pagination on the client-side.
|
|
261
|
-
* Set it to 'server' if you would like to handle the pagination on the server-side.
|
|
262
|
-
* @default "client"
|
|
263
|
-
*/
|
|
264
|
-
paginationMode: GridFeatureMode;
|
|
265
|
-
/**
|
|
266
|
-
* Set of rows of type [[GridRowsProp]].
|
|
267
|
-
* @default []
|
|
268
|
-
*/
|
|
269
|
-
rows: GridRowsProp<R>;
|
|
270
|
-
/**
|
|
271
|
-
* Sets the height in pixel of a row in the Data Grid.
|
|
272
|
-
* @default 52
|
|
273
|
-
*/
|
|
274
|
-
rowHeight: number;
|
|
275
|
-
/**
|
|
276
|
-
* Select the pageSize dynamically using the component UI.
|
|
277
|
-
* @default [25, 50, 100]
|
|
278
|
-
*/
|
|
279
|
-
pageSizeOptions: ReadonlyArray<number | {
|
|
280
|
-
value: number;
|
|
281
|
-
label: string;
|
|
282
|
-
}>;
|
|
283
|
-
/**
|
|
284
|
-
* Sets the type of space between rows added by `getRowSpacing`.
|
|
285
|
-
* @default "margin"
|
|
286
|
-
*/
|
|
287
|
-
rowSpacingType: 'margin' | 'border';
|
|
288
|
-
/**
|
|
289
|
-
* If `true`, vertical borders will be displayed between cells.
|
|
290
|
-
* @default false
|
|
291
|
-
*/
|
|
292
|
-
showCellVerticalBorder: boolean;
|
|
293
|
-
/**
|
|
294
|
-
* If `true`, vertical borders will be displayed between column header items.
|
|
295
|
-
* @default false
|
|
296
|
-
*/
|
|
297
|
-
showColumnVerticalBorder: boolean;
|
|
298
|
-
/**
|
|
299
|
-
* If `true`, the toolbar is displayed.
|
|
300
|
-
* @default false
|
|
301
|
-
*/
|
|
302
|
-
showToolbar: boolean;
|
|
303
|
-
/**
|
|
304
|
-
* The order of the sorting sequence.
|
|
305
|
-
* @default ['asc', 'desc', null]
|
|
306
|
-
*/
|
|
307
|
-
sortingOrder: readonly GridSortDirection[];
|
|
308
|
-
/**
|
|
309
|
-
* Sorting can be processed on the server or client-side.
|
|
310
|
-
* Set it to 'client' if you would like to handle sorting on the client-side.
|
|
311
|
-
* Set it to 'server' if you would like to handle sorting on the server-side.
|
|
312
|
-
* @default "client"
|
|
313
|
-
*/
|
|
314
|
-
sortingMode: GridFeatureMode;
|
|
315
|
-
/**
|
|
316
|
-
* If positive, the Data Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
317
|
-
* It can be useful if you have a high update rate but do not want to do heavy work like filtering / sorting or rendering on each individual update.
|
|
318
|
-
* @default 0
|
|
319
|
-
*/
|
|
320
|
-
throttleRowsMs: number;
|
|
321
|
-
/**
|
|
322
|
-
* If `true`, reordering columns is disabled.
|
|
323
|
-
* @default false
|
|
324
|
-
*/
|
|
325
|
-
disableColumnReorder: boolean;
|
|
326
|
-
/**
|
|
327
|
-
* If `true`, resizing columns is disabled.
|
|
328
|
-
* @default false
|
|
329
|
-
*/
|
|
330
|
-
disableColumnResize: boolean;
|
|
331
|
-
/**
|
|
332
|
-
* If `true`, moving the mouse pointer outside the Data Grid before releasing the mouse button
|
|
333
|
-
* in a column re-order action will not cause the column to jump back to its original position.
|
|
334
|
-
* @default false
|
|
335
|
-
*/
|
|
336
|
-
keepColumnPositionIfDraggedOutside: boolean;
|
|
337
|
-
/**
|
|
338
|
-
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
339
|
-
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
340
|
-
* @default false
|
|
341
|
-
*/
|
|
342
|
-
ignoreValueFormatterDuringExport: boolean | {
|
|
343
|
-
csvExport?: boolean;
|
|
344
|
-
clipboardExport?: boolean;
|
|
345
|
-
};
|
|
346
|
-
/**
|
|
347
|
-
* The character used to separate cell values when copying to the clipboard.
|
|
348
|
-
* @default '\t'
|
|
349
|
-
*/
|
|
350
|
-
clipboardCopyCellDelimiter: string;
|
|
351
|
-
/**
|
|
352
|
-
* If `true`, columns are autosized after the datagrid is mounted.
|
|
353
|
-
* @default false
|
|
354
|
-
*/
|
|
355
|
-
autosizeOnMount: boolean;
|
|
356
|
-
/**
|
|
357
|
-
* If `true`, column autosizing on header separator double-click is disabled.
|
|
358
|
-
* @default false
|
|
359
|
-
*/
|
|
360
|
-
disableAutosize: boolean;
|
|
361
|
-
/**
|
|
362
|
-
* If `true`, the Data Grid will auto span the cells over the rows having the same value.
|
|
363
|
-
* @default false
|
|
364
|
-
*/
|
|
365
|
-
rowSpanning: boolean;
|
|
366
|
-
/**
|
|
367
|
-
* If `true`, the Data Grid enables column virtualization when `getRowHeight` is set to `() => 'auto'`.
|
|
368
|
-
* By default, column virtualization is disabled when dynamic row height is enabled to measure the row height correctly.
|
|
369
|
-
* For datasets with a large number of columns, this can cause performance issues.
|
|
370
|
-
* The downside of enabling this prop is that the row height will be estimated based the cells that are currently rendered, which can cause row height change when scrolling horizontally.
|
|
371
|
-
* @default false
|
|
372
|
-
*/
|
|
373
|
-
virtualizeColumnsWithAutoRowHeight: boolean;
|
|
374
|
-
}
|
|
375
|
-
/**
|
|
376
|
-
* The Data Grid props with no default value.
|
|
377
|
-
*/
|
|
378
|
-
export interface DataGridPropsWithoutDefaultValue<R extends GridValidRowModel = any> extends CommonProps {
|
|
379
|
-
/**
|
|
380
|
-
* The ref object that allows Data Grid manipulation. Can be instantiated with `useGridApiRef()`.
|
|
381
|
-
*/
|
|
382
|
-
apiRef?: RefObject<GridApiCommunity | null>;
|
|
383
|
-
/**
|
|
384
|
-
* Signal to the underlying logic what version of the public component API
|
|
385
|
-
* of the Data Grid is exposed [[GridSignature]].
|
|
386
|
-
* @ignore - do not document.
|
|
387
|
-
*/
|
|
388
|
-
signature?: string;
|
|
389
|
-
/**
|
|
390
|
-
* Override or extend the styles applied to the component.
|
|
391
|
-
*/
|
|
392
|
-
classes?: Partial<GridClasses>;
|
|
393
|
-
/**
|
|
394
|
-
* The data source object.
|
|
395
|
-
*/
|
|
396
|
-
dataSource?: GridDataSource;
|
|
397
|
-
/**
|
|
398
|
-
* Data source cache object.
|
|
399
|
-
*/
|
|
400
|
-
dataSourceCache?: GridDataSourceCache | null;
|
|
401
|
-
/**
|
|
402
|
-
* Set the density of the Data Grid.
|
|
403
|
-
* @default "standard"
|
|
404
|
-
*/
|
|
405
|
-
density?: GridDensity;
|
|
406
|
-
/**
|
|
407
|
-
* Set the total number of rows, if it is different from the length of the value `rows` prop.
|
|
408
|
-
* If some rows have children (for instance in the tree data), this number represents the amount of top level rows.
|
|
409
|
-
* Only works with `paginationMode="server"`, ignored when `paginationMode="client"`.
|
|
410
|
-
*/
|
|
411
|
-
rowCount?: number;
|
|
412
|
-
/**
|
|
413
|
-
* Use if the actual rowCount is not known upfront, but an estimation is available.
|
|
414
|
-
* If some rows have children (for instance in the tree data), this number represents the amount of top level rows.
|
|
415
|
-
* Applicable only with `paginationMode="server"` and when `rowCount="-1"`
|
|
416
|
-
*/
|
|
417
|
-
estimatedRowCount?: number;
|
|
418
|
-
/**
|
|
419
|
-
* Override the height/width of the Data Grid inner scrollbar.
|
|
420
|
-
*/
|
|
421
|
-
scrollbarSize?: number;
|
|
422
|
-
/**
|
|
423
|
-
* Function that applies CSS classes dynamically on cells.
|
|
424
|
-
* @param {GridCellParams} params With all properties from [[GridCellParams]].
|
|
425
|
-
* @returns {string} The CSS class to apply to the cell.
|
|
426
|
-
*/
|
|
427
|
-
getCellClassName?: (params: GridCellParams<any, R>) => string;
|
|
428
|
-
/**
|
|
429
|
-
* Function that applies CSS classes dynamically on rows.
|
|
430
|
-
* @param {GridRowClassNameParams} params With all properties from [[GridRowClassNameParams]].
|
|
431
|
-
* @returns {string} The CSS class to apply to the row.
|
|
432
|
-
*/
|
|
433
|
-
getRowClassName?: (params: GridRowClassNameParams<R>) => string;
|
|
434
|
-
/**
|
|
435
|
-
* Function that sets the row height per row.
|
|
436
|
-
* @param {GridRowHeightParams} params With all properties from [[GridRowHeightParams]].
|
|
437
|
-
* @returns {GridRowHeightReturnValue} The row height value. If `null` or `undefined` then the default row height is applied. If "auto" then the row height is calculated based on the content.
|
|
438
|
-
*/
|
|
439
|
-
getRowHeight?: (params: GridRowHeightParams) => GridRowHeightReturnValue;
|
|
440
|
-
/**
|
|
441
|
-
* Function that returns the estimated height for a row.
|
|
442
|
-
* Only works if dynamic row height is used.
|
|
443
|
-
* Once the row height is measured this value is discarded.
|
|
444
|
-
* @param {GridRowHeightParams} params With all properties from [[GridRowHeightParams]].
|
|
445
|
-
* @returns {number | null} The estimated row height value. If `null` or `undefined` then the default row height, based on the density, is applied.
|
|
446
|
-
*/
|
|
447
|
-
getEstimatedRowHeight?: (params: GridRowHeightParams) => number | null;
|
|
448
|
-
/**
|
|
449
|
-
* Function that allows to specify the spacing between rows.
|
|
450
|
-
* @param {GridRowSpacingParams} params With all properties from [[GridRowSpacingParams]].
|
|
451
|
-
* @returns {GridRowSpacing} The row spacing values.
|
|
452
|
-
*/
|
|
453
|
-
getRowSpacing?: (params: GridRowSpacingParams) => GridRowSpacing;
|
|
454
|
-
/**
|
|
455
|
-
* Function that returns the element to render in row detail.
|
|
456
|
-
* @param {GridRowParams} params With all properties from [[GridRowParams]].
|
|
457
|
-
* @returns {React.JSX.Element} The row detail element.
|
|
458
|
-
*/
|
|
459
|
-
getDetailPanelContent?: (params: GridRowParams<R>) => React.ReactNode;
|
|
460
|
-
/**
|
|
461
|
-
* Callback fired when a cell is rendered, returns true if the cell is editable.
|
|
462
|
-
* @param {GridCellParams} params With all properties from [[GridCellParams]].
|
|
463
|
-
* @returns {boolean} A boolean indicating if the cell is editable.
|
|
464
|
-
*/
|
|
465
|
-
isCellEditable?: (params: GridCellParams<any, R>) => boolean;
|
|
466
|
-
/**
|
|
467
|
-
* Determines if a row can be selected.
|
|
468
|
-
* @param {GridRowParams} params With all properties from [[GridRowParams]].
|
|
469
|
-
* @returns {boolean} A boolean indicating if the row is selectable.
|
|
470
|
-
*/
|
|
471
|
-
isRowSelectable?: (params: GridRowParams<R>) => boolean;
|
|
472
|
-
/**
|
|
473
|
-
* Callback fired when the cell turns to edit mode.
|
|
474
|
-
* @param {GridCellParams} params With all properties from [[GridCellParams]].
|
|
475
|
-
* @param {MuiEvent<React.KeyboardEvent | React.MouseEvent>} event The event that caused this prop to be called.
|
|
476
|
-
*/
|
|
477
|
-
onCellEditStart?: GridEventListener<'cellEditStart'>;
|
|
478
|
-
/**
|
|
479
|
-
* Callback fired when the cell turns to view mode.
|
|
480
|
-
* @param {GridCellParams} params With all properties from [[GridCellParams]].
|
|
481
|
-
* @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.
|
|
482
|
-
*/
|
|
483
|
-
onCellEditStop?: GridEventListener<'cellEditStop'>;
|
|
484
|
-
/**
|
|
485
|
-
* Callback fired when a data source request fails.
|
|
486
|
-
* @param {GridGetRowsError | GridUpdateRowError} error The data source error object.
|
|
487
|
-
*/
|
|
488
|
-
onDataSourceError?: (error: GridGetRowsError | GridUpdateRowError) => void;
|
|
489
|
-
/**
|
|
490
|
-
* Callback fired when the row turns to edit mode.
|
|
491
|
-
* @param {GridRowParams} params With all properties from [[GridRowParams]].
|
|
492
|
-
* @param {MuiEvent<React.KeyboardEvent | React.MouseEvent>} event The event that caused this prop to be called.
|
|
493
|
-
*/
|
|
494
|
-
onRowEditStart?: GridEventListener<'rowEditStart'>;
|
|
495
|
-
/**
|
|
496
|
-
* Callback fired when the row turns to view mode.
|
|
497
|
-
* @param {GridRowParams} params With all properties from [[GridRowParams]].
|
|
498
|
-
* @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.
|
|
499
|
-
*/
|
|
500
|
-
onRowEditStop?: GridEventListener<'rowEditStop'>;
|
|
501
|
-
/**
|
|
502
|
-
* Callback fired when any cell is clicked.
|
|
503
|
-
* @param {GridCellParams} params With all properties from [[GridCellParams]].
|
|
504
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
505
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
506
|
-
*/
|
|
507
|
-
onCellClick?: GridEventListener<'cellClick'>;
|
|
508
|
-
/**
|
|
509
|
-
* Callback fired when a double click event comes from a cell element.
|
|
510
|
-
* @param {GridCellParams} params With all properties from [[GridCellParams]].
|
|
511
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
512
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
513
|
-
*/
|
|
514
|
-
onCellDoubleClick?: GridEventListener<'cellDoubleClick'>;
|
|
515
|
-
/**
|
|
516
|
-
* Callback fired when a keydown event comes from a cell element.
|
|
517
|
-
* @param {GridCellParams} params With all properties from [[GridCellParams]].
|
|
518
|
-
* @param {MuiEvent<React.KeyboardEvent>} event The event object.
|
|
519
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
520
|
-
*/
|
|
521
|
-
onCellKeyDown?: GridEventListener<'cellKeyDown'>;
|
|
522
|
-
/**
|
|
523
|
-
* Callback fired when a click event comes from a column header element.
|
|
524
|
-
* @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
|
|
525
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
526
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
527
|
-
*/
|
|
528
|
-
onColumnHeaderClick?: GridEventListener<'columnHeaderClick'>;
|
|
529
|
-
/**
|
|
530
|
-
* Callback fired when a contextmenu event comes from a column header element.
|
|
531
|
-
* @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
|
|
532
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
533
|
-
*/
|
|
534
|
-
onColumnHeaderContextMenu?: GridEventListener<'columnHeaderContextMenu'>;
|
|
535
|
-
/**
|
|
536
|
-
* Callback fired when a double click event comes from a column header element.
|
|
537
|
-
* @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
|
|
538
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
539
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
540
|
-
*/
|
|
541
|
-
onColumnHeaderDoubleClick?: GridEventListener<'columnHeaderDoubleClick'>;
|
|
542
|
-
/**
|
|
543
|
-
* Callback fired when a mouseover event comes from a column header element.
|
|
544
|
-
* @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
|
|
545
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
546
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
547
|
-
*/
|
|
548
|
-
onColumnHeaderOver?: GridEventListener<'columnHeaderOver'>;
|
|
549
|
-
/**
|
|
550
|
-
* Callback fired when a mouseout event comes from a column header element.
|
|
551
|
-
* @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
|
|
552
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
553
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
554
|
-
*/
|
|
555
|
-
onColumnHeaderOut?: GridEventListener<'columnHeaderOut'>;
|
|
556
|
-
/**
|
|
557
|
-
* Callback fired when a mouse enter event comes from a column header element.
|
|
558
|
-
* @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
|
|
559
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
560
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
561
|
-
*/
|
|
562
|
-
onColumnHeaderEnter?: GridEventListener<'columnHeaderEnter'>;
|
|
563
|
-
/**
|
|
564
|
-
* Callback fired when a mouse leave event comes from a column header element.
|
|
565
|
-
* @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
|
|
566
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
567
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
568
|
-
*/
|
|
569
|
-
onColumnHeaderLeave?: GridEventListener<'columnHeaderLeave'>;
|
|
570
|
-
/**
|
|
571
|
-
* Callback fired when a column is reordered.
|
|
572
|
-
* @param {GridColumnOrderChangeParams} params With all properties from [[GridColumnOrderChangeParams]].
|
|
573
|
-
* @param {MuiEvent<{}>} event The event object.
|
|
574
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
575
|
-
*/
|
|
576
|
-
onColumnOrderChange?: GridEventListener<'columnOrderChange'>;
|
|
577
|
-
/**
|
|
578
|
-
* Callback fired when the density changes.
|
|
579
|
-
* @param {GridDensity} density New density value.
|
|
580
|
-
*/
|
|
581
|
-
onDensityChange?: (density: GridDensity) => void;
|
|
582
|
-
/**
|
|
583
|
-
* Callback fired when a row is clicked.
|
|
584
|
-
* Not called if the target clicked is an interactive element added by the built-in columns.
|
|
585
|
-
* @param {GridRowParams} params With all properties from [[GridRowParams]].
|
|
586
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
587
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
588
|
-
*/
|
|
589
|
-
onRowClick?: GridEventListener<'rowClick'>;
|
|
590
|
-
/**
|
|
591
|
-
* Callback fired when a double click event comes from a row container element.
|
|
592
|
-
* @param {GridRowParams} params With all properties from [[RowParams]].
|
|
593
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
594
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
595
|
-
*/
|
|
596
|
-
onRowDoubleClick?: GridEventListener<'rowDoubleClick'>;
|
|
597
|
-
/**
|
|
598
|
-
* Callback fired when the Data Grid is resized.
|
|
599
|
-
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
600
|
-
* @param {MuiEvent<{}>} event The event object.
|
|
601
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
602
|
-
*/
|
|
603
|
-
onResize?: GridEventListener<'debouncedResize'>;
|
|
604
|
-
/**
|
|
605
|
-
* Callback fired when the state of the Data Grid is updated.
|
|
606
|
-
* @param {GridState} state The new state.
|
|
607
|
-
* @param {MuiEvent<{}>} event The event object.
|
|
608
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
609
|
-
* @ignore - do not document.
|
|
610
|
-
*/
|
|
611
|
-
onStateChange?: GridEventListener<'stateChange'>;
|
|
612
|
-
/**
|
|
613
|
-
* The pagination model of type [[GridPaginationModel]] which refers to current `page` and `pageSize`.
|
|
614
|
-
*/
|
|
615
|
-
paginationModel?: GridPaginationModel;
|
|
616
|
-
/**
|
|
617
|
-
* The extra information about the pagination state of the Data Grid.
|
|
618
|
-
* Only applicable with `paginationMode="server"`.
|
|
619
|
-
*/
|
|
620
|
-
paginationMeta?: GridPaginationMeta;
|
|
621
|
-
/**
|
|
622
|
-
* Callback fired when the pagination model has changed.
|
|
623
|
-
* @param {GridPaginationModel} model Updated pagination model.
|
|
624
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
625
|
-
*/
|
|
626
|
-
onPaginationModelChange?: (model: GridPaginationModel, details: GridCallbackDetails<'pagination'>) => void;
|
|
627
|
-
/**
|
|
628
|
-
* Callback fired when the row count has changed.
|
|
629
|
-
* @param {number} count Updated row count.
|
|
630
|
-
*/
|
|
631
|
-
onRowCountChange?: (count: number) => void;
|
|
632
|
-
/**
|
|
633
|
-
* Callback fired when the pagination meta has changed.
|
|
634
|
-
* @param {GridPaginationMeta} paginationMeta Updated pagination meta.
|
|
635
|
-
*/
|
|
636
|
-
onPaginationMetaChange?: (paginationMeta: GridPaginationMeta) => void;
|
|
637
|
-
/**
|
|
638
|
-
* Callback fired when the preferences panel is closed.
|
|
639
|
-
* @param {GridPreferencePanelParams} params With all properties from [[GridPreferencePanelParams]].
|
|
640
|
-
* @param {MuiEvent<{}>} event The event object.
|
|
641
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
642
|
-
*/
|
|
643
|
-
onPreferencePanelClose?: GridEventListener<'preferencePanelClose'>;
|
|
644
|
-
/**
|
|
645
|
-
* Callback fired when the preferences panel is opened.
|
|
646
|
-
* @param {GridPreferencePanelParams} params With all properties from [[GridPreferencePanelParams]].
|
|
647
|
-
* @param {MuiEvent<{}>} event The event object.
|
|
648
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
649
|
-
*/
|
|
650
|
-
onPreferencePanelOpen?: GridEventListener<'preferencePanelOpen'>;
|
|
651
|
-
/**
|
|
652
|
-
* Callback fired when the menu is opened.
|
|
653
|
-
* @param {GridMenuParams} params With all properties from [[GridMenuParams]].
|
|
654
|
-
* @param {MuiEvent<{}>} event The event object.
|
|
655
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
656
|
-
*/
|
|
657
|
-
onMenuOpen?: GridEventListener<'menuOpen'>;
|
|
658
|
-
/**
|
|
659
|
-
* Callback fired when the menu is closed.
|
|
660
|
-
* @param {GridMenuParams} params With all properties from [[GridMenuParams]].
|
|
661
|
-
* @param {MuiEvent<{}>} event The event object.
|
|
662
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
663
|
-
*/
|
|
664
|
-
onMenuClose?: GridEventListener<'menuClose'>;
|
|
665
|
-
/**
|
|
666
|
-
* Controls the modes of the cells.
|
|
667
|
-
*/
|
|
668
|
-
cellModesModel?: GridCellModesModel;
|
|
669
|
-
/**
|
|
670
|
-
* Callback fired when the `cellModesModel` prop changes.
|
|
671
|
-
* @param {GridCellModesModel} cellModesModel Object containing which cells are in "edit" mode.
|
|
672
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
673
|
-
*/
|
|
674
|
-
onCellModesModelChange?: (cellModesModel: GridCellModesModel, details: GridCallbackDetails) => void;
|
|
675
|
-
/**
|
|
676
|
-
* Controls the modes of the rows.
|
|
677
|
-
*/
|
|
678
|
-
rowModesModel?: GridRowModesModel;
|
|
679
|
-
/**
|
|
680
|
-
* Callback fired when the `rowModesModel` prop changes.
|
|
681
|
-
* @param {GridRowModesModel} rowModesModel Object containing which rows are in "edit" mode.
|
|
682
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
683
|
-
*/
|
|
684
|
-
onRowModesModelChange?: (rowModesModel: GridRowModesModel, details: GridCallbackDetails) => void;
|
|
685
|
-
/**
|
|
686
|
-
* Set the filter model of the Data Grid.
|
|
687
|
-
*/
|
|
688
|
-
filterModel?: GridFilterModel;
|
|
689
|
-
/**
|
|
690
|
-
* Callback fired when the Filter model changes before the filters are applied.
|
|
691
|
-
* @param {GridFilterModel} model With all properties from [[GridFilterModel]].
|
|
692
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
693
|
-
*/
|
|
694
|
-
onFilterModelChange?: (model: GridFilterModel, details: GridCallbackDetails<'filter'>) => void;
|
|
695
|
-
/**
|
|
696
|
-
* Sets the row selection model of the Data Grid.
|
|
697
|
-
*/
|
|
698
|
-
rowSelectionModel?: GridRowSelectionModel;
|
|
699
|
-
/**
|
|
700
|
-
* Callback fired when the selection state of one or multiple rows changes.
|
|
701
|
-
* @param {GridRowSelectionModel} rowSelectionModel With all the row ids [[GridSelectionModel]].
|
|
702
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
703
|
-
*/
|
|
704
|
-
onRowSelectionModelChange?: (rowSelectionModel: GridRowSelectionModel, details: GridCallbackDetails) => void;
|
|
705
|
-
/**
|
|
706
|
-
* Set the column visibility model of the Data Grid.
|
|
707
|
-
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
708
|
-
*/
|
|
709
|
-
columnVisibilityModel?: GridColumnVisibilityModel;
|
|
710
|
-
/**
|
|
711
|
-
* Callback fired when the column visibility model changes.
|
|
712
|
-
* @param {GridColumnVisibilityModel} model The new model.
|
|
713
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
714
|
-
*/
|
|
715
|
-
onColumnVisibilityModelChange?: (model: GridColumnVisibilityModel, details: GridCallbackDetails) => void;
|
|
716
|
-
/**
|
|
717
|
-
* Set the sort model of the Data Grid.
|
|
718
|
-
*/
|
|
719
|
-
sortModel?: GridSortModel;
|
|
720
|
-
/**
|
|
721
|
-
* Callback fired when the sort model changes before a column is sorted.
|
|
722
|
-
* @param {GridSortModel} model With all properties from [[GridSortModel]].
|
|
723
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
724
|
-
*/
|
|
725
|
-
onSortModelChange?: (model: GridSortModel, details: GridCallbackDetails) => void;
|
|
726
|
-
/**
|
|
727
|
-
* The `aria-label` of the Data Grid.
|
|
728
|
-
*/
|
|
729
|
-
'aria-label'?: string;
|
|
730
|
-
/**
|
|
731
|
-
* The `id` of the element containing a label for the Data Grid.
|
|
732
|
-
*/
|
|
733
|
-
'aria-labelledby'?: string;
|
|
734
|
-
/**
|
|
735
|
-
* The label of the Data Grid.
|
|
736
|
-
* If the `showToolbar` prop is `true`, the label will be displayed in the toolbar and applied to the `aria-label` attribute of the grid.
|
|
737
|
-
* If the `showToolbar` prop is `false`, the label will not be visible but will be applied to the `aria-label` attribute of the grid.
|
|
738
|
-
*/
|
|
739
|
-
label?: string;
|
|
740
|
-
/**
|
|
741
|
-
* Set of columns of type [[GridColDef]][].
|
|
742
|
-
*/
|
|
743
|
-
columns: readonly GridColDef<R>[];
|
|
744
|
-
/**
|
|
745
|
-
* Return the id of a given [[GridRowModel]].
|
|
746
|
-
* Ensure the reference of this prop is stable to avoid performance implications.
|
|
747
|
-
* It could be done by either defining the prop outside of the component or by memoizing it.
|
|
748
|
-
*/
|
|
749
|
-
getRowId?: GridRowIdGetter<R>;
|
|
750
|
-
/**
|
|
751
|
-
* Nonce of the inline styles for [Content Security Policy](https://www.w3.org/TR/2016/REC-CSP2-20161215/#script-src-the-nonce-attribute).
|
|
752
|
-
*/
|
|
753
|
-
nonce?: string;
|
|
754
|
-
/**
|
|
755
|
-
* The initial state of the DataGrid.
|
|
756
|
-
* The data in it will be set in the state on initialization but will not be controlled.
|
|
757
|
-
* If one of the data in `initialState` is also being controlled, then the control state wins.
|
|
758
|
-
*/
|
|
759
|
-
initialState?: GridInitialStateCommunity;
|
|
760
|
-
/**
|
|
761
|
-
* Overridable components props dynamically passed to the component at rendering.
|
|
762
|
-
*/
|
|
763
|
-
slotProps?: GridSlotsComponentsProps;
|
|
764
|
-
/**
|
|
765
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
766
|
-
*/
|
|
767
|
-
sx?: SxProps<Theme>;
|
|
768
|
-
/**
|
|
769
|
-
* Unstable features, breaking changes might be introduced.
|
|
770
|
-
* For each feature, if the flag is not explicitly set to `true`, the feature will be fully disabled and any property / method call will not have any effect.
|
|
771
|
-
*/
|
|
772
|
-
experimentalFeatures?: Partial<GridExperimentalFeatures>;
|
|
773
|
-
/**
|
|
774
|
-
* Callback called before updating a row with new values in the row and cell editing.
|
|
775
|
-
* @template R
|
|
776
|
-
* @param {R} newRow Row object with the new values.
|
|
777
|
-
* @param {R} oldRow Row object with the old values.
|
|
778
|
-
* @param {{ rowId: GridRowId }} params Additional parameters.
|
|
779
|
-
* @returns {Promise<R> | R} The final values to update the row.
|
|
780
|
-
*/
|
|
781
|
-
processRowUpdate?: (newRow: R, oldRow: R, params: {
|
|
782
|
-
rowId: GridRowId;
|
|
783
|
-
}) => Promise<R> | R;
|
|
784
|
-
/**
|
|
785
|
-
* Callback called when `processRowUpdate` throws an error or rejects.
|
|
786
|
-
* @param {any} error The error thrown.
|
|
787
|
-
*/
|
|
788
|
-
onProcessRowUpdateError?: (error: any) => void;
|
|
789
|
-
columnGroupingModel?: GridColumnGroupingModel;
|
|
790
|
-
/**
|
|
791
|
-
* Sets the height in pixels of the column group headers in the Data Grid.
|
|
792
|
-
* Inherits the `columnHeaderHeight` value if not set.
|
|
793
|
-
*/
|
|
794
|
-
columnGroupHeaderHeight?: number;
|
|
795
|
-
/**
|
|
796
|
-
* Callback called when the data is copied to the clipboard.
|
|
797
|
-
* @param {string} data The data copied to the clipboard.
|
|
798
|
-
*/
|
|
799
|
-
onClipboardCopy?: GridEventListener<'clipboardCopy'>;
|
|
800
|
-
/**
|
|
801
|
-
* The options for autosize when user-initiated.
|
|
802
|
-
*/
|
|
803
|
-
autosizeOptions?: GridAutosizeOptions;
|
|
804
|
-
/**
|
|
805
|
-
* Callback fired while a column is being resized.
|
|
806
|
-
* @param {GridColumnResizeParams} params With all properties from [[GridColumnResizeParams]].
|
|
807
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
808
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
809
|
-
*/
|
|
810
|
-
onColumnResize?: GridEventListener<'columnResize'>;
|
|
811
|
-
/**
|
|
812
|
-
* Callback fired when the width of a column is changed.
|
|
813
|
-
* @param {GridColumnResizeParams} params With all properties from [[GridColumnResizeParams]].
|
|
814
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
815
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
816
|
-
*/
|
|
817
|
-
onColumnWidthChange?: GridEventListener<'columnWidthChange'>;
|
|
818
|
-
}
|
|
819
|
-
export interface DataGridProSharedPropsWithDefaultValue {
|
|
820
|
-
/**
|
|
821
|
-
* If `true`, the header filters feature is enabled.
|
|
822
|
-
* @default false
|
|
823
|
-
*/
|
|
824
|
-
headerFilters: boolean;
|
|
825
|
-
/**
|
|
826
|
-
* When `rowSelectionPropagation.descendants` is set to `true`.
|
|
827
|
-
* - Selecting a parent selects all its filtered descendants automatically.
|
|
828
|
-
* - Deselecting a parent row deselects all its filtered descendants automatically.
|
|
829
|
-
*
|
|
830
|
-
* When `rowSelectionPropagation.parents` is set to `true`
|
|
831
|
-
* - Selecting all the filtered descendants of a parent selects the parent automatically.
|
|
832
|
-
* - Deselecting a descendant of a selected parent deselects the parent automatically.
|
|
833
|
-
*
|
|
834
|
-
* Works with tree data and row grouping on the client-side only.
|
|
835
|
-
* @default { parents: true, descendants: true }
|
|
836
|
-
*/
|
|
837
|
-
rowSelectionPropagation: GridRowSelectionPropagation;
|
|
838
|
-
/**
|
|
839
|
-
* If `true`, displays the data in a list view.
|
|
840
|
-
* Use in combination with `listViewColumn`.
|
|
841
|
-
* @default false
|
|
842
|
-
*/
|
|
843
|
-
listView: boolean;
|
|
844
|
-
}
|
|
845
|
-
export interface DataGridProSharedPropsWithoutDefaultValue<R extends GridValidRowModel = any> {
|
|
846
|
-
/**
|
|
847
|
-
* Override the height of the header filters.
|
|
848
|
-
*/
|
|
849
|
-
headerFilterHeight?: number;
|
|
850
|
-
/**
|
|
851
|
-
* Definition of the column rendered when the `listView` prop is enabled.
|
|
852
|
-
*/
|
|
853
|
-
listViewColumn?: GridListViewColDef<R>;
|
|
854
|
-
}
|
|
855
|
-
export interface DataGridPremiumSharedPropsWithDefaultValue {
|
|
856
|
-
/**
|
|
857
|
-
* If `true`, the cell selection mode is enabled.
|
|
858
|
-
* @default false
|
|
859
|
-
*/
|
|
860
|
-
cellSelection: boolean;
|
|
861
|
-
}
|
|
862
|
-
/**
|
|
863
|
-
* The props of the Data Grid component after the pre-processing phase.
|
|
864
|
-
*/
|
|
865
|
-
export interface DataGridProcessedProps<R extends GridValidRowModel = any> extends DataGridPropsWithDefaultValues, DataGridPropsWithComplexDefaultValueAfterProcessing, DataGridPropsWithoutDefaultValue<R>, DataGridProSharedPropsWithoutDefaultValue, Partial<DataGridProSharedPropsWithDefaultValue>, Partial<DataGridPremiumSharedPropsWithDefaultValue> {}
|
|
866
|
-
export {};
|