@mui/x-data-grid 8.26.0 → 8.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +100 -0
- package/DataGrid/DataGrid.d.ts +2 -2
- package/DataGrid/useDataGridComponent.d.ts +4 -4
- package/DataGrid/useDataGridProps.d.ts +2 -2
- package/colDef/gridActionsColDef.d.ts +1 -1
- package/colDef/gridBooleanColDef.d.ts +1 -1
- package/colDef/gridBooleanOperators.d.ts +1 -1
- package/colDef/gridCheckboxSelectionColDef.d.ts +1 -1
- package/colDef/gridDateColDef.d.ts +1 -1
- package/colDef/gridDateOperators.d.ts +2 -2
- package/colDef/gridDefaultColumnTypes.js +3 -1
- package/colDef/gridLongTextColDef.d.ts +2 -0
- package/colDef/gridLongTextColDef.js +17 -0
- package/colDef/gridNumericColDef.d.ts +1 -1
- package/colDef/gridNumericOperators.d.ts +1 -1
- package/colDef/gridSingleSelectColDef.d.ts +1 -1
- package/colDef/gridSingleSelectOperators.d.ts +1 -1
- package/colDef/gridStringColDef.d.ts +1 -1
- package/colDef/gridStringOperators.d.ts +1 -1
- package/colDef/index.d.ts +1 -0
- package/colDef/index.js +11 -0
- package/components/GridColumnHeaders.d.ts +1 -1
- package/components/GridColumnSortButton.d.ts +2 -2
- package/components/GridColumnUnsortedIcon.d.ts +2 -2
- package/components/GridFooter.d.ts +1 -1
- package/components/GridLoadingOverlay.d.ts +1 -1
- package/components/GridNoColumnsOverlay.d.ts +1 -1
- package/components/GridNoResultsOverlay.d.ts +1 -1
- package/components/GridNoRowsOverlay.d.ts +1 -1
- package/components/GridRow.d.ts +2 -2
- package/components/GridRowCount.d.ts +1 -1
- package/components/GridScrollArea.d.ts +2 -2
- package/components/GridSelectedRowCount.d.ts +1 -1
- package/components/GridSkeletonLoadingOverlay.d.ts +1 -1
- package/components/cell/GridActionsCell.d.ts +4 -4
- package/components/cell/GridActionsCellItem.d.ts +1 -1
- package/components/cell/GridCell.d.ts +3 -3
- package/components/cell/GridEditBooleanCell.d.ts +1 -1
- package/components/cell/GridEditDateCell.d.ts +2 -2
- package/components/cell/GridEditInputCell.d.ts +2 -2
- package/components/cell/GridEditLongTextCell.d.ts +41 -0
- package/components/cell/GridEditLongTextCell.js +248 -0
- package/components/cell/GridEditSingleSelectCell.d.ts +1 -1
- package/components/cell/GridFooterCell.d.ts +1 -1
- package/components/cell/GridLongTextCell.d.ts +43 -0
- package/components/cell/GridLongTextCell.js +254 -0
- package/components/cell/GridSkeletonCell.d.ts +1 -1
- package/components/cell/index.d.ts +3 -1
- package/components/cell/index.js +24 -0
- package/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
- package/components/columnHeaders/GridBaseColumnHeaders.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderItem.d.ts +3 -3
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
- package/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +4 -4
- package/components/columnsManagement/GridColumnsManagement.d.ts +1 -1
- package/components/columnsManagement/utils.d.ts +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.d.ts +1 -1
- package/components/containers/GridFooterContainer.d.ts +1 -1
- package/components/containers/GridOverlay.d.ts +1 -1
- package/components/containers/GridRoot.d.ts +2 -2
- package/components/containers/GridRootStyles.d.ts +1 -1
- package/components/containers/GridToolbarContainer.d.ts +1 -1
- package/components/export/ExportCsv.d.ts +2 -2
- package/components/export/ExportPrint.d.ts +2 -2
- package/components/filterPanel/FilterPanelTrigger.d.ts +1 -1
- package/components/menu/GridMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnMenuContainer.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +2 -2
- package/components/menu/columnMenu/GridColumnMenuProps.d.ts +3 -3
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -1
- package/components/panel/GridColumnsPanel.d.ts +1 -1
- package/components/panel/GridPanel.d.ts +1 -1
- package/components/panel/GridPanelContent.d.ts +1 -1
- package/components/panel/GridPanelFooter.d.ts +1 -1
- package/components/panel/GridPanelHeader.d.ts +1 -1
- package/components/panel/GridPanelWrapper.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterForm.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputBoolean.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputDate.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterInputValue.d.ts +3 -3
- package/components/panel/filterPanel/GridFilterPanel.d.ts +4 -4
- package/components/quickFilter/QuickFilter.d.ts +2 -2
- package/components/quickFilter/QuickFilterClear.d.ts +2 -2
- package/components/quickFilter/QuickFilterControl.d.ts +2 -2
- package/components/quickFilter/QuickFilterTrigger.d.ts +2 -2
- package/components/toolbar/GridToolbar.d.ts +3 -3
- package/components/toolbar/GridToolbarExport.d.ts +1 -1
- package/components/toolbar/GridToolbarQuickFilter.d.ts +2 -2
- package/components/toolbarV8/GridToolbar.d.ts +1 -1
- package/components/toolbarV8/Toolbar.d.ts +1 -1
- package/components/toolbarV8/ToolbarButton.d.ts +1 -1
- package/components/virtualization/GridMainContainer.d.ts +1 -1
- package/components/virtualization/GridVirtualScrollerContent.d.ts +1 -1
- package/components/virtualization/GridVirtualScrollerRenderZone.d.ts +1 -1
- package/constants/defaultGridSlotsComponents.d.ts +1 -1
- package/constants/gridClasses.d.ts +44 -0
- package/constants/gridClasses.js +1 -1
- package/constants/localeTextConstants.d.ts +1 -1
- package/constants/localeTextConstants.js +3 -0
- package/context/GridContextProvider.d.ts +3 -3
- package/esm/DataGrid/DataGrid.d.ts +2 -2
- package/esm/DataGrid/useDataGridComponent.d.ts +4 -4
- package/esm/DataGrid/useDataGridProps.d.ts +2 -2
- package/esm/colDef/gridActionsColDef.d.ts +1 -1
- package/esm/colDef/gridBooleanColDef.d.ts +1 -1
- package/esm/colDef/gridBooleanOperators.d.ts +1 -1
- package/esm/colDef/gridCheckboxSelectionColDef.d.ts +1 -1
- package/esm/colDef/gridDateColDef.d.ts +1 -1
- package/esm/colDef/gridDateOperators.d.ts +2 -2
- package/esm/colDef/gridDefaultColumnTypes.js +3 -1
- package/esm/colDef/gridLongTextColDef.d.ts +2 -0
- package/esm/colDef/gridLongTextColDef.js +10 -0
- package/esm/colDef/gridNumericColDef.d.ts +1 -1
- package/esm/colDef/gridNumericOperators.d.ts +1 -1
- package/esm/colDef/gridSingleSelectColDef.d.ts +1 -1
- package/esm/colDef/gridSingleSelectOperators.d.ts +1 -1
- package/esm/colDef/gridStringColDef.d.ts +1 -1
- package/esm/colDef/gridStringOperators.d.ts +1 -1
- package/esm/colDef/index.d.ts +1 -0
- package/esm/colDef/index.js +1 -0
- package/esm/components/GridColumnHeaders.d.ts +1 -1
- package/esm/components/GridColumnSortButton.d.ts +2 -2
- package/esm/components/GridColumnUnsortedIcon.d.ts +2 -2
- package/esm/components/GridFooter.d.ts +1 -1
- package/esm/components/GridLoadingOverlay.d.ts +1 -1
- package/esm/components/GridNoColumnsOverlay.d.ts +1 -1
- package/esm/components/GridNoResultsOverlay.d.ts +1 -1
- package/esm/components/GridNoRowsOverlay.d.ts +1 -1
- package/esm/components/GridRow.d.ts +2 -2
- package/esm/components/GridRowCount.d.ts +1 -1
- package/esm/components/GridScrollArea.d.ts +2 -2
- package/esm/components/GridSelectedRowCount.d.ts +1 -1
- package/esm/components/GridSkeletonLoadingOverlay.d.ts +1 -1
- package/esm/components/cell/GridActionsCell.d.ts +4 -4
- package/esm/components/cell/GridActionsCellItem.d.ts +1 -1
- package/esm/components/cell/GridCell.d.ts +3 -3
- package/esm/components/cell/GridEditBooleanCell.d.ts +1 -1
- package/esm/components/cell/GridEditDateCell.d.ts +2 -2
- package/esm/components/cell/GridEditInputCell.d.ts +2 -2
- package/esm/components/cell/GridEditLongTextCell.d.ts +41 -0
- package/esm/components/cell/GridEditLongTextCell.js +240 -0
- package/esm/components/cell/GridEditSingleSelectCell.d.ts +1 -1
- package/esm/components/cell/GridFooterCell.d.ts +1 -1
- package/esm/components/cell/GridLongTextCell.d.ts +43 -0
- package/esm/components/cell/GridLongTextCell.js +246 -0
- package/esm/components/cell/GridSkeletonCell.d.ts +1 -1
- package/esm/components/cell/index.d.ts +3 -1
- package/esm/components/cell/index.js +3 -1
- package/esm/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
- package/esm/components/columnHeaders/GridBaseColumnHeaders.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderItem.d.ts +3 -3
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
- package/esm/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +4 -4
- package/esm/components/columnsManagement/GridColumnsManagement.d.ts +1 -1
- package/esm/components/columnsManagement/utils.d.ts +1 -1
- package/esm/components/columnsPanel/ColumnsPanelTrigger.d.ts +1 -1
- package/esm/components/containers/GridFooterContainer.d.ts +1 -1
- package/esm/components/containers/GridOverlay.d.ts +1 -1
- package/esm/components/containers/GridRoot.d.ts +2 -2
- package/esm/components/containers/GridRootStyles.d.ts +1 -1
- package/esm/components/containers/GridToolbarContainer.d.ts +1 -1
- package/esm/components/export/ExportCsv.d.ts +2 -2
- package/esm/components/export/ExportPrint.d.ts +2 -2
- package/esm/components/filterPanel/FilterPanelTrigger.d.ts +1 -1
- package/esm/components/menu/GridMenu.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnMenu.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnMenuContainer.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +2 -2
- package/esm/components/menu/columnMenu/GridColumnMenuProps.d.ts +3 -3
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -1
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -1
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -1
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -1
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -1
- package/esm/components/panel/GridColumnsPanel.d.ts +1 -1
- package/esm/components/panel/GridPanel.d.ts +1 -1
- package/esm/components/panel/GridPanelContent.d.ts +1 -1
- package/esm/components/panel/GridPanelFooter.d.ts +1 -1
- package/esm/components/panel/GridPanelHeader.d.ts +1 -1
- package/esm/components/panel/GridPanelWrapper.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterForm.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputBoolean.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputDate.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputValue.d.ts +3 -3
- package/esm/components/panel/filterPanel/GridFilterPanel.d.ts +4 -4
- package/esm/components/quickFilter/QuickFilter.d.ts +2 -2
- package/esm/components/quickFilter/QuickFilterClear.d.ts +2 -2
- package/esm/components/quickFilter/QuickFilterControl.d.ts +2 -2
- package/esm/components/quickFilter/QuickFilterTrigger.d.ts +2 -2
- package/esm/components/toolbar/GridToolbar.d.ts +3 -3
- package/esm/components/toolbar/GridToolbarExport.d.ts +1 -1
- package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +2 -2
- package/esm/components/toolbarV8/GridToolbar.d.ts +1 -1
- package/esm/components/toolbarV8/Toolbar.d.ts +1 -1
- package/esm/components/toolbarV8/ToolbarButton.d.ts +1 -1
- package/esm/components/virtualization/GridMainContainer.d.ts +1 -1
- package/esm/components/virtualization/GridVirtualScrollerContent.d.ts +1 -1
- package/esm/components/virtualization/GridVirtualScrollerRenderZone.d.ts +1 -1
- package/esm/constants/defaultGridSlotsComponents.d.ts +1 -1
- package/esm/constants/gridClasses.d.ts +44 -0
- package/esm/constants/gridClasses.js +1 -1
- package/esm/constants/localeTextConstants.d.ts +1 -1
- package/esm/constants/localeTextConstants.js +3 -0
- package/esm/context/GridContextProvider.d.ts +3 -3
- package/esm/hooks/core/gridCoreSelector.d.ts +1 -1
- package/esm/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +10 -10
- package/esm/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +2 -2
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +3 -3
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +3 -3
- package/esm/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +3 -3
- package/esm/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +3 -3
- package/esm/hooks/core/useGridApiInitialization.d.ts +2 -2
- package/esm/hooks/core/useGridInitialization.d.ts +2 -2
- package/esm/hooks/core/useGridIsRtl.d.ts +2 -2
- package/esm/hooks/core/useGridLocaleText.d.ts +3 -3
- package/esm/hooks/core/useGridLoggerFactory.d.ts +3 -3
- package/esm/hooks/core/useGridRefs.d.ts +1 -1
- package/esm/hooks/core/useGridStateInitialization.d.ts +1 -1
- package/esm/hooks/features/clipboard/useGridClipboard.d.ts +2 -2
- package/esm/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +1 -1
- package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +1 -1
- package/esm/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +3 -3
- package/esm/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +4 -4
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +8 -8
- package/esm/hooks/features/columnMenu/columnMenuInterfaces.d.ts +1 -1
- package/esm/hooks/features/columnMenu/columnMenuSelector.d.ts +1 -1
- package/esm/hooks/features/columnMenu/useGridColumnMenu.d.ts +3 -3
- package/esm/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +2 -2
- package/esm/hooks/features/columnResize/columnResizeSelector.d.ts +1 -1
- package/esm/hooks/features/columnResize/useGridColumnResize.d.ts +2 -2
- package/esm/hooks/features/columns/gridColumnsSelector.d.ts +2 -2
- package/esm/hooks/features/columns/gridColumnsUtils.d.ts +7 -7
- package/esm/hooks/features/columns/useGridColumnSpanning.d.ts +2 -2
- package/esm/hooks/features/columns/useGridColumns.d.ts +4 -4
- package/esm/hooks/features/dataSource/useGridDataSource.d.ts +1 -1
- package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +2 -2
- package/esm/hooks/features/density/densitySelector.d.ts +2 -2
- package/esm/hooks/features/density/densityState.d.ts +1 -1
- package/esm/hooks/features/density/useGridDensity.d.ts +4 -4
- package/esm/hooks/features/dimensions/gridDimensionsSelectors.d.ts +1 -1
- package/esm/hooks/features/dimensions/useGridDimensions.d.ts +5 -5
- package/esm/hooks/features/editing/gridEditingSelectors.d.ts +3 -3
- package/esm/hooks/features/editing/useGridCellEditable.d.ts +1 -1
- package/esm/hooks/features/editing/useGridCellEditing.d.ts +3 -3
- package/esm/hooks/features/editing/useGridEditing.d.ts +5 -5
- package/esm/hooks/features/editing/useGridRowEditing.d.ts +3 -3
- package/esm/hooks/features/editing/utils.d.ts +1 -1
- package/esm/hooks/features/events/useGridEvents.d.ts +3 -3
- package/esm/hooks/features/export/serializers/csvSerializer.d.ts +1 -1
- package/esm/hooks/features/export/useGridCsvExport.d.ts +2 -2
- package/esm/hooks/features/export/useGridPrintExport.d.ts +3 -3
- package/esm/hooks/features/export/utils.d.ts +5 -5
- package/esm/hooks/features/filter/gridFilterSelector.d.ts +3 -3
- package/esm/hooks/features/filter/gridFilterState.d.ts +4 -4
- package/esm/hooks/features/filter/gridFilterUtils.d.ts +4 -4
- package/esm/hooks/features/filter/useGridFilter.d.ts +4 -4
- package/esm/hooks/features/focus/gridFocusState.d.ts +1 -1
- package/esm/hooks/features/focus/gridFocusStateSelector.d.ts +2 -2
- package/esm/hooks/features/focus/useGridFocus.d.ts +4 -4
- package/esm/hooks/features/focus/useGridFocus.js +15 -1
- package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +1 -1
- package/esm/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +4 -4
- package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +3 -3
- package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +3 -0
- package/esm/hooks/features/keyboardNavigation/utils.d.ts +3 -3
- package/esm/hooks/features/listView/gridListViewSelectors.d.ts +1 -1
- package/esm/hooks/features/listView/useGridListView.d.ts +4 -4
- package/esm/hooks/features/overlays/gridOverlaysInterfaces.d.ts +1 -1
- package/esm/hooks/features/overlays/useGridOverlays.d.ts +3 -3
- package/esm/hooks/features/pagination/gridPaginationInterfaces.d.ts +2 -2
- package/esm/hooks/features/pagination/gridPaginationSelector.d.ts +2 -2
- package/esm/hooks/features/pagination/gridPaginationUtils.d.ts +1 -1
- package/esm/hooks/features/pagination/useGridPagination.d.ts +4 -4
- package/esm/hooks/features/pagination/useGridPaginationMeta.d.ts +3 -3
- package/esm/hooks/features/pagination/useGridPaginationModel.d.ts +5 -5
- package/esm/hooks/features/pagination/useGridRowCount.d.ts +3 -3
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +1 -1
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +1 -1
- package/esm/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +4 -4
- package/esm/hooks/features/rowReorder/gridRowReorderSelector.d.ts +1 -1
- package/esm/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +2 -2
- package/esm/hooks/features/rowSelection/useGridRowSelection.d.ts +4 -4
- package/esm/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +3 -3
- package/esm/hooks/features/rowSelection/utils.d.ts +3 -3
- package/esm/hooks/features/rows/gridRowSpanningUtils.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsInterfaces.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsMetaInterfaces.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsMetaSelector.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsMetaState.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsSelector.d.ts +2 -2
- package/esm/hooks/features/rows/gridRowsUtils.d.ts +5 -5
- package/esm/hooks/features/rows/useGridParamsApi.d.ts +3 -3
- package/esm/hooks/features/rows/useGridParamsOverridableMethods.d.ts +2 -2
- package/esm/hooks/features/rows/useGridRowAriaAttributes.d.ts +1 -1
- package/esm/hooks/features/rows/useGridRowSpanning.d.ts +2 -2
- package/esm/hooks/features/rows/useGridRows.d.ts +4 -4
- package/esm/hooks/features/rows/useGridRowsMeta.d.ts +4 -4
- package/esm/hooks/features/rows/useGridRowsOverridableMethods.d.ts +3 -3
- package/esm/hooks/features/rows/useGridRowsPreProcessors.d.ts +2 -2
- package/esm/hooks/features/scroll/useGridScroll.d.ts +3 -3
- package/esm/hooks/features/sorting/gridSortingSelector.d.ts +2 -2
- package/esm/hooks/features/sorting/gridSortingState.d.ts +2 -2
- package/esm/hooks/features/sorting/gridSortingUtils.d.ts +5 -5
- package/esm/hooks/features/sorting/useGridSorting.d.ts +4 -4
- package/esm/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +1 -1
- package/esm/hooks/features/statePersistence/useGridStatePersistence.d.ts +2 -2
- package/esm/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +1 -1
- package/esm/hooks/features/virtualization/useGridVirtualization.d.ts +5 -5
- package/esm/hooks/utils/useGridApiContext.d.ts +3 -3
- package/esm/hooks/utils/useGridApiMethod.d.ts +2 -2
- package/esm/hooks/utils/useGridApiRef.d.ts +2 -2
- package/esm/hooks/utils/useGridAriaAttributes.d.ts +1 -1
- package/esm/hooks/utils/useGridConfiguration.d.ts +1 -1
- package/esm/hooks/utils/useGridEvent.d.ts +3 -3
- package/esm/hooks/utils/useGridInitializeState.d.ts +4 -4
- package/esm/hooks/utils/useGridLogger.d.ts +3 -3
- package/esm/hooks/utils/useGridNativeEventListener.d.ts +2 -2
- package/esm/hooks/utils/useGridPrivateApiContext.d.ts +3 -3
- package/esm/hooks/utils/useGridSelector.d.ts +1 -1
- package/esm/hooks/utils/useGridVisibleRows.d.ts +2 -2
- package/esm/index.d.ts +2 -2
- package/esm/index.js +1 -1
- package/esm/internals/utils/attachPinnedStyle.d.ts +1 -1
- package/esm/internals/utils/cache.d.ts +1 -1
- package/esm/internals/utils/getPinnedCellOffset.d.ts +1 -1
- package/esm/internals/utils/propValidation.d.ts +1 -1
- package/esm/locales/arSD.d.ts +1 -1
- package/esm/locales/arSD.js +3 -0
- package/esm/locales/beBY.d.ts +1 -1
- package/esm/locales/beBY.js +3 -0
- package/esm/locales/bgBG.d.ts +1 -1
- package/esm/locales/bgBG.js +3 -0
- package/esm/locales/bnBD.d.ts +1 -1
- package/esm/locales/bnBD.js +3 -0
- package/esm/locales/caES.d.ts +1 -1
- package/esm/locales/caES.js +3 -0
- package/esm/locales/csCZ.d.ts +1 -1
- package/esm/locales/csCZ.js +3 -0
- package/esm/locales/daDK.d.ts +1 -1
- package/esm/locales/daDK.js +3 -0
- package/esm/locales/deDE.d.ts +1 -1
- package/esm/locales/deDE.js +3 -0
- package/esm/locales/elGR.d.ts +1 -1
- package/esm/locales/elGR.js +3 -0
- package/esm/locales/enUS.d.ts +1 -1
- package/esm/locales/esES.d.ts +1 -1
- package/esm/locales/esES.js +3 -0
- package/esm/locales/faIR.d.ts +1 -1
- package/esm/locales/faIR.js +3 -0
- package/esm/locales/fiFI.d.ts +1 -1
- package/esm/locales/fiFI.js +3 -0
- package/esm/locales/frFR.d.ts +1 -1
- package/esm/locales/frFR.js +3 -0
- package/esm/locales/heIL.d.ts +1 -1
- package/esm/locales/heIL.js +3 -0
- package/esm/locales/hrHR.js +3 -0
- package/esm/locales/huHU.d.ts +1 -1
- package/esm/locales/huHU.js +3 -0
- package/esm/locales/hyAM.d.ts +1 -1
- package/esm/locales/hyAM.js +3 -0
- package/esm/locales/idID.d.ts +2 -2
- package/esm/locales/idID.js +3 -0
- package/esm/locales/isIS.d.ts +1 -1
- package/esm/locales/isIS.js +3 -0
- package/esm/locales/itIT.d.ts +1 -1
- package/esm/locales/itIT.js +3 -0
- package/esm/locales/jaJP.d.ts +1 -1
- package/esm/locales/jaJP.js +3 -0
- package/esm/locales/koKR.d.ts +1 -1
- package/esm/locales/koKR.js +3 -0
- package/esm/locales/nbNO.d.ts +1 -1
- package/esm/locales/nbNO.js +3 -0
- package/esm/locales/nlNL.d.ts +1 -1
- package/esm/locales/nlNL.js +3 -0
- package/esm/locales/nnNO.d.ts +1 -1
- package/esm/locales/nnNO.js +3 -0
- package/esm/locales/plPL.d.ts +1 -1
- package/esm/locales/plPL.js +3 -0
- package/esm/locales/ptBR.d.ts +1 -1
- package/esm/locales/ptBR.js +3 -0
- package/esm/locales/ptPT.d.ts +1 -1
- package/esm/locales/ptPT.js +3 -0
- package/esm/locales/roRO.d.ts +1 -1
- package/esm/locales/roRO.js +3 -0
- package/esm/locales/ruRU.d.ts +1 -1
- package/esm/locales/ruRU.js +3 -0
- package/esm/locales/skSK.d.ts +1 -1
- package/esm/locales/skSK.js +3 -0
- package/esm/locales/svSE.d.ts +1 -1
- package/esm/locales/svSE.js +3 -0
- package/esm/locales/trTR.d.ts +1 -1
- package/esm/locales/trTR.js +3 -0
- package/esm/locales/ukUA.d.ts +1 -1
- package/esm/locales/ukUA.js +3 -0
- package/esm/locales/urPK.d.ts +1 -1
- package/esm/locales/urPK.js +3 -0
- package/esm/locales/viVN.d.ts +1 -1
- package/esm/locales/viVN.js +3 -0
- package/esm/locales/zhCN.d.ts +1 -1
- package/esm/locales/zhCN.js +3 -0
- package/esm/locales/zhHK.js +3 -0
- package/esm/locales/zhTW.d.ts +1 -1
- package/esm/locales/zhTW.js +3 -0
- package/esm/material/augmentation.d.ts +4 -0
- package/esm/material/icons/createSvgIcon.d.ts +1 -1
- package/esm/material/icons/index.d.ts +3 -1
- package/esm/material/icons/index.js +7 -1
- package/esm/material/index.js +25 -10
- package/esm/models/api/gridColumnApi.d.ts +1 -1
- package/esm/models/api/gridColumnGroupingApi.d.ts +2 -2
- package/esm/models/api/gridColumnSpanning.d.ts +3 -3
- package/esm/models/api/gridCoreApi.d.ts +2 -2
- package/esm/models/api/gridCsvExportApi.d.ts +1 -1
- package/esm/models/api/gridDensityApi.d.ts +2 -2
- package/esm/models/api/gridEditingApi.d.ts +6 -6
- package/esm/models/api/gridFilterApi.d.ts +4 -4
- package/esm/models/api/gridFocusApi.d.ts +3 -3
- package/esm/models/api/gridHeaderFilteringApi.d.ts +2 -2
- package/esm/models/api/gridLocaleTextApi.d.ts +3 -1
- package/esm/models/api/gridLoggerApi.d.ts +1 -1
- package/esm/models/api/gridParamsApi.d.ts +7 -7
- package/esm/models/api/gridPreferencesPanelApi.d.ts +1 -1
- package/esm/models/api/gridPrintExportApi.d.ts +1 -1
- package/esm/models/api/gridRowApi.d.ts +1 -1
- package/esm/models/api/gridRowSelectionApi.d.ts +1 -1
- package/esm/models/api/gridRowsMetaApi.d.ts +2 -2
- package/esm/models/api/gridScrollApi.d.ts +2 -2
- package/esm/models/api/gridSortApi.d.ts +3 -3
- package/esm/models/api/gridStateApi.d.ts +3 -3
- package/esm/models/colDef/gridColDef.d.ts +13 -13
- package/esm/models/colDef/gridColType.d.ts +1 -0
- package/esm/models/colDef/gridColumnTypesRecord.d.ts +2 -2
- package/esm/models/configuration/gridAggregationConfiguration.d.ts +2 -2
- package/esm/models/configuration/gridCellEditableConfiguration.d.ts +4 -4
- package/esm/models/configuration/gridConfiguration.d.ts +1 -1
- package/esm/models/configuration/gridParamsConfiguration.d.ts +2 -2
- package/esm/models/configuration/gridRowConfiguration.d.ts +4 -4
- package/esm/models/controlStateItem.d.ts +1 -1
- package/esm/models/events/gridEventLookup.d.ts +7 -7
- package/esm/models/gridBaseSlots.d.ts +13 -0
- package/esm/models/gridCell.d.ts +1 -1
- package/esm/models/gridCellClass.d.ts +2 -2
- package/esm/models/gridColumnGrouping.d.ts +1 -1
- package/esm/models/gridColumnHeaderClass.d.ts +1 -1
- package/esm/models/gridExport.d.ts +2 -2
- package/esm/models/gridFilterInputComponent.d.ts +3 -3
- package/esm/models/gridFilterItem.d.ts +1 -1
- package/esm/models/gridFilterModel.d.ts +1 -1
- package/esm/models/gridFilterOperator.d.ts +3 -3
- package/esm/models/gridHeaderFilteringModel.d.ts +1 -1
- package/esm/models/gridIconSlotsComponent.d.ts +12 -2
- package/esm/models/gridRowSelectionModel.d.ts +1 -1
- package/esm/models/gridSlotsComponent.d.ts +6 -1
- package/esm/models/gridSlotsComponentsProps.d.ts +4 -2
- package/esm/models/gridSortModel.d.ts +1 -1
- package/esm/models/gridStateCommunity.d.ts +1 -1
- package/esm/models/params/gridCellParams.d.ts +4 -4
- package/esm/models/params/gridColumnGroupHeaderParams.d.ts +1 -1
- package/esm/models/params/gridColumnHeaderParams.d.ts +1 -1
- package/esm/models/params/gridEditCellParams.d.ts +2 -2
- package/esm/models/params/gridPreferencePanelParams.d.ts +1 -1
- package/esm/models/params/gridRowParams.d.ts +1 -1
- package/esm/models/params/gridRowSelectionCheckboxParams.d.ts +1 -1
- package/esm/models/params/gridValueOptionsParams.d.ts +1 -1
- package/esm/models/props/DataGridProps.d.ts +25 -26
- package/esm/themeAugmentation/overrides.d.ts +1 -1
- package/esm/themeAugmentation/props.d.ts +2 -2
- package/esm/utils/assert.d.ts +1 -1
- package/esm/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +1 -1
- package/esm/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +1 -1
- package/esm/utils/createSelector.d.ts +2 -2
- package/esm/utils/exportAs.d.ts +1 -1
- package/esm/utils/getPublicApiRef.d.ts +1 -1
- package/esm/utils/keyboardUtils.d.ts +1 -1
- package/hooks/core/gridCoreSelector.d.ts +1 -1
- package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +10 -10
- package/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +2 -2
- package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +3 -3
- package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +3 -3
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +3 -3
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +3 -3
- package/hooks/core/useGridApiInitialization.d.ts +2 -2
- package/hooks/core/useGridInitialization.d.ts +2 -2
- package/hooks/core/useGridIsRtl.d.ts +2 -2
- package/hooks/core/useGridLocaleText.d.ts +3 -3
- package/hooks/core/useGridLoggerFactory.d.ts +3 -3
- package/hooks/core/useGridRefs.d.ts +1 -1
- package/hooks/core/useGridStateInitialization.d.ts +1 -1
- package/hooks/features/clipboard/useGridClipboard.d.ts +2 -2
- package/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +1 -1
- package/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +1 -1
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +3 -3
- package/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +4 -4
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +8 -8
- package/hooks/features/columnMenu/columnMenuInterfaces.d.ts +1 -1
- package/hooks/features/columnMenu/columnMenuSelector.d.ts +1 -1
- package/hooks/features/columnMenu/useGridColumnMenu.d.ts +3 -3
- package/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +2 -2
- package/hooks/features/columnResize/columnResizeSelector.d.ts +1 -1
- package/hooks/features/columnResize/useGridColumnResize.d.ts +2 -2
- package/hooks/features/columns/gridColumnsSelector.d.ts +2 -2
- package/hooks/features/columns/gridColumnsUtils.d.ts +7 -7
- package/hooks/features/columns/useGridColumnSpanning.d.ts +2 -2
- package/hooks/features/columns/useGridColumns.d.ts +4 -4
- package/hooks/features/dataSource/useGridDataSource.d.ts +1 -1
- package/hooks/features/dataSource/useGridDataSourceBase.d.ts +2 -2
- package/hooks/features/density/densitySelector.d.ts +2 -2
- package/hooks/features/density/densityState.d.ts +1 -1
- package/hooks/features/density/useGridDensity.d.ts +4 -4
- package/hooks/features/dimensions/gridDimensionsSelectors.d.ts +1 -1
- package/hooks/features/dimensions/useGridDimensions.d.ts +5 -5
- package/hooks/features/editing/gridEditingSelectors.d.ts +3 -3
- package/hooks/features/editing/useGridCellEditable.d.ts +1 -1
- package/hooks/features/editing/useGridCellEditing.d.ts +3 -3
- package/hooks/features/editing/useGridEditing.d.ts +5 -5
- package/hooks/features/editing/useGridRowEditing.d.ts +3 -3
- package/hooks/features/editing/utils.d.ts +1 -1
- package/hooks/features/events/useGridEvents.d.ts +3 -3
- package/hooks/features/export/serializers/csvSerializer.d.ts +1 -1
- package/hooks/features/export/useGridCsvExport.d.ts +2 -2
- package/hooks/features/export/useGridPrintExport.d.ts +3 -3
- package/hooks/features/export/utils.d.ts +5 -5
- package/hooks/features/filter/gridFilterSelector.d.ts +3 -3
- package/hooks/features/filter/gridFilterState.d.ts +4 -4
- package/hooks/features/filter/gridFilterUtils.d.ts +4 -4
- package/hooks/features/filter/useGridFilter.d.ts +4 -4
- package/hooks/features/focus/gridFocusState.d.ts +1 -1
- package/hooks/features/focus/gridFocusStateSelector.d.ts +2 -2
- package/hooks/features/focus/useGridFocus.d.ts +4 -4
- package/hooks/features/focus/useGridFocus.js +15 -1
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +1 -1
- package/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +4 -4
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +3 -3
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +3 -0
- package/hooks/features/keyboardNavigation/utils.d.ts +3 -3
- package/hooks/features/listView/gridListViewSelectors.d.ts +1 -1
- package/hooks/features/listView/useGridListView.d.ts +4 -4
- package/hooks/features/overlays/gridOverlaysInterfaces.d.ts +1 -1
- package/hooks/features/overlays/useGridOverlays.d.ts +3 -3
- package/hooks/features/pagination/gridPaginationInterfaces.d.ts +2 -2
- package/hooks/features/pagination/gridPaginationSelector.d.ts +2 -2
- package/hooks/features/pagination/gridPaginationUtils.d.ts +1 -1
- package/hooks/features/pagination/useGridPagination.d.ts +4 -4
- package/hooks/features/pagination/useGridPaginationMeta.d.ts +3 -3
- package/hooks/features/pagination/useGridPaginationModel.d.ts +5 -5
- package/hooks/features/pagination/useGridRowCount.d.ts +3 -3
- package/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +1 -1
- package/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +1 -1
- package/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +4 -4
- package/hooks/features/rowReorder/gridRowReorderSelector.d.ts +1 -1
- package/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +2 -2
- package/hooks/features/rowSelection/useGridRowSelection.d.ts +4 -4
- package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +3 -3
- package/hooks/features/rowSelection/utils.d.ts +3 -3
- package/hooks/features/rows/gridRowSpanningUtils.d.ts +1 -1
- package/hooks/features/rows/gridRowsInterfaces.d.ts +1 -1
- package/hooks/features/rows/gridRowsMetaInterfaces.d.ts +1 -1
- package/hooks/features/rows/gridRowsMetaSelector.d.ts +1 -1
- package/hooks/features/rows/gridRowsMetaState.d.ts +1 -1
- package/hooks/features/rows/gridRowsSelector.d.ts +2 -2
- package/hooks/features/rows/gridRowsUtils.d.ts +5 -5
- package/hooks/features/rows/useGridParamsApi.d.ts +3 -3
- package/hooks/features/rows/useGridParamsOverridableMethods.d.ts +2 -2
- package/hooks/features/rows/useGridRowAriaAttributes.d.ts +1 -1
- package/hooks/features/rows/useGridRowSpanning.d.ts +2 -2
- package/hooks/features/rows/useGridRows.d.ts +4 -4
- package/hooks/features/rows/useGridRowsMeta.d.ts +4 -4
- package/hooks/features/rows/useGridRowsOverridableMethods.d.ts +3 -3
- package/hooks/features/rows/useGridRowsPreProcessors.d.ts +2 -2
- package/hooks/features/scroll/useGridScroll.d.ts +3 -3
- package/hooks/features/sorting/gridSortingSelector.d.ts +2 -2
- package/hooks/features/sorting/gridSortingState.d.ts +2 -2
- package/hooks/features/sorting/gridSortingUtils.d.ts +5 -5
- package/hooks/features/sorting/useGridSorting.d.ts +4 -4
- package/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +1 -1
- package/hooks/features/statePersistence/useGridStatePersistence.d.ts +2 -2
- package/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +1 -1
- package/hooks/features/virtualization/useGridVirtualization.d.ts +5 -5
- package/hooks/utils/useGridApiContext.d.ts +3 -3
- package/hooks/utils/useGridApiMethod.d.ts +2 -2
- package/hooks/utils/useGridApiRef.d.ts +2 -2
- package/hooks/utils/useGridAriaAttributes.d.ts +1 -1
- package/hooks/utils/useGridConfiguration.d.ts +1 -1
- package/hooks/utils/useGridEvent.d.ts +3 -3
- package/hooks/utils/useGridInitializeState.d.ts +4 -4
- package/hooks/utils/useGridLogger.d.ts +3 -3
- package/hooks/utils/useGridNativeEventListener.d.ts +2 -2
- package/hooks/utils/useGridPrivateApiContext.d.ts +3 -3
- package/hooks/utils/useGridSelector.d.ts +1 -1
- package/hooks/utils/useGridVisibleRows.d.ts +2 -2
- package/index.d.ts +2 -2
- package/index.js +1 -1
- package/internals/utils/attachPinnedStyle.d.ts +1 -1
- package/internals/utils/cache.d.ts +1 -1
- package/internals/utils/getPinnedCellOffset.d.ts +1 -1
- package/internals/utils/propValidation.d.ts +1 -1
- package/locales/arSD.d.ts +1 -1
- package/locales/arSD.js +3 -0
- package/locales/beBY.d.ts +1 -1
- package/locales/beBY.js +3 -0
- package/locales/bgBG.d.ts +1 -1
- package/locales/bgBG.js +3 -0
- package/locales/bnBD.d.ts +1 -1
- package/locales/bnBD.js +3 -0
- package/locales/caES.d.ts +1 -1
- package/locales/caES.js +3 -0
- package/locales/csCZ.d.ts +1 -1
- package/locales/csCZ.js +3 -0
- package/locales/daDK.d.ts +1 -1
- package/locales/daDK.js +3 -0
- package/locales/deDE.d.ts +1 -1
- package/locales/deDE.js +3 -0
- package/locales/elGR.d.ts +1 -1
- package/locales/elGR.js +3 -0
- package/locales/enUS.d.ts +1 -1
- package/locales/esES.d.ts +1 -1
- package/locales/esES.js +3 -0
- package/locales/faIR.d.ts +1 -1
- package/locales/faIR.js +3 -0
- package/locales/fiFI.d.ts +1 -1
- package/locales/fiFI.js +3 -0
- package/locales/frFR.d.ts +1 -1
- package/locales/frFR.js +3 -0
- package/locales/heIL.d.ts +1 -1
- package/locales/heIL.js +3 -0
- package/locales/hrHR.js +3 -0
- package/locales/huHU.d.ts +1 -1
- package/locales/huHU.js +3 -0
- package/locales/hyAM.d.ts +1 -1
- package/locales/hyAM.js +3 -0
- package/locales/idID.d.ts +2 -2
- package/locales/idID.js +3 -0
- package/locales/isIS.d.ts +1 -1
- package/locales/isIS.js +3 -0
- package/locales/itIT.d.ts +1 -1
- package/locales/itIT.js +3 -0
- package/locales/jaJP.d.ts +1 -1
- package/locales/jaJP.js +3 -0
- package/locales/koKR.d.ts +1 -1
- package/locales/koKR.js +3 -0
- package/locales/nbNO.d.ts +1 -1
- package/locales/nbNO.js +3 -0
- package/locales/nlNL.d.ts +1 -1
- package/locales/nlNL.js +3 -0
- package/locales/nnNO.d.ts +1 -1
- package/locales/nnNO.js +3 -0
- package/locales/plPL.d.ts +1 -1
- package/locales/plPL.js +3 -0
- package/locales/ptBR.d.ts +1 -1
- package/locales/ptBR.js +3 -0
- package/locales/ptPT.d.ts +1 -1
- package/locales/ptPT.js +3 -0
- package/locales/roRO.d.ts +1 -1
- package/locales/roRO.js +3 -0
- package/locales/ruRU.d.ts +1 -1
- package/locales/ruRU.js +3 -0
- package/locales/skSK.d.ts +1 -1
- package/locales/skSK.js +3 -0
- package/locales/svSE.d.ts +1 -1
- package/locales/svSE.js +3 -0
- package/locales/trTR.d.ts +1 -1
- package/locales/trTR.js +3 -0
- package/locales/ukUA.d.ts +1 -1
- package/locales/ukUA.js +3 -0
- package/locales/urPK.d.ts +1 -1
- package/locales/urPK.js +3 -0
- package/locales/viVN.d.ts +1 -1
- package/locales/viVN.js +3 -0
- package/locales/zhCN.d.ts +1 -1
- package/locales/zhCN.js +3 -0
- package/locales/zhHK.js +3 -0
- package/locales/zhTW.d.ts +1 -1
- package/locales/zhTW.js +3 -0
- package/material/augmentation.d.ts +4 -0
- package/material/icons/createSvgIcon.d.ts +1 -1
- package/material/icons/index.d.ts +3 -1
- package/material/icons/index.js +8 -2
- package/material/index.js +24 -9
- package/models/api/gridColumnApi.d.ts +1 -1
- package/models/api/gridColumnGroupingApi.d.ts +2 -2
- package/models/api/gridColumnSpanning.d.ts +3 -3
- package/models/api/gridCoreApi.d.ts +2 -2
- package/models/api/gridCsvExportApi.d.ts +1 -1
- package/models/api/gridDensityApi.d.ts +2 -2
- package/models/api/gridEditingApi.d.ts +6 -6
- package/models/api/gridFilterApi.d.ts +4 -4
- package/models/api/gridFocusApi.d.ts +3 -3
- package/models/api/gridHeaderFilteringApi.d.ts +2 -2
- package/models/api/gridLocaleTextApi.d.ts +3 -1
- package/models/api/gridLoggerApi.d.ts +1 -1
- package/models/api/gridParamsApi.d.ts +7 -7
- package/models/api/gridPreferencesPanelApi.d.ts +1 -1
- package/models/api/gridPrintExportApi.d.ts +1 -1
- package/models/api/gridRowApi.d.ts +1 -1
- package/models/api/gridRowSelectionApi.d.ts +1 -1
- package/models/api/gridRowsMetaApi.d.ts +2 -2
- package/models/api/gridScrollApi.d.ts +2 -2
- package/models/api/gridSortApi.d.ts +3 -3
- package/models/api/gridStateApi.d.ts +3 -3
- package/models/colDef/gridColDef.d.ts +13 -13
- package/models/colDef/gridColType.d.ts +1 -0
- package/models/colDef/gridColumnTypesRecord.d.ts +2 -2
- package/models/configuration/gridAggregationConfiguration.d.ts +2 -2
- package/models/configuration/gridCellEditableConfiguration.d.ts +4 -4
- package/models/configuration/gridConfiguration.d.ts +1 -1
- package/models/configuration/gridParamsConfiguration.d.ts +2 -2
- package/models/configuration/gridRowConfiguration.d.ts +4 -4
- package/models/controlStateItem.d.ts +1 -1
- package/models/events/gridEventLookup.d.ts +7 -7
- package/models/gridBaseSlots.d.ts +13 -0
- package/models/gridCell.d.ts +1 -1
- package/models/gridCellClass.d.ts +2 -2
- package/models/gridColumnGrouping.d.ts +1 -1
- package/models/gridColumnHeaderClass.d.ts +1 -1
- package/models/gridExport.d.ts +2 -2
- package/models/gridFilterInputComponent.d.ts +3 -3
- package/models/gridFilterItem.d.ts +1 -1
- package/models/gridFilterModel.d.ts +1 -1
- package/models/gridFilterOperator.d.ts +3 -3
- package/models/gridHeaderFilteringModel.d.ts +1 -1
- package/models/gridIconSlotsComponent.d.ts +12 -2
- package/models/gridRowSelectionModel.d.ts +1 -1
- package/models/gridSlotsComponent.d.ts +6 -1
- package/models/gridSlotsComponentsProps.d.ts +4 -2
- package/models/gridSortModel.d.ts +1 -1
- package/models/gridStateCommunity.d.ts +1 -1
- package/models/params/gridCellParams.d.ts +4 -4
- package/models/params/gridColumnGroupHeaderParams.d.ts +1 -1
- package/models/params/gridColumnHeaderParams.d.ts +1 -1
- package/models/params/gridEditCellParams.d.ts +2 -2
- package/models/params/gridPreferencePanelParams.d.ts +1 -1
- package/models/params/gridRowParams.d.ts +1 -1
- package/models/params/gridRowSelectionCheckboxParams.d.ts +1 -1
- package/models/params/gridValueOptionsParams.d.ts +1 -1
- package/models/props/DataGridProps.d.ts +25 -26
- package/package.json +3 -3
- package/themeAugmentation/overrides.d.ts +1 -1
- package/themeAugmentation/props.d.ts +2 -2
- package/utils/assert.d.ts +1 -1
- package/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +1 -1
- package/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +1 -1
- package/utils/createSelector.d.ts +2 -2
- package/utils/exportAs.d.ts +1 -1
- package/utils/getPublicApiRef.d.ts +1 -1
- package/utils/keyboardUtils.d.ts +1 -1
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
7
|
+
import { styled } from '@mui/material/styles';
|
|
8
|
+
import { getDataGridUtilityClass, gridClasses } from "../../constants/gridClasses.js";
|
|
9
|
+
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
10
|
+
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
11
|
+
import { useGridSelector } from "../../hooks/utils/useGridSelector.js";
|
|
12
|
+
import { gridRowHeightSelector } from "../../hooks/features/dimensions/gridDimensionsSelectors.js";
|
|
13
|
+
import { NotRendered } from "../../utils/assert.js";
|
|
14
|
+
import { vars } from "../../constants/cssVariables.js";
|
|
15
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
const useUtilityClasses = ownerState => {
|
|
17
|
+
const {
|
|
18
|
+
classes
|
|
19
|
+
} = ownerState;
|
|
20
|
+
const slots = {
|
|
21
|
+
root: ['longTextCell'],
|
|
22
|
+
content: ['longTextCellContent'],
|
|
23
|
+
expandButton: ['longTextCellExpandButton'],
|
|
24
|
+
collapseButton: ['longTextCellCollapseButton'],
|
|
25
|
+
popup: ['longTextCellPopup'],
|
|
26
|
+
popperContent: ['longTextCellPopperContent']
|
|
27
|
+
};
|
|
28
|
+
return composeClasses(slots, getDataGridUtilityClass, classes);
|
|
29
|
+
};
|
|
30
|
+
const GridLongTextCellRoot = styled('div', {
|
|
31
|
+
name: 'MuiDataGrid',
|
|
32
|
+
slot: 'LongTextCell'
|
|
33
|
+
})({
|
|
34
|
+
display: 'flex',
|
|
35
|
+
alignItems: 'center',
|
|
36
|
+
width: '100%',
|
|
37
|
+
height: '100%',
|
|
38
|
+
position: 'relative'
|
|
39
|
+
});
|
|
40
|
+
const GridLongTextCellContent = styled('div', {
|
|
41
|
+
name: 'MuiDataGrid',
|
|
42
|
+
slot: 'LongTextCellContent'
|
|
43
|
+
})({
|
|
44
|
+
overflow: 'hidden',
|
|
45
|
+
textOverflow: 'ellipsis',
|
|
46
|
+
whiteSpace: 'nowrap',
|
|
47
|
+
flex: 1
|
|
48
|
+
});
|
|
49
|
+
const GridLongTextCellPopperContent = styled('div', {
|
|
50
|
+
name: 'MuiDataGrid',
|
|
51
|
+
slot: 'LongTextCellPopperContent'
|
|
52
|
+
})(({
|
|
53
|
+
theme
|
|
54
|
+
}) => _extends({}, theme.typography.body2, {
|
|
55
|
+
letterSpacing: 'normal',
|
|
56
|
+
paddingBlock: 15.5,
|
|
57
|
+
paddingInline: 9,
|
|
58
|
+
maxHeight: 52 * 3,
|
|
59
|
+
overflow: 'auto',
|
|
60
|
+
whiteSpace: 'pre-wrap',
|
|
61
|
+
wordBreak: 'break-word',
|
|
62
|
+
width: 'var(--_width)',
|
|
63
|
+
border: `1px solid ${(theme.vars || theme).palette.divider}`,
|
|
64
|
+
boxSizing: 'border-box'
|
|
65
|
+
}));
|
|
66
|
+
const GridLongTextCellCornerButton = styled('button', {
|
|
67
|
+
name: 'MuiDataGrid',
|
|
68
|
+
slot: 'LongTextCellCornerButton'
|
|
69
|
+
})(({
|
|
70
|
+
theme
|
|
71
|
+
}) => ({
|
|
72
|
+
lineHeight: 0,
|
|
73
|
+
position: 'absolute',
|
|
74
|
+
bottom: 1,
|
|
75
|
+
right: 0,
|
|
76
|
+
border: '1px solid',
|
|
77
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
78
|
+
borderColor: (theme.vars || theme).palette.divider,
|
|
79
|
+
backgroundColor: (theme.vars || theme).palette.background.paper,
|
|
80
|
+
borderRadius: 0,
|
|
81
|
+
fontSize: '0.875rem',
|
|
82
|
+
padding: 2,
|
|
83
|
+
'&:focus-visible': {
|
|
84
|
+
outline: 'none'
|
|
85
|
+
},
|
|
86
|
+
'&:hover': {
|
|
87
|
+
backgroundColor: (theme.vars || theme).palette.background.paper,
|
|
88
|
+
color: (theme.vars || theme).palette.text.primary
|
|
89
|
+
},
|
|
90
|
+
[`&.${gridClasses.longTextCellExpandButton}`]: {
|
|
91
|
+
right: -9,
|
|
92
|
+
opacity: 0,
|
|
93
|
+
[`.${gridClasses.longTextCell}:hover &, .${gridClasses.longTextCell}.Mui-focused &`]: {
|
|
94
|
+
opacity: 1
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
[`&.${gridClasses.longTextCellCollapseButton}`]: {
|
|
98
|
+
bottom: 2,
|
|
99
|
+
right: 2,
|
|
100
|
+
border: 'none'
|
|
101
|
+
}
|
|
102
|
+
}));
|
|
103
|
+
const GridLongTextCellPopper = styled(NotRendered, {
|
|
104
|
+
name: 'MuiDataGrid',
|
|
105
|
+
slot: 'LongTextCellPopper'
|
|
106
|
+
})(({
|
|
107
|
+
theme
|
|
108
|
+
}) => ({
|
|
109
|
+
zIndex: vars.zIndex.menu,
|
|
110
|
+
background: (theme.vars || theme).palette.background.paper,
|
|
111
|
+
'&[data-popper-reference-hidden]': {
|
|
112
|
+
visibility: 'hidden',
|
|
113
|
+
pointerEvents: 'none'
|
|
114
|
+
}
|
|
115
|
+
}));
|
|
116
|
+
function GridLongTextCell(props) {
|
|
117
|
+
const {
|
|
118
|
+
id,
|
|
119
|
+
value = '',
|
|
120
|
+
colDef,
|
|
121
|
+
hasFocus,
|
|
122
|
+
slotProps,
|
|
123
|
+
renderContent
|
|
124
|
+
} = props;
|
|
125
|
+
const popupId = `${id}-${colDef.field}-longtext-popup`;
|
|
126
|
+
const rootProps = useGridRootProps();
|
|
127
|
+
const apiRef = useGridApiContext();
|
|
128
|
+
const classes = useUtilityClasses(rootProps);
|
|
129
|
+
const rowHeight = useGridSelector(apiRef, gridRowHeightSelector);
|
|
130
|
+
const [popupOpen, setPopupOpen] = React.useState(false);
|
|
131
|
+
const cellRef = React.useRef(null);
|
|
132
|
+
const cornerButtonRef = React.useRef(null);
|
|
133
|
+
React.useEffect(() => {
|
|
134
|
+
if (hasFocus && !popupOpen) {
|
|
135
|
+
if (cornerButtonRef.current && cornerButtonRef.current !== document.activeElement) {
|
|
136
|
+
cornerButtonRef.current.focus();
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
if (!hasFocus) {
|
|
140
|
+
setPopupOpen(false);
|
|
141
|
+
}
|
|
142
|
+
}, [hasFocus, popupOpen]);
|
|
143
|
+
const handleExpandClick = event => {
|
|
144
|
+
// event.detail === 0 means keyboard-triggered click (Enter keyup on focused button)
|
|
145
|
+
// Ignore these to prevent popup from opening when focus moves to this cell via Enter
|
|
146
|
+
if (event.detail === 0) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
event.stopPropagation();
|
|
150
|
+
setPopupOpen(true);
|
|
151
|
+
};
|
|
152
|
+
const handleExpandKeyDown = event => {
|
|
153
|
+
if (event.key === ' ' && !event.shiftKey) {
|
|
154
|
+
event.preventDefault(); // Prevent native button click on keyup
|
|
155
|
+
event.stopPropagation(); // Prevent grid row selection
|
|
156
|
+
setPopupOpen(prev => !prev);
|
|
157
|
+
}
|
|
158
|
+
if (event.key === 'Escape' && popupOpen) {
|
|
159
|
+
event.stopPropagation(); // Prevent grid cell navigation
|
|
160
|
+
setPopupOpen(false);
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
const handleClickAway = () => {
|
|
164
|
+
setPopupOpen(false);
|
|
165
|
+
};
|
|
166
|
+
const handleCollapseClick = event => {
|
|
167
|
+
event.stopPropagation();
|
|
168
|
+
setPopupOpen(false);
|
|
169
|
+
apiRef.current.getCellElement(id, colDef.field)?.focus();
|
|
170
|
+
};
|
|
171
|
+
return /*#__PURE__*/_jsxs(GridLongTextCellRoot, _extends({
|
|
172
|
+
ref: cellRef
|
|
173
|
+
}, slotProps?.root, {
|
|
174
|
+
className: clsx(classes.root, slotProps?.root?.className, hasFocus && 'Mui-focused'),
|
|
175
|
+
children: [/*#__PURE__*/_jsx(GridLongTextCellContent, _extends({}, slotProps?.content, {
|
|
176
|
+
className: clsx(classes.content, slotProps?.content?.className),
|
|
177
|
+
children: value
|
|
178
|
+
})), /*#__PURE__*/_jsx(GridLongTextCellCornerButton, _extends({
|
|
179
|
+
ref: cornerButtonRef,
|
|
180
|
+
"aria-label": `${value}, ${apiRef.current.getLocaleText('longTextCellExpandLabel')}`,
|
|
181
|
+
"aria-haspopup": "dialog",
|
|
182
|
+
"aria-controls": popupOpen ? popupId : undefined,
|
|
183
|
+
"aria-expanded": popupOpen,
|
|
184
|
+
"aria-keyshortcuts": "Space",
|
|
185
|
+
tabIndex: 0
|
|
186
|
+
}, slotProps?.expandButton, {
|
|
187
|
+
className: clsx(classes.expandButton, slotProps?.expandButton?.className),
|
|
188
|
+
onClick: handleExpandClick,
|
|
189
|
+
onKeyDown: handleExpandKeyDown,
|
|
190
|
+
children: /*#__PURE__*/_jsx(rootProps.slots.longTextCellExpandIcon, {
|
|
191
|
+
fontSize: "inherit"
|
|
192
|
+
})
|
|
193
|
+
})), /*#__PURE__*/_jsx(GridLongTextCellPopper, _extends({
|
|
194
|
+
id: popupId,
|
|
195
|
+
role: "dialog",
|
|
196
|
+
"aria-label": colDef.headerName || colDef.field,
|
|
197
|
+
as: rootProps.slots.basePopper,
|
|
198
|
+
ownerState: rootProps,
|
|
199
|
+
open: popupOpen,
|
|
200
|
+
target: cellRef.current,
|
|
201
|
+
placement: "bottom-start",
|
|
202
|
+
onClickAway: handleClickAway,
|
|
203
|
+
clickAwayMouseEvent: "onMouseDown",
|
|
204
|
+
flip: true,
|
|
205
|
+
material: {
|
|
206
|
+
container: cellRef.current?.closest('[role="row"]'),
|
|
207
|
+
modifiers: [{
|
|
208
|
+
name: 'offset',
|
|
209
|
+
options: {
|
|
210
|
+
offset: [-10, -rowHeight]
|
|
211
|
+
}
|
|
212
|
+
}]
|
|
213
|
+
}
|
|
214
|
+
}, slotProps?.popper, {
|
|
215
|
+
className: clsx(classes.popup, slotProps?.popper?.className),
|
|
216
|
+
children: /*#__PURE__*/_jsxs(GridLongTextCellPopperContent, _extends({
|
|
217
|
+
tabIndex: -1,
|
|
218
|
+
onKeyDown: event => {
|
|
219
|
+
if (event.key === 'Escape') {
|
|
220
|
+
event.stopPropagation();
|
|
221
|
+
setPopupOpen(false);
|
|
222
|
+
apiRef.current.getCellElement(id, colDef.field)?.focus();
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}, slotProps?.popperContent, {
|
|
226
|
+
className: clsx(classes.popperContent, slotProps?.popperContent?.className),
|
|
227
|
+
style: _extends({
|
|
228
|
+
'--_width': `${colDef.computedWidth}px`
|
|
229
|
+
}, slotProps?.popperContent?.style),
|
|
230
|
+
children: [renderContent ? renderContent(value) : value, /*#__PURE__*/_jsx(GridLongTextCellCornerButton, _extends({
|
|
231
|
+
"aria-label": apiRef.current.getLocaleText('longTextCellCollapseLabel'),
|
|
232
|
+
"aria-keyshortcuts": "Escape"
|
|
233
|
+
}, slotProps?.collapseButton, {
|
|
234
|
+
className: clsx(classes.collapseButton, slotProps?.collapseButton?.className),
|
|
235
|
+
onClick: handleCollapseClick,
|
|
236
|
+
children: /*#__PURE__*/_jsx(rootProps.slots.longTextCellCollapseIcon, {
|
|
237
|
+
fontSize: "inherit"
|
|
238
|
+
})
|
|
239
|
+
}))]
|
|
240
|
+
}))
|
|
241
|
+
}))]
|
|
242
|
+
}));
|
|
243
|
+
}
|
|
244
|
+
export { GridLongTextCell };
|
|
245
|
+
export const renderLongTextCell = params => /*#__PURE__*/_jsx(GridLongTextCell, _extends({}, params));
|
|
246
|
+
if (process.env.NODE_ENV !== "production") renderLongTextCell.displayName = "renderLongTextCell";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridColType } from "../../models/index.js";
|
|
2
|
+
import type { GridColType } from "../../models/index.js";
|
|
3
3
|
export interface GridSkeletonCellProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
type?: GridColType;
|
|
5
5
|
width?: number | string;
|
|
@@ -7,4 +7,6 @@ export * from "./GridEditInputCell.js";
|
|
|
7
7
|
export * from "./GridEditSingleSelectCell.js";
|
|
8
8
|
export * from "./GridActionsCell.js";
|
|
9
9
|
export * from "./GridActionsCellItem.js";
|
|
10
|
-
export * from "./GridSkeletonCell.js";
|
|
10
|
+
export * from "./GridSkeletonCell.js";
|
|
11
|
+
export * from "./GridLongTextCell.js";
|
|
12
|
+
export * from "./GridEditLongTextCell.js";
|
|
@@ -6,4 +6,6 @@ export * from "./GridEditInputCell.js";
|
|
|
6
6
|
export * from "./GridEditSingleSelectCell.js";
|
|
7
7
|
export * from "./GridActionsCell.js";
|
|
8
8
|
export * from "./GridActionsCellItem.js";
|
|
9
|
-
export * from "./GridSkeletonCell.js";
|
|
9
|
+
export * from "./GridSkeletonCell.js";
|
|
10
|
+
export * from "./GridLongTextCell.js";
|
|
11
|
+
export * from "./GridEditLongTextCell.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridStateColDef } from "../../models/colDef/gridColDef.js";
|
|
2
|
+
import type { GridStateColDef } from "../../models/colDef/gridColDef.js";
|
|
3
3
|
export interface ColumnHeaderMenuIconProps {
|
|
4
4
|
colDef: GridStateColDef;
|
|
5
5
|
columnMenuId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridColumnHeaderParams } from "../../models/params/gridColumnHeaderParams.js";
|
|
2
|
+
import type { GridColumnHeaderParams } from "../../models/params/gridColumnHeaderParams.js";
|
|
3
3
|
export interface ColumnHeaderFilterIconButtonProps {
|
|
4
4
|
field: string;
|
|
5
5
|
counter?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridStateColDef } from "../../models/colDef/gridColDef.js";
|
|
3
|
-
import { GridSortDirection } from "../../models/gridSortModel.js";
|
|
4
|
-
import { GridColumnHeaderSeparatorProps } from "./GridColumnHeaderSeparator.js";
|
|
2
|
+
import type { GridStateColDef } from "../../models/colDef/gridColDef.js";
|
|
3
|
+
import type { GridSortDirection } from "../../models/gridSortModel.js";
|
|
4
|
+
import type { GridColumnHeaderSeparatorProps } from "./GridColumnHeaderSeparator.js";
|
|
5
5
|
import { PinnedColumnPosition } from "../../internals/constants.js";
|
|
6
6
|
interface GridColumnHeaderItemProps {
|
|
7
7
|
colIndex: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridColumnSortButtonProps } from "../GridColumnSortButton.js";
|
|
2
|
+
import { type GridColumnSortButtonProps } from "../GridColumnSortButton.js";
|
|
3
3
|
export interface GridColumnHeaderSortIconProps extends GridColumnSortButtonProps {}
|
|
4
4
|
declare function GridColumnHeaderSortIconRaw(props: GridColumnHeaderSortIconProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare namespace GridColumnHeaderSortIconRaw {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridStateColDef } from "../../models/colDef/gridColDef.js";
|
|
3
|
-
import { GridSortDirection } from "../../models/gridSortModel.js";
|
|
4
|
-
import { GridColumnHeaderSeparatorProps } from "./GridColumnHeaderSeparator.js";
|
|
5
|
-
import { GridColumnGroup } from "../../models/gridColumnGrouping.js";
|
|
2
|
+
import type { GridStateColDef } from "../../models/colDef/gridColDef.js";
|
|
3
|
+
import type { GridSortDirection } from "../../models/gridSortModel.js";
|
|
4
|
+
import { type GridColumnHeaderSeparatorProps } from "./GridColumnHeaderSeparator.js";
|
|
5
|
+
import type { GridColumnGroup } from "../../models/gridColumnGrouping.js";
|
|
6
6
|
interface GridGenericColumnHeaderItemProps extends Pick<GridStateColDef, 'headerClassName' | 'description' | 'resizable'> {
|
|
7
7
|
classes: Record<'root' | 'draggableContainer' | 'titleContainer' | 'titleContainerContent', string>;
|
|
8
8
|
colIndex: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextFieldProps } from "../../models/gridBaseSlots.js";
|
|
1
|
+
import type { TextFieldProps } from "../../models/gridBaseSlots.js";
|
|
2
2
|
import type { DataGridProcessedProps } from "../../models/props/DataGridProps.js";
|
|
3
3
|
import type { GridColDef } from "../../models/colDef/gridColDef.js";
|
|
4
4
|
export interface GridColumnsManagementProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridColumnVisibilityModel } from "../../hooks/features/columns/gridColumnsInterfaces.js";
|
|
1
|
+
import type { GridColumnVisibilityModel } from "../../hooks/features/columns/gridColumnsInterfaces.js";
|
|
2
2
|
import type { GridColumnsManagementProps } from "./GridColumnsManagement.js";
|
|
3
3
|
export declare const checkColumnVisibilityModelsSame: (a: GridColumnVisibilityModel, b: GridColumnVisibilityModel) => boolean;
|
|
4
4
|
export declare const defaultSearchPredicate: NonNullable<GridColumnsManagementProps['searchPredicate']>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
2
|
+
import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
3
|
import type { GridSlotProps } from "../../models/index.js";
|
|
4
4
|
export interface ColumnsPanelState {
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme } from '@mui/material/styles';
|
|
2
|
+
import type { SxProps } from '@mui/system';
|
|
3
|
+
import type { Theme } from '@mui/material/styles';
|
|
4
4
|
export interface GridRootProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
/**
|
|
6
6
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataGridProcessedProps } from "../../models/props/DataGridProps.js";
|
|
1
|
+
import type { DataGridProcessedProps } from "../../models/props/DataGridProps.js";
|
|
2
2
|
export type OwnerState = DataGridProcessedProps;
|
|
3
3
|
export declare const GridRootStyles: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
4
4
|
ownerState: OwnerState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
-
import { GridCsvExportOptions } from "../../models/gridExport.js";
|
|
2
|
+
import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
+
import type { GridCsvExportOptions } from "../../models/gridExport.js";
|
|
4
4
|
import type { GridSlotProps } from "../../models/index.js";
|
|
5
5
|
export type ExportCsvProps = GridSlotProps['baseButton'] & {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
-
import { GridPrintExportOptions } from "../../models/gridExport.js";
|
|
2
|
+
import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
+
import type { GridPrintExportOptions } from "../../models/gridExport.js";
|
|
4
4
|
import type { GridSlotProps } from "../../models/index.js";
|
|
5
5
|
export type ExportPrintProps = GridSlotProps['baseButton'] & {
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
2
|
+
import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
3
|
import type { GridSlotProps } from "../../models/index.js";
|
|
4
4
|
export interface FilterPanelState {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PopperProps } from "../../models/gridBaseSlots.js";
|
|
2
|
+
import type { PopperProps } from "../../models/gridBaseSlots.js";
|
|
3
3
|
type MenuPosition = 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top' | undefined;
|
|
4
4
|
export interface GridMenuProps extends Pick<PopperProps, 'className' | 'onExited'> {
|
|
5
5
|
open: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GridColumnMenuColumnsItem } from "./menuItems/GridColumnMenuColumnsItem.js";
|
|
2
2
|
import { GridColumnMenuFilterItem } from "./menuItems/GridColumnMenuFilterItem.js";
|
|
3
3
|
import { GridColumnMenuSortItem } from "./menuItems/GridColumnMenuSortItem.js";
|
|
4
|
-
import { GridColumnMenuProps, GridGenericColumnMenuProps } from "./GridColumnMenuProps.js";
|
|
4
|
+
import type { GridColumnMenuProps, GridGenericColumnMenuProps } from "./GridColumnMenuProps.js";
|
|
5
5
|
export declare const GRID_COLUMN_MENU_SLOTS: {
|
|
6
6
|
columnMenuSortItem: typeof GridColumnMenuSortItem;
|
|
7
7
|
columnMenuFilterItem: typeof GridColumnMenuFilterItem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridColumnMenuContainerProps } from "./GridColumnMenuProps.js";
|
|
2
|
+
import type { GridColumnMenuContainerProps } from "./GridColumnMenuProps.js";
|
|
3
3
|
declare const GridColumnMenuContainer: React.ForwardRefExoticComponent<GridColumnMenuContainerProps> | React.ForwardRefExoticComponent<GridColumnMenuContainerProps & React.RefAttributes<HTMLUListElement>>;
|
|
4
4
|
export { GridColumnMenuContainer };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { GridColDef } from "../../../models/colDef/gridColDef.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { GridColDef } from "../../../models/colDef/gridColDef.js";
|
|
3
3
|
export interface GridColumnMenuItemProps {
|
|
4
4
|
colDef: GridColDef;
|
|
5
5
|
onClick: (event: React.MouseEvent<any>) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { GridColDef } from "../../../models/colDef/gridColDef.js";
|
|
3
|
-
import { GridColumnMenuRootProps } from "../../../hooks/features/columnMenu/index.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { GridColDef } from "../../../models/colDef/gridColDef.js";
|
|
3
|
+
import type { GridColumnMenuRootProps } from "../../../hooks/features/columnMenu/index.js";
|
|
4
4
|
export interface GridColumnMenuContainerProps extends React.HTMLAttributes<HTMLUListElement> {
|
|
5
5
|
hideMenu: (event: React.SyntheticEvent) => void;
|
|
6
6
|
colDef: GridColDef;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
1
|
+
import type { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
2
2
|
declare function GridColumnMenuColumnsItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace GridColumnMenuColumnsItem {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
1
|
+
import type { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
2
2
|
declare function GridColumnMenuFilterItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace GridColumnMenuFilterItem {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
1
|
+
import type { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
2
2
|
declare function GridColumnMenuHideItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace GridColumnMenuHideItem {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
1
|
+
import type { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
2
2
|
declare function GridColumnMenuManageItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace GridColumnMenuManageItem {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
1
|
+
import type { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
2
2
|
declare function GridColumnMenuSortItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace GridColumnMenuSortItem {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridPanelWrapperProps } from "./GridPanelWrapper.js";
|
|
1
|
+
import { type GridPanelWrapperProps } from "./GridPanelWrapper.js";
|
|
2
2
|
export interface GridColumnsPanelProps extends GridPanelWrapperProps {}
|
|
3
3
|
declare function GridColumnsPanel(props: GridColumnsPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { GridColumnsPanel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridSlotProps } from "../../models/gridSlotsComponent.js";
|
|
2
|
+
import type { GridSlotProps } from "../../models/gridSlotsComponent.js";
|
|
3
3
|
export interface GridPanelClasses {
|
|
4
4
|
/** Styles applied to the root element. */
|
|
5
5
|
panel: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SxProps, Theme } from '@mui/system';
|
|
2
|
+
import { type SxProps, type Theme } from '@mui/system';
|
|
3
3
|
declare function GridPanelContent(props: React.HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
sx?: SxProps<Theme>;
|
|
5
5
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SxProps, Theme } from '@mui/material/styles';
|
|
2
|
+
import { type SxProps, type Theme } from '@mui/material/styles';
|
|
3
3
|
declare function GridPanelFooter(props: React.HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
sx?: SxProps<Theme>;
|
|
5
5
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SxProps, Theme } from '@mui/system';
|
|
2
|
+
import { type SxProps, type Theme } from '@mui/system';
|
|
3
3
|
declare function GridPanelHeader(props: React.HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
sx?: SxProps<Theme>;
|
|
5
5
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Theme } from '@mui/material/styles';
|
|
3
|
-
import { MUIStyledCommonProps } from '@mui/system';
|
|
2
|
+
import { type Theme } from '@mui/material/styles';
|
|
3
|
+
import type { MUIStyledCommonProps } from '@mui/system';
|
|
4
4
|
export interface GridPanelWrapperProps extends React.PropsWithChildren<React.HTMLAttributes<HTMLDivElement>>, MUIStyledCommonProps<Theme> {}
|
|
5
5
|
declare const GridPanelWrapper: React.ForwardRefExoticComponent<GridPanelWrapperProps> | React.ForwardRefExoticComponent<GridPanelWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export { GridPanelWrapper };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridFilterItem, GridLogicOperator } from "../../../models/gridFilterItem.js";
|
|
3
|
-
import { GridColDef, GridStateColDef } from "../../../models/colDef/gridColDef.js";
|
|
2
|
+
import { type GridFilterItem, GridLogicOperator } from "../../../models/gridFilterItem.js";
|
|
3
|
+
import type { GridColDef, GridStateColDef } from "../../../models/colDef/gridColDef.js";
|
|
4
4
|
export interface FilterColumnsArgs {
|
|
5
5
|
field: GridColDef['field'];
|
|
6
6
|
columns: GridStateColDef[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TextFieldProps } from "../../../models/gridBaseSlots.js";
|
|
2
|
-
import { GridFilterInputValueProps } from "../../../models/gridFilterInputComponent.js";
|
|
1
|
+
import type { TextFieldProps } from "../../../models/gridBaseSlots.js";
|
|
2
|
+
import type { GridFilterInputValueProps } from "../../../models/gridFilterInputComponent.js";
|
|
3
3
|
export type GridFilterInputBooleanProps = GridFilterInputValueProps<TextFieldProps>;
|
|
4
4
|
declare function GridFilterInputBoolean(props: GridFilterInputBooleanProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare namespace GridFilterInputBoolean {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridFilterInputValueProps } from "../../../models/gridFilterInputComponent.js";
|
|
2
|
-
import { TextFieldProps } from "../../../models/gridBaseSlots.js";
|
|
1
|
+
import type { GridFilterInputValueProps } from "../../../models/gridFilterInputComponent.js";
|
|
2
|
+
import type { TextFieldProps } from "../../../models/gridBaseSlots.js";
|
|
3
3
|
export type GridFilterInputDateProps = GridFilterInputValueProps<TextFieldProps> & {
|
|
4
4
|
type?: 'date' | 'datetime-local';
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AutocompleteProps } from "../../../models/gridBaseSlots.js";
|
|
2
|
-
import { GridFilterInputValueProps } from "../../../models/gridFilterInputComponent.js";
|
|
1
|
+
import type { AutocompleteProps } from "../../../models/gridBaseSlots.js";
|
|
2
|
+
import type { GridFilterInputValueProps } from "../../../models/gridFilterInputComponent.js";
|
|
3
3
|
import type { ValueOptions } from "../../../models/colDef/gridColDef.js";
|
|
4
4
|
export type GridFilterInputMultipleSingleSelectProps = GridFilterInputValueProps<Omit<AutocompleteProps<ValueOptions, true, false, true>, 'options'>> & {
|
|
5
5
|
type?: 'singleSelect';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AutocompleteProps } from "../../../models/gridBaseSlots.js";
|
|
2
|
-
import { GridFilterInputValueProps } from "../../../models/gridFilterInputComponent.js";
|
|
1
|
+
import type { AutocompleteProps } from "../../../models/gridBaseSlots.js";
|
|
2
|
+
import type { GridFilterInputValueProps } from "../../../models/gridFilterInputComponent.js";
|
|
3
3
|
export type GridFilterInputMultipleValueProps = GridFilterInputValueProps<Omit<AutocompleteProps<string, true, false, true>, 'options'>> & {
|
|
4
4
|
type?: 'text' | 'number' | 'date' | 'datetime-local';
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TextFieldProps } from "../../../models/gridBaseSlots.js";
|
|
2
|
-
import { GridFilterInputValueProps } from "../../../models/gridFilterInputComponent.js";
|
|
1
|
+
import type { TextFieldProps } from "../../../models/gridBaseSlots.js";
|
|
2
|
+
import type { GridFilterInputValueProps } from "../../../models/gridFilterInputComponent.js";
|
|
3
3
|
export type GridFilterInputSingleSelectProps = GridFilterInputValueProps<TextFieldProps> & {
|
|
4
4
|
type?: 'singleSelect';
|
|
5
5
|
};
|