@mui/x-data-grid 8.28.7 → 8.29.1
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 +100 -0
- package/DataGrid/DataGrid.d.mts +16 -0
- package/DataGrid/DataGrid.mjs +821 -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.mjs +67 -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 +10 -0
- package/components/GridColumnUnsortedIcon.mjs +32 -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 +85 -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.mjs +253 -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.mjs +195 -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.mjs +290 -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 +153 -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 +276 -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.mjs +174 -0
- package/components/columnSelection/GridHeaderCheckbox.d.mts +4 -0
- 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 +718 -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 +28 -0
- package/components/index.mjs +27 -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/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.mjs +474 -0
- package/components/panel/filterPanel/GridFilterInputBoolean.d.mts +9 -0
- package/components/panel/filterPanel/GridFilterInputBoolean.mjs +125 -0
- package/components/panel/filterPanel/GridFilterInputDate.d.mts +10 -0
- package/components/panel/filterPanel/GridFilterInputDate.mjs +137 -0
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.mts +11 -0
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.mjs +113 -0
- package/components/panel/filterPanel/GridFilterInputMultipleValue.d.mts +10 -0
- package/components/panel/filterPanel/GridFilterInputMultipleValue.mjs +103 -0
- package/components/panel/filterPanel/GridFilterInputSingleSelect.d.mts +10 -0
- package/components/panel/filterPanel/GridFilterInputSingleSelect.mjs +141 -0
- package/components/panel/filterPanel/GridFilterInputValue.d.mts +14 -0
- package/components/panel/filterPanel/GridFilterInputValue.mjs +123 -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/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.mjs +188 -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/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 +161 -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.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/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.mjs +112 -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/useGridLoggerFactory.d.mts +4 -0
- package/hooks/core/useGridLoggerFactory.mjs +44 -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.mjs +97 -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.mjs +119 -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.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/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.mjs +322 -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.mjs +496 -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.mjs +653 -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.mjs +256 -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 +207 -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.mjs +324 -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.mjs +28 -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 +126 -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.mjs +616 -0
- package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.mts +4 -0
- package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.mjs +48 -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.mjs +307 -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.mjs +117 -0
- package/hooks/features/rows/useGridParamsOverridableMethods.d.mts +7 -0
- package/hooks/features/rows/useGridParamsOverridableMethods.mjs +28 -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.mjs +482 -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.mjs +93 -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.mjs +11 -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.mjs +11 -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/useGridRootProps.d.mts +2 -0
- package/hooks/utils/useGridRootProps.mjs +11 -0
- package/hooks/utils/useGridSelector.d.mts +6 -0
- package/hooks/utils/useGridSelector.js +25 -22
- package/hooks/utils/useGridSelector.mjs +86 -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.mjs +309 -0
- package/locales/beBY.d.mts +2 -0
- package/locales/beBY.mjs +333 -0
- package/locales/bgBG.d.mts +2 -0
- package/locales/bgBG.mjs +310 -0
- package/locales/bnBD.d.mts +2 -0
- package/locales/bnBD.mjs +308 -0
- package/locales/caES.d.mts +2 -0
- package/locales/caES.mjs +297 -0
- package/locales/csCZ.d.mts +2 -0
- package/locales/csCZ.mjs +336 -0
- package/locales/daDK.d.mts +2 -0
- package/locales/daDK.mjs +309 -0
- package/locales/deDE.d.mts +2 -0
- package/locales/deDE.mjs +300 -0
- package/locales/elGR.d.mts +2 -0
- package/locales/elGR.mjs +311 -0
- package/locales/enUS.d.mts +2 -0
- package/locales/enUS.mjs +3 -0
- package/locales/esES.d.mts +2 -0
- package/locales/esES.mjs +297 -0
- package/locales/faIR.d.mts +2 -0
- package/locales/faIR.mjs +309 -0
- package/locales/fiFI.d.mts +2 -0
- package/locales/fiFI.mjs +310 -0
- package/locales/frFR.d.mts +2 -0
- package/locales/frFR.mjs +306 -0
- package/locales/heIL.d.mts +2 -0
- package/locales/heIL.mjs +308 -0
- package/locales/hrHR.d.mts +1 -0
- package/locales/hrHR.mjs +328 -0
- package/locales/huHU.d.mts +2 -0
- package/locales/huHU.mjs +308 -0
- package/locales/hyAM.d.mts +2 -0
- package/locales/hyAM.mjs +334 -0
- package/locales/idID.d.mts +4 -0
- package/locales/idID.mjs +300 -0
- package/locales/index.d.mts +40 -0
- package/locales/index.mjs +41 -0
- package/locales/isIS.d.mts +2 -0
- package/locales/isIS.mjs +310 -0
- package/locales/itIT.d.mts +2 -0
- package/locales/itIT.mjs +298 -0
- package/locales/jaJP.d.mts +2 -0
- package/locales/jaJP.mjs +305 -0
- package/locales/koKR.d.mts +2 -0
- package/locales/koKR.mjs +300 -0
- package/locales/nbNO.d.mts +2 -0
- package/locales/nbNO.mjs +308 -0
- package/locales/nlNL.d.mts +2 -0
- package/locales/nlNL.mjs +309 -0
- package/locales/nnNO.d.mts +2 -0
- package/locales/nnNO.mjs +300 -0
- package/locales/plPL.d.mts +2 -0
- package/locales/plPL.mjs +305 -0
- package/locales/ptBR.d.mts +2 -0
- package/locales/ptBR.mjs +297 -0
- package/locales/ptPT.d.mts +2 -0
- package/locales/ptPT.mjs +297 -0
- package/locales/roRO.d.mts +2 -0
- package/locales/roRO.mjs +308 -0
- package/locales/ruRU.d.mts +2 -0
- package/locales/ruRU.mjs +330 -0
- package/locales/skSK.d.mts +2 -0
- package/locales/skSK.mjs +336 -0
- package/locales/svSE.d.mts +2 -0
- package/locales/svSE.mjs +310 -0
- package/locales/trTR.d.mts +2 -0
- package/locales/trTR.mjs +308 -0
- package/locales/ukUA.d.mts +2 -0
- package/locales/ukUA.mjs +331 -0
- package/locales/urPK.d.mts +2 -0
- package/locales/urPK.mjs +310 -0
- package/locales/viVN.d.mts +2 -0
- package/locales/viVN.mjs +310 -0
- package/locales/zhCN.d.mts +2 -0
- package/locales/zhCN.mjs +306 -0
- package/locales/zhHK.d.mts +1 -0
- package/locales/zhHK.mjs +306 -0
- package/locales/zhTW.d.mts +2 -0
- package/locales/zhTW.mjs +306 -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.js +1 -1
- 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/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 +333 -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/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 +906 -0
- 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/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.mjs +208 -0
- package/utils/exportAs.d.mts +12 -0
- package/utils/getGridLocalization.d.mts +11 -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/esm/DataGrid/DataGrid.d.ts +0 -16
- package/esm/DataGrid/DataGrid.js +0 -821
- 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 -10
- package/esm/components/GridColumnUnsortedIcon.js +0 -32
- 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 -85
- 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 -253
- 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 -153
- 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 -276
- 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 -178
- 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 -718
- 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 -28
- package/esm/components/index.js +0 -27
- 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/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 -103
- 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/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/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 -161
- 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 -63
- 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/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/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 -142
- 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 -47
- 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 -31
- package/esm/hooks/features/dataSource/useGridDataSourceBase.js +0 -322
- 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 -653
- 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 -207
- 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 -126
- 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 -616
- 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 -307
- 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/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 -333
- package/esm/locales/bgBG.d.ts +0 -2
- package/esm/locales/bgBG.js +0 -310
- package/esm/locales/bnBD.d.ts +0 -2
- package/esm/locales/bnBD.js +0 -308
- 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 -309
- 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 -311
- 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 -309
- package/esm/locales/fiFI.d.ts +0 -2
- package/esm/locales/fiFI.js +0 -310
- 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 -308
- package/esm/locales/hyAM.d.ts +0 -2
- package/esm/locales/hyAM.js +0 -334
- 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 -310
- 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 -309
- 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 -308
- package/esm/locales/ruRU.d.ts +0 -2
- package/esm/locales/ruRU.js +0 -330
- 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 -310
- package/esm/locales/trTR.d.ts +0 -2
- package/esm/locales/trTR.js +0 -308
- 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 -310
- package/esm/locales/viVN.d.ts +0 -2
- package/esm/locales/viVN.js +0 -310
- 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 -237
- 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 -109
- 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 -906
- 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/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/getGridLocalization.d.ts +0 -11
- 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/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/GridPanelContext.js → components/panel/GridPanelContext.mjs} +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/quickFilter/QuickFilterContext.js → components/quickFilter/QuickFilterContext.mjs} +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/ToolbarContext.js → components/toolbarV8/ToolbarContext.mjs} +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/localeTextConstants.js → constants/localeTextConstants.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/useGridLocaleText.js → hooks/core/useGridLocaleText.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/useGridPrivateApiContext.js → hooks/utils/useGridPrivateApiContext.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/assert.js → utils/assert.mjs} +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/exportAs.js → utils/exportAs.mjs} +0 -0
- /package/{esm/utils/getGridLocalization.js → utils/getGridLocalization.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
- /package/{esm/utils/utils.d.ts → utils/utils.d.mts} +0 -0
- /package/{esm/utils/utils.js → utils/utils.mjs} +0 -0
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import type { GridRowId } from "../../../models/index.js";
|
|
3
|
-
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
4
|
-
export declare const getLeftColumnIndex: ({
|
|
5
|
-
currentColIndex,
|
|
6
|
-
firstColIndex,
|
|
7
|
-
lastColIndex,
|
|
8
|
-
isRtl
|
|
9
|
-
}: {
|
|
10
|
-
currentColIndex: number;
|
|
11
|
-
firstColIndex: number;
|
|
12
|
-
lastColIndex: number;
|
|
13
|
-
isRtl: boolean;
|
|
14
|
-
}) => number | null;
|
|
15
|
-
export declare const getRightColumnIndex: ({
|
|
16
|
-
currentColIndex,
|
|
17
|
-
firstColIndex,
|
|
18
|
-
lastColIndex,
|
|
19
|
-
isRtl
|
|
20
|
-
}: {
|
|
21
|
-
currentColIndex: number;
|
|
22
|
-
firstColIndex: number;
|
|
23
|
-
lastColIndex: number;
|
|
24
|
-
isRtl: boolean;
|
|
25
|
-
}) => number | null;
|
|
26
|
-
export declare function findNonRowSpannedCell(apiRef: RefObject<GridPrivateApiCommunity>, rowId: GridRowId, colIndex: number, rowSpanScanDirection: 'up' | 'down'): GridRowId;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { Rowspan } from '@mui/x-virtualizer';
|
|
2
|
-
import { gridFilteredSortedRowIdsSelector } from "../filter/gridFilterSelector.js";
|
|
3
|
-
export const getLeftColumnIndex = ({
|
|
4
|
-
currentColIndex,
|
|
5
|
-
firstColIndex,
|
|
6
|
-
lastColIndex,
|
|
7
|
-
isRtl
|
|
8
|
-
}) => {
|
|
9
|
-
if (isRtl) {
|
|
10
|
-
if (currentColIndex < lastColIndex) {
|
|
11
|
-
return currentColIndex + 1;
|
|
12
|
-
}
|
|
13
|
-
} else if (!isRtl) {
|
|
14
|
-
if (currentColIndex > firstColIndex) {
|
|
15
|
-
return currentColIndex - 1;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return null;
|
|
19
|
-
};
|
|
20
|
-
export const getRightColumnIndex = ({
|
|
21
|
-
currentColIndex,
|
|
22
|
-
firstColIndex,
|
|
23
|
-
lastColIndex,
|
|
24
|
-
isRtl
|
|
25
|
-
}) => {
|
|
26
|
-
if (isRtl) {
|
|
27
|
-
if (currentColIndex > firstColIndex) {
|
|
28
|
-
return currentColIndex - 1;
|
|
29
|
-
}
|
|
30
|
-
} else if (!isRtl) {
|
|
31
|
-
if (currentColIndex < lastColIndex) {
|
|
32
|
-
return currentColIndex + 1;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return null;
|
|
36
|
-
};
|
|
37
|
-
export function findNonRowSpannedCell(apiRef, rowId, colIndex, rowSpanScanDirection) {
|
|
38
|
-
const rowSpanHiddenCells = Rowspan.selectors.hiddenCells(apiRef.current.virtualizer.store.state);
|
|
39
|
-
if (!rowSpanHiddenCells[rowId]?.[colIndex]) {
|
|
40
|
-
return rowId;
|
|
41
|
-
}
|
|
42
|
-
const filteredSortedRowIds = gridFilteredSortedRowIdsSelector(apiRef);
|
|
43
|
-
// find closest non row spanned cell in the given `rowSpanScanDirection`
|
|
44
|
-
let nextRowIndex = filteredSortedRowIds.indexOf(rowId) + (rowSpanScanDirection === 'down' ? 1 : -1);
|
|
45
|
-
while (nextRowIndex >= 0 && nextRowIndex < filteredSortedRowIds.length) {
|
|
46
|
-
const nextRowId = filteredSortedRowIds[nextRowIndex];
|
|
47
|
-
if (!rowSpanHiddenCells[nextRowId]?.[colIndex]) {
|
|
48
|
-
return nextRowId;
|
|
49
|
-
}
|
|
50
|
-
nextRowIndex += rowSpanScanDirection === 'down' ? 1 : -1;
|
|
51
|
-
}
|
|
52
|
-
return rowId;
|
|
53
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
|
-
import type { GridStateColDef } from "../../../models/colDef/gridColDef.js";
|
|
3
|
-
/**
|
|
4
|
-
* Get the list view state
|
|
5
|
-
* @category List View
|
|
6
|
-
* @ignore - Do not document
|
|
7
|
-
*/
|
|
8
|
-
export declare const gridListViewSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, boolean>;
|
|
9
|
-
/**
|
|
10
|
-
* Get the list column definition
|
|
11
|
-
* @category List View
|
|
12
|
-
* @ignore - Do not document
|
|
13
|
-
*/
|
|
14
|
-
export declare const gridListColumnSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, GridStateColDef>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { createRootSelector } from "../../../utils/createSelector.js";
|
|
2
|
-
/**
|
|
3
|
-
* Get the list view state
|
|
4
|
-
* @category List View
|
|
5
|
-
* @ignore - Do not document
|
|
6
|
-
*/
|
|
7
|
-
export const gridListViewSelector = createRootSelector(state => state.props.listView ?? false);
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Get the list column definition
|
|
11
|
-
* @category List View
|
|
12
|
-
* @ignore - Do not document
|
|
13
|
-
*/
|
|
14
|
-
export const gridListColumnSelector = createRootSelector(state => state.listViewColumn);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./gridListViewSelectors.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./gridListViewSelectors.js";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import type { GridListViewColDef } from "../../../models/colDef/gridColDef.js";
|
|
3
|
-
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
4
|
-
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
5
|
-
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
6
|
-
export type GridListViewState = (GridListViewColDef & {
|
|
7
|
-
computedWidth: number;
|
|
8
|
-
}) | undefined;
|
|
9
|
-
export declare const listViewStateInitializer: GridStateInitializer<Pick<DataGridProcessedProps, 'listViewColumn'>>;
|
|
10
|
-
export declare function useGridListView(apiRef: RefObject<GridPrivateApiCommunity>, props: Pick<DataGridProcessedProps, 'listView' | 'listViewColumn'>): void;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
|
|
6
|
-
import { warnOnce } from '@mui/x-internals/warning';
|
|
7
|
-
import { gridDimensionsSelector } from "../dimensions/index.js";
|
|
8
|
-
import { useGridEvent } from "../../utils/useGridEvent.js";
|
|
9
|
-
export const listViewStateInitializer = (state, props, apiRef) => _extends({}, state, {
|
|
10
|
-
listViewColumn: props.listViewColumn ? _extends({}, props.listViewColumn, {
|
|
11
|
-
computedWidth: getListColumnWidth(apiRef)
|
|
12
|
-
}) : undefined
|
|
13
|
-
});
|
|
14
|
-
export function useGridListView(apiRef, props) {
|
|
15
|
-
/*
|
|
16
|
-
* EVENTS
|
|
17
|
-
*/
|
|
18
|
-
const updateListColumnWidth = () => {
|
|
19
|
-
apiRef.current.setState(state => {
|
|
20
|
-
if (!state.listViewColumn) {
|
|
21
|
-
return state;
|
|
22
|
-
}
|
|
23
|
-
return _extends({}, state, {
|
|
24
|
-
listViewColumn: _extends({}, state.listViewColumn, {
|
|
25
|
-
computedWidth: getListColumnWidth(apiRef)
|
|
26
|
-
})
|
|
27
|
-
});
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
const prevInnerWidth = React.useRef(null);
|
|
31
|
-
const handleGridSizeChange = viewportInnerSize => {
|
|
32
|
-
if (prevInnerWidth.current !== viewportInnerSize.width) {
|
|
33
|
-
prevInnerWidth.current = viewportInnerSize.width;
|
|
34
|
-
updateListColumnWidth();
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
useGridEvent(apiRef, 'viewportInnerSizeChange', handleGridSizeChange);
|
|
38
|
-
useGridEvent(apiRef, 'columnVisibilityModelChange', updateListColumnWidth);
|
|
39
|
-
|
|
40
|
-
/*
|
|
41
|
-
* EFFECTS
|
|
42
|
-
*/
|
|
43
|
-
useEnhancedEffect(() => {
|
|
44
|
-
const listColumn = props.listViewColumn;
|
|
45
|
-
if (listColumn) {
|
|
46
|
-
apiRef.current.setState(state => {
|
|
47
|
-
return _extends({}, state, {
|
|
48
|
-
listViewColumn: _extends({}, listColumn, {
|
|
49
|
-
computedWidth: getListColumnWidth(apiRef)
|
|
50
|
-
})
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
}, [apiRef, props.listViewColumn]);
|
|
55
|
-
React.useEffect(() => {
|
|
56
|
-
if (props.listView && !props.listViewColumn) {
|
|
57
|
-
warnOnce(['MUI X: The `listViewColumn` prop must be set if `listView` is enabled.', 'To fix, pass a column definition to the `listViewColumn` prop, e.g. `{ field: "example", renderCell: (params) => <div>{params.row.id}</div> }`.', 'For more details, see https://mui.com/x/react-data-grid/list-view/']);
|
|
58
|
-
}
|
|
59
|
-
}, [props.listView, props.listViewColumn]);
|
|
60
|
-
}
|
|
61
|
-
function getListColumnWidth(apiRef) {
|
|
62
|
-
return gridDimensionsSelector(apiRef).viewportInnerSize.width;
|
|
63
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { GridSlotsComponent } from "../../../models/index.js";
|
|
2
|
-
export type GridOverlayType = keyof Pick<GridSlotsComponent, 'noColumnsOverlay' | 'noRowsOverlay' | 'noResultsOverlay' | 'loadingOverlay'> | null;
|
|
3
|
-
export type GridLoadingOverlayVariant = 'circular-progress' | 'linear-progress' | 'skeleton';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { GridLoadingOverlayVariant } from "./gridOverlaysInterfaces.js";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import type { GridApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
-
import type { GridOverlayType, GridLoadingOverlayVariant } from "./gridOverlaysInterfaces.js";
|
|
5
|
-
/**
|
|
6
|
-
* Uses the grid state to determine which overlay to display.
|
|
7
|
-
* Returns the active overlay type and the active loading overlay variant.
|
|
8
|
-
*/
|
|
9
|
-
export declare const useGridOverlays: (apiRef: React.RefObject<GridApiCommunity>, props: Pick<DataGridProcessedProps, "slotProps">) => {
|
|
10
|
-
overlayType: NonNullable<GridOverlayType>;
|
|
11
|
-
loadingOverlayVariant: GridLoadingOverlayVariant | null;
|
|
12
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { useGridSelector } from "../../utils/index.js";
|
|
2
|
-
import { gridExpandedRowCountSelector } from "../filter/index.js";
|
|
3
|
-
import { gridRowCountSelector, gridRowsLoadingSelector } from "../rows/index.js";
|
|
4
|
-
import { gridPinnedRowsCountSelector } from "../rows/gridRowsSelector.js";
|
|
5
|
-
import { gridVisibleColumnDefinitionsSelector } from "../columns/index.js";
|
|
6
|
-
import { gridPivotActiveSelector } from "../pivoting/index.js";
|
|
7
|
-
/**
|
|
8
|
-
* Uses the grid state to determine which overlay to display.
|
|
9
|
-
* Returns the active overlay type and the active loading overlay variant.
|
|
10
|
-
*/
|
|
11
|
-
export const useGridOverlays = (apiRef, props) => {
|
|
12
|
-
const totalRowCount = useGridSelector(apiRef, gridRowCountSelector);
|
|
13
|
-
const visibleRowCount = useGridSelector(apiRef, gridExpandedRowCountSelector);
|
|
14
|
-
const pinnedRowsCount = useGridSelector(apiRef, gridPinnedRowsCountSelector);
|
|
15
|
-
const visibleColumns = useGridSelector(apiRef, gridVisibleColumnDefinitionsSelector);
|
|
16
|
-
const noRows = totalRowCount === 0 && pinnedRowsCount === 0;
|
|
17
|
-
const loading = useGridSelector(apiRef, gridRowsLoadingSelector);
|
|
18
|
-
const pivotActive = useGridSelector(apiRef, gridPivotActiveSelector);
|
|
19
|
-
const showNoRowsOverlay = !loading && noRows;
|
|
20
|
-
const showNoResultsOverlay = !loading && totalRowCount > 0 && visibleRowCount === 0;
|
|
21
|
-
const showNoColumnsOverlay = !loading && visibleColumns.length === 0;
|
|
22
|
-
const showEmptyPivotOverlay = showNoRowsOverlay && pivotActive;
|
|
23
|
-
let overlayType = null;
|
|
24
|
-
let loadingOverlayVariant = null;
|
|
25
|
-
if (showNoRowsOverlay) {
|
|
26
|
-
overlayType = 'noRowsOverlay';
|
|
27
|
-
}
|
|
28
|
-
if (showNoColumnsOverlay) {
|
|
29
|
-
overlayType = 'noColumnsOverlay';
|
|
30
|
-
}
|
|
31
|
-
if (showEmptyPivotOverlay) {
|
|
32
|
-
overlayType = 'emptyPivotOverlay';
|
|
33
|
-
}
|
|
34
|
-
if (showNoResultsOverlay) {
|
|
35
|
-
overlayType = 'noResultsOverlay';
|
|
36
|
-
}
|
|
37
|
-
if (loading) {
|
|
38
|
-
overlayType = 'loadingOverlay';
|
|
39
|
-
loadingOverlayVariant = props.slotProps?.loadingOverlay?.[noRows ? 'noRowsVariant' : 'variant'] ?? (noRows ? 'skeleton' : 'linear-progress');
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
overlayType: overlayType,
|
|
43
|
-
loadingOverlayVariant
|
|
44
|
-
};
|
|
45
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { GridFeatureMode } from "../../../models/gridFeatureMode.js";
|
|
2
|
-
import type { GridPaginationMeta, GridPaginationModel } from "../../../models/gridPaginationProps.js";
|
|
3
|
-
export interface GridPaginationState {
|
|
4
|
-
paginationModel: GridPaginationModel;
|
|
5
|
-
rowCount: number;
|
|
6
|
-
meta: GridPaginationMeta;
|
|
7
|
-
enabled: boolean;
|
|
8
|
-
paginationMode: GridFeatureMode;
|
|
9
|
-
}
|
|
10
|
-
export interface GridPaginationInitialState {
|
|
11
|
-
paginationModel?: Partial<GridPaginationModel>;
|
|
12
|
-
rowCount?: number;
|
|
13
|
-
meta?: GridPaginationMeta;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* The pagination model API interface that is available in the grid `apiRef`.
|
|
17
|
-
*/
|
|
18
|
-
export interface GridPaginationModelApi {
|
|
19
|
-
/**
|
|
20
|
-
* Sets the displayed page to the value given by `page`.
|
|
21
|
-
* @param {number} page The new page number.
|
|
22
|
-
*/
|
|
23
|
-
setPage: (page: number) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Sets the number of displayed rows to the value given by `pageSize`.
|
|
26
|
-
* @param {number} pageSize The new number of displayed rows.
|
|
27
|
-
*/
|
|
28
|
-
setPageSize: (pageSize: number) => void;
|
|
29
|
-
/**
|
|
30
|
-
* Sets the `paginationModel` to a new value.
|
|
31
|
-
* @param {GridPaginationModel} model The new model value.
|
|
32
|
-
*/
|
|
33
|
-
setPaginationModel: (model: GridPaginationModel) => void;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* The pagination row count API interface that is available in the grid `apiRef`.
|
|
37
|
-
*/
|
|
38
|
-
export interface GridPaginationRowCountApi {
|
|
39
|
-
/**
|
|
40
|
-
* Sets the `rowCount` to a new value.
|
|
41
|
-
* @param {number} rowCount The new row count value.
|
|
42
|
-
*/
|
|
43
|
-
setRowCount: (rowCount: number) => void;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* The pagination meta API interface that is available in the grid `apiRef`.
|
|
47
|
-
*/
|
|
48
|
-
export interface GridPaginationMetaApi {
|
|
49
|
-
/**
|
|
50
|
-
* Sets the `paginationMeta` to a new value.
|
|
51
|
-
* @param {GridPaginationMeta} paginationMeta The new pagination meta value.
|
|
52
|
-
*/
|
|
53
|
-
setPaginationMeta: (paginationMeta: GridPaginationMeta) => void;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* The pagination API interface that is available in the grid `apiRef`.
|
|
57
|
-
*/
|
|
58
|
-
export interface GridPaginationApi extends GridPaginationModelApi, GridPaginationRowCountApi, GridPaginationMetaApi {}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import type { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
|
-
import type { GridRowId } from "../../../models/gridRows.js";
|
|
3
|
-
/**
|
|
4
|
-
* @category Pagination
|
|
5
|
-
* @ignore - do not document.
|
|
6
|
-
*/
|
|
7
|
-
export declare const gridPaginationSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("@mui/x-data-grid").GridPaginationState>;
|
|
8
|
-
/**
|
|
9
|
-
* @category Pagination
|
|
10
|
-
* @ignore - do not document.
|
|
11
|
-
*/
|
|
12
|
-
export declare const gridPaginationEnabledClientSideSelector: (args_0: import("react").RefObject<{
|
|
13
|
-
state: GridStateCommunity;
|
|
14
|
-
} | null>) => boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Get the pagination model
|
|
17
|
-
* @category Pagination
|
|
18
|
-
*/
|
|
19
|
-
export declare const gridPaginationModelSelector: (args_0: import("react").RefObject<{
|
|
20
|
-
state: GridStateCommunity;
|
|
21
|
-
} | null>) => import("@mui/x-data-grid").GridPaginationModel;
|
|
22
|
-
/**
|
|
23
|
-
* Get the row count
|
|
24
|
-
* @category Pagination
|
|
25
|
-
*/
|
|
26
|
-
export declare const gridPaginationRowCountSelector: (args_0: import("react").RefObject<{
|
|
27
|
-
state: GridStateCommunity;
|
|
28
|
-
} | null>) => number;
|
|
29
|
-
/**
|
|
30
|
-
* Get the pagination meta
|
|
31
|
-
* @category Pagination
|
|
32
|
-
*/
|
|
33
|
-
export declare const gridPaginationMetaSelector: (args_0: import("react").RefObject<{
|
|
34
|
-
state: GridStateCommunity;
|
|
35
|
-
} | null>) => import("@mui/x-data-grid").GridPaginationMeta;
|
|
36
|
-
/**
|
|
37
|
-
* Get the index of the page to render if the pagination is enabled
|
|
38
|
-
* @category Pagination
|
|
39
|
-
*/
|
|
40
|
-
export declare const gridPageSelector: (args_0: import("react").RefObject<{
|
|
41
|
-
state: GridStateCommunity;
|
|
42
|
-
} | null>) => number;
|
|
43
|
-
/**
|
|
44
|
-
* Get the maximum amount of rows to display on a single page if the pagination is enabled
|
|
45
|
-
* @category Pagination
|
|
46
|
-
*/
|
|
47
|
-
export declare const gridPageSizeSelector: (args_0: import("react").RefObject<{
|
|
48
|
-
state: GridStateCommunity;
|
|
49
|
-
} | null>) => number;
|
|
50
|
-
/**
|
|
51
|
-
* Get the amount of pages needed to display all the rows if the pagination is enabled
|
|
52
|
-
* @category Pagination
|
|
53
|
-
*/
|
|
54
|
-
export declare const gridPageCountSelector: (args_0: import("react").RefObject<{
|
|
55
|
-
state: GridStateCommunity;
|
|
56
|
-
} | null>) => number;
|
|
57
|
-
/**
|
|
58
|
-
* Get the index of the first and the last row to include in the current page if the pagination is enabled.
|
|
59
|
-
* @category Pagination
|
|
60
|
-
*/
|
|
61
|
-
export declare const gridPaginationRowRangeSelector: (args_0: import("react").RefObject<{
|
|
62
|
-
state: GridStateCommunity;
|
|
63
|
-
} | null>) => {
|
|
64
|
-
firstRowIndex: number;
|
|
65
|
-
lastRowIndex: number;
|
|
66
|
-
} | null;
|
|
67
|
-
/**
|
|
68
|
-
* Get the id and the model of each row to include in the current page if the pagination is enabled.
|
|
69
|
-
* @category Pagination
|
|
70
|
-
*/
|
|
71
|
-
export declare const gridPaginatedVisibleSortedGridRowEntriesSelector: (args_0: import("react").RefObject<{
|
|
72
|
-
state: GridStateCommunity;
|
|
73
|
-
} | null>) => import("@mui/x-data-grid").GridRowEntry<import("@mui/x-data-grid").GridValidRowModel>[];
|
|
74
|
-
/**
|
|
75
|
-
* Get the id of each row to include in the current page if the pagination is enabled.
|
|
76
|
-
* @category Pagination
|
|
77
|
-
*/
|
|
78
|
-
export declare const gridPaginatedVisibleSortedGridRowIdsSelector: (args_0: import("react").RefObject<{
|
|
79
|
-
state: GridStateCommunity;
|
|
80
|
-
} | null>) => GridRowId[];
|
|
81
|
-
/**
|
|
82
|
-
* Get the rows, range and rowIndex lookup map after filtering and sorting.
|
|
83
|
-
* Does not contain the collapsed children.
|
|
84
|
-
* @category Pagination
|
|
85
|
-
*/
|
|
86
|
-
export declare const gridVisibleRowsSelector: (args_0: import("react").RefObject<{
|
|
87
|
-
state: GridStateCommunity;
|
|
88
|
-
} | null>) => {
|
|
89
|
-
rows: import("@mui/x-data-grid").GridRowEntry<import("@mui/x-data-grid").GridValidRowModel>[];
|
|
90
|
-
range: {
|
|
91
|
-
firstRowIndex: number;
|
|
92
|
-
lastRowIndex: number;
|
|
93
|
-
} | null;
|
|
94
|
-
rowIdToIndexMap: Map<GridRowId, number>;
|
|
95
|
-
};
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import { createSelector, createRootSelector, createSelectorMemoized } from "../../../utils/createSelector.js";
|
|
2
|
-
import { gridExpandedSortedRowEntriesSelector, gridExpandedSortedRowIdsSelector, gridFilteredSortedTopLevelRowEntriesSelector } from "../filter/gridFilterSelector.js";
|
|
3
|
-
import { gridRowMaximumTreeDepthSelector, gridRowTreeSelector } from "../rows/gridRowsSelector.js";
|
|
4
|
-
import { getPageCount } from "./gridPaginationUtils.js";
|
|
5
|
-
const ALL_RESULTS_PAGE_VALUE = -1;
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @category Pagination
|
|
9
|
-
* @ignore - do not document.
|
|
10
|
-
*/
|
|
11
|
-
export const gridPaginationSelector = createRootSelector(state => state.pagination);
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* @category Pagination
|
|
15
|
-
* @ignore - do not document.
|
|
16
|
-
*/
|
|
17
|
-
export const gridPaginationEnabledClientSideSelector = createSelector(gridPaginationSelector, pagination => pagination.enabled && pagination.paginationMode === 'client');
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Get the pagination model
|
|
21
|
-
* @category Pagination
|
|
22
|
-
*/
|
|
23
|
-
export const gridPaginationModelSelector = createSelector(gridPaginationSelector, pagination => pagination.paginationModel);
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Get the row count
|
|
27
|
-
* @category Pagination
|
|
28
|
-
*/
|
|
29
|
-
export const gridPaginationRowCountSelector = createSelector(gridPaginationSelector, pagination => pagination.rowCount);
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Get the pagination meta
|
|
33
|
-
* @category Pagination
|
|
34
|
-
*/
|
|
35
|
-
export const gridPaginationMetaSelector = createSelector(gridPaginationSelector, pagination => pagination.meta);
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Get the index of the page to render if the pagination is enabled
|
|
39
|
-
* @category Pagination
|
|
40
|
-
*/
|
|
41
|
-
export const gridPageSelector = createSelector(gridPaginationModelSelector, paginationModel => paginationModel.page);
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Get the maximum amount of rows to display on a single page if the pagination is enabled
|
|
45
|
-
* @category Pagination
|
|
46
|
-
*/
|
|
47
|
-
export const gridPageSizeSelector = createSelector(gridPaginationModelSelector, paginationModel => paginationModel.pageSize);
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Get the amount of pages needed to display all the rows if the pagination is enabled
|
|
51
|
-
* @category Pagination
|
|
52
|
-
*/
|
|
53
|
-
export const gridPageCountSelector = createSelector(gridPaginationModelSelector, gridPaginationRowCountSelector, (paginationModel, rowCount) => getPageCount(rowCount, paginationModel.pageSize, paginationModel.page));
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Get the index of the first and the last row to include in the current page if the pagination is enabled.
|
|
57
|
-
* @category Pagination
|
|
58
|
-
*/
|
|
59
|
-
export const gridPaginationRowRangeSelector = createSelectorMemoized(gridPaginationEnabledClientSideSelector, gridPaginationModelSelector, gridRowTreeSelector, gridRowMaximumTreeDepthSelector, gridExpandedSortedRowEntriesSelector, gridFilteredSortedTopLevelRowEntriesSelector, (clientSidePaginationEnabled, paginationModel, rowTree, rowTreeDepth, visibleSortedRowEntries, visibleSortedTopLevelRowEntries) => {
|
|
60
|
-
if (!clientSidePaginationEnabled) {
|
|
61
|
-
return null;
|
|
62
|
-
}
|
|
63
|
-
if (!visibleSortedRowEntries || visibleSortedRowEntries.length === 0) {
|
|
64
|
-
return null;
|
|
65
|
-
}
|
|
66
|
-
const visibleTopLevelRowCount = visibleSortedTopLevelRowEntries.length;
|
|
67
|
-
const topLevelFirstRowIndex = Math.min(paginationModel.pageSize * paginationModel.page, visibleTopLevelRowCount - 1);
|
|
68
|
-
const topLevelLastRowIndex = paginationModel.pageSize === ALL_RESULTS_PAGE_VALUE ? visibleTopLevelRowCount - 1 : Math.min(topLevelFirstRowIndex + paginationModel.pageSize - 1, visibleTopLevelRowCount - 1);
|
|
69
|
-
|
|
70
|
-
// The range contains no element
|
|
71
|
-
if (topLevelFirstRowIndex === -1 || topLevelLastRowIndex === -1) {
|
|
72
|
-
return null;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// The tree is flat, there is no need to look for children
|
|
76
|
-
if (rowTreeDepth < 2) {
|
|
77
|
-
return {
|
|
78
|
-
firstRowIndex: topLevelFirstRowIndex,
|
|
79
|
-
lastRowIndex: topLevelLastRowIndex
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
const topLevelFirstRow = visibleSortedTopLevelRowEntries[topLevelFirstRowIndex];
|
|
83
|
-
const topLevelRowsInCurrentPageCount = topLevelLastRowIndex - topLevelFirstRowIndex + 1;
|
|
84
|
-
const firstRowIndex = visibleSortedRowEntries.findIndex(row => row.id === topLevelFirstRow.id);
|
|
85
|
-
let lastRowIndex = firstRowIndex;
|
|
86
|
-
let topLevelRowAdded = 0;
|
|
87
|
-
while (lastRowIndex < visibleSortedRowEntries.length && topLevelRowAdded <= topLevelRowsInCurrentPageCount) {
|
|
88
|
-
const row = visibleSortedRowEntries[lastRowIndex];
|
|
89
|
-
const depth = rowTree[row.id]?.depth;
|
|
90
|
-
if (depth === undefined) {
|
|
91
|
-
lastRowIndex += 1;
|
|
92
|
-
} else {
|
|
93
|
-
if (topLevelRowAdded < topLevelRowsInCurrentPageCount || depth > 0) {
|
|
94
|
-
lastRowIndex += 1;
|
|
95
|
-
}
|
|
96
|
-
if (depth === 0) {
|
|
97
|
-
topLevelRowAdded += 1;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
return {
|
|
102
|
-
firstRowIndex,
|
|
103
|
-
lastRowIndex: lastRowIndex - 1
|
|
104
|
-
};
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Get the id and the model of each row to include in the current page if the pagination is enabled.
|
|
109
|
-
* @category Pagination
|
|
110
|
-
*/
|
|
111
|
-
export const gridPaginatedVisibleSortedGridRowEntriesSelector = createSelectorMemoized(gridExpandedSortedRowEntriesSelector, gridPaginationRowRangeSelector, (visibleSortedRowEntries, paginationRange) => {
|
|
112
|
-
if (!paginationRange) {
|
|
113
|
-
return [];
|
|
114
|
-
}
|
|
115
|
-
return visibleSortedRowEntries.slice(paginationRange.firstRowIndex, paginationRange.lastRowIndex + 1);
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Get the id of each row to include in the current page if the pagination is enabled.
|
|
120
|
-
* @category Pagination
|
|
121
|
-
*/
|
|
122
|
-
export const gridPaginatedVisibleSortedGridRowIdsSelector = createSelectorMemoized(gridExpandedSortedRowIdsSelector, gridPaginationRowRangeSelector, (visibleSortedRowIds, paginationRange) => {
|
|
123
|
-
if (!paginationRange) {
|
|
124
|
-
return [];
|
|
125
|
-
}
|
|
126
|
-
return visibleSortedRowIds.slice(paginationRange.firstRowIndex, paginationRange.lastRowIndex + 1);
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Get the rows, range and rowIndex lookup map after filtering and sorting.
|
|
131
|
-
* Does not contain the collapsed children.
|
|
132
|
-
* @category Pagination
|
|
133
|
-
*/
|
|
134
|
-
export const gridVisibleRowsSelector = createSelectorMemoized(gridPaginationEnabledClientSideSelector, gridPaginationRowRangeSelector, gridPaginatedVisibleSortedGridRowEntriesSelector, gridExpandedSortedRowEntriesSelector, (clientPaginationEnabled, paginationRowRange, paginationRows, expandedSortedRowEntries) => {
|
|
135
|
-
if (clientPaginationEnabled) {
|
|
136
|
-
return {
|
|
137
|
-
rows: paginationRows,
|
|
138
|
-
range: paginationRowRange,
|
|
139
|
-
rowIdToIndexMap: paginationRows.reduce((lookup, row, index) => {
|
|
140
|
-
lookup.set(row.id, index);
|
|
141
|
-
return lookup;
|
|
142
|
-
}, new Map())
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
return {
|
|
146
|
-
rows: expandedSortedRowEntries,
|
|
147
|
-
range: expandedSortedRowEntries.length === 0 ? null : {
|
|
148
|
-
firstRowIndex: 0,
|
|
149
|
-
lastRowIndex: expandedSortedRowEntries.length - 1
|
|
150
|
-
},
|
|
151
|
-
rowIdToIndexMap: expandedSortedRowEntries.reduce((lookup, row, index) => {
|
|
152
|
-
lookup.set(row.id, index);
|
|
153
|
-
return lookup;
|
|
154
|
-
}, new Map())
|
|
155
|
-
};
|
|
156
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
2
|
-
export declare const defaultPageSize: (autoPageSize: boolean) => 0 | 100;
|
|
3
|
-
export declare const getPageCount: (rowCount: number, pageSize: number, page: number) => number;
|
|
4
|
-
export declare const getDefaultGridPaginationModel: (autoPageSize: boolean) => {
|
|
5
|
-
page: number;
|
|
6
|
-
pageSize: number;
|
|
7
|
-
};
|
|
8
|
-
export declare const getValidPage: (page: number, pageCount?: number) => number;
|
|
9
|
-
export declare const throwIfPageSizeExceedsTheLimit: (pageSize: number, signatureProp: DataGridProcessedProps["signature"]) => void;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { GridSignature } from "../../../constants/signature.js";
|
|
2
|
-
const MAX_PAGE_SIZE = 100;
|
|
3
|
-
export const defaultPageSize = autoPageSize => autoPageSize ? 0 : 100;
|
|
4
|
-
export const getPageCount = (rowCount, pageSize, page) => {
|
|
5
|
-
if (pageSize > 0 && rowCount > 0) {
|
|
6
|
-
return Math.ceil(rowCount / pageSize);
|
|
7
|
-
}
|
|
8
|
-
if (rowCount === -1) {
|
|
9
|
-
// With unknown row-count, we can assume a page after the current one
|
|
10
|
-
return page + 2;
|
|
11
|
-
}
|
|
12
|
-
return 0;
|
|
13
|
-
};
|
|
14
|
-
export const getDefaultGridPaginationModel = autoPageSize => ({
|
|
15
|
-
page: 0,
|
|
16
|
-
pageSize: autoPageSize ? 0 : 100
|
|
17
|
-
});
|
|
18
|
-
export const getValidPage = (page, pageCount = 0) => {
|
|
19
|
-
if (pageCount === 0) {
|
|
20
|
-
return page;
|
|
21
|
-
}
|
|
22
|
-
return Math.max(Math.min(page, pageCount - 1), 0);
|
|
23
|
-
};
|
|
24
|
-
export const throwIfPageSizeExceedsTheLimit = (pageSize, signatureProp) => {
|
|
25
|
-
if (signatureProp === GridSignature.DataGrid && pageSize > MAX_PAGE_SIZE) {
|
|
26
|
-
throw new Error(['MUI X: `pageSize` cannot exceed 100 in the MIT version of the DataGrid.', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\n'));
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
3
|
-
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
-
import type { GridStateInitializer } from "../../utils/useGridInitializeState.js";
|
|
5
|
-
export declare const paginationStateInitializer: GridStateInitializer<Pick<DataGridProcessedProps, 'paginationModel' | 'rowCount' | 'initialState' | 'autoPageSize' | 'signature' | 'paginationMeta' | 'pagination' | 'paginationMode'>>;
|
|
6
|
-
/**
|
|
7
|
-
* @requires useGridFilter (state)
|
|
8
|
-
* @requires useGridDimensions (event) - can be after
|
|
9
|
-
*/
|
|
10
|
-
export declare const useGridPagination: (apiRef: RefObject<GridPrivateApiCommunity>, props: DataGridProcessedProps) => void;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
import { throwIfPageSizeExceedsTheLimit, getDefaultGridPaginationModel } from "./gridPaginationUtils.js";
|
|
3
|
-
import { useGridPaginationModel } from "./useGridPaginationModel.js";
|
|
4
|
-
import { useGridRowCount } from "./useGridRowCount.js";
|
|
5
|
-
import { useGridPaginationMeta } from "./useGridPaginationMeta.js";
|
|
6
|
-
export const paginationStateInitializer = (state, props) => {
|
|
7
|
-
const paginationModel = _extends({}, getDefaultGridPaginationModel(props.autoPageSize), props.paginationModel ?? props.initialState?.pagination?.paginationModel);
|
|
8
|
-
throwIfPageSizeExceedsTheLimit(paginationModel.pageSize, props.signature);
|
|
9
|
-
const rowCount = props.rowCount ?? props.initialState?.pagination?.rowCount ?? (props.paginationMode === 'client' ? state.rows?.totalRowCount : undefined);
|
|
10
|
-
const meta = props.paginationMeta ?? props.initialState?.pagination?.meta ?? {};
|
|
11
|
-
return _extends({}, state, {
|
|
12
|
-
pagination: _extends({}, state.pagination, {
|
|
13
|
-
paginationModel,
|
|
14
|
-
rowCount,
|
|
15
|
-
meta,
|
|
16
|
-
enabled: props.pagination === true,
|
|
17
|
-
paginationMode: props.paginationMode
|
|
18
|
-
})
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @requires useGridFilter (state)
|
|
24
|
-
* @requires useGridDimensions (event) - can be after
|
|
25
|
-
*/
|
|
26
|
-
export const useGridPagination = (apiRef, props) => {
|
|
27
|
-
useGridPaginationMeta(apiRef, props);
|
|
28
|
-
useGridPaginationModel(apiRef, props);
|
|
29
|
-
useGridRowCount(apiRef, props);
|
|
30
|
-
};
|