@mui/x-data-grid 9.0.0-alpha.0 → 9.0.0-alpha.2
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 +236 -0
- package/DataGrid/DataGrid.d.mts +16 -0
- package/DataGrid/DataGrid.js +11 -0
- package/DataGrid/DataGrid.mjs +825 -0
- package/DataGrid/index.d.mts +1 -0
- package/DataGrid/index.mjs +1 -0
- package/DataGrid/useDataGridComponent.d.mts +5 -0
- package/DataGrid/useDataGridComponent.mjs +104 -0
- package/DataGrid/useDataGridProps.d.mts +3 -0
- package/DataGrid/useDataGridProps.mjs +50 -0
- package/colDef/gridActionsColDef.d.mts +3 -0
- package/colDef/gridActionsColDef.mjs +20 -0
- package/colDef/gridBooleanColDef.d.mts +2 -0
- package/colDef/gridBooleanColDef.mjs +41 -0
- package/colDef/gridBooleanOperators.d.mts +2 -0
- package/colDef/gridBooleanOperators.mjs +12 -0
- package/colDef/gridCheckboxSelectionColDef.d.mts +3 -0
- package/colDef/gridCheckboxSelectionColDef.mjs +30 -0
- package/colDef/gridDateColDef.d.mts +5 -0
- package/colDef/gridDateColDef.js +2 -1
- package/colDef/gridDateColDef.mjs +68 -0
- package/colDef/gridDateOperators.d.mts +3 -0
- package/colDef/gridDateOperators.mjs +108 -0
- package/colDef/gridDefaultColumnTypes.d.mts +3 -0
- package/colDef/gridDefaultColumnTypes.mjs +22 -0
- package/colDef/gridLongTextColDef.d.mts +2 -0
- package/colDef/gridLongTextColDef.mjs +10 -0
- package/colDef/gridNumericColDef.d.mts +2 -0
- package/colDef/gridNumericColDef.mjs +15 -0
- package/colDef/gridNumericOperators.d.mts +7 -0
- package/colDef/gridNumericOperators.mjs +143 -0
- package/colDef/gridSingleSelectColDef.d.mts +2 -0
- package/colDef/gridSingleSelectColDef.mjs +61 -0
- package/colDef/gridSingleSelectOperators.d.mts +2 -0
- package/colDef/gridSingleSelectOperators.mjs +38 -0
- package/colDef/gridStringColDef.d.mts +5 -0
- package/colDef/gridStringColDef.mjs +28 -0
- package/colDef/gridStringOperators.d.mts +4 -0
- package/colDef/gridStringOperators.mjs +121 -0
- package/colDef/index.d.mts +14 -0
- package/colDef/index.mjs +14 -0
- package/components/GridColumnHeaders.d.mts +7 -0
- package/components/GridColumnHeaders.mjs +88 -0
- package/components/GridColumnSortButton.d.mts +16 -0
- package/components/GridColumnSortButton.mjs +105 -0
- package/components/GridColumnUnsortedIcon.d.mts +7 -0
- package/components/GridColumnUnsortedIcon.mjs +17 -0
- package/components/GridFooter.d.mts +5 -0
- package/components/GridFooter.mjs +42 -0
- package/components/GridHeader.mjs +11 -0
- package/components/GridHeaders.mjs +49 -0
- package/components/GridLoadingOverlay.d.mts +17 -0
- package/components/GridLoadingOverlay.mjs +70 -0
- package/components/GridNoColumnsOverlay.d.mts +5 -0
- package/components/GridNoColumnsOverlay.mjs +38 -0
- package/components/GridNoResultsOverlay.d.mts +4 -0
- package/components/GridNoResultsOverlay.mjs +16 -0
- package/components/GridNoRowsOverlay.d.mts +5 -0
- package/components/GridNoRowsOverlay.mjs +25 -0
- package/components/GridPagination.mjs +86 -0
- package/components/GridRow.d.mts +39 -0
- package/components/GridRow.mjs +355 -0
- package/components/GridRowCount.mjs +66 -0
- package/components/GridRowDragAndDropOverlay.d.mts +7 -0
- package/components/GridRowDragAndDropOverlay.mjs +66 -0
- package/components/GridScrollArea.d.mts +9 -0
- package/components/GridScrollArea.js +9 -11
- package/components/GridScrollArea.mjs +254 -0
- package/components/GridScrollShadows.mjs +122 -0
- package/components/GridScrollbarFillerCell.mjs +16 -0
- package/components/GridSelectedRowCount.mjs +69 -0
- package/components/GridSkeletonLoadingOverlay.d.mts +14 -0
- package/components/GridSkeletonLoadingOverlay.js +2 -1
- package/components/GridSkeletonLoadingOverlay.mjs +196 -0
- package/components/base/GridBody.d.mts +2 -0
- package/components/base/GridBody.mjs +2 -0
- package/components/base/GridFooterPlaceholder.mjs +10 -0
- package/components/base/GridOverlays.d.mts +11 -0
- package/components/base/GridOverlays.mjs +83 -0
- package/components/base/index.d.mts +2 -0
- package/components/base/index.mjs +2 -0
- package/components/cell/GridActionsCell.d.mts +41 -0
- package/components/cell/GridActionsCell.js +2 -1
- package/components/cell/GridActionsCell.mjs +291 -0
- package/components/cell/GridActionsCellItem.d.mts +55 -0
- package/components/cell/GridActionsCellItem.mjs +59 -0
- package/components/cell/GridBooleanCell.d.mts +13 -0
- package/components/cell/GridBooleanCell.mjs +124 -0
- package/components/cell/GridCell.d.mts +77 -0
- package/components/cell/GridCell.mjs +344 -0
- package/components/cell/GridEditBooleanCell.d.mts +17 -0
- package/components/cell/GridEditBooleanCell.mjs +144 -0
- package/components/cell/GridEditDateCell.d.mts +21 -0
- package/components/cell/GridEditDateCell.mjs +199 -0
- package/components/cell/GridEditInputCell.d.mts +19 -0
- package/components/cell/GridEditInputCell.mjs +105 -0
- package/components/cell/GridEditLongTextCell.d.mts +41 -0
- package/components/cell/GridEditLongTextCell.mjs +240 -0
- package/components/cell/GridEditSingleSelectCell.d.mts +21 -0
- package/components/cell/GridEditSingleSelectCell.mjs +192 -0
- package/components/cell/GridFooterCell.d.mts +9 -0
- package/components/cell/GridFooterCell.mjs +48 -0
- package/components/cell/GridLongTextCell.d.mts +43 -0
- package/components/cell/GridLongTextCell.mjs +246 -0
- package/components/cell/GridSkeletonCell.d.mts +20 -0
- package/components/cell/GridSkeletonCell.mjs +105 -0
- package/components/cell/index.d.mts +12 -0
- package/components/cell/index.mjs +11 -0
- package/components/columnHeaders/ColumnHeaderMenuIcon.d.mts +10 -0
- package/components/columnHeaders/ColumnHeaderMenuIcon.mjs +66 -0
- package/components/columnHeaders/GridBaseColumnHeaders.mjs +47 -0
- package/components/columnHeaders/GridColumnGroupHeader.d.mts +21 -0
- package/components/columnHeaders/GridColumnGroupHeader.mjs +152 -0
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.d.mts +12 -0
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.mjs +109 -0
- package/components/columnHeaders/GridColumnHeaderItem.d.mts +33 -0
- package/components/columnHeaders/GridColumnHeaderItem.mjs +275 -0
- package/components/columnHeaders/GridColumnHeaderSeparator.mjs +73 -0
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.mts +9 -0
- package/components/columnHeaders/GridColumnHeaderSortIcon.mjs +38 -0
- package/components/columnHeaders/GridColumnHeaderTitle.mjs +90 -0
- package/components/columnHeaders/GridGenericColumnHeaderItem.d.mts +32 -0
- package/components/columnHeaders/GridGenericColumnHeaderItem.mjs +82 -0
- package/components/columnHeaders/GridIconButtonContainer.mjs +45 -0
- package/components/columnHeaders/index.d.mts +5 -0
- package/components/columnHeaders/index.mjs +5 -0
- package/components/columnSelection/GridCellCheckboxRenderer.d.mts +5 -0
- package/components/columnSelection/GridCellCheckboxRenderer.js +1 -1
- package/components/columnSelection/GridCellCheckboxRenderer.mjs +174 -0
- package/components/columnSelection/GridHeaderCheckbox.d.mts +4 -0
- package/components/columnSelection/GridHeaderCheckbox.js +7 -5
- package/components/columnSelection/GridHeaderCheckbox.mjs +178 -0
- package/components/columnSelection/index.d.mts +2 -0
- package/components/columnSelection/index.mjs +2 -0
- package/components/columnsManagement/GridColumnsManagement.d.mts +50 -0
- package/components/columnsManagement/GridColumnsManagement.mjs +317 -0
- package/components/columnsManagement/index.d.mts +1 -0
- package/components/columnsManagement/index.mjs +1 -0
- package/components/columnsManagement/utils.d.mts +4 -0
- package/components/columnsPanel/ColumnsPanelTrigger.d.mts +33 -0
- package/components/columnsPanel/ColumnsPanelTrigger.mjs +102 -0
- package/components/columnsPanel/index.d.mts +1 -0
- package/components/columnsPanel/index.mjs +1 -0
- package/components/containers/GridFooterContainer.mjs +56 -0
- package/components/containers/GridOverlay.mjs +63 -0
- package/components/containers/GridRoot.mjs +88 -0
- package/components/containers/GridRootStyles.d.mts +7 -0
- package/components/containers/GridRootStyles.mjs +722 -0
- package/components/containers/GridToolbarContainer.mjs +69 -0
- package/components/containers/index.d.mts +4 -0
- package/components/containers/index.mjs +4 -0
- package/components/export/ExportCsv.d.mts +30 -0
- package/components/export/ExportCsv.mjs +83 -0
- package/components/export/ExportPrint.d.mts +30 -0
- package/components/export/ExportPrint.mjs +83 -0
- package/components/export/index.d.mts +2 -0
- package/components/export/index.mjs +2 -0
- package/components/filterPanel/FilterPanelTrigger.d.mts +37 -0
- package/components/filterPanel/FilterPanelTrigger.mjs +105 -0
- package/components/filterPanel/index.d.mts +1 -0
- package/components/filterPanel/index.mjs +1 -0
- package/components/index.d.mts +26 -0
- package/components/index.mjs +26 -0
- package/components/menu/GridMenu.d.mts +15 -0
- package/components/menu/GridMenu.mjs +110 -0
- package/components/menu/columnMenu/GridColumnHeaderMenu.d.mts +26 -0
- package/components/menu/columnMenu/GridColumnHeaderMenu.mjs +63 -0
- package/components/menu/columnMenu/GridColumnMenu.d.mts +23 -0
- package/components/menu/columnMenu/GridColumnMenu.mjs +114 -0
- package/components/menu/columnMenu/GridColumnMenuContainer.d.mts +4 -0
- package/components/menu/columnMenu/GridColumnMenuContainer.mjs +72 -0
- package/components/menu/columnMenu/GridColumnMenuItemProps.d.mts +7 -0
- package/components/menu/columnMenu/GridColumnMenuProps.d.mts +20 -0
- package/components/menu/columnMenu/index.d.mts +6 -0
- package/components/menu/columnMenu/index.mjs +8 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.mts +6 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.mjs +20 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.mts +6 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.mjs +36 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.mts +6 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.mjs +53 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.mts +6 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.mjs +36 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.mts +6 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.mjs +69 -0
- package/components/menu/columnMenu/menuItems/index.d.mts +5 -0
- package/components/menu/columnMenu/menuItems/index.mjs +5 -0
- package/components/menu/index.d.mts +2 -0
- package/components/menu/index.mjs +2 -0
- package/components/panel/GridColumnsPanel.d.mts +4 -0
- package/components/panel/GridColumnsPanel.mjs +11 -0
- package/components/panel/GridPanel.d.mts +21 -0
- package/components/panel/GridPanel.mjs +110 -0
- package/components/panel/GridPanelContent.mjs +53 -0
- package/components/panel/GridPanelContext.js +3 -1
- package/components/panel/GridPanelContext.mjs +30 -0
- package/components/panel/GridPanelFooter.mjs +50 -0
- package/components/panel/GridPanelHeader.mjs +47 -0
- package/components/panel/GridPanelWrapper.mjs +50 -0
- package/components/panel/GridPreferencesPanel.mjs +43 -0
- package/components/panel/filterPanel/GridFilterForm.d.mts +107 -0
- package/components/panel/filterPanel/GridFilterForm.js +2 -1
- package/components/panel/filterPanel/GridFilterForm.mjs +475 -0
- package/components/panel/filterPanel/GridFilterInputBoolean.d.mts +9 -0
- package/components/panel/filterPanel/GridFilterInputBoolean.js +2 -1
- package/components/panel/filterPanel/GridFilterInputBoolean.mjs +126 -0
- package/components/panel/filterPanel/GridFilterInputDate.d.mts +10 -0
- package/components/panel/filterPanel/GridFilterInputDate.js +2 -1
- package/components/panel/filterPanel/GridFilterInputDate.mjs +138 -0
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.mts +11 -0
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +2 -1
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.mjs +114 -0
- package/components/panel/filterPanel/GridFilterInputMultipleValue.d.mts +10 -0
- package/components/panel/filterPanel/GridFilterInputMultipleValue.js +14 -10
- package/components/panel/filterPanel/GridFilterInputMultipleValue.mjs +104 -0
- package/components/panel/filterPanel/GridFilterInputSingleSelect.d.mts +10 -0
- package/components/panel/filterPanel/GridFilterInputSingleSelect.js +2 -1
- package/components/panel/filterPanel/GridFilterInputSingleSelect.mjs +142 -0
- package/components/panel/filterPanel/GridFilterInputValue.d.mts +14 -0
- package/components/panel/filterPanel/GridFilterInputValue.js +2 -1
- package/components/panel/filterPanel/GridFilterInputValue.mjs +124 -0
- package/components/panel/filterPanel/GridFilterPanel.d.mts +49 -0
- package/components/panel/filterPanel/GridFilterPanel.mjs +250 -0
- package/components/panel/filterPanel/filterPanelUtils.d.mts +5 -0
- package/components/panel/filterPanel/index.d.mts +10 -0
- package/components/panel/filterPanel/index.mjs +8 -0
- package/components/panel/index.d.mts +7 -0
- package/components/panel/index.mjs +7 -0
- package/components/quickFilter/QuickFilter.d.mts +64 -0
- package/components/quickFilter/QuickFilter.mjs +191 -0
- package/components/quickFilter/QuickFilterClear.d.mts +28 -0
- package/components/quickFilter/QuickFilterClear.mjs +77 -0
- package/components/quickFilter/QuickFilterContext.js +3 -1
- package/components/quickFilter/QuickFilterContext.mjs +13 -0
- package/components/quickFilter/QuickFilterControl.d.mts +28 -0
- package/components/quickFilter/QuickFilterControl.mjs +124 -0
- package/components/quickFilter/QuickFilterTrigger.d.mts +28 -0
- package/components/quickFilter/QuickFilterTrigger.mjs +80 -0
- package/components/quickFilter/index.d.mts +4 -0
- package/components/quickFilter/index.mjs +4 -0
- package/components/reexportable.d.mts +1 -0
- package/components/reexportable.mjs +1 -0
- package/components/toolbar/GridToolbar.d.mts +24 -0
- package/components/toolbar/GridToolbar.mjs +88 -0
- package/components/toolbar/GridToolbarColumnsButton.d.mts +17 -0
- package/components/toolbar/GridToolbarColumnsButton.mjs +85 -0
- package/components/toolbar/GridToolbarDensitySelector.d.mts +17 -0
- package/components/toolbar/GridToolbarDensitySelector.mjs +123 -0
- package/components/toolbar/GridToolbarExport.d.mts +42 -0
- package/components/toolbar/GridToolbarExport.mjs +131 -0
- package/components/toolbar/GridToolbarExportContainer.d.mts +16 -0
- package/components/toolbar/GridToolbarExportContainer.mjs +88 -0
- package/components/toolbar/GridToolbarFilterButton.d.mts +18 -0
- package/components/toolbar/GridToolbarFilterButton.mjs +149 -0
- package/components/toolbar/GridToolbarQuickFilter.d.mts +45 -0
- package/components/toolbar/GridToolbarQuickFilter.js +2 -1
- package/components/toolbar/GridToolbarQuickFilter.mjs +189 -0
- package/components/toolbar/index.d.mts +8 -0
- package/components/toolbar/index.mjs +7 -0
- package/components/toolbarV8/GridToolbar.d.mts +17 -0
- package/components/toolbarV8/GridToolbar.mjs +201 -0
- package/components/toolbarV8/Toolbar.mjs +208 -0
- package/components/toolbarV8/ToolbarButton.d.mts +23 -0
- package/components/toolbarV8/ToolbarButton.mjs +111 -0
- package/components/toolbarV8/ToolbarContext.js +3 -1
- package/components/toolbarV8/ToolbarContext.mjs +13 -0
- package/components/toolbarV8/index.d.mts +2 -0
- package/components/toolbarV8/index.mjs +2 -0
- package/components/virtualization/GridBottomContainer.mjs +28 -0
- package/components/virtualization/GridMainContainer.d.mts +19 -0
- package/components/virtualization/GridMainContainer.mjs +57 -0
- package/components/virtualization/GridTopContainer.mjs +28 -0
- package/components/virtualization/GridVirtualScrollbar.mjs +110 -0
- package/components/virtualization/GridVirtualScroller.mjs +156 -0
- package/components/virtualization/GridVirtualScrollerContent.mjs +46 -0
- package/components/virtualization/GridVirtualScrollerFiller.mjs +85 -0
- package/components/virtualization/GridVirtualScrollerRenderZone.mjs +41 -0
- package/constants/dataGridPropsDefaultValues.d.mts +5 -0
- package/constants/dataGridPropsDefaultValues.js +1 -0
- package/constants/dataGridPropsDefaultValues.mjs +63 -0
- package/constants/defaultGridSlotsComponents.d.mts +2 -0
- package/constants/defaultGridSlotsComponents.mjs +38 -0
- package/constants/index.d.mts +4 -0
- package/constants/index.mjs +4 -0
- package/constants/localeTextConstants.d.mts +2 -0
- package/constants/localeTextConstants.js +5 -3
- package/constants/localeTextConstants.mjs +298 -0
- package/context/GridContextProvider.d.mts +17 -0
- package/context/GridContextProvider.mjs +35 -0
- package/context/index.d.mts +1 -0
- package/context/index.mjs +1 -0
- package/hooks/core/gridCoreSelector.d.mts +6 -0
- package/hooks/core/gridCoreSelector.mjs +6 -0
- package/hooks/core/gridPropsSelectors.d.mts +10 -0
- package/hooks/core/gridPropsSelectors.mjs +18 -0
- package/hooks/core/index.d.mts +2 -0
- package/hooks/core/index.mjs +1 -0
- package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.mts +163 -0
- package/hooks/core/pipeProcessing/index.d.mts +4 -0
- package/hooks/core/pipeProcessing/index.mjs +4 -0
- package/hooks/core/pipeProcessing/useGridPipeProcessing.d.mts +32 -0
- package/hooks/core/pipeProcessing/useGridPipeProcessing.mjs +124 -0
- package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.mts +4 -0
- package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.mjs +28 -0
- package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.mts +4 -0
- package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.mjs +30 -0
- package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.mts +81 -0
- package/hooks/core/strategyProcessing/index.d.mts +3 -0
- package/hooks/core/strategyProcessing/index.mjs +3 -0
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.mts +4 -0
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.mjs +20 -0
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.d.mts +43 -0
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.js +3 -2
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.mjs +113 -0
- package/hooks/core/useGridApiInitialization.d.mts +5 -0
- package/hooks/core/useGridApiInitialization.mjs +114 -0
- package/hooks/core/useGridInitialization.d.mts +7 -0
- package/hooks/core/useGridInitialization.mjs +25 -0
- package/hooks/core/useGridIsRtl.d.mts +3 -0
- package/hooks/core/useGridLocaleText.d.mts +4 -0
- package/hooks/core/useGridLocaleText.js +3 -1
- package/hooks/core/useGridLocaleText.mjs +13 -0
- package/hooks/core/useGridLoggerFactory.d.mts +4 -0
- package/hooks/core/useGridLoggerFactory.js +3 -1
- package/hooks/core/useGridLoggerFactory.mjs +45 -0
- package/hooks/core/useGridProps.d.mts +6 -0
- package/hooks/core/useGridRefs.d.mts +3 -0
- package/hooks/core/useGridStateInitialization.d.mts +3 -0
- package/hooks/core/useGridStateInitialization.js +2 -1
- package/hooks/core/useGridStateInitialization.mjs +98 -0
- package/hooks/core/useGridVirtualizer.mjs +265 -0
- package/hooks/features/clipboard/useGridClipboard.d.mts +8 -0
- package/hooks/features/clipboard/useGridClipboard.mjs +97 -0
- package/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.mts +19 -0
- package/hooks/features/columnGrouping/gridColumnGroupsSelector.d.mts +20 -0
- package/hooks/features/columnGrouping/gridColumnGroupsSelector.mjs +10 -0
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.mts +19 -0
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.js +4 -3
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.mjs +120 -0
- package/hooks/features/columnGrouping/index.d.mts +2 -0
- package/hooks/features/columnGrouping/index.mjs +2 -0
- package/hooks/features/columnGrouping/useGridColumnGrouping.d.mts +10 -0
- package/hooks/features/columnGrouping/useGridColumnGrouping.mjs +110 -0
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.mts +65 -0
- package/hooks/features/columnHeaders/useGridColumnHeaders.mjs +316 -0
- package/hooks/features/columnMenu/columnMenuSelector.d.mts +2 -0
- package/hooks/features/columnMenu/columnMenuSelector.mjs +2 -0
- package/hooks/features/columnMenu/getColumnMenuItemKeys.d.mts +17 -0
- package/hooks/features/columnMenu/index.d.mts +2 -0
- package/hooks/features/columnMenu/index.mjs +2 -0
- package/hooks/features/columnMenu/useGridColumnMenu.d.mts +9 -0
- package/hooks/features/columnMenu/useGridColumnMenu.mjs +116 -0
- package/hooks/features/columnMenu/useGridColumnMenuSlots.d.mts +13 -0
- package/hooks/features/columnMenu/useGridColumnMenuSlots.mjs +54 -0
- package/hooks/features/columnResize/columnResizeSelector.d.mts +5 -0
- package/hooks/features/columnResize/columnResizeSelector.mjs +3 -0
- package/hooks/features/columnResize/gridColumnResizeApi.d.mts +57 -0
- package/hooks/features/columnResize/index.d.mts +3 -0
- package/hooks/features/columnResize/index.mjs +3 -0
- package/hooks/features/columnResize/useGridColumnResize.d.mts +10 -0
- package/hooks/features/columnResize/useGridColumnResize.mjs +616 -0
- package/hooks/features/columns/gridColumnsInterfaces.d.mts +42 -0
- package/hooks/features/columns/gridColumnsSelector.d.mts +114 -0
- package/hooks/features/columns/gridColumnsSelector.js +5 -14
- package/hooks/features/columns/gridColumnsSelector.mjs +142 -0
- package/hooks/features/columns/gridColumnsUtils.d.mts +75 -0
- package/hooks/features/columns/gridColumnsUtils.mjs +345 -0
- package/hooks/features/columns/index.d.mts +2 -0
- package/hooks/features/columns/index.mjs +2 -0
- package/hooks/features/columns/useGridColumnSpanning.d.mts +7 -0
- package/hooks/features/columns/useGridColumnSpanning.mjs +27 -0
- package/hooks/features/columns/useGridColumns.d.mts +11 -0
- package/hooks/features/columns/useGridColumns.mjs +348 -0
- package/hooks/features/dataSource/cache.d.mts +29 -0
- package/hooks/features/dataSource/gridDataSourceError.d.mts +31 -0
- package/hooks/features/dataSource/gridDataSourceSelector.d.mts +10 -0
- package/hooks/features/dataSource/gridDataSourceSelector.mjs +12 -0
- package/hooks/features/dataSource/index.d.mts +2 -0
- package/hooks/features/dataSource/index.mjs +2 -0
- package/hooks/features/dataSource/models.d.mts +47 -0
- package/hooks/features/dataSource/models.d.ts +4 -1
- package/hooks/features/dataSource/useGridDataSource.d.mts +7 -0
- package/hooks/features/dataSource/useGridDataSource.mjs +26 -0
- package/hooks/features/dataSource/useGridDataSourceBase.d.mts +31 -0
- package/hooks/features/dataSource/useGridDataSourceBase.d.ts +5 -2
- package/hooks/features/dataSource/useGridDataSourceBase.js +91 -5
- package/hooks/features/dataSource/useGridDataSourceBase.mjs +321 -0
- package/hooks/features/dataSource/utils.d.mts +24 -0
- package/hooks/features/density/densitySelector.d.mts +8 -0
- package/hooks/features/density/densitySelector.mjs +10 -0
- package/hooks/features/density/densityState.d.mts +2 -0
- package/hooks/features/density/index.d.mts +2 -0
- package/hooks/features/density/index.mjs +2 -0
- package/hooks/features/density/useGridDensity.d.mts +6 -0
- package/hooks/features/density/useGridDensity.mjs +66 -0
- package/hooks/features/dimensions/gridDimensionsSelectors.d.mts +42 -0
- package/hooks/features/dimensions/gridDimensionsSelectors.mjs +25 -0
- package/hooks/features/dimensions/index.d.mts +3 -0
- package/hooks/features/dimensions/index.mjs +1 -0
- package/hooks/features/dimensions/useGridDimensions.d.mts +10 -0
- package/hooks/features/dimensions/useGridDimensions.mjs +144 -0
- package/hooks/features/editing/gridEditingSelectors.d.mts +19 -0
- package/hooks/features/editing/gridEditingSelectors.mjs +15 -0
- package/hooks/features/editing/index.d.mts +1 -0
- package/hooks/features/editing/index.mjs +1 -0
- package/hooks/features/editing/useGridCellEditable.d.mts +5 -0
- package/hooks/features/editing/useGridCellEditable.mjs +9 -0
- package/hooks/features/editing/useGridCellEditing.d.mts +4 -0
- package/hooks/features/editing/useGridCellEditing.js +3 -2
- package/hooks/features/editing/useGridCellEditing.mjs +497 -0
- package/hooks/features/editing/useGridEditing.d.mts +7 -0
- package/hooks/features/editing/useGridEditing.mjs +125 -0
- package/hooks/features/editing/useGridRowEditing.d.mts +4 -0
- package/hooks/features/editing/useGridRowEditing.js +17 -6
- package/hooks/features/editing/useGridRowEditing.mjs +646 -0
- package/hooks/features/editing/utils.d.mts +2 -0
- package/hooks/features/events/useGridEvents.d.mts +8 -0
- package/hooks/features/events/useGridEvents.mjs +24 -0
- package/hooks/features/export/serializers/csvSerializer.d.mts +19 -0
- package/hooks/features/export/serializers/csvSerializer.mjs +141 -0
- package/hooks/features/export/useGridCsvExport.d.mts +11 -0
- package/hooks/features/export/useGridCsvExport.mjs +74 -0
- package/hooks/features/export/useGridPrintExport.d.mts +10 -0
- package/hooks/features/export/useGridPrintExport.js +2 -1
- package/hooks/features/export/useGridPrintExport.mjs +257 -0
- package/hooks/features/export/utils.d.mts +20 -0
- package/hooks/features/export/utils.mjs +39 -0
- package/hooks/features/filter/gridFilterSelector.d.mts +153 -0
- package/hooks/features/filter/gridFilterSelector.mjs +206 -0
- package/hooks/features/filter/gridFilterState.d.mts +64 -0
- package/hooks/features/filter/gridFilterState.mjs +24 -0
- package/hooks/features/filter/gridFilterUtils.d.mts +23 -0
- package/hooks/features/filter/gridFilterUtils.js +3 -2
- package/hooks/features/filter/gridFilterUtils.mjs +325 -0
- package/hooks/features/filter/index.d.mts +4 -0
- package/hooks/features/filter/index.mjs +2 -0
- package/hooks/features/filter/useGridFilter.d.mts +12 -0
- package/hooks/features/filter/useGridFilter.mjs +370 -0
- package/hooks/features/focus/gridFocusState.d.mts +20 -0
- package/hooks/features/focus/gridFocusStateSelector.d.mts +28 -0
- package/hooks/features/focus/gridFocusStateSelector.mjs +11 -0
- package/hooks/features/focus/index.d.mts +2 -0
- package/hooks/features/focus/index.mjs +2 -0
- package/hooks/features/focus/useGridFocus.d.mts +11 -0
- package/hooks/features/focus/useGridFocus.mjs +447 -0
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.mts +11 -0
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.mjs +7 -0
- package/hooks/features/headerFiltering/index.d.mts +1 -0
- package/hooks/features/headerFiltering/index.mjs +1 -0
- package/hooks/features/headerFiltering/useGridHeaderFiltering.d.mts +6 -0
- package/hooks/features/headerFiltering/useGridHeaderFiltering.mjs +107 -0
- package/hooks/features/index.d.mts +20 -0
- package/hooks/features/index.mjs +21 -0
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.mts +13 -0
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.mjs +700 -0
- package/hooks/features/keyboardNavigation/utils.d.mts +26 -0
- package/hooks/features/keyboardNavigation/utils.mjs +53 -0
- package/hooks/features/listView/gridListViewSelectors.d.mts +14 -0
- package/hooks/features/listView/gridListViewSelectors.mjs +14 -0
- package/hooks/features/listView/index.d.mts +1 -0
- package/hooks/features/listView/index.mjs +1 -0
- package/hooks/features/listView/useGridListView.d.mts +10 -0
- package/hooks/features/listView/useGridListView.mjs +63 -0
- package/hooks/features/overlays/gridOverlaysInterfaces.d.mts +3 -0
- package/hooks/features/overlays/index.d.mts +1 -0
- package/hooks/features/overlays/useGridOverlays.d.mts +12 -0
- package/hooks/features/overlays/useGridOverlays.mjs +45 -0
- package/hooks/features/pagination/gridPaginationInterfaces.d.mts +58 -0
- package/hooks/features/pagination/gridPaginationSelector.d.mts +95 -0
- package/hooks/features/pagination/gridPaginationSelector.mjs +156 -0
- package/hooks/features/pagination/gridPaginationUtils.d.mts +9 -0
- package/hooks/features/pagination/gridPaginationUtils.js +4 -1
- package/hooks/features/pagination/gridPaginationUtils.mjs +30 -0
- package/hooks/features/pagination/index.d.mts +2 -0
- package/hooks/features/pagination/index.mjs +2 -0
- package/hooks/features/pagination/useGridPagination.d.mts +10 -0
- package/hooks/features/pagination/useGridPagination.mjs +30 -0
- package/hooks/features/pagination/useGridPaginationMeta.d.mts +4 -0
- package/hooks/features/pagination/useGridPaginationMeta.mjs +79 -0
- package/hooks/features/pagination/useGridPaginationModel.d.mts +11 -0
- package/hooks/features/pagination/useGridPaginationModel.mjs +239 -0
- package/hooks/features/pagination/useGridRowCount.d.mts +4 -0
- package/hooks/features/pagination/useGridRowCount.mjs +142 -0
- package/hooks/features/pivoting/gridPivotingInterfaces.d.mts +10 -0
- package/hooks/features/pivoting/gridPivotingSelectors.d.mts +8 -0
- package/hooks/features/pivoting/gridPivotingSelectors.mjs +7 -0
- package/hooks/features/pivoting/index.d.mts +2 -0
- package/hooks/features/pivoting/index.mjs +2 -0
- package/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.mts +5 -0
- package/hooks/features/preferencesPanel/gridPreferencePanelSelector.mjs +8 -0
- package/hooks/features/preferencesPanel/gridPreferencePanelState.d.mts +13 -0
- package/hooks/features/preferencesPanel/index.d.mts +3 -0
- package/hooks/features/preferencesPanel/index.mjs +3 -0
- package/hooks/features/preferencesPanel/useGridPreferencesPanel.d.mts +9 -0
- package/hooks/features/preferencesPanel/useGridPreferencesPanel.mjs +88 -0
- package/hooks/features/rowReorder/gridRowReorderInterfaces.d.mts +28 -0
- package/hooks/features/rowReorder/gridRowReorderSelector.d.mts +24 -0
- package/hooks/features/rowReorder/gridRowReorderSelector.mjs +21 -0
- package/hooks/features/rowSelection/gridRowSelectionSelector.d.mts +12 -0
- package/hooks/features/rowSelection/gridRowSelectionSelector.mjs +29 -0
- package/hooks/features/rowSelection/index.d.mts +1 -0
- package/hooks/features/rowSelection/index.mjs +1 -0
- package/hooks/features/rowSelection/useGridRowSelection.d.mts +12 -0
- package/hooks/features/rowSelection/useGridRowSelection.js +3 -1
- package/hooks/features/rowSelection/useGridRowSelection.mjs +602 -0
- package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.mts +4 -0
- package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.js +4 -1
- package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.mjs +51 -0
- package/hooks/features/rowSelection/utils.d.mts +20 -0
- package/hooks/features/rowSelection/utils.mjs +211 -0
- package/hooks/features/rows/gridRowSpanningUtils.d.mts +10 -0
- package/hooks/features/rows/gridRowSpanningUtils.mjs +45 -0
- package/hooks/features/rows/gridRowsInterfaces.d.mts +98 -0
- package/hooks/features/rows/gridRowsMetaInterfaces.d.mts +10 -0
- package/hooks/features/rows/gridRowsMetaSelector.d.mts +2 -0
- package/hooks/features/rows/gridRowsMetaSelector.mjs +2 -0
- package/hooks/features/rows/gridRowsSelector.d.mts +80 -0
- package/hooks/features/rows/gridRowsSelector.mjs +70 -0
- package/hooks/features/rows/gridRowsUtils.d.mts +61 -0
- package/hooks/features/rows/gridRowsUtils.js +6 -2
- package/hooks/features/rows/gridRowsUtils.mjs +309 -0
- package/hooks/features/rows/index.d.mts +5 -0
- package/hooks/features/rows/index.mjs +4 -0
- package/hooks/features/rows/useGridParamsApi.d.mts +14 -0
- package/hooks/features/rows/useGridParamsApi.js +2 -2
- package/hooks/features/rows/useGridParamsApi.mjs +117 -0
- package/hooks/features/rows/useGridParamsOverridableMethods.d.mts +7 -0
- package/hooks/features/rows/useGridParamsOverridableMethods.js +3 -1
- package/hooks/features/rows/useGridParamsOverridableMethods.mjs +29 -0
- package/hooks/features/rows/useGridRowAriaAttributes.d.mts +2 -0
- package/hooks/features/rows/useGridRowAriaAttributes.mjs +19 -0
- package/hooks/features/rows/useGridRowSpanning.d.mts +17 -0
- package/hooks/features/rows/useGridRowSpanning.mjs +208 -0
- package/hooks/features/rows/useGridRows.d.mts +7 -0
- package/hooks/features/rows/useGridRows.js +8 -5
- package/hooks/features/rows/useGridRows.mjs +485 -0
- package/hooks/features/rows/useGridRowsMeta.d.mts +10 -0
- package/hooks/features/rows/useGridRowsMeta.mjs +60 -0
- package/hooks/features/rows/useGridRowsOverridableMethods.d.mts +7 -0
- package/hooks/features/rows/useGridRowsOverridableMethods.js +9 -8
- package/hooks/features/rows/useGridRowsOverridableMethods.mjs +94 -0
- package/hooks/features/rows/useGridRowsPreProcessors.d.mts +3 -0
- package/hooks/features/rows/useGridRowsPreProcessors.mjs +81 -0
- package/hooks/features/scroll/useGridScroll.d.mts +12 -0
- package/hooks/features/scroll/useGridScroll.mjs +132 -0
- package/hooks/features/sorting/gridSortingSelector.d.mts +42 -0
- package/hooks/features/sorting/gridSortingSelector.mjs +70 -0
- package/hooks/features/sorting/gridSortingState.d.mts +14 -0
- package/hooks/features/sorting/gridSortingUtils.d.mts +18 -0
- package/hooks/features/sorting/gridSortingUtils.mjs +140 -0
- package/hooks/features/sorting/index.d.mts +4 -0
- package/hooks/features/sorting/index.mjs +2 -0
- package/hooks/features/sorting/useGridSorting.d.mts +10 -0
- package/hooks/features/sorting/useGridSorting.mjs +252 -0
- package/hooks/features/statePersistence/gridStatePersistenceInterface.d.mts +40 -0
- package/hooks/features/statePersistence/index.d.mts +1 -0
- package/hooks/features/statePersistence/useGridStatePersistence.d.mts +3 -0
- package/hooks/features/statePersistence/useGridStatePersistence.mjs +23 -0
- package/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.mts +8 -0
- package/hooks/features/virtualization/gridFocusedVirtualCellSelector.mjs +32 -0
- package/hooks/features/virtualization/gridVirtualizationSelectors.d.mts +46 -0
- package/hooks/features/virtualization/gridVirtualizationSelectors.mjs +45 -0
- package/hooks/features/virtualization/index.d.mts +3 -0
- package/hooks/features/virtualization/index.mjs +3 -0
- package/hooks/features/virtualization/useGridVirtualization.d.mts +10 -0
- package/hooks/features/virtualization/useGridVirtualization.mjs +101 -0
- package/hooks/index.d.mts +3 -0
- package/hooks/index.mjs +3 -0
- package/hooks/utils/index.d.mts +10 -0
- package/hooks/utils/index.mjs +9 -0
- package/hooks/utils/useGridApiContext.d.mts +4 -0
- package/hooks/utils/useGridApiContext.js +3 -1
- package/hooks/utils/useGridApiContext.mjs +12 -0
- package/hooks/utils/useGridApiMethod.d.mts +7 -0
- package/hooks/utils/useGridApiRef.d.mts +6 -0
- package/hooks/utils/useGridAriaAttributes.mjs +28 -0
- package/hooks/utils/useGridConfiguration.d.mts +4 -0
- package/hooks/utils/useGridConfiguration.js +3 -1
- package/hooks/utils/useGridConfiguration.mjs +12 -0
- package/hooks/utils/useGridEvent.d.mts +12 -0
- package/hooks/utils/useGridEvent.mjs +94 -0
- package/hooks/utils/useGridInitializeState.d.mts +8 -0
- package/hooks/utils/useGridLogger.d.mts +4 -0
- package/hooks/utils/useGridNativeEventListener.d.mts +3 -0
- package/hooks/utils/useGridNativeEventListener.mjs +17 -0
- package/hooks/utils/useGridPrivateApiContext.d.mts +6 -0
- package/hooks/utils/useGridPrivateApiContext.js +3 -1
- package/hooks/utils/useGridPrivateApiContext.mjs +13 -0
- package/hooks/utils/useGridRootProps.d.mts +2 -0
- package/hooks/utils/useGridRootProps.js +3 -1
- package/hooks/utils/useGridRootProps.mjs +12 -0
- package/hooks/utils/useGridSelector.d.mts +6 -0
- package/hooks/utils/useGridSelector.mjs +84 -0
- package/hooks/utils/useGridVisibleRows.d.mts +26 -0
- package/hooks/utils/useGridVisibleRows.mjs +17 -0
- package/index.d.mts +39 -0
- package/index.js +1 -1
- package/index.mjs +39 -0
- package/internals/demo/index.d.mts +1 -0
- package/internals/demo/index.mjs +1 -0
- package/internals/index.d.mts +128 -0
- package/internals/index.mjs +99 -0
- package/internals/utils/attachPinnedStyle.d.mts +2 -0
- package/internals/utils/attachPinnedStyle.mjs +9 -0
- package/internals/utils/cache.d.mts +9 -0
- package/internals/utils/cache.mjs +18 -0
- package/internals/utils/getPinnedCellOffset.d.mts +3 -0
- package/internals/utils/getPinnedCellOffset.mjs +21 -0
- package/internals/utils/gridRowGroupingUtils.mjs +9 -0
- package/internals/utils/index.d.mts +5 -0
- package/internals/utils/index.mjs +5 -0
- package/internals/utils/propValidation.d.mts +4 -0
- package/internals/utils/propValidation.mjs +12 -0
- package/locales/arSD.d.mts +2 -0
- package/locales/arSD.js +4 -3
- package/locales/arSD.mjs +310 -0
- package/locales/beBY.d.mts +2 -0
- package/locales/beBY.js +3 -3
- package/locales/beBY.mjs +334 -0
- package/locales/bgBG.d.mts +2 -0
- package/locales/bgBG.js +3 -3
- package/locales/bgBG.mjs +311 -0
- package/locales/bnBD.d.mts +2 -0
- package/locales/bnBD.js +3 -3
- package/locales/bnBD.mjs +309 -0
- package/locales/caES.d.mts +2 -0
- package/locales/caES.js +4 -3
- package/locales/caES.mjs +298 -0
- package/locales/csCZ.d.mts +2 -0
- package/locales/csCZ.js +6 -5
- package/locales/csCZ.mjs +337 -0
- package/locales/daDK.d.mts +2 -0
- package/locales/daDK.js +3 -3
- package/locales/daDK.mjs +310 -0
- package/locales/deDE.d.mts +2 -0
- package/locales/deDE.js +4 -3
- package/locales/deDE.mjs +301 -0
- package/locales/elGR.d.mts +2 -0
- package/locales/elGR.js +3 -3
- package/locales/elGR.mjs +312 -0
- package/locales/enUS.d.mts +2 -0
- package/locales/enUS.mjs +3 -0
- package/locales/esES.d.mts +2 -0
- package/locales/esES.js +4 -3
- package/locales/esES.mjs +298 -0
- package/locales/faIR.d.mts +2 -0
- package/locales/faIR.js +3 -3
- package/locales/faIR.mjs +310 -0
- package/locales/fiFI.d.mts +2 -0
- package/locales/fiFI.js +3 -3
- package/locales/fiFI.mjs +311 -0
- package/locales/frFR.d.mts +2 -0
- package/locales/frFR.js +4 -3
- package/locales/frFR.mjs +307 -0
- package/locales/heIL.d.mts +2 -0
- package/locales/heIL.js +4 -3
- package/locales/heIL.mjs +309 -0
- package/locales/hrHR.d.mts +1 -0
- package/locales/hrHR.js +4 -3
- package/locales/hrHR.mjs +329 -0
- package/locales/huHU.d.mts +2 -0
- package/locales/huHU.js +3 -3
- package/locales/huHU.mjs +309 -0
- package/locales/hyAM.d.mts +2 -0
- package/locales/hyAM.js +3 -3
- package/locales/hyAM.mjs +335 -0
- package/locales/idID.d.mts +4 -0
- package/locales/idID.js +4 -3
- package/locales/idID.mjs +301 -0
- package/locales/index.d.mts +40 -0
- package/locales/index.mjs +41 -0
- package/locales/isIS.d.mts +2 -0
- package/locales/isIS.js +3 -3
- package/locales/isIS.mjs +311 -0
- package/locales/itIT.d.mts +2 -0
- package/locales/itIT.js +4 -3
- package/locales/itIT.mjs +299 -0
- package/locales/jaJP.d.mts +2 -0
- package/locales/jaJP.js +4 -3
- package/locales/jaJP.mjs +306 -0
- package/locales/koKR.d.mts +2 -0
- package/locales/koKR.js +4 -3
- package/locales/koKR.mjs +301 -0
- package/locales/nbNO.d.mts +2 -0
- package/locales/nbNO.js +4 -3
- package/locales/nbNO.mjs +309 -0
- package/locales/nlNL.d.mts +2 -0
- package/locales/nlNL.js +3 -3
- package/locales/nlNL.mjs +310 -0
- package/locales/nnNO.d.mts +2 -0
- package/locales/nnNO.js +4 -3
- package/locales/nnNO.mjs +301 -0
- package/locales/plPL.d.mts +2 -0
- package/locales/plPL.js +4 -3
- package/locales/plPL.mjs +306 -0
- package/locales/ptBR.d.mts +2 -0
- package/locales/ptBR.js +4 -3
- package/locales/ptBR.mjs +298 -0
- package/locales/ptPT.d.mts +2 -0
- package/locales/ptPT.js +4 -3
- package/locales/ptPT.mjs +298 -0
- package/locales/roRO.d.mts +2 -0
- package/locales/roRO.js +3 -3
- package/locales/roRO.mjs +309 -0
- package/locales/ruRU.d.mts +2 -0
- package/locales/ruRU.js +3 -3
- package/locales/ruRU.mjs +331 -0
- package/locales/skSK.d.mts +2 -0
- package/locales/skSK.js +4 -3
- package/locales/skSK.mjs +337 -0
- package/locales/svSE.d.mts +2 -0
- package/locales/svSE.js +3 -3
- package/locales/svSE.mjs +311 -0
- package/locales/thTH.d.mts +2 -0
- package/locales/thTH.js +5 -3
- package/locales/thTH.mjs +299 -0
- package/locales/trTR.d.mts +2 -0
- package/locales/trTR.js +3 -3
- package/locales/trTR.mjs +309 -0
- package/locales/ukUA.d.mts +2 -0
- package/locales/ukUA.js +13 -13
- package/locales/ukUA.mjs +331 -0
- package/locales/urPK.d.mts +2 -0
- package/locales/urPK.js +3 -3
- package/locales/urPK.mjs +311 -0
- package/locales/viVN.d.mts +2 -0
- package/locales/viVN.js +3 -3
- package/locales/viVN.mjs +311 -0
- package/locales/zhCN.d.mts +2 -0
- package/locales/zhCN.js +4 -3
- package/locales/zhCN.mjs +307 -0
- package/locales/zhHK.d.mts +1 -0
- package/locales/zhHK.js +4 -3
- package/locales/zhHK.mjs +307 -0
- package/locales/zhTW.d.mts +2 -0
- package/locales/zhTW.js +4 -3
- package/locales/zhTW.mjs +307 -0
- package/material/icons/createSvgIcon.d.mts +2 -0
- package/material/icons/index.mjs +103 -0
- package/material/index.d.mts +6 -0
- package/material/index.mjs +851 -0
- package/material/variables.d.mts +5 -0
- package/material/variables.mjs +131 -0
- package/models/api/gridApiCommon.d.mts +38 -0
- package/models/api/gridApiCommunity.d.mts +12 -0
- package/models/api/gridCallbackDetails.d.mts +15 -0
- package/models/api/gridColumnApi.d.mts +74 -0
- package/models/api/gridColumnGroupingApi.d.mts +19 -0
- package/models/api/gridColumnSpanning.d.mts +28 -0
- package/models/api/gridCoreApi.d.mts +96 -0
- package/models/api/gridCsvExportApi.d.mts +18 -0
- package/models/api/gridDensityApi.d.mts +17 -0
- package/models/api/gridEditingApi.d.mts +237 -0
- package/models/api/gridEditingApi.d.ts +0 -1
- package/models/api/gridFilterApi.d.mts +67 -0
- package/models/api/gridFocusApi.d.mts +46 -0
- package/models/api/gridHeaderFilteringApi.d.mts +30 -0
- package/models/api/gridLocaleTextApi.d.mts +247 -0
- package/models/api/gridLoggerApi.d.mts +11 -0
- package/models/api/gridParamsApi.d.mts +111 -0
- package/models/api/gridPreferencesPanelApi.d.mts +17 -0
- package/models/api/gridPrintExportApi.d.mts +11 -0
- package/models/api/gridRowApi.d.mts +147 -0
- package/models/api/gridRowSelectionApi.d.mts +92 -0
- package/models/api/gridRowsMetaApi.d.mts +60 -0
- package/models/api/gridScrollApi.d.mts +24 -0
- package/models/api/gridSortApi.d.mts +46 -0
- package/models/api/gridStateApi.d.mts +33 -0
- package/models/api/index.d.mts +23 -0
- package/models/api/index.mjs +12 -0
- package/models/colDef/gridColDef.d.mts +345 -0
- package/models/colDef/gridColDef.d.ts +12 -0
- package/models/colDef/gridColumnTypesRecord.d.mts +3 -0
- package/models/colDef/index.d.mts +3 -0
- package/models/colDef/index.mjs +6 -0
- package/models/configuration/gridAggregationConfiguration.d.mts +19 -0
- package/models/configuration/gridCellEditableConfiguration.d.mts +19 -0
- package/models/configuration/gridConfiguration.d.mts +21 -0
- package/models/configuration/gridParamsConfiguration.d.mts +12 -0
- package/models/configuration/gridRowConfiguration.d.mts +23 -0
- package/models/controlStateItem.d.mts +14 -0
- package/models/events/gridEventListener.d.mts +8 -0
- package/models/events/gridEventLookup.d.mts +683 -0
- package/models/events/gridEventPublisher.d.mts +29 -0
- package/models/events/index.d.mts +3 -0
- package/models/events/index.mjs +3 -0
- package/models/gridApiCaches.d.mts +12 -0
- package/models/gridCell.d.mts +30 -0
- package/models/gridCellClass.d.mts +12 -0
- package/models/gridColumnGrouping.d.mts +43 -0
- package/models/gridColumnHeaderClass.d.mts +11 -0
- package/models/gridDataSource.d.mts +83 -0
- package/models/gridEditRowModel.d.mts +28 -0
- package/models/gridExport.d.mts +157 -0
- package/models/gridFilterInputComponent.d.mts +32 -0
- package/models/gridFilterItem.d.mts +32 -0
- package/models/gridFilterModel.d.mts +34 -0
- package/models/gridFilterOperator.d.mts +58 -0
- package/models/gridHeaderFilteringModel.d.mts +6 -0
- package/models/gridIconSlotsComponent.d.mts +213 -0
- package/models/gridRowSelectionManager.d.mts +9 -0
- package/models/gridRowSelectionModel.d.mts +9 -0
- package/models/gridRows.d.mts +180 -0
- package/models/gridSlotsComponent.d.mts +235 -0
- package/models/gridSlotsComponentsProps.d.mts +133 -0
- package/models/gridSortModel.d.mts +35 -0
- package/models/gridStateCommunity.d.mts +61 -0
- package/models/index.d.mts +31 -0
- package/models/index.mjs +29 -0
- package/models/params/gridCellParams.d.mts +103 -0
- package/models/params/gridColumnGroupHeaderParams.d.mts +30 -0
- package/models/params/gridColumnHeaderParams.d.mts +15 -0
- package/models/params/gridColumnOrderChangeParams.d.mts +18 -0
- package/models/params/gridColumnResizeParams.d.mts +18 -0
- package/models/params/gridEditCellParams.d.mts +65 -0
- package/models/params/gridPreferencePanelParams.d.mts +2 -0
- package/models/params/gridRowParams.d.mts +109 -0
- package/models/params/gridRowParams.d.ts +0 -1
- package/models/params/gridRowSelectionCheckboxParams.d.mts +5 -0
- package/models/params/gridValueOptionsParams.d.mts +18 -0
- package/models/params/index.d.mts +13 -0
- package/models/params/index.mjs +13 -0
- package/models/props/DataGridProps.d.mts +915 -0
- package/models/props/DataGridProps.d.ts +17 -1
- package/package.json +189 -14
- package/themeAugmentation/index.d.mts +2 -0
- package/themeAugmentation/index.mjs +4 -0
- package/themeAugmentation/overrides.d.mts +18 -0
- package/themeAugmentation/props.d.mts +15 -0
- package/utils/assert.js +3 -1
- package/utils/assert.mjs +4 -0
- package/utils/cellBorderUtils.d.mts +4 -0
- package/utils/cellBorderUtils.mjs +24 -0
- package/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.mts +7 -0
- package/utils/cleanupTracking/TimerBasedCleanupTracking.d.mts +9 -0
- package/utils/composeGridClasses.d.mts +3 -0
- package/utils/composeGridClasses.mjs +5 -0
- package/utils/css/context.mjs +60 -0
- package/utils/domUtils.d.mts +30 -0
- package/utils/domUtils.js +3 -1
- package/utils/domUtils.mjs +209 -0
- package/utils/exportAs.d.mts +12 -0
- package/utils/exportAs.js +3 -1
- package/utils/exportAs.mjs +39 -0
- package/utils/getGridLocalization.d.mts +13 -0
- package/utils/getGridLocalization.d.ts +3 -1
- package/utils/getGridLocalization.js +23 -2
- package/utils/getGridLocalization.mjs +28 -0
- package/utils/getPublicApiRef.d.mts +3 -0
- package/utils/index.d.mts +2 -0
- package/utils/index.mjs +1 -0
- package/utils/rtlFlipSide.d.mts +2 -0
- package/utils/rtlFlipSide.mjs +22 -0
- package/utils/utils.d.mts +30 -0
- package/utils/utils.d.ts +2 -2
- package/utils/utils.js +2 -2
- package/utils/utils.mjs +82 -0
- package/esm/DataGrid/DataGrid.d.ts +0 -16
- package/esm/DataGrid/DataGrid.js +0 -814
- package/esm/DataGrid/index.d.ts +0 -1
- package/esm/DataGrid/index.js +0 -1
- package/esm/DataGrid/useDataGridComponent.d.ts +0 -5
- package/esm/DataGrid/useDataGridComponent.js +0 -104
- package/esm/DataGrid/useDataGridProps.d.ts +0 -3
- package/esm/DataGrid/useDataGridProps.js +0 -50
- package/esm/colDef/gridActionsColDef.d.ts +0 -3
- package/esm/colDef/gridActionsColDef.js +0 -20
- package/esm/colDef/gridBooleanColDef.d.ts +0 -2
- package/esm/colDef/gridBooleanColDef.js +0 -41
- package/esm/colDef/gridBooleanOperators.d.ts +0 -2
- package/esm/colDef/gridBooleanOperators.js +0 -12
- package/esm/colDef/gridCheckboxSelectionColDef.d.ts +0 -3
- package/esm/colDef/gridCheckboxSelectionColDef.js +0 -30
- package/esm/colDef/gridDateColDef.d.ts +0 -5
- package/esm/colDef/gridDateColDef.js +0 -67
- package/esm/colDef/gridDateOperators.d.ts +0 -3
- package/esm/colDef/gridDateOperators.js +0 -108
- package/esm/colDef/gridDefaultColumnTypes.d.ts +0 -3
- package/esm/colDef/gridDefaultColumnTypes.js +0 -22
- package/esm/colDef/gridLongTextColDef.d.ts +0 -2
- package/esm/colDef/gridLongTextColDef.js +0 -10
- package/esm/colDef/gridNumericColDef.d.ts +0 -2
- package/esm/colDef/gridNumericColDef.js +0 -15
- package/esm/colDef/gridNumericOperators.d.ts +0 -7
- package/esm/colDef/gridNumericOperators.js +0 -143
- package/esm/colDef/gridSingleSelectColDef.d.ts +0 -2
- package/esm/colDef/gridSingleSelectColDef.js +0 -61
- package/esm/colDef/gridSingleSelectOperators.d.ts +0 -2
- package/esm/colDef/gridSingleSelectOperators.js +0 -38
- package/esm/colDef/gridStringColDef.d.ts +0 -5
- package/esm/colDef/gridStringColDef.js +0 -28
- package/esm/colDef/gridStringOperators.d.ts +0 -4
- package/esm/colDef/gridStringOperators.js +0 -121
- package/esm/colDef/index.d.ts +0 -14
- package/esm/colDef/index.js +0 -14
- package/esm/components/GridColumnHeaders.d.ts +0 -7
- package/esm/components/GridColumnHeaders.js +0 -88
- package/esm/components/GridColumnSortButton.d.ts +0 -16
- package/esm/components/GridColumnSortButton.js +0 -105
- package/esm/components/GridColumnUnsortedIcon.d.ts +0 -7
- package/esm/components/GridColumnUnsortedIcon.js +0 -17
- package/esm/components/GridFooter.d.ts +0 -5
- package/esm/components/GridFooter.js +0 -42
- package/esm/components/GridHeader.js +0 -11
- package/esm/components/GridHeaders.js +0 -49
- package/esm/components/GridLoadingOverlay.d.ts +0 -17
- package/esm/components/GridLoadingOverlay.js +0 -70
- package/esm/components/GridNoColumnsOverlay.d.ts +0 -5
- package/esm/components/GridNoColumnsOverlay.js +0 -38
- package/esm/components/GridNoResultsOverlay.d.ts +0 -4
- package/esm/components/GridNoResultsOverlay.js +0 -16
- package/esm/components/GridNoRowsOverlay.d.ts +0 -5
- package/esm/components/GridNoRowsOverlay.js +0 -25
- package/esm/components/GridPagination.js +0 -86
- package/esm/components/GridRow.d.ts +0 -39
- package/esm/components/GridRow.js +0 -355
- package/esm/components/GridRowCount.js +0 -66
- package/esm/components/GridRowDragAndDropOverlay.d.ts +0 -7
- package/esm/components/GridRowDragAndDropOverlay.js +0 -66
- package/esm/components/GridScrollArea.d.ts +0 -9
- package/esm/components/GridScrollArea.js +0 -256
- package/esm/components/GridScrollShadows.js +0 -122
- package/esm/components/GridScrollbarFillerCell.js +0 -16
- package/esm/components/GridSelectedRowCount.js +0 -69
- package/esm/components/GridSkeletonLoadingOverlay.d.ts +0 -14
- package/esm/components/GridSkeletonLoadingOverlay.js +0 -195
- package/esm/components/base/GridBody.d.ts +0 -2
- package/esm/components/base/GridBody.js +0 -2
- package/esm/components/base/GridFooterPlaceholder.js +0 -10
- package/esm/components/base/GridOverlays.d.ts +0 -11
- package/esm/components/base/GridOverlays.js +0 -83
- package/esm/components/base/index.d.ts +0 -2
- package/esm/components/base/index.js +0 -2
- package/esm/components/cell/GridActionsCell.d.ts +0 -41
- package/esm/components/cell/GridActionsCell.js +0 -290
- package/esm/components/cell/GridActionsCellItem.d.ts +0 -55
- package/esm/components/cell/GridActionsCellItem.js +0 -59
- package/esm/components/cell/GridBooleanCell.d.ts +0 -13
- package/esm/components/cell/GridBooleanCell.js +0 -124
- package/esm/components/cell/GridCell.d.ts +0 -77
- package/esm/components/cell/GridCell.js +0 -344
- package/esm/components/cell/GridEditBooleanCell.d.ts +0 -17
- package/esm/components/cell/GridEditBooleanCell.js +0 -144
- package/esm/components/cell/GridEditDateCell.d.ts +0 -21
- package/esm/components/cell/GridEditDateCell.js +0 -199
- package/esm/components/cell/GridEditInputCell.d.ts +0 -19
- package/esm/components/cell/GridEditInputCell.js +0 -105
- package/esm/components/cell/GridEditLongTextCell.d.ts +0 -41
- package/esm/components/cell/GridEditLongTextCell.js +0 -240
- package/esm/components/cell/GridEditSingleSelectCell.d.ts +0 -21
- package/esm/components/cell/GridEditSingleSelectCell.js +0 -192
- package/esm/components/cell/GridFooterCell.d.ts +0 -9
- package/esm/components/cell/GridFooterCell.js +0 -48
- package/esm/components/cell/GridLongTextCell.d.ts +0 -43
- package/esm/components/cell/GridLongTextCell.js +0 -246
- package/esm/components/cell/GridSkeletonCell.d.ts +0 -20
- package/esm/components/cell/GridSkeletonCell.js +0 -105
- package/esm/components/cell/index.d.ts +0 -12
- package/esm/components/cell/index.js +0 -11
- package/esm/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +0 -10
- package/esm/components/columnHeaders/ColumnHeaderMenuIcon.js +0 -66
- package/esm/components/columnHeaders/GridBaseColumnHeaders.js +0 -47
- package/esm/components/columnHeaders/GridColumnGroupHeader.d.ts +0 -21
- package/esm/components/columnHeaders/GridColumnGroupHeader.js +0 -152
- package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +0 -12
- package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.js +0 -109
- package/esm/components/columnHeaders/GridColumnHeaderItem.d.ts +0 -33
- package/esm/components/columnHeaders/GridColumnHeaderItem.js +0 -275
- package/esm/components/columnHeaders/GridColumnHeaderSeparator.js +0 -73
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +0 -9
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.js +0 -38
- package/esm/components/columnHeaders/GridColumnHeaderTitle.js +0 -90
- package/esm/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +0 -32
- package/esm/components/columnHeaders/GridGenericColumnHeaderItem.js +0 -82
- package/esm/components/columnHeaders/GridIconButtonContainer.js +0 -45
- package/esm/components/columnHeaders/index.d.ts +0 -5
- package/esm/components/columnHeaders/index.js +0 -5
- package/esm/components/columnSelection/GridCellCheckboxRenderer.d.ts +0 -5
- package/esm/components/columnSelection/GridCellCheckboxRenderer.js +0 -174
- package/esm/components/columnSelection/GridHeaderCheckbox.d.ts +0 -4
- package/esm/components/columnSelection/GridHeaderCheckbox.js +0 -176
- package/esm/components/columnSelection/index.d.ts +0 -2
- package/esm/components/columnSelection/index.js +0 -2
- package/esm/components/columnsManagement/GridColumnsManagement.d.ts +0 -50
- package/esm/components/columnsManagement/GridColumnsManagement.js +0 -317
- package/esm/components/columnsManagement/index.d.ts +0 -1
- package/esm/components/columnsManagement/index.js +0 -1
- package/esm/components/columnsManagement/utils.d.ts +0 -4
- package/esm/components/columnsPanel/ColumnsPanelTrigger.d.ts +0 -33
- package/esm/components/columnsPanel/ColumnsPanelTrigger.js +0 -102
- package/esm/components/columnsPanel/index.d.ts +0 -1
- package/esm/components/columnsPanel/index.js +0 -1
- package/esm/components/containers/GridFooterContainer.js +0 -56
- package/esm/components/containers/GridOverlay.js +0 -63
- package/esm/components/containers/GridRoot.js +0 -88
- package/esm/components/containers/GridRootStyles.d.ts +0 -7
- package/esm/components/containers/GridRootStyles.js +0 -722
- package/esm/components/containers/GridToolbarContainer.js +0 -69
- package/esm/components/containers/index.d.ts +0 -4
- package/esm/components/containers/index.js +0 -4
- package/esm/components/export/ExportCsv.d.ts +0 -30
- package/esm/components/export/ExportCsv.js +0 -83
- package/esm/components/export/ExportPrint.d.ts +0 -30
- package/esm/components/export/ExportPrint.js +0 -83
- package/esm/components/export/index.d.ts +0 -2
- package/esm/components/export/index.js +0 -2
- package/esm/components/filterPanel/FilterPanelTrigger.d.ts +0 -37
- package/esm/components/filterPanel/FilterPanelTrigger.js +0 -105
- package/esm/components/filterPanel/index.d.ts +0 -1
- package/esm/components/filterPanel/index.js +0 -1
- package/esm/components/index.d.ts +0 -26
- package/esm/components/index.js +0 -26
- package/esm/components/menu/GridMenu.d.ts +0 -15
- package/esm/components/menu/GridMenu.js +0 -110
- package/esm/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +0 -26
- package/esm/components/menu/columnMenu/GridColumnHeaderMenu.js +0 -63
- package/esm/components/menu/columnMenu/GridColumnMenu.d.ts +0 -23
- package/esm/components/menu/columnMenu/GridColumnMenu.js +0 -114
- package/esm/components/menu/columnMenu/GridColumnMenuContainer.d.ts +0 -4
- package/esm/components/menu/columnMenu/GridColumnMenuContainer.js +0 -72
- package/esm/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +0 -7
- package/esm/components/menu/columnMenu/GridColumnMenuProps.d.ts +0 -20
- package/esm/components/menu/columnMenu/index.d.ts +0 -6
- package/esm/components/menu/columnMenu/index.js +0 -8
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +0 -6
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +0 -20
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +0 -6
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +0 -36
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +0 -6
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +0 -53
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +0 -6
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +0 -36
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +0 -6
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +0 -69
- package/esm/components/menu/columnMenu/menuItems/index.d.ts +0 -5
- package/esm/components/menu/columnMenu/menuItems/index.js +0 -5
- package/esm/components/menu/index.d.ts +0 -2
- package/esm/components/menu/index.js +0 -2
- package/esm/components/panel/GridColumnsPanel.d.ts +0 -4
- package/esm/components/panel/GridColumnsPanel.js +0 -11
- package/esm/components/panel/GridPanel.d.ts +0 -21
- package/esm/components/panel/GridPanel.js +0 -110
- package/esm/components/panel/GridPanelContent.js +0 -53
- package/esm/components/panel/GridPanelContext.js +0 -29
- package/esm/components/panel/GridPanelFooter.js +0 -50
- package/esm/components/panel/GridPanelHeader.js +0 -47
- package/esm/components/panel/GridPanelWrapper.js +0 -50
- package/esm/components/panel/GridPreferencesPanel.js +0 -43
- package/esm/components/panel/filterPanel/GridFilterForm.d.ts +0 -107
- package/esm/components/panel/filterPanel/GridFilterForm.js +0 -474
- package/esm/components/panel/filterPanel/GridFilterInputBoolean.d.ts +0 -9
- package/esm/components/panel/filterPanel/GridFilterInputBoolean.js +0 -125
- package/esm/components/panel/filterPanel/GridFilterInputDate.d.ts +0 -10
- package/esm/components/panel/filterPanel/GridFilterInputDate.js +0 -137
- package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +0 -11
- package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -113
- package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +0 -10
- package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.js +0 -100
- package/esm/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +0 -10
- package/esm/components/panel/filterPanel/GridFilterInputSingleSelect.js +0 -141
- package/esm/components/panel/filterPanel/GridFilterInputValue.d.ts +0 -14
- package/esm/components/panel/filterPanel/GridFilterInputValue.js +0 -123
- package/esm/components/panel/filterPanel/GridFilterPanel.d.ts +0 -49
- package/esm/components/panel/filterPanel/GridFilterPanel.js +0 -250
- package/esm/components/panel/filterPanel/filterPanelUtils.d.ts +0 -5
- package/esm/components/panel/filterPanel/index.d.ts +0 -10
- package/esm/components/panel/filterPanel/index.js +0 -8
- package/esm/components/panel/index.d.ts +0 -7
- package/esm/components/panel/index.js +0 -7
- package/esm/components/quickFilter/QuickFilter.d.ts +0 -64
- package/esm/components/quickFilter/QuickFilter.js +0 -191
- package/esm/components/quickFilter/QuickFilterClear.d.ts +0 -28
- package/esm/components/quickFilter/QuickFilterClear.js +0 -77
- package/esm/components/quickFilter/QuickFilterContext.js +0 -12
- package/esm/components/quickFilter/QuickFilterControl.d.ts +0 -28
- package/esm/components/quickFilter/QuickFilterControl.js +0 -124
- package/esm/components/quickFilter/QuickFilterTrigger.d.ts +0 -28
- package/esm/components/quickFilter/QuickFilterTrigger.js +0 -80
- package/esm/components/quickFilter/index.d.ts +0 -4
- package/esm/components/quickFilter/index.js +0 -4
- package/esm/components/reexportable.d.ts +0 -1
- package/esm/components/reexportable.js +0 -1
- package/esm/components/toolbar/GridToolbar.d.ts +0 -24
- package/esm/components/toolbar/GridToolbar.js +0 -88
- package/esm/components/toolbar/GridToolbarColumnsButton.d.ts +0 -17
- package/esm/components/toolbar/GridToolbarColumnsButton.js +0 -85
- package/esm/components/toolbar/GridToolbarDensitySelector.d.ts +0 -17
- package/esm/components/toolbar/GridToolbarDensitySelector.js +0 -123
- package/esm/components/toolbar/GridToolbarExport.d.ts +0 -42
- package/esm/components/toolbar/GridToolbarExport.js +0 -131
- package/esm/components/toolbar/GridToolbarExportContainer.d.ts +0 -16
- package/esm/components/toolbar/GridToolbarExportContainer.js +0 -88
- package/esm/components/toolbar/GridToolbarFilterButton.d.ts +0 -18
- package/esm/components/toolbar/GridToolbarFilterButton.js +0 -149
- package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +0 -45
- package/esm/components/toolbar/GridToolbarQuickFilter.js +0 -188
- package/esm/components/toolbar/index.d.ts +0 -8
- package/esm/components/toolbar/index.js +0 -7
- package/esm/components/toolbarV8/GridToolbar.d.ts +0 -17
- package/esm/components/toolbarV8/GridToolbar.js +0 -201
- package/esm/components/toolbarV8/Toolbar.js +0 -208
- package/esm/components/toolbarV8/ToolbarButton.d.ts +0 -23
- package/esm/components/toolbarV8/ToolbarButton.js +0 -111
- package/esm/components/toolbarV8/ToolbarContext.js +0 -12
- package/esm/components/toolbarV8/index.d.ts +0 -2
- package/esm/components/toolbarV8/index.js +0 -2
- package/esm/components/virtualization/GridBottomContainer.js +0 -28
- package/esm/components/virtualization/GridMainContainer.d.ts +0 -19
- package/esm/components/virtualization/GridMainContainer.js +0 -57
- package/esm/components/virtualization/GridTopContainer.js +0 -28
- package/esm/components/virtualization/GridVirtualScrollbar.js +0 -110
- package/esm/components/virtualization/GridVirtualScroller.js +0 -156
- package/esm/components/virtualization/GridVirtualScrollerContent.js +0 -46
- package/esm/components/virtualization/GridVirtualScrollerFiller.js +0 -85
- package/esm/components/virtualization/GridVirtualScrollerRenderZone.js +0 -41
- package/esm/constants/dataGridPropsDefaultValues.d.ts +0 -5
- package/esm/constants/dataGridPropsDefaultValues.js +0 -62
- package/esm/constants/defaultGridSlotsComponents.d.ts +0 -2
- package/esm/constants/defaultGridSlotsComponents.js +0 -38
- package/esm/constants/index.d.ts +0 -4
- package/esm/constants/index.js +0 -4
- package/esm/constants/localeTextConstants.d.ts +0 -2
- package/esm/constants/localeTextConstants.js +0 -296
- package/esm/context/GridContextProvider.d.ts +0 -17
- package/esm/context/GridContextProvider.js +0 -35
- package/esm/context/index.d.ts +0 -1
- package/esm/context/index.js +0 -1
- package/esm/hooks/core/gridCoreSelector.d.ts +0 -6
- package/esm/hooks/core/gridCoreSelector.js +0 -6
- package/esm/hooks/core/gridPropsSelectors.d.ts +0 -10
- package/esm/hooks/core/gridPropsSelectors.js +0 -18
- package/esm/hooks/core/index.d.ts +0 -2
- package/esm/hooks/core/index.js +0 -1
- package/esm/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +0 -163
- package/esm/hooks/core/pipeProcessing/index.d.ts +0 -4
- package/esm/hooks/core/pipeProcessing/index.js +0 -4
- package/esm/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +0 -32
- package/esm/hooks/core/pipeProcessing/useGridPipeProcessing.js +0 -124
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +0 -4
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js +0 -28
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +0 -4
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js +0 -30
- package/esm/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +0 -81
- package/esm/hooks/core/strategyProcessing/index.d.ts +0 -3
- package/esm/hooks/core/strategyProcessing/index.js +0 -3
- package/esm/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +0 -4
- package/esm/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +0 -20
- package/esm/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +0 -43
- package/esm/hooks/core/strategyProcessing/useGridStrategyProcessing.js +0 -112
- package/esm/hooks/core/useGridApiInitialization.d.ts +0 -5
- package/esm/hooks/core/useGridApiInitialization.js +0 -114
- package/esm/hooks/core/useGridInitialization.d.ts +0 -7
- package/esm/hooks/core/useGridInitialization.js +0 -25
- package/esm/hooks/core/useGridIsRtl.d.ts +0 -3
- package/esm/hooks/core/useGridLocaleText.d.ts +0 -4
- package/esm/hooks/core/useGridLocaleText.js +0 -12
- package/esm/hooks/core/useGridLoggerFactory.d.ts +0 -4
- package/esm/hooks/core/useGridLoggerFactory.js +0 -44
- package/esm/hooks/core/useGridProps.d.ts +0 -6
- package/esm/hooks/core/useGridRefs.d.ts +0 -3
- package/esm/hooks/core/useGridStateInitialization.d.ts +0 -3
- package/esm/hooks/core/useGridStateInitialization.js +0 -97
- package/esm/hooks/core/useGridVirtualizer.js +0 -265
- package/esm/hooks/features/clipboard/useGridClipboard.d.ts +0 -8
- package/esm/hooks/features/clipboard/useGridClipboard.js +0 -97
- package/esm/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +0 -19
- package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +0 -20
- package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.js +0 -10
- package/esm/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +0 -19
- package/esm/hooks/features/columnGrouping/gridColumnGroupsUtils.js +0 -119
- package/esm/hooks/features/columnGrouping/index.d.ts +0 -2
- package/esm/hooks/features/columnGrouping/index.js +0 -2
- package/esm/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +0 -10
- package/esm/hooks/features/columnGrouping/useGridColumnGrouping.js +0 -110
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +0 -65
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.js +0 -316
- package/esm/hooks/features/columnMenu/columnMenuSelector.d.ts +0 -2
- package/esm/hooks/features/columnMenu/columnMenuSelector.js +0 -2
- package/esm/hooks/features/columnMenu/getColumnMenuItemKeys.d.ts +0 -17
- package/esm/hooks/features/columnMenu/index.d.ts +0 -2
- package/esm/hooks/features/columnMenu/index.js +0 -2
- package/esm/hooks/features/columnMenu/useGridColumnMenu.d.ts +0 -9
- package/esm/hooks/features/columnMenu/useGridColumnMenu.js +0 -116
- package/esm/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +0 -13
- package/esm/hooks/features/columnMenu/useGridColumnMenuSlots.js +0 -54
- package/esm/hooks/features/columnResize/columnResizeSelector.d.ts +0 -5
- package/esm/hooks/features/columnResize/columnResizeSelector.js +0 -3
- package/esm/hooks/features/columnResize/gridColumnResizeApi.d.ts +0 -57
- package/esm/hooks/features/columnResize/index.d.ts +0 -3
- package/esm/hooks/features/columnResize/index.js +0 -3
- package/esm/hooks/features/columnResize/useGridColumnResize.d.ts +0 -10
- package/esm/hooks/features/columnResize/useGridColumnResize.js +0 -616
- package/esm/hooks/features/columns/gridColumnsInterfaces.d.ts +0 -42
- package/esm/hooks/features/columns/gridColumnsSelector.d.ts +0 -114
- package/esm/hooks/features/columns/gridColumnsSelector.js +0 -151
- package/esm/hooks/features/columns/gridColumnsUtils.d.ts +0 -75
- package/esm/hooks/features/columns/gridColumnsUtils.js +0 -345
- package/esm/hooks/features/columns/index.d.ts +0 -2
- package/esm/hooks/features/columns/index.js +0 -2
- package/esm/hooks/features/columns/useGridColumnSpanning.d.ts +0 -7
- package/esm/hooks/features/columns/useGridColumnSpanning.js +0 -27
- package/esm/hooks/features/columns/useGridColumns.d.ts +0 -11
- package/esm/hooks/features/columns/useGridColumns.js +0 -348
- package/esm/hooks/features/dataSource/cache.d.ts +0 -29
- package/esm/hooks/features/dataSource/gridDataSourceError.d.ts +0 -31
- package/esm/hooks/features/dataSource/gridDataSourceSelector.d.ts +0 -10
- package/esm/hooks/features/dataSource/gridDataSourceSelector.js +0 -12
- package/esm/hooks/features/dataSource/index.d.ts +0 -2
- package/esm/hooks/features/dataSource/index.js +0 -2
- package/esm/hooks/features/dataSource/models.d.ts +0 -44
- package/esm/hooks/features/dataSource/useGridDataSource.d.ts +0 -7
- package/esm/hooks/features/dataSource/useGridDataSource.js +0 -26
- package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +0 -28
- package/esm/hooks/features/dataSource/useGridDataSourceBase.js +0 -235
- package/esm/hooks/features/dataSource/utils.d.ts +0 -24
- package/esm/hooks/features/density/densitySelector.d.ts +0 -8
- package/esm/hooks/features/density/densitySelector.js +0 -10
- package/esm/hooks/features/density/densityState.d.ts +0 -2
- package/esm/hooks/features/density/index.d.ts +0 -2
- package/esm/hooks/features/density/index.js +0 -2
- package/esm/hooks/features/density/useGridDensity.d.ts +0 -6
- package/esm/hooks/features/density/useGridDensity.js +0 -66
- package/esm/hooks/features/dimensions/gridDimensionsSelectors.d.ts +0 -42
- package/esm/hooks/features/dimensions/gridDimensionsSelectors.js +0 -25
- package/esm/hooks/features/dimensions/index.d.ts +0 -3
- package/esm/hooks/features/dimensions/index.js +0 -1
- package/esm/hooks/features/dimensions/useGridDimensions.d.ts +0 -10
- package/esm/hooks/features/dimensions/useGridDimensions.js +0 -144
- package/esm/hooks/features/editing/gridEditingSelectors.d.ts +0 -19
- package/esm/hooks/features/editing/gridEditingSelectors.js +0 -15
- package/esm/hooks/features/editing/index.d.ts +0 -1
- package/esm/hooks/features/editing/index.js +0 -1
- package/esm/hooks/features/editing/useGridCellEditable.d.ts +0 -5
- package/esm/hooks/features/editing/useGridCellEditable.js +0 -9
- package/esm/hooks/features/editing/useGridCellEditing.d.ts +0 -4
- package/esm/hooks/features/editing/useGridCellEditing.js +0 -496
- package/esm/hooks/features/editing/useGridEditing.d.ts +0 -7
- package/esm/hooks/features/editing/useGridEditing.js +0 -125
- package/esm/hooks/features/editing/useGridRowEditing.d.ts +0 -4
- package/esm/hooks/features/editing/useGridRowEditing.js +0 -635
- package/esm/hooks/features/editing/utils.d.ts +0 -2
- package/esm/hooks/features/events/useGridEvents.d.ts +0 -8
- package/esm/hooks/features/events/useGridEvents.js +0 -24
- package/esm/hooks/features/export/serializers/csvSerializer.d.ts +0 -19
- package/esm/hooks/features/export/serializers/csvSerializer.js +0 -141
- package/esm/hooks/features/export/useGridCsvExport.d.ts +0 -11
- package/esm/hooks/features/export/useGridCsvExport.js +0 -74
- package/esm/hooks/features/export/useGridPrintExport.d.ts +0 -10
- package/esm/hooks/features/export/useGridPrintExport.js +0 -256
- package/esm/hooks/features/export/utils.d.ts +0 -20
- package/esm/hooks/features/export/utils.js +0 -39
- package/esm/hooks/features/filter/gridFilterSelector.d.ts +0 -153
- package/esm/hooks/features/filter/gridFilterSelector.js +0 -206
- package/esm/hooks/features/filter/gridFilterState.d.ts +0 -64
- package/esm/hooks/features/filter/gridFilterState.js +0 -24
- package/esm/hooks/features/filter/gridFilterUtils.d.ts +0 -23
- package/esm/hooks/features/filter/gridFilterUtils.js +0 -324
- package/esm/hooks/features/filter/index.d.ts +0 -4
- package/esm/hooks/features/filter/index.js +0 -2
- package/esm/hooks/features/filter/useGridFilter.d.ts +0 -12
- package/esm/hooks/features/filter/useGridFilter.js +0 -370
- package/esm/hooks/features/focus/gridFocusState.d.ts +0 -20
- package/esm/hooks/features/focus/gridFocusStateSelector.d.ts +0 -28
- package/esm/hooks/features/focus/gridFocusStateSelector.js +0 -11
- package/esm/hooks/features/focus/index.d.ts +0 -2
- package/esm/hooks/features/focus/index.js +0 -2
- package/esm/hooks/features/focus/useGridFocus.d.ts +0 -11
- package/esm/hooks/features/focus/useGridFocus.js +0 -447
- package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +0 -11
- package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +0 -7
- package/esm/hooks/features/headerFiltering/index.d.ts +0 -1
- package/esm/hooks/features/headerFiltering/index.js +0 -1
- package/esm/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +0 -6
- package/esm/hooks/features/headerFiltering/useGridHeaderFiltering.js +0 -107
- package/esm/hooks/features/index.d.ts +0 -20
- package/esm/hooks/features/index.js +0 -21
- package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +0 -13
- package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +0 -700
- package/esm/hooks/features/keyboardNavigation/utils.d.ts +0 -26
- package/esm/hooks/features/keyboardNavigation/utils.js +0 -53
- package/esm/hooks/features/listView/gridListViewSelectors.d.ts +0 -14
- package/esm/hooks/features/listView/gridListViewSelectors.js +0 -14
- package/esm/hooks/features/listView/index.d.ts +0 -1
- package/esm/hooks/features/listView/index.js +0 -1
- package/esm/hooks/features/listView/useGridListView.d.ts +0 -10
- package/esm/hooks/features/listView/useGridListView.js +0 -63
- package/esm/hooks/features/overlays/gridOverlaysInterfaces.d.ts +0 -3
- package/esm/hooks/features/overlays/index.d.ts +0 -1
- package/esm/hooks/features/overlays/useGridOverlays.d.ts +0 -12
- package/esm/hooks/features/overlays/useGridOverlays.js +0 -45
- package/esm/hooks/features/pagination/gridPaginationInterfaces.d.ts +0 -58
- package/esm/hooks/features/pagination/gridPaginationSelector.d.ts +0 -95
- package/esm/hooks/features/pagination/gridPaginationSelector.js +0 -156
- package/esm/hooks/features/pagination/gridPaginationUtils.d.ts +0 -9
- package/esm/hooks/features/pagination/gridPaginationUtils.js +0 -28
- package/esm/hooks/features/pagination/index.d.ts +0 -2
- package/esm/hooks/features/pagination/index.js +0 -2
- package/esm/hooks/features/pagination/useGridPagination.d.ts +0 -10
- package/esm/hooks/features/pagination/useGridPagination.js +0 -30
- package/esm/hooks/features/pagination/useGridPaginationMeta.d.ts +0 -4
- package/esm/hooks/features/pagination/useGridPaginationMeta.js +0 -79
- package/esm/hooks/features/pagination/useGridPaginationModel.d.ts +0 -11
- package/esm/hooks/features/pagination/useGridPaginationModel.js +0 -239
- package/esm/hooks/features/pagination/useGridRowCount.d.ts +0 -4
- package/esm/hooks/features/pagination/useGridRowCount.js +0 -142
- package/esm/hooks/features/pivoting/gridPivotingInterfaces.d.ts +0 -10
- package/esm/hooks/features/pivoting/gridPivotingSelectors.d.ts +0 -8
- package/esm/hooks/features/pivoting/gridPivotingSelectors.js +0 -7
- package/esm/hooks/features/pivoting/index.d.ts +0 -2
- package/esm/hooks/features/pivoting/index.js +0 -2
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +0 -5
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelSelector.js +0 -8
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +0 -13
- package/esm/hooks/features/preferencesPanel/index.d.ts +0 -3
- package/esm/hooks/features/preferencesPanel/index.js +0 -3
- package/esm/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +0 -9
- package/esm/hooks/features/preferencesPanel/useGridPreferencesPanel.js +0 -88
- package/esm/hooks/features/rowReorder/gridRowReorderInterfaces.d.ts +0 -28
- package/esm/hooks/features/rowReorder/gridRowReorderSelector.d.ts +0 -24
- package/esm/hooks/features/rowReorder/gridRowReorderSelector.js +0 -21
- package/esm/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +0 -12
- package/esm/hooks/features/rowSelection/gridRowSelectionSelector.js +0 -29
- package/esm/hooks/features/rowSelection/index.d.ts +0 -1
- package/esm/hooks/features/rowSelection/index.js +0 -1
- package/esm/hooks/features/rowSelection/useGridRowSelection.d.ts +0 -12
- package/esm/hooks/features/rowSelection/useGridRowSelection.js +0 -600
- package/esm/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +0 -4
- package/esm/hooks/features/rowSelection/useGridRowSelectionPreProcessors.js +0 -48
- package/esm/hooks/features/rowSelection/utils.d.ts +0 -20
- package/esm/hooks/features/rowSelection/utils.js +0 -211
- package/esm/hooks/features/rows/gridRowSpanningUtils.d.ts +0 -10
- package/esm/hooks/features/rows/gridRowSpanningUtils.js +0 -45
- package/esm/hooks/features/rows/gridRowsInterfaces.d.ts +0 -98
- package/esm/hooks/features/rows/gridRowsMetaInterfaces.d.ts +0 -10
- package/esm/hooks/features/rows/gridRowsMetaSelector.d.ts +0 -2
- package/esm/hooks/features/rows/gridRowsMetaSelector.js +0 -2
- package/esm/hooks/features/rows/gridRowsSelector.d.ts +0 -80
- package/esm/hooks/features/rows/gridRowsSelector.js +0 -70
- package/esm/hooks/features/rows/gridRowsUtils.d.ts +0 -61
- package/esm/hooks/features/rows/gridRowsUtils.js +0 -305
- package/esm/hooks/features/rows/index.d.ts +0 -5
- package/esm/hooks/features/rows/index.js +0 -4
- package/esm/hooks/features/rows/useGridParamsApi.d.ts +0 -14
- package/esm/hooks/features/rows/useGridParamsApi.js +0 -117
- package/esm/hooks/features/rows/useGridParamsOverridableMethods.d.ts +0 -7
- package/esm/hooks/features/rows/useGridParamsOverridableMethods.js +0 -28
- package/esm/hooks/features/rows/useGridRowAriaAttributes.d.ts +0 -2
- package/esm/hooks/features/rows/useGridRowAriaAttributes.js +0 -19
- package/esm/hooks/features/rows/useGridRowSpanning.d.ts +0 -17
- package/esm/hooks/features/rows/useGridRowSpanning.js +0 -208
- package/esm/hooks/features/rows/useGridRows.d.ts +0 -7
- package/esm/hooks/features/rows/useGridRows.js +0 -482
- package/esm/hooks/features/rows/useGridRowsMeta.d.ts +0 -10
- package/esm/hooks/features/rows/useGridRowsMeta.js +0 -60
- package/esm/hooks/features/rows/useGridRowsOverridableMethods.d.ts +0 -7
- package/esm/hooks/features/rows/useGridRowsOverridableMethods.js +0 -93
- package/esm/hooks/features/rows/useGridRowsPreProcessors.d.ts +0 -3
- package/esm/hooks/features/rows/useGridRowsPreProcessors.js +0 -81
- package/esm/hooks/features/scroll/useGridScroll.d.ts +0 -12
- package/esm/hooks/features/scroll/useGridScroll.js +0 -132
- package/esm/hooks/features/sorting/gridSortingSelector.d.ts +0 -42
- package/esm/hooks/features/sorting/gridSortingSelector.js +0 -70
- package/esm/hooks/features/sorting/gridSortingState.d.ts +0 -14
- package/esm/hooks/features/sorting/gridSortingUtils.d.ts +0 -18
- package/esm/hooks/features/sorting/gridSortingUtils.js +0 -140
- package/esm/hooks/features/sorting/index.d.ts +0 -4
- package/esm/hooks/features/sorting/index.js +0 -2
- package/esm/hooks/features/sorting/useGridSorting.d.ts +0 -10
- package/esm/hooks/features/sorting/useGridSorting.js +0 -252
- package/esm/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +0 -40
- package/esm/hooks/features/statePersistence/index.d.ts +0 -1
- package/esm/hooks/features/statePersistence/useGridStatePersistence.d.ts +0 -3
- package/esm/hooks/features/statePersistence/useGridStatePersistence.js +0 -23
- package/esm/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +0 -8
- package/esm/hooks/features/virtualization/gridFocusedVirtualCellSelector.js +0 -32
- package/esm/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +0 -46
- package/esm/hooks/features/virtualization/gridVirtualizationSelectors.js +0 -45
- package/esm/hooks/features/virtualization/index.d.ts +0 -3
- package/esm/hooks/features/virtualization/index.js +0 -3
- package/esm/hooks/features/virtualization/useGridVirtualization.d.ts +0 -10
- package/esm/hooks/features/virtualization/useGridVirtualization.js +0 -101
- package/esm/hooks/index.d.ts +0 -3
- package/esm/hooks/index.js +0 -3
- package/esm/hooks/utils/index.d.ts +0 -10
- package/esm/hooks/utils/index.js +0 -9
- package/esm/hooks/utils/useGridApiContext.d.ts +0 -4
- package/esm/hooks/utils/useGridApiContext.js +0 -11
- package/esm/hooks/utils/useGridApiMethod.d.ts +0 -7
- package/esm/hooks/utils/useGridApiRef.d.ts +0 -6
- package/esm/hooks/utils/useGridAriaAttributes.js +0 -28
- package/esm/hooks/utils/useGridConfiguration.d.ts +0 -4
- package/esm/hooks/utils/useGridConfiguration.js +0 -11
- package/esm/hooks/utils/useGridEvent.d.ts +0 -12
- package/esm/hooks/utils/useGridEvent.js +0 -94
- package/esm/hooks/utils/useGridInitializeState.d.ts +0 -8
- package/esm/hooks/utils/useGridLogger.d.ts +0 -4
- package/esm/hooks/utils/useGridNativeEventListener.d.ts +0 -3
- package/esm/hooks/utils/useGridNativeEventListener.js +0 -17
- package/esm/hooks/utils/useGridPrivateApiContext.d.ts +0 -6
- package/esm/hooks/utils/useGridPrivateApiContext.js +0 -12
- package/esm/hooks/utils/useGridRootProps.d.ts +0 -2
- package/esm/hooks/utils/useGridRootProps.js +0 -11
- package/esm/hooks/utils/useGridSelector.d.ts +0 -6
- package/esm/hooks/utils/useGridSelector.js +0 -84
- package/esm/hooks/utils/useGridVisibleRows.d.ts +0 -26
- package/esm/hooks/utils/useGridVisibleRows.js +0 -17
- package/esm/index.d.ts +0 -39
- package/esm/index.js +0 -39
- package/esm/internals/demo/index.d.ts +0 -1
- package/esm/internals/demo/index.js +0 -1
- package/esm/internals/index.d.ts +0 -128
- package/esm/internals/index.js +0 -99
- package/esm/internals/utils/attachPinnedStyle.d.ts +0 -2
- package/esm/internals/utils/attachPinnedStyle.js +0 -9
- package/esm/internals/utils/cache.d.ts +0 -9
- package/esm/internals/utils/cache.js +0 -18
- package/esm/internals/utils/getPinnedCellOffset.d.ts +0 -3
- package/esm/internals/utils/getPinnedCellOffset.js +0 -21
- package/esm/internals/utils/gridRowGroupingUtils.js +0 -9
- package/esm/internals/utils/index.d.ts +0 -5
- package/esm/internals/utils/index.js +0 -5
- package/esm/internals/utils/propValidation.d.ts +0 -4
- package/esm/internals/utils/propValidation.js +0 -12
- package/esm/locales/arSD.d.ts +0 -2
- package/esm/locales/arSD.js +0 -309
- package/esm/locales/beBY.d.ts +0 -2
- package/esm/locales/beBY.js +0 -334
- package/esm/locales/bgBG.d.ts +0 -2
- package/esm/locales/bgBG.js +0 -311
- package/esm/locales/bnBD.d.ts +0 -2
- package/esm/locales/bnBD.js +0 -309
- package/esm/locales/caES.d.ts +0 -2
- package/esm/locales/caES.js +0 -297
- package/esm/locales/csCZ.d.ts +0 -2
- package/esm/locales/csCZ.js +0 -336
- package/esm/locales/daDK.d.ts +0 -2
- package/esm/locales/daDK.js +0 -310
- package/esm/locales/deDE.d.ts +0 -2
- package/esm/locales/deDE.js +0 -300
- package/esm/locales/elGR.d.ts +0 -2
- package/esm/locales/elGR.js +0 -312
- package/esm/locales/enUS.d.ts +0 -2
- package/esm/locales/enUS.js +0 -3
- package/esm/locales/esES.d.ts +0 -2
- package/esm/locales/esES.js +0 -297
- package/esm/locales/faIR.d.ts +0 -2
- package/esm/locales/faIR.js +0 -310
- package/esm/locales/fiFI.d.ts +0 -2
- package/esm/locales/fiFI.js +0 -311
- package/esm/locales/frFR.d.ts +0 -2
- package/esm/locales/frFR.js +0 -306
- package/esm/locales/heIL.d.ts +0 -2
- package/esm/locales/heIL.js +0 -308
- package/esm/locales/hrHR.d.ts +0 -1
- package/esm/locales/hrHR.js +0 -328
- package/esm/locales/huHU.d.ts +0 -2
- package/esm/locales/huHU.js +0 -309
- package/esm/locales/hyAM.d.ts +0 -2
- package/esm/locales/hyAM.js +0 -335
- package/esm/locales/idID.d.ts +0 -4
- package/esm/locales/idID.js +0 -300
- package/esm/locales/index.d.ts +0 -40
- package/esm/locales/index.js +0 -41
- package/esm/locales/isIS.d.ts +0 -2
- package/esm/locales/isIS.js +0 -311
- package/esm/locales/itIT.d.ts +0 -2
- package/esm/locales/itIT.js +0 -298
- package/esm/locales/jaJP.d.ts +0 -2
- package/esm/locales/jaJP.js +0 -305
- package/esm/locales/koKR.d.ts +0 -2
- package/esm/locales/koKR.js +0 -300
- package/esm/locales/nbNO.d.ts +0 -2
- package/esm/locales/nbNO.js +0 -308
- package/esm/locales/nlNL.d.ts +0 -2
- package/esm/locales/nlNL.js +0 -310
- package/esm/locales/nnNO.d.ts +0 -2
- package/esm/locales/nnNO.js +0 -300
- package/esm/locales/plPL.d.ts +0 -2
- package/esm/locales/plPL.js +0 -305
- package/esm/locales/ptBR.d.ts +0 -2
- package/esm/locales/ptBR.js +0 -297
- package/esm/locales/ptPT.d.ts +0 -2
- package/esm/locales/ptPT.js +0 -297
- package/esm/locales/roRO.d.ts +0 -2
- package/esm/locales/roRO.js +0 -309
- package/esm/locales/ruRU.d.ts +0 -2
- package/esm/locales/ruRU.js +0 -331
- package/esm/locales/skSK.d.ts +0 -2
- package/esm/locales/skSK.js +0 -336
- package/esm/locales/svSE.d.ts +0 -2
- package/esm/locales/svSE.js +0 -311
- package/esm/locales/thTH.d.ts +0 -2
- package/esm/locales/thTH.js +0 -297
- package/esm/locales/trTR.d.ts +0 -2
- package/esm/locales/trTR.js +0 -309
- package/esm/locales/ukUA.d.ts +0 -2
- package/esm/locales/ukUA.js +0 -331
- package/esm/locales/urPK.d.ts +0 -2
- package/esm/locales/urPK.js +0 -311
- package/esm/locales/viVN.d.ts +0 -2
- package/esm/locales/viVN.js +0 -311
- package/esm/locales/zhCN.d.ts +0 -2
- package/esm/locales/zhCN.js +0 -306
- package/esm/locales/zhHK.d.ts +0 -1
- package/esm/locales/zhHK.js +0 -306
- package/esm/locales/zhTW.d.ts +0 -2
- package/esm/locales/zhTW.js +0 -306
- package/esm/material/icons/createSvgIcon.d.ts +0 -2
- package/esm/material/icons/index.js +0 -103
- package/esm/material/index.d.ts +0 -6
- package/esm/material/index.js +0 -851
- package/esm/material/variables.d.ts +0 -5
- package/esm/material/variables.js +0 -131
- package/esm/models/api/gridApiCommon.d.ts +0 -38
- package/esm/models/api/gridApiCommunity.d.ts +0 -12
- package/esm/models/api/gridCallbackDetails.d.ts +0 -15
- package/esm/models/api/gridColumnApi.d.ts +0 -74
- package/esm/models/api/gridColumnGroupingApi.d.ts +0 -19
- package/esm/models/api/gridColumnSpanning.d.ts +0 -28
- package/esm/models/api/gridCoreApi.d.ts +0 -96
- package/esm/models/api/gridCsvExportApi.d.ts +0 -18
- package/esm/models/api/gridDensityApi.d.ts +0 -17
- package/esm/models/api/gridEditingApi.d.ts +0 -238
- package/esm/models/api/gridFilterApi.d.ts +0 -67
- package/esm/models/api/gridFocusApi.d.ts +0 -46
- package/esm/models/api/gridHeaderFilteringApi.d.ts +0 -30
- package/esm/models/api/gridLocaleTextApi.d.ts +0 -247
- package/esm/models/api/gridLoggerApi.d.ts +0 -11
- package/esm/models/api/gridParamsApi.d.ts +0 -111
- package/esm/models/api/gridPreferencesPanelApi.d.ts +0 -17
- package/esm/models/api/gridPrintExportApi.d.ts +0 -11
- package/esm/models/api/gridRowApi.d.ts +0 -147
- package/esm/models/api/gridRowSelectionApi.d.ts +0 -92
- package/esm/models/api/gridRowsMetaApi.d.ts +0 -60
- package/esm/models/api/gridScrollApi.d.ts +0 -24
- package/esm/models/api/gridSortApi.d.ts +0 -46
- package/esm/models/api/gridStateApi.d.ts +0 -33
- package/esm/models/api/index.d.ts +0 -23
- package/esm/models/api/index.js +0 -12
- package/esm/models/colDef/gridColDef.d.ts +0 -333
- package/esm/models/colDef/gridColumnTypesRecord.d.ts +0 -3
- package/esm/models/colDef/index.d.ts +0 -3
- package/esm/models/colDef/index.js +0 -6
- package/esm/models/configuration/gridAggregationConfiguration.d.ts +0 -19
- package/esm/models/configuration/gridCellEditableConfiguration.d.ts +0 -19
- package/esm/models/configuration/gridConfiguration.d.ts +0 -21
- package/esm/models/configuration/gridParamsConfiguration.d.ts +0 -12
- package/esm/models/configuration/gridRowConfiguration.d.ts +0 -23
- package/esm/models/controlStateItem.d.ts +0 -14
- package/esm/models/events/gridEventListener.d.ts +0 -8
- package/esm/models/events/gridEventLookup.d.ts +0 -683
- package/esm/models/events/gridEventPublisher.d.ts +0 -29
- package/esm/models/events/index.d.ts +0 -3
- package/esm/models/events/index.js +0 -3
- package/esm/models/gridApiCaches.d.ts +0 -12
- package/esm/models/gridCell.d.ts +0 -30
- package/esm/models/gridCellClass.d.ts +0 -12
- package/esm/models/gridColumnGrouping.d.ts +0 -43
- package/esm/models/gridColumnHeaderClass.d.ts +0 -11
- package/esm/models/gridDataSource.d.ts +0 -83
- package/esm/models/gridEditRowModel.d.ts +0 -28
- package/esm/models/gridExport.d.ts +0 -157
- package/esm/models/gridFilterInputComponent.d.ts +0 -32
- package/esm/models/gridFilterItem.d.ts +0 -32
- package/esm/models/gridFilterModel.d.ts +0 -34
- package/esm/models/gridFilterOperator.d.ts +0 -58
- package/esm/models/gridHeaderFilteringModel.d.ts +0 -6
- package/esm/models/gridIconSlotsComponent.d.ts +0 -213
- package/esm/models/gridRowSelectionManager.d.ts +0 -9
- package/esm/models/gridRowSelectionModel.d.ts +0 -9
- package/esm/models/gridRows.d.ts +0 -180
- package/esm/models/gridSlotsComponent.d.ts +0 -235
- package/esm/models/gridSlotsComponentsProps.d.ts +0 -133
- package/esm/models/gridSortModel.d.ts +0 -35
- package/esm/models/gridStateCommunity.d.ts +0 -61
- package/esm/models/index.d.ts +0 -31
- package/esm/models/index.js +0 -29
- package/esm/models/params/gridCellParams.d.ts +0 -103
- package/esm/models/params/gridColumnGroupHeaderParams.d.ts +0 -30
- package/esm/models/params/gridColumnHeaderParams.d.ts +0 -15
- package/esm/models/params/gridColumnOrderChangeParams.d.ts +0 -18
- package/esm/models/params/gridColumnResizeParams.d.ts +0 -18
- package/esm/models/params/gridEditCellParams.d.ts +0 -65
- package/esm/models/params/gridPreferencePanelParams.d.ts +0 -2
- package/esm/models/params/gridRowParams.d.ts +0 -110
- package/esm/models/params/gridRowSelectionCheckboxParams.d.ts +0 -5
- package/esm/models/params/gridValueOptionsParams.d.ts +0 -18
- package/esm/models/params/index.d.ts +0 -13
- package/esm/models/params/index.js +0 -13
- package/esm/models/props/DataGridProps.d.ts +0 -899
- package/esm/package.json +0 -1
- package/esm/themeAugmentation/index.d.ts +0 -2
- package/esm/themeAugmentation/index.js +0 -4
- package/esm/themeAugmentation/overrides.d.ts +0 -18
- package/esm/themeAugmentation/props.d.ts +0 -15
- package/esm/utils/assert.js +0 -3
- package/esm/utils/cellBorderUtils.d.ts +0 -4
- package/esm/utils/cellBorderUtils.js +0 -24
- package/esm/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +0 -7
- package/esm/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +0 -9
- package/esm/utils/composeGridClasses.d.ts +0 -3
- package/esm/utils/composeGridClasses.js +0 -5
- package/esm/utils/css/context.js +0 -60
- package/esm/utils/domUtils.d.ts +0 -30
- package/esm/utils/domUtils.js +0 -208
- package/esm/utils/exportAs.d.ts +0 -12
- package/esm/utils/exportAs.js +0 -38
- package/esm/utils/getGridLocalization.d.ts +0 -11
- package/esm/utils/getGridLocalization.js +0 -9
- package/esm/utils/getPublicApiRef.d.ts +0 -3
- package/esm/utils/index.d.ts +0 -2
- package/esm/utils/index.js +0 -1
- package/esm/utils/rtlFlipSide.d.ts +0 -2
- package/esm/utils/rtlFlipSide.js +0 -22
- package/esm/utils/utils.d.ts +0 -30
- package/esm/utils/utils.js +0 -82
- /package/{esm/components/GridApiContext.d.ts → components/GridApiContext.d.mts} +0 -0
- /package/{esm/components/GridApiContext.js → components/GridApiContext.mjs} +0 -0
- /package/{esm/components/GridConfigurationContext.d.ts → components/GridConfigurationContext.d.mts} +0 -0
- /package/{esm/components/GridConfigurationContext.js → components/GridConfigurationContext.mjs} +0 -0
- /package/{esm/components/GridDetailPanels.d.ts → components/GridDetailPanels.d.mts} +0 -0
- /package/{esm/components/GridDetailPanels.js → components/GridDetailPanels.mjs} +0 -0
- /package/{esm/components/GridHeader.d.ts → components/GridHeader.d.mts} +0 -0
- /package/{esm/components/GridHeaders.d.ts → components/GridHeaders.d.mts} +0 -0
- /package/{esm/components/GridPagination.d.ts → components/GridPagination.d.mts} +0 -0
- /package/{esm/components/GridPinnedRows.d.ts → components/GridPinnedRows.d.mts} +0 -0
- /package/{esm/components/GridPinnedRows.js → components/GridPinnedRows.mjs} +0 -0
- /package/{esm/components/GridRowCount.d.ts → components/GridRowCount.d.mts} +0 -0
- /package/{esm/components/GridScrollShadows.d.ts → components/GridScrollShadows.d.mts} +0 -0
- /package/{esm/components/GridScrollbarFillerCell.d.ts → components/GridScrollbarFillerCell.d.mts} +0 -0
- /package/{esm/components/GridSelectedRowCount.d.ts → components/GridSelectedRowCount.d.mts} +0 -0
- /package/{esm/components/GridShadowScrollArea.d.ts → components/GridShadowScrollArea.d.mts} +0 -0
- /package/{esm/components/GridShadowScrollArea.js → components/GridShadowScrollArea.mjs} +0 -0
- /package/{esm/components/base/GridFooterPlaceholder.d.ts → components/base/GridFooterPlaceholder.d.mts} +0 -0
- /package/{esm/components/columnHeaders/GridBaseColumnHeaders.d.ts → components/columnHeaders/GridBaseColumnHeaders.d.mts} +0 -0
- /package/{esm/components/columnHeaders/GridColumnHeaderSeparator.d.ts → components/columnHeaders/GridColumnHeaderSeparator.d.mts} +0 -0
- /package/{esm/components/columnHeaders/GridColumnHeaderTitle.d.ts → components/columnHeaders/GridColumnHeaderTitle.d.mts} +0 -0
- /package/{esm/components/columnHeaders/GridIconButtonContainer.d.ts → components/columnHeaders/GridIconButtonContainer.d.mts} +0 -0
- /package/{esm/components/columnsManagement/utils.js → components/columnsManagement/utils.mjs} +0 -0
- /package/{esm/components/containers/GridFooterContainer.d.ts → components/containers/GridFooterContainer.d.mts} +0 -0
- /package/{esm/components/containers/GridOverlay.d.ts → components/containers/GridOverlay.d.mts} +0 -0
- /package/{esm/components/containers/GridRoot.d.ts → components/containers/GridRoot.d.mts} +0 -0
- /package/{esm/components/containers/GridToolbarContainer.d.ts → components/containers/GridToolbarContainer.d.mts} +0 -0
- /package/{esm/components/menu/columnMenu/GridColumnMenuItemProps.js → components/menu/columnMenu/GridColumnMenuItemProps.mjs} +0 -0
- /package/{esm/components/menu/columnMenu/GridColumnMenuProps.js → components/menu/columnMenu/GridColumnMenuProps.mjs} +0 -0
- /package/{esm/components/panel/GridPanelContent.d.ts → components/panel/GridPanelContent.d.mts} +0 -0
- /package/{esm/components/panel/GridPanelContext.d.ts → components/panel/GridPanelContext.d.mts} +0 -0
- /package/{esm/components/panel/GridPanelFooter.d.ts → components/panel/GridPanelFooter.d.mts} +0 -0
- /package/{esm/components/panel/GridPanelHeader.d.ts → components/panel/GridPanelHeader.d.mts} +0 -0
- /package/{esm/components/panel/GridPanelWrapper.d.ts → components/panel/GridPanelWrapper.d.mts} +0 -0
- /package/{esm/components/panel/GridPreferencesPanel.d.ts → components/panel/GridPreferencesPanel.d.mts} +0 -0
- /package/{esm/components/panel/filterPanel/filterPanelUtils.js → components/panel/filterPanel/filterPanelUtils.mjs} +0 -0
- /package/{esm/components/quickFilter/QuickFilterContext.d.ts → components/quickFilter/QuickFilterContext.d.mts} +0 -0
- /package/{esm/components/toolbarV8/Toolbar.d.ts → components/toolbarV8/Toolbar.d.mts} +0 -0
- /package/{esm/components/toolbarV8/ToolbarContext.d.ts → components/toolbarV8/ToolbarContext.d.mts} +0 -0
- /package/{esm/components/toolbarV8/utils.d.ts → components/toolbarV8/utils.d.mts} +0 -0
- /package/{esm/components/toolbarV8/utils.js → components/toolbarV8/utils.mjs} +0 -0
- /package/{esm/components/virtualization/GridBottomContainer.d.ts → components/virtualization/GridBottomContainer.d.mts} +0 -0
- /package/{esm/components/virtualization/GridTopContainer.d.ts → components/virtualization/GridTopContainer.d.mts} +0 -0
- /package/{esm/components/virtualization/GridVirtualScrollbar.d.ts → components/virtualization/GridVirtualScrollbar.d.mts} +0 -0
- /package/{esm/components/virtualization/GridVirtualScroller.d.ts → components/virtualization/GridVirtualScroller.d.mts} +0 -0
- /package/{esm/components/virtualization/GridVirtualScrollerContent.d.ts → components/virtualization/GridVirtualScrollerContent.d.mts} +0 -0
- /package/{esm/components/virtualization/GridVirtualScrollerFiller.d.ts → components/virtualization/GridVirtualScrollerFiller.d.mts} +0 -0
- /package/{esm/components/virtualization/GridVirtualScrollerRenderZone.d.ts → components/virtualization/GridVirtualScrollerRenderZone.d.mts} +0 -0
- /package/{esm/constants/cssVariables.d.ts → constants/cssVariables.d.mts} +0 -0
- /package/{esm/constants/cssVariables.js → constants/cssVariables.mjs} +0 -0
- /package/{esm/constants/envConstants.d.ts → constants/envConstants.d.mts} +0 -0
- /package/{esm/constants/envConstants.js → constants/envConstants.mjs} +0 -0
- /package/{esm/constants/gridClasses.d.ts → constants/gridClasses.d.mts} +0 -0
- /package/{esm/constants/gridClasses.js → constants/gridClasses.mjs} +0 -0
- /package/{esm/constants/signature.d.ts → constants/signature.d.mts} +0 -0
- /package/{esm/constants/signature.js → constants/signature.mjs} +0 -0
- /package/{esm/context/GridRootPropsContext.d.ts → context/GridRootPropsContext.d.mts} +0 -0
- /package/{esm/context/GridRootPropsContext.js → context/GridRootPropsContext.mjs} +0 -0
- /package/{esm/hooks/core/pipeProcessing/gridPipeProcessingApi.js → hooks/core/pipeProcessing/gridPipeProcessingApi.mjs} +0 -0
- /package/{esm/hooks/core/strategyProcessing/gridStrategyProcessingApi.js → hooks/core/strategyProcessing/gridStrategyProcessingApi.mjs} +0 -0
- /package/{esm/hooks/core/useGridIsRtl.js → hooks/core/useGridIsRtl.mjs} +0 -0
- /package/{esm/hooks/core/useGridProps.js → hooks/core/useGridProps.mjs} +0 -0
- /package/{esm/hooks/core/useGridRefs.js → hooks/core/useGridRefs.mjs} +0 -0
- /package/{esm/hooks/core/useGridVirtualizer.d.ts → hooks/core/useGridVirtualizer.d.mts} +0 -0
- /package/{esm/hooks/features/columnGrouping/gridColumnGroupsInterfaces.js → hooks/features/columnGrouping/gridColumnGroupsInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/columnMenu/columnMenuInterfaces.d.ts → hooks/features/columnMenu/columnMenuInterfaces.d.mts} +0 -0
- /package/{esm/hooks/features/columnMenu/columnMenuInterfaces.js → hooks/features/columnMenu/columnMenuInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/columnMenu/getColumnMenuItemKeys.js → hooks/features/columnMenu/getColumnMenuItemKeys.mjs} +0 -0
- /package/{esm/hooks/features/columnResize/columnResizeState.d.ts → hooks/features/columnResize/columnResizeState.d.mts} +0 -0
- /package/{esm/hooks/features/columnResize/columnResizeState.js → hooks/features/columnResize/columnResizeState.mjs} +0 -0
- /package/{esm/hooks/features/columnResize/gridColumnResizeApi.js → hooks/features/columnResize/gridColumnResizeApi.mjs} +0 -0
- /package/{esm/hooks/features/columns/gridColumnsInterfaces.js → hooks/features/columns/gridColumnsInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/dataSource/cache.js → hooks/features/dataSource/cache.mjs} +0 -0
- /package/{esm/hooks/features/dataSource/gridDataSourceError.js → hooks/features/dataSource/gridDataSourceError.mjs} +0 -0
- /package/{esm/hooks/features/dataSource/models.js → hooks/features/dataSource/models.mjs} +0 -0
- /package/{esm/hooks/features/dataSource/utils.js → hooks/features/dataSource/utils.mjs} +0 -0
- /package/{esm/hooks/features/density/densityState.js → hooks/features/density/densityState.mjs} +0 -0
- /package/{esm/hooks/features/dimensions/gridDimensionsApi.d.ts → hooks/features/dimensions/gridDimensionsApi.d.mts} +0 -0
- /package/{esm/hooks/features/dimensions/gridDimensionsApi.js → hooks/features/dimensions/gridDimensionsApi.mjs} +0 -0
- /package/{esm/hooks/features/editing/utils.js → hooks/features/editing/utils.mjs} +0 -0
- /package/{esm/hooks/features/focus/gridFocusState.js → hooks/features/focus/gridFocusState.mjs} +0 -0
- /package/{esm/hooks/features/overlays/gridOverlaysInterfaces.js → hooks/features/overlays/gridOverlaysInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/overlays/index.js → hooks/features/overlays/index.mjs} +0 -0
- /package/{esm/hooks/features/pagination/gridPaginationInterfaces.js → hooks/features/pagination/gridPaginationInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/pivoting/gridPivotingInterfaces.js → hooks/features/pivoting/gridPivotingInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/preferencesPanel/gridPreferencePanelState.js → hooks/features/preferencesPanel/gridPreferencePanelState.mjs} +0 -0
- /package/{esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts → hooks/features/preferencesPanel/gridPreferencePanelsValue.d.mts} +0 -0
- /package/{esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.js → hooks/features/preferencesPanel/gridPreferencePanelsValue.mjs} +0 -0
- /package/{esm/hooks/features/rowReorder/gridRowReorderInterfaces.js → hooks/features/rowReorder/gridRowReorderInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/rows/gridRowsInterfaces.js → hooks/features/rows/gridRowsInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/rows/gridRowsMetaInterfaces.js → hooks/features/rows/gridRowsMetaInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/rows/gridRowsMetaState.d.ts → hooks/features/rows/gridRowsMetaState.d.mts} +0 -0
- /package/{esm/hooks/features/rows/gridRowsMetaState.js → hooks/features/rows/gridRowsMetaState.mjs} +0 -0
- /package/{esm/hooks/features/sorting/gridSortingState.js → hooks/features/sorting/gridSortingState.mjs} +0 -0
- /package/{esm/hooks/features/statePersistence/gridStatePersistenceInterface.js → hooks/features/statePersistence/gridStatePersistenceInterface.mjs} +0 -0
- /package/{esm/hooks/features/statePersistence/index.js → hooks/features/statePersistence/index.mjs} +0 -0
- /package/{esm/hooks/utils/useFirstRender.d.ts → hooks/utils/useFirstRender.d.mts} +0 -0
- /package/{esm/hooks/utils/useFirstRender.js → hooks/utils/useFirstRender.mjs} +0 -0
- /package/{esm/hooks/utils/useGridApiMethod.js → hooks/utils/useGridApiMethod.mjs} +0 -0
- /package/{esm/hooks/utils/useGridApiRef.js → hooks/utils/useGridApiRef.mjs} +0 -0
- /package/{esm/hooks/utils/useGridAriaAttributes.d.ts → hooks/utils/useGridAriaAttributes.d.mts} +0 -0
- /package/{esm/hooks/utils/useGridInitializeState.js → hooks/utils/useGridInitializeState.mjs} +0 -0
- /package/{esm/hooks/utils/useGridLogger.js → hooks/utils/useGridLogger.mjs} +0 -0
- /package/{esm/hooks/utils/useIsSSR.d.ts → hooks/utils/useIsSSR.d.mts} +0 -0
- /package/{esm/hooks/utils/useIsSSR.js → hooks/utils/useIsSSR.mjs} +0 -0
- /package/{esm/hooks/utils/useLazyRef.d.ts → hooks/utils/useLazyRef.d.mts} +0 -0
- /package/{esm/hooks/utils/useLazyRef.js → hooks/utils/useLazyRef.mjs} +0 -0
- /package/{esm/hooks/utils/useOnMount.d.ts → hooks/utils/useOnMount.d.mts} +0 -0
- /package/{esm/hooks/utils/useOnMount.js → hooks/utils/useOnMount.mjs} +0 -0
- /package/{esm/hooks/utils/useRunOncePerLoop.d.ts → hooks/utils/useRunOncePerLoop.d.mts} +0 -0
- /package/{esm/hooks/utils/useRunOncePerLoop.js → hooks/utils/useRunOncePerLoop.mjs} +0 -0
- /package/{esm/hooks/utils/useTimeout.d.ts → hooks/utils/useTimeout.d.mts} +0 -0
- /package/{esm/hooks/utils/useTimeout.js → hooks/utils/useTimeout.mjs} +0 -0
- /package/{esm/internals/constants.d.ts → internals/constants.d.mts} +0 -0
- /package/{esm/internals/constants.js → internals/constants.mjs} +0 -0
- /package/{esm/internals/demo/TailwindDemoContainer.d.ts → internals/demo/TailwindDemoContainer.d.mts} +0 -0
- /package/{esm/internals/demo/TailwindDemoContainer.js → internals/demo/TailwindDemoContainer.mjs} +0 -0
- /package/{esm/internals/utils/computeSlots.d.ts → internals/utils/computeSlots.d.mts} +0 -0
- /package/{esm/internals/utils/computeSlots.js → internals/utils/computeSlots.mjs} +0 -0
- /package/{esm/internals/utils/gridRowGroupingUtils.d.ts → internals/utils/gridRowGroupingUtils.d.mts} +0 -0
- /package/{esm/material/augmentation.d.ts → material/augmentation.d.mts} +0 -0
- /package/{esm/material/augmentation.js → material/augmentation.mjs} +0 -0
- /package/{esm/material/icons/createSvgIcon.js → material/icons/createSvgIcon.mjs} +0 -0
- /package/{esm/material/icons/index.d.ts → material/icons/index.d.mts} +0 -0
- /package/{esm/models/api/gridApiCommon.js → models/api/gridApiCommon.mjs} +0 -0
- /package/{esm/models/api/gridApiCommunity.js → models/api/gridApiCommunity.mjs} +0 -0
- /package/{esm/models/api/gridCallbackDetails.js → models/api/gridCallbackDetails.mjs} +0 -0
- /package/{esm/models/api/gridColumnApi.js → models/api/gridColumnApi.mjs} +0 -0
- /package/{esm/models/api/gridColumnGroupingApi.js → models/api/gridColumnGroupingApi.mjs} +0 -0
- /package/{esm/models/api/gridColumnMenuApi.d.ts → models/api/gridColumnMenuApi.d.mts} +0 -0
- /package/{esm/models/api/gridColumnMenuApi.js → models/api/gridColumnMenuApi.mjs} +0 -0
- /package/{esm/models/api/gridColumnSpanning.js → models/api/gridColumnSpanning.mjs} +0 -0
- /package/{esm/models/api/gridCoreApi.js → models/api/gridCoreApi.mjs} +0 -0
- /package/{esm/models/api/gridCsvExportApi.js → models/api/gridCsvExportApi.mjs} +0 -0
- /package/{esm/models/api/gridDensityApi.js → models/api/gridDensityApi.mjs} +0 -0
- /package/{esm/models/api/gridEditingApi.js → models/api/gridEditingApi.mjs} +0 -0
- /package/{esm/models/api/gridFilterApi.js → models/api/gridFilterApi.mjs} +0 -0
- /package/{esm/models/api/gridFocusApi.js → models/api/gridFocusApi.mjs} +0 -0
- /package/{esm/models/api/gridHeaderFilteringApi.js → models/api/gridHeaderFilteringApi.mjs} +0 -0
- /package/{esm/models/api/gridInfiniteLoaderApi.d.ts → models/api/gridInfiniteLoaderApi.d.mts} +0 -0
- /package/{esm/models/api/gridInfiniteLoaderApi.js → models/api/gridInfiniteLoaderApi.mjs} +0 -0
- /package/{esm/models/api/gridLocaleTextApi.js → models/api/gridLocaleTextApi.mjs} +0 -0
- /package/{esm/models/api/gridLoggerApi.js → models/api/gridLoggerApi.mjs} +0 -0
- /package/{esm/models/api/gridParamsApi.js → models/api/gridParamsApi.mjs} +0 -0
- /package/{esm/models/api/gridPreferencesPanelApi.js → models/api/gridPreferencesPanelApi.mjs} +0 -0
- /package/{esm/models/api/gridPrintExportApi.js → models/api/gridPrintExportApi.mjs} +0 -0
- /package/{esm/models/api/gridRowApi.js → models/api/gridRowApi.mjs} +0 -0
- /package/{esm/models/api/gridRowSelectionApi.js → models/api/gridRowSelectionApi.mjs} +0 -0
- /package/{esm/models/api/gridRowsMetaApi.js → models/api/gridRowsMetaApi.mjs} +0 -0
- /package/{esm/models/api/gridScrollApi.js → models/api/gridScrollApi.mjs} +0 -0
- /package/{esm/models/api/gridSortApi.js → models/api/gridSortApi.mjs} +0 -0
- /package/{esm/models/api/gridStateApi.js → models/api/gridStateApi.mjs} +0 -0
- /package/{esm/models/api/gridVirtualizationApi.d.ts → models/api/gridVirtualizationApi.d.mts} +0 -0
- /package/{esm/models/api/gridVirtualizationApi.js → models/api/gridVirtualizationApi.mjs} +0 -0
- /package/{esm/models/colDef/gridColDef.js → models/colDef/gridColDef.mjs} +0 -0
- /package/{esm/models/colDef/gridColType.d.ts → models/colDef/gridColType.d.mts} +0 -0
- /package/{esm/models/colDef/gridColType.js → models/colDef/gridColType.mjs} +0 -0
- /package/{esm/models/colDef/gridColumnTypesRecord.js → models/colDef/gridColumnTypesRecord.mjs} +0 -0
- /package/{esm/models/configuration/gridAggregationConfiguration.js → models/configuration/gridAggregationConfiguration.mjs} +0 -0
- /package/{esm/models/configuration/gridCellEditableConfiguration.js → models/configuration/gridCellEditableConfiguration.mjs} +0 -0
- /package/{esm/models/configuration/gridConfiguration.js → models/configuration/gridConfiguration.mjs} +0 -0
- /package/{esm/models/configuration/gridParamsConfiguration.js → models/configuration/gridParamsConfiguration.mjs} +0 -0
- /package/{esm/models/configuration/gridRowConfiguration.js → models/configuration/gridRowConfiguration.mjs} +0 -0
- /package/{esm/models/controlStateItem.js → models/controlStateItem.mjs} +0 -0
- /package/{esm/models/cursorCoordinates.d.ts → models/cursorCoordinates.d.mts} +0 -0
- /package/{esm/models/cursorCoordinates.js → models/cursorCoordinates.mjs} +0 -0
- /package/{esm/models/elementSize.d.ts → models/elementSize.d.mts} +0 -0
- /package/{esm/models/elementSize.js → models/elementSize.mjs} +0 -0
- /package/{esm/models/events/gridEventListener.js → models/events/gridEventListener.mjs} +0 -0
- /package/{esm/models/events/gridEventLookup.js → models/events/gridEventLookup.mjs} +0 -0
- /package/{esm/models/events/gridEventPublisher.js → models/events/gridEventPublisher.mjs} +0 -0
- /package/{esm/models/gridAggregation.d.ts → models/gridAggregation.d.mts} +0 -0
- /package/{esm/models/gridAggregation.js → models/gridAggregation.mjs} +0 -0
- /package/{esm/models/gridApiCaches.js → models/gridApiCaches.mjs} +0 -0
- /package/{esm/models/gridBaseSlots.d.ts → models/gridBaseSlots.d.mts} +0 -0
- /package/{esm/models/gridBaseSlots.js → models/gridBaseSlots.mjs} +0 -0
- /package/{esm/models/gridCell.js → models/gridCell.mjs} +0 -0
- /package/{esm/models/gridCellClass.js → models/gridCellClass.mjs} +0 -0
- /package/{esm/models/gridColumnGrouping.js → models/gridColumnGrouping.mjs} +0 -0
- /package/{esm/models/gridColumnHeaderClass.js → models/gridColumnHeaderClass.mjs} +0 -0
- /package/{esm/models/gridColumnSpanning.d.ts → models/gridColumnSpanning.d.mts} +0 -0
- /package/{esm/models/gridColumnSpanning.js → models/gridColumnSpanning.mjs} +0 -0
- /package/{esm/models/gridDataSource.js → models/gridDataSource.mjs} +0 -0
- /package/{esm/models/gridDensity.d.ts → models/gridDensity.d.mts} +0 -0
- /package/{esm/models/gridDensity.js → models/gridDensity.mjs} +0 -0
- /package/{esm/models/gridEditRowModel.js → models/gridEditRowModel.mjs} +0 -0
- /package/{esm/models/gridExport.js → models/gridExport.mjs} +0 -0
- /package/{esm/models/gridFeatureMode.d.ts → models/gridFeatureMode.d.mts} +0 -0
- /package/{esm/models/gridFeatureMode.js → models/gridFeatureMode.mjs} +0 -0
- /package/{esm/models/gridFilterInputComponent.js → models/gridFilterInputComponent.mjs} +0 -0
- /package/{esm/models/gridFilterItem.js → models/gridFilterItem.mjs} +0 -0
- /package/{esm/models/gridFilterModel.js → models/gridFilterModel.mjs} +0 -0
- /package/{esm/models/gridFilterOperator.js → models/gridFilterOperator.mjs} +0 -0
- /package/{esm/models/gridHeaderFilteringModel.js → models/gridHeaderFilteringModel.mjs} +0 -0
- /package/{esm/models/gridIconSlotsComponent.js → models/gridIconSlotsComponent.mjs} +0 -0
- /package/{esm/models/gridPaginationProps.d.ts → models/gridPaginationProps.d.mts} +0 -0
- /package/{esm/models/gridPaginationProps.js → models/gridPaginationProps.mjs} +0 -0
- /package/{esm/models/gridRenderContextProps.d.ts → models/gridRenderContextProps.d.mts} +0 -0
- /package/{esm/models/gridRenderContextProps.js → models/gridRenderContextProps.mjs} +0 -0
- /package/{esm/models/gridRowSelectionManager.js → models/gridRowSelectionManager.mjs} +0 -0
- /package/{esm/models/gridRowSelectionModel.js → models/gridRowSelectionModel.mjs} +0 -0
- /package/{esm/models/gridRows.js → models/gridRows.mjs} +0 -0
- /package/{esm/models/gridSlotsComponent.js → models/gridSlotsComponent.mjs} +0 -0
- /package/{esm/models/gridSlotsComponentsProps.js → models/gridSlotsComponentsProps.mjs} +0 -0
- /package/{esm/models/gridSortModel.js → models/gridSortModel.mjs} +0 -0
- /package/{esm/models/gridStateCommunity.js → models/gridStateCommunity.mjs} +0 -0
- /package/{esm/models/logger.d.ts → models/logger.d.mts} +0 -0
- /package/{esm/models/logger.js → models/logger.mjs} +0 -0
- /package/{esm/models/params/gridCellParams.js → models/params/gridCellParams.mjs} +0 -0
- /package/{esm/models/params/gridColumnGroupHeaderParams.js → models/params/gridColumnGroupHeaderParams.mjs} +0 -0
- /package/{esm/models/params/gridColumnHeaderParams.js → models/params/gridColumnHeaderParams.mjs} +0 -0
- /package/{esm/models/params/gridColumnOrderChangeParams.js → models/params/gridColumnOrderChangeParams.mjs} +0 -0
- /package/{esm/models/params/gridColumnResizeParams.js → models/params/gridColumnResizeParams.mjs} +0 -0
- /package/{esm/models/params/gridEditCellParams.js → models/params/gridEditCellParams.mjs} +0 -0
- /package/{esm/models/params/gridHeaderSelectionCheckboxParams.d.ts → models/params/gridHeaderSelectionCheckboxParams.d.mts} +0 -0
- /package/{esm/models/params/gridHeaderSelectionCheckboxParams.js → models/params/gridHeaderSelectionCheckboxParams.mjs} +0 -0
- /package/{esm/models/params/gridMenuParams.d.ts → models/params/gridMenuParams.d.mts} +0 -0
- /package/{esm/models/params/gridMenuParams.js → models/params/gridMenuParams.mjs} +0 -0
- /package/{esm/models/params/gridPreferencePanelParams.js → models/params/gridPreferencePanelParams.mjs} +0 -0
- /package/{esm/models/params/gridRowParams.js → models/params/gridRowParams.mjs} +0 -0
- /package/{esm/models/params/gridRowSelectionCheckboxParams.js → models/params/gridRowSelectionCheckboxParams.mjs} +0 -0
- /package/{esm/models/params/gridScrollParams.d.ts → models/params/gridScrollParams.d.mts} +0 -0
- /package/{esm/models/params/gridScrollParams.js → models/params/gridScrollParams.mjs} +0 -0
- /package/{esm/models/params/gridValueOptionsParams.js → models/params/gridValueOptionsParams.mjs} +0 -0
- /package/{esm/models/props/DataGridProps.js → models/props/DataGridProps.mjs} +0 -0
- /package/{esm/themeAugmentation/overrides.js → themeAugmentation/overrides.mjs} +0 -0
- /package/{esm/themeAugmentation/props.js → themeAugmentation/props.mjs} +0 -0
- /package/{esm/utils/ResizeObserver.d.ts → utils/ResizeObserver.d.mts} +0 -0
- /package/{esm/utils/ResizeObserver.js → utils/ResizeObserver.mjs} +0 -0
- /package/{esm/utils/assert.d.ts → utils/assert.d.mts} +0 -0
- /package/{esm/utils/cleanupTracking/CleanupTracking.d.ts → utils/cleanupTracking/CleanupTracking.d.mts} +0 -0
- /package/{esm/utils/cleanupTracking/CleanupTracking.js → utils/cleanupTracking/CleanupTracking.mjs} +0 -0
- /package/{esm/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.js → utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.mjs} +0 -0
- /package/{esm/utils/cleanupTracking/TimerBasedCleanupTracking.js → utils/cleanupTracking/TimerBasedCleanupTracking.mjs} +0 -0
- /package/{esm/utils/createControllablePromise.d.ts → utils/createControllablePromise.d.mts} +0 -0
- /package/{esm/utils/createControllablePromise.js → utils/createControllablePromise.mjs} +0 -0
- /package/{esm/utils/createSelector.d.ts → utils/createSelector.d.mts} +0 -0
- /package/{esm/utils/createSelector.js → utils/createSelector.mjs} +0 -0
- /package/{esm/utils/css/context.d.ts → utils/css/context.d.mts} +0 -0
- /package/{esm/utils/doesSupportPreventScroll.d.ts → utils/doesSupportPreventScroll.d.mts} +0 -0
- /package/{esm/utils/doesSupportPreventScroll.js → utils/doesSupportPreventScroll.mjs} +0 -0
- /package/{esm/utils/getPublicApiRef.js → utils/getPublicApiRef.mjs} +0 -0
- /package/{esm/utils/isJSDOM.d.ts → utils/isJSDOM.d.mts} +0 -0
- /package/{esm/utils/isJSDOM.js → utils/isJSDOM.mjs} +0 -0
- /package/{esm/utils/keyboardUtils.d.ts → utils/keyboardUtils.d.mts} +0 -0
- /package/{esm/utils/keyboardUtils.js → utils/keyboardUtils.mjs} +0 -0
- /package/{esm/utils/roundToDecimalPlaces.d.ts → utils/roundToDecimalPlaces.d.mts} +0 -0
- /package/{esm/utils/roundToDecimalPlaces.js → utils/roundToDecimalPlaces.mjs} +0 -0
|
@@ -0,0 +1,700 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { useRtl } from '@mui/system/RtlProvider';
|
|
3
|
+
import { GRID_TREE_DATA_GROUPING_FIELD, GRID_DETAIL_PANEL_TOGGLE_FIELD } from "../../../internals/constants.mjs";
|
|
4
|
+
import { isGroupingColumn } from "../../../internals/utils/gridRowGroupingUtils.mjs";
|
|
5
|
+
import { gridVisibleColumnDefinitionsSelector, gridVisibleColumnFieldsSelector } from "../columns/gridColumnsSelector.mjs";
|
|
6
|
+
import { useGridLogger } from "../../utils/useGridLogger.mjs";
|
|
7
|
+
import { useGridEvent } from "../../utils/useGridEvent.mjs";
|
|
8
|
+
import { gridExpandedSortedRowEntriesSelector } from "../filter/gridFilterSelector.mjs";
|
|
9
|
+
import { GRID_CHECKBOX_SELECTION_COL_DEF } from "../../../colDef/gridCheckboxSelectionColDef.mjs";
|
|
10
|
+
import { gridClasses } from "../../../constants/gridClasses.mjs";
|
|
11
|
+
import { GridCellModes } from "../../../models/gridEditRowModel.mjs";
|
|
12
|
+
import { isNavigationKey } from "../../../utils/keyboardUtils.mjs";
|
|
13
|
+
import { gridFocusColumnGroupHeaderSelector } from "../focus/index.mjs";
|
|
14
|
+
import { gridColumnGroupsHeaderMaxDepthSelector } from "../columnGrouping/gridColumnGroupsSelector.mjs";
|
|
15
|
+
import { gridHeaderFilteringEditFieldSelector, gridHeaderFilteringMenuSelector } from "../headerFiltering/gridHeaderFilteringSelectors.mjs";
|
|
16
|
+
import { useGridRegisterPipeProcessor } from "../../core/pipeProcessing/index.mjs";
|
|
17
|
+
import { isEventTargetInPortal } from "../../../utils/domUtils.mjs";
|
|
18
|
+
import { getLeftColumnIndex, getRightColumnIndex, findNonRowSpannedCell } from "./utils.mjs";
|
|
19
|
+
import { createSelectorMemoized } from "../../../utils/createSelector.mjs";
|
|
20
|
+
import { gridVisibleRowsSelector } from "../pagination/index.mjs";
|
|
21
|
+
import { gridPinnedRowsSelector } from "../rows/gridRowsSelector.mjs";
|
|
22
|
+
const gridVisibleRowsWithPinnedRowsSelector = createSelectorMemoized(gridVisibleRowsSelector, gridPinnedRowsSelector, (visibleRows, pinnedRows) => {
|
|
23
|
+
return (pinnedRows.top || []).concat(visibleRows.rows, pinnedRows.bottom || []);
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @requires useGridSorting (method) - can be after
|
|
28
|
+
* @requires useGridFilter (state) - can be after
|
|
29
|
+
* @requires useGridColumns (state, method) - can be after
|
|
30
|
+
* @requires useGridDimensions (method) - can be after
|
|
31
|
+
* @requires useGridFocus (method) - can be after
|
|
32
|
+
* @requires useGridScroll (method) - can be after
|
|
33
|
+
* @requires useGridColumnSpanning (method) - can be after
|
|
34
|
+
*/
|
|
35
|
+
export const useGridKeyboardNavigation = (apiRef, props) => {
|
|
36
|
+
const logger = useGridLogger(apiRef, 'useGridKeyboardNavigation');
|
|
37
|
+
const isRtl = useRtl();
|
|
38
|
+
const getCurrentPageRows = React.useCallback(() => {
|
|
39
|
+
return gridVisibleRowsWithPinnedRowsSelector(apiRef);
|
|
40
|
+
}, [apiRef]);
|
|
41
|
+
const headerFilteringEnabled = props.signature !== 'DataGrid' && props.headerFilters;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @param {number} colIndex Index of the column to focus
|
|
45
|
+
* @param {GridRowId} rowId index of the row to focus
|
|
46
|
+
* @param {string} closestColumnToUse Which closest column cell to use when the cell is spanned by `colSpan`.
|
|
47
|
+
* @param {string} rowSpanScanDirection Which direction to search to find the next cell not hidden by `rowSpan`.
|
|
48
|
+
* TODO replace with apiRef.current.moveFocusToRelativeCell()
|
|
49
|
+
*/
|
|
50
|
+
const goToCell = React.useCallback((colIndex, rowId, closestColumnToUse = 'left', rowSpanScanDirection = 'up') => {
|
|
51
|
+
const visibleSortedRows = gridExpandedSortedRowEntriesSelector(apiRef);
|
|
52
|
+
const nextCellColSpanInfo = apiRef.current.unstable_getCellColSpanInfo(rowId, colIndex);
|
|
53
|
+
if (nextCellColSpanInfo && nextCellColSpanInfo.spannedByColSpan) {
|
|
54
|
+
if (closestColumnToUse === 'left') {
|
|
55
|
+
colIndex = nextCellColSpanInfo.leftVisibleCellIndex;
|
|
56
|
+
} else if (closestColumnToUse === 'right') {
|
|
57
|
+
colIndex = nextCellColSpanInfo.rightVisibleCellIndex;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
const field = gridVisibleColumnFieldsSelector(apiRef)[colIndex];
|
|
61
|
+
const nonRowSpannedRowId = findNonRowSpannedCell(apiRef, rowId, colIndex, rowSpanScanDirection);
|
|
62
|
+
// `scrollToIndexes` requires a rowIndex relative to all visible rows.
|
|
63
|
+
// Those rows do not include pinned rows, but pinned rows do not need scroll anyway.
|
|
64
|
+
const rowIndexRelativeToAllRows = visibleSortedRows.findIndex(row => row.id === nonRowSpannedRowId);
|
|
65
|
+
logger.debug(`Navigating to cell row ${rowIndexRelativeToAllRows}, col ${colIndex}`);
|
|
66
|
+
apiRef.current.scrollToIndexes({
|
|
67
|
+
colIndex,
|
|
68
|
+
rowIndex: rowIndexRelativeToAllRows
|
|
69
|
+
});
|
|
70
|
+
apiRef.current.setCellFocus(nonRowSpannedRowId, field);
|
|
71
|
+
}, [apiRef, logger]);
|
|
72
|
+
const goToHeader = React.useCallback((colIndex, event) => {
|
|
73
|
+
logger.debug(`Navigating to header col ${colIndex}`);
|
|
74
|
+
apiRef.current.scrollToIndexes({
|
|
75
|
+
colIndex
|
|
76
|
+
});
|
|
77
|
+
const field = apiRef.current.getVisibleColumns()[colIndex].field;
|
|
78
|
+
apiRef.current.setColumnHeaderFocus(field, event);
|
|
79
|
+
}, [apiRef, logger]);
|
|
80
|
+
const goToHeaderFilter = React.useCallback((colIndex, event) => {
|
|
81
|
+
logger.debug(`Navigating to header filter col ${colIndex}`);
|
|
82
|
+
apiRef.current.scrollToIndexes({
|
|
83
|
+
colIndex
|
|
84
|
+
});
|
|
85
|
+
const field = apiRef.current.getVisibleColumns()[colIndex].field;
|
|
86
|
+
apiRef.current.setColumnHeaderFilterFocus(field, event);
|
|
87
|
+
}, [apiRef, logger]);
|
|
88
|
+
const goToGroupHeader = React.useCallback((colIndex, depth, event) => {
|
|
89
|
+
logger.debug(`Navigating to header col ${colIndex}`);
|
|
90
|
+
apiRef.current.scrollToIndexes({
|
|
91
|
+
colIndex
|
|
92
|
+
});
|
|
93
|
+
const {
|
|
94
|
+
field
|
|
95
|
+
} = apiRef.current.getVisibleColumns()[colIndex];
|
|
96
|
+
apiRef.current.setColumnGroupHeaderFocus(field, depth, event);
|
|
97
|
+
}, [apiRef, logger]);
|
|
98
|
+
const getRowIdFromIndex = React.useCallback(rowIndex => {
|
|
99
|
+
return getCurrentPageRows()[rowIndex]?.id;
|
|
100
|
+
}, [getCurrentPageRows]);
|
|
101
|
+
const handleColumnHeaderKeyDown = React.useCallback((params, event) => {
|
|
102
|
+
const headerTitleNode = event.currentTarget.querySelector(`.${gridClasses.columnHeaderTitleContainerContent}`);
|
|
103
|
+
const isFromInsideContent = !!headerTitleNode && headerTitleNode.contains(event.target);
|
|
104
|
+
if (isFromInsideContent && params.field !== GRID_CHECKBOX_SELECTION_COL_DEF.field) {
|
|
105
|
+
// When focus is on a nested input, keyboard events have no effect to avoid conflicts with native events.
|
|
106
|
+
// There is one exception for the checkBoxHeader
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
if (!isNavigationKey(event.key) && event.key !== 'Tab' && event.key !== 'Enter') {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Tab key is only allowed if tabbing is enabled for header/all, or if we are tabbing to the content area while `tabNavigation` is enabled for content only
|
|
114
|
+
if (event.key === 'Tab' && (props.tabNavigation === 'none' || props.tabNavigation === 'content' && event.shiftKey)) {
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
const currentPageRows = getCurrentPageRows();
|
|
118
|
+
const viewportPageSize = apiRef.current.getViewportPageSize();
|
|
119
|
+
const colIndexBefore = params.field ? apiRef.current.getColumnIndex(params.field) : 0;
|
|
120
|
+
const firstRowIndexInPage = currentPageRows.length > 0 ? 0 : null;
|
|
121
|
+
const lastRowIndexInPage = currentPageRows.length > 0 ? currentPageRows.length - 1 : null;
|
|
122
|
+
const firstColIndex = 0;
|
|
123
|
+
const lastColIndex = Math.max(0, gridVisibleColumnDefinitionsSelector(apiRef).length - 1);
|
|
124
|
+
const columnGroupMaxDepth = gridColumnGroupsHeaderMaxDepthSelector(apiRef);
|
|
125
|
+
let shouldPreventDefault = true;
|
|
126
|
+
|
|
127
|
+
// If we are tabbing inside the header area while only content `tabNavigation` is enabled, go to the first cell
|
|
128
|
+
if (event.key === 'Tab' && props.tabNavigation === 'content' && !event.shiftKey) {
|
|
129
|
+
if (firstRowIndexInPage !== null) {
|
|
130
|
+
goToCell(firstColIndex, getRowIdFromIndex(firstRowIndexInPage));
|
|
131
|
+
event.preventDefault();
|
|
132
|
+
}
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
switch (event.key) {
|
|
136
|
+
case 'ArrowDown':
|
|
137
|
+
{
|
|
138
|
+
if (headerFilteringEnabled) {
|
|
139
|
+
goToHeaderFilter(colIndexBefore, event);
|
|
140
|
+
} else if (firstRowIndexInPage !== null) {
|
|
141
|
+
goToCell(colIndexBefore, getRowIdFromIndex(firstRowIndexInPage));
|
|
142
|
+
}
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
case 'ArrowRight':
|
|
146
|
+
{
|
|
147
|
+
const rightColIndex = getRightColumnIndex({
|
|
148
|
+
currentColIndex: colIndexBefore,
|
|
149
|
+
firstColIndex,
|
|
150
|
+
lastColIndex,
|
|
151
|
+
isRtl
|
|
152
|
+
});
|
|
153
|
+
if (rightColIndex !== null) {
|
|
154
|
+
goToHeader(rightColIndex, event);
|
|
155
|
+
}
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
case 'ArrowLeft':
|
|
159
|
+
{
|
|
160
|
+
const leftColIndex = getLeftColumnIndex({
|
|
161
|
+
currentColIndex: colIndexBefore,
|
|
162
|
+
firstColIndex,
|
|
163
|
+
lastColIndex,
|
|
164
|
+
isRtl
|
|
165
|
+
});
|
|
166
|
+
if (leftColIndex !== null) {
|
|
167
|
+
goToHeader(leftColIndex, event);
|
|
168
|
+
}
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
case 'ArrowUp':
|
|
172
|
+
{
|
|
173
|
+
if (columnGroupMaxDepth > 0) {
|
|
174
|
+
goToGroupHeader(colIndexBefore, columnGroupMaxDepth - 1, event);
|
|
175
|
+
}
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
case 'PageDown':
|
|
179
|
+
{
|
|
180
|
+
if (firstRowIndexInPage !== null && lastRowIndexInPage !== null) {
|
|
181
|
+
goToCell(colIndexBefore, getRowIdFromIndex(Math.min(firstRowIndexInPage + viewportPageSize, lastRowIndexInPage)));
|
|
182
|
+
}
|
|
183
|
+
break;
|
|
184
|
+
}
|
|
185
|
+
case 'Home':
|
|
186
|
+
{
|
|
187
|
+
goToHeader(firstColIndex, event);
|
|
188
|
+
break;
|
|
189
|
+
}
|
|
190
|
+
case 'End':
|
|
191
|
+
{
|
|
192
|
+
goToHeader(lastColIndex, event);
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
case 'Enter':
|
|
196
|
+
{
|
|
197
|
+
if (event.ctrlKey || event.metaKey) {
|
|
198
|
+
apiRef.current.toggleColumnMenu(params.field);
|
|
199
|
+
}
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
case 'Tab':
|
|
203
|
+
{
|
|
204
|
+
if (event.shiftKey) {
|
|
205
|
+
// if the key is pressed on the first column header, Shift+Tab should go to the group header if it is there or allow default behavior
|
|
206
|
+
if (colIndexBefore === firstColIndex) {
|
|
207
|
+
if (columnGroupMaxDepth > 0) {
|
|
208
|
+
goToGroupHeader(lastColIndex, columnGroupMaxDepth - 1, event);
|
|
209
|
+
} else {
|
|
210
|
+
shouldPreventDefault = false;
|
|
211
|
+
}
|
|
212
|
+
} else {
|
|
213
|
+
goToHeader(colIndexBefore - 1, event);
|
|
214
|
+
}
|
|
215
|
+
} else if (colIndexBefore === lastColIndex) {
|
|
216
|
+
// the key is pressed at the last column header. go to the first header filter or the first cell
|
|
217
|
+
if (headerFilteringEnabled) {
|
|
218
|
+
goToHeaderFilter(firstColIndex, event);
|
|
219
|
+
}
|
|
220
|
+
// this point can be reached if tabbing is enabled for all content or just header.
|
|
221
|
+
// if it is not enabled for all content or there is no data, then do not focus on the first cell
|
|
222
|
+
else if (props.tabNavigation === 'all' && firstRowIndexInPage !== null) {
|
|
223
|
+
goToCell(firstColIndex, getRowIdFromIndex(firstRowIndexInPage));
|
|
224
|
+
} else {
|
|
225
|
+
shouldPreventDefault = false;
|
|
226
|
+
}
|
|
227
|
+
} else {
|
|
228
|
+
goToHeader(colIndexBefore + 1, event);
|
|
229
|
+
}
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
case ' ':
|
|
233
|
+
{
|
|
234
|
+
// prevent Space event from scrolling
|
|
235
|
+
break;
|
|
236
|
+
}
|
|
237
|
+
default:
|
|
238
|
+
{
|
|
239
|
+
shouldPreventDefault = false;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
if (shouldPreventDefault) {
|
|
243
|
+
event.preventDefault();
|
|
244
|
+
}
|
|
245
|
+
}, [apiRef, props.tabNavigation, getCurrentPageRows, headerFilteringEnabled, goToHeaderFilter, goToCell, getRowIdFromIndex, isRtl, goToHeader, goToGroupHeader]);
|
|
246
|
+
const handleHeaderFilterKeyDown = React.useCallback((params, event) => {
|
|
247
|
+
const isEditing = gridHeaderFilteringEditFieldSelector(apiRef) === params.field;
|
|
248
|
+
const isHeaderMenuOpen = gridHeaderFilteringMenuSelector(apiRef) === params.field;
|
|
249
|
+
if (isHeaderMenuOpen || isEditing && event.key !== 'Tab') {
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
if (!isNavigationKey(event.key) && event.key !== 'Tab') {
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// Tab key is only allowed if tabbing is enabled for header/all, or if we are tabbing to the content area while `tabNavigation` is enabled for content only
|
|
257
|
+
if (event.key === 'Tab' && (props.tabNavigation === 'none' || props.tabNavigation === 'content' && event.shiftKey)) {
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
260
|
+
const currentPageRows = getCurrentPageRows();
|
|
261
|
+
const viewportPageSize = apiRef.current.getViewportPageSize();
|
|
262
|
+
const colIndexBefore = params.field ? apiRef.current.getColumnIndex(params.field) : 0;
|
|
263
|
+
const firstRowIndexInPage = currentPageRows.length > 0 ? 0 : null;
|
|
264
|
+
const lastRowIndexInPage = currentPageRows.length > 0 ? currentPageRows.length - 1 : null;
|
|
265
|
+
const firstColIndex = 0;
|
|
266
|
+
const lastColIndex = Math.max(0, gridVisibleColumnDefinitionsSelector(apiRef).length - 1);
|
|
267
|
+
let shouldPreventDefault = true;
|
|
268
|
+
|
|
269
|
+
// If we are tabbing inside the header area while only content `tabNavigation` is enabled, go to the first cell
|
|
270
|
+
if (event.key === 'Tab' && props.tabNavigation === 'content' && !event.shiftKey) {
|
|
271
|
+
if (firstRowIndexInPage !== null) {
|
|
272
|
+
goToCell(firstColIndex, getRowIdFromIndex(firstRowIndexInPage));
|
|
273
|
+
event.preventDefault();
|
|
274
|
+
}
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
switch (event.key) {
|
|
278
|
+
case 'ArrowDown':
|
|
279
|
+
{
|
|
280
|
+
if (firstRowIndexInPage !== null) {
|
|
281
|
+
goToCell(colIndexBefore, getRowIdFromIndex(firstRowIndexInPage));
|
|
282
|
+
}
|
|
283
|
+
break;
|
|
284
|
+
}
|
|
285
|
+
case 'ArrowRight':
|
|
286
|
+
{
|
|
287
|
+
const rightColIndex = getRightColumnIndex({
|
|
288
|
+
currentColIndex: colIndexBefore,
|
|
289
|
+
firstColIndex,
|
|
290
|
+
lastColIndex,
|
|
291
|
+
isRtl
|
|
292
|
+
});
|
|
293
|
+
if (rightColIndex !== null) {
|
|
294
|
+
goToHeaderFilter(rightColIndex, event);
|
|
295
|
+
}
|
|
296
|
+
break;
|
|
297
|
+
}
|
|
298
|
+
case 'ArrowLeft':
|
|
299
|
+
{
|
|
300
|
+
const leftColIndex = getLeftColumnIndex({
|
|
301
|
+
currentColIndex: colIndexBefore,
|
|
302
|
+
firstColIndex,
|
|
303
|
+
lastColIndex,
|
|
304
|
+
isRtl
|
|
305
|
+
});
|
|
306
|
+
if (leftColIndex !== null) {
|
|
307
|
+
goToHeaderFilter(leftColIndex, event);
|
|
308
|
+
} else {
|
|
309
|
+
apiRef.current.setColumnHeaderFilterFocus(params.field, event);
|
|
310
|
+
}
|
|
311
|
+
break;
|
|
312
|
+
}
|
|
313
|
+
case 'ArrowUp':
|
|
314
|
+
{
|
|
315
|
+
goToHeader(colIndexBefore, event);
|
|
316
|
+
break;
|
|
317
|
+
}
|
|
318
|
+
case 'PageDown':
|
|
319
|
+
{
|
|
320
|
+
if (firstRowIndexInPage !== null && lastRowIndexInPage !== null) {
|
|
321
|
+
goToCell(colIndexBefore, getRowIdFromIndex(Math.min(firstRowIndexInPage + viewportPageSize, lastRowIndexInPage)));
|
|
322
|
+
}
|
|
323
|
+
break;
|
|
324
|
+
}
|
|
325
|
+
case 'Home':
|
|
326
|
+
{
|
|
327
|
+
goToHeaderFilter(firstColIndex, event);
|
|
328
|
+
break;
|
|
329
|
+
}
|
|
330
|
+
case 'End':
|
|
331
|
+
{
|
|
332
|
+
goToHeaderFilter(lastColIndex, event);
|
|
333
|
+
break;
|
|
334
|
+
}
|
|
335
|
+
case 'Tab':
|
|
336
|
+
{
|
|
337
|
+
if (event.shiftKey) {
|
|
338
|
+
// if the key is pressed on the first header filter, Shift+Tab should go to the column header
|
|
339
|
+
if (colIndexBefore === firstColIndex) {
|
|
340
|
+
goToHeader(lastColIndex, event);
|
|
341
|
+
} else {
|
|
342
|
+
goToHeaderFilter(colIndexBefore - 1, event);
|
|
343
|
+
}
|
|
344
|
+
} else if (colIndexBefore === lastColIndex) {
|
|
345
|
+
// the key is pressed at the last header filter.
|
|
346
|
+
// this point can be reached if `tabNavigation` is enabled for all content or just header.
|
|
347
|
+
// if it is not enabled for all content or there is no data, then do not focus on the first cell
|
|
348
|
+
if (props.tabNavigation === 'all' && firstRowIndexInPage !== null) {
|
|
349
|
+
goToCell(firstColIndex, getRowIdFromIndex(firstRowIndexInPage));
|
|
350
|
+
} else {
|
|
351
|
+
shouldPreventDefault = false;
|
|
352
|
+
}
|
|
353
|
+
} else {
|
|
354
|
+
goToHeaderFilter(colIndexBefore + 1, event);
|
|
355
|
+
}
|
|
356
|
+
break;
|
|
357
|
+
}
|
|
358
|
+
case ' ':
|
|
359
|
+
{
|
|
360
|
+
// prevent Space event from scrolling
|
|
361
|
+
break;
|
|
362
|
+
}
|
|
363
|
+
default:
|
|
364
|
+
{
|
|
365
|
+
shouldPreventDefault = false;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
if (shouldPreventDefault) {
|
|
369
|
+
event.preventDefault();
|
|
370
|
+
}
|
|
371
|
+
}, [apiRef, props.tabNavigation, getCurrentPageRows, goToHeaderFilter, isRtl, goToHeader, goToCell, getRowIdFromIndex]);
|
|
372
|
+
const handleColumnGroupHeaderKeyDown = React.useCallback((params, event) => {
|
|
373
|
+
const focusedColumnGroup = gridFocusColumnGroupHeaderSelector(apiRef);
|
|
374
|
+
if (focusedColumnGroup === null) {
|
|
375
|
+
return;
|
|
376
|
+
}
|
|
377
|
+
const {
|
|
378
|
+
field: currentField,
|
|
379
|
+
depth: currentDepth
|
|
380
|
+
} = focusedColumnGroup;
|
|
381
|
+
const {
|
|
382
|
+
fields,
|
|
383
|
+
depth,
|
|
384
|
+
maxDepth
|
|
385
|
+
} = params;
|
|
386
|
+
if (!isNavigationKey(event.key) && event.key !== 'Tab') {
|
|
387
|
+
return;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
// Tab key is only allowed if tabbing is enabled for header/all, or if we are tabbing to the content area while `tabNavigation` is enabled for content only
|
|
391
|
+
if (event.key === 'Tab' && (props.tabNavigation === 'none' || props.tabNavigation === 'content' && event.shiftKey)) {
|
|
392
|
+
return;
|
|
393
|
+
}
|
|
394
|
+
const currentPageRows = getCurrentPageRows();
|
|
395
|
+
const viewportPageSize = apiRef.current.getViewportPageSize();
|
|
396
|
+
const currentColIndex = apiRef.current.getColumnIndex(currentField);
|
|
397
|
+
const colIndexBefore = currentField ? apiRef.current.getColumnIndex(currentField) : 0;
|
|
398
|
+
const firstRowIndexInPage = currentPageRows.length > 0 ? 0 : null;
|
|
399
|
+
const lastRowIndexInPage = currentPageRows.length > 0 ? currentPageRows.length - 1 : null;
|
|
400
|
+
const firstColIndex = 0;
|
|
401
|
+
const lastColIndex = Math.max(0, gridVisibleColumnDefinitionsSelector(apiRef).length - 1);
|
|
402
|
+
let shouldPreventDefault = true;
|
|
403
|
+
|
|
404
|
+
// If we are tabbing inside the header area while only content `tabNavigation` is enabled, go to the first cell
|
|
405
|
+
if (event.key === 'Tab' && props.tabNavigation === 'content' && !event.shiftKey) {
|
|
406
|
+
if (firstRowIndexInPage !== null) {
|
|
407
|
+
goToCell(firstColIndex, getRowIdFromIndex(firstRowIndexInPage));
|
|
408
|
+
event.preventDefault();
|
|
409
|
+
}
|
|
410
|
+
return;
|
|
411
|
+
}
|
|
412
|
+
switch (event.key) {
|
|
413
|
+
case 'ArrowDown':
|
|
414
|
+
{
|
|
415
|
+
if (depth === maxDepth - 1) {
|
|
416
|
+
goToHeader(currentColIndex, event);
|
|
417
|
+
} else {
|
|
418
|
+
goToGroupHeader(currentColIndex, currentDepth + 1, event);
|
|
419
|
+
}
|
|
420
|
+
break;
|
|
421
|
+
}
|
|
422
|
+
case 'ArrowUp':
|
|
423
|
+
{
|
|
424
|
+
if (depth > 0) {
|
|
425
|
+
goToGroupHeader(currentColIndex, currentDepth - 1, event);
|
|
426
|
+
}
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
case 'ArrowRight':
|
|
430
|
+
{
|
|
431
|
+
const remainingRightColumns = fields.length - fields.indexOf(currentField) - 1;
|
|
432
|
+
if (currentColIndex + remainingRightColumns + 1 <= lastColIndex) {
|
|
433
|
+
goToGroupHeader(currentColIndex + remainingRightColumns + 1, currentDepth, event);
|
|
434
|
+
}
|
|
435
|
+
break;
|
|
436
|
+
}
|
|
437
|
+
case 'ArrowLeft':
|
|
438
|
+
{
|
|
439
|
+
const remainingLeftColumns = fields.indexOf(currentField);
|
|
440
|
+
if (currentColIndex - remainingLeftColumns - 1 >= firstColIndex) {
|
|
441
|
+
goToGroupHeader(currentColIndex - remainingLeftColumns - 1, currentDepth, event);
|
|
442
|
+
}
|
|
443
|
+
break;
|
|
444
|
+
}
|
|
445
|
+
case 'PageDown':
|
|
446
|
+
{
|
|
447
|
+
if (firstRowIndexInPage !== null && lastRowIndexInPage !== null) {
|
|
448
|
+
goToCell(colIndexBefore, getRowIdFromIndex(Math.min(firstRowIndexInPage + viewportPageSize, lastRowIndexInPage)));
|
|
449
|
+
}
|
|
450
|
+
break;
|
|
451
|
+
}
|
|
452
|
+
case 'Home':
|
|
453
|
+
{
|
|
454
|
+
goToGroupHeader(firstColIndex, currentDepth, event);
|
|
455
|
+
break;
|
|
456
|
+
}
|
|
457
|
+
case 'End':
|
|
458
|
+
{
|
|
459
|
+
goToGroupHeader(lastColIndex, currentDepth, event);
|
|
460
|
+
break;
|
|
461
|
+
}
|
|
462
|
+
case 'Tab':
|
|
463
|
+
{
|
|
464
|
+
if (event.shiftKey) {
|
|
465
|
+
const remainingLeftColumns = fields.indexOf(currentField);
|
|
466
|
+
const targetColIndex = currentColIndex - remainingLeftColumns - 1;
|
|
467
|
+
if (targetColIndex < firstColIndex) {
|
|
468
|
+
if (depth === 0) {
|
|
469
|
+
// if the key is pressed on the first column group header at the top level, Shift+Tab should allow default behavior
|
|
470
|
+
shouldPreventDefault = false;
|
|
471
|
+
} else {
|
|
472
|
+
// Navigate to last column group header at the previous depth
|
|
473
|
+
goToGroupHeader(lastColIndex, currentDepth - 1, event);
|
|
474
|
+
}
|
|
475
|
+
} else {
|
|
476
|
+
goToGroupHeader(targetColIndex, currentDepth, event);
|
|
477
|
+
}
|
|
478
|
+
} else {
|
|
479
|
+
const remainingRightColumns = fields.length - fields.indexOf(currentField) - 1;
|
|
480
|
+
const targetColIndex = currentColIndex + remainingRightColumns + 1;
|
|
481
|
+
if (targetColIndex > lastColIndex && depth === maxDepth - 1) {
|
|
482
|
+
// the key is pressed at the last column group header at the deepest level. go to the first column header
|
|
483
|
+
goToHeader(firstColIndex, event);
|
|
484
|
+
} else if (targetColIndex > lastColIndex) {
|
|
485
|
+
// go down a depth level
|
|
486
|
+
goToGroupHeader(firstColIndex, currentDepth + 1, event);
|
|
487
|
+
} else {
|
|
488
|
+
goToGroupHeader(targetColIndex, currentDepth, event);
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
break;
|
|
492
|
+
}
|
|
493
|
+
case ' ':
|
|
494
|
+
{
|
|
495
|
+
// prevent Space event from scrolling
|
|
496
|
+
break;
|
|
497
|
+
}
|
|
498
|
+
default:
|
|
499
|
+
{
|
|
500
|
+
shouldPreventDefault = false;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
if (shouldPreventDefault) {
|
|
504
|
+
event.preventDefault();
|
|
505
|
+
}
|
|
506
|
+
}, [apiRef, props.tabNavigation, getCurrentPageRows, goToHeader, goToGroupHeader, goToCell, getRowIdFromIndex]);
|
|
507
|
+
const handleCellKeyDown = React.useCallback((params, event) => {
|
|
508
|
+
// Ignore portal
|
|
509
|
+
if (isEventTargetInPortal(event)) {
|
|
510
|
+
return;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
// Get the most recent params because the cell mode may have changed by another listener
|
|
514
|
+
const cellParams = apiRef.current.getCellParams(params.id, params.field);
|
|
515
|
+
if (cellParams.cellMode === GridCellModes.Edit || !isNavigationKey(event.key) && event.key !== 'Tab') {
|
|
516
|
+
return;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
// Tab key is only allowed if tabbing is enabled or if we are tabbing to the header area while `tabNavigation` is enabled for header only (with Shift+Tab)
|
|
520
|
+
if (event.key === 'Tab' && (props.tabNavigation === 'none' || props.tabNavigation === 'header' && !event.shiftKey)) {
|
|
521
|
+
return;
|
|
522
|
+
}
|
|
523
|
+
const canUpdateFocus = apiRef.current.unstable_applyPipeProcessors('canUpdateFocus', true, {
|
|
524
|
+
event,
|
|
525
|
+
cell: cellParams
|
|
526
|
+
});
|
|
527
|
+
if (!canUpdateFocus) {
|
|
528
|
+
return;
|
|
529
|
+
}
|
|
530
|
+
const currentPageRows = getCurrentPageRows();
|
|
531
|
+
if (currentPageRows.length === 0) {
|
|
532
|
+
return;
|
|
533
|
+
}
|
|
534
|
+
const previousAreaNavigationFn = headerFilteringEnabled ? goToHeaderFilter : goToHeader;
|
|
535
|
+
const viewportPageSize = apiRef.current.getViewportPageSize();
|
|
536
|
+
const colIndexBefore = params.field ? apiRef.current.getColumnIndex(params.field) : 0;
|
|
537
|
+
const rowIndexBefore = currentPageRows.findIndex(row => row.id === params.id);
|
|
538
|
+
const firstRowIndexInPage = 0;
|
|
539
|
+
const lastRowIndexInPage = currentPageRows.length - 1;
|
|
540
|
+
const firstColIndex = 0;
|
|
541
|
+
const lastColIndex = Math.max(0, gridVisibleColumnDefinitionsSelector(apiRef).length - 1);
|
|
542
|
+
let shouldPreventDefault = true;
|
|
543
|
+
|
|
544
|
+
// If we are tabbing inside the content area while only header `tabNavigation` is enabled, go to the last header filter or column header
|
|
545
|
+
if (event.key === 'Tab' && props.tabNavigation === 'header' && event.shiftKey) {
|
|
546
|
+
previousAreaNavigationFn(lastColIndex, event);
|
|
547
|
+
event.preventDefault();
|
|
548
|
+
return;
|
|
549
|
+
}
|
|
550
|
+
switch (event.key) {
|
|
551
|
+
case 'ArrowDown':
|
|
552
|
+
{
|
|
553
|
+
// "Enter" is only triggered by the row / cell editing feature
|
|
554
|
+
if (rowIndexBefore < lastRowIndexInPage) {
|
|
555
|
+
goToCell(colIndexBefore, getRowIdFromIndex(rowIndexBefore + 1), isRtl ? 'right' : 'left', 'down');
|
|
556
|
+
}
|
|
557
|
+
break;
|
|
558
|
+
}
|
|
559
|
+
case 'ArrowUp':
|
|
560
|
+
{
|
|
561
|
+
if (rowIndexBefore > firstRowIndexInPage) {
|
|
562
|
+
goToCell(colIndexBefore, getRowIdFromIndex(rowIndexBefore - 1));
|
|
563
|
+
} else {
|
|
564
|
+
previousAreaNavigationFn(colIndexBefore, event);
|
|
565
|
+
}
|
|
566
|
+
break;
|
|
567
|
+
}
|
|
568
|
+
case 'ArrowRight':
|
|
569
|
+
{
|
|
570
|
+
const rightColIndex = getRightColumnIndex({
|
|
571
|
+
currentColIndex: colIndexBefore,
|
|
572
|
+
firstColIndex,
|
|
573
|
+
lastColIndex,
|
|
574
|
+
isRtl
|
|
575
|
+
});
|
|
576
|
+
if (rightColIndex !== null) {
|
|
577
|
+
goToCell(rightColIndex, getRowIdFromIndex(rowIndexBefore), isRtl ? 'left' : 'right');
|
|
578
|
+
}
|
|
579
|
+
break;
|
|
580
|
+
}
|
|
581
|
+
case 'ArrowLeft':
|
|
582
|
+
{
|
|
583
|
+
const leftColIndex = getLeftColumnIndex({
|
|
584
|
+
currentColIndex: colIndexBefore,
|
|
585
|
+
firstColIndex,
|
|
586
|
+
lastColIndex,
|
|
587
|
+
isRtl
|
|
588
|
+
});
|
|
589
|
+
if (leftColIndex !== null) {
|
|
590
|
+
goToCell(leftColIndex, getRowIdFromIndex(rowIndexBefore), isRtl ? 'right' : 'left');
|
|
591
|
+
}
|
|
592
|
+
break;
|
|
593
|
+
}
|
|
594
|
+
case 'Tab':
|
|
595
|
+
{
|
|
596
|
+
if (event.shiftKey) {
|
|
597
|
+
// if the key is pressed on the first cell, Shift+Tab should go to the last column header
|
|
598
|
+
// same is if `tabNavigation` is enabled for header only
|
|
599
|
+
if (colIndexBefore === firstColIndex && rowIndexBefore === firstRowIndexInPage) {
|
|
600
|
+
if (props.tabNavigation === 'all') {
|
|
601
|
+
previousAreaNavigationFn(lastColIndex, event);
|
|
602
|
+
} else {
|
|
603
|
+
shouldPreventDefault = false;
|
|
604
|
+
}
|
|
605
|
+
} else if (colIndexBefore === firstColIndex) {
|
|
606
|
+
goToCell(lastColIndex, getRowIdFromIndex(rowIndexBefore - 1));
|
|
607
|
+
} else {
|
|
608
|
+
goToCell(colIndexBefore - 1, getRowIdFromIndex(rowIndexBefore), 'left');
|
|
609
|
+
}
|
|
610
|
+
} else if (colIndexBefore === lastColIndex) {
|
|
611
|
+
// the key is pressed at the last column. if it is also the last row, do not to anything to allow the default behavior
|
|
612
|
+
// otherwise, go to the first column of the next row
|
|
613
|
+
if (rowIndexBefore !== lastRowIndexInPage) {
|
|
614
|
+
goToCell(firstColIndex, getRowIdFromIndex(rowIndexBefore + 1));
|
|
615
|
+
} else {
|
|
616
|
+
shouldPreventDefault = false;
|
|
617
|
+
}
|
|
618
|
+
} else {
|
|
619
|
+
goToCell(colIndexBefore + 1, getRowIdFromIndex(rowIndexBefore), 'right');
|
|
620
|
+
}
|
|
621
|
+
break;
|
|
622
|
+
}
|
|
623
|
+
case ' ':
|
|
624
|
+
{
|
|
625
|
+
const field = params.field;
|
|
626
|
+
if (field === GRID_DETAIL_PANEL_TOGGLE_FIELD) {
|
|
627
|
+
break;
|
|
628
|
+
}
|
|
629
|
+
const colDef = params.colDef;
|
|
630
|
+
if (colDef && (colDef.field === GRID_TREE_DATA_GROUPING_FIELD || isGroupingColumn(colDef.field))) {
|
|
631
|
+
break;
|
|
632
|
+
}
|
|
633
|
+
if (colDef && colDef.type === 'longText') {
|
|
634
|
+
break;
|
|
635
|
+
}
|
|
636
|
+
if (!event.shiftKey && rowIndexBefore < lastRowIndexInPage) {
|
|
637
|
+
goToCell(colIndexBefore, getRowIdFromIndex(Math.min(rowIndexBefore + viewportPageSize, lastRowIndexInPage)));
|
|
638
|
+
}
|
|
639
|
+
break;
|
|
640
|
+
}
|
|
641
|
+
case 'PageDown':
|
|
642
|
+
{
|
|
643
|
+
if (rowIndexBefore < lastRowIndexInPage) {
|
|
644
|
+
goToCell(colIndexBefore, getRowIdFromIndex(Math.min(rowIndexBefore + viewportPageSize, lastRowIndexInPage)));
|
|
645
|
+
}
|
|
646
|
+
break;
|
|
647
|
+
}
|
|
648
|
+
case 'PageUp':
|
|
649
|
+
{
|
|
650
|
+
// Go to the first row before going to header
|
|
651
|
+
const nextRowIndex = Math.max(rowIndexBefore - viewportPageSize, firstRowIndexInPage);
|
|
652
|
+
if (nextRowIndex !== rowIndexBefore && nextRowIndex >= firstRowIndexInPage) {
|
|
653
|
+
goToCell(colIndexBefore, getRowIdFromIndex(nextRowIndex));
|
|
654
|
+
} else {
|
|
655
|
+
goToHeader(colIndexBefore, event);
|
|
656
|
+
}
|
|
657
|
+
break;
|
|
658
|
+
}
|
|
659
|
+
case 'Home':
|
|
660
|
+
{
|
|
661
|
+
if (event.ctrlKey || event.metaKey || event.shiftKey) {
|
|
662
|
+
goToCell(firstColIndex, getRowIdFromIndex(firstRowIndexInPage));
|
|
663
|
+
} else {
|
|
664
|
+
goToCell(firstColIndex, getRowIdFromIndex(rowIndexBefore));
|
|
665
|
+
}
|
|
666
|
+
break;
|
|
667
|
+
}
|
|
668
|
+
case 'End':
|
|
669
|
+
{
|
|
670
|
+
if (event.ctrlKey || event.metaKey || event.shiftKey) {
|
|
671
|
+
goToCell(lastColIndex, getRowIdFromIndex(lastRowIndexInPage));
|
|
672
|
+
} else {
|
|
673
|
+
goToCell(lastColIndex, getRowIdFromIndex(rowIndexBefore));
|
|
674
|
+
}
|
|
675
|
+
break;
|
|
676
|
+
}
|
|
677
|
+
default:
|
|
678
|
+
{
|
|
679
|
+
shouldPreventDefault = false;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
if (shouldPreventDefault) {
|
|
683
|
+
event.preventDefault();
|
|
684
|
+
}
|
|
685
|
+
}, [apiRef, props.tabNavigation, getCurrentPageRows, isRtl, goToCell, getRowIdFromIndex, headerFilteringEnabled, goToHeaderFilter, goToHeader]);
|
|
686
|
+
const checkIfCanStartEditing = React.useCallback((initialValue, {
|
|
687
|
+
event
|
|
688
|
+
}) => {
|
|
689
|
+
if (event.key === ' ') {
|
|
690
|
+
// Space scrolls to the last row
|
|
691
|
+
return false;
|
|
692
|
+
}
|
|
693
|
+
return initialValue;
|
|
694
|
+
}, []);
|
|
695
|
+
useGridRegisterPipeProcessor(apiRef, 'canStartEditing', checkIfCanStartEditing);
|
|
696
|
+
useGridEvent(apiRef, 'columnHeaderKeyDown', handleColumnHeaderKeyDown);
|
|
697
|
+
useGridEvent(apiRef, 'headerFilterKeyDown', handleHeaderFilterKeyDown);
|
|
698
|
+
useGridEvent(apiRef, 'columnGroupHeaderKeyDown', handleColumnGroupHeaderKeyDown);
|
|
699
|
+
useGridEvent(apiRef, 'cellKeyDown', handleCellKeyDown);
|
|
700
|
+
};
|