@mui/x-data-grid 8.25.0 → 8.27.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 +184 -0
- package/DataGrid/DataGrid.d.ts +2 -2
- package/DataGrid/useDataGridComponent.d.ts +4 -4
- package/DataGrid/useDataGridProps.d.ts +2 -2
- package/colDef/gridActionsColDef.d.ts +1 -1
- package/colDef/gridBooleanColDef.d.ts +1 -1
- package/colDef/gridBooleanOperators.d.ts +1 -1
- package/colDef/gridCheckboxSelectionColDef.d.ts +1 -1
- package/colDef/gridDateColDef.d.ts +1 -1
- package/colDef/gridDateOperators.d.ts +2 -2
- package/colDef/gridDefaultColumnTypes.js +3 -1
- package/colDef/gridLongTextColDef.d.ts +2 -0
- package/colDef/gridLongTextColDef.js +17 -0
- package/colDef/gridNumericColDef.d.ts +1 -1
- package/colDef/gridNumericOperators.d.ts +1 -1
- package/colDef/gridSingleSelectColDef.d.ts +1 -1
- package/colDef/gridSingleSelectOperators.d.ts +1 -1
- package/colDef/gridStringColDef.d.ts +1 -1
- package/colDef/gridStringOperators.d.ts +1 -1
- package/colDef/index.d.ts +1 -0
- package/colDef/index.js +11 -0
- package/components/GridColumnHeaders.d.ts +1 -1
- package/components/GridColumnSortButton.d.ts +2 -2
- package/components/GridColumnUnsortedIcon.d.ts +2 -2
- package/components/GridFooter.d.ts +1 -1
- package/components/GridLoadingOverlay.d.ts +1 -1
- package/components/GridNoColumnsOverlay.d.ts +1 -1
- package/components/GridNoResultsOverlay.d.ts +1 -1
- package/components/GridNoRowsOverlay.d.ts +1 -1
- package/components/GridRow.d.ts +2 -2
- package/components/GridRowCount.d.ts +1 -1
- package/components/GridScrollArea.d.ts +2 -2
- package/components/GridSelectedRowCount.d.ts +1 -1
- package/components/GridSkeletonLoadingOverlay.d.ts +1 -1
- package/components/cell/GridActionsCell.d.ts +24 -4
- package/components/cell/GridActionsCell.js +15 -5
- package/components/cell/GridActionsCellItem.d.ts +1 -1
- package/components/cell/GridCell.d.ts +3 -3
- package/components/cell/GridEditBooleanCell.d.ts +1 -1
- package/components/cell/GridEditDateCell.d.ts +2 -2
- package/components/cell/GridEditInputCell.d.ts +2 -2
- package/components/cell/GridEditLongTextCell.d.ts +41 -0
- package/components/cell/GridEditLongTextCell.js +248 -0
- package/components/cell/GridEditSingleSelectCell.d.ts +1 -1
- package/components/cell/GridFooterCell.d.ts +1 -1
- package/components/cell/GridLongTextCell.d.ts +43 -0
- package/components/cell/GridLongTextCell.js +254 -0
- package/components/cell/GridSkeletonCell.d.ts +1 -1
- package/components/cell/index.d.ts +3 -1
- package/components/cell/index.js +24 -0
- package/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
- package/components/columnHeaders/GridBaseColumnHeaders.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderItem.d.ts +3 -3
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
- package/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +4 -4
- package/components/columnsManagement/GridColumnsManagement.d.ts +1 -1
- package/components/columnsManagement/utils.d.ts +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.d.ts +1 -1
- package/components/containers/GridFooterContainer.d.ts +1 -1
- package/components/containers/GridOverlay.d.ts +1 -1
- package/components/containers/GridRoot.d.ts +2 -2
- package/components/containers/GridRootStyles.d.ts +1 -1
- package/components/containers/GridToolbarContainer.d.ts +1 -1
- package/components/export/ExportCsv.d.ts +2 -2
- package/components/export/ExportPrint.d.ts +2 -2
- package/components/filterPanel/FilterPanelTrigger.d.ts +1 -1
- package/components/menu/GridMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnMenuContainer.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +2 -2
- package/components/menu/columnMenu/GridColumnMenuProps.d.ts +3 -3
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -1
- package/components/panel/GridColumnsPanel.d.ts +1 -1
- package/components/panel/GridPanel.d.ts +1 -1
- package/components/panel/GridPanelContent.d.ts +1 -1
- package/components/panel/GridPanelFooter.d.ts +1 -1
- package/components/panel/GridPanelHeader.d.ts +1 -1
- package/components/panel/GridPanelWrapper.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterForm.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputBoolean.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputDate.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputValue.d.ts +3 -3
- package/components/panel/filterPanel/GridFilterPanel.d.ts +4 -4
- package/components/quickFilter/QuickFilter.d.ts +2 -2
- package/components/quickFilter/QuickFilterClear.d.ts +2 -2
- package/components/quickFilter/QuickFilterControl.d.ts +2 -2
- package/components/quickFilter/QuickFilterTrigger.d.ts +2 -2
- package/components/toolbar/GridToolbar.d.ts +8 -3
- package/components/toolbar/GridToolbar.js +5 -0
- package/components/toolbar/GridToolbarExport.d.ts +1 -1
- package/components/toolbar/GridToolbarQuickFilter.d.ts +2 -2
- package/components/toolbarV8/GridToolbar.d.ts +2 -2
- package/components/toolbarV8/GridToolbar.js +26 -24
- package/components/toolbarV8/Toolbar.d.ts +1 -1
- package/components/toolbarV8/ToolbarButton.d.ts +1 -1
- package/components/virtualization/GridMainContainer.d.ts +1 -1
- package/components/virtualization/GridVirtualScrollerContent.d.ts +1 -1
- package/components/virtualization/GridVirtualScrollerRenderZone.d.ts +1 -1
- package/constants/defaultGridSlotsComponents.d.ts +1 -1
- package/constants/gridClasses.d.ts +44 -0
- package/constants/gridClasses.js +1 -1
- package/constants/localeTextConstants.d.ts +1 -1
- package/constants/localeTextConstants.js +6 -0
- package/context/GridContextProvider.d.ts +3 -3
- package/esm/DataGrid/DataGrid.d.ts +2 -2
- package/esm/DataGrid/useDataGridComponent.d.ts +4 -4
- package/esm/DataGrid/useDataGridProps.d.ts +2 -2
- package/esm/colDef/gridActionsColDef.d.ts +1 -1
- package/esm/colDef/gridBooleanColDef.d.ts +1 -1
- package/esm/colDef/gridBooleanOperators.d.ts +1 -1
- package/esm/colDef/gridCheckboxSelectionColDef.d.ts +1 -1
- package/esm/colDef/gridDateColDef.d.ts +1 -1
- package/esm/colDef/gridDateOperators.d.ts +2 -2
- package/esm/colDef/gridDefaultColumnTypes.js +3 -1
- package/esm/colDef/gridLongTextColDef.d.ts +2 -0
- package/esm/colDef/gridLongTextColDef.js +10 -0
- package/esm/colDef/gridNumericColDef.d.ts +1 -1
- package/esm/colDef/gridNumericOperators.d.ts +1 -1
- package/esm/colDef/gridSingleSelectColDef.d.ts +1 -1
- package/esm/colDef/gridSingleSelectOperators.d.ts +1 -1
- package/esm/colDef/gridStringColDef.d.ts +1 -1
- package/esm/colDef/gridStringOperators.d.ts +1 -1
- package/esm/colDef/index.d.ts +1 -0
- package/esm/colDef/index.js +1 -0
- package/esm/components/GridColumnHeaders.d.ts +1 -1
- package/esm/components/GridColumnSortButton.d.ts +2 -2
- package/esm/components/GridColumnUnsortedIcon.d.ts +2 -2
- package/esm/components/GridFooter.d.ts +1 -1
- package/esm/components/GridLoadingOverlay.d.ts +1 -1
- package/esm/components/GridNoColumnsOverlay.d.ts +1 -1
- package/esm/components/GridNoResultsOverlay.d.ts +1 -1
- package/esm/components/GridNoRowsOverlay.d.ts +1 -1
- package/esm/components/GridRow.d.ts +2 -2
- package/esm/components/GridRowCount.d.ts +1 -1
- package/esm/components/GridScrollArea.d.ts +2 -2
- package/esm/components/GridSelectedRowCount.d.ts +1 -1
- package/esm/components/GridSkeletonLoadingOverlay.d.ts +1 -1
- package/esm/components/cell/GridActionsCell.d.ts +24 -4
- package/esm/components/cell/GridActionsCell.js +15 -5
- package/esm/components/cell/GridActionsCellItem.d.ts +1 -1
- package/esm/components/cell/GridCell.d.ts +3 -3
- package/esm/components/cell/GridEditBooleanCell.d.ts +1 -1
- package/esm/components/cell/GridEditDateCell.d.ts +2 -2
- package/esm/components/cell/GridEditInputCell.d.ts +2 -2
- package/esm/components/cell/GridEditLongTextCell.d.ts +41 -0
- package/esm/components/cell/GridEditLongTextCell.js +240 -0
- package/esm/components/cell/GridEditSingleSelectCell.d.ts +1 -1
- package/esm/components/cell/GridFooterCell.d.ts +1 -1
- package/esm/components/cell/GridLongTextCell.d.ts +43 -0
- package/esm/components/cell/GridLongTextCell.js +246 -0
- package/esm/components/cell/GridSkeletonCell.d.ts +1 -1
- package/esm/components/cell/index.d.ts +3 -1
- package/esm/components/cell/index.js +3 -1
- package/esm/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
- package/esm/components/columnHeaders/GridBaseColumnHeaders.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderItem.d.ts +3 -3
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
- package/esm/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +4 -4
- package/esm/components/columnsManagement/GridColumnsManagement.d.ts +1 -1
- package/esm/components/columnsManagement/utils.d.ts +1 -1
- package/esm/components/columnsPanel/ColumnsPanelTrigger.d.ts +1 -1
- package/esm/components/containers/GridFooterContainer.d.ts +1 -1
- package/esm/components/containers/GridOverlay.d.ts +1 -1
- package/esm/components/containers/GridRoot.d.ts +2 -2
- package/esm/components/containers/GridRootStyles.d.ts +1 -1
- package/esm/components/containers/GridToolbarContainer.d.ts +1 -1
- package/esm/components/export/ExportCsv.d.ts +2 -2
- package/esm/components/export/ExportPrint.d.ts +2 -2
- package/esm/components/filterPanel/FilterPanelTrigger.d.ts +1 -1
- package/esm/components/menu/GridMenu.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnMenu.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnMenuContainer.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +2 -2
- package/esm/components/menu/columnMenu/GridColumnMenuProps.d.ts +3 -3
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -1
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -1
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -1
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -1
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -1
- package/esm/components/panel/GridColumnsPanel.d.ts +1 -1
- package/esm/components/panel/GridPanel.d.ts +1 -1
- package/esm/components/panel/GridPanelContent.d.ts +1 -1
- package/esm/components/panel/GridPanelFooter.d.ts +1 -1
- package/esm/components/panel/GridPanelHeader.d.ts +1 -1
- package/esm/components/panel/GridPanelWrapper.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterForm.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputBoolean.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputDate.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputValue.d.ts +3 -3
- package/esm/components/panel/filterPanel/GridFilterPanel.d.ts +4 -4
- package/esm/components/quickFilter/QuickFilter.d.ts +2 -2
- package/esm/components/quickFilter/QuickFilterClear.d.ts +2 -2
- package/esm/components/quickFilter/QuickFilterControl.d.ts +2 -2
- package/esm/components/quickFilter/QuickFilterTrigger.d.ts +2 -2
- package/esm/components/toolbar/GridToolbar.d.ts +8 -3
- package/esm/components/toolbar/GridToolbar.js +5 -0
- package/esm/components/toolbar/GridToolbarExport.d.ts +1 -1
- package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +2 -2
- package/esm/components/toolbarV8/GridToolbar.d.ts +2 -2
- package/esm/components/toolbarV8/GridToolbar.js +26 -24
- package/esm/components/toolbarV8/Toolbar.d.ts +1 -1
- package/esm/components/toolbarV8/ToolbarButton.d.ts +1 -1
- package/esm/components/virtualization/GridMainContainer.d.ts +1 -1
- package/esm/components/virtualization/GridVirtualScrollerContent.d.ts +1 -1
- package/esm/components/virtualization/GridVirtualScrollerRenderZone.d.ts +1 -1
- package/esm/constants/defaultGridSlotsComponents.d.ts +1 -1
- package/esm/constants/gridClasses.d.ts +44 -0
- package/esm/constants/gridClasses.js +1 -1
- package/esm/constants/localeTextConstants.d.ts +1 -1
- package/esm/constants/localeTextConstants.js +6 -0
- package/esm/context/GridContextProvider.d.ts +3 -3
- package/esm/hooks/core/gridCoreSelector.d.ts +1 -1
- package/esm/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +10 -10
- package/esm/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +2 -2
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +3 -3
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +3 -3
- package/esm/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +3 -3
- package/esm/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +3 -3
- package/esm/hooks/core/useGridApiInitialization.d.ts +2 -2
- package/esm/hooks/core/useGridInitialization.d.ts +2 -2
- package/esm/hooks/core/useGridIsRtl.d.ts +2 -2
- package/esm/hooks/core/useGridLocaleText.d.ts +3 -3
- package/esm/hooks/core/useGridLoggerFactory.d.ts +3 -3
- package/esm/hooks/core/useGridProps.js +5 -3
- package/esm/hooks/core/useGridRefs.d.ts +1 -1
- package/esm/hooks/core/useGridStateInitialization.d.ts +1 -1
- package/esm/hooks/features/clipboard/useGridClipboard.d.ts +2 -2
- package/esm/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +1 -1
- package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +1 -1
- package/esm/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +3 -3
- package/esm/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +4 -4
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +8 -8
- package/esm/hooks/features/columnMenu/columnMenuInterfaces.d.ts +1 -1
- package/esm/hooks/features/columnMenu/columnMenuSelector.d.ts +1 -1
- package/esm/hooks/features/columnMenu/useGridColumnMenu.d.ts +3 -3
- package/esm/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +2 -2
- package/esm/hooks/features/columnResize/columnResizeSelector.d.ts +1 -1
- package/esm/hooks/features/columnResize/useGridColumnResize.d.ts +2 -2
- package/esm/hooks/features/columns/gridColumnsSelector.d.ts +2 -2
- package/esm/hooks/features/columns/gridColumnsUtils.d.ts +7 -7
- package/esm/hooks/features/columns/useGridColumnSpanning.d.ts +2 -2
- package/esm/hooks/features/columns/useGridColumns.d.ts +4 -4
- package/esm/hooks/features/dataSource/useGridDataSource.d.ts +1 -1
- package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +2 -2
- package/esm/hooks/features/density/densitySelector.d.ts +2 -2
- package/esm/hooks/features/density/densityState.d.ts +1 -1
- package/esm/hooks/features/density/useGridDensity.d.ts +4 -4
- package/esm/hooks/features/dimensions/gridDimensionsSelectors.d.ts +1 -1
- package/esm/hooks/features/dimensions/useGridDimensions.d.ts +5 -5
- package/esm/hooks/features/editing/gridEditingSelectors.d.ts +3 -3
- package/esm/hooks/features/editing/useGridCellEditable.d.ts +1 -1
- package/esm/hooks/features/editing/useGridCellEditing.d.ts +3 -3
- package/esm/hooks/features/editing/useGridEditing.d.ts +5 -5
- package/esm/hooks/features/editing/useGridRowEditing.d.ts +3 -3
- package/esm/hooks/features/editing/utils.d.ts +1 -1
- package/esm/hooks/features/events/useGridEvents.d.ts +3 -3
- package/esm/hooks/features/export/serializers/csvSerializer.d.ts +1 -1
- package/esm/hooks/features/export/useGridCsvExport.d.ts +2 -2
- package/esm/hooks/features/export/useGridPrintExport.d.ts +3 -3
- package/esm/hooks/features/export/utils.d.ts +5 -5
- package/esm/hooks/features/filter/gridFilterSelector.d.ts +3 -3
- package/esm/hooks/features/filter/gridFilterState.d.ts +4 -4
- package/esm/hooks/features/filter/gridFilterUtils.d.ts +4 -4
- package/esm/hooks/features/filter/useGridFilter.d.ts +4 -4
- package/esm/hooks/features/focus/gridFocusState.d.ts +1 -1
- package/esm/hooks/features/focus/gridFocusStateSelector.d.ts +2 -2
- package/esm/hooks/features/focus/useGridFocus.d.ts +4 -4
- package/esm/hooks/features/focus/useGridFocus.js +40 -2
- package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +1 -1
- package/esm/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +4 -4
- package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +3 -3
- package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +3 -0
- package/esm/hooks/features/keyboardNavigation/utils.d.ts +3 -3
- package/esm/hooks/features/listView/gridListViewSelectors.d.ts +1 -1
- package/esm/hooks/features/listView/useGridListView.d.ts +4 -4
- package/esm/hooks/features/overlays/gridOverlaysInterfaces.d.ts +1 -1
- package/esm/hooks/features/overlays/useGridOverlays.d.ts +3 -3
- package/esm/hooks/features/pagination/gridPaginationInterfaces.d.ts +2 -2
- package/esm/hooks/features/pagination/gridPaginationSelector.d.ts +2 -2
- package/esm/hooks/features/pagination/gridPaginationUtils.d.ts +1 -1
- package/esm/hooks/features/pagination/useGridPagination.d.ts +4 -4
- package/esm/hooks/features/pagination/useGridPaginationMeta.d.ts +3 -3
- package/esm/hooks/features/pagination/useGridPaginationModel.d.ts +5 -5
- package/esm/hooks/features/pagination/useGridRowCount.d.ts +3 -3
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +1 -1
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +1 -1
- package/esm/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +4 -4
- package/esm/hooks/features/rowReorder/gridRowReorderSelector.d.ts +1 -1
- package/esm/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +2 -2
- package/esm/hooks/features/rowSelection/useGridRowSelection.d.ts +4 -4
- package/esm/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +3 -3
- package/esm/hooks/features/rowSelection/utils.d.ts +3 -3
- package/esm/hooks/features/rows/gridRowSpanningUtils.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsInterfaces.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsMetaInterfaces.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsMetaSelector.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsMetaState.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsSelector.d.ts +2 -2
- package/esm/hooks/features/rows/gridRowsUtils.d.ts +5 -5
- package/esm/hooks/features/rows/useGridParamsApi.d.ts +3 -3
- package/esm/hooks/features/rows/useGridParamsOverridableMethods.d.ts +2 -2
- package/esm/hooks/features/rows/useGridRowAriaAttributes.d.ts +1 -1
- package/esm/hooks/features/rows/useGridRowSpanning.d.ts +2 -2
- package/esm/hooks/features/rows/useGridRows.d.ts +4 -4
- package/esm/hooks/features/rows/useGridRowsMeta.d.ts +4 -4
- package/esm/hooks/features/rows/useGridRowsOverridableMethods.d.ts +3 -3
- package/esm/hooks/features/rows/useGridRowsPreProcessors.d.ts +2 -2
- package/esm/hooks/features/scroll/useGridScroll.d.ts +3 -3
- package/esm/hooks/features/scroll/useGridScroll.js +3 -3
- package/esm/hooks/features/sorting/gridSortingSelector.d.ts +2 -2
- package/esm/hooks/features/sorting/gridSortingState.d.ts +2 -2
- package/esm/hooks/features/sorting/gridSortingUtils.d.ts +5 -5
- package/esm/hooks/features/sorting/useGridSorting.d.ts +4 -4
- package/esm/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +1 -1
- package/esm/hooks/features/statePersistence/useGridStatePersistence.d.ts +2 -2
- package/esm/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +1 -1
- package/esm/hooks/features/virtualization/useGridVirtualization.d.ts +5 -5
- package/esm/hooks/utils/useGridApiContext.d.ts +3 -3
- package/esm/hooks/utils/useGridApiMethod.d.ts +2 -2
- package/esm/hooks/utils/useGridApiRef.d.ts +2 -2
- package/esm/hooks/utils/useGridAriaAttributes.d.ts +1 -1
- package/esm/hooks/utils/useGridConfiguration.d.ts +1 -1
- package/esm/hooks/utils/useGridEvent.d.ts +3 -3
- package/esm/hooks/utils/useGridInitializeState.d.ts +4 -4
- package/esm/hooks/utils/useGridLogger.d.ts +3 -3
- package/esm/hooks/utils/useGridNativeEventListener.d.ts +2 -2
- package/esm/hooks/utils/useGridPrivateApiContext.d.ts +3 -3
- package/esm/hooks/utils/useGridSelector.d.ts +1 -1
- package/esm/hooks/utils/useGridVisibleRows.d.ts +2 -2
- package/esm/index.d.ts +2 -2
- package/esm/index.js +1 -1
- package/esm/internals/index.d.ts +1 -1
- package/esm/internals/index.js +1 -1
- package/esm/internals/utils/attachPinnedStyle.d.ts +1 -1
- package/esm/internals/utils/cache.d.ts +1 -1
- package/esm/internals/utils/getPinnedCellOffset.d.ts +1 -1
- package/esm/internals/utils/propValidation.d.ts +1 -1
- package/esm/locales/arSD.d.ts +1 -1
- package/esm/locales/arSD.js +6 -0
- package/esm/locales/beBY.d.ts +1 -1
- package/esm/locales/beBY.js +6 -0
- package/esm/locales/bgBG.d.ts +1 -1
- package/esm/locales/bgBG.js +6 -0
- package/esm/locales/bnBD.d.ts +1 -1
- package/esm/locales/bnBD.js +6 -0
- package/esm/locales/caES.d.ts +1 -1
- package/esm/locales/caES.js +6 -0
- package/esm/locales/csCZ.d.ts +1 -1
- package/esm/locales/csCZ.js +6 -0
- package/esm/locales/daDK.d.ts +1 -1
- package/esm/locales/daDK.js +6 -0
- package/esm/locales/deDE.d.ts +1 -1
- package/esm/locales/deDE.js +6 -0
- package/esm/locales/elGR.d.ts +1 -1
- package/esm/locales/elGR.js +6 -0
- package/esm/locales/enUS.d.ts +1 -1
- package/esm/locales/esES.d.ts +1 -1
- package/esm/locales/esES.js +6 -0
- package/esm/locales/faIR.d.ts +1 -1
- package/esm/locales/faIR.js +6 -0
- package/esm/locales/fiFI.d.ts +1 -1
- package/esm/locales/fiFI.js +6 -0
- package/esm/locales/frFR.d.ts +1 -1
- package/esm/locales/frFR.js +6 -0
- package/esm/locales/heIL.d.ts +1 -1
- package/esm/locales/heIL.js +6 -0
- package/esm/locales/hrHR.js +6 -0
- package/esm/locales/huHU.d.ts +1 -1
- package/esm/locales/huHU.js +6 -0
- package/esm/locales/hyAM.d.ts +1 -1
- package/esm/locales/hyAM.js +6 -0
- package/esm/locales/idID.d.ts +2 -2
- package/esm/locales/idID.js +6 -0
- package/esm/locales/isIS.d.ts +1 -1
- package/esm/locales/isIS.js +6 -0
- package/esm/locales/itIT.d.ts +1 -1
- package/esm/locales/itIT.js +6 -0
- package/esm/locales/jaJP.d.ts +1 -1
- package/esm/locales/jaJP.js +6 -0
- package/esm/locales/koKR.d.ts +1 -1
- package/esm/locales/koKR.js +6 -0
- package/esm/locales/nbNO.d.ts +1 -1
- package/esm/locales/nbNO.js +6 -0
- package/esm/locales/nlNL.d.ts +1 -1
- package/esm/locales/nlNL.js +6 -0
- package/esm/locales/nnNO.d.ts +1 -1
- package/esm/locales/nnNO.js +6 -0
- package/esm/locales/plPL.d.ts +1 -1
- package/esm/locales/plPL.js +6 -0
- package/esm/locales/ptBR.d.ts +1 -1
- package/esm/locales/ptBR.js +6 -0
- package/esm/locales/ptPT.d.ts +1 -1
- package/esm/locales/ptPT.js +6 -0
- package/esm/locales/roRO.d.ts +1 -1
- package/esm/locales/roRO.js +6 -0
- package/esm/locales/ruRU.d.ts +1 -1
- package/esm/locales/ruRU.js +6 -0
- package/esm/locales/skSK.d.ts +1 -1
- package/esm/locales/skSK.js +6 -0
- package/esm/locales/svSE.d.ts +1 -1
- package/esm/locales/svSE.js +6 -0
- package/esm/locales/trTR.d.ts +1 -1
- package/esm/locales/trTR.js +6 -0
- package/esm/locales/ukUA.d.ts +1 -1
- package/esm/locales/ukUA.js +6 -0
- package/esm/locales/urPK.d.ts +1 -1
- package/esm/locales/urPK.js +6 -0
- package/esm/locales/viVN.d.ts +1 -1
- package/esm/locales/viVN.js +6 -0
- package/esm/locales/zhCN.d.ts +1 -1
- package/esm/locales/zhCN.js +6 -0
- package/esm/locales/zhHK.js +6 -0
- package/esm/locales/zhTW.d.ts +1 -1
- package/esm/locales/zhTW.js +6 -0
- package/esm/material/augmentation.d.ts +4 -0
- package/esm/material/icons/createSvgIcon.d.ts +1 -1
- package/esm/material/icons/index.d.ts +5 -1
- package/esm/material/icons/index.js +13 -1
- package/esm/material/index.js +27 -10
- package/esm/models/api/gridColumnApi.d.ts +1 -1
- package/esm/models/api/gridColumnGroupingApi.d.ts +2 -2
- package/esm/models/api/gridColumnSpanning.d.ts +3 -3
- package/esm/models/api/gridCoreApi.d.ts +2 -2
- package/esm/models/api/gridCsvExportApi.d.ts +1 -1
- package/esm/models/api/gridDensityApi.d.ts +2 -2
- package/esm/models/api/gridEditingApi.d.ts +6 -6
- package/esm/models/api/gridFilterApi.d.ts +4 -4
- package/esm/models/api/gridFocusApi.d.ts +3 -3
- package/esm/models/api/gridHeaderFilteringApi.d.ts +2 -2
- package/esm/models/api/gridLocaleTextApi.d.ts +5 -1
- package/esm/models/api/gridLoggerApi.d.ts +1 -1
- package/esm/models/api/gridParamsApi.d.ts +7 -7
- package/esm/models/api/gridPreferencesPanelApi.d.ts +1 -1
- package/esm/models/api/gridPrintExportApi.d.ts +1 -1
- package/esm/models/api/gridRowApi.d.ts +1 -1
- package/esm/models/api/gridRowSelectionApi.d.ts +1 -1
- package/esm/models/api/gridRowsMetaApi.d.ts +2 -2
- package/esm/models/api/gridScrollApi.d.ts +2 -2
- package/esm/models/api/gridSortApi.d.ts +3 -3
- package/esm/models/api/gridStateApi.d.ts +3 -3
- package/esm/models/colDef/gridColDef.d.ts +13 -13
- package/esm/models/colDef/gridColType.d.ts +1 -0
- package/esm/models/colDef/gridColumnTypesRecord.d.ts +2 -2
- package/esm/models/configuration/gridAggregationConfiguration.d.ts +2 -2
- package/esm/models/configuration/gridCellEditableConfiguration.d.ts +4 -4
- package/esm/models/configuration/gridConfiguration.d.ts +1 -1
- package/esm/models/configuration/gridParamsConfiguration.d.ts +2 -2
- package/esm/models/configuration/gridRowConfiguration.d.ts +4 -4
- package/esm/models/controlStateItem.d.ts +1 -1
- package/esm/models/events/gridEventLookup.d.ts +7 -7
- package/esm/models/gridBaseSlots.d.ts +13 -0
- package/esm/models/gridCell.d.ts +1 -1
- package/esm/models/gridCellClass.d.ts +2 -2
- package/esm/models/gridColumnGrouping.d.ts +1 -1
- package/esm/models/gridColumnHeaderClass.d.ts +1 -1
- package/esm/models/gridExport.d.ts +2 -2
- package/esm/models/gridFilterInputComponent.d.ts +3 -3
- package/esm/models/gridFilterItem.d.ts +1 -1
- package/esm/models/gridFilterModel.d.ts +1 -1
- package/esm/models/gridFilterOperator.d.ts +3 -3
- package/esm/models/gridHeaderFilteringModel.d.ts +1 -1
- package/esm/models/gridIconSlotsComponent.d.ts +22 -2
- package/esm/models/gridRowSelectionModel.d.ts +1 -1
- package/esm/models/gridSlotsComponent.d.ts +6 -1
- package/esm/models/gridSlotsComponentsProps.d.ts +4 -2
- package/esm/models/gridSortModel.d.ts +1 -1
- package/esm/models/gridStateCommunity.d.ts +2 -2
- package/esm/models/params/gridCellParams.d.ts +4 -4
- package/esm/models/params/gridColumnGroupHeaderParams.d.ts +1 -1
- package/esm/models/params/gridColumnHeaderParams.d.ts +1 -1
- package/esm/models/params/gridEditCellParams.d.ts +2 -2
- package/esm/models/params/gridPreferencePanelParams.d.ts +1 -1
- package/esm/models/params/gridRowParams.d.ts +1 -1
- package/esm/models/params/gridRowSelectionCheckboxParams.d.ts +1 -1
- package/esm/models/params/gridValueOptionsParams.d.ts +1 -1
- package/esm/models/props/DataGridProps.d.ts +25 -26
- package/esm/themeAugmentation/overrides.d.ts +1 -1
- package/esm/themeAugmentation/props.d.ts +2 -2
- package/esm/utils/assert.d.ts +1 -1
- package/esm/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +1 -1
- package/esm/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +1 -1
- package/esm/utils/createSelector.d.ts +2 -2
- package/esm/utils/exportAs.d.ts +1 -1
- package/esm/utils/getPublicApiRef.d.ts +1 -1
- package/esm/utils/keyboardUtils.d.ts +4 -2
- package/esm/utils/keyboardUtils.js +6 -0
- package/hooks/core/gridCoreSelector.d.ts +1 -1
- package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +10 -10
- package/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +2 -2
- package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +3 -3
- package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +3 -3
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +3 -3
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +3 -3
- package/hooks/core/useGridApiInitialization.d.ts +2 -2
- package/hooks/core/useGridInitialization.d.ts +2 -2
- package/hooks/core/useGridIsRtl.d.ts +2 -2
- package/hooks/core/useGridLocaleText.d.ts +3 -3
- package/hooks/core/useGridLoggerFactory.d.ts +3 -3
- package/hooks/core/useGridProps.js +5 -3
- package/hooks/core/useGridRefs.d.ts +1 -1
- package/hooks/core/useGridStateInitialization.d.ts +1 -1
- package/hooks/features/clipboard/useGridClipboard.d.ts +2 -2
- package/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +1 -1
- package/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +1 -1
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +3 -3
- package/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +4 -4
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +8 -8
- package/hooks/features/columnMenu/columnMenuInterfaces.d.ts +1 -1
- package/hooks/features/columnMenu/columnMenuSelector.d.ts +1 -1
- package/hooks/features/columnMenu/useGridColumnMenu.d.ts +3 -3
- package/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +2 -2
- package/hooks/features/columnResize/columnResizeSelector.d.ts +1 -1
- package/hooks/features/columnResize/useGridColumnResize.d.ts +2 -2
- package/hooks/features/columns/gridColumnsSelector.d.ts +2 -2
- package/hooks/features/columns/gridColumnsUtils.d.ts +7 -7
- package/hooks/features/columns/useGridColumnSpanning.d.ts +2 -2
- package/hooks/features/columns/useGridColumns.d.ts +4 -4
- package/hooks/features/dataSource/useGridDataSource.d.ts +1 -1
- package/hooks/features/dataSource/useGridDataSourceBase.d.ts +2 -2
- package/hooks/features/density/densitySelector.d.ts +2 -2
- package/hooks/features/density/densityState.d.ts +1 -1
- package/hooks/features/density/useGridDensity.d.ts +4 -4
- package/hooks/features/dimensions/gridDimensionsSelectors.d.ts +1 -1
- package/hooks/features/dimensions/useGridDimensions.d.ts +5 -5
- package/hooks/features/editing/gridEditingSelectors.d.ts +3 -3
- package/hooks/features/editing/useGridCellEditable.d.ts +1 -1
- package/hooks/features/editing/useGridCellEditing.d.ts +3 -3
- package/hooks/features/editing/useGridEditing.d.ts +5 -5
- package/hooks/features/editing/useGridRowEditing.d.ts +3 -3
- package/hooks/features/editing/utils.d.ts +1 -1
- package/hooks/features/events/useGridEvents.d.ts +3 -3
- package/hooks/features/export/serializers/csvSerializer.d.ts +1 -1
- package/hooks/features/export/useGridCsvExport.d.ts +2 -2
- package/hooks/features/export/useGridPrintExport.d.ts +3 -3
- package/hooks/features/export/utils.d.ts +5 -5
- package/hooks/features/filter/gridFilterSelector.d.ts +3 -3
- package/hooks/features/filter/gridFilterState.d.ts +4 -4
- package/hooks/features/filter/gridFilterUtils.d.ts +4 -4
- package/hooks/features/filter/useGridFilter.d.ts +4 -4
- package/hooks/features/focus/gridFocusState.d.ts +1 -1
- package/hooks/features/focus/gridFocusStateSelector.d.ts +2 -2
- package/hooks/features/focus/useGridFocus.d.ts +4 -4
- package/hooks/features/focus/useGridFocus.js +39 -1
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +1 -1
- package/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +4 -4
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +3 -3
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +3 -0
- package/hooks/features/keyboardNavigation/utils.d.ts +3 -3
- package/hooks/features/listView/gridListViewSelectors.d.ts +1 -1
- package/hooks/features/listView/useGridListView.d.ts +4 -4
- package/hooks/features/overlays/gridOverlaysInterfaces.d.ts +1 -1
- package/hooks/features/overlays/useGridOverlays.d.ts +3 -3
- package/hooks/features/pagination/gridPaginationInterfaces.d.ts +2 -2
- package/hooks/features/pagination/gridPaginationSelector.d.ts +2 -2
- package/hooks/features/pagination/gridPaginationUtils.d.ts +1 -1
- package/hooks/features/pagination/useGridPagination.d.ts +4 -4
- package/hooks/features/pagination/useGridPaginationMeta.d.ts +3 -3
- package/hooks/features/pagination/useGridPaginationModel.d.ts +5 -5
- package/hooks/features/pagination/useGridRowCount.d.ts +3 -3
- package/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +1 -1
- package/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +1 -1
- package/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +4 -4
- package/hooks/features/rowReorder/gridRowReorderSelector.d.ts +1 -1
- package/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +2 -2
- package/hooks/features/rowSelection/useGridRowSelection.d.ts +4 -4
- package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +3 -3
- package/hooks/features/rowSelection/utils.d.ts +3 -3
- package/hooks/features/rows/gridRowSpanningUtils.d.ts +1 -1
- package/hooks/features/rows/gridRowsInterfaces.d.ts +1 -1
- package/hooks/features/rows/gridRowsMetaInterfaces.d.ts +1 -1
- package/hooks/features/rows/gridRowsMetaSelector.d.ts +1 -1
- package/hooks/features/rows/gridRowsMetaState.d.ts +1 -1
- package/hooks/features/rows/gridRowsSelector.d.ts +2 -2
- package/hooks/features/rows/gridRowsUtils.d.ts +5 -5
- package/hooks/features/rows/useGridParamsApi.d.ts +3 -3
- package/hooks/features/rows/useGridParamsOverridableMethods.d.ts +2 -2
- package/hooks/features/rows/useGridRowAriaAttributes.d.ts +1 -1
- package/hooks/features/rows/useGridRowSpanning.d.ts +2 -2
- package/hooks/features/rows/useGridRows.d.ts +4 -4
- package/hooks/features/rows/useGridRowsMeta.d.ts +4 -4
- package/hooks/features/rows/useGridRowsOverridableMethods.d.ts +3 -3
- package/hooks/features/rows/useGridRowsPreProcessors.d.ts +2 -2
- package/hooks/features/scroll/useGridScroll.d.ts +3 -3
- package/hooks/features/scroll/useGridScroll.js +3 -3
- package/hooks/features/sorting/gridSortingSelector.d.ts +2 -2
- package/hooks/features/sorting/gridSortingState.d.ts +2 -2
- package/hooks/features/sorting/gridSortingUtils.d.ts +5 -5
- package/hooks/features/sorting/useGridSorting.d.ts +4 -4
- package/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +1 -1
- package/hooks/features/statePersistence/useGridStatePersistence.d.ts +2 -2
- package/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +1 -1
- package/hooks/features/virtualization/useGridVirtualization.d.ts +5 -5
- package/hooks/utils/useGridApiContext.d.ts +3 -3
- package/hooks/utils/useGridApiMethod.d.ts +2 -2
- package/hooks/utils/useGridApiRef.d.ts +2 -2
- package/hooks/utils/useGridAriaAttributes.d.ts +1 -1
- package/hooks/utils/useGridConfiguration.d.ts +1 -1
- package/hooks/utils/useGridEvent.d.ts +3 -3
- package/hooks/utils/useGridInitializeState.d.ts +4 -4
- package/hooks/utils/useGridLogger.d.ts +3 -3
- package/hooks/utils/useGridNativeEventListener.d.ts +2 -2
- package/hooks/utils/useGridPrivateApiContext.d.ts +3 -3
- package/hooks/utils/useGridSelector.d.ts +1 -1
- package/hooks/utils/useGridVisibleRows.d.ts +2 -2
- package/index.d.ts +2 -2
- package/index.js +1 -1
- package/internals/index.d.ts +1 -1
- package/internals/index.js +14 -0
- package/internals/utils/attachPinnedStyle.d.ts +1 -1
- package/internals/utils/cache.d.ts +1 -1
- package/internals/utils/getPinnedCellOffset.d.ts +1 -1
- package/internals/utils/propValidation.d.ts +1 -1
- package/locales/arSD.d.ts +1 -1
- package/locales/arSD.js +6 -0
- package/locales/beBY.d.ts +1 -1
- package/locales/beBY.js +6 -0
- package/locales/bgBG.d.ts +1 -1
- package/locales/bgBG.js +6 -0
- package/locales/bnBD.d.ts +1 -1
- package/locales/bnBD.js +6 -0
- package/locales/caES.d.ts +1 -1
- package/locales/caES.js +6 -0
- package/locales/csCZ.d.ts +1 -1
- package/locales/csCZ.js +6 -0
- package/locales/daDK.d.ts +1 -1
- package/locales/daDK.js +6 -0
- package/locales/deDE.d.ts +1 -1
- package/locales/deDE.js +6 -0
- package/locales/elGR.d.ts +1 -1
- package/locales/elGR.js +6 -0
- package/locales/enUS.d.ts +1 -1
- package/locales/esES.d.ts +1 -1
- package/locales/esES.js +6 -0
- package/locales/faIR.d.ts +1 -1
- package/locales/faIR.js +6 -0
- package/locales/fiFI.d.ts +1 -1
- package/locales/fiFI.js +6 -0
- package/locales/frFR.d.ts +1 -1
- package/locales/frFR.js +6 -0
- package/locales/heIL.d.ts +1 -1
- package/locales/heIL.js +6 -0
- package/locales/hrHR.js +6 -0
- package/locales/huHU.d.ts +1 -1
- package/locales/huHU.js +6 -0
- package/locales/hyAM.d.ts +1 -1
- package/locales/hyAM.js +6 -0
- package/locales/idID.d.ts +2 -2
- package/locales/idID.js +6 -0
- package/locales/isIS.d.ts +1 -1
- package/locales/isIS.js +6 -0
- package/locales/itIT.d.ts +1 -1
- package/locales/itIT.js +6 -0
- package/locales/jaJP.d.ts +1 -1
- package/locales/jaJP.js +6 -0
- package/locales/koKR.d.ts +1 -1
- package/locales/koKR.js +6 -0
- package/locales/nbNO.d.ts +1 -1
- package/locales/nbNO.js +6 -0
- package/locales/nlNL.d.ts +1 -1
- package/locales/nlNL.js +6 -0
- package/locales/nnNO.d.ts +1 -1
- package/locales/nnNO.js +6 -0
- package/locales/plPL.d.ts +1 -1
- package/locales/plPL.js +6 -0
- package/locales/ptBR.d.ts +1 -1
- package/locales/ptBR.js +6 -0
- package/locales/ptPT.d.ts +1 -1
- package/locales/ptPT.js +6 -0
- package/locales/roRO.d.ts +1 -1
- package/locales/roRO.js +6 -0
- package/locales/ruRU.d.ts +1 -1
- package/locales/ruRU.js +6 -0
- package/locales/skSK.d.ts +1 -1
- package/locales/skSK.js +6 -0
- package/locales/svSE.d.ts +1 -1
- package/locales/svSE.js +6 -0
- package/locales/trTR.d.ts +1 -1
- package/locales/trTR.js +6 -0
- package/locales/ukUA.d.ts +1 -1
- package/locales/ukUA.js +6 -0
- package/locales/urPK.d.ts +1 -1
- package/locales/urPK.js +6 -0
- package/locales/viVN.d.ts +1 -1
- package/locales/viVN.js +6 -0
- package/locales/zhCN.d.ts +1 -1
- package/locales/zhCN.js +6 -0
- package/locales/zhHK.js +6 -0
- package/locales/zhTW.d.ts +1 -1
- package/locales/zhTW.js +6 -0
- package/material/augmentation.d.ts +4 -0
- package/material/icons/createSvgIcon.d.ts +1 -1
- package/material/icons/index.d.ts +5 -1
- package/material/icons/index.js +14 -2
- package/material/index.js +26 -9
- package/models/api/gridColumnApi.d.ts +1 -1
- package/models/api/gridColumnGroupingApi.d.ts +2 -2
- package/models/api/gridColumnSpanning.d.ts +3 -3
- package/models/api/gridCoreApi.d.ts +2 -2
- package/models/api/gridCsvExportApi.d.ts +1 -1
- package/models/api/gridDensityApi.d.ts +2 -2
- package/models/api/gridEditingApi.d.ts +6 -6
- package/models/api/gridFilterApi.d.ts +4 -4
- package/models/api/gridFocusApi.d.ts +3 -3
- package/models/api/gridHeaderFilteringApi.d.ts +2 -2
- package/models/api/gridLocaleTextApi.d.ts +5 -1
- package/models/api/gridLoggerApi.d.ts +1 -1
- package/models/api/gridParamsApi.d.ts +7 -7
- package/models/api/gridPreferencesPanelApi.d.ts +1 -1
- package/models/api/gridPrintExportApi.d.ts +1 -1
- package/models/api/gridRowApi.d.ts +1 -1
- package/models/api/gridRowSelectionApi.d.ts +1 -1
- package/models/api/gridRowsMetaApi.d.ts +2 -2
- package/models/api/gridScrollApi.d.ts +2 -2
- package/models/api/gridSortApi.d.ts +3 -3
- package/models/api/gridStateApi.d.ts +3 -3
- package/models/colDef/gridColDef.d.ts +13 -13
- package/models/colDef/gridColType.d.ts +1 -0
- package/models/colDef/gridColumnTypesRecord.d.ts +2 -2
- package/models/configuration/gridAggregationConfiguration.d.ts +2 -2
- package/models/configuration/gridCellEditableConfiguration.d.ts +4 -4
- package/models/configuration/gridConfiguration.d.ts +1 -1
- package/models/configuration/gridParamsConfiguration.d.ts +2 -2
- package/models/configuration/gridRowConfiguration.d.ts +4 -4
- package/models/controlStateItem.d.ts +1 -1
- package/models/events/gridEventLookup.d.ts +7 -7
- package/models/gridBaseSlots.d.ts +13 -0
- package/models/gridCell.d.ts +1 -1
- package/models/gridCellClass.d.ts +2 -2
- package/models/gridColumnGrouping.d.ts +1 -1
- package/models/gridColumnHeaderClass.d.ts +1 -1
- package/models/gridExport.d.ts +2 -2
- package/models/gridFilterInputComponent.d.ts +3 -3
- package/models/gridFilterItem.d.ts +1 -1
- package/models/gridFilterModel.d.ts +1 -1
- package/models/gridFilterOperator.d.ts +3 -3
- package/models/gridHeaderFilteringModel.d.ts +1 -1
- package/models/gridIconSlotsComponent.d.ts +22 -2
- package/models/gridRowSelectionModel.d.ts +1 -1
- package/models/gridSlotsComponent.d.ts +6 -1
- package/models/gridSlotsComponentsProps.d.ts +4 -2
- package/models/gridSortModel.d.ts +1 -1
- package/models/gridStateCommunity.d.ts +2 -2
- package/models/params/gridCellParams.d.ts +4 -4
- package/models/params/gridColumnGroupHeaderParams.d.ts +1 -1
- package/models/params/gridColumnHeaderParams.d.ts +1 -1
- package/models/params/gridEditCellParams.d.ts +2 -2
- package/models/params/gridPreferencePanelParams.d.ts +1 -1
- package/models/params/gridRowParams.d.ts +1 -1
- package/models/params/gridRowSelectionCheckboxParams.d.ts +1 -1
- package/models/params/gridValueOptionsParams.d.ts +1 -1
- package/models/props/DataGridProps.d.ts +25 -26
- package/package.json +3 -3
- package/themeAugmentation/overrides.d.ts +1 -1
- package/themeAugmentation/props.d.ts +2 -2
- package/utils/assert.d.ts +1 -1
- package/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +1 -1
- package/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +1 -1
- package/utils/createSelector.d.ts +2 -2
- package/utils/exportAs.d.ts +1 -1
- package/utils/getPublicApiRef.d.ts +1 -1
- package/utils/keyboardUtils.d.ts +4 -2
- package/utils/keyboardUtils.js +8 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridColDef, GridFilterItem, GridFilterModel, GridRowModel } from "../../../models/index.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import { type GridColDef, type GridFilterItem, type GridFilterModel, type GridRowModel } from "../../../models/index.js";
|
|
3
3
|
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
4
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
5
|
-
import { GridAggregatedFilterItemApplier, GridFilterItemResult, GridQuickFilterValueResult } from "./gridFilterState.js";
|
|
4
|
+
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
5
|
+
import { type GridAggregatedFilterItemApplier, type GridFilterItemResult, type GridQuickFilterValueResult } from "./gridFilterState.js";
|
|
6
6
|
/**
|
|
7
7
|
* Adds default values to the optional fields of a filter items.
|
|
8
8
|
* @param {GridFilterItem} item The raw filter item.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
3
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
4
|
-
import { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
3
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
4
|
+
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
5
5
|
import type { GridConfiguration } from "../../../models/configuration/gridConfiguration.js";
|
|
6
6
|
export declare const filterStateInitializer: GridStateInitializer<Pick<DataGridProcessedProps, 'filterModel' | 'initialState' | 'disableMultipleColumnsFiltering'>>;
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
|
-
import { GridFocusState, GridTabIndexState } from "./gridFocusState.js";
|
|
1
|
+
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
|
+
import type { GridFocusState, GridTabIndexState } from "./gridFocusState.js";
|
|
3
3
|
export declare const gridFocusStateSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, GridFocusState>;
|
|
4
4
|
export declare const gridFocusCellSelector: (args_0: import("react").RefObject<{
|
|
5
5
|
state: GridStateCommunity;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
-
import { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
+
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
5
5
|
export declare const focusStateInitializer: GridStateInitializer;
|
|
6
6
|
/**
|
|
7
7
|
* @requires useGridParamsApi (method)
|
|
@@ -9,8 +9,9 @@ import { gridClasses } from "../../../constants/gridClasses.js";
|
|
|
9
9
|
import { useGridApiMethod } from "../../utils/useGridApiMethod.js";
|
|
10
10
|
import { useGridLogger } from "../../utils/useGridLogger.js";
|
|
11
11
|
import { useGridEvent } from "../../utils/useGridEvent.js";
|
|
12
|
-
import { isNavigationKey } from "../../../utils/keyboardUtils.js";
|
|
12
|
+
import { isNavigationKey, isPasteShortcut } from "../../../utils/keyboardUtils.js";
|
|
13
13
|
import { gridFocusCellSelector, gridFocusColumnGroupHeaderSelector } from "./gridFocusStateSelector.js";
|
|
14
|
+
import { doesSupportPreventScroll } from "../../../utils/doesSupportPreventScroll.js";
|
|
14
15
|
import { gridVisibleColumnDefinitionsSelector } from "../columns/gridColumnsSelector.js";
|
|
15
16
|
import { getVisibleRows } from "../../utils/useGridVisibleRows.js";
|
|
16
17
|
import { clamp } from "../../../utils/utils.js";
|
|
@@ -50,6 +51,43 @@ export const useGridFocus = (apiRef, props) => {
|
|
|
50
51
|
const setCellFocus = React.useCallback((id, field) => {
|
|
51
52
|
const focusedCell = gridFocusCellSelector(apiRef);
|
|
52
53
|
if (focusedCell?.id === id && focusedCell?.field === field) {
|
|
54
|
+
/**
|
|
55
|
+
* Check if the state matches the actual DOM focus. They can get out of sync after `updateRows()` remounts the cell.
|
|
56
|
+
*/
|
|
57
|
+
if (apiRef.current.getCellMode(id, field) !== 'view') {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
const cellElement = apiRef.current.getCellElement(id, field);
|
|
61
|
+
if (!cellElement) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const gridRoot = apiRef.current.rootElementRef.current;
|
|
65
|
+
const doc = ownerDocument(gridRoot);
|
|
66
|
+
const activeElement = doc.activeElement;
|
|
67
|
+
|
|
68
|
+
// We can take focus if:
|
|
69
|
+
// - Focus is inside the grid, OR
|
|
70
|
+
// - Focus is "lost" (on body/documentElement/null, e.g., after cell remount during undo/redo)
|
|
71
|
+
// We should NOT take focus if it's intentionally outside the grid (e.g., in a Portal/Dialog).
|
|
72
|
+
// React synthetic events bubble through the React component tree, not the DOM tree,
|
|
73
|
+
// so events from Portal content can trigger this code even though focus is elsewhere.
|
|
74
|
+
// This avoids https://github.com/mui/mui-x/issues/21063
|
|
75
|
+
const allowTakingFocus = !activeElement || activeElement === doc.body || activeElement === doc.documentElement || gridRoot?.contains(activeElement);
|
|
76
|
+
if (!allowTakingFocus) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
if (cellElement.contains(doc.activeElement)) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
if (doesSupportPreventScroll()) {
|
|
83
|
+
cellElement.focus({
|
|
84
|
+
preventScroll: true
|
|
85
|
+
});
|
|
86
|
+
} else {
|
|
87
|
+
const scrollPosition = apiRef.current.getScrollPosition();
|
|
88
|
+
cellElement.focus();
|
|
89
|
+
apiRef.current.scroll(scrollPosition);
|
|
90
|
+
}
|
|
53
91
|
return;
|
|
54
92
|
}
|
|
55
93
|
apiRef.current.setState(state => {
|
|
@@ -224,7 +262,7 @@ export const useGridFocus = (apiRef, props) => {
|
|
|
224
262
|
apiRef.current.setCellFocus(id, field);
|
|
225
263
|
}, [apiRef]);
|
|
226
264
|
const handleCellKeyDown = React.useCallback((params, event) => {
|
|
227
|
-
if (event.key === 'Enter' || event.key === 'Tab' || event.key === 'Shift' || isNavigationKey(event.key)) {
|
|
265
|
+
if (isPasteShortcut(event) || event.key === 'Enter' || event.key === 'Tab' || event.key === 'Shift' || isNavigationKey(event.key)) {
|
|
228
266
|
return;
|
|
229
267
|
}
|
|
230
268
|
apiRef.current.setCellFocus(params.id, params.field);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
1
|
+
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
2
|
export declare const gridHeaderFilteringStateSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("../../../models/gridHeaderFilteringModel.js").GridHeaderFilteringState>;
|
|
3
3
|
export declare const gridHeaderFilteringEnabledSelector: (args_0: import("react").RefObject<{
|
|
4
4
|
state: GridStateCommunity;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
-
import { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
+
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
5
5
|
export declare const headerFilteringStateInitializer: GridStateInitializer;
|
|
6
6
|
export declare const useGridHeaderFiltering: (apiRef: RefObject<GridPrivateApiCommunity>, props: Pick<DataGridProcessedProps, "signature" | "headerFilters">) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @requires useGridSorting (method) - can be after
|
|
6
6
|
* @requires useGridFilter (state) - can be after
|
|
@@ -630,6 +630,9 @@ export const useGridKeyboardNavigation = (apiRef, props) => {
|
|
|
630
630
|
if (colDef && (colDef.field === GRID_TREE_DATA_GROUPING_FIELD || isGroupingColumn(colDef.field))) {
|
|
631
631
|
break;
|
|
632
632
|
}
|
|
633
|
+
if (colDef && colDef.type === 'longText') {
|
|
634
|
+
break;
|
|
635
|
+
}
|
|
633
636
|
if (!event.shiftKey && rowIndexBefore < lastRowIndexInPage) {
|
|
634
637
|
goToCell(colIndexBefore, getRowIdFromIndex(Math.min(rowIndexBefore + viewportPageSize, lastRowIndexInPage)));
|
|
635
638
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridRowId } from "../../../models/index.js";
|
|
3
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridRowId } from "../../../models/index.js";
|
|
3
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
4
4
|
export declare const getLeftColumnIndex: ({
|
|
5
5
|
currentColIndex,
|
|
6
6
|
firstColIndex,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
2
|
import type { GridListViewColDef } from "../../../models/colDef/gridColDef.js";
|
|
3
|
-
import { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
4
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
5
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
3
|
+
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
4
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
5
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
6
6
|
export type GridListViewState = (GridListViewColDef & {
|
|
7
7
|
computedWidth: number;
|
|
8
8
|
}) | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { GridSlotsComponent } from "../../../models/index.js";
|
|
1
|
+
import type { GridSlotsComponent } from "../../../models/index.js";
|
|
2
2
|
export type GridOverlayType = keyof Pick<GridSlotsComponent, 'noColumnsOverlay' | 'noRowsOverlay' | 'noResultsOverlay' | 'loadingOverlay'> | null;
|
|
3
3
|
export type GridLoadingOverlayVariant = 'circular-progress' | 'linear-progress' | 'skeleton';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { GridApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { GridApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
4
|
import type { GridOverlayType, GridLoadingOverlayVariant } from "./gridOverlaysInterfaces.js";
|
|
5
5
|
/**
|
|
6
6
|
* Uses the grid state to determine which overlay to display.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridFeatureMode } from "../../../models/gridFeatureMode.js";
|
|
2
|
-
import { GridPaginationMeta, GridPaginationModel } from "../../../models/gridPaginationProps.js";
|
|
1
|
+
import type { GridFeatureMode } from "../../../models/gridFeatureMode.js";
|
|
2
|
+
import type { GridPaginationMeta, GridPaginationModel } from "../../../models/gridPaginationProps.js";
|
|
3
3
|
export interface GridPaginationState {
|
|
4
4
|
paginationModel: GridPaginationModel;
|
|
5
5
|
rowCount: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
|
-
import { GridRowId } from "../../../models/gridRows.js";
|
|
1
|
+
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
|
+
import type { GridRowId } from "../../../models/gridRows.js";
|
|
3
3
|
/**
|
|
4
4
|
* @category Pagination
|
|
5
5
|
* @ignore - do not document.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
1
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
2
2
|
export declare const defaultPageSize: (autoPageSize: boolean) => 0 | 100;
|
|
3
3
|
export declare const getPageCount: (rowCount: number, pageSize: number, page: number) => number;
|
|
4
4
|
export declare const getDefaultGridPaginationModel: (autoPageSize: boolean) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
-
import { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
+
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
5
5
|
export declare const paginationStateInitializer: GridStateInitializer<Pick<DataGridProcessedProps, 'paginationModel' | 'rowCount' | 'initialState' | 'autoPageSize' | 'signature' | 'paginationMeta' | 'pagination' | 'paginationMode'>>;
|
|
6
6
|
/**
|
|
7
7
|
* @requires useGridFilter (state)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
4
|
export declare const useGridPaginationMeta: (apiRef: RefObject<GridPrivateApiCommunity>, props: Pick<DataGridProcessedProps, "paginationMeta" | "initialState" | "paginationMode" | "onPaginationMetaChange">) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
-
import { GridPaginationState } from "./gridPaginationInterfaces.js";
|
|
5
|
-
import { GridPaginationModel } from "../../../models/gridPaginationProps.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
+
import type { GridPaginationState } from "./gridPaginationInterfaces.js";
|
|
5
|
+
import type { GridPaginationModel } from "../../../models/gridPaginationProps.js";
|
|
6
6
|
export declare const getDerivedPaginationModel: (paginationState: GridPaginationState, signature: DataGridProcessedProps["signature"], paginationModelProp?: GridPaginationModel) => GridPaginationModel;
|
|
7
7
|
/**
|
|
8
8
|
* @requires useGridFilter (state)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
4
|
export declare const useGridRowCount: (apiRef: RefObject<GridPrivateApiCommunity>, props: Pick<DataGridProcessedProps, "rowCount" | "initialState" | "paginationMode" | "onRowCountChange">) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
1
|
+
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
2
|
export declare const gridPreferencePanelStateSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("@mui/x-data-grid").GridPreferencePanelState>;
|
|
3
3
|
export declare const gridPreferencePanelSelectorWithLabel: (args_0: import("react").RefObject<{
|
|
4
4
|
state: GridStateCommunity;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
-
import { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
+
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
5
5
|
export declare const preferencePanelStateInitializer: GridStateInitializer<Pick<DataGridProcessedProps, 'initialState'>>;
|
|
6
6
|
/**
|
|
7
7
|
* TODO: Add a single `setPreferencePanel` method to avoid multiple `setState`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
1
|
+
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
2
|
import type { GridRowId } from "../../../models/gridRows.js";
|
|
3
3
|
export declare const gridRowReorderStateSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("./gridRowReorderInterfaces.js").GridRowReorderState>;
|
|
4
4
|
export declare const gridIsRowDragActiveSelector: (args_0: import("react").RefObject<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
|
-
import { GridRowId } from "../../../models/gridRows.js";
|
|
1
|
+
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
|
+
import type { GridRowId } from "../../../models/gridRows.js";
|
|
3
3
|
export declare const gridRowSelectionStateSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("@mui/x-data-grid").GridRowSelectionModel>;
|
|
4
4
|
export declare const gridRowSelectionManagerSelector: (args_0: import("react").RefObject<{
|
|
5
5
|
state: GridStateCommunity;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
3
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
4
|
-
import { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
3
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
4
|
+
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
5
5
|
export declare const rowSelectionStateInitializer: GridStateInitializer<Pick<DataGridProcessedProps, 'rowSelectionModel' | 'rowSelection'>>;
|
|
6
6
|
/**
|
|
7
7
|
* @requires useGridRows (state, method) - can be after
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
3
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
3
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
4
4
|
export declare const useGridRowSelectionPreProcessors: (apiRef: RefObject<GridPrivateApiCommunity>, props: DataGridProcessedProps) => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
2
|
import type { GridRowId, GridRowTreeConfig } from "../../../models/gridRows.js";
|
|
3
3
|
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
4
|
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import type { GridRowSelectionPropagation } from "../../../models/gridRowSelectionModel.js";
|
|
6
|
+
import type { RowSelectionManager } from "../../../models/gridRowSelectionManager.js";
|
|
7
7
|
export declare const ROW_SELECTION_PROPAGATION_DEFAULT: GridRowSelectionPropagation;
|
|
8
8
|
export declare const checkboxPropsSelector: (args_0: import("react").RefObject<{
|
|
9
9
|
state: import("../../../models/gridStateCommunity.js").GridStateCommunity;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
2
|
import type { GridRenderContext } from "../../../models/index.js";
|
|
3
3
|
import type { GridValidRowModel } from "../../../models/gridRows.js";
|
|
4
4
|
import type { GridColDef } from "../../../models/colDef/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRowEntry, GridRowId, GridRowTreeConfig, GridValidRowModel } from "../../../models/gridRows.js";
|
|
1
|
+
import type { GridRowEntry, GridRowId, GridRowTreeConfig, GridValidRowModel } from "../../../models/gridRows.js";
|
|
2
2
|
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
3
3
|
export interface GridRowsInternalCache {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HeightEntry } from '@mui/x-virtualizer/models';
|
|
2
|
-
import { GridRowId } from "../../../models/gridRows.js";
|
|
2
|
+
import type { GridRowId } from "../../../models/gridRows.js";
|
|
3
3
|
export type { HeightEntry } from '@mui/x-virtualizer/models';
|
|
4
4
|
export type HeightCache = Map<GridRowId, HeightEntry>;
|
|
5
5
|
export interface GridRowsMetaInternalCache {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
1
|
+
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
2
|
export declare const gridRowsMetaSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("@mui/x-data-grid").GridRowsMetaState>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridRowId } from "../../../models/gridRows.js";
|
|
2
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
1
|
+
import type { GridRowId } from "../../../models/gridRows.js";
|
|
2
|
+
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
3
3
|
export declare const gridRowsStateSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("@mui/x-data-grid").GridRowsState>;
|
|
4
4
|
export declare const gridRowCountSelector: (args_0: import("react").RefObject<{
|
|
5
5
|
state: GridStateCommunity;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridAutoGeneratedGroupNode, GridAutoGeneratedPinnedRowNode, GridColDef, GridFooterNode, GridGroupNode, GridRowId, GridRowIdGetter, GridRowModel, GridRowModelUpdate, GridRowTreeConfig, GridSkeletonRowNode, GridTreeNode, GridValidRowModel } from "../../../models/index.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
-
import { GridApiCommunity, GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
5
|
-
import { GridRowsInternalCache, GridRowsState, GridRowTreeCreationParams } from "./gridRowsInterfaces.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridAutoGeneratedGroupNode, GridAutoGeneratedPinnedRowNode, GridColDef, GridFooterNode, GridGroupNode, GridRowId, GridRowIdGetter, GridRowModel, GridRowModelUpdate, GridRowTreeConfig, GridSkeletonRowNode, GridTreeNode, GridValidRowModel } from "../../../models/index.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
+
import type { GridApiCommunity, GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
5
|
+
import type { GridRowsInternalCache, GridRowsState, GridRowTreeCreationParams } from "./gridRowsInterfaces.js";
|
|
6
6
|
export declare const GRID_ROOT_GROUP_ID: GridRowId;
|
|
7
7
|
export declare const GRID_ID_AUTOGENERATED: unique symbol;
|
|
8
8
|
export declare const buildRootGroup: () => GridGroupNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
4
|
import type { GridConfiguration } from "../../../models/configuration/gridConfiguration.js";
|
|
5
5
|
export declare class MissingRowIdError extends Error {}
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
3
|
export declare const useGridParamsOverridableMethods: (apiRef: RefObject<GridPrivateApiCommunity>) => {
|
|
4
4
|
getCellValue: <V = any>(id: import("@mui/x-data-grid").GridRowId, field: string) => V;
|
|
5
5
|
getRowValue: <V = any>(row: import("@mui/x-data-grid").GridRowModel, colDef: import("@mui/x-data-grid").GridColDef) => V;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GetRowAriaAttributesFn } from "../../../models/configuration/gridRowConfiguration.js";
|
|
1
|
+
import type { GetRowAriaAttributesFn } from "../../../models/configuration/gridRowConfiguration.js";
|
|
2
2
|
export declare const useGridRowAriaAttributes: () => GetRowAriaAttributesFn;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { RowSpanningState } from '@mui/x-virtualizer/models';
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { RowSpanningState } from '@mui/x-virtualizer/models';
|
|
3
3
|
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
4
|
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
5
5
|
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
3
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
4
|
-
import { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
3
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
4
|
+
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
5
5
|
import type { GridConfiguration } from "../../../models/configuration/gridConfiguration.js";
|
|
6
6
|
export declare const rowsStateInitializer: GridStateInitializer<Pick<DataGridProcessedProps, 'dataSource' | 'rows' | 'rowCount' | 'getRowId' | 'loading'>>;
|
|
7
7
|
export declare const useGridRows: (apiRef: RefObject<GridPrivateApiCommunity>, props: Pick<DataGridProcessedProps, "rows" | "getRowId" | "rowCount" | "throttleRowsMs" | "signature" | "pagination" | "paginationMode" | "loading" | "dataSource" | "processRowUpdate" | "onProcessRowUpdateError">, configuration: GridConfiguration) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
-
import { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
+
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
5
5
|
export declare const rowsMetaStateInitializer: GridStateInitializer;
|
|
6
6
|
/**
|
|
7
7
|
* @requires useGridPageSize (method)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridRowId } from "../../../models/gridRows.js";
|
|
3
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridRowId } from "../../../models/gridRows.js";
|
|
3
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
4
4
|
export declare const useGridRowsOverridableMethods: (apiRef: RefObject<GridPrivateApiCommunity>) => {
|
|
5
5
|
setRowIndex: (rowId: GridRowId, targetIndex: number) => void;
|
|
6
6
|
setRowPosition: (sourceRowId: GridRowId, targetRowId: GridRowId, position: import("../../../internals/index.js").RowReorderDropPosition) => void | Promise<void>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
3
|
export declare const useGridRowsPreProcessors: (apiRef: RefObject<GridPrivateApiCommunity>) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @requires useGridPagination (state) - can be after, async only
|
|
6
6
|
* @requires useGridColumns (state) - can be after, async only
|
|
@@ -56,7 +56,7 @@ export const useGridScroll = (apiRef, props) => {
|
|
|
56
56
|
}
|
|
57
57
|
logger.debug(`Scrolling to cell at row ${params.rowIndex}, col: ${params.colIndex} `);
|
|
58
58
|
let scrollCoordinates = {};
|
|
59
|
-
if (params.colIndex !== undefined) {
|
|
59
|
+
if (params.colIndex !== undefined && visibleColumns[params.colIndex]) {
|
|
60
60
|
const columnPositions = gridColumnPositionsSelector(apiRef);
|
|
61
61
|
let cellWidth;
|
|
62
62
|
if (typeof params.rowIndex !== 'undefined') {
|
|
@@ -73,7 +73,7 @@ export const useGridScroll = (apiRef, props) => {
|
|
|
73
73
|
// When using RTL, `scrollLeft` becomes negative, so we must ensure that we only compare values.
|
|
74
74
|
scrollCoordinates.left = scrollIntoView({
|
|
75
75
|
containerSize: dimensions.viewportOuterSize.width,
|
|
76
|
-
scrollPosition: Math.abs(virtualScrollerRef.current
|
|
76
|
+
scrollPosition: Math.abs(virtualScrollerRef.current?.scrollLeft ?? 0),
|
|
77
77
|
elementSize: cellWidth,
|
|
78
78
|
elementOffset: columnPositions[params.colIndex]
|
|
79
79
|
});
|
|
@@ -86,7 +86,7 @@ export const useGridScroll = (apiRef, props) => {
|
|
|
86
86
|
const targetOffsetHeight = rowsMeta.positions[elementIndex + 1] ? rowsMeta.positions[elementIndex + 1] - rowsMeta.positions[elementIndex] : rowsMeta.currentPageTotalHeight - rowsMeta.positions[elementIndex];
|
|
87
87
|
scrollCoordinates.top = scrollIntoView({
|
|
88
88
|
containerSize: dimensions.viewportInnerSize.height,
|
|
89
|
-
scrollPosition: virtualScrollerRef.current
|
|
89
|
+
scrollPosition: virtualScrollerRef.current?.scrollTop ?? 0,
|
|
90
90
|
elementSize: targetOffsetHeight,
|
|
91
91
|
elementOffset: rowsMeta.positions[elementIndex]
|
|
92
92
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GridSortDirection, GridSortModel } from "../../../models/gridSortModel.js";
|
|
1
|
+
import type { GridSortDirection, GridSortModel } from "../../../models/gridSortModel.js";
|
|
2
2
|
import type { GridValidRowModel, GridRowEntry, GridRowId } from "../../../models/gridRows.js";
|
|
3
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
3
|
+
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
4
4
|
/**
|
|
5
5
|
* Get the id of the rows after the sorting process.
|
|
6
6
|
* @category Sorting
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridRowId, GridTreeNode } from "../../../models/gridRows.js";
|
|
2
|
-
import { GridSortModel } from "../../../models/gridSortModel.js";
|
|
1
|
+
import type { GridRowId, GridTreeNode } from "../../../models/gridRows.js";
|
|
2
|
+
import type { GridSortModel } from "../../../models/gridSortModel.js";
|
|
3
3
|
export interface GridSortingState {
|
|
4
4
|
sortedRows: GridRowId[];
|
|
5
5
|
sortModel: GridSortModel;
|