@mui/x-data-grid 9.0.0-alpha.1 → 9.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +118 -0
- package/DataGrid/DataGrid.d.mts +16 -0
- package/DataGrid/DataGrid.js +4 -0
- package/DataGrid/DataGrid.mjs +825 -0
- package/DataGrid/index.d.mts +1 -0
- package/DataGrid/index.mjs +1 -0
- package/DataGrid/useDataGridComponent.d.mts +5 -0
- package/DataGrid/useDataGridComponent.mjs +104 -0
- package/DataGrid/useDataGridProps.d.mts +3 -0
- package/DataGrid/useDataGridProps.mjs +50 -0
- package/colDef/gridActionsColDef.d.mts +3 -0
- package/colDef/gridActionsColDef.mjs +20 -0
- package/colDef/gridBooleanColDef.d.mts +2 -0
- package/colDef/gridBooleanColDef.mjs +41 -0
- package/colDef/gridBooleanOperators.d.mts +2 -0
- package/colDef/gridBooleanOperators.mjs +12 -0
- package/colDef/gridCheckboxSelectionColDef.d.mts +3 -0
- package/colDef/gridCheckboxSelectionColDef.mjs +30 -0
- package/colDef/gridDateColDef.d.mts +5 -0
- package/colDef/gridDateColDef.js +2 -1
- package/colDef/gridDateColDef.mjs +68 -0
- package/colDef/gridDateOperators.d.mts +3 -0
- package/colDef/gridDateOperators.mjs +108 -0
- package/colDef/gridDefaultColumnTypes.d.mts +3 -0
- package/colDef/gridDefaultColumnTypes.mjs +22 -0
- package/colDef/gridLongTextColDef.d.mts +2 -0
- package/colDef/gridLongTextColDef.mjs +10 -0
- package/colDef/gridNumericColDef.d.mts +2 -0
- package/colDef/gridNumericColDef.mjs +15 -0
- package/colDef/gridNumericOperators.d.mts +7 -0
- package/colDef/gridNumericOperators.mjs +143 -0
- package/colDef/gridSingleSelectColDef.d.mts +2 -0
- package/colDef/gridSingleSelectColDef.mjs +61 -0
- package/colDef/gridSingleSelectOperators.d.mts +2 -0
- package/colDef/gridSingleSelectOperators.mjs +38 -0
- package/colDef/gridStringColDef.d.mts +5 -0
- package/colDef/gridStringColDef.mjs +28 -0
- package/colDef/gridStringOperators.d.mts +4 -0
- package/colDef/gridStringOperators.mjs +121 -0
- package/colDef/index.d.mts +14 -0
- package/colDef/index.mjs +14 -0
- package/components/GridColumnHeaders.d.mts +7 -0
- package/components/GridColumnHeaders.mjs +88 -0
- package/components/GridColumnSortButton.d.mts +16 -0
- package/components/GridColumnSortButton.mjs +105 -0
- package/components/GridColumnUnsortedIcon.d.mts +7 -0
- package/components/GridColumnUnsortedIcon.mjs +17 -0
- package/components/GridFooter.d.mts +5 -0
- package/components/GridFooter.mjs +42 -0
- package/components/GridHeader.mjs +11 -0
- package/components/GridHeaders.mjs +49 -0
- package/components/GridLoadingOverlay.d.mts +17 -0
- package/components/GridLoadingOverlay.mjs +70 -0
- package/components/GridNoColumnsOverlay.d.mts +5 -0
- package/components/GridNoColumnsOverlay.mjs +38 -0
- package/components/GridNoResultsOverlay.d.mts +4 -0
- package/components/GridNoResultsOverlay.mjs +16 -0
- package/components/GridNoRowsOverlay.d.mts +5 -0
- package/components/GridNoRowsOverlay.mjs +25 -0
- package/components/GridPagination.mjs +86 -0
- package/components/GridRow.d.mts +39 -0
- package/components/GridRow.mjs +355 -0
- package/components/GridRowCount.mjs +66 -0
- package/components/GridRowDragAndDropOverlay.d.mts +7 -0
- package/components/GridRowDragAndDropOverlay.mjs +66 -0
- package/components/GridScrollArea.d.mts +9 -0
- package/components/GridScrollArea.js +9 -11
- package/components/GridScrollArea.mjs +254 -0
- package/components/GridScrollShadows.mjs +122 -0
- package/components/GridScrollbarFillerCell.mjs +16 -0
- package/components/GridSelectedRowCount.mjs +69 -0
- package/components/GridSkeletonLoadingOverlay.d.mts +14 -0
- package/components/GridSkeletonLoadingOverlay.js +2 -1
- package/components/GridSkeletonLoadingOverlay.mjs +196 -0
- package/components/base/GridBody.d.mts +2 -0
- package/components/base/GridBody.mjs +2 -0
- package/components/base/GridFooterPlaceholder.mjs +10 -0
- package/components/base/GridOverlays.d.mts +11 -0
- package/components/base/GridOverlays.mjs +83 -0
- package/components/base/index.d.mts +2 -0
- package/components/base/index.mjs +2 -0
- package/components/cell/GridActionsCell.d.mts +41 -0
- package/components/cell/GridActionsCell.js +2 -1
- package/components/cell/GridActionsCell.mjs +291 -0
- package/components/cell/GridActionsCellItem.d.mts +55 -0
- package/components/cell/GridActionsCellItem.mjs +59 -0
- package/components/cell/GridBooleanCell.d.mts +13 -0
- package/components/cell/GridBooleanCell.mjs +124 -0
- package/components/cell/GridCell.d.mts +77 -0
- package/components/cell/GridCell.mjs +344 -0
- package/components/cell/GridEditBooleanCell.d.mts +17 -0
- package/components/cell/GridEditBooleanCell.mjs +144 -0
- package/components/cell/GridEditDateCell.d.mts +21 -0
- package/components/cell/GridEditDateCell.mjs +199 -0
- package/components/cell/GridEditInputCell.d.mts +19 -0
- package/components/cell/GridEditInputCell.mjs +105 -0
- package/components/cell/GridEditLongTextCell.d.mts +41 -0
- package/components/cell/GridEditLongTextCell.mjs +240 -0
- package/components/cell/GridEditSingleSelectCell.d.mts +21 -0
- package/components/cell/GridEditSingleSelectCell.mjs +192 -0
- package/components/cell/GridFooterCell.d.mts +9 -0
- package/components/cell/GridFooterCell.mjs +48 -0
- package/components/cell/GridLongTextCell.d.mts +43 -0
- package/components/cell/GridLongTextCell.mjs +246 -0
- package/components/cell/GridSkeletonCell.d.mts +20 -0
- package/components/cell/GridSkeletonCell.mjs +105 -0
- package/components/cell/index.d.mts +12 -0
- package/components/cell/index.mjs +11 -0
- package/components/columnHeaders/ColumnHeaderMenuIcon.d.mts +10 -0
- package/components/columnHeaders/ColumnHeaderMenuIcon.mjs +66 -0
- package/components/columnHeaders/GridBaseColumnHeaders.mjs +47 -0
- package/components/columnHeaders/GridColumnGroupHeader.d.mts +21 -0
- package/components/columnHeaders/GridColumnGroupHeader.mjs +152 -0
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.d.mts +12 -0
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.mjs +109 -0
- package/components/columnHeaders/GridColumnHeaderItem.d.mts +33 -0
- package/components/columnHeaders/GridColumnHeaderItem.mjs +275 -0
- package/components/columnHeaders/GridColumnHeaderSeparator.mjs +73 -0
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.mts +9 -0
- package/components/columnHeaders/GridColumnHeaderSortIcon.mjs +38 -0
- package/components/columnHeaders/GridColumnHeaderTitle.mjs +90 -0
- package/components/columnHeaders/GridGenericColumnHeaderItem.d.mts +32 -0
- package/components/columnHeaders/GridGenericColumnHeaderItem.mjs +82 -0
- package/components/columnHeaders/GridIconButtonContainer.mjs +45 -0
- package/components/columnHeaders/index.d.mts +5 -0
- package/components/columnHeaders/index.mjs +5 -0
- package/components/columnSelection/GridCellCheckboxRenderer.d.mts +5 -0
- package/components/columnSelection/GridCellCheckboxRenderer.js +1 -1
- package/components/columnSelection/GridCellCheckboxRenderer.mjs +174 -0
- package/components/columnSelection/GridHeaderCheckbox.d.mts +4 -0
- package/components/columnSelection/GridHeaderCheckbox.js +7 -5
- package/components/columnSelection/GridHeaderCheckbox.mjs +178 -0
- package/components/columnSelection/index.d.mts +2 -0
- package/components/columnSelection/index.mjs +2 -0
- package/components/columnsManagement/GridColumnsManagement.d.mts +50 -0
- package/components/columnsManagement/GridColumnsManagement.mjs +317 -0
- package/components/columnsManagement/index.d.mts +1 -0
- package/components/columnsManagement/index.mjs +1 -0
- package/components/columnsManagement/utils.d.mts +4 -0
- package/components/columnsPanel/ColumnsPanelTrigger.d.mts +33 -0
- package/components/columnsPanel/ColumnsPanelTrigger.mjs +102 -0
- package/components/columnsPanel/index.d.mts +1 -0
- package/components/columnsPanel/index.mjs +1 -0
- package/components/containers/GridFooterContainer.mjs +56 -0
- package/components/containers/GridOverlay.mjs +63 -0
- package/components/containers/GridRoot.mjs +88 -0
- package/components/containers/GridRootStyles.d.mts +7 -0
- package/components/containers/GridRootStyles.mjs +722 -0
- package/components/containers/GridToolbarContainer.mjs +69 -0
- package/components/containers/index.d.mts +4 -0
- package/components/containers/index.mjs +4 -0
- package/components/export/ExportCsv.d.mts +30 -0
- package/components/export/ExportCsv.mjs +83 -0
- package/components/export/ExportPrint.d.mts +30 -0
- package/components/export/ExportPrint.mjs +83 -0
- package/components/export/index.d.mts +2 -0
- package/components/export/index.mjs +2 -0
- package/components/filterPanel/FilterPanelTrigger.d.mts +37 -0
- package/components/filterPanel/FilterPanelTrigger.mjs +105 -0
- package/components/filterPanel/index.d.mts +1 -0
- package/components/filterPanel/index.mjs +1 -0
- package/components/index.d.mts +26 -0
- package/components/index.mjs +26 -0
- package/components/menu/GridMenu.d.mts +15 -0
- package/components/menu/GridMenu.mjs +110 -0
- package/components/menu/columnMenu/GridColumnHeaderMenu.d.mts +26 -0
- package/components/menu/columnMenu/GridColumnHeaderMenu.mjs +63 -0
- package/components/menu/columnMenu/GridColumnMenu.d.mts +23 -0
- package/components/menu/columnMenu/GridColumnMenu.mjs +114 -0
- package/components/menu/columnMenu/GridColumnMenuContainer.d.mts +4 -0
- package/components/menu/columnMenu/GridColumnMenuContainer.mjs +72 -0
- package/components/menu/columnMenu/GridColumnMenuItemProps.d.mts +7 -0
- package/components/menu/columnMenu/GridColumnMenuProps.d.mts +20 -0
- package/components/menu/columnMenu/index.d.mts +6 -0
- package/components/menu/columnMenu/index.mjs +8 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.mts +6 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.mjs +20 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.mts +6 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.mjs +36 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.mts +6 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.mjs +53 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.mts +6 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.mjs +36 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.mts +6 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.mjs +69 -0
- package/components/menu/columnMenu/menuItems/index.d.mts +5 -0
- package/components/menu/columnMenu/menuItems/index.mjs +5 -0
- package/components/menu/index.d.mts +2 -0
- package/components/menu/index.mjs +2 -0
- package/components/panel/GridColumnsPanel.d.mts +4 -0
- package/components/panel/GridColumnsPanel.mjs +11 -0
- package/components/panel/GridPanel.d.mts +21 -0
- package/components/panel/GridPanel.mjs +110 -0
- package/components/panel/GridPanelContent.mjs +53 -0
- package/components/panel/GridPanelContext.js +3 -1
- package/components/panel/GridPanelContext.mjs +30 -0
- package/components/panel/GridPanelFooter.mjs +50 -0
- package/components/panel/GridPanelHeader.mjs +47 -0
- package/components/panel/GridPanelWrapper.mjs +50 -0
- package/components/panel/GridPreferencesPanel.mjs +43 -0
- package/components/panel/filterPanel/GridFilterForm.d.mts +107 -0
- package/components/panel/filterPanel/GridFilterForm.js +2 -1
- package/components/panel/filterPanel/GridFilterForm.mjs +475 -0
- package/components/panel/filterPanel/GridFilterInputBoolean.d.mts +9 -0
- package/components/panel/filterPanel/GridFilterInputBoolean.js +2 -1
- package/components/panel/filterPanel/GridFilterInputBoolean.mjs +126 -0
- package/components/panel/filterPanel/GridFilterInputDate.d.mts +10 -0
- package/components/panel/filterPanel/GridFilterInputDate.js +2 -1
- package/components/panel/filterPanel/GridFilterInputDate.mjs +138 -0
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.mts +11 -0
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +2 -1
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.mjs +114 -0
- package/components/panel/filterPanel/GridFilterInputMultipleValue.d.mts +10 -0
- package/components/panel/filterPanel/GridFilterInputMultipleValue.js +2 -1
- package/components/panel/filterPanel/GridFilterInputMultipleValue.mjs +104 -0
- package/components/panel/filterPanel/GridFilterInputSingleSelect.d.mts +10 -0
- package/components/panel/filterPanel/GridFilterInputSingleSelect.js +2 -1
- package/components/panel/filterPanel/GridFilterInputSingleSelect.mjs +142 -0
- package/components/panel/filterPanel/GridFilterInputValue.d.mts +14 -0
- package/components/panel/filterPanel/GridFilterInputValue.js +2 -1
- package/components/panel/filterPanel/GridFilterInputValue.mjs +124 -0
- package/components/panel/filterPanel/GridFilterPanel.d.mts +49 -0
- package/components/panel/filterPanel/GridFilterPanel.mjs +250 -0
- package/components/panel/filterPanel/filterPanelUtils.d.mts +5 -0
- package/components/panel/filterPanel/index.d.mts +10 -0
- package/components/panel/filterPanel/index.mjs +8 -0
- package/components/panel/index.d.mts +7 -0
- package/components/panel/index.mjs +7 -0
- package/components/quickFilter/QuickFilter.d.mts +64 -0
- package/components/quickFilter/QuickFilter.mjs +191 -0
- package/components/quickFilter/QuickFilterClear.d.mts +28 -0
- package/components/quickFilter/QuickFilterClear.mjs +77 -0
- package/components/quickFilter/QuickFilterContext.js +3 -1
- package/components/quickFilter/QuickFilterContext.mjs +13 -0
- package/components/quickFilter/QuickFilterControl.d.mts +28 -0
- package/components/quickFilter/QuickFilterControl.mjs +124 -0
- package/components/quickFilter/QuickFilterTrigger.d.mts +28 -0
- package/components/quickFilter/QuickFilterTrigger.mjs +80 -0
- package/components/quickFilter/index.d.mts +4 -0
- package/components/quickFilter/index.mjs +4 -0
- package/components/reexportable.d.mts +1 -0
- package/components/reexportable.mjs +1 -0
- package/components/toolbar/GridToolbar.d.mts +24 -0
- package/components/toolbar/GridToolbar.mjs +88 -0
- package/components/toolbar/GridToolbarColumnsButton.d.mts +17 -0
- package/components/toolbar/GridToolbarColumnsButton.mjs +85 -0
- package/components/toolbar/GridToolbarDensitySelector.d.mts +17 -0
- package/components/toolbar/GridToolbarDensitySelector.mjs +123 -0
- package/components/toolbar/GridToolbarExport.d.mts +42 -0
- package/components/toolbar/GridToolbarExport.mjs +131 -0
- package/components/toolbar/GridToolbarExportContainer.d.mts +16 -0
- package/components/toolbar/GridToolbarExportContainer.mjs +88 -0
- package/components/toolbar/GridToolbarFilterButton.d.mts +18 -0
- package/components/toolbar/GridToolbarFilterButton.mjs +149 -0
- package/components/toolbar/GridToolbarQuickFilter.d.mts +45 -0
- package/components/toolbar/GridToolbarQuickFilter.js +2 -1
- package/components/toolbar/GridToolbarQuickFilter.mjs +189 -0
- package/components/toolbar/index.d.mts +8 -0
- package/components/toolbar/index.mjs +7 -0
- package/components/toolbarV8/GridToolbar.d.mts +17 -0
- package/components/toolbarV8/GridToolbar.mjs +201 -0
- package/components/toolbarV8/Toolbar.mjs +208 -0
- package/components/toolbarV8/ToolbarButton.d.mts +23 -0
- package/components/toolbarV8/ToolbarButton.mjs +111 -0
- package/components/toolbarV8/ToolbarContext.js +3 -1
- package/components/toolbarV8/ToolbarContext.mjs +13 -0
- package/components/toolbarV8/index.d.mts +2 -0
- package/components/toolbarV8/index.mjs +2 -0
- package/components/virtualization/GridBottomContainer.mjs +28 -0
- package/components/virtualization/GridMainContainer.d.mts +19 -0
- package/components/virtualization/GridMainContainer.mjs +57 -0
- package/components/virtualization/GridTopContainer.mjs +28 -0
- package/components/virtualization/GridVirtualScrollbar.mjs +110 -0
- package/components/virtualization/GridVirtualScroller.mjs +156 -0
- package/components/virtualization/GridVirtualScrollerContent.mjs +46 -0
- package/components/virtualization/GridVirtualScrollerFiller.mjs +85 -0
- package/components/virtualization/GridVirtualScrollerRenderZone.mjs +41 -0
- package/constants/dataGridPropsDefaultValues.d.mts +5 -0
- package/constants/dataGridPropsDefaultValues.mjs +63 -0
- package/constants/defaultGridSlotsComponents.d.mts +2 -0
- package/constants/defaultGridSlotsComponents.mjs +38 -0
- package/constants/index.d.mts +4 -0
- package/constants/index.mjs +4 -0
- package/constants/localeTextConstants.d.mts +2 -0
- package/constants/localeTextConstants.js +5 -3
- package/constants/localeTextConstants.mjs +298 -0
- package/context/GridContextProvider.d.mts +17 -0
- package/context/GridContextProvider.mjs +35 -0
- package/context/index.d.mts +1 -0
- package/context/index.mjs +1 -0
- package/hooks/core/gridCoreSelector.d.mts +6 -0
- package/hooks/core/gridCoreSelector.mjs +6 -0
- package/hooks/core/gridPropsSelectors.d.mts +10 -0
- package/hooks/core/gridPropsSelectors.mjs +18 -0
- package/hooks/core/index.d.mts +2 -0
- package/hooks/core/index.mjs +1 -0
- package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.mts +163 -0
- package/hooks/core/pipeProcessing/index.d.mts +4 -0
- package/hooks/core/pipeProcessing/index.mjs +4 -0
- package/hooks/core/pipeProcessing/useGridPipeProcessing.d.mts +32 -0
- package/hooks/core/pipeProcessing/useGridPipeProcessing.mjs +124 -0
- package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.mts +4 -0
- package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.mjs +28 -0
- package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.mts +4 -0
- package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.mjs +30 -0
- package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.mts +81 -0
- package/hooks/core/strategyProcessing/index.d.mts +3 -0
- package/hooks/core/strategyProcessing/index.mjs +3 -0
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.mts +4 -0
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.mjs +20 -0
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.d.mts +43 -0
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.js +3 -2
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.mjs +113 -0
- package/hooks/core/useGridApiInitialization.d.mts +5 -0
- package/hooks/core/useGridApiInitialization.mjs +114 -0
- package/hooks/core/useGridInitialization.d.mts +7 -0
- package/hooks/core/useGridInitialization.mjs +25 -0
- package/hooks/core/useGridIsRtl.d.mts +3 -0
- package/hooks/core/useGridLocaleText.d.mts +4 -0
- package/hooks/core/useGridLocaleText.js +3 -1
- package/hooks/core/useGridLocaleText.mjs +13 -0
- package/hooks/core/useGridLoggerFactory.d.mts +4 -0
- package/hooks/core/useGridLoggerFactory.js +3 -1
- package/hooks/core/useGridLoggerFactory.mjs +45 -0
- package/hooks/core/useGridProps.d.mts +6 -0
- package/hooks/core/useGridRefs.d.mts +3 -0
- package/hooks/core/useGridStateInitialization.d.mts +3 -0
- package/hooks/core/useGridStateInitialization.js +2 -1
- package/hooks/core/useGridStateInitialization.mjs +98 -0
- package/hooks/core/useGridVirtualizer.mjs +265 -0
- package/hooks/features/clipboard/useGridClipboard.d.mts +8 -0
- package/hooks/features/clipboard/useGridClipboard.mjs +97 -0
- package/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.mts +19 -0
- package/hooks/features/columnGrouping/gridColumnGroupsSelector.d.mts +20 -0
- package/hooks/features/columnGrouping/gridColumnGroupsSelector.mjs +10 -0
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.mts +19 -0
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.js +4 -3
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.mjs +120 -0
- package/hooks/features/columnGrouping/index.d.mts +2 -0
- package/hooks/features/columnGrouping/index.mjs +2 -0
- package/hooks/features/columnGrouping/useGridColumnGrouping.d.mts +10 -0
- package/hooks/features/columnGrouping/useGridColumnGrouping.mjs +110 -0
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.mts +65 -0
- package/hooks/features/columnHeaders/useGridColumnHeaders.mjs +316 -0
- package/hooks/features/columnMenu/columnMenuSelector.d.mts +2 -0
- package/hooks/features/columnMenu/columnMenuSelector.mjs +2 -0
- package/hooks/features/columnMenu/getColumnMenuItemKeys.d.mts +17 -0
- package/hooks/features/columnMenu/index.d.mts +2 -0
- package/hooks/features/columnMenu/index.mjs +2 -0
- package/hooks/features/columnMenu/useGridColumnMenu.d.mts +9 -0
- package/hooks/features/columnMenu/useGridColumnMenu.mjs +116 -0
- package/hooks/features/columnMenu/useGridColumnMenuSlots.d.mts +13 -0
- package/hooks/features/columnMenu/useGridColumnMenuSlots.mjs +54 -0
- package/hooks/features/columnResize/columnResizeSelector.d.mts +5 -0
- package/hooks/features/columnResize/columnResizeSelector.mjs +3 -0
- package/hooks/features/columnResize/gridColumnResizeApi.d.mts +57 -0
- package/hooks/features/columnResize/index.d.mts +3 -0
- package/hooks/features/columnResize/index.mjs +3 -0
- package/hooks/features/columnResize/useGridColumnResize.d.mts +10 -0
- package/hooks/features/columnResize/useGridColumnResize.mjs +616 -0
- package/hooks/features/columns/gridColumnsInterfaces.d.mts +42 -0
- package/hooks/features/columns/gridColumnsSelector.d.mts +114 -0
- package/hooks/features/columns/gridColumnsSelector.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 +321 -0
- package/hooks/features/dataSource/utils.d.mts +24 -0
- package/hooks/features/density/densitySelector.d.mts +8 -0
- package/hooks/features/density/densitySelector.mjs +10 -0
- package/hooks/features/density/densityState.d.mts +2 -0
- package/hooks/features/density/index.d.mts +2 -0
- package/hooks/features/density/index.mjs +2 -0
- package/hooks/features/density/useGridDensity.d.mts +6 -0
- package/hooks/features/density/useGridDensity.mjs +66 -0
- package/hooks/features/dimensions/gridDimensionsSelectors.d.mts +42 -0
- package/hooks/features/dimensions/gridDimensionsSelectors.mjs +25 -0
- package/hooks/features/dimensions/index.d.mts +3 -0
- package/hooks/features/dimensions/index.mjs +1 -0
- package/hooks/features/dimensions/useGridDimensions.d.mts +10 -0
- package/hooks/features/dimensions/useGridDimensions.mjs +144 -0
- package/hooks/features/editing/gridEditingSelectors.d.mts +19 -0
- package/hooks/features/editing/gridEditingSelectors.mjs +15 -0
- package/hooks/features/editing/index.d.mts +1 -0
- package/hooks/features/editing/index.mjs +1 -0
- package/hooks/features/editing/useGridCellEditable.d.mts +5 -0
- package/hooks/features/editing/useGridCellEditable.mjs +9 -0
- package/hooks/features/editing/useGridCellEditing.d.mts +4 -0
- package/hooks/features/editing/useGridCellEditing.js +3 -2
- package/hooks/features/editing/useGridCellEditing.mjs +497 -0
- package/hooks/features/editing/useGridEditing.d.mts +7 -0
- package/hooks/features/editing/useGridEditing.mjs +125 -0
- package/hooks/features/editing/useGridRowEditing.d.mts +4 -0
- package/hooks/features/editing/useGridRowEditing.js +3 -2
- package/hooks/features/editing/useGridRowEditing.mjs +646 -0
- package/hooks/features/editing/utils.d.mts +2 -0
- package/hooks/features/events/useGridEvents.d.mts +8 -0
- package/hooks/features/events/useGridEvents.mjs +24 -0
- package/hooks/features/export/serializers/csvSerializer.d.mts +19 -0
- package/hooks/features/export/serializers/csvSerializer.mjs +141 -0
- package/hooks/features/export/useGridCsvExport.d.mts +11 -0
- package/hooks/features/export/useGridCsvExport.mjs +74 -0
- package/hooks/features/export/useGridPrintExport.d.mts +10 -0
- package/hooks/features/export/useGridPrintExport.js +2 -1
- package/hooks/features/export/useGridPrintExport.mjs +257 -0
- package/hooks/features/export/utils.d.mts +20 -0
- package/hooks/features/export/utils.mjs +39 -0
- package/hooks/features/filter/gridFilterSelector.d.mts +153 -0
- package/hooks/features/filter/gridFilterSelector.mjs +206 -0
- package/hooks/features/filter/gridFilterState.d.mts +64 -0
- package/hooks/features/filter/gridFilterState.mjs +24 -0
- package/hooks/features/filter/gridFilterUtils.d.mts +23 -0
- package/hooks/features/filter/gridFilterUtils.js +3 -2
- package/hooks/features/filter/gridFilterUtils.mjs +325 -0
- package/hooks/features/filter/index.d.mts +4 -0
- package/hooks/features/filter/index.mjs +2 -0
- package/hooks/features/filter/useGridFilter.d.mts +12 -0
- package/hooks/features/filter/useGridFilter.mjs +370 -0
- package/hooks/features/focus/gridFocusState.d.mts +20 -0
- package/hooks/features/focus/gridFocusStateSelector.d.mts +28 -0
- package/hooks/features/focus/gridFocusStateSelector.mjs +11 -0
- package/hooks/features/focus/index.d.mts +2 -0
- package/hooks/features/focus/index.mjs +2 -0
- package/hooks/features/focus/useGridFocus.d.mts +11 -0
- package/hooks/features/focus/useGridFocus.mjs +447 -0
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.mts +11 -0
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.mjs +7 -0
- package/hooks/features/headerFiltering/index.d.mts +1 -0
- package/hooks/features/headerFiltering/index.mjs +1 -0
- package/hooks/features/headerFiltering/useGridHeaderFiltering.d.mts +6 -0
- package/hooks/features/headerFiltering/useGridHeaderFiltering.mjs +107 -0
- package/hooks/features/index.d.mts +20 -0
- package/hooks/features/index.mjs +21 -0
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.mts +13 -0
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.mjs +700 -0
- package/hooks/features/keyboardNavigation/utils.d.mts +26 -0
- package/hooks/features/keyboardNavigation/utils.mjs +53 -0
- package/hooks/features/listView/gridListViewSelectors.d.mts +14 -0
- package/hooks/features/listView/gridListViewSelectors.mjs +14 -0
- package/hooks/features/listView/index.d.mts +1 -0
- package/hooks/features/listView/index.mjs +1 -0
- package/hooks/features/listView/useGridListView.d.mts +10 -0
- package/hooks/features/listView/useGridListView.mjs +63 -0
- package/hooks/features/overlays/gridOverlaysInterfaces.d.mts +3 -0
- package/hooks/features/overlays/index.d.mts +1 -0
- package/hooks/features/overlays/useGridOverlays.d.mts +12 -0
- package/hooks/features/overlays/useGridOverlays.mjs +45 -0
- package/hooks/features/pagination/gridPaginationInterfaces.d.mts +58 -0
- package/hooks/features/pagination/gridPaginationSelector.d.mts +95 -0
- package/hooks/features/pagination/gridPaginationSelector.mjs +156 -0
- package/hooks/features/pagination/gridPaginationUtils.d.mts +9 -0
- package/hooks/features/pagination/gridPaginationUtils.js +4 -1
- package/hooks/features/pagination/gridPaginationUtils.mjs +30 -0
- package/hooks/features/pagination/index.d.mts +2 -0
- package/hooks/features/pagination/index.mjs +2 -0
- package/hooks/features/pagination/useGridPagination.d.mts +10 -0
- package/hooks/features/pagination/useGridPagination.mjs +30 -0
- package/hooks/features/pagination/useGridPaginationMeta.d.mts +4 -0
- package/hooks/features/pagination/useGridPaginationMeta.mjs +79 -0
- package/hooks/features/pagination/useGridPaginationModel.d.mts +11 -0
- package/hooks/features/pagination/useGridPaginationModel.mjs +239 -0
- package/hooks/features/pagination/useGridRowCount.d.mts +4 -0
- package/hooks/features/pagination/useGridRowCount.mjs +142 -0
- package/hooks/features/pivoting/gridPivotingInterfaces.d.mts +10 -0
- package/hooks/features/pivoting/gridPivotingSelectors.d.mts +8 -0
- package/hooks/features/pivoting/gridPivotingSelectors.mjs +7 -0
- package/hooks/features/pivoting/index.d.mts +2 -0
- package/hooks/features/pivoting/index.mjs +2 -0
- package/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.mts +5 -0
- package/hooks/features/preferencesPanel/gridPreferencePanelSelector.mjs +8 -0
- package/hooks/features/preferencesPanel/gridPreferencePanelState.d.mts +13 -0
- package/hooks/features/preferencesPanel/index.d.mts +3 -0
- package/hooks/features/preferencesPanel/index.mjs +3 -0
- package/hooks/features/preferencesPanel/useGridPreferencesPanel.d.mts +9 -0
- package/hooks/features/preferencesPanel/useGridPreferencesPanel.mjs +88 -0
- package/hooks/features/rowReorder/gridRowReorderInterfaces.d.mts +28 -0
- package/hooks/features/rowReorder/gridRowReorderSelector.d.mts +24 -0
- package/hooks/features/rowReorder/gridRowReorderSelector.mjs +21 -0
- package/hooks/features/rowSelection/gridRowSelectionSelector.d.mts +12 -0
- package/hooks/features/rowSelection/gridRowSelectionSelector.mjs +29 -0
- package/hooks/features/rowSelection/index.d.mts +1 -0
- package/hooks/features/rowSelection/index.mjs +1 -0
- package/hooks/features/rowSelection/useGridRowSelection.d.mts +12 -0
- package/hooks/features/rowSelection/useGridRowSelection.js +3 -1
- package/hooks/features/rowSelection/useGridRowSelection.mjs +602 -0
- package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.mts +4 -0
- package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.js +4 -1
- package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.mjs +51 -0
- package/hooks/features/rowSelection/utils.d.mts +20 -0
- package/hooks/features/rowSelection/utils.mjs +211 -0
- package/hooks/features/rows/gridRowSpanningUtils.d.mts +10 -0
- package/hooks/features/rows/gridRowSpanningUtils.mjs +45 -0
- package/hooks/features/rows/gridRowsInterfaces.d.mts +98 -0
- package/hooks/features/rows/gridRowsMetaInterfaces.d.mts +10 -0
- package/hooks/features/rows/gridRowsMetaSelector.d.mts +2 -0
- package/hooks/features/rows/gridRowsMetaSelector.mjs +2 -0
- package/hooks/features/rows/gridRowsSelector.d.mts +80 -0
- package/hooks/features/rows/gridRowsSelector.mjs +70 -0
- package/hooks/features/rows/gridRowsUtils.d.mts +61 -0
- package/hooks/features/rows/gridRowsUtils.js +6 -2
- package/hooks/features/rows/gridRowsUtils.mjs +309 -0
- package/hooks/features/rows/index.d.mts +5 -0
- package/hooks/features/rows/index.mjs +4 -0
- package/hooks/features/rows/useGridParamsApi.d.mts +14 -0
- package/hooks/features/rows/useGridParamsApi.js +2 -2
- package/hooks/features/rows/useGridParamsApi.mjs +117 -0
- package/hooks/features/rows/useGridParamsOverridableMethods.d.mts +7 -0
- package/hooks/features/rows/useGridParamsOverridableMethods.js +3 -1
- package/hooks/features/rows/useGridParamsOverridableMethods.mjs +29 -0
- package/hooks/features/rows/useGridRowAriaAttributes.d.mts +2 -0
- package/hooks/features/rows/useGridRowAriaAttributes.mjs +19 -0
- package/hooks/features/rows/useGridRowSpanning.d.mts +17 -0
- package/hooks/features/rows/useGridRowSpanning.mjs +208 -0
- package/hooks/features/rows/useGridRows.d.mts +7 -0
- package/hooks/features/rows/useGridRows.js +8 -5
- package/hooks/features/rows/useGridRows.mjs +485 -0
- package/hooks/features/rows/useGridRowsMeta.d.mts +10 -0
- package/hooks/features/rows/useGridRowsMeta.mjs +60 -0
- package/hooks/features/rows/useGridRowsOverridableMethods.d.mts +7 -0
- package/hooks/features/rows/useGridRowsOverridableMethods.js +9 -8
- package/hooks/features/rows/useGridRowsOverridableMethods.mjs +94 -0
- package/hooks/features/rows/useGridRowsPreProcessors.d.mts +3 -0
- package/hooks/features/rows/useGridRowsPreProcessors.mjs +81 -0
- package/hooks/features/scroll/useGridScroll.d.mts +12 -0
- package/hooks/features/scroll/useGridScroll.mjs +132 -0
- package/hooks/features/sorting/gridSortingSelector.d.mts +42 -0
- package/hooks/features/sorting/gridSortingSelector.mjs +70 -0
- package/hooks/features/sorting/gridSortingState.d.mts +14 -0
- package/hooks/features/sorting/gridSortingUtils.d.mts +18 -0
- package/hooks/features/sorting/gridSortingUtils.mjs +140 -0
- package/hooks/features/sorting/index.d.mts +4 -0
- package/hooks/features/sorting/index.mjs +2 -0
- package/hooks/features/sorting/useGridSorting.d.mts +10 -0
- package/hooks/features/sorting/useGridSorting.mjs +252 -0
- package/hooks/features/statePersistence/gridStatePersistenceInterface.d.mts +40 -0
- package/hooks/features/statePersistence/index.d.mts +1 -0
- package/hooks/features/statePersistence/useGridStatePersistence.d.mts +3 -0
- package/hooks/features/statePersistence/useGridStatePersistence.mjs +23 -0
- package/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.mts +8 -0
- package/hooks/features/virtualization/gridFocusedVirtualCellSelector.mjs +32 -0
- package/hooks/features/virtualization/gridVirtualizationSelectors.d.mts +46 -0
- package/hooks/features/virtualization/gridVirtualizationSelectors.mjs +45 -0
- package/hooks/features/virtualization/index.d.mts +3 -0
- package/hooks/features/virtualization/index.mjs +3 -0
- package/hooks/features/virtualization/useGridVirtualization.d.mts +10 -0
- package/hooks/features/virtualization/useGridVirtualization.mjs +101 -0
- package/hooks/index.d.mts +3 -0
- package/hooks/index.mjs +3 -0
- package/hooks/utils/index.d.mts +10 -0
- package/hooks/utils/index.mjs +9 -0
- package/hooks/utils/useGridApiContext.d.mts +4 -0
- package/hooks/utils/useGridApiContext.js +3 -1
- package/hooks/utils/useGridApiContext.mjs +12 -0
- package/hooks/utils/useGridApiMethod.d.mts +7 -0
- package/hooks/utils/useGridApiRef.d.mts +6 -0
- package/hooks/utils/useGridAriaAttributes.mjs +28 -0
- package/hooks/utils/useGridConfiguration.d.mts +4 -0
- package/hooks/utils/useGridConfiguration.js +3 -1
- package/hooks/utils/useGridConfiguration.mjs +12 -0
- package/hooks/utils/useGridEvent.d.mts +12 -0
- package/hooks/utils/useGridEvent.mjs +94 -0
- package/hooks/utils/useGridInitializeState.d.mts +8 -0
- package/hooks/utils/useGridLogger.d.mts +4 -0
- package/hooks/utils/useGridNativeEventListener.d.mts +3 -0
- package/hooks/utils/useGridNativeEventListener.mjs +17 -0
- package/hooks/utils/useGridPrivateApiContext.d.mts +6 -0
- package/hooks/utils/useGridPrivateApiContext.js +3 -1
- package/hooks/utils/useGridPrivateApiContext.mjs +13 -0
- package/hooks/utils/useGridRootProps.d.mts +2 -0
- package/hooks/utils/useGridRootProps.js +3 -1
- package/hooks/utils/useGridRootProps.mjs +12 -0
- package/hooks/utils/useGridSelector.d.mts +6 -0
- package/hooks/utils/useGridSelector.mjs +84 -0
- package/hooks/utils/useGridVisibleRows.d.mts +26 -0
- package/hooks/utils/useGridVisibleRows.mjs +17 -0
- package/index.d.mts +39 -0
- package/index.js +1 -1
- package/index.mjs +39 -0
- package/internals/demo/index.d.mts +1 -0
- package/internals/demo/index.mjs +1 -0
- package/internals/index.d.mts +128 -0
- package/internals/index.mjs +99 -0
- package/internals/utils/attachPinnedStyle.d.mts +2 -0
- package/internals/utils/attachPinnedStyle.mjs +9 -0
- package/internals/utils/cache.d.mts +9 -0
- package/internals/utils/cache.mjs +18 -0
- package/internals/utils/getPinnedCellOffset.d.mts +3 -0
- package/internals/utils/getPinnedCellOffset.mjs +21 -0
- package/internals/utils/gridRowGroupingUtils.mjs +9 -0
- package/internals/utils/index.d.mts +5 -0
- package/internals/utils/index.mjs +5 -0
- package/internals/utils/propValidation.d.mts +4 -0
- package/internals/utils/propValidation.mjs +12 -0
- package/locales/arSD.d.mts +2 -0
- package/locales/arSD.js +4 -3
- package/locales/arSD.mjs +310 -0
- package/locales/beBY.d.mts +2 -0
- package/locales/beBY.js +3 -3
- package/locales/beBY.mjs +334 -0
- package/locales/bgBG.d.mts +2 -0
- package/locales/bgBG.js +3 -3
- package/locales/bgBG.mjs +311 -0
- package/locales/bnBD.d.mts +2 -0
- package/locales/bnBD.js +3 -3
- package/locales/bnBD.mjs +309 -0
- package/locales/caES.d.mts +2 -0
- package/locales/caES.js +4 -3
- package/locales/caES.mjs +298 -0
- package/locales/csCZ.d.mts +2 -0
- package/locales/csCZ.js +4 -3
- package/locales/csCZ.mjs +337 -0
- package/locales/daDK.d.mts +2 -0
- package/locales/daDK.js +3 -3
- package/locales/daDK.mjs +310 -0
- package/locales/deDE.d.mts +2 -0
- package/locales/deDE.js +4 -3
- package/locales/deDE.mjs +301 -0
- package/locales/elGR.d.mts +2 -0
- package/locales/elGR.js +3 -3
- package/locales/elGR.mjs +312 -0
- package/locales/enUS.d.mts +2 -0
- package/locales/enUS.mjs +3 -0
- package/locales/esES.d.mts +2 -0
- package/locales/esES.js +4 -3
- package/locales/esES.mjs +298 -0
- package/locales/faIR.d.mts +2 -0
- package/locales/faIR.js +3 -3
- package/locales/faIR.mjs +310 -0
- package/locales/fiFI.d.mts +2 -0
- package/locales/fiFI.js +3 -3
- package/locales/fiFI.mjs +311 -0
- package/locales/frFR.d.mts +2 -0
- package/locales/frFR.js +4 -3
- package/locales/frFR.mjs +307 -0
- package/locales/heIL.d.mts +2 -0
- package/locales/heIL.js +4 -3
- package/locales/heIL.mjs +309 -0
- package/locales/hrHR.d.mts +1 -0
- package/locales/hrHR.js +4 -3
- package/locales/hrHR.mjs +329 -0
- package/locales/huHU.d.mts +2 -0
- package/locales/huHU.js +3 -3
- package/locales/huHU.mjs +309 -0
- package/locales/hyAM.d.mts +2 -0
- package/locales/hyAM.js +3 -3
- package/locales/hyAM.mjs +335 -0
- package/locales/idID.d.mts +4 -0
- package/locales/idID.js +4 -3
- package/locales/idID.mjs +301 -0
- package/locales/index.d.mts +40 -0
- package/locales/index.mjs +41 -0
- package/locales/isIS.d.mts +2 -0
- package/locales/isIS.js +3 -3
- package/locales/isIS.mjs +311 -0
- package/locales/itIT.d.mts +2 -0
- package/locales/itIT.js +4 -3
- package/locales/itIT.mjs +299 -0
- package/locales/jaJP.d.mts +2 -0
- package/locales/jaJP.js +4 -3
- package/locales/jaJP.mjs +306 -0
- package/locales/koKR.d.mts +2 -0
- package/locales/koKR.js +4 -3
- package/locales/koKR.mjs +301 -0
- package/locales/nbNO.d.mts +2 -0
- package/locales/nbNO.js +4 -3
- package/locales/nbNO.mjs +309 -0
- package/locales/nlNL.d.mts +2 -0
- package/locales/nlNL.js +3 -3
- package/locales/nlNL.mjs +310 -0
- package/locales/nnNO.d.mts +2 -0
- package/locales/nnNO.js +4 -3
- package/locales/nnNO.mjs +301 -0
- package/locales/plPL.d.mts +2 -0
- package/locales/plPL.js +4 -3
- package/locales/plPL.mjs +306 -0
- package/locales/ptBR.d.mts +2 -0
- package/locales/ptBR.js +4 -3
- package/locales/ptBR.mjs +298 -0
- package/locales/ptPT.d.mts +2 -0
- package/locales/ptPT.js +4 -3
- package/locales/ptPT.mjs +298 -0
- package/locales/roRO.d.mts +2 -0
- package/locales/roRO.js +3 -3
- package/locales/roRO.mjs +309 -0
- package/locales/ruRU.d.mts +2 -0
- package/locales/ruRU.js +3 -3
- package/locales/ruRU.mjs +331 -0
- package/locales/skSK.d.mts +2 -0
- package/locales/skSK.js +4 -3
- package/locales/skSK.mjs +337 -0
- package/locales/svSE.d.mts +2 -0
- package/locales/svSE.js +3 -3
- package/locales/svSE.mjs +311 -0
- package/locales/thTH.d.mts +2 -0
- package/locales/thTH.js +5 -3
- package/locales/thTH.mjs +299 -0
- package/locales/trTR.d.mts +2 -0
- package/locales/trTR.js +3 -3
- package/locales/trTR.mjs +309 -0
- package/locales/ukUA.d.mts +2 -0
- package/locales/ukUA.js +3 -3
- package/locales/ukUA.mjs +331 -0
- package/locales/urPK.d.mts +2 -0
- package/locales/urPK.js +3 -3
- package/locales/urPK.mjs +311 -0
- package/locales/viVN.d.mts +2 -0
- package/locales/viVN.js +3 -3
- package/locales/viVN.mjs +311 -0
- package/locales/zhCN.d.mts +2 -0
- package/locales/zhCN.js +4 -3
- package/locales/zhCN.mjs +307 -0
- package/locales/zhHK.d.mts +1 -0
- package/locales/zhHK.js +4 -3
- package/locales/zhHK.mjs +307 -0
- package/locales/zhTW.d.mts +2 -0
- package/locales/zhTW.js +4 -3
- package/locales/zhTW.mjs +307 -0
- package/material/icons/createSvgIcon.d.mts +2 -0
- package/material/icons/index.mjs +103 -0
- package/material/index.d.mts +6 -0
- package/material/index.mjs +851 -0
- package/material/variables.d.mts +5 -0
- package/material/variables.mjs +131 -0
- package/models/api/gridApiCommon.d.mts +38 -0
- package/models/api/gridApiCommunity.d.mts +12 -0
- package/models/api/gridCallbackDetails.d.mts +15 -0
- package/models/api/gridColumnApi.d.mts +74 -0
- package/models/api/gridColumnGroupingApi.d.mts +19 -0
- package/models/api/gridColumnSpanning.d.mts +28 -0
- package/models/api/gridCoreApi.d.mts +96 -0
- package/models/api/gridCsvExportApi.d.mts +18 -0
- package/models/api/gridDensityApi.d.mts +17 -0
- package/models/api/gridEditingApi.d.mts +237 -0
- package/models/api/gridFilterApi.d.mts +67 -0
- package/models/api/gridFocusApi.d.mts +46 -0
- package/models/api/gridHeaderFilteringApi.d.mts +30 -0
- package/models/api/gridLocaleTextApi.d.mts +247 -0
- package/models/api/gridLoggerApi.d.mts +11 -0
- package/models/api/gridParamsApi.d.mts +111 -0
- package/models/api/gridPreferencesPanelApi.d.mts +17 -0
- package/models/api/gridPrintExportApi.d.mts +11 -0
- package/models/api/gridRowApi.d.mts +147 -0
- package/models/api/gridRowSelectionApi.d.mts +92 -0
- package/models/api/gridRowsMetaApi.d.mts +60 -0
- package/models/api/gridScrollApi.d.mts +24 -0
- package/models/api/gridSortApi.d.mts +46 -0
- package/models/api/gridStateApi.d.mts +33 -0
- package/models/api/index.d.mts +23 -0
- package/models/api/index.mjs +12 -0
- package/models/colDef/gridColDef.d.mts +345 -0
- package/models/colDef/gridColDef.d.ts +12 -0
- package/models/colDef/gridColumnTypesRecord.d.mts +3 -0
- package/models/colDef/index.d.mts +3 -0
- package/models/colDef/index.mjs +6 -0
- package/models/configuration/gridAggregationConfiguration.d.mts +19 -0
- package/models/configuration/gridCellEditableConfiguration.d.mts +19 -0
- package/models/configuration/gridConfiguration.d.mts +21 -0
- package/models/configuration/gridParamsConfiguration.d.mts +12 -0
- package/models/configuration/gridRowConfiguration.d.mts +23 -0
- package/models/controlStateItem.d.mts +14 -0
- package/models/events/gridEventListener.d.mts +8 -0
- package/models/events/gridEventLookup.d.mts +683 -0
- package/models/events/gridEventPublisher.d.mts +29 -0
- package/models/events/index.d.mts +3 -0
- package/models/events/index.mjs +3 -0
- package/models/gridApiCaches.d.mts +12 -0
- package/models/gridCell.d.mts +30 -0
- package/models/gridCellClass.d.mts +12 -0
- package/models/gridColumnGrouping.d.mts +43 -0
- package/models/gridColumnHeaderClass.d.mts +11 -0
- package/models/gridDataSource.d.mts +83 -0
- package/models/gridEditRowModel.d.mts +28 -0
- package/models/gridExport.d.mts +157 -0
- package/models/gridFilterInputComponent.d.mts +32 -0
- package/models/gridFilterItem.d.mts +32 -0
- package/models/gridFilterModel.d.mts +34 -0
- package/models/gridFilterOperator.d.mts +58 -0
- package/models/gridHeaderFilteringModel.d.mts +6 -0
- package/models/gridIconSlotsComponent.d.mts +213 -0
- package/models/gridRowSelectionManager.d.mts +9 -0
- package/models/gridRowSelectionModel.d.mts +9 -0
- package/models/gridRows.d.mts +180 -0
- package/models/gridSlotsComponent.d.mts +235 -0
- package/models/gridSlotsComponentsProps.d.mts +133 -0
- package/models/gridSortModel.d.mts +35 -0
- package/models/gridStateCommunity.d.mts +61 -0
- package/models/index.d.mts +31 -0
- package/models/index.mjs +29 -0
- package/models/params/gridCellParams.d.mts +103 -0
- package/models/params/gridColumnGroupHeaderParams.d.mts +30 -0
- package/models/params/gridColumnHeaderParams.d.mts +15 -0
- package/models/params/gridColumnOrderChangeParams.d.mts +18 -0
- package/models/params/gridColumnResizeParams.d.mts +18 -0
- package/models/params/gridEditCellParams.d.mts +65 -0
- package/models/params/gridPreferencePanelParams.d.mts +2 -0
- package/models/params/gridRowParams.d.mts +109 -0
- package/models/params/gridRowSelectionCheckboxParams.d.mts +5 -0
- package/models/params/gridValueOptionsParams.d.mts +18 -0
- package/models/params/index.d.mts +13 -0
- package/models/params/index.mjs +13 -0
- package/models/props/DataGridProps.d.mts +915 -0
- package/models/props/DataGridProps.d.ts +10 -1
- package/package.json +182 -15
- package/themeAugmentation/index.d.mts +2 -0
- package/themeAugmentation/index.mjs +4 -0
- package/themeAugmentation/overrides.d.mts +18 -0
- package/themeAugmentation/props.d.mts +15 -0
- package/utils/assert.js +3 -1
- package/utils/assert.mjs +4 -0
- package/utils/cellBorderUtils.d.mts +4 -0
- package/utils/cellBorderUtils.mjs +24 -0
- package/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.mts +7 -0
- package/utils/cleanupTracking/TimerBasedCleanupTracking.d.mts +9 -0
- package/utils/composeGridClasses.d.mts +3 -0
- package/utils/composeGridClasses.mjs +5 -0
- package/utils/css/context.mjs +60 -0
- package/utils/domUtils.d.mts +30 -0
- package/utils/domUtils.js +3 -1
- package/utils/domUtils.mjs +209 -0
- package/utils/exportAs.d.mts +12 -0
- package/utils/exportAs.js +3 -1
- package/utils/exportAs.mjs +39 -0
- package/utils/getGridLocalization.d.mts +13 -0
- package/utils/getGridLocalization.d.ts +3 -1
- package/utils/getGridLocalization.js +23 -2
- package/utils/getGridLocalization.mjs +28 -0
- package/utils/getPublicApiRef.d.mts +3 -0
- package/utils/index.d.mts +2 -0
- package/utils/index.mjs +1 -0
- package/utils/rtlFlipSide.d.mts +2 -0
- package/utils/rtlFlipSide.mjs +22 -0
- package/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 -7
- package/esm/components/GridColumnUnsortedIcon.js +0 -17
- package/esm/components/GridFooter.d.ts +0 -5
- package/esm/components/GridFooter.js +0 -42
- package/esm/components/GridHeader.js +0 -11
- package/esm/components/GridHeaders.js +0 -49
- package/esm/components/GridLoadingOverlay.d.ts +0 -17
- package/esm/components/GridLoadingOverlay.js +0 -70
- package/esm/components/GridNoColumnsOverlay.d.ts +0 -5
- package/esm/components/GridNoColumnsOverlay.js +0 -38
- package/esm/components/GridNoResultsOverlay.d.ts +0 -4
- package/esm/components/GridNoResultsOverlay.js +0 -16
- package/esm/components/GridNoRowsOverlay.d.ts +0 -5
- package/esm/components/GridNoRowsOverlay.js +0 -25
- package/esm/components/GridPagination.js +0 -86
- package/esm/components/GridRow.d.ts +0 -39
- package/esm/components/GridRow.js +0 -355
- package/esm/components/GridRowCount.js +0 -66
- package/esm/components/GridRowDragAndDropOverlay.d.ts +0 -7
- package/esm/components/GridRowDragAndDropOverlay.js +0 -66
- package/esm/components/GridScrollArea.d.ts +0 -9
- package/esm/components/GridScrollArea.js +0 -256
- package/esm/components/GridScrollShadows.js +0 -122
- package/esm/components/GridScrollbarFillerCell.js +0 -16
- package/esm/components/GridSelectedRowCount.js +0 -69
- package/esm/components/GridSkeletonLoadingOverlay.d.ts +0 -14
- package/esm/components/GridSkeletonLoadingOverlay.js +0 -195
- package/esm/components/base/GridBody.d.ts +0 -2
- package/esm/components/base/GridBody.js +0 -2
- package/esm/components/base/GridFooterPlaceholder.js +0 -10
- package/esm/components/base/GridOverlays.d.ts +0 -11
- package/esm/components/base/GridOverlays.js +0 -83
- package/esm/components/base/index.d.ts +0 -2
- package/esm/components/base/index.js +0 -2
- package/esm/components/cell/GridActionsCell.d.ts +0 -41
- package/esm/components/cell/GridActionsCell.js +0 -290
- package/esm/components/cell/GridActionsCellItem.d.ts +0 -55
- package/esm/components/cell/GridActionsCellItem.js +0 -59
- package/esm/components/cell/GridBooleanCell.d.ts +0 -13
- package/esm/components/cell/GridBooleanCell.js +0 -124
- package/esm/components/cell/GridCell.d.ts +0 -77
- package/esm/components/cell/GridCell.js +0 -344
- package/esm/components/cell/GridEditBooleanCell.d.ts +0 -17
- package/esm/components/cell/GridEditBooleanCell.js +0 -144
- package/esm/components/cell/GridEditDateCell.d.ts +0 -21
- package/esm/components/cell/GridEditDateCell.js +0 -199
- package/esm/components/cell/GridEditInputCell.d.ts +0 -19
- package/esm/components/cell/GridEditInputCell.js +0 -105
- package/esm/components/cell/GridEditLongTextCell.d.ts +0 -41
- package/esm/components/cell/GridEditLongTextCell.js +0 -240
- package/esm/components/cell/GridEditSingleSelectCell.d.ts +0 -21
- package/esm/components/cell/GridEditSingleSelectCell.js +0 -192
- package/esm/components/cell/GridFooterCell.d.ts +0 -9
- package/esm/components/cell/GridFooterCell.js +0 -48
- package/esm/components/cell/GridLongTextCell.d.ts +0 -43
- package/esm/components/cell/GridLongTextCell.js +0 -246
- package/esm/components/cell/GridSkeletonCell.d.ts +0 -20
- package/esm/components/cell/GridSkeletonCell.js +0 -105
- package/esm/components/cell/index.d.ts +0 -12
- package/esm/components/cell/index.js +0 -11
- package/esm/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +0 -10
- package/esm/components/columnHeaders/ColumnHeaderMenuIcon.js +0 -66
- package/esm/components/columnHeaders/GridBaseColumnHeaders.js +0 -47
- package/esm/components/columnHeaders/GridColumnGroupHeader.d.ts +0 -21
- package/esm/components/columnHeaders/GridColumnGroupHeader.js +0 -152
- package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +0 -12
- package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.js +0 -109
- package/esm/components/columnHeaders/GridColumnHeaderItem.d.ts +0 -33
- package/esm/components/columnHeaders/GridColumnHeaderItem.js +0 -275
- package/esm/components/columnHeaders/GridColumnHeaderSeparator.js +0 -73
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +0 -9
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.js +0 -38
- package/esm/components/columnHeaders/GridColumnHeaderTitle.js +0 -90
- package/esm/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +0 -32
- package/esm/components/columnHeaders/GridGenericColumnHeaderItem.js +0 -82
- package/esm/components/columnHeaders/GridIconButtonContainer.js +0 -45
- package/esm/components/columnHeaders/index.d.ts +0 -5
- package/esm/components/columnHeaders/index.js +0 -5
- package/esm/components/columnSelection/GridCellCheckboxRenderer.d.ts +0 -5
- package/esm/components/columnSelection/GridCellCheckboxRenderer.js +0 -174
- package/esm/components/columnSelection/GridHeaderCheckbox.d.ts +0 -4
- package/esm/components/columnSelection/GridHeaderCheckbox.js +0 -176
- package/esm/components/columnSelection/index.d.ts +0 -2
- package/esm/components/columnSelection/index.js +0 -2
- package/esm/components/columnsManagement/GridColumnsManagement.d.ts +0 -50
- package/esm/components/columnsManagement/GridColumnsManagement.js +0 -317
- package/esm/components/columnsManagement/index.d.ts +0 -1
- package/esm/components/columnsManagement/index.js +0 -1
- package/esm/components/columnsManagement/utils.d.ts +0 -4
- package/esm/components/columnsPanel/ColumnsPanelTrigger.d.ts +0 -33
- package/esm/components/columnsPanel/ColumnsPanelTrigger.js +0 -102
- package/esm/components/columnsPanel/index.d.ts +0 -1
- package/esm/components/columnsPanel/index.js +0 -1
- package/esm/components/containers/GridFooterContainer.js +0 -56
- package/esm/components/containers/GridOverlay.js +0 -63
- package/esm/components/containers/GridRoot.js +0 -88
- package/esm/components/containers/GridRootStyles.d.ts +0 -7
- package/esm/components/containers/GridRootStyles.js +0 -722
- package/esm/components/containers/GridToolbarContainer.js +0 -69
- package/esm/components/containers/index.d.ts +0 -4
- package/esm/components/containers/index.js +0 -4
- package/esm/components/export/ExportCsv.d.ts +0 -30
- package/esm/components/export/ExportCsv.js +0 -83
- package/esm/components/export/ExportPrint.d.ts +0 -30
- package/esm/components/export/ExportPrint.js +0 -83
- package/esm/components/export/index.d.ts +0 -2
- package/esm/components/export/index.js +0 -2
- package/esm/components/filterPanel/FilterPanelTrigger.d.ts +0 -37
- package/esm/components/filterPanel/FilterPanelTrigger.js +0 -105
- package/esm/components/filterPanel/index.d.ts +0 -1
- package/esm/components/filterPanel/index.js +0 -1
- package/esm/components/index.d.ts +0 -26
- package/esm/components/index.js +0 -26
- package/esm/components/menu/GridMenu.d.ts +0 -15
- package/esm/components/menu/GridMenu.js +0 -110
- package/esm/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +0 -26
- package/esm/components/menu/columnMenu/GridColumnHeaderMenu.js +0 -63
- package/esm/components/menu/columnMenu/GridColumnMenu.d.ts +0 -23
- package/esm/components/menu/columnMenu/GridColumnMenu.js +0 -114
- package/esm/components/menu/columnMenu/GridColumnMenuContainer.d.ts +0 -4
- package/esm/components/menu/columnMenu/GridColumnMenuContainer.js +0 -72
- package/esm/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +0 -7
- package/esm/components/menu/columnMenu/GridColumnMenuProps.d.ts +0 -20
- package/esm/components/menu/columnMenu/index.d.ts +0 -6
- package/esm/components/menu/columnMenu/index.js +0 -8
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +0 -6
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +0 -20
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +0 -6
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +0 -36
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +0 -6
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +0 -53
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +0 -6
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +0 -36
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +0 -6
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +0 -69
- package/esm/components/menu/columnMenu/menuItems/index.d.ts +0 -5
- package/esm/components/menu/columnMenu/menuItems/index.js +0 -5
- package/esm/components/menu/index.d.ts +0 -2
- package/esm/components/menu/index.js +0 -2
- package/esm/components/panel/GridColumnsPanel.d.ts +0 -4
- package/esm/components/panel/GridColumnsPanel.js +0 -11
- package/esm/components/panel/GridPanel.d.ts +0 -21
- package/esm/components/panel/GridPanel.js +0 -110
- package/esm/components/panel/GridPanelContent.js +0 -53
- package/esm/components/panel/GridPanelContext.js +0 -29
- package/esm/components/panel/GridPanelFooter.js +0 -50
- package/esm/components/panel/GridPanelHeader.js +0 -47
- package/esm/components/panel/GridPanelWrapper.js +0 -50
- package/esm/components/panel/GridPreferencesPanel.js +0 -43
- package/esm/components/panel/filterPanel/GridFilterForm.d.ts +0 -107
- package/esm/components/panel/filterPanel/GridFilterForm.js +0 -474
- package/esm/components/panel/filterPanel/GridFilterInputBoolean.d.ts +0 -9
- package/esm/components/panel/filterPanel/GridFilterInputBoolean.js +0 -125
- package/esm/components/panel/filterPanel/GridFilterInputDate.d.ts +0 -10
- package/esm/components/panel/filterPanel/GridFilterInputDate.js +0 -137
- package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +0 -11
- package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -113
- package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +0 -10
- package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.js +0 -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/QuickFilterContext.js +0 -12
- package/esm/components/quickFilter/QuickFilterControl.d.ts +0 -28
- package/esm/components/quickFilter/QuickFilterControl.js +0 -124
- package/esm/components/quickFilter/QuickFilterTrigger.d.ts +0 -28
- package/esm/components/quickFilter/QuickFilterTrigger.js +0 -80
- package/esm/components/quickFilter/index.d.ts +0 -4
- package/esm/components/quickFilter/index.js +0 -4
- package/esm/components/reexportable.d.ts +0 -1
- package/esm/components/reexportable.js +0 -1
- package/esm/components/toolbar/GridToolbar.d.ts +0 -24
- package/esm/components/toolbar/GridToolbar.js +0 -88
- package/esm/components/toolbar/GridToolbarColumnsButton.d.ts +0 -17
- package/esm/components/toolbar/GridToolbarColumnsButton.js +0 -85
- package/esm/components/toolbar/GridToolbarDensitySelector.d.ts +0 -17
- package/esm/components/toolbar/GridToolbarDensitySelector.js +0 -123
- package/esm/components/toolbar/GridToolbarExport.d.ts +0 -42
- package/esm/components/toolbar/GridToolbarExport.js +0 -131
- package/esm/components/toolbar/GridToolbarExportContainer.d.ts +0 -16
- package/esm/components/toolbar/GridToolbarExportContainer.js +0 -88
- package/esm/components/toolbar/GridToolbarFilterButton.d.ts +0 -18
- package/esm/components/toolbar/GridToolbarFilterButton.js +0 -149
- package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +0 -45
- package/esm/components/toolbar/GridToolbarQuickFilter.js +0 -188
- package/esm/components/toolbar/index.d.ts +0 -8
- package/esm/components/toolbar/index.js +0 -7
- package/esm/components/toolbarV8/GridToolbar.d.ts +0 -17
- package/esm/components/toolbarV8/GridToolbar.js +0 -201
- package/esm/components/toolbarV8/Toolbar.js +0 -208
- package/esm/components/toolbarV8/ToolbarButton.d.ts +0 -23
- package/esm/components/toolbarV8/ToolbarButton.js +0 -111
- package/esm/components/toolbarV8/ToolbarContext.js +0 -12
- package/esm/components/toolbarV8/index.d.ts +0 -2
- package/esm/components/toolbarV8/index.js +0 -2
- package/esm/components/virtualization/GridBottomContainer.js +0 -28
- package/esm/components/virtualization/GridMainContainer.d.ts +0 -19
- package/esm/components/virtualization/GridMainContainer.js +0 -57
- package/esm/components/virtualization/GridTopContainer.js +0 -28
- package/esm/components/virtualization/GridVirtualScrollbar.js +0 -110
- package/esm/components/virtualization/GridVirtualScroller.js +0 -156
- package/esm/components/virtualization/GridVirtualScrollerContent.js +0 -46
- package/esm/components/virtualization/GridVirtualScrollerFiller.js +0 -85
- package/esm/components/virtualization/GridVirtualScrollerRenderZone.js +0 -41
- package/esm/constants/dataGridPropsDefaultValues.d.ts +0 -5
- package/esm/constants/dataGridPropsDefaultValues.js +0 -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/constants/localeTextConstants.js +0 -296
- package/esm/context/GridContextProvider.d.ts +0 -17
- package/esm/context/GridContextProvider.js +0 -35
- package/esm/context/index.d.ts +0 -1
- package/esm/context/index.js +0 -1
- package/esm/hooks/core/gridCoreSelector.d.ts +0 -6
- package/esm/hooks/core/gridCoreSelector.js +0 -6
- package/esm/hooks/core/gridPropsSelectors.d.ts +0 -10
- package/esm/hooks/core/gridPropsSelectors.js +0 -18
- package/esm/hooks/core/index.d.ts +0 -2
- package/esm/hooks/core/index.js +0 -1
- package/esm/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +0 -163
- package/esm/hooks/core/pipeProcessing/index.d.ts +0 -4
- package/esm/hooks/core/pipeProcessing/index.js +0 -4
- package/esm/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +0 -32
- package/esm/hooks/core/pipeProcessing/useGridPipeProcessing.js +0 -124
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +0 -4
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js +0 -28
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +0 -4
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js +0 -30
- package/esm/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +0 -81
- package/esm/hooks/core/strategyProcessing/index.d.ts +0 -3
- package/esm/hooks/core/strategyProcessing/index.js +0 -3
- package/esm/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +0 -4
- package/esm/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +0 -20
- package/esm/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +0 -43
- package/esm/hooks/core/strategyProcessing/useGridStrategyProcessing.js +0 -112
- package/esm/hooks/core/useGridApiInitialization.d.ts +0 -5
- package/esm/hooks/core/useGridApiInitialization.js +0 -114
- package/esm/hooks/core/useGridInitialization.d.ts +0 -7
- package/esm/hooks/core/useGridInitialization.js +0 -25
- package/esm/hooks/core/useGridIsRtl.d.ts +0 -3
- package/esm/hooks/core/useGridLocaleText.d.ts +0 -4
- package/esm/hooks/core/useGridLocaleText.js +0 -12
- package/esm/hooks/core/useGridLoggerFactory.d.ts +0 -4
- package/esm/hooks/core/useGridLoggerFactory.js +0 -44
- package/esm/hooks/core/useGridProps.d.ts +0 -6
- package/esm/hooks/core/useGridRefs.d.ts +0 -3
- package/esm/hooks/core/useGridStateInitialization.d.ts +0 -3
- package/esm/hooks/core/useGridStateInitialization.js +0 -97
- package/esm/hooks/core/useGridVirtualizer.js +0 -265
- package/esm/hooks/features/clipboard/useGridClipboard.d.ts +0 -8
- package/esm/hooks/features/clipboard/useGridClipboard.js +0 -97
- package/esm/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +0 -19
- package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +0 -20
- package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.js +0 -10
- package/esm/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +0 -19
- package/esm/hooks/features/columnGrouping/gridColumnGroupsUtils.js +0 -119
- package/esm/hooks/features/columnGrouping/index.d.ts +0 -2
- package/esm/hooks/features/columnGrouping/index.js +0 -2
- package/esm/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +0 -10
- package/esm/hooks/features/columnGrouping/useGridColumnGrouping.js +0 -110
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +0 -65
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.js +0 -316
- package/esm/hooks/features/columnMenu/columnMenuSelector.d.ts +0 -2
- package/esm/hooks/features/columnMenu/columnMenuSelector.js +0 -2
- package/esm/hooks/features/columnMenu/getColumnMenuItemKeys.d.ts +0 -17
- package/esm/hooks/features/columnMenu/index.d.ts +0 -2
- package/esm/hooks/features/columnMenu/index.js +0 -2
- package/esm/hooks/features/columnMenu/useGridColumnMenu.d.ts +0 -9
- package/esm/hooks/features/columnMenu/useGridColumnMenu.js +0 -116
- package/esm/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +0 -13
- package/esm/hooks/features/columnMenu/useGridColumnMenuSlots.js +0 -54
- package/esm/hooks/features/columnResize/columnResizeSelector.d.ts +0 -5
- package/esm/hooks/features/columnResize/columnResizeSelector.js +0 -3
- package/esm/hooks/features/columnResize/gridColumnResizeApi.d.ts +0 -57
- package/esm/hooks/features/columnResize/index.d.ts +0 -3
- package/esm/hooks/features/columnResize/index.js +0 -3
- package/esm/hooks/features/columnResize/useGridColumnResize.d.ts +0 -10
- package/esm/hooks/features/columnResize/useGridColumnResize.js +0 -616
- package/esm/hooks/features/columns/gridColumnsInterfaces.d.ts +0 -42
- package/esm/hooks/features/columns/gridColumnsSelector.d.ts +0 -114
- package/esm/hooks/features/columns/gridColumnsSelector.js +0 -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 -321
- 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 -645
- package/esm/hooks/features/editing/utils.d.ts +0 -2
- package/esm/hooks/features/events/useGridEvents.d.ts +0 -8
- package/esm/hooks/features/events/useGridEvents.js +0 -24
- package/esm/hooks/features/export/serializers/csvSerializer.d.ts +0 -19
- package/esm/hooks/features/export/serializers/csvSerializer.js +0 -141
- package/esm/hooks/features/export/useGridCsvExport.d.ts +0 -11
- package/esm/hooks/features/export/useGridCsvExport.js +0 -74
- package/esm/hooks/features/export/useGridPrintExport.d.ts +0 -10
- package/esm/hooks/features/export/useGridPrintExport.js +0 -256
- package/esm/hooks/features/export/utils.d.ts +0 -20
- package/esm/hooks/features/export/utils.js +0 -39
- package/esm/hooks/features/filter/gridFilterSelector.d.ts +0 -153
- package/esm/hooks/features/filter/gridFilterSelector.js +0 -206
- package/esm/hooks/features/filter/gridFilterState.d.ts +0 -64
- package/esm/hooks/features/filter/gridFilterState.js +0 -24
- package/esm/hooks/features/filter/gridFilterUtils.d.ts +0 -23
- package/esm/hooks/features/filter/gridFilterUtils.js +0 -324
- package/esm/hooks/features/filter/index.d.ts +0 -4
- package/esm/hooks/features/filter/index.js +0 -2
- package/esm/hooks/features/filter/useGridFilter.d.ts +0 -12
- package/esm/hooks/features/filter/useGridFilter.js +0 -370
- package/esm/hooks/features/focus/gridFocusState.d.ts +0 -20
- package/esm/hooks/features/focus/gridFocusStateSelector.d.ts +0 -28
- package/esm/hooks/features/focus/gridFocusStateSelector.js +0 -11
- package/esm/hooks/features/focus/index.d.ts +0 -2
- package/esm/hooks/features/focus/index.js +0 -2
- package/esm/hooks/features/focus/useGridFocus.d.ts +0 -11
- package/esm/hooks/features/focus/useGridFocus.js +0 -447
- package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +0 -11
- package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +0 -7
- package/esm/hooks/features/headerFiltering/index.d.ts +0 -1
- package/esm/hooks/features/headerFiltering/index.js +0 -1
- package/esm/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +0 -6
- package/esm/hooks/features/headerFiltering/useGridHeaderFiltering.js +0 -107
- package/esm/hooks/features/index.d.ts +0 -20
- package/esm/hooks/features/index.js +0 -21
- package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +0 -13
- package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +0 -700
- package/esm/hooks/features/keyboardNavigation/utils.d.ts +0 -26
- package/esm/hooks/features/keyboardNavigation/utils.js +0 -53
- package/esm/hooks/features/listView/gridListViewSelectors.d.ts +0 -14
- package/esm/hooks/features/listView/gridListViewSelectors.js +0 -14
- package/esm/hooks/features/listView/index.d.ts +0 -1
- package/esm/hooks/features/listView/index.js +0 -1
- package/esm/hooks/features/listView/useGridListView.d.ts +0 -10
- package/esm/hooks/features/listView/useGridListView.js +0 -63
- package/esm/hooks/features/overlays/gridOverlaysInterfaces.d.ts +0 -3
- package/esm/hooks/features/overlays/index.d.ts +0 -1
- package/esm/hooks/features/overlays/useGridOverlays.d.ts +0 -12
- package/esm/hooks/features/overlays/useGridOverlays.js +0 -45
- package/esm/hooks/features/pagination/gridPaginationInterfaces.d.ts +0 -58
- package/esm/hooks/features/pagination/gridPaginationSelector.d.ts +0 -95
- package/esm/hooks/features/pagination/gridPaginationSelector.js +0 -156
- package/esm/hooks/features/pagination/gridPaginationUtils.d.ts +0 -9
- package/esm/hooks/features/pagination/gridPaginationUtils.js +0 -28
- package/esm/hooks/features/pagination/index.d.ts +0 -2
- package/esm/hooks/features/pagination/index.js +0 -2
- package/esm/hooks/features/pagination/useGridPagination.d.ts +0 -10
- package/esm/hooks/features/pagination/useGridPagination.js +0 -30
- package/esm/hooks/features/pagination/useGridPaginationMeta.d.ts +0 -4
- package/esm/hooks/features/pagination/useGridPaginationMeta.js +0 -79
- package/esm/hooks/features/pagination/useGridPaginationModel.d.ts +0 -11
- package/esm/hooks/features/pagination/useGridPaginationModel.js +0 -239
- package/esm/hooks/features/pagination/useGridRowCount.d.ts +0 -4
- package/esm/hooks/features/pagination/useGridRowCount.js +0 -142
- package/esm/hooks/features/pivoting/gridPivotingInterfaces.d.ts +0 -10
- package/esm/hooks/features/pivoting/gridPivotingSelectors.d.ts +0 -8
- package/esm/hooks/features/pivoting/gridPivotingSelectors.js +0 -7
- package/esm/hooks/features/pivoting/index.d.ts +0 -2
- package/esm/hooks/features/pivoting/index.js +0 -2
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +0 -5
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelSelector.js +0 -8
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +0 -13
- package/esm/hooks/features/preferencesPanel/index.d.ts +0 -3
- package/esm/hooks/features/preferencesPanel/index.js +0 -3
- package/esm/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +0 -9
- package/esm/hooks/features/preferencesPanel/useGridPreferencesPanel.js +0 -88
- package/esm/hooks/features/rowReorder/gridRowReorderInterfaces.d.ts +0 -28
- package/esm/hooks/features/rowReorder/gridRowReorderSelector.d.ts +0 -24
- package/esm/hooks/features/rowReorder/gridRowReorderSelector.js +0 -21
- package/esm/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +0 -12
- package/esm/hooks/features/rowSelection/gridRowSelectionSelector.js +0 -29
- package/esm/hooks/features/rowSelection/index.d.ts +0 -1
- package/esm/hooks/features/rowSelection/index.js +0 -1
- package/esm/hooks/features/rowSelection/useGridRowSelection.d.ts +0 -12
- package/esm/hooks/features/rowSelection/useGridRowSelection.js +0 -600
- package/esm/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +0 -4
- package/esm/hooks/features/rowSelection/useGridRowSelectionPreProcessors.js +0 -48
- package/esm/hooks/features/rowSelection/utils.d.ts +0 -20
- package/esm/hooks/features/rowSelection/utils.js +0 -211
- package/esm/hooks/features/rows/gridRowSpanningUtils.d.ts +0 -10
- package/esm/hooks/features/rows/gridRowSpanningUtils.js +0 -45
- package/esm/hooks/features/rows/gridRowsInterfaces.d.ts +0 -98
- package/esm/hooks/features/rows/gridRowsMetaInterfaces.d.ts +0 -10
- package/esm/hooks/features/rows/gridRowsMetaSelector.d.ts +0 -2
- package/esm/hooks/features/rows/gridRowsMetaSelector.js +0 -2
- package/esm/hooks/features/rows/gridRowsSelector.d.ts +0 -80
- package/esm/hooks/features/rows/gridRowsSelector.js +0 -70
- package/esm/hooks/features/rows/gridRowsUtils.d.ts +0 -61
- package/esm/hooks/features/rows/gridRowsUtils.js +0 -305
- package/esm/hooks/features/rows/index.d.ts +0 -5
- package/esm/hooks/features/rows/index.js +0 -4
- package/esm/hooks/features/rows/useGridParamsApi.d.ts +0 -14
- package/esm/hooks/features/rows/useGridParamsApi.js +0 -117
- package/esm/hooks/features/rows/useGridParamsOverridableMethods.d.ts +0 -7
- package/esm/hooks/features/rows/useGridParamsOverridableMethods.js +0 -28
- package/esm/hooks/features/rows/useGridRowAriaAttributes.d.ts +0 -2
- package/esm/hooks/features/rows/useGridRowAriaAttributes.js +0 -19
- package/esm/hooks/features/rows/useGridRowSpanning.d.ts +0 -17
- package/esm/hooks/features/rows/useGridRowSpanning.js +0 -208
- package/esm/hooks/features/rows/useGridRows.d.ts +0 -7
- package/esm/hooks/features/rows/useGridRows.js +0 -482
- package/esm/hooks/features/rows/useGridRowsMeta.d.ts +0 -10
- package/esm/hooks/features/rows/useGridRowsMeta.js +0 -60
- package/esm/hooks/features/rows/useGridRowsOverridableMethods.d.ts +0 -7
- package/esm/hooks/features/rows/useGridRowsOverridableMethods.js +0 -93
- package/esm/hooks/features/rows/useGridRowsPreProcessors.d.ts +0 -3
- package/esm/hooks/features/rows/useGridRowsPreProcessors.js +0 -81
- package/esm/hooks/features/scroll/useGridScroll.d.ts +0 -12
- package/esm/hooks/features/scroll/useGridScroll.js +0 -132
- package/esm/hooks/features/sorting/gridSortingSelector.d.ts +0 -42
- package/esm/hooks/features/sorting/gridSortingSelector.js +0 -70
- package/esm/hooks/features/sorting/gridSortingState.d.ts +0 -14
- package/esm/hooks/features/sorting/gridSortingUtils.d.ts +0 -18
- package/esm/hooks/features/sorting/gridSortingUtils.js +0 -140
- package/esm/hooks/features/sorting/index.d.ts +0 -4
- package/esm/hooks/features/sorting/index.js +0 -2
- package/esm/hooks/features/sorting/useGridSorting.d.ts +0 -10
- package/esm/hooks/features/sorting/useGridSorting.js +0 -252
- package/esm/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +0 -40
- package/esm/hooks/features/statePersistence/index.d.ts +0 -1
- package/esm/hooks/features/statePersistence/useGridStatePersistence.d.ts +0 -3
- package/esm/hooks/features/statePersistence/useGridStatePersistence.js +0 -23
- package/esm/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +0 -8
- package/esm/hooks/features/virtualization/gridFocusedVirtualCellSelector.js +0 -32
- package/esm/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +0 -46
- package/esm/hooks/features/virtualization/gridVirtualizationSelectors.js +0 -45
- package/esm/hooks/features/virtualization/index.d.ts +0 -3
- package/esm/hooks/features/virtualization/index.js +0 -3
- package/esm/hooks/features/virtualization/useGridVirtualization.d.ts +0 -10
- package/esm/hooks/features/virtualization/useGridVirtualization.js +0 -101
- package/esm/hooks/index.d.ts +0 -3
- package/esm/hooks/index.js +0 -3
- package/esm/hooks/utils/index.d.ts +0 -10
- package/esm/hooks/utils/index.js +0 -9
- package/esm/hooks/utils/useGridApiContext.d.ts +0 -4
- package/esm/hooks/utils/useGridApiContext.js +0 -11
- package/esm/hooks/utils/useGridApiMethod.d.ts +0 -7
- package/esm/hooks/utils/useGridApiRef.d.ts +0 -6
- package/esm/hooks/utils/useGridAriaAttributes.js +0 -28
- package/esm/hooks/utils/useGridConfiguration.d.ts +0 -4
- package/esm/hooks/utils/useGridConfiguration.js +0 -11
- package/esm/hooks/utils/useGridEvent.d.ts +0 -12
- package/esm/hooks/utils/useGridEvent.js +0 -94
- package/esm/hooks/utils/useGridInitializeState.d.ts +0 -8
- package/esm/hooks/utils/useGridLogger.d.ts +0 -4
- package/esm/hooks/utils/useGridNativeEventListener.d.ts +0 -3
- package/esm/hooks/utils/useGridNativeEventListener.js +0 -17
- package/esm/hooks/utils/useGridPrivateApiContext.d.ts +0 -6
- package/esm/hooks/utils/useGridPrivateApiContext.js +0 -12
- package/esm/hooks/utils/useGridRootProps.d.ts +0 -2
- package/esm/hooks/utils/useGridRootProps.js +0 -11
- package/esm/hooks/utils/useGridSelector.d.ts +0 -6
- package/esm/hooks/utils/useGridSelector.js +0 -84
- package/esm/hooks/utils/useGridVisibleRows.d.ts +0 -26
- package/esm/hooks/utils/useGridVisibleRows.js +0 -17
- package/esm/index.d.ts +0 -39
- package/esm/index.js +0 -39
- package/esm/internals/demo/index.d.ts +0 -1
- package/esm/internals/demo/index.js +0 -1
- package/esm/internals/index.d.ts +0 -128
- package/esm/internals/index.js +0 -99
- package/esm/internals/utils/attachPinnedStyle.d.ts +0 -2
- package/esm/internals/utils/attachPinnedStyle.js +0 -9
- package/esm/internals/utils/cache.d.ts +0 -9
- package/esm/internals/utils/cache.js +0 -18
- package/esm/internals/utils/getPinnedCellOffset.d.ts +0 -3
- package/esm/internals/utils/getPinnedCellOffset.js +0 -21
- package/esm/internals/utils/gridRowGroupingUtils.js +0 -9
- package/esm/internals/utils/index.d.ts +0 -5
- package/esm/internals/utils/index.js +0 -5
- package/esm/internals/utils/propValidation.d.ts +0 -4
- package/esm/internals/utils/propValidation.js +0 -12
- package/esm/locales/arSD.d.ts +0 -2
- package/esm/locales/arSD.js +0 -309
- package/esm/locales/beBY.d.ts +0 -2
- package/esm/locales/beBY.js +0 -334
- package/esm/locales/bgBG.d.ts +0 -2
- package/esm/locales/bgBG.js +0 -311
- package/esm/locales/bnBD.d.ts +0 -2
- package/esm/locales/bnBD.js +0 -309
- package/esm/locales/caES.d.ts +0 -2
- package/esm/locales/caES.js +0 -297
- package/esm/locales/csCZ.d.ts +0 -2
- package/esm/locales/csCZ.js +0 -336
- package/esm/locales/daDK.d.ts +0 -2
- package/esm/locales/daDK.js +0 -310
- package/esm/locales/deDE.d.ts +0 -2
- package/esm/locales/deDE.js +0 -300
- package/esm/locales/elGR.d.ts +0 -2
- package/esm/locales/elGR.js +0 -312
- package/esm/locales/enUS.d.ts +0 -2
- package/esm/locales/enUS.js +0 -3
- package/esm/locales/esES.d.ts +0 -2
- package/esm/locales/esES.js +0 -297
- package/esm/locales/faIR.d.ts +0 -2
- package/esm/locales/faIR.js +0 -310
- package/esm/locales/fiFI.d.ts +0 -2
- package/esm/locales/fiFI.js +0 -311
- package/esm/locales/frFR.d.ts +0 -2
- package/esm/locales/frFR.js +0 -306
- package/esm/locales/heIL.d.ts +0 -2
- package/esm/locales/heIL.js +0 -308
- package/esm/locales/hrHR.d.ts +0 -1
- package/esm/locales/hrHR.js +0 -328
- package/esm/locales/huHU.d.ts +0 -2
- package/esm/locales/huHU.js +0 -309
- package/esm/locales/hyAM.d.ts +0 -2
- package/esm/locales/hyAM.js +0 -335
- package/esm/locales/idID.d.ts +0 -4
- package/esm/locales/idID.js +0 -300
- package/esm/locales/index.d.ts +0 -40
- package/esm/locales/index.js +0 -41
- package/esm/locales/isIS.d.ts +0 -2
- package/esm/locales/isIS.js +0 -311
- package/esm/locales/itIT.d.ts +0 -2
- package/esm/locales/itIT.js +0 -298
- package/esm/locales/jaJP.d.ts +0 -2
- package/esm/locales/jaJP.js +0 -305
- package/esm/locales/koKR.d.ts +0 -2
- package/esm/locales/koKR.js +0 -300
- package/esm/locales/nbNO.d.ts +0 -2
- package/esm/locales/nbNO.js +0 -308
- package/esm/locales/nlNL.d.ts +0 -2
- package/esm/locales/nlNL.js +0 -310
- package/esm/locales/nnNO.d.ts +0 -2
- package/esm/locales/nnNO.js +0 -300
- package/esm/locales/plPL.d.ts +0 -2
- package/esm/locales/plPL.js +0 -305
- package/esm/locales/ptBR.d.ts +0 -2
- package/esm/locales/ptBR.js +0 -297
- package/esm/locales/ptPT.d.ts +0 -2
- package/esm/locales/ptPT.js +0 -297
- package/esm/locales/roRO.d.ts +0 -2
- package/esm/locales/roRO.js +0 -309
- package/esm/locales/ruRU.d.ts +0 -2
- package/esm/locales/ruRU.js +0 -331
- package/esm/locales/skSK.d.ts +0 -2
- package/esm/locales/skSK.js +0 -336
- package/esm/locales/svSE.d.ts +0 -2
- package/esm/locales/svSE.js +0 -311
- package/esm/locales/thTH.d.ts +0 -2
- package/esm/locales/thTH.js +0 -297
- package/esm/locales/trTR.d.ts +0 -2
- package/esm/locales/trTR.js +0 -309
- package/esm/locales/ukUA.d.ts +0 -2
- package/esm/locales/ukUA.js +0 -331
- package/esm/locales/urPK.d.ts +0 -2
- package/esm/locales/urPK.js +0 -311
- package/esm/locales/viVN.d.ts +0 -2
- package/esm/locales/viVN.js +0 -311
- package/esm/locales/zhCN.d.ts +0 -2
- package/esm/locales/zhCN.js +0 -306
- package/esm/locales/zhHK.d.ts +0 -1
- package/esm/locales/zhHK.js +0 -306
- package/esm/locales/zhTW.d.ts +0 -2
- package/esm/locales/zhTW.js +0 -306
- package/esm/material/icons/createSvgIcon.d.ts +0 -2
- package/esm/material/icons/index.js +0 -103
- package/esm/material/index.d.ts +0 -6
- package/esm/material/index.js +0 -851
- package/esm/material/variables.d.ts +0 -5
- package/esm/material/variables.js +0 -131
- package/esm/models/api/gridApiCommon.d.ts +0 -38
- package/esm/models/api/gridApiCommunity.d.ts +0 -12
- package/esm/models/api/gridCallbackDetails.d.ts +0 -15
- package/esm/models/api/gridColumnApi.d.ts +0 -74
- package/esm/models/api/gridColumnGroupingApi.d.ts +0 -19
- package/esm/models/api/gridColumnSpanning.d.ts +0 -28
- package/esm/models/api/gridCoreApi.d.ts +0 -96
- package/esm/models/api/gridCsvExportApi.d.ts +0 -18
- package/esm/models/api/gridDensityApi.d.ts +0 -17
- package/esm/models/api/gridEditingApi.d.ts +0 -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/assert.js +0 -3
- package/esm/utils/cellBorderUtils.d.ts +0 -4
- package/esm/utils/cellBorderUtils.js +0 -24
- package/esm/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +0 -7
- package/esm/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +0 -9
- package/esm/utils/composeGridClasses.d.ts +0 -3
- package/esm/utils/composeGridClasses.js +0 -5
- package/esm/utils/css/context.js +0 -60
- package/esm/utils/domUtils.d.ts +0 -30
- package/esm/utils/domUtils.js +0 -208
- package/esm/utils/exportAs.d.ts +0 -12
- package/esm/utils/exportAs.js +0 -38
- package/esm/utils/getGridLocalization.d.ts +0 -11
- package/esm/utils/getGridLocalization.js +0 -9
- package/esm/utils/getPublicApiRef.d.ts +0 -3
- package/esm/utils/index.d.ts +0 -2
- package/esm/utils/index.js +0 -1
- package/esm/utils/rtlFlipSide.d.ts +0 -2
- package/esm/utils/rtlFlipSide.js +0 -22
- /package/{esm/components/GridApiContext.d.ts → components/GridApiContext.d.mts} +0 -0
- /package/{esm/components/GridApiContext.js → components/GridApiContext.mjs} +0 -0
- /package/{esm/components/GridConfigurationContext.d.ts → components/GridConfigurationContext.d.mts} +0 -0
- /package/{esm/components/GridConfigurationContext.js → components/GridConfigurationContext.mjs} +0 -0
- /package/{esm/components/GridDetailPanels.d.ts → components/GridDetailPanels.d.mts} +0 -0
- /package/{esm/components/GridDetailPanels.js → components/GridDetailPanels.mjs} +0 -0
- /package/{esm/components/GridHeader.d.ts → components/GridHeader.d.mts} +0 -0
- /package/{esm/components/GridHeaders.d.ts → components/GridHeaders.d.mts} +0 -0
- /package/{esm/components/GridPagination.d.ts → components/GridPagination.d.mts} +0 -0
- /package/{esm/components/GridPinnedRows.d.ts → components/GridPinnedRows.d.mts} +0 -0
- /package/{esm/components/GridPinnedRows.js → components/GridPinnedRows.mjs} +0 -0
- /package/{esm/components/GridRowCount.d.ts → components/GridRowCount.d.mts} +0 -0
- /package/{esm/components/GridScrollShadows.d.ts → components/GridScrollShadows.d.mts} +0 -0
- /package/{esm/components/GridScrollbarFillerCell.d.ts → components/GridScrollbarFillerCell.d.mts} +0 -0
- /package/{esm/components/GridSelectedRowCount.d.ts → components/GridSelectedRowCount.d.mts} +0 -0
- /package/{esm/components/GridShadowScrollArea.d.ts → components/GridShadowScrollArea.d.mts} +0 -0
- /package/{esm/components/GridShadowScrollArea.js → components/GridShadowScrollArea.mjs} +0 -0
- /package/{esm/components/base/GridFooterPlaceholder.d.ts → components/base/GridFooterPlaceholder.d.mts} +0 -0
- /package/{esm/components/columnHeaders/GridBaseColumnHeaders.d.ts → components/columnHeaders/GridBaseColumnHeaders.d.mts} +0 -0
- /package/{esm/components/columnHeaders/GridColumnHeaderSeparator.d.ts → components/columnHeaders/GridColumnHeaderSeparator.d.mts} +0 -0
- /package/{esm/components/columnHeaders/GridColumnHeaderTitle.d.ts → components/columnHeaders/GridColumnHeaderTitle.d.mts} +0 -0
- /package/{esm/components/columnHeaders/GridIconButtonContainer.d.ts → components/columnHeaders/GridIconButtonContainer.d.mts} +0 -0
- /package/{esm/components/columnsManagement/utils.js → components/columnsManagement/utils.mjs} +0 -0
- /package/{esm/components/containers/GridFooterContainer.d.ts → components/containers/GridFooterContainer.d.mts} +0 -0
- /package/{esm/components/containers/GridOverlay.d.ts → components/containers/GridOverlay.d.mts} +0 -0
- /package/{esm/components/containers/GridRoot.d.ts → components/containers/GridRoot.d.mts} +0 -0
- /package/{esm/components/containers/GridToolbarContainer.d.ts → components/containers/GridToolbarContainer.d.mts} +0 -0
- /package/{esm/components/menu/columnMenu/GridColumnMenuItemProps.js → components/menu/columnMenu/GridColumnMenuItemProps.mjs} +0 -0
- /package/{esm/components/menu/columnMenu/GridColumnMenuProps.js → components/menu/columnMenu/GridColumnMenuProps.mjs} +0 -0
- /package/{esm/components/panel/GridPanelContent.d.ts → components/panel/GridPanelContent.d.mts} +0 -0
- /package/{esm/components/panel/GridPanelContext.d.ts → components/panel/GridPanelContext.d.mts} +0 -0
- /package/{esm/components/panel/GridPanelFooter.d.ts → components/panel/GridPanelFooter.d.mts} +0 -0
- /package/{esm/components/panel/GridPanelHeader.d.ts → components/panel/GridPanelHeader.d.mts} +0 -0
- /package/{esm/components/panel/GridPanelWrapper.d.ts → components/panel/GridPanelWrapper.d.mts} +0 -0
- /package/{esm/components/panel/GridPreferencesPanel.d.ts → components/panel/GridPreferencesPanel.d.mts} +0 -0
- /package/{esm/components/panel/filterPanel/filterPanelUtils.js → components/panel/filterPanel/filterPanelUtils.mjs} +0 -0
- /package/{esm/components/quickFilter/QuickFilterContext.d.ts → components/quickFilter/QuickFilterContext.d.mts} +0 -0
- /package/{esm/components/toolbarV8/Toolbar.d.ts → components/toolbarV8/Toolbar.d.mts} +0 -0
- /package/{esm/components/toolbarV8/ToolbarContext.d.ts → components/toolbarV8/ToolbarContext.d.mts} +0 -0
- /package/{esm/components/toolbarV8/utils.d.ts → components/toolbarV8/utils.d.mts} +0 -0
- /package/{esm/components/toolbarV8/utils.js → components/toolbarV8/utils.mjs} +0 -0
- /package/{esm/components/virtualization/GridBottomContainer.d.ts → components/virtualization/GridBottomContainer.d.mts} +0 -0
- /package/{esm/components/virtualization/GridTopContainer.d.ts → components/virtualization/GridTopContainer.d.mts} +0 -0
- /package/{esm/components/virtualization/GridVirtualScrollbar.d.ts → components/virtualization/GridVirtualScrollbar.d.mts} +0 -0
- /package/{esm/components/virtualization/GridVirtualScroller.d.ts → components/virtualization/GridVirtualScroller.d.mts} +0 -0
- /package/{esm/components/virtualization/GridVirtualScrollerContent.d.ts → components/virtualization/GridVirtualScrollerContent.d.mts} +0 -0
- /package/{esm/components/virtualization/GridVirtualScrollerFiller.d.ts → components/virtualization/GridVirtualScrollerFiller.d.mts} +0 -0
- /package/{esm/components/virtualization/GridVirtualScrollerRenderZone.d.ts → components/virtualization/GridVirtualScrollerRenderZone.d.mts} +0 -0
- /package/{esm/constants/cssVariables.d.ts → constants/cssVariables.d.mts} +0 -0
- /package/{esm/constants/cssVariables.js → constants/cssVariables.mjs} +0 -0
- /package/{esm/constants/envConstants.d.ts → constants/envConstants.d.mts} +0 -0
- /package/{esm/constants/envConstants.js → constants/envConstants.mjs} +0 -0
- /package/{esm/constants/gridClasses.d.ts → constants/gridClasses.d.mts} +0 -0
- /package/{esm/constants/gridClasses.js → constants/gridClasses.mjs} +0 -0
- /package/{esm/constants/signature.d.ts → constants/signature.d.mts} +0 -0
- /package/{esm/constants/signature.js → constants/signature.mjs} +0 -0
- /package/{esm/context/GridRootPropsContext.d.ts → context/GridRootPropsContext.d.mts} +0 -0
- /package/{esm/context/GridRootPropsContext.js → context/GridRootPropsContext.mjs} +0 -0
- /package/{esm/hooks/core/pipeProcessing/gridPipeProcessingApi.js → hooks/core/pipeProcessing/gridPipeProcessingApi.mjs} +0 -0
- /package/{esm/hooks/core/strategyProcessing/gridStrategyProcessingApi.js → hooks/core/strategyProcessing/gridStrategyProcessingApi.mjs} +0 -0
- /package/{esm/hooks/core/useGridIsRtl.js → hooks/core/useGridIsRtl.mjs} +0 -0
- /package/{esm/hooks/core/useGridProps.js → hooks/core/useGridProps.mjs} +0 -0
- /package/{esm/hooks/core/useGridRefs.js → hooks/core/useGridRefs.mjs} +0 -0
- /package/{esm/hooks/core/useGridVirtualizer.d.ts → hooks/core/useGridVirtualizer.d.mts} +0 -0
- /package/{esm/hooks/features/columnGrouping/gridColumnGroupsInterfaces.js → hooks/features/columnGrouping/gridColumnGroupsInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/columnMenu/columnMenuInterfaces.d.ts → hooks/features/columnMenu/columnMenuInterfaces.d.mts} +0 -0
- /package/{esm/hooks/features/columnMenu/columnMenuInterfaces.js → hooks/features/columnMenu/columnMenuInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/columnMenu/getColumnMenuItemKeys.js → hooks/features/columnMenu/getColumnMenuItemKeys.mjs} +0 -0
- /package/{esm/hooks/features/columnResize/columnResizeState.d.ts → hooks/features/columnResize/columnResizeState.d.mts} +0 -0
- /package/{esm/hooks/features/columnResize/columnResizeState.js → hooks/features/columnResize/columnResizeState.mjs} +0 -0
- /package/{esm/hooks/features/columnResize/gridColumnResizeApi.js → hooks/features/columnResize/gridColumnResizeApi.mjs} +0 -0
- /package/{esm/hooks/features/columns/gridColumnsInterfaces.js → hooks/features/columns/gridColumnsInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/dataSource/cache.js → hooks/features/dataSource/cache.mjs} +0 -0
- /package/{esm/hooks/features/dataSource/gridDataSourceError.js → hooks/features/dataSource/gridDataSourceError.mjs} +0 -0
- /package/{esm/hooks/features/dataSource/models.js → hooks/features/dataSource/models.mjs} +0 -0
- /package/{esm/hooks/features/dataSource/utils.js → hooks/features/dataSource/utils.mjs} +0 -0
- /package/{esm/hooks/features/density/densityState.js → hooks/features/density/densityState.mjs} +0 -0
- /package/{esm/hooks/features/dimensions/gridDimensionsApi.d.ts → hooks/features/dimensions/gridDimensionsApi.d.mts} +0 -0
- /package/{esm/hooks/features/dimensions/gridDimensionsApi.js → hooks/features/dimensions/gridDimensionsApi.mjs} +0 -0
- /package/{esm/hooks/features/editing/utils.js → hooks/features/editing/utils.mjs} +0 -0
- /package/{esm/hooks/features/focus/gridFocusState.js → hooks/features/focus/gridFocusState.mjs} +0 -0
- /package/{esm/hooks/features/overlays/gridOverlaysInterfaces.js → hooks/features/overlays/gridOverlaysInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/overlays/index.js → hooks/features/overlays/index.mjs} +0 -0
- /package/{esm/hooks/features/pagination/gridPaginationInterfaces.js → hooks/features/pagination/gridPaginationInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/pivoting/gridPivotingInterfaces.js → hooks/features/pivoting/gridPivotingInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/preferencesPanel/gridPreferencePanelState.js → hooks/features/preferencesPanel/gridPreferencePanelState.mjs} +0 -0
- /package/{esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts → hooks/features/preferencesPanel/gridPreferencePanelsValue.d.mts} +0 -0
- /package/{esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.js → hooks/features/preferencesPanel/gridPreferencePanelsValue.mjs} +0 -0
- /package/{esm/hooks/features/rowReorder/gridRowReorderInterfaces.js → hooks/features/rowReorder/gridRowReorderInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/rows/gridRowsInterfaces.js → hooks/features/rows/gridRowsInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/rows/gridRowsMetaInterfaces.js → hooks/features/rows/gridRowsMetaInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/rows/gridRowsMetaState.d.ts → hooks/features/rows/gridRowsMetaState.d.mts} +0 -0
- /package/{esm/hooks/features/rows/gridRowsMetaState.js → hooks/features/rows/gridRowsMetaState.mjs} +0 -0
- /package/{esm/hooks/features/sorting/gridSortingState.js → hooks/features/sorting/gridSortingState.mjs} +0 -0
- /package/{esm/hooks/features/statePersistence/gridStatePersistenceInterface.js → hooks/features/statePersistence/gridStatePersistenceInterface.mjs} +0 -0
- /package/{esm/hooks/features/statePersistence/index.js → hooks/features/statePersistence/index.mjs} +0 -0
- /package/{esm/hooks/utils/useFirstRender.d.ts → hooks/utils/useFirstRender.d.mts} +0 -0
- /package/{esm/hooks/utils/useFirstRender.js → hooks/utils/useFirstRender.mjs} +0 -0
- /package/{esm/hooks/utils/useGridApiMethod.js → hooks/utils/useGridApiMethod.mjs} +0 -0
- /package/{esm/hooks/utils/useGridApiRef.js → hooks/utils/useGridApiRef.mjs} +0 -0
- /package/{esm/hooks/utils/useGridAriaAttributes.d.ts → hooks/utils/useGridAriaAttributes.d.mts} +0 -0
- /package/{esm/hooks/utils/useGridInitializeState.js → hooks/utils/useGridInitializeState.mjs} +0 -0
- /package/{esm/hooks/utils/useGridLogger.js → hooks/utils/useGridLogger.mjs} +0 -0
- /package/{esm/hooks/utils/useIsSSR.d.ts → hooks/utils/useIsSSR.d.mts} +0 -0
- /package/{esm/hooks/utils/useIsSSR.js → hooks/utils/useIsSSR.mjs} +0 -0
- /package/{esm/hooks/utils/useLazyRef.d.ts → hooks/utils/useLazyRef.d.mts} +0 -0
- /package/{esm/hooks/utils/useLazyRef.js → hooks/utils/useLazyRef.mjs} +0 -0
- /package/{esm/hooks/utils/useOnMount.d.ts → hooks/utils/useOnMount.d.mts} +0 -0
- /package/{esm/hooks/utils/useOnMount.js → hooks/utils/useOnMount.mjs} +0 -0
- /package/{esm/hooks/utils/useRunOncePerLoop.d.ts → hooks/utils/useRunOncePerLoop.d.mts} +0 -0
- /package/{esm/hooks/utils/useRunOncePerLoop.js → hooks/utils/useRunOncePerLoop.mjs} +0 -0
- /package/{esm/hooks/utils/useTimeout.d.ts → hooks/utils/useTimeout.d.mts} +0 -0
- /package/{esm/hooks/utils/useTimeout.js → hooks/utils/useTimeout.mjs} +0 -0
- /package/{esm/internals/constants.d.ts → internals/constants.d.mts} +0 -0
- /package/{esm/internals/constants.js → internals/constants.mjs} +0 -0
- /package/{esm/internals/demo/TailwindDemoContainer.d.ts → internals/demo/TailwindDemoContainer.d.mts} +0 -0
- /package/{esm/internals/demo/TailwindDemoContainer.js → internals/demo/TailwindDemoContainer.mjs} +0 -0
- /package/{esm/internals/utils/computeSlots.d.ts → internals/utils/computeSlots.d.mts} +0 -0
- /package/{esm/internals/utils/computeSlots.js → internals/utils/computeSlots.mjs} +0 -0
- /package/{esm/internals/utils/gridRowGroupingUtils.d.ts → internals/utils/gridRowGroupingUtils.d.mts} +0 -0
- /package/{esm/material/augmentation.d.ts → material/augmentation.d.mts} +0 -0
- /package/{esm/material/augmentation.js → material/augmentation.mjs} +0 -0
- /package/{esm/material/icons/createSvgIcon.js → material/icons/createSvgIcon.mjs} +0 -0
- /package/{esm/material/icons/index.d.ts → material/icons/index.d.mts} +0 -0
- /package/{esm/models/api/gridApiCommon.js → models/api/gridApiCommon.mjs} +0 -0
- /package/{esm/models/api/gridApiCommunity.js → models/api/gridApiCommunity.mjs} +0 -0
- /package/{esm/models/api/gridCallbackDetails.js → models/api/gridCallbackDetails.mjs} +0 -0
- /package/{esm/models/api/gridColumnApi.js → models/api/gridColumnApi.mjs} +0 -0
- /package/{esm/models/api/gridColumnGroupingApi.js → models/api/gridColumnGroupingApi.mjs} +0 -0
- /package/{esm/models/api/gridColumnMenuApi.d.ts → models/api/gridColumnMenuApi.d.mts} +0 -0
- /package/{esm/models/api/gridColumnMenuApi.js → models/api/gridColumnMenuApi.mjs} +0 -0
- /package/{esm/models/api/gridColumnSpanning.js → models/api/gridColumnSpanning.mjs} +0 -0
- /package/{esm/models/api/gridCoreApi.js → models/api/gridCoreApi.mjs} +0 -0
- /package/{esm/models/api/gridCsvExportApi.js → models/api/gridCsvExportApi.mjs} +0 -0
- /package/{esm/models/api/gridDensityApi.js → models/api/gridDensityApi.mjs} +0 -0
- /package/{esm/models/api/gridEditingApi.js → models/api/gridEditingApi.mjs} +0 -0
- /package/{esm/models/api/gridFilterApi.js → models/api/gridFilterApi.mjs} +0 -0
- /package/{esm/models/api/gridFocusApi.js → models/api/gridFocusApi.mjs} +0 -0
- /package/{esm/models/api/gridHeaderFilteringApi.js → models/api/gridHeaderFilteringApi.mjs} +0 -0
- /package/{esm/models/api/gridInfiniteLoaderApi.d.ts → models/api/gridInfiniteLoaderApi.d.mts} +0 -0
- /package/{esm/models/api/gridInfiniteLoaderApi.js → models/api/gridInfiniteLoaderApi.mjs} +0 -0
- /package/{esm/models/api/gridLocaleTextApi.js → models/api/gridLocaleTextApi.mjs} +0 -0
- /package/{esm/models/api/gridLoggerApi.js → models/api/gridLoggerApi.mjs} +0 -0
- /package/{esm/models/api/gridParamsApi.js → models/api/gridParamsApi.mjs} +0 -0
- /package/{esm/models/api/gridPreferencesPanelApi.js → models/api/gridPreferencesPanelApi.mjs} +0 -0
- /package/{esm/models/api/gridPrintExportApi.js → models/api/gridPrintExportApi.mjs} +0 -0
- /package/{esm/models/api/gridRowApi.js → models/api/gridRowApi.mjs} +0 -0
- /package/{esm/models/api/gridRowSelectionApi.js → models/api/gridRowSelectionApi.mjs} +0 -0
- /package/{esm/models/api/gridRowsMetaApi.js → models/api/gridRowsMetaApi.mjs} +0 -0
- /package/{esm/models/api/gridScrollApi.js → models/api/gridScrollApi.mjs} +0 -0
- /package/{esm/models/api/gridSortApi.js → models/api/gridSortApi.mjs} +0 -0
- /package/{esm/models/api/gridStateApi.js → models/api/gridStateApi.mjs} +0 -0
- /package/{esm/models/api/gridVirtualizationApi.d.ts → models/api/gridVirtualizationApi.d.mts} +0 -0
- /package/{esm/models/api/gridVirtualizationApi.js → models/api/gridVirtualizationApi.mjs} +0 -0
- /package/{esm/models/colDef/gridColDef.js → models/colDef/gridColDef.mjs} +0 -0
- /package/{esm/models/colDef/gridColType.d.ts → models/colDef/gridColType.d.mts} +0 -0
- /package/{esm/models/colDef/gridColType.js → models/colDef/gridColType.mjs} +0 -0
- /package/{esm/models/colDef/gridColumnTypesRecord.js → models/colDef/gridColumnTypesRecord.mjs} +0 -0
- /package/{esm/models/configuration/gridAggregationConfiguration.js → models/configuration/gridAggregationConfiguration.mjs} +0 -0
- /package/{esm/models/configuration/gridCellEditableConfiguration.js → models/configuration/gridCellEditableConfiguration.mjs} +0 -0
- /package/{esm/models/configuration/gridConfiguration.js → models/configuration/gridConfiguration.mjs} +0 -0
- /package/{esm/models/configuration/gridParamsConfiguration.js → models/configuration/gridParamsConfiguration.mjs} +0 -0
- /package/{esm/models/configuration/gridRowConfiguration.js → models/configuration/gridRowConfiguration.mjs} +0 -0
- /package/{esm/models/controlStateItem.js → models/controlStateItem.mjs} +0 -0
- /package/{esm/models/cursorCoordinates.d.ts → models/cursorCoordinates.d.mts} +0 -0
- /package/{esm/models/cursorCoordinates.js → models/cursorCoordinates.mjs} +0 -0
- /package/{esm/models/elementSize.d.ts → models/elementSize.d.mts} +0 -0
- /package/{esm/models/elementSize.js → models/elementSize.mjs} +0 -0
- /package/{esm/models/events/gridEventListener.js → models/events/gridEventListener.mjs} +0 -0
- /package/{esm/models/events/gridEventLookup.js → models/events/gridEventLookup.mjs} +0 -0
- /package/{esm/models/events/gridEventPublisher.js → models/events/gridEventPublisher.mjs} +0 -0
- /package/{esm/models/gridAggregation.d.ts → models/gridAggregation.d.mts} +0 -0
- /package/{esm/models/gridAggregation.js → models/gridAggregation.mjs} +0 -0
- /package/{esm/models/gridApiCaches.js → models/gridApiCaches.mjs} +0 -0
- /package/{esm/models/gridBaseSlots.d.ts → models/gridBaseSlots.d.mts} +0 -0
- /package/{esm/models/gridBaseSlots.js → models/gridBaseSlots.mjs} +0 -0
- /package/{esm/models/gridCell.js → models/gridCell.mjs} +0 -0
- /package/{esm/models/gridCellClass.js → models/gridCellClass.mjs} +0 -0
- /package/{esm/models/gridColumnGrouping.js → models/gridColumnGrouping.mjs} +0 -0
- /package/{esm/models/gridColumnHeaderClass.js → models/gridColumnHeaderClass.mjs} +0 -0
- /package/{esm/models/gridColumnSpanning.d.ts → models/gridColumnSpanning.d.mts} +0 -0
- /package/{esm/models/gridColumnSpanning.js → models/gridColumnSpanning.mjs} +0 -0
- /package/{esm/models/gridDataSource.js → models/gridDataSource.mjs} +0 -0
- /package/{esm/models/gridDensity.d.ts → models/gridDensity.d.mts} +0 -0
- /package/{esm/models/gridDensity.js → models/gridDensity.mjs} +0 -0
- /package/{esm/models/gridEditRowModel.js → models/gridEditRowModel.mjs} +0 -0
- /package/{esm/models/gridExport.js → models/gridExport.mjs} +0 -0
- /package/{esm/models/gridFeatureMode.d.ts → models/gridFeatureMode.d.mts} +0 -0
- /package/{esm/models/gridFeatureMode.js → models/gridFeatureMode.mjs} +0 -0
- /package/{esm/models/gridFilterInputComponent.js → models/gridFilterInputComponent.mjs} +0 -0
- /package/{esm/models/gridFilterItem.js → models/gridFilterItem.mjs} +0 -0
- /package/{esm/models/gridFilterModel.js → models/gridFilterModel.mjs} +0 -0
- /package/{esm/models/gridFilterOperator.js → models/gridFilterOperator.mjs} +0 -0
- /package/{esm/models/gridHeaderFilteringModel.js → models/gridHeaderFilteringModel.mjs} +0 -0
- /package/{esm/models/gridIconSlotsComponent.js → models/gridIconSlotsComponent.mjs} +0 -0
- /package/{esm/models/gridPaginationProps.d.ts → models/gridPaginationProps.d.mts} +0 -0
- /package/{esm/models/gridPaginationProps.js → models/gridPaginationProps.mjs} +0 -0
- /package/{esm/models/gridRenderContextProps.d.ts → models/gridRenderContextProps.d.mts} +0 -0
- /package/{esm/models/gridRenderContextProps.js → models/gridRenderContextProps.mjs} +0 -0
- /package/{esm/models/gridRowSelectionManager.js → models/gridRowSelectionManager.mjs} +0 -0
- /package/{esm/models/gridRowSelectionModel.js → models/gridRowSelectionModel.mjs} +0 -0
- /package/{esm/models/gridRows.js → models/gridRows.mjs} +0 -0
- /package/{esm/models/gridSlotsComponent.js → models/gridSlotsComponent.mjs} +0 -0
- /package/{esm/models/gridSlotsComponentsProps.js → models/gridSlotsComponentsProps.mjs} +0 -0
- /package/{esm/models/gridSortModel.js → models/gridSortModel.mjs} +0 -0
- /package/{esm/models/gridStateCommunity.js → models/gridStateCommunity.mjs} +0 -0
- /package/{esm/models/logger.d.ts → models/logger.d.mts} +0 -0
- /package/{esm/models/logger.js → models/logger.mjs} +0 -0
- /package/{esm/models/params/gridCellParams.js → models/params/gridCellParams.mjs} +0 -0
- /package/{esm/models/params/gridColumnGroupHeaderParams.js → models/params/gridColumnGroupHeaderParams.mjs} +0 -0
- /package/{esm/models/params/gridColumnHeaderParams.js → models/params/gridColumnHeaderParams.mjs} +0 -0
- /package/{esm/models/params/gridColumnOrderChangeParams.js → models/params/gridColumnOrderChangeParams.mjs} +0 -0
- /package/{esm/models/params/gridColumnResizeParams.js → models/params/gridColumnResizeParams.mjs} +0 -0
- /package/{esm/models/params/gridEditCellParams.js → models/params/gridEditCellParams.mjs} +0 -0
- /package/{esm/models/params/gridHeaderSelectionCheckboxParams.d.ts → models/params/gridHeaderSelectionCheckboxParams.d.mts} +0 -0
- /package/{esm/models/params/gridHeaderSelectionCheckboxParams.js → models/params/gridHeaderSelectionCheckboxParams.mjs} +0 -0
- /package/{esm/models/params/gridMenuParams.d.ts → models/params/gridMenuParams.d.mts} +0 -0
- /package/{esm/models/params/gridMenuParams.js → models/params/gridMenuParams.mjs} +0 -0
- /package/{esm/models/params/gridPreferencePanelParams.js → models/params/gridPreferencePanelParams.mjs} +0 -0
- /package/{esm/models/params/gridRowParams.js → models/params/gridRowParams.mjs} +0 -0
- /package/{esm/models/params/gridRowSelectionCheckboxParams.js → models/params/gridRowSelectionCheckboxParams.mjs} +0 -0
- /package/{esm/models/params/gridScrollParams.d.ts → models/params/gridScrollParams.d.mts} +0 -0
- /package/{esm/models/params/gridScrollParams.js → models/params/gridScrollParams.mjs} +0 -0
- /package/{esm/models/params/gridValueOptionsParams.js → models/params/gridValueOptionsParams.mjs} +0 -0
- /package/{esm/models/props/DataGridProps.js → models/props/DataGridProps.mjs} +0 -0
- /package/{esm/themeAugmentation/overrides.js → themeAugmentation/overrides.mjs} +0 -0
- /package/{esm/themeAugmentation/props.js → themeAugmentation/props.mjs} +0 -0
- /package/{esm/utils/ResizeObserver.d.ts → utils/ResizeObserver.d.mts} +0 -0
- /package/{esm/utils/ResizeObserver.js → utils/ResizeObserver.mjs} +0 -0
- /package/{esm/utils/assert.d.ts → utils/assert.d.mts} +0 -0
- /package/{esm/utils/cleanupTracking/CleanupTracking.d.ts → utils/cleanupTracking/CleanupTracking.d.mts} +0 -0
- /package/{esm/utils/cleanupTracking/CleanupTracking.js → utils/cleanupTracking/CleanupTracking.mjs} +0 -0
- /package/{esm/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.js → utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.mjs} +0 -0
- /package/{esm/utils/cleanupTracking/TimerBasedCleanupTracking.js → utils/cleanupTracking/TimerBasedCleanupTracking.mjs} +0 -0
- /package/{esm/utils/createControllablePromise.d.ts → utils/createControllablePromise.d.mts} +0 -0
- /package/{esm/utils/createControllablePromise.js → utils/createControllablePromise.mjs} +0 -0
- /package/{esm/utils/createSelector.d.ts → utils/createSelector.d.mts} +0 -0
- /package/{esm/utils/createSelector.js → utils/createSelector.mjs} +0 -0
- /package/{esm/utils/css/context.d.ts → utils/css/context.d.mts} +0 -0
- /package/{esm/utils/doesSupportPreventScroll.d.ts → utils/doesSupportPreventScroll.d.mts} +0 -0
- /package/{esm/utils/doesSupportPreventScroll.js → utils/doesSupportPreventScroll.mjs} +0 -0
- /package/{esm/utils/getPublicApiRef.js → utils/getPublicApiRef.mjs} +0 -0
- /package/{esm/utils/isJSDOM.d.ts → utils/isJSDOM.d.mts} +0 -0
- /package/{esm/utils/isJSDOM.js → utils/isJSDOM.mjs} +0 -0
- /package/{esm/utils/keyboardUtils.d.ts → utils/keyboardUtils.d.mts} +0 -0
- /package/{esm/utils/keyboardUtils.js → utils/keyboardUtils.mjs} +0 -0
- /package/{esm/utils/roundToDecimalPlaces.d.ts → utils/roundToDecimalPlaces.d.mts} +0 -0
- /package/{esm/utils/roundToDecimalPlaces.js → utils/roundToDecimalPlaces.mjs} +0 -0
- /package/{esm/utils/utils.d.ts → utils/utils.d.mts} +0 -0
- /package/{esm/utils/utils.js → utils/utils.mjs} +0 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { GridStateCommunity } from "../../../models/gridStateCommunity.mjs";
|
|
2
|
+
import { type GridColumnLookup, type GridPinnedColumnFields } from "./gridColumnsInterfaces.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Get the columns state
|
|
5
|
+
* @category Columns
|
|
6
|
+
*/
|
|
7
|
+
export declare const gridColumnsStateSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("@mui/x-data-grid").GridColumnsState>;
|
|
8
|
+
/**
|
|
9
|
+
* Get an array of column fields in the order rendered on screen.
|
|
10
|
+
* @category Columns
|
|
11
|
+
*/
|
|
12
|
+
export declare const gridColumnFieldsSelector: (args_0: import("react").RefObject<{
|
|
13
|
+
state: GridStateCommunity;
|
|
14
|
+
} | null>) => string[];
|
|
15
|
+
/**
|
|
16
|
+
* Get the columns as a lookup (an object containing the field for keys and the definition for values).
|
|
17
|
+
* @category Columns
|
|
18
|
+
*/
|
|
19
|
+
export declare const gridColumnLookupSelector: (args_0: import("react").RefObject<{
|
|
20
|
+
state: GridStateCommunity;
|
|
21
|
+
} | null>) => GridColumnLookup;
|
|
22
|
+
/**
|
|
23
|
+
* Get an array of column definitions in the order rendered on screen..
|
|
24
|
+
* @category Columns
|
|
25
|
+
*/
|
|
26
|
+
export declare const gridColumnDefinitionsSelector: (args_0: import("react").RefObject<{
|
|
27
|
+
state: GridStateCommunity;
|
|
28
|
+
} | null>) => import("../../../internals/index.mjs").GridStateColDef[];
|
|
29
|
+
/**
|
|
30
|
+
* Get the column visibility model, containing the visibility status of each column.
|
|
31
|
+
* If a column is not registered in the model, it is visible.
|
|
32
|
+
* @category Visible Columns
|
|
33
|
+
*/
|
|
34
|
+
export declare const gridColumnVisibilityModelSelector: (args_0: import("react").RefObject<{
|
|
35
|
+
state: GridStateCommunity;
|
|
36
|
+
} | null>) => import("@mui/x-data-grid").GridColumnVisibilityModel;
|
|
37
|
+
/**
|
|
38
|
+
* Get the "initial" column visibility model, containing the visibility status of each column.
|
|
39
|
+
* It is updated when the `columns` prop is updated or when `updateColumns` API method is called.
|
|
40
|
+
* If a column is not registered in the model, it is visible.
|
|
41
|
+
* @category Visible Columns
|
|
42
|
+
*/
|
|
43
|
+
export declare const gridInitialColumnVisibilityModelSelector: (args_0: import("react").RefObject<{
|
|
44
|
+
state: GridStateCommunity;
|
|
45
|
+
} | null>) => import("@mui/x-data-grid").GridColumnVisibilityModel;
|
|
46
|
+
/**
|
|
47
|
+
* Get the visible columns as a lookup (an object containing the field for keys and the definition for values).
|
|
48
|
+
* @category Visible Columns
|
|
49
|
+
*/
|
|
50
|
+
export declare const gridVisibleColumnDefinitionsSelector: (args_0: import("react").RefObject<{
|
|
51
|
+
state: GridStateCommunity;
|
|
52
|
+
} | null>) => import("../../../internals/index.mjs").GridStateColDef[];
|
|
53
|
+
/**
|
|
54
|
+
* Get the field of each visible column.
|
|
55
|
+
* @category Visible Columns
|
|
56
|
+
*/
|
|
57
|
+
export declare const gridVisibleColumnFieldsSelector: (args_0: import("react").RefObject<{
|
|
58
|
+
state: GridStateCommunity;
|
|
59
|
+
} | null>) => string[];
|
|
60
|
+
/**
|
|
61
|
+
* Get the visible pinned columns model.
|
|
62
|
+
* @category Visible Columns
|
|
63
|
+
*/
|
|
64
|
+
export declare const gridPinnedColumnsSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, GridPinnedColumnFields>;
|
|
65
|
+
/**
|
|
66
|
+
* Get all existing pinned columns. Place the columns on the side that depends on the rtl state.
|
|
67
|
+
* @category Pinned Columns
|
|
68
|
+
* @ignore - Do not document
|
|
69
|
+
*/
|
|
70
|
+
export declare const gridExistingPinnedColumnSelector: (args_0: import("react").RefObject<{
|
|
71
|
+
state: GridStateCommunity;
|
|
72
|
+
} | null>) => {
|
|
73
|
+
left: string[];
|
|
74
|
+
right: string[];
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Get the visible pinned columns.
|
|
78
|
+
* @category Visible Columns
|
|
79
|
+
*/
|
|
80
|
+
export declare const gridVisiblePinnedColumnDefinitionsSelector: (args_0: import("react").RefObject<{
|
|
81
|
+
state: GridStateCommunity;
|
|
82
|
+
} | null>) => {
|
|
83
|
+
left: import("../../../internals/index.mjs").GridStateColDef[];
|
|
84
|
+
right: import("../../../internals/index.mjs").GridStateColDef[];
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Get the left position in pixel of each visible columns relative to the left of the first column.
|
|
88
|
+
* @category Visible Columns
|
|
89
|
+
*/
|
|
90
|
+
export declare const gridColumnPositionsSelector: (args_0: import("react").RefObject<{
|
|
91
|
+
state: GridStateCommunity;
|
|
92
|
+
} | null>) => number[];
|
|
93
|
+
/**
|
|
94
|
+
* Get the filterable columns as an array.
|
|
95
|
+
* @category Columns
|
|
96
|
+
*/
|
|
97
|
+
export declare const gridFilterableColumnDefinitionsSelector: (args_0: import("react").RefObject<{
|
|
98
|
+
state: GridStateCommunity;
|
|
99
|
+
} | null>) => import("../../../internals/index.mjs").GridStateColDef[];
|
|
100
|
+
/**
|
|
101
|
+
* Get the filterable columns as a lookup (an object containing the field for keys and the definition for values).
|
|
102
|
+
* @category Columns
|
|
103
|
+
*/
|
|
104
|
+
export declare const gridFilterableColumnLookupSelector: (args_0: import("react").RefObject<{
|
|
105
|
+
state: GridStateCommunity;
|
|
106
|
+
} | null>) => GridColumnLookup;
|
|
107
|
+
/**
|
|
108
|
+
* Checks if some column has a colSpan field.
|
|
109
|
+
* @category Columns
|
|
110
|
+
* @ignore - Do not document
|
|
111
|
+
*/
|
|
112
|
+
export declare const gridHasColSpanSelector: (args_0: import("react").RefObject<{
|
|
113
|
+
state: GridStateCommunity;
|
|
114
|
+
} | null>) => boolean;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { createSelector, createSelectorMemoized, createRootSelector } from "../../../utils/createSelector.mjs";
|
|
2
|
+
import { EMPTY_PINNED_COLUMN_FIELDS } from "./gridColumnsInterfaces.mjs";
|
|
3
|
+
import { gridListColumnSelector, gridListViewSelector } from "../listView/index.mjs";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get the columns state
|
|
7
|
+
* @category Columns
|
|
8
|
+
*/
|
|
9
|
+
export const gridColumnsStateSelector = createRootSelector(state => state.columns);
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Get an array of column fields in the order rendered on screen.
|
|
13
|
+
* @category Columns
|
|
14
|
+
*/
|
|
15
|
+
export const gridColumnFieldsSelector = createSelector(gridColumnsStateSelector, columnsState => columnsState.orderedFields);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Get the columns as a lookup (an object containing the field for keys and the definition for values).
|
|
19
|
+
* @category Columns
|
|
20
|
+
*/
|
|
21
|
+
export const gridColumnLookupSelector = createSelector(gridColumnsStateSelector, columnsState => columnsState.lookup);
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Get an array of column definitions in the order rendered on screen..
|
|
25
|
+
* @category Columns
|
|
26
|
+
*/
|
|
27
|
+
export const gridColumnDefinitionsSelector = createSelectorMemoized(gridColumnFieldsSelector, gridColumnLookupSelector, (allFields, lookup) => allFields.map(field => lookup[field]));
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Get the column visibility model, containing the visibility status of each column.
|
|
31
|
+
* If a column is not registered in the model, it is visible.
|
|
32
|
+
* @category Visible Columns
|
|
33
|
+
*/
|
|
34
|
+
export const gridColumnVisibilityModelSelector = createSelector(gridColumnsStateSelector, columnsState => columnsState.columnVisibilityModel);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Get the "initial" column visibility model, containing the visibility status of each column.
|
|
38
|
+
* It is updated when the `columns` prop is updated or when `updateColumns` API method is called.
|
|
39
|
+
* If a column is not registered in the model, it is visible.
|
|
40
|
+
* @category Visible Columns
|
|
41
|
+
*/
|
|
42
|
+
export const gridInitialColumnVisibilityModelSelector = createSelector(gridColumnsStateSelector, columnsState => columnsState.initialColumnVisibilityModel);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Get the visible columns as a lookup (an object containing the field for keys and the definition for values).
|
|
46
|
+
* @category Visible Columns
|
|
47
|
+
*/
|
|
48
|
+
export const gridVisibleColumnDefinitionsSelector = createSelectorMemoized(gridColumnDefinitionsSelector, gridColumnVisibilityModelSelector, gridListViewSelector, gridListColumnSelector, (columns, columnVisibilityModel, listView, listColumn) => listView && listColumn ? [listColumn] : columns.filter(column => columnVisibilityModel[column.field] !== false));
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Get the field of each visible column.
|
|
52
|
+
* @category Visible Columns
|
|
53
|
+
*/
|
|
54
|
+
export const gridVisibleColumnFieldsSelector = createSelectorMemoized(gridVisibleColumnDefinitionsSelector, visibleColumns => visibleColumns.map(column => column.field));
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Get the visible pinned columns model.
|
|
58
|
+
* @category Visible Columns
|
|
59
|
+
*/
|
|
60
|
+
export const gridPinnedColumnsSelector = createRootSelector(state => state.pinnedColumns);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Get all existing pinned columns. Place the columns on the side that depends on the rtl state.
|
|
64
|
+
* @category Pinned Columns
|
|
65
|
+
* @ignore - Do not document
|
|
66
|
+
*/
|
|
67
|
+
export const gridExistingPinnedColumnSelector = createSelectorMemoized(gridPinnedColumnsSelector, gridColumnFieldsSelector, (model, orderedFields) => filterMissingColumns(model, orderedFields));
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Get the visible pinned columns.
|
|
71
|
+
* @category Visible Columns
|
|
72
|
+
*/
|
|
73
|
+
export const gridVisiblePinnedColumnDefinitionsSelector = createSelectorMemoized(gridColumnsStateSelector, gridPinnedColumnsSelector, gridVisibleColumnFieldsSelector, gridListViewSelector, (columnsState, model, visibleColumnFields, listView) => {
|
|
74
|
+
if (listView) {
|
|
75
|
+
return EMPTY_PINNED_COLUMN_FIELDS;
|
|
76
|
+
}
|
|
77
|
+
const visiblePinnedFields = filterMissingColumns(model, visibleColumnFields);
|
|
78
|
+
const visiblePinnedColumns = {
|
|
79
|
+
left: visiblePinnedFields.left.map(field => columnsState.lookup[field]),
|
|
80
|
+
right: visiblePinnedFields.right.map(field => columnsState.lookup[field])
|
|
81
|
+
};
|
|
82
|
+
return visiblePinnedColumns;
|
|
83
|
+
});
|
|
84
|
+
function filterMissingColumns(pinnedColumns, columns) {
|
|
85
|
+
if (!Array.isArray(pinnedColumns.left) && !Array.isArray(pinnedColumns.right)) {
|
|
86
|
+
return EMPTY_PINNED_COLUMN_FIELDS;
|
|
87
|
+
}
|
|
88
|
+
if (pinnedColumns.left?.length === 0 && pinnedColumns.right?.length === 0) {
|
|
89
|
+
return EMPTY_PINNED_COLUMN_FIELDS;
|
|
90
|
+
}
|
|
91
|
+
const filter = (newPinnedColumns, remainingColumns) => {
|
|
92
|
+
if (!Array.isArray(newPinnedColumns)) {
|
|
93
|
+
return [];
|
|
94
|
+
}
|
|
95
|
+
return newPinnedColumns.filter(field => remainingColumns.includes(field));
|
|
96
|
+
};
|
|
97
|
+
const leftPinnedColumns = filter(pinnedColumns.left, columns);
|
|
98
|
+
const columnsWithoutLeftPinnedColumns = columns.filter(field => !leftPinnedColumns.includes(field));
|
|
99
|
+
const rightPinnedColumns = filter(pinnedColumns.right, columnsWithoutLeftPinnedColumns);
|
|
100
|
+
return {
|
|
101
|
+
left: leftPinnedColumns,
|
|
102
|
+
right: rightPinnedColumns
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Get the left position in pixel of each visible columns relative to the left of the first column.
|
|
108
|
+
* @category Visible Columns
|
|
109
|
+
*/
|
|
110
|
+
export const gridColumnPositionsSelector = createSelectorMemoized(gridVisibleColumnDefinitionsSelector, visibleColumns => {
|
|
111
|
+
const positions = [];
|
|
112
|
+
let currentPosition = 0;
|
|
113
|
+
for (let i = 0; i < visibleColumns.length; i += 1) {
|
|
114
|
+
positions.push(currentPosition);
|
|
115
|
+
currentPosition += visibleColumns[i].computedWidth;
|
|
116
|
+
}
|
|
117
|
+
return positions;
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Get the filterable columns as an array.
|
|
122
|
+
* @category Columns
|
|
123
|
+
*/
|
|
124
|
+
export const gridFilterableColumnDefinitionsSelector = createSelectorMemoized(gridColumnDefinitionsSelector, columns => columns.filter(col => col.filterable));
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Get the filterable columns as a lookup (an object containing the field for keys and the definition for values).
|
|
128
|
+
* @category Columns
|
|
129
|
+
*/
|
|
130
|
+
export const gridFilterableColumnLookupSelector = createSelectorMemoized(gridColumnDefinitionsSelector, columns => columns.reduce((acc, col) => {
|
|
131
|
+
if (col.filterable) {
|
|
132
|
+
acc[col.field] = col;
|
|
133
|
+
}
|
|
134
|
+
return acc;
|
|
135
|
+
}, {}));
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Checks if some column has a colSpan field.
|
|
139
|
+
* @category Columns
|
|
140
|
+
* @ignore - Do not document
|
|
141
|
+
*/
|
|
142
|
+
export const gridHasColSpanSelector = createSelectorMemoized(gridColumnDefinitionsSelector, columns => columns.some(column => column.colSpan !== undefined));
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridColumnsState, GridColumnsRawState, GridColumnVisibilityModel, GridColumnsInitialState } from "./gridColumnsInterfaces.mjs";
|
|
3
|
+
import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.mjs";
|
|
4
|
+
import type { GridApiCommunity } from "../../../models/api/gridApiCommunity.mjs";
|
|
5
|
+
import type { GridColDef } from "../../../models/colDef/gridColDef.mjs";
|
|
6
|
+
import type { GridApiCommon } from "../../../models/api/gridApiCommon.mjs";
|
|
7
|
+
import type { GridRowEntry } from "../../../models/gridRows.mjs";
|
|
8
|
+
import type { GridDimensions } from "../dimensions/gridDimensionsApi.mjs";
|
|
9
|
+
export declare const COLUMNS_DIMENSION_PROPERTIES: readonly ["maxWidth", "minWidth", "width", "flex"];
|
|
10
|
+
export type GridColumnDimensionProperties = (typeof COLUMNS_DIMENSION_PROPERTIES)[number];
|
|
11
|
+
/**
|
|
12
|
+
* Computes width for flex columns.
|
|
13
|
+
* Based on CSS Flexbox specification:
|
|
14
|
+
* https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths
|
|
15
|
+
*/
|
|
16
|
+
export declare function computeFlexColumnsWidth({
|
|
17
|
+
initialFreeSpace,
|
|
18
|
+
totalFlexUnits,
|
|
19
|
+
flexColumns
|
|
20
|
+
}: {
|
|
21
|
+
initialFreeSpace: number;
|
|
22
|
+
totalFlexUnits: number;
|
|
23
|
+
flexColumns: {
|
|
24
|
+
field: GridColDef['field'];
|
|
25
|
+
flex?: number | null;
|
|
26
|
+
minWidth?: number;
|
|
27
|
+
maxWidth?: number;
|
|
28
|
+
}[];
|
|
29
|
+
}): Record<string, {
|
|
30
|
+
flex: number;
|
|
31
|
+
computedWidth: number;
|
|
32
|
+
frozen: boolean;
|
|
33
|
+
}>;
|
|
34
|
+
/**
|
|
35
|
+
* Compute the `computedWidth` (ie: the width the column should have during rendering) based on the `width` / `flex` / `minWidth` / `maxWidth` properties of `GridColDef`.
|
|
36
|
+
* The columns already have been merged with there `type` default values for `minWidth`, `maxWidth` and `width`, thus the `!` for those properties below.
|
|
37
|
+
* TODO: Unit test this function in depth and only keep basic cases for the whole grid testing.
|
|
38
|
+
* TODO: Improve the `GridColDef` typing to reflect the fact that `minWidth` / `maxWidth` and `width` can't be null after the merge with the `type` default values.
|
|
39
|
+
*/
|
|
40
|
+
export declare const hydrateColumnsWidth: (rawState: GridColumnsRawState, dimensions: GridDimensions | undefined) => GridColumnsState;
|
|
41
|
+
/**
|
|
42
|
+
* Apply the order and the dimensions of the initial state.
|
|
43
|
+
* The columns not registered in `orderedFields` will be placed after the imported columns.
|
|
44
|
+
*/
|
|
45
|
+
export declare const applyInitialState: (columnsState: GridColumnsRawState, initialState: GridColumnsInitialState | undefined) => GridColumnsRawState;
|
|
46
|
+
export declare function getDefaultColTypeDef(type: GridColDef['type']): import("@mui/x-data-grid").GridColTypeDef;
|
|
47
|
+
export declare const createColumnsState: ({
|
|
48
|
+
apiRef,
|
|
49
|
+
columnsToUpsert,
|
|
50
|
+
initialState,
|
|
51
|
+
columnVisibilityModel,
|
|
52
|
+
keepOnlyColumnsToUpsert,
|
|
53
|
+
updateInitialVisibilityModel
|
|
54
|
+
}: {
|
|
55
|
+
columnsToUpsert: readonly GridColDef[];
|
|
56
|
+
initialState: GridColumnsInitialState | undefined;
|
|
57
|
+
columnVisibilityModel?: GridColumnVisibilityModel;
|
|
58
|
+
keepOnlyColumnsToUpsert: boolean;
|
|
59
|
+
updateInitialVisibilityModel?: boolean;
|
|
60
|
+
apiRef: RefObject<GridApiCommunity>;
|
|
61
|
+
}) => GridColumnsState;
|
|
62
|
+
export declare function getFirstNonSpannedColumnToRender({
|
|
63
|
+
firstColumnToRender,
|
|
64
|
+
apiRef,
|
|
65
|
+
firstRowToRender,
|
|
66
|
+
lastRowToRender,
|
|
67
|
+
visibleRows
|
|
68
|
+
}: {
|
|
69
|
+
firstColumnToRender: number;
|
|
70
|
+
apiRef: RefObject<GridApiCommon>;
|
|
71
|
+
firstRowToRender: number;
|
|
72
|
+
lastRowToRender: number;
|
|
73
|
+
visibleRows: GridRowEntry[];
|
|
74
|
+
}): number;
|
|
75
|
+
export declare function getTotalHeaderHeight(apiRef: RefObject<GridApiCommunity>, props: Pick<DataGridProcessedProps, 'columnHeaderHeight' | 'headerFilterHeight' | 'listView' | 'columnGroupHeaderHeight'>): number;
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import resolveProps from '@mui/utils/resolveProps';
|
|
3
|
+
import { DEFAULT_GRID_COL_TYPE_KEY, GRID_STRING_COL_DEF, getGridDefaultColumnTypes } from "../../../colDef/index.mjs";
|
|
4
|
+
import { gridColumnsStateSelector, gridColumnVisibilityModelSelector } from "./gridColumnsSelector.mjs";
|
|
5
|
+
import { clamp } from "../../../utils/utils.mjs";
|
|
6
|
+
import { gridDensityFactorSelector } from "../density/densitySelector.mjs";
|
|
7
|
+
import { gridHeaderFilteringEnabledSelector } from "../headerFiltering/gridHeaderFilteringSelectors.mjs";
|
|
8
|
+
import { gridColumnGroupsHeaderMaxDepthSelector } from "../columnGrouping/gridColumnGroupsSelector.mjs";
|
|
9
|
+
export const COLUMNS_DIMENSION_PROPERTIES = ['maxWidth', 'minWidth', 'width', 'flex'];
|
|
10
|
+
const COLUMN_TYPES = getGridDefaultColumnTypes();
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Computes width for flex columns.
|
|
14
|
+
* Based on CSS Flexbox specification:
|
|
15
|
+
* https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths
|
|
16
|
+
*/
|
|
17
|
+
export function computeFlexColumnsWidth({
|
|
18
|
+
initialFreeSpace,
|
|
19
|
+
totalFlexUnits,
|
|
20
|
+
flexColumns
|
|
21
|
+
}) {
|
|
22
|
+
const uniqueFlexColumns = new Set(flexColumns.map(col => col.field));
|
|
23
|
+
const flexColumnsLookup = {
|
|
24
|
+
all: {},
|
|
25
|
+
frozenFields: [],
|
|
26
|
+
freeze: field => {
|
|
27
|
+
const value = flexColumnsLookup.all[field];
|
|
28
|
+
if (value && value.frozen !== true) {
|
|
29
|
+
flexColumnsLookup.all[field].frozen = true;
|
|
30
|
+
flexColumnsLookup.frozenFields.push(field);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
// Step 5 of https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths
|
|
36
|
+
function loopOverFlexItems() {
|
|
37
|
+
// 5a: If all the flex items on the line are frozen, free space has been distributed.
|
|
38
|
+
if (flexColumnsLookup.frozenFields.length === uniqueFlexColumns.size) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
const violationsLookup = {
|
|
42
|
+
min: {},
|
|
43
|
+
max: {}
|
|
44
|
+
};
|
|
45
|
+
let remainingFreeSpace = initialFreeSpace;
|
|
46
|
+
let flexUnits = totalFlexUnits;
|
|
47
|
+
let totalViolation = 0;
|
|
48
|
+
|
|
49
|
+
// 5b: Calculate the remaining free space
|
|
50
|
+
flexColumnsLookup.frozenFields.forEach(field => {
|
|
51
|
+
remainingFreeSpace -= flexColumnsLookup.all[field].computedWidth;
|
|
52
|
+
flexUnits -= flexColumnsLookup.all[field].flex;
|
|
53
|
+
});
|
|
54
|
+
for (let i = 0; i < flexColumns.length; i += 1) {
|
|
55
|
+
const column = flexColumns[i];
|
|
56
|
+
if (flexColumnsLookup.all[column.field] && flexColumnsLookup.all[column.field].frozen === true) {
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// 5c: Distribute remaining free space proportional to the flex factors
|
|
61
|
+
const widthPerFlexUnit = remainingFreeSpace / flexUnits;
|
|
62
|
+
let computedWidth = widthPerFlexUnit * column.flex;
|
|
63
|
+
|
|
64
|
+
// 5d: Fix min/max violations
|
|
65
|
+
if (computedWidth < column.minWidth) {
|
|
66
|
+
totalViolation += column.minWidth - computedWidth;
|
|
67
|
+
computedWidth = column.minWidth;
|
|
68
|
+
violationsLookup.min[column.field] = true;
|
|
69
|
+
} else if (computedWidth > column.maxWidth) {
|
|
70
|
+
totalViolation += column.maxWidth - computedWidth;
|
|
71
|
+
computedWidth = column.maxWidth;
|
|
72
|
+
violationsLookup.max[column.field] = true;
|
|
73
|
+
}
|
|
74
|
+
flexColumnsLookup.all[column.field] = {
|
|
75
|
+
frozen: false,
|
|
76
|
+
computedWidth,
|
|
77
|
+
flex: column.flex
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// 5e: Freeze over-flexed items
|
|
82
|
+
if (totalViolation < 0) {
|
|
83
|
+
// Freeze all the items with max violations
|
|
84
|
+
Object.keys(violationsLookup.max).forEach(field => {
|
|
85
|
+
flexColumnsLookup.freeze(field);
|
|
86
|
+
});
|
|
87
|
+
} else if (totalViolation > 0) {
|
|
88
|
+
// Freeze all the items with min violations
|
|
89
|
+
Object.keys(violationsLookup.min).forEach(field => {
|
|
90
|
+
flexColumnsLookup.freeze(field);
|
|
91
|
+
});
|
|
92
|
+
} else {
|
|
93
|
+
// Freeze all items
|
|
94
|
+
flexColumns.forEach(({
|
|
95
|
+
field
|
|
96
|
+
}) => {
|
|
97
|
+
flexColumnsLookup.freeze(field);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// 5f: Return to the start of this loop
|
|
102
|
+
loopOverFlexItems();
|
|
103
|
+
}
|
|
104
|
+
loopOverFlexItems();
|
|
105
|
+
return flexColumnsLookup.all;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Compute the `computedWidth` (ie: the width the column should have during rendering) based on the `width` / `flex` / `minWidth` / `maxWidth` properties of `GridColDef`.
|
|
110
|
+
* The columns already have been merged with there `type` default values for `minWidth`, `maxWidth` and `width`, thus the `!` for those properties below.
|
|
111
|
+
* TODO: Unit test this function in depth and only keep basic cases for the whole grid testing.
|
|
112
|
+
* TODO: Improve the `GridColDef` typing to reflect the fact that `minWidth` / `maxWidth` and `width` can't be null after the merge with the `type` default values.
|
|
113
|
+
*/
|
|
114
|
+
export const hydrateColumnsWidth = (rawState, dimensions) => {
|
|
115
|
+
const columnsLookup = {};
|
|
116
|
+
let totalFlexUnits = 0;
|
|
117
|
+
let widthAllocatedBeforeFlex = 0;
|
|
118
|
+
const flexColumns = [];
|
|
119
|
+
|
|
120
|
+
// For the non-flex columns, compute their width
|
|
121
|
+
// For the flex columns, compute their minimum width and how much width must be allocated during the flex allocation
|
|
122
|
+
rawState.orderedFields.forEach(columnField => {
|
|
123
|
+
let column = rawState.lookup[columnField];
|
|
124
|
+
let computedWidth = 0;
|
|
125
|
+
let isFlex = false;
|
|
126
|
+
if (rawState.columnVisibilityModel[columnField] !== false) {
|
|
127
|
+
if (column.flex && column.flex > 0) {
|
|
128
|
+
totalFlexUnits += column.flex;
|
|
129
|
+
isFlex = true;
|
|
130
|
+
} else {
|
|
131
|
+
computedWidth = clamp(column.width || GRID_STRING_COL_DEF.width, column.minWidth || GRID_STRING_COL_DEF.minWidth, column.maxWidth || GRID_STRING_COL_DEF.maxWidth);
|
|
132
|
+
}
|
|
133
|
+
widthAllocatedBeforeFlex += computedWidth;
|
|
134
|
+
}
|
|
135
|
+
if (column.computedWidth !== computedWidth) {
|
|
136
|
+
column = _extends({}, column, {
|
|
137
|
+
computedWidth
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
if (isFlex) {
|
|
141
|
+
flexColumns.push(column);
|
|
142
|
+
}
|
|
143
|
+
columnsLookup[columnField] = column;
|
|
144
|
+
});
|
|
145
|
+
const availableWidth = dimensions === undefined ? 0 : dimensions.viewportOuterSize.width - (dimensions.hasScrollY ? dimensions.scrollbarSize : 0);
|
|
146
|
+
const initialFreeSpace = Math.max(availableWidth - widthAllocatedBeforeFlex, 0);
|
|
147
|
+
|
|
148
|
+
// Allocate the remaining space to the flex columns
|
|
149
|
+
if (totalFlexUnits > 0 && availableWidth > 0) {
|
|
150
|
+
const computedColumnWidths = computeFlexColumnsWidth({
|
|
151
|
+
initialFreeSpace,
|
|
152
|
+
totalFlexUnits,
|
|
153
|
+
flexColumns
|
|
154
|
+
});
|
|
155
|
+
Object.keys(computedColumnWidths).forEach(field => {
|
|
156
|
+
columnsLookup[field] = _extends({}, columnsLookup[field], {
|
|
157
|
+
computedWidth: computedColumnWidths[field].computedWidth
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
return _extends({}, rawState, {
|
|
162
|
+
lookup: columnsLookup
|
|
163
|
+
});
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Apply the order and the dimensions of the initial state.
|
|
168
|
+
* The columns not registered in `orderedFields` will be placed after the imported columns.
|
|
169
|
+
*/
|
|
170
|
+
export const applyInitialState = (columnsState, initialState) => {
|
|
171
|
+
if (!initialState) {
|
|
172
|
+
return columnsState;
|
|
173
|
+
}
|
|
174
|
+
const {
|
|
175
|
+
orderedFields = [],
|
|
176
|
+
dimensions = {}
|
|
177
|
+
} = initialState;
|
|
178
|
+
const columnsWithUpdatedDimensions = Object.keys(dimensions);
|
|
179
|
+
if (columnsWithUpdatedDimensions.length === 0 && orderedFields.length === 0) {
|
|
180
|
+
return columnsState;
|
|
181
|
+
}
|
|
182
|
+
const orderedFieldsLookup = {};
|
|
183
|
+
const cleanOrderedFields = [];
|
|
184
|
+
for (let i = 0; i < orderedFields.length; i += 1) {
|
|
185
|
+
const field = orderedFields[i];
|
|
186
|
+
|
|
187
|
+
// Ignores the fields in the initialState that matches no field on the current column state
|
|
188
|
+
if (columnsState.lookup[field]) {
|
|
189
|
+
orderedFieldsLookup[field] = true;
|
|
190
|
+
cleanOrderedFields.push(field);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
const newOrderedFields = cleanOrderedFields.length === 0 ? columnsState.orderedFields : [...cleanOrderedFields, ...columnsState.orderedFields.filter(field => !orderedFieldsLookup[field])];
|
|
194
|
+
const newColumnLookup = _extends({}, columnsState.lookup);
|
|
195
|
+
for (let i = 0; i < columnsWithUpdatedDimensions.length; i += 1) {
|
|
196
|
+
const field = columnsWithUpdatedDimensions[i];
|
|
197
|
+
const newColDef = _extends({}, newColumnLookup[field], {
|
|
198
|
+
hasBeenResized: true
|
|
199
|
+
});
|
|
200
|
+
Object.entries(dimensions[field]).forEach(([key, value]) => {
|
|
201
|
+
newColDef[key] = value === -1 ? Infinity : value;
|
|
202
|
+
});
|
|
203
|
+
newColumnLookup[field] = newColDef;
|
|
204
|
+
}
|
|
205
|
+
const newColumnsState = _extends({}, columnsState, {
|
|
206
|
+
orderedFields: newOrderedFields,
|
|
207
|
+
lookup: newColumnLookup
|
|
208
|
+
});
|
|
209
|
+
return newColumnsState;
|
|
210
|
+
};
|
|
211
|
+
export function getDefaultColTypeDef(type) {
|
|
212
|
+
let colDef = COLUMN_TYPES[DEFAULT_GRID_COL_TYPE_KEY];
|
|
213
|
+
if (type && COLUMN_TYPES[type]) {
|
|
214
|
+
colDef = COLUMN_TYPES[type];
|
|
215
|
+
}
|
|
216
|
+
return colDef;
|
|
217
|
+
}
|
|
218
|
+
export const createColumnsState = ({
|
|
219
|
+
apiRef,
|
|
220
|
+
columnsToUpsert,
|
|
221
|
+
initialState,
|
|
222
|
+
columnVisibilityModel = gridColumnVisibilityModelSelector(apiRef),
|
|
223
|
+
keepOnlyColumnsToUpsert = false,
|
|
224
|
+
updateInitialVisibilityModel = false
|
|
225
|
+
}) => {
|
|
226
|
+
const isInsideStateInitializer = !apiRef.current.state.columns;
|
|
227
|
+
let columnsState;
|
|
228
|
+
if (isInsideStateInitializer) {
|
|
229
|
+
columnsState = {
|
|
230
|
+
orderedFields: [],
|
|
231
|
+
lookup: {},
|
|
232
|
+
columnVisibilityModel,
|
|
233
|
+
initialColumnVisibilityModel: columnVisibilityModel
|
|
234
|
+
};
|
|
235
|
+
} else {
|
|
236
|
+
const currentState = gridColumnsStateSelector(apiRef);
|
|
237
|
+
columnsState = {
|
|
238
|
+
orderedFields: keepOnlyColumnsToUpsert ? [] : [...currentState.orderedFields],
|
|
239
|
+
lookup: keepOnlyColumnsToUpsert ? {} : _extends({}, currentState.lookup),
|
|
240
|
+
columnVisibilityModel,
|
|
241
|
+
initialColumnVisibilityModel: updateInitialVisibilityModel ? columnVisibilityModel : currentState.initialColumnVisibilityModel
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
const columnsToKeep = {};
|
|
245
|
+
if (keepOnlyColumnsToUpsert && !isInsideStateInitializer) {
|
|
246
|
+
for (const key in columnsState.lookup) {
|
|
247
|
+
if (Object.prototype.hasOwnProperty.call(columnsState.lookup, key)) {
|
|
248
|
+
columnsToKeep[key] = false;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
columnsToUpsert.forEach(newColumn => {
|
|
253
|
+
const {
|
|
254
|
+
field
|
|
255
|
+
} = newColumn;
|
|
256
|
+
columnsToKeep[field] = true;
|
|
257
|
+
let existingState = columnsState.lookup[field];
|
|
258
|
+
if (existingState == null) {
|
|
259
|
+
existingState = _extends({}, getDefaultColTypeDef(newColumn.type), {
|
|
260
|
+
field,
|
|
261
|
+
hasBeenResized: false
|
|
262
|
+
});
|
|
263
|
+
columnsState.orderedFields.push(field);
|
|
264
|
+
} else if (keepOnlyColumnsToUpsert) {
|
|
265
|
+
columnsState.orderedFields.push(field);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// If the column type has changed - merge the existing state with the default column type definition
|
|
269
|
+
if (existingState && existingState.type !== newColumn.type) {
|
|
270
|
+
existingState = _extends({}, getDefaultColTypeDef(newColumn.type), {
|
|
271
|
+
field
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
let hasBeenResized = existingState.hasBeenResized;
|
|
275
|
+
COLUMNS_DIMENSION_PROPERTIES.forEach(key => {
|
|
276
|
+
if (newColumn[key] !== undefined) {
|
|
277
|
+
hasBeenResized = true;
|
|
278
|
+
if (newColumn[key] === -1) {
|
|
279
|
+
newColumn[key] = Infinity;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
});
|
|
283
|
+
const mergedProps = _extends({}, getDefaultColTypeDef(newColumn.type), {
|
|
284
|
+
hasBeenResized,
|
|
285
|
+
field
|
|
286
|
+
});
|
|
287
|
+
let key;
|
|
288
|
+
for (key in newColumn) {
|
|
289
|
+
if (newColumn[key] !== undefined && key !== 'field') {
|
|
290
|
+
mergedProps[key] = newColumn[key];
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
columnsState.lookup[field] = resolveProps(existingState, mergedProps);
|
|
294
|
+
});
|
|
295
|
+
if (keepOnlyColumnsToUpsert && !isInsideStateInitializer) {
|
|
296
|
+
Object.keys(columnsState.lookup).forEach(field => {
|
|
297
|
+
if (!columnsToKeep[field]) {
|
|
298
|
+
delete columnsState.lookup[field];
|
|
299
|
+
}
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
const columnsStateWithPreProcessing = apiRef.current.unstable_applyPipeProcessors('hydrateColumns', columnsState);
|
|
303
|
+
const columnsStateWithPortableColumns = applyInitialState(columnsStateWithPreProcessing, initialState);
|
|
304
|
+
return hydrateColumnsWidth(columnsStateWithPortableColumns, apiRef.current.getRootDimensions?.() ?? undefined);
|
|
305
|
+
};
|
|
306
|
+
export function getFirstNonSpannedColumnToRender({
|
|
307
|
+
firstColumnToRender,
|
|
308
|
+
apiRef,
|
|
309
|
+
firstRowToRender,
|
|
310
|
+
lastRowToRender,
|
|
311
|
+
visibleRows
|
|
312
|
+
}) {
|
|
313
|
+
let firstNonSpannedColumnToRender = firstColumnToRender;
|
|
314
|
+
let foundStableColumn = false;
|
|
315
|
+
|
|
316
|
+
// Keep checking columns until we find one that's not spanned in any visible row
|
|
317
|
+
while (!foundStableColumn && firstNonSpannedColumnToRender >= 0) {
|
|
318
|
+
foundStableColumn = true;
|
|
319
|
+
for (let i = firstRowToRender; i < lastRowToRender; i += 1) {
|
|
320
|
+
const row = visibleRows[i];
|
|
321
|
+
if (row) {
|
|
322
|
+
const rowId = visibleRows[i].id;
|
|
323
|
+
const cellColSpanInfo = apiRef.current.unstable_getCellColSpanInfo(rowId, firstNonSpannedColumnToRender);
|
|
324
|
+
if (cellColSpanInfo && cellColSpanInfo.spannedByColSpan && cellColSpanInfo.leftVisibleCellIndex < firstNonSpannedColumnToRender) {
|
|
325
|
+
firstNonSpannedColumnToRender = cellColSpanInfo.leftVisibleCellIndex;
|
|
326
|
+
foundStableColumn = false;
|
|
327
|
+
break; // Check the new column index against the visible rows, because it might be spanned
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
return firstNonSpannedColumnToRender;
|
|
333
|
+
}
|
|
334
|
+
export function getTotalHeaderHeight(apiRef, props) {
|
|
335
|
+
if (props.listView) {
|
|
336
|
+
return 0;
|
|
337
|
+
}
|
|
338
|
+
const densityFactor = gridDensityFactorSelector(apiRef);
|
|
339
|
+
const maxDepth = gridColumnGroupsHeaderMaxDepthSelector(apiRef);
|
|
340
|
+
const isHeaderFilteringEnabled = gridHeaderFilteringEnabledSelector(apiRef);
|
|
341
|
+
const columnHeadersHeight = Math.floor(props.columnHeaderHeight * densityFactor);
|
|
342
|
+
const columnGroupHeadersHeight = Math.floor((props.columnGroupHeaderHeight ?? props.columnHeaderHeight) * densityFactor);
|
|
343
|
+
const filterHeadersHeight = isHeaderFilteringEnabled ? Math.floor((props.headerFilterHeight ?? props.columnHeaderHeight) * densityFactor) : 0;
|
|
344
|
+
return columnHeadersHeight + columnGroupHeadersHeight * maxDepth + filterHeadersHeight;
|
|
345
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { gridColumnsStateSelector, gridColumnFieldsSelector, gridColumnLookupSelector, gridColumnVisibilityModelSelector, gridColumnDefinitionsSelector, gridVisibleColumnDefinitionsSelector, gridVisibleColumnFieldsSelector, gridPinnedColumnsSelector, gridVisiblePinnedColumnDefinitionsSelector, gridColumnPositionsSelector, gridFilterableColumnDefinitionsSelector, gridFilterableColumnLookupSelector, gridHasColSpanSelector } from "./gridColumnsSelector.mjs";
|
|
2
|
+
export * from "./gridColumnsInterfaces.mjs";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { gridColumnsStateSelector, gridColumnFieldsSelector, gridColumnLookupSelector, gridColumnVisibilityModelSelector, gridColumnDefinitionsSelector, gridVisibleColumnDefinitionsSelector, gridVisibleColumnFieldsSelector, gridPinnedColumnsSelector, gridVisiblePinnedColumnDefinitionsSelector, gridColumnPositionsSelector, gridFilterableColumnDefinitionsSelector, gridFilterableColumnLookupSelector, gridHasColSpanSelector } from "./gridColumnsSelector.mjs";
|
|
2
|
+
export * from "./gridColumnsInterfaces.mjs";
|