@mui/x-data-grid 8.0.0-beta.2 → 8.0.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 +423 -96
- package/DataGrid/DataGrid.js +13 -4
- package/DataGrid/index.d.ts +1 -0
- package/DataGrid/index.js +1 -0
- package/DataGrid/useDataGridComponent.d.ts +2 -2
- package/DataGrid/useDataGridComponent.js +2 -3
- package/DataGrid/useDataGridProps.js +1 -1
- package/components/GridColumnSortButton.d.ts +16 -0
- package/components/GridColumnSortButton.js +109 -0
- package/components/GridColumnUnsortedIcon.d.ts +8 -0
- package/{material/icons → components}/GridColumnUnsortedIcon.js +1 -1
- package/components/GridScrollArea.js +4 -4
- package/components/GridShadowScrollArea.d.ts +2 -1
- package/components/GridShadowScrollArea.js +14 -3
- package/components/GridSkeletonLoadingOverlay.js +1 -1
- package/components/base/GridOverlays.js +1 -1
- package/components/cell/GridActionsCellItem.d.ts +26 -15
- package/components/cell/GridActionsCellItem.js +6 -3
- package/components/cell/GridCell.js +7 -0
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +3 -9
- package/components/columnHeaders/GridColumnHeaderSortIcon.js +18 -66
- package/components/columnSelection/GridCellCheckboxRenderer.d.ts +2 -2
- package/components/columnSelection/GridHeaderCheckbox.d.ts +1 -1
- package/components/columnsManagement/GridColumnsManagement.js +12 -31
- package/components/columnsPanel/ColumnsPanelTrigger.js +8 -133
- package/components/containers/GridOverlay.js +2 -0
- package/components/containers/GridRoot.d.ts +1 -0
- package/components/containers/GridRoot.js +12 -6
- package/components/containers/GridRootStyles.js +27 -4
- package/components/containers/GridToolbarContainer.d.ts +3 -0
- package/components/containers/GridToolbarContainer.js +4 -0
- package/components/export/ExportCsv.js +4 -129
- package/components/export/ExportPrint.js +4 -129
- package/components/filterPanel/FilterPanelTrigger.js +6 -131
- package/components/index.d.ts +1 -0
- package/components/index.js +12 -0
- package/components/panel/GridPanel.d.ts +3 -2
- package/components/panel/GridPanel.js +9 -8
- package/components/panel/GridPanelContext.d.ts +13 -0
- package/components/panel/{GridPreferencePanelContext.js → GridPanelContext.js} +11 -9
- package/components/panel/GridPreferencesPanel.js +19 -4
- package/components/panel/filterPanel/GridFilterForm.js +10 -1
- package/components/panel/filterPanel/filterPanelUtils.d.ts +1 -1
- package/components/quickFilter/QuickFilterClear.js +3 -100
- package/components/quickFilter/QuickFilterControl.js +2 -2
- package/components/quickFilter/QuickFilterTrigger.js +4 -129
- package/components/toolbar/GridToolbar.d.ts +3 -0
- package/components/toolbar/GridToolbar.js +7 -1
- package/components/toolbar/GridToolbarColumnsButton.d.ts +3 -0
- package/components/toolbar/GridToolbarColumnsButton.js +5 -2
- package/components/toolbar/GridToolbarDensitySelector.d.ts +3 -0
- package/components/toolbar/GridToolbarDensitySelector.js +4 -1
- package/components/toolbar/GridToolbarExport.d.ts +3 -0
- package/components/toolbar/GridToolbarExport.js +4 -0
- package/components/toolbar/GridToolbarExportContainer.js +1 -1
- package/components/toolbar/GridToolbarFilterButton.d.ts +3 -0
- package/components/toolbar/GridToolbarFilterButton.js +5 -2
- package/components/toolbar/GridToolbarQuickFilter.d.ts +3 -0
- package/components/toolbar/GridToolbarQuickFilter.js +5 -2
- package/components/toolbarV8/GridToolbar.d.ts +7 -1
- package/components/toolbarV8/GridToolbar.js +67 -9
- package/components/toolbarV8/Toolbar.d.ts +1 -5
- package/components/toolbarV8/Toolbar.js +3 -2
- package/components/toolbarV8/ToolbarButton.js +3 -100
- package/components/virtualization/GridVirtualScrollbar.js +1 -1
- package/components/virtualization/GridVirtualScroller.js +2 -2
- package/constants/cssVariables.d.ts +6 -0
- package/constants/cssVariables.js +4 -2
- package/constants/gridClasses.d.ts +222 -20
- package/constants/gridClasses.js +1 -1
- package/constants/localeTextConstants.js +79 -11
- package/context/GridContextProvider.js +2 -2
- package/esm/DataGrid/DataGrid.js +13 -4
- package/esm/DataGrid/index.d.ts +1 -0
- package/esm/DataGrid/index.js +1 -0
- package/esm/DataGrid/useDataGridComponent.d.ts +2 -2
- package/esm/DataGrid/useDataGridComponent.js +2 -3
- package/esm/DataGrid/useDataGridProps.js +1 -1
- package/esm/components/GridColumnSortButton.d.ts +16 -0
- package/{modern/components/columnHeaders/GridColumnHeaderSortIcon.js → esm/components/GridColumnSortButton.js} +32 -15
- package/esm/components/GridColumnUnsortedIcon.d.ts +8 -0
- package/esm/{material/icons → components}/GridColumnUnsortedIcon.js +1 -1
- package/esm/components/GridScrollArea.js +4 -4
- package/esm/components/GridShadowScrollArea.d.ts +2 -1
- package/esm/components/GridShadowScrollArea.js +14 -2
- package/esm/components/GridSkeletonLoadingOverlay.js +2 -2
- package/esm/components/base/GridOverlays.js +1 -1
- package/esm/components/cell/GridActionsCellItem.d.ts +26 -15
- package/esm/components/cell/GridActionsCellItem.js +5 -4
- package/esm/components/cell/GridCell.js +7 -0
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +3 -9
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.js +18 -66
- package/esm/components/columnSelection/GridCellCheckboxRenderer.d.ts +2 -2
- package/esm/components/columnSelection/GridHeaderCheckbox.d.ts +1 -1
- package/esm/components/columnsManagement/GridColumnsManagement.js +12 -31
- package/esm/components/columnsPanel/ColumnsPanelTrigger.js +8 -133
- package/esm/components/containers/GridOverlay.js +2 -0
- package/esm/components/containers/GridRoot.d.ts +1 -0
- package/esm/components/containers/GridRoot.js +13 -7
- package/esm/components/containers/GridRootStyles.js +27 -4
- package/esm/components/containers/GridToolbarContainer.d.ts +3 -0
- package/esm/components/containers/GridToolbarContainer.js +4 -0
- package/esm/components/export/ExportCsv.js +4 -129
- package/esm/components/export/ExportPrint.js +4 -129
- package/esm/components/filterPanel/FilterPanelTrigger.js +6 -131
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.js +1 -0
- package/esm/components/panel/GridPanel.d.ts +3 -2
- package/esm/components/panel/GridPanel.js +9 -8
- package/esm/components/panel/GridPanelContext.d.ts +13 -0
- package/{modern/components/panel/GridPreferencePanelContext.js → esm/components/panel/GridPanelContext.js} +8 -6
- package/esm/components/panel/GridPreferencesPanel.js +19 -4
- package/esm/components/panel/filterPanel/GridFilterForm.js +10 -1
- package/esm/components/panel/filterPanel/filterPanelUtils.d.ts +1 -1
- package/esm/components/quickFilter/QuickFilterClear.js +3 -100
- package/esm/components/quickFilter/QuickFilterControl.js +2 -2
- package/esm/components/quickFilter/QuickFilterTrigger.js +4 -129
- package/esm/components/toolbar/GridToolbar.d.ts +3 -0
- package/esm/components/toolbar/GridToolbar.js +7 -1
- package/esm/components/toolbar/GridToolbarColumnsButton.d.ts +3 -0
- package/esm/components/toolbar/GridToolbarColumnsButton.js +5 -2
- package/esm/components/toolbar/GridToolbarDensitySelector.d.ts +3 -0
- package/esm/components/toolbar/GridToolbarDensitySelector.js +4 -1
- package/esm/components/toolbar/GridToolbarExport.d.ts +3 -0
- package/esm/components/toolbar/GridToolbarExport.js +4 -0
- package/esm/components/toolbar/GridToolbarExportContainer.js +1 -1
- package/esm/components/toolbar/GridToolbarFilterButton.d.ts +3 -0
- package/esm/components/toolbar/GridToolbarFilterButton.js +5 -2
- package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +3 -0
- package/esm/components/toolbar/GridToolbarQuickFilter.js +5 -2
- package/esm/components/toolbarV8/GridToolbar.d.ts +7 -1
- package/esm/components/toolbarV8/GridToolbar.js +65 -9
- package/esm/components/toolbarV8/Toolbar.d.ts +1 -5
- package/esm/components/toolbarV8/Toolbar.js +3 -2
- package/esm/components/toolbarV8/ToolbarButton.js +3 -100
- package/esm/components/virtualization/GridVirtualScrollbar.js +1 -1
- package/esm/components/virtualization/GridVirtualScroller.js +2 -2
- package/esm/constants/cssVariables.d.ts +6 -0
- package/esm/constants/cssVariables.js +4 -2
- package/esm/constants/gridClasses.d.ts +222 -20
- package/esm/constants/gridClasses.js +1 -1
- package/esm/constants/localeTextConstants.js +79 -11
- package/esm/context/GridContextProvider.js +2 -2
- package/esm/hooks/core/gridCoreSelector.d.ts +1 -1
- package/esm/hooks/core/gridPropsSelectors.d.ts +1 -1
- package/esm/hooks/core/useGridInitialization.d.ts +2 -2
- package/esm/hooks/core/useGridInitialization.js +1 -4
- package/esm/hooks/features/clipboard/useGridClipboard.js +2 -2
- package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +5 -5
- package/esm/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +1 -1
- package/esm/hooks/features/columnGrouping/useGridColumnGrouping.js +4 -4
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -5
- package/esm/hooks/features/columnMenu/columnMenuSelector.d.ts +1 -1
- package/esm/hooks/features/columnMenu/useGridColumnMenu.js +4 -4
- package/esm/hooks/features/columnResize/columnResizeSelector.d.ts +2 -2
- package/esm/hooks/features/columnResize/useGridColumnResize.js +7 -7
- package/esm/hooks/features/columns/gridColumnsSelector.d.ts +14 -14
- package/esm/hooks/features/columns/gridColumnsUtils.d.ts +2 -1
- package/esm/hooks/features/columns/gridColumnsUtils.js +2 -2
- package/esm/hooks/features/columns/useGridColumnSpanning.js +2 -2
- package/esm/hooks/features/columns/useGridColumns.js +10 -4
- package/esm/hooks/features/dataSource/cache.d.ts +1 -1
- package/esm/hooks/features/dataSource/cache.js +1 -1
- package/esm/hooks/features/dataSource/gridDataSourceSelector.d.ts +4 -4
- package/esm/hooks/features/dataSource/models.d.ts +15 -2
- package/esm/hooks/features/dataSource/useGridDataSource.js +1 -1
- package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +3 -8
- package/esm/hooks/features/dataSource/useGridDataSourceBase.js +38 -6
- package/esm/hooks/features/dataSource/utils.d.ts +1 -1
- package/esm/hooks/features/density/densitySelector.d.ts +2 -2
- package/esm/hooks/features/dimensions/gridDimensionsSelectors.d.ts +13 -13
- package/esm/hooks/features/dimensions/useGridDimensions.js +4 -4
- package/esm/hooks/features/editing/gridEditingSelectors.d.ts +4 -4
- package/esm/hooks/features/editing/useGridCellEditing.d.ts +1 -1
- package/esm/hooks/features/editing/useGridCellEditing.js +34 -11
- package/esm/hooks/features/editing/useGridEditing.d.ts +1 -1
- package/esm/hooks/features/editing/useGridRowEditing.d.ts +1 -1
- package/esm/hooks/features/editing/useGridRowEditing.js +35 -11
- package/esm/hooks/features/events/useGridEvents.js +18 -18
- package/esm/hooks/features/filter/gridFilterSelector.d.ts +18 -18
- package/esm/hooks/features/filter/useGridFilter.js +6 -6
- package/esm/hooks/features/focus/gridFocusStateSelector.d.ts +10 -10
- package/esm/hooks/features/focus/useGridFocus.js +10 -10
- package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +4 -4
- package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
- package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +6 -6
- package/esm/hooks/features/listView/gridListViewSelectors.d.ts +1 -1
- package/esm/hooks/features/listView/useGridListView.d.ts +4 -4
- package/esm/hooks/features/listView/useGridListView.js +9 -9
- package/esm/hooks/features/overlays/useGridOverlays.d.ts +1 -1
- package/esm/hooks/features/overlays/useGridOverlays.js +9 -3
- package/esm/hooks/features/pagination/gridPaginationSelector.d.ts +14 -14
- package/esm/hooks/features/pagination/useGridPaginationModel.js +6 -6
- package/esm/hooks/features/pagination/useGridRowCount.js +2 -2
- package/esm/hooks/features/pivoting/gridPivotingInterfaces.d.ts +11 -0
- package/esm/hooks/features/pivoting/gridPivotingSelectors.d.ts +6 -0
- package/esm/hooks/features/pivoting/gridPivotingSelectors.js +8 -0
- package/esm/hooks/features/pivoting/index.d.ts +2 -0
- package/esm/hooks/features/pivoting/index.js +2 -0
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +2 -2
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts +1 -0
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +1 -0
- package/esm/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +4 -4
- package/esm/hooks/features/rowSelection/useGridRowSelection.js +8 -8
- package/esm/hooks/features/rowSelection/utils.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowSpanningSelectors.d.ts +3 -3
- package/esm/hooks/features/rows/gridRowsMetaSelector.d.ts +1 -1
- package/esm/hooks/features/rows/gridRowsSelector.d.ts +21 -20
- package/esm/hooks/features/rows/gridRowsSelector.js +7 -0
- package/esm/hooks/features/rows/useGridParamsApi.js +2 -2
- package/esm/hooks/features/rows/useGridRowSpanning.js +6 -6
- package/esm/hooks/features/rows/useGridRows.js +17 -11
- package/esm/hooks/features/scroll/useGridScroll.d.ts +1 -1
- package/esm/hooks/features/scroll/useGridScroll.js +2 -2
- package/esm/hooks/features/sorting/gridSortingSelector.d.ts +5 -5
- package/esm/hooks/features/sorting/useGridSorting.js +6 -6
- package/esm/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +2 -2
- package/esm/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +6 -6
- package/esm/hooks/features/virtualization/useGridVirtualScroller.js +12 -12
- package/esm/hooks/utils/index.d.ts +1 -1
- package/esm/hooks/utils/index.js +1 -1
- package/esm/hooks/utils/useGridAriaAttributes.js +6 -0
- package/esm/hooks/utils/{useGridApiEventHandler.d.ts → useGridEvent.d.ts} +2 -2
- package/esm/hooks/utils/{useGridApiEventHandler.js → useGridEvent.js} +3 -3
- package/esm/hooks/utils/useGridNativeEventListener.js +2 -2
- package/esm/hooks/utils/useGridSelector.js +1 -4
- package/esm/hooks/utils/useGridVisibleRows.d.ts +4 -4
- package/esm/hooks/utils/useIsSSR.js +1 -4
- package/esm/index.css +5 -0
- package/esm/index.js +1 -1
- package/esm/internals/index.d.ts +11 -4
- package/esm/internals/index.js +8 -3
- package/esm/locales/arSD.js +86 -11
- package/esm/locales/beBY.js +86 -11
- package/esm/locales/bgBG.js +86 -11
- package/esm/locales/bnBD.js +87 -11
- package/esm/locales/csCZ.js +87 -11
- package/esm/locales/daDK.js +86 -11
- package/esm/locales/deDE.js +87 -11
- package/esm/locales/elGR.js +86 -11
- package/esm/locales/esES.js +86 -11
- package/esm/locales/faIR.js +86 -11
- package/esm/locales/fiFI.js +86 -11
- package/esm/locales/frFR.js +86 -11
- package/esm/locales/heIL.js +86 -11
- package/esm/locales/hrHR.js +99 -29
- package/esm/locales/huHU.js +87 -11
- package/esm/locales/isIS.js +86 -11
- package/esm/locales/itIT.js +86 -11
- package/esm/locales/jaJP.js +86 -11
- package/esm/locales/koKR.js +86 -11
- package/esm/locales/nbNO.js +86 -11
- package/esm/locales/nlNL.js +87 -11
- package/esm/locales/nnNO.js +86 -11
- package/esm/locales/plPL.js +88 -13
- package/esm/locales/ptBR.js +86 -11
- package/esm/locales/ptPT.js +86 -11
- package/esm/locales/roRO.js +86 -11
- package/esm/locales/ruRU.js +87 -11
- package/esm/locales/skSK.js +87 -11
- package/esm/locales/svSE.js +89 -14
- package/esm/locales/trTR.js +86 -11
- package/esm/locales/ukUA.js +87 -11
- package/esm/locales/urPK.js +86 -11
- package/esm/locales/viVN.js +86 -11
- package/esm/locales/zhCN.js +87 -11
- package/esm/locales/zhHK.js +87 -11
- package/esm/locales/zhTW.js +87 -11
- package/esm/material/augmentation.d.ts +81 -0
- package/esm/material/icons/createSvgIcon.d.ts +2 -0
- package/esm/material/icons/createSvgIcon.js +2 -0
- package/esm/material/icons/index.d.ts +29 -84
- package/esm/material/icons/index.js +1 -1
- package/esm/material/index.d.ts +1 -0
- package/esm/material/index.js +306 -150
- package/esm/material/variables.js +4 -1
- package/esm/models/api/gridApiCommon.d.ts +2 -1
- package/esm/models/api/gridEditingApi.d.ts +1 -1
- package/esm/models/api/gridFocusApi.d.ts +1 -1
- package/esm/models/api/gridLocaleTextApi.d.ts +61 -9
- package/esm/models/api/gridPreferencesPanelApi.d.ts +1 -1
- package/esm/models/api/gridRowApi.d.ts +2 -3
- package/esm/models/colDef/gridColDef.d.ts +2 -2
- package/esm/models/colDef/index.d.ts +1 -1
- package/esm/models/configuration/gridConfiguration.d.ts +5 -0
- package/esm/models/events/gridEventListener.d.ts +1 -1
- package/esm/models/events/gridEventLookup.d.ts +1 -1
- package/esm/models/events/gridEventPublisher.d.ts +1 -1
- package/esm/models/gridBaseSlots.d.ts +43 -38
- package/esm/models/gridIconSlotsComponent.d.ts +37 -41
- package/esm/models/gridSlotsComponent.d.ts +5 -0
- package/esm/models/gridSlotsComponentsProps.d.ts +6 -21
- package/esm/models/index.d.ts +2 -2
- package/esm/models/index.js +0 -1
- package/esm/models/params/gridColumnResizeParams.d.ts +0 -1
- package/esm/models/props/DataGridProps.d.ts +14 -8
- package/esm/package.json +1 -1
- package/hooks/core/gridCoreSelector.d.ts +1 -1
- package/hooks/core/gridPropsSelectors.d.ts +1 -1
- package/hooks/core/useGridInitialization.d.ts +2 -2
- package/hooks/core/useGridInitialization.js +1 -4
- package/hooks/features/clipboard/useGridClipboard.js +1 -1
- package/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +5 -5
- package/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +1 -1
- package/hooks/features/columnGrouping/useGridColumnGrouping.js +4 -4
- package/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -5
- package/hooks/features/columnMenu/columnMenuSelector.d.ts +1 -1
- package/hooks/features/columnMenu/useGridColumnMenu.js +3 -3
- package/hooks/features/columnResize/columnResizeSelector.d.ts +2 -2
- package/hooks/features/columnResize/useGridColumnResize.js +6 -6
- package/hooks/features/columns/gridColumnsSelector.d.ts +14 -14
- package/hooks/features/columns/gridColumnsUtils.d.ts +2 -1
- package/hooks/features/columns/gridColumnsUtils.js +2 -1
- package/hooks/features/columns/useGridColumnSpanning.js +2 -2
- package/hooks/features/columns/useGridColumns.js +10 -4
- package/hooks/features/dataSource/cache.d.ts +1 -1
- package/hooks/features/dataSource/cache.js +1 -1
- package/hooks/features/dataSource/gridDataSourceSelector.d.ts +4 -4
- package/hooks/features/dataSource/models.d.ts +15 -2
- package/hooks/features/dataSource/useGridDataSource.js +2 -2
- package/hooks/features/dataSource/useGridDataSourceBase.d.ts +3 -8
- package/hooks/features/dataSource/useGridDataSourceBase.js +37 -5
- package/hooks/features/dataSource/utils.d.ts +1 -1
- package/hooks/features/density/densitySelector.d.ts +2 -2
- package/hooks/features/dimensions/gridDimensionsSelectors.d.ts +13 -13
- package/hooks/features/dimensions/useGridDimensions.js +4 -4
- package/hooks/features/editing/gridEditingSelectors.d.ts +4 -4
- package/hooks/features/editing/useGridCellEditing.d.ts +1 -1
- package/hooks/features/editing/useGridCellEditing.js +34 -11
- package/hooks/features/editing/useGridEditing.d.ts +1 -1
- package/hooks/features/editing/useGridRowEditing.d.ts +1 -1
- package/hooks/features/editing/useGridRowEditing.js +35 -11
- package/hooks/features/events/useGridEvents.js +18 -18
- package/hooks/features/filter/gridFilterSelector.d.ts +18 -18
- package/hooks/features/filter/useGridFilter.js +6 -6
- package/hooks/features/focus/gridFocusStateSelector.d.ts +10 -10
- package/hooks/features/focus/useGridFocus.js +10 -10
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +4 -4
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +6 -6
- package/hooks/features/listView/gridListViewSelectors.d.ts +1 -1
- package/hooks/features/listView/useGridListView.d.ts +4 -4
- package/hooks/features/listView/useGridListView.js +9 -9
- package/hooks/features/overlays/useGridOverlays.d.ts +1 -1
- package/hooks/features/overlays/useGridOverlays.js +9 -3
- package/hooks/features/pagination/gridPaginationSelector.d.ts +14 -14
- package/hooks/features/pagination/useGridPaginationModel.js +5 -5
- package/hooks/features/pagination/useGridRowCount.js +1 -1
- package/hooks/features/pivoting/gridPivotingInterfaces.d.ts +11 -0
- package/hooks/features/pivoting/gridPivotingSelectors.d.ts +6 -0
- package/hooks/features/pivoting/gridPivotingSelectors.js +14 -0
- package/hooks/features/pivoting/index.d.ts +2 -0
- package/hooks/features/pivoting/index.js +27 -0
- package/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +2 -2
- package/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts +1 -0
- package/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +1 -0
- package/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +4 -4
- package/hooks/features/rowSelection/useGridRowSelection.js +8 -8
- package/hooks/features/rowSelection/utils.d.ts +1 -1
- package/hooks/features/rows/gridRowSpanningSelectors.d.ts +3 -3
- package/hooks/features/rows/gridRowsMetaSelector.d.ts +1 -1
- package/hooks/features/rows/gridRowsSelector.d.ts +21 -20
- package/hooks/features/rows/gridRowsSelector.js +8 -1
- package/hooks/features/rows/useGridParamsApi.js +2 -2
- package/hooks/features/rows/useGridRowSpanning.js +6 -6
- package/hooks/features/rows/useGridRows.js +16 -10
- package/hooks/features/scroll/useGridScroll.d.ts +1 -1
- package/hooks/features/scroll/useGridScroll.js +2 -2
- package/hooks/features/sorting/gridSortingSelector.d.ts +5 -5
- package/hooks/features/sorting/useGridSorting.js +6 -6
- package/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +2 -2
- package/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +6 -6
- package/hooks/features/virtualization/useGridVirtualScroller.js +11 -11
- package/hooks/utils/index.d.ts +1 -1
- package/hooks/utils/index.js +8 -8
- package/hooks/utils/useGridAriaAttributes.js +6 -0
- package/hooks/utils/{useGridApiEventHandler.d.ts → useGridEvent.d.ts} +2 -2
- package/hooks/utils/{useGridApiEventHandler.js → useGridEvent.js} +5 -5
- package/hooks/utils/useGridNativeEventListener.js +2 -2
- package/hooks/utils/useGridSelector.js +2 -6
- package/hooks/utils/useGridVisibleRows.d.ts +4 -4
- package/hooks/utils/useIsSSR.js +2 -6
- package/index.css +5 -0
- package/index.js +1 -1
- package/internals/index.d.ts +11 -4
- package/internals/index.js +60 -2
- package/locales/arSD.js +86 -11
- package/locales/beBY.js +86 -11
- package/locales/bgBG.js +86 -11
- package/locales/bnBD.js +87 -11
- package/locales/csCZ.js +87 -11
- package/locales/daDK.js +86 -11
- package/locales/deDE.js +87 -11
- package/locales/elGR.js +86 -11
- package/locales/esES.js +86 -11
- package/locales/faIR.js +86 -11
- package/locales/fiFI.js +86 -11
- package/locales/frFR.js +86 -11
- package/locales/heIL.js +86 -11
- package/locales/hrHR.js +99 -29
- package/locales/huHU.js +87 -11
- package/locales/isIS.js +86 -11
- package/locales/itIT.js +86 -11
- package/locales/jaJP.js +86 -11
- package/locales/koKR.js +86 -11
- package/locales/nbNO.js +86 -11
- package/locales/nlNL.js +87 -11
- package/locales/nnNO.js +86 -11
- package/locales/plPL.js +88 -13
- package/locales/ptBR.js +86 -11
- package/locales/ptPT.js +86 -11
- package/locales/roRO.js +86 -11
- package/locales/ruRU.js +87 -11
- package/locales/skSK.js +87 -11
- package/locales/svSE.js +89 -14
- package/locales/trTR.js +86 -11
- package/locales/ukUA.js +87 -11
- package/locales/urPK.js +86 -11
- package/locales/viVN.js +86 -11
- package/locales/zhCN.js +87 -11
- package/locales/zhHK.js +87 -11
- package/locales/zhTW.js +87 -11
- package/material/augmentation.d.ts +81 -0
- package/material/augmentation.js +5 -0
- package/material/icons/createSvgIcon.d.ts +2 -0
- package/material/icons/createSvgIcon.js +8 -0
- package/material/icons/index.d.ts +29 -84
- package/material/icons/index.js +29 -29
- package/material/index.d.ts +1 -0
- package/material/index.js +305 -150
- package/material/variables.js +4 -1
- package/models/api/gridApiCommon.d.ts +2 -1
- package/models/api/gridEditingApi.d.ts +1 -1
- package/models/api/gridFocusApi.d.ts +1 -1
- package/models/api/gridLocaleTextApi.d.ts +61 -9
- package/models/api/gridPreferencesPanelApi.d.ts +1 -1
- package/models/api/gridRowApi.d.ts +2 -3
- package/models/colDef/gridColDef.d.ts +2 -2
- package/models/colDef/index.d.ts +1 -1
- package/models/configuration/gridConfiguration.d.ts +5 -0
- package/models/events/gridEventListener.d.ts +1 -1
- package/models/events/gridEventLookup.d.ts +1 -1
- package/models/events/gridEventPublisher.d.ts +1 -1
- package/models/gridBaseSlots.d.ts +43 -38
- package/models/gridIconSlotsComponent.d.ts +37 -41
- package/models/gridSlotsComponent.d.ts +5 -0
- package/models/gridSlotsComponentsProps.d.ts +6 -21
- package/models/index.d.ts +2 -2
- package/models/index.js +0 -12
- package/models/params/gridColumnResizeParams.d.ts +0 -1
- package/models/props/DataGridProps.d.ts +14 -8
- package/package.json +10 -16
- package/components/panel/GridPreferencePanelContext.d.ts +0 -12
- package/esm/components/panel/GridPreferencePanelContext.d.ts +0 -12
- package/esm/components/panel/GridPreferencePanelContext.js +0 -24
- package/esm/material/icons/GridColumnUnsortedIcon.d.ts +0 -8
- package/esm/models/muiEvent.d.ts +0 -5
- package/material/icons/GridColumnUnsortedIcon.d.ts +0 -8
- package/models/muiEvent.d.ts +0 -5
- package/modern/DataGrid/DataGrid.d.ts +0 -16
- package/modern/DataGrid/DataGrid.js +0 -786
- package/modern/DataGrid/index.d.ts +0 -1
- package/modern/DataGrid/index.js +0 -1
- package/modern/DataGrid/useDataGridComponent.d.ts +0 -4
- package/modern/DataGrid/useDataGridComponent.js +0 -94
- package/modern/DataGrid/useDataGridProps.d.ts +0 -3
- package/modern/DataGrid/useDataGridProps.js +0 -49
- package/modern/colDef/gridActionsColDef.d.ts +0 -3
- package/modern/colDef/gridActionsColDef.js +0 -19
- package/modern/colDef/gridBooleanColDef.d.ts +0 -2
- package/modern/colDef/gridBooleanColDef.js +0 -41
- package/modern/colDef/gridBooleanOperators.d.ts +0 -2
- package/modern/colDef/gridBooleanOperators.js +0 -12
- package/modern/colDef/gridCheckboxSelectionColDef.d.ts +0 -3
- package/modern/colDef/gridCheckboxSelectionColDef.js +0 -29
- package/modern/colDef/gridDateColDef.d.ts +0 -5
- package/modern/colDef/gridDateColDef.js +0 -60
- package/modern/colDef/gridDateOperators.d.ts +0 -3
- package/modern/colDef/gridDateOperators.js +0 -108
- package/modern/colDef/gridDefaultColumnTypes.d.ts +0 -3
- package/modern/colDef/gridDefaultColumnTypes.js +0 -20
- package/modern/colDef/gridNumericColDef.d.ts +0 -2
- package/modern/colDef/gridNumericColDef.js +0 -15
- package/modern/colDef/gridNumericOperators.d.ts +0 -7
- package/modern/colDef/gridNumericOperators.js +0 -143
- package/modern/colDef/gridSingleSelectColDef.d.ts +0 -2
- package/modern/colDef/gridSingleSelectColDef.js +0 -61
- package/modern/colDef/gridSingleSelectOperators.d.ts +0 -2
- package/modern/colDef/gridSingleSelectOperators.js +0 -38
- package/modern/colDef/gridStringColDef.d.ts +0 -5
- package/modern/colDef/gridStringColDef.js +0 -27
- package/modern/colDef/gridStringOperators.d.ts +0 -4
- package/modern/colDef/gridStringOperators.js +0 -121
- package/modern/colDef/index.d.ts +0 -13
- package/modern/colDef/index.js +0 -13
- package/modern/components/GridApiContext.d.ts +0 -2
- package/modern/components/GridApiContext.js +0 -7
- package/modern/components/GridColumnHeaders.d.ts +0 -7
- package/modern/components/GridColumnHeaders.js +0 -85
- package/modern/components/GridConfigurationContext.d.ts +0 -2
- package/modern/components/GridConfigurationContext.js +0 -7
- package/modern/components/GridDetailPanels.d.ts +0 -5
- package/modern/components/GridDetailPanels.js +0 -3
- package/modern/components/GridFooter.d.ts +0 -6
- package/modern/components/GridFooter.js +0 -40
- package/modern/components/GridHeader.d.ts +0 -2
- package/modern/components/GridHeader.js +0 -11
- package/modern/components/GridHeaders.d.ts +0 -4
- package/modern/components/GridHeaders.js +0 -48
- package/modern/components/GridLoadingOverlay.d.ts +0 -17
- package/modern/components/GridLoadingOverlay.js +0 -67
- package/modern/components/GridNoColumnsOverlay.d.ts +0 -6
- package/modern/components/GridNoColumnsOverlay.js +0 -36
- package/modern/components/GridNoResultsOverlay.d.ts +0 -5
- package/modern/components/GridNoResultsOverlay.js +0 -14
- package/modern/components/GridNoRowsOverlay.d.ts +0 -6
- package/modern/components/GridNoRowsOverlay.js +0 -23
- package/modern/components/GridPagination.d.ts +0 -6
- package/modern/components/GridPagination.js +0 -80
- package/modern/components/GridPinnedRows.d.ts +0 -6
- package/modern/components/GridPinnedRows.js +0 -3
- package/modern/components/GridRow.d.ts +0 -39
- package/modern/components/GridRow.js +0 -341
- package/modern/components/GridRowCount.d.ts +0 -13
- package/modern/components/GridRowCount.js +0 -64
- package/modern/components/GridScrollArea.d.ts +0 -10
- package/modern/components/GridScrollArea.js +0 -151
- package/modern/components/GridScrollbarFillerCell.d.ts +0 -13
- package/modern/components/GridScrollbarFillerCell.js +0 -23
- package/modern/components/GridSelectedRowCount.d.ts +0 -12
- package/modern/components/GridSelectedRowCount.js +0 -67
- package/modern/components/GridShadowScrollArea.d.ts +0 -8
- package/modern/components/GridShadowScrollArea.js +0 -82
- package/modern/components/GridSkeletonLoadingOverlay.d.ts +0 -14
- package/modern/components/GridSkeletonLoadingOverlay.js +0 -199
- package/modern/components/base/GridBody.d.ts +0 -2
- package/modern/components/base/GridBody.js +0 -2
- package/modern/components/base/GridFooterPlaceholder.d.ts +0 -2
- package/modern/components/base/GridFooterPlaceholder.js +0 -11
- package/modern/components/base/GridOverlays.d.ts +0 -13
- package/modern/components/base/GridOverlays.js +0 -86
- package/modern/components/base/index.d.ts +0 -2
- package/modern/components/base/index.js +0 -2
- package/modern/components/cell/GridActionsCell.d.ts +0 -13
- package/modern/components/cell/GridActionsCell.js +0 -261
- package/modern/components/cell/GridActionsCellItem.d.ts +0 -41
- package/modern/components/cell/GridActionsCellItem.js +0 -72
- package/modern/components/cell/GridBooleanCell.d.ts +0 -13
- package/modern/components/cell/GridBooleanCell.js +0 -124
- package/modern/components/cell/GridCell.d.ts +0 -77
- package/modern/components/cell/GridCell.js +0 -325
- package/modern/components/cell/GridEditBooleanCell.d.ts +0 -17
- package/modern/components/cell/GridEditBooleanCell.js +0 -139
- package/modern/components/cell/GridEditDateCell.d.ts +0 -21
- package/modern/components/cell/GridEditDateCell.js +0 -193
- package/modern/components/cell/GridEditInputCell.d.ts +0 -19
- package/modern/components/cell/GridEditInputCell.js +0 -168
- package/modern/components/cell/GridEditSingleSelectCell.d.ts +0 -22
- package/modern/components/cell/GridEditSingleSelectCell.js +0 -189
- package/modern/components/cell/GridSkeletonCell.d.ts +0 -20
- package/modern/components/cell/GridSkeletonCell.js +0 -104
- package/modern/components/cell/index.d.ts +0 -10
- package/modern/components/cell/index.js +0 -9
- package/modern/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +0 -10
- package/modern/components/columnHeaders/ColumnHeaderMenuIcon.js +0 -63
- package/modern/components/columnHeaders/GridBaseColumnHeaders.d.ts +0 -7
- package/modern/components/columnHeaders/GridBaseColumnHeaders.js +0 -45
- package/modern/components/columnHeaders/GridColumnGroupHeader.d.ts +0 -21
- package/modern/components/columnHeaders/GridColumnGroupHeader.js +0 -137
- package/modern/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +0 -12
- package/modern/components/columnHeaders/GridColumnHeaderFilterIconButton.js +0 -108
- package/modern/components/columnHeaders/GridColumnHeaderItem.d.ts +0 -34
- package/modern/components/columnHeaders/GridColumnHeaderItem.js +0 -231
- package/modern/components/columnHeaders/GridColumnHeaderSeparator.d.ts +0 -17
- package/modern/components/columnHeaders/GridColumnHeaderSeparator.js +0 -71
- package/modern/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +0 -15
- package/modern/components/columnHeaders/GridColumnHeaderTitle.d.ts +0 -11
- package/modern/components/columnHeaders/GridColumnHeaderTitle.js +0 -88
- package/modern/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +0 -32
- package/modern/components/columnHeaders/GridGenericColumnHeaderItem.js +0 -93
- package/modern/components/columnHeaders/GridIconButtonContainer.d.ts +0 -3
- package/modern/components/columnHeaders/GridIconButtonContainer.js +0 -43
- package/modern/components/columnHeaders/index.d.ts +0 -5
- package/modern/components/columnHeaders/index.js +0 -5
- package/modern/components/columnSelection/GridCellCheckboxRenderer.d.ts +0 -5
- package/modern/components/columnSelection/GridCellCheckboxRenderer.js +0 -153
- package/modern/components/columnSelection/GridHeaderCheckbox.d.ts +0 -4
- package/modern/components/columnSelection/GridHeaderCheckbox.js +0 -169
- package/modern/components/columnSelection/index.d.ts +0 -2
- package/modern/components/columnSelection/index.js +0 -2
- package/modern/components/columnsManagement/GridColumnsManagement.d.ts +0 -45
- package/modern/components/columnsManagement/GridColumnsManagement.js +0 -317
- package/modern/components/columnsManagement/index.d.ts +0 -1
- package/modern/components/columnsManagement/index.js +0 -1
- package/modern/components/columnsManagement/utils.d.ts +0 -4
- package/modern/components/columnsManagement/utils.js +0 -16
- package/modern/components/columnsPanel/ColumnsPanelTrigger.d.ts +0 -33
- package/modern/components/columnsPanel/ColumnsPanelTrigger.js +0 -226
- package/modern/components/columnsPanel/index.d.ts +0 -1
- package/modern/components/columnsPanel/index.js +0 -1
- package/modern/components/containers/GridFooterContainer.d.ts +0 -9
- package/modern/components/containers/GridFooterContainer.js +0 -54
- package/modern/components/containers/GridOverlay.d.ts +0 -9
- package/modern/components/containers/GridOverlay.js +0 -58
- package/modern/components/containers/GridRoot.d.ts +0 -11
- package/modern/components/containers/GridRoot.js +0 -77
- package/modern/components/containers/GridRootStyles.d.ts +0 -5
- package/modern/components/containers/GridRootStyles.js +0 -849
- package/modern/components/containers/GridToolbarContainer.d.ts +0 -9
- package/modern/components/containers/GridToolbarContainer.js +0 -62
- package/modern/components/containers/index.d.ts +0 -4
- package/modern/components/containers/index.js +0 -4
- package/modern/components/export/ExportCsv.d.ts +0 -30
- package/modern/components/export/ExportCsv.js +0 -207
- package/modern/components/export/ExportPrint.d.ts +0 -30
- package/modern/components/export/ExportPrint.js +0 -207
- package/modern/components/export/index.d.ts +0 -2
- package/modern/components/export/index.js +0 -2
- package/modern/components/filterPanel/FilterPanelTrigger.d.ts +0 -37
- package/modern/components/filterPanel/FilterPanelTrigger.js +0 -229
- package/modern/components/filterPanel/index.d.ts +0 -1
- package/modern/components/filterPanel/index.js +0 -1
- package/modern/components/index.d.ts +0 -25
- package/modern/components/index.js +0 -25
- package/modern/components/menu/GridMenu.d.ts +0 -15
- package/modern/components/menu/GridMenu.js +0 -99
- package/modern/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +0 -26
- package/modern/components/menu/columnMenu/GridColumnHeaderMenu.js +0 -63
- package/modern/components/menu/columnMenu/GridColumnMenu.d.ts +0 -24
- package/modern/components/menu/columnMenu/GridColumnMenu.js +0 -109
- package/modern/components/menu/columnMenu/GridColumnMenuContainer.d.ts +0 -4
- package/modern/components/menu/columnMenu/GridColumnMenuContainer.js +0 -59
- package/modern/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +0 -7
- package/modern/components/menu/columnMenu/GridColumnMenuProps.d.ts +0 -12
- package/modern/components/menu/columnMenu/GridColumnMenuProps.js +0 -1
- package/modern/components/menu/columnMenu/index.d.ts +0 -6
- package/modern/components/menu/columnMenu/index.js +0 -9
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +0 -7
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +0 -20
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +0 -7
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +0 -36
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +0 -7
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +0 -53
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +0 -7
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +0 -36
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +0 -7
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +0 -68
- package/modern/components/menu/columnMenu/menuItems/index.d.ts +0 -5
- package/modern/components/menu/columnMenu/menuItems/index.js +0 -5
- package/modern/components/menu/index.d.ts +0 -2
- package/modern/components/menu/index.js +0 -2
- package/modern/components/panel/GridColumnsPanel.d.ts +0 -5
- package/modern/components/panel/GridColumnsPanel.js +0 -12
- package/modern/components/panel/GridPanel.d.ts +0 -20
- package/modern/components/panel/GridPanel.js +0 -107
- package/modern/components/panel/GridPanelContent.d.ts +0 -9
- package/modern/components/panel/GridPanelContent.js +0 -53
- package/modern/components/panel/GridPanelFooter.d.ts +0 -9
- package/modern/components/panel/GridPanelFooter.js +0 -51
- package/modern/components/panel/GridPanelHeader.d.ts +0 -9
- package/modern/components/panel/GridPanelHeader.js +0 -48
- package/modern/components/panel/GridPanelWrapper.d.ts +0 -6
- package/modern/components/panel/GridPanelWrapper.js +0 -47
- package/modern/components/panel/GridPreferencePanelContext.d.ts +0 -12
- package/modern/components/panel/GridPreferencesPanel.d.ts +0 -2
- package/modern/components/panel/GridPreferencesPanel.js +0 -29
- package/modern/components/panel/filterPanel/GridFilterForm.d.ts +0 -107
- package/modern/components/panel/filterPanel/GridFilterForm.js +0 -466
- package/modern/components/panel/filterPanel/GridFilterInputBoolean.d.ts +0 -10
- package/modern/components/panel/filterPanel/GridFilterInputBoolean.js +0 -122
- package/modern/components/panel/filterPanel/GridFilterInputDate.d.ts +0 -11
- package/modern/components/panel/filterPanel/GridFilterInputDate.js +0 -135
- package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +0 -12
- package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -116
- package/modern/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +0 -11
- package/modern/components/panel/filterPanel/GridFilterInputMultipleValue.js +0 -98
- package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +0 -11
- package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.js +0 -147
- package/modern/components/panel/filterPanel/GridFilterInputValue.d.ts +0 -15
- package/modern/components/panel/filterPanel/GridFilterInputValue.js +0 -121
- package/modern/components/panel/filterPanel/GridFilterPanel.d.ts +0 -49
- package/modern/components/panel/filterPanel/GridFilterPanel.js +0 -247
- package/modern/components/panel/filterPanel/filterPanelUtils.d.ts +0 -5
- package/modern/components/panel/filterPanel/filterPanelUtils.js +0 -22
- package/modern/components/panel/filterPanel/index.d.ts +0 -10
- package/modern/components/panel/filterPanel/index.js +0 -8
- package/modern/components/panel/index.d.ts +0 -7
- package/modern/components/panel/index.js +0 -7
- package/modern/components/quickFilter/QuickFilter.d.ts +0 -64
- package/modern/components/quickFilter/QuickFilter.js +0 -189
- package/modern/components/quickFilter/QuickFilterClear.d.ts +0 -28
- package/modern/components/quickFilter/QuickFilterClear.js +0 -173
- package/modern/components/quickFilter/QuickFilterContext.d.ts +0 -16
- package/modern/components/quickFilter/QuickFilterContext.js +0 -9
- package/modern/components/quickFilter/QuickFilterControl.d.ts +0 -28
- package/modern/components/quickFilter/QuickFilterControl.js +0 -123
- package/modern/components/quickFilter/QuickFilterTrigger.d.ts +0 -28
- package/modern/components/quickFilter/QuickFilterTrigger.js +0 -204
- package/modern/components/quickFilter/index.d.ts +0 -4
- package/modern/components/quickFilter/index.js +0 -4
- package/modern/components/reexportable.d.ts +0 -1
- package/modern/components/reexportable.js +0 -1
- package/modern/components/toolbar/GridToolbar.d.ts +0 -17
- package/modern/components/toolbar/GridToolbar.js +0 -75
- package/modern/components/toolbar/GridToolbarColumnsButton.d.ts +0 -14
- package/modern/components/toolbar/GridToolbarColumnsButton.js +0 -79
- package/modern/components/toolbar/GridToolbarDensitySelector.d.ts +0 -14
- package/modern/components/toolbar/GridToolbarDensitySelector.js +0 -126
- package/modern/components/toolbar/GridToolbarExport.d.ts +0 -39
- package/modern/components/toolbar/GridToolbarExport.js +0 -124
- package/modern/components/toolbar/GridToolbarExportContainer.d.ts +0 -16
- package/modern/components/toolbar/GridToolbarExportContainer.js +0 -94
- package/modern/components/toolbar/GridToolbarFilterButton.d.ts +0 -15
- package/modern/components/toolbar/GridToolbarFilterButton.js +0 -142
- package/modern/components/toolbar/GridToolbarQuickFilter.d.ts +0 -43
- package/modern/components/toolbar/GridToolbarQuickFilter.js +0 -186
- package/modern/components/toolbar/index.d.ts +0 -8
- package/modern/components/toolbar/index.js +0 -7
- package/modern/components/toolbarV8/GridToolbar.d.ts +0 -11
- package/modern/components/toolbarV8/GridToolbar.js +0 -138
- package/modern/components/toolbarV8/Toolbar.d.ts +0 -32
- package/modern/components/toolbarV8/Toolbar.js +0 -178
- package/modern/components/toolbarV8/ToolbarButton.d.ts +0 -23
- package/modern/components/toolbarV8/ToolbarButton.js +0 -205
- package/modern/components/toolbarV8/ToolbarContext.d.ts +0 -11
- package/modern/components/toolbarV8/ToolbarContext.js +0 -9
- package/modern/components/toolbarV8/index.d.ts +0 -2
- package/modern/components/toolbarV8/index.js +0 -2
- package/modern/components/virtualization/GridBottomContainer.d.ts +0 -3
- package/modern/components/virtualization/GridBottomContainer.js +0 -25
- package/modern/components/virtualization/GridMainContainer.d.ts +0 -20
- package/modern/components/virtualization/GridMainContainer.js +0 -51
- package/modern/components/virtualization/GridTopContainer.d.ts +0 -2
- package/modern/components/virtualization/GridTopContainer.js +0 -25
- package/modern/components/virtualization/GridVirtualScrollbar.d.ts +0 -11
- package/modern/components/virtualization/GridVirtualScrollbar.js +0 -148
- package/modern/components/virtualization/GridVirtualScroller.d.ts +0 -6
- package/modern/components/virtualization/GridVirtualScroller.js +0 -130
- package/modern/components/virtualization/GridVirtualScrollerContent.d.ts +0 -8
- package/modern/components/virtualization/GridVirtualScrollerContent.js +0 -43
- package/modern/components/virtualization/GridVirtualScrollerFiller.d.ts +0 -10
- package/modern/components/virtualization/GridVirtualScrollerFiller.js +0 -74
- package/modern/components/virtualization/GridVirtualScrollerRenderZone.d.ts +0 -8
- package/modern/components/virtualization/GridVirtualScrollerRenderZone.js +0 -58
- package/modern/constants/cssVariables.d.ts +0 -264
- package/modern/constants/cssVariables.js +0 -151
- package/modern/constants/dataGridPropsDefaultValues.d.ts +0 -5
- package/modern/constants/dataGridPropsDefaultValues.js +0 -59
- package/modern/constants/defaultGridSlotsComponents.d.ts +0 -2
- package/modern/constants/defaultGridSlotsComponents.js +0 -38
- package/modern/constants/envConstants.d.ts +0 -1
- package/modern/constants/envConstants.js +0 -19
- package/modern/constants/gridClasses.d.ts +0 -709
- package/modern/constants/gridClasses.js +0 -5
- package/modern/constants/index.d.ts +0 -4
- package/modern/constants/index.js +0 -4
- package/modern/constants/localeTextConstants.d.ts +0 -2
- package/modern/constants/localeTextConstants.js +0 -191
- package/modern/constants/signature.d.ts +0 -9
- package/modern/constants/signature.js +0 -10
- package/modern/context/GridContextProvider.d.ts +0 -17
- package/modern/context/GridContextProvider.js +0 -33
- package/modern/context/GridRootPropsContext.d.ts +0 -3
- package/modern/context/GridRootPropsContext.js +0 -8
- package/modern/context/index.d.ts +0 -1
- package/modern/context/index.js +0 -1
- package/modern/hooks/core/gridCoreSelector.d.ts +0 -6
- package/modern/hooks/core/gridCoreSelector.js +0 -6
- package/modern/hooks/core/gridPropsSelectors.d.ts +0 -9
- package/modern/hooks/core/gridPropsSelectors.js +0 -15
- package/modern/hooks/core/index.d.ts +0 -2
- package/modern/hooks/core/index.js +0 -1
- package/modern/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +0 -142
- package/modern/hooks/core/pipeProcessing/gridPipeProcessingApi.js +0 -1
- package/modern/hooks/core/pipeProcessing/index.d.ts +0 -4
- package/modern/hooks/core/pipeProcessing/index.js +0 -4
- package/modern/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +0 -32
- package/modern/hooks/core/pipeProcessing/useGridPipeProcessing.js +0 -107
- package/modern/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +0 -4
- package/modern/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js +0 -26
- package/modern/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +0 -4
- package/modern/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js +0 -28
- package/modern/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +0 -79
- package/modern/hooks/core/strategyProcessing/gridStrategyProcessingApi.js +0 -5
- package/modern/hooks/core/strategyProcessing/index.d.ts +0 -3
- package/modern/hooks/core/strategyProcessing/index.js +0 -3
- package/modern/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +0 -4
- package/modern/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +0 -18
- package/modern/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +0 -43
- package/modern/hooks/core/strategyProcessing/useGridStrategyProcessing.js +0 -110
- package/modern/hooks/core/useGridApiInitialization.d.ts +0 -5
- package/modern/hooks/core/useGridApiInitialization.js +0 -112
- package/modern/hooks/core/useGridInitialization.d.ts +0 -7
- package/modern/hooks/core/useGridInitialization.js +0 -28
- package/modern/hooks/core/useGridIsRtl.d.ts +0 -3
- package/modern/hooks/core/useGridIsRtl.js +0 -19
- package/modern/hooks/core/useGridLocaleText.d.ts +0 -4
- package/modern/hooks/core/useGridLocaleText.js +0 -12
- package/modern/hooks/core/useGridLoggerFactory.d.ts +0 -4
- package/modern/hooks/core/useGridLoggerFactory.js +0 -44
- package/modern/hooks/core/useGridProps.d.ts +0 -8
- package/modern/hooks/core/useGridProps.js +0 -18
- package/modern/hooks/core/useGridRefs.d.ts +0 -3
- package/modern/hooks/core/useGridRefs.js +0 -19
- package/modern/hooks/core/useGridStateInitialization.d.ts +0 -3
- package/modern/hooks/core/useGridStateInitialization.js +0 -95
- package/modern/hooks/features/clipboard/useGridClipboard.d.ts +0 -8
- package/modern/hooks/features/clipboard/useGridClipboard.js +0 -97
- package/modern/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +0 -16
- package/modern/hooks/features/columnGrouping/gridColumnGroupsInterfaces.js +0 -1
- package/modern/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +0 -12
- package/modern/hooks/features/columnGrouping/gridColumnGroupsSelector.js +0 -10
- package/modern/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +0 -18
- package/modern/hooks/features/columnGrouping/gridColumnGroupsUtils.js +0 -82
- package/modern/hooks/features/columnGrouping/index.d.ts +0 -2
- package/modern/hooks/features/columnGrouping/index.js +0 -2
- package/modern/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +0 -10
- package/modern/hooks/features/columnGrouping/useGridColumnGrouping.js +0 -131
- package/modern/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +0 -65
- package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +0 -317
- package/modern/hooks/features/columnMenu/columnMenuInterfaces.d.ts +0 -47
- package/modern/hooks/features/columnMenu/columnMenuInterfaces.js +0 -1
- package/modern/hooks/features/columnMenu/columnMenuSelector.d.ts +0 -2
- package/modern/hooks/features/columnMenu/columnMenuSelector.js +0 -2
- package/modern/hooks/features/columnMenu/index.d.ts +0 -2
- package/modern/hooks/features/columnMenu/index.js +0 -2
- package/modern/hooks/features/columnMenu/useGridColumnMenu.d.ts +0 -9
- package/modern/hooks/features/columnMenu/useGridColumnMenu.js +0 -104
- package/modern/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +0 -13
- package/modern/hooks/features/columnMenu/useGridColumnMenuSlots.js +0 -59
- package/modern/hooks/features/columnResize/columnResizeSelector.d.ts +0 -3
- package/modern/hooks/features/columnResize/columnResizeSelector.js +0 -3
- package/modern/hooks/features/columnResize/columnResizeState.d.ts +0 -3
- package/modern/hooks/features/columnResize/columnResizeState.js +0 -1
- package/modern/hooks/features/columnResize/gridColumnResizeApi.d.ts +0 -50
- package/modern/hooks/features/columnResize/gridColumnResizeApi.js +0 -11
- package/modern/hooks/features/columnResize/index.d.ts +0 -3
- package/modern/hooks/features/columnResize/index.js +0 -3
- package/modern/hooks/features/columnResize/useGridColumnResize.d.ts +0 -10
- package/modern/hooks/features/columnResize/useGridColumnResize.js +0 -562
- package/modern/hooks/features/columns/gridColumnsInterfaces.d.ts +0 -42
- package/modern/hooks/features/columns/gridColumnsInterfaces.js +0 -9
- package/modern/hooks/features/columns/gridColumnsSelector.d.ts +0 -79
- package/modern/hooks/features/columns/gridColumnsSelector.js +0 -140
- package/modern/hooks/features/columns/gridColumnsUtils.d.ts +0 -74
- package/modern/hooks/features/columns/gridColumnsUtils.js +0 -328
- package/modern/hooks/features/columns/index.d.ts +0 -2
- package/modern/hooks/features/columns/index.js +0 -2
- package/modern/hooks/features/columns/useGridColumnSpanning.d.ts +0 -7
- package/modern/hooks/features/columns/useGridColumnSpanning.js +0 -107
- package/modern/hooks/features/columns/useGridColumns.d.ts +0 -11
- package/modern/hooks/features/columns/useGridColumns.js +0 -307
- package/modern/hooks/features/dataSource/cache.d.ts +0 -29
- package/modern/hooks/features/dataSource/cache.js +0 -39
- package/modern/hooks/features/dataSource/gridDataSourceError.d.ts +0 -31
- package/modern/hooks/features/dataSource/gridDataSourceError.js +0 -32
- package/modern/hooks/features/dataSource/gridDataSourceSelector.d.ts +0 -8
- package/modern/hooks/features/dataSource/gridDataSourceSelector.js +0 -12
- package/modern/hooks/features/dataSource/index.d.ts +0 -2
- package/modern/hooks/features/dataSource/index.js +0 -2
- package/modern/hooks/features/dataSource/models.d.ts +0 -22
- package/modern/hooks/features/dataSource/models.js +0 -1
- package/modern/hooks/features/dataSource/useGridDataSource.d.ts +0 -7
- package/modern/hooks/features/dataSource/useGridDataSource.js +0 -24
- package/modern/hooks/features/dataSource/useGridDataSourceBase.d.ts +0 -33
- package/modern/hooks/features/dataSource/useGridDataSourceBase.js +0 -165
- package/modern/hooks/features/dataSource/utils.d.ts +0 -23
- package/modern/hooks/features/dataSource/utils.js +0 -71
- package/modern/hooks/features/density/densitySelector.d.ts +0 -6
- package/modern/hooks/features/density/densitySelector.js +0 -10
- package/modern/hooks/features/density/densityState.d.ts +0 -2
- package/modern/hooks/features/density/densityState.js +0 -1
- package/modern/hooks/features/density/index.d.ts +0 -2
- package/modern/hooks/features/density/index.js +0 -2
- package/modern/hooks/features/density/useGridDensity.d.ts +0 -6
- package/modern/hooks/features/density/useGridDensity.js +0 -64
- package/modern/hooks/features/dimensions/gridDimensionsApi.d.ts +0 -103
- package/modern/hooks/features/dimensions/gridDimensionsApi.js +0 -1
- package/modern/hooks/features/dimensions/gridDimensionsSelectors.d.ts +0 -18
- package/modern/hooks/features/dimensions/gridDimensionsSelectors.js +0 -25
- package/modern/hooks/features/dimensions/index.d.ts +0 -3
- package/modern/hooks/features/dimensions/index.js +0 -1
- package/modern/hooks/features/dimensions/useGridDimensions.d.ts +0 -10
- package/modern/hooks/features/dimensions/useGridDimensions.js +0 -299
- package/modern/hooks/features/editing/gridEditingSelectors.d.ts +0 -15
- package/modern/hooks/features/editing/gridEditingSelectors.js +0 -15
- package/modern/hooks/features/editing/index.d.ts +0 -1
- package/modern/hooks/features/editing/index.js +0 -1
- package/modern/hooks/features/editing/useGridCellEditing.d.ts +0 -4
- package/modern/hooks/features/editing/useGridCellEditing.js +0 -469
- package/modern/hooks/features/editing/useGridEditing.d.ts +0 -6
- package/modern/hooks/features/editing/useGridEditing.js +0 -123
- package/modern/hooks/features/editing/useGridRowEditing.d.ts +0 -4
- package/modern/hooks/features/editing/useGridRowEditing.js +0 -605
- package/modern/hooks/features/editing/utils.d.ts +0 -2
- package/modern/hooks/features/editing/utils.js +0 -15
- package/modern/hooks/features/events/useGridEvents.d.ts +0 -8
- package/modern/hooks/features/events/useGridEvents.js +0 -24
- package/modern/hooks/features/export/serializers/csvSerializer.d.ts +0 -19
- package/modern/hooks/features/export/serializers/csvSerializer.js +0 -144
- package/modern/hooks/features/export/useGridCsvExport.d.ts +0 -11
- package/modern/hooks/features/export/useGridCsvExport.js +0 -74
- package/modern/hooks/features/export/useGridPrintExport.d.ts +0 -10
- package/modern/hooks/features/export/useGridPrintExport.js +0 -290
- package/modern/hooks/features/export/utils.d.ts +0 -20
- package/modern/hooks/features/export/utils.js +0 -39
- package/modern/hooks/features/filter/gridFilterSelector.d.ts +0 -103
- package/modern/hooks/features/filter/gridFilterSelector.js +0 -177
- package/modern/hooks/features/filter/gridFilterState.d.ts +0 -61
- package/modern/hooks/features/filter/gridFilterState.js +0 -23
- package/modern/hooks/features/filter/gridFilterUtils.d.ts +0 -23
- package/modern/hooks/features/filter/gridFilterUtils.js +0 -311
- package/modern/hooks/features/filter/index.d.ts +0 -4
- package/modern/hooks/features/filter/index.js +0 -2
- package/modern/hooks/features/filter/useGridFilter.d.ts +0 -11
- package/modern/hooks/features/filter/useGridFilter.js +0 -366
- package/modern/hooks/features/focus/gridFocusState.d.ts +0 -20
- package/modern/hooks/features/focus/gridFocusState.js +0 -1
- package/modern/hooks/features/focus/gridFocusStateSelector.d.ts +0 -12
- package/modern/hooks/features/focus/gridFocusStateSelector.js +0 -11
- package/modern/hooks/features/focus/index.d.ts +0 -2
- package/modern/hooks/features/focus/index.js +0 -2
- package/modern/hooks/features/focus/useGridFocus.d.ts +0 -11
- package/modern/hooks/features/focus/useGridFocus.js +0 -406
- package/modern/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +0 -5
- package/modern/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +0 -7
- package/modern/hooks/features/headerFiltering/index.d.ts +0 -1
- package/modern/hooks/features/headerFiltering/index.js +0 -1
- package/modern/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +0 -6
- package/modern/hooks/features/headerFiltering/useGridHeaderFiltering.js +0 -105
- package/modern/hooks/features/index.d.ts +0 -19
- package/modern/hooks/features/index.js +0 -20
- package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +0 -13
- package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +0 -537
- package/modern/hooks/features/keyboardNavigation/utils.d.ts +0 -26
- package/modern/hooks/features/keyboardNavigation/utils.js +0 -53
- package/modern/hooks/features/listView/gridListViewSelectors.d.ts +0 -7
- package/modern/hooks/features/listView/gridListViewSelectors.js +0 -7
- package/modern/hooks/features/listView/index.d.ts +0 -1
- package/modern/hooks/features/listView/index.js +0 -1
- package/modern/hooks/features/listView/useGridListView.d.ts +0 -10
- package/modern/hooks/features/listView/useGridListView.js +0 -61
- package/modern/hooks/features/overlays/useGridOverlays.d.ts +0 -14
- package/modern/hooks/features/overlays/useGridOverlays.js +0 -62
- package/modern/hooks/features/pagination/gridPaginationInterfaces.d.ts +0 -58
- package/modern/hooks/features/pagination/gridPaginationInterfaces.js +0 -1
- package/modern/hooks/features/pagination/gridPaginationSelector.d.ts +0 -79
- package/modern/hooks/features/pagination/gridPaginationSelector.js +0 -153
- package/modern/hooks/features/pagination/gridPaginationUtils.d.ts +0 -9
- package/modern/hooks/features/pagination/gridPaginationUtils.js +0 -28
- package/modern/hooks/features/pagination/index.d.ts +0 -2
- package/modern/hooks/features/pagination/index.js +0 -2
- package/modern/hooks/features/pagination/useGridPagination.d.ts +0 -10
- package/modern/hooks/features/pagination/useGridPagination.js +0 -30
- package/modern/hooks/features/pagination/useGridPaginationMeta.d.ts +0 -4
- package/modern/hooks/features/pagination/useGridPaginationMeta.js +0 -77
- package/modern/hooks/features/pagination/useGridPaginationModel.d.ts +0 -11
- package/modern/hooks/features/pagination/useGridPaginationModel.js +0 -232
- package/modern/hooks/features/pagination/useGridRowCount.d.ts +0 -4
- package/modern/hooks/features/pagination/useGridRowCount.js +0 -108
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +0 -3
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelSelector.js +0 -8
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +0 -13
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelState.js +0 -1
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts +0 -5
- package/modern/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +0 -6
- package/modern/hooks/features/preferencesPanel/index.d.ts +0 -3
- package/modern/hooks/features/preferencesPanel/index.js +0 -3
- package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +0 -9
- package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.js +0 -88
- package/modern/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +0 -6
- package/modern/hooks/features/rowSelection/gridRowSelectionSelector.js +0 -29
- package/modern/hooks/features/rowSelection/index.d.ts +0 -1
- package/modern/hooks/features/rowSelection/index.js +0 -1
- package/modern/hooks/features/rowSelection/useGridRowSelection.d.ts +0 -12
- package/modern/hooks/features/rowSelection/useGridRowSelection.js +0 -583
- package/modern/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +0 -4
- package/modern/hooks/features/rowSelection/useGridRowSelectionPreProcessors.js +0 -44
- package/modern/hooks/features/rowSelection/utils.d.ts +0 -14
- package/modern/hooks/features/rowSelection/utils.js +0 -165
- package/modern/hooks/features/rows/gridRowSpanningSelectors.d.ts +0 -4
- package/modern/hooks/features/rows/gridRowSpanningSelectors.js +0 -5
- package/modern/hooks/features/rows/gridRowSpanningUtils.d.ts +0 -10
- package/modern/hooks/features/rows/gridRowSpanningUtils.js +0 -42
- package/modern/hooks/features/rows/gridRowsInterfaces.d.ts +0 -108
- package/modern/hooks/features/rows/gridRowsInterfaces.js +0 -1
- package/modern/hooks/features/rows/gridRowsMetaInterfaces.d.ts +0 -16
- package/modern/hooks/features/rows/gridRowsMetaInterfaces.js +0 -1
- package/modern/hooks/features/rows/gridRowsMetaSelector.d.ts +0 -2
- package/modern/hooks/features/rows/gridRowsMetaSelector.js +0 -2
- package/modern/hooks/features/rows/gridRowsMetaState.d.ts +0 -21
- package/modern/hooks/features/rows/gridRowsMetaState.js +0 -1
- package/modern/hooks/features/rows/gridRowsSelector.d.ts +0 -49
- package/modern/hooks/features/rows/gridRowsSelector.js +0 -51
- package/modern/hooks/features/rows/gridRowsUtils.d.ts +0 -61
- package/modern/hooks/features/rows/gridRowsUtils.js +0 -302
- package/modern/hooks/features/rows/index.d.ts +0 -5
- package/modern/hooks/features/rows/index.js +0 -4
- package/modern/hooks/features/rows/useGridParamsApi.d.ts +0 -13
- package/modern/hooks/features/rows/useGridParamsApi.js +0 -137
- package/modern/hooks/features/rows/useGridRowAriaAttributes.d.ts +0 -2
- package/modern/hooks/features/rows/useGridRowAriaAttributes.js +0 -17
- package/modern/hooks/features/rows/useGridRowSpanning.d.ts +0 -27
- package/modern/hooks/features/rows/useGridRowSpanning.js +0 -270
- package/modern/hooks/features/rows/useGridRows.d.ts +0 -6
- package/modern/hooks/features/rows/useGridRows.js +0 -459
- package/modern/hooks/features/rows/useGridRowsMeta.d.ts +0 -10
- package/modern/hooks/features/rows/useGridRowsMeta.js +0 -227
- package/modern/hooks/features/rows/useGridRowsPreProcessors.d.ts +0 -3
- package/modern/hooks/features/rows/useGridRowsPreProcessors.js +0 -81
- package/modern/hooks/features/scroll/useGridScroll.d.ts +0 -12
- package/modern/hooks/features/scroll/useGridScroll.js +0 -134
- package/modern/hooks/features/sorting/gridSortingSelector.d.ts +0 -32
- package/modern/hooks/features/sorting/gridSortingSelector.js +0 -70
- package/modern/hooks/features/sorting/gridSortingState.d.ts +0 -14
- package/modern/hooks/features/sorting/gridSortingState.js +0 -1
- package/modern/hooks/features/sorting/gridSortingUtils.d.ts +0 -18
- package/modern/hooks/features/sorting/gridSortingUtils.js +0 -138
- package/modern/hooks/features/sorting/index.d.ts +0 -4
- package/modern/hooks/features/sorting/index.js +0 -2
- package/modern/hooks/features/sorting/useGridSorting.d.ts +0 -10
- package/modern/hooks/features/sorting/useGridSorting.js +0 -250
- package/modern/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +0 -40
- package/modern/hooks/features/statePersistence/gridStatePersistenceInterface.js +0 -1
- package/modern/hooks/features/statePersistence/index.d.ts +0 -1
- package/modern/hooks/features/statePersistence/index.js +0 -1
- package/modern/hooks/features/statePersistence/useGridStatePersistence.d.ts +0 -3
- package/modern/hooks/features/statePersistence/useGridStatePersistence.js +0 -23
- package/modern/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +0 -6
- package/modern/hooks/features/virtualization/gridFocusedVirtualCellSelector.js +0 -32
- package/modern/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +0 -36
- package/modern/hooks/features/virtualization/gridVirtualizationSelectors.js +0 -43
- package/modern/hooks/features/virtualization/index.d.ts +0 -2
- package/modern/hooks/features/virtualization/index.js +0 -2
- package/modern/hooks/features/virtualization/useGridVirtualScroller.d.ts +0 -56
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +0 -843
- package/modern/hooks/features/virtualization/useGridVirtualization.d.ts +0 -21
- package/modern/hooks/features/virtualization/useGridVirtualization.js +0 -61
- package/modern/hooks/index.d.ts +0 -3
- package/modern/hooks/index.js +0 -3
- package/modern/hooks/utils/index.d.ts +0 -9
- package/modern/hooks/utils/index.js +0 -8
- package/modern/hooks/utils/useFirstRender.d.ts +0 -1
- package/modern/hooks/utils/useFirstRender.js +0 -8
- package/modern/hooks/utils/useGridApiContext.d.ts +0 -4
- package/modern/hooks/utils/useGridApiContext.js +0 -9
- package/modern/hooks/utils/useGridApiEventHandler.d.ts +0 -12
- package/modern/hooks/utils/useGridApiEventHandler.js +0 -88
- package/modern/hooks/utils/useGridApiMethod.d.ts +0 -7
- package/modern/hooks/utils/useGridApiMethod.js +0 -12
- package/modern/hooks/utils/useGridApiRef.d.ts +0 -7
- package/modern/hooks/utils/useGridApiRef.js +0 -5
- package/modern/hooks/utils/useGridAriaAttributes.d.ts +0 -2
- package/modern/hooks/utils/useGridAriaAttributes.js +0 -22
- package/modern/hooks/utils/useGridComponentRenderer.d.ts +0 -12
- package/modern/hooks/utils/useGridComponentRenderer.js +0 -36
- package/modern/hooks/utils/useGridConfiguration.d.ts +0 -2
- package/modern/hooks/utils/useGridConfiguration.js +0 -9
- package/modern/hooks/utils/useGridInitializeState.d.ts +0 -8
- package/modern/hooks/utils/useGridInitializeState.js +0 -8
- package/modern/hooks/utils/useGridLogger.d.ts +0 -4
- package/modern/hooks/utils/useGridLogger.js +0 -10
- package/modern/hooks/utils/useGridNativeEventListener.d.ts +0 -3
- package/modern/hooks/utils/useGridNativeEventListener.js +0 -17
- package/modern/hooks/utils/useGridPrivateApiContext.d.ts +0 -6
- package/modern/hooks/utils/useGridPrivateApiContext.js +0 -12
- package/modern/hooks/utils/useGridRootProps.d.ts +0 -2
- package/modern/hooks/utils/useGridRootProps.js +0 -9
- package/modern/hooks/utils/useGridSelector.d.ts +0 -8
- package/modern/hooks/utils/useGridSelector.js +0 -83
- package/modern/hooks/utils/useGridVisibleRows.d.ts +0 -26
- package/modern/hooks/utils/useGridVisibleRows.js +0 -17
- package/modern/hooks/utils/useIsSSR.d.ts +0 -1
- package/modern/hooks/utils/useIsSSR.js +0 -8
- package/modern/hooks/utils/useLazyRef.d.ts +0 -1
- package/modern/hooks/utils/useLazyRef.js +0 -1
- package/modern/hooks/utils/useOnMount.d.ts +0 -1
- package/modern/hooks/utils/useOnMount.js +0 -1
- package/modern/hooks/utils/useRunOnce.d.ts +0 -5
- package/modern/hooks/utils/useRunOnce.js +0 -18
- package/modern/hooks/utils/useTimeout.d.ts +0 -1
- package/modern/hooks/utils/useTimeout.js +0 -1
- package/modern/index.d.ts +0 -38
- package/modern/index.js +0 -38
- package/modern/internals/constants.d.ts +0 -9
- package/modern/internals/constants.js +0 -10
- package/modern/internals/demo/TailwindDemoContainer.d.ts +0 -11
- package/modern/internals/demo/TailwindDemoContainer.js +0 -55
- package/modern/internals/demo/index.d.ts +0 -1
- package/modern/internals/demo/index.js +0 -1
- package/modern/internals/index.d.ts +0 -112
- package/modern/internals/index.js +0 -90
- package/modern/internals/utils/attachPinnedStyle.d.ts +0 -2
- package/modern/internals/utils/attachPinnedStyle.js +0 -9
- package/modern/internals/utils/computeSlots.d.ts +0 -7
- package/modern/internals/utils/computeSlots.js +0 -18
- package/modern/internals/utils/getPinnedCellOffset.d.ts +0 -3
- package/modern/internals/utils/getPinnedCellOffset.js +0 -16
- package/modern/internals/utils/gridRowGroupingUtils.d.ts +0 -2
- package/modern/internals/utils/gridRowGroupingUtils.js +0 -9
- package/modern/internals/utils/index.d.ts +0 -4
- package/modern/internals/utils/index.js +0 -4
- package/modern/internals/utils/propValidation.d.ts +0 -4
- package/modern/internals/utils/propValidation.js +0 -12
- package/modern/locales/arSD.d.ts +0 -2
- package/modern/locales/arSD.js +0 -197
- package/modern/locales/beBY.d.ts +0 -2
- package/modern/locales/beBY.js +0 -220
- package/modern/locales/bgBG.d.ts +0 -2
- package/modern/locales/bgBG.js +0 -197
- package/modern/locales/bnBD.d.ts +0 -2
- package/modern/locales/bnBD.js +0 -194
- package/modern/locales/csCZ.d.ts +0 -2
- package/modern/locales/csCZ.js +0 -222
- package/modern/locales/daDK.d.ts +0 -2
- package/modern/locales/daDK.js +0 -197
- package/modern/locales/deDE.d.ts +0 -2
- package/modern/locales/deDE.js +0 -193
- package/modern/locales/elGR.d.ts +0 -2
- package/modern/locales/elGR.js +0 -198
- package/modern/locales/enUS.d.ts +0 -2
- package/modern/locales/enUS.js +0 -3
- package/modern/locales/esES.d.ts +0 -2
- package/modern/locales/esES.js +0 -195
- package/modern/locales/faIR.d.ts +0 -2
- package/modern/locales/faIR.js +0 -196
- package/modern/locales/fiFI.d.ts +0 -2
- package/modern/locales/fiFI.js +0 -197
- package/modern/locales/frFR.d.ts +0 -2
- package/modern/locales/frFR.js +0 -197
- package/modern/locales/heIL.d.ts +0 -2
- package/modern/locales/heIL.js +0 -195
- package/modern/locales/hrHR.d.ts +0 -1
- package/modern/locales/hrHR.js +0 -220
- package/modern/locales/huHU.d.ts +0 -2
- package/modern/locales/huHU.js +0 -194
- package/modern/locales/index.d.ts +0 -37
- package/modern/locales/index.js +0 -38
- package/modern/locales/isIS.d.ts +0 -2
- package/modern/locales/isIS.js +0 -197
- package/modern/locales/itIT.d.ts +0 -2
- package/modern/locales/itIT.js +0 -197
- package/modern/locales/jaJP.d.ts +0 -2
- package/modern/locales/jaJP.js +0 -197
- package/modern/locales/koKR.d.ts +0 -2
- package/modern/locales/koKR.js +0 -195
- package/modern/locales/nbNO.d.ts +0 -2
- package/modern/locales/nbNO.js +0 -197
- package/modern/locales/nlNL.d.ts +0 -2
- package/modern/locales/nlNL.js +0 -195
- package/modern/locales/nnNO.d.ts +0 -2
- package/modern/locales/nnNO.js +0 -197
- package/modern/locales/plPL.d.ts +0 -2
- package/modern/locales/plPL.js +0 -194
- package/modern/locales/ptBR.d.ts +0 -2
- package/modern/locales/ptBR.js +0 -195
- package/modern/locales/ptPT.d.ts +0 -1
- package/modern/locales/ptPT.js +0 -195
- package/modern/locales/roRO.d.ts +0 -2
- package/modern/locales/roRO.js +0 -195
- package/modern/locales/ruRU.d.ts +0 -2
- package/modern/locales/ruRU.js +0 -216
- package/modern/locales/skSK.d.ts +0 -2
- package/modern/locales/skSK.js +0 -222
- package/modern/locales/svSE.d.ts +0 -2
- package/modern/locales/svSE.js +0 -197
- package/modern/locales/trTR.d.ts +0 -2
- package/modern/locales/trTR.js +0 -195
- package/modern/locales/ukUA.d.ts +0 -2
- package/modern/locales/ukUA.js +0 -216
- package/modern/locales/urPK.d.ts +0 -2
- package/modern/locales/urPK.js +0 -197
- package/modern/locales/viVN.d.ts +0 -2
- package/modern/locales/viVN.js +0 -197
- package/modern/locales/zhCN.d.ts +0 -2
- package/modern/locales/zhCN.js +0 -192
- package/modern/locales/zhHK.d.ts +0 -1
- package/modern/locales/zhHK.js +0 -192
- package/modern/locales/zhTW.d.ts +0 -2
- package/modern/locales/zhTW.js +0 -192
- package/modern/material/icons/GridColumnUnsortedIcon.d.ts +0 -8
- package/modern/material/icons/GridColumnUnsortedIcon.js +0 -16
- package/modern/material/icons/index.d.ts +0 -84
- package/modern/material/icons/index.js +0 -92
- package/modern/material/index.d.ts +0 -5
- package/modern/material/index.js +0 -544
- package/modern/material/variables.d.ts +0 -5
- package/modern/material/variables.js +0 -94
- package/modern/models/api/gridApiCommon.d.ts +0 -34
- package/modern/models/api/gridApiCommon.js +0 -1
- package/modern/models/api/gridApiCommunity.d.ts +0 -12
- package/modern/models/api/gridApiCommunity.js +0 -1
- package/modern/models/api/gridCallbackDetails.d.ts +0 -15
- package/modern/models/api/gridCallbackDetails.js +0 -1
- package/modern/models/api/gridColumnApi.d.ts +0 -74
- package/modern/models/api/gridColumnApi.js +0 -1
- package/modern/models/api/gridColumnGroupingApi.d.ts +0 -19
- package/modern/models/api/gridColumnGroupingApi.js +0 -1
- package/modern/models/api/gridColumnMenuApi.d.ts +0 -19
- package/modern/models/api/gridColumnMenuApi.js +0 -1
- package/modern/models/api/gridColumnSpanning.d.ts +0 -34
- package/modern/models/api/gridColumnSpanning.js +0 -1
- package/modern/models/api/gridCoreApi.d.ts +0 -96
- package/modern/models/api/gridCoreApi.js +0 -1
- package/modern/models/api/gridCsvExportApi.d.ts +0 -18
- package/modern/models/api/gridCsvExportApi.js +0 -1
- package/modern/models/api/gridDensityApi.d.ts +0 -17
- package/modern/models/api/gridDensityApi.js +0 -1
- package/modern/models/api/gridEditingApi.d.ts +0 -238
- package/modern/models/api/gridEditingApi.js +0 -1
- package/modern/models/api/gridFilterApi.d.ts +0 -67
- package/modern/models/api/gridFilterApi.js +0 -1
- package/modern/models/api/gridFocusApi.d.ts +0 -46
- package/modern/models/api/gridFocusApi.js +0 -1
- package/modern/models/api/gridHeaderFilteringApi.d.ts +0 -30
- package/modern/models/api/gridHeaderFilteringApi.js +0 -1
- package/modern/models/api/gridInfiniteLoaderApi.d.ts +0 -7
- package/modern/models/api/gridInfiniteLoaderApi.js +0 -1
- package/modern/models/api/gridLocaleTextApi.d.ts +0 -163
- package/modern/models/api/gridLocaleTextApi.js +0 -1
- package/modern/models/api/gridLoggerApi.d.ts +0 -11
- package/modern/models/api/gridLoggerApi.js +0 -1
- package/modern/models/api/gridParamsApi.d.ts +0 -107
- package/modern/models/api/gridParamsApi.js +0 -1
- package/modern/models/api/gridPreferencesPanelApi.d.ts +0 -17
- package/modern/models/api/gridPreferencesPanelApi.js +0 -1
- package/modern/models/api/gridPrintExportApi.d.ts +0 -11
- package/modern/models/api/gridPrintExportApi.js +0 -1
- package/modern/models/api/gridRowApi.d.ts +0 -120
- package/modern/models/api/gridRowApi.js +0 -1
- package/modern/models/api/gridRowSelectionApi.d.ts +0 -90
- package/modern/models/api/gridRowSelectionApi.js +0 -1
- package/modern/models/api/gridRowsMetaApi.d.ts +0 -60
- package/modern/models/api/gridRowsMetaApi.js +0 -1
- package/modern/models/api/gridScrollApi.d.ts +0 -24
- package/modern/models/api/gridScrollApi.js +0 -1
- package/modern/models/api/gridSortApi.d.ts +0 -46
- package/modern/models/api/gridSortApi.js +0 -1
- package/modern/models/api/gridStateApi.d.ts +0 -33
- package/modern/models/api/gridStateApi.js +0 -1
- package/modern/models/api/gridVirtualizationApi.d.ts +0 -19
- package/modern/models/api/gridVirtualizationApi.js +0 -1
- package/modern/models/api/index.d.ts +0 -23
- package/modern/models/api/index.js +0 -13
- package/modern/models/colDef/gridColDef.d.ts +0 -317
- package/modern/models/colDef/gridColDef.js +0 -1
- package/modern/models/colDef/gridColType.d.ts +0 -11
- package/modern/models/colDef/gridColType.js +0 -1
- package/modern/models/colDef/gridColumnTypesRecord.d.ts +0 -3
- package/modern/models/colDef/gridColumnTypesRecord.js +0 -1
- package/modern/models/colDef/index.d.ts +0 -3
- package/modern/models/colDef/index.js +0 -6
- package/modern/models/configuration/gridConfiguration.d.ts +0 -15
- package/modern/models/configuration/gridConfiguration.js +0 -1
- package/modern/models/configuration/gridRowConfiguration.d.ts +0 -12
- package/modern/models/configuration/gridRowConfiguration.js +0 -1
- package/modern/models/controlStateItem.d.ts +0 -14
- package/modern/models/controlStateItem.js +0 -1
- package/modern/models/cursorCoordinates.d.ts +0 -4
- package/modern/models/cursorCoordinates.js +0 -1
- package/modern/models/elementSize.d.ts +0 -13
- package/modern/models/elementSize.js +0 -1
- package/modern/models/events/gridEventListener.d.ts +0 -8
- package/modern/models/events/gridEventListener.js +0 -1
- package/modern/models/events/gridEventLookup.d.ts +0 -661
- package/modern/models/events/gridEventLookup.js +0 -1
- package/modern/models/events/gridEventPublisher.d.ts +0 -29
- package/modern/models/events/gridEventPublisher.js +0 -1
- package/modern/models/events/index.d.ts +0 -3
- package/modern/models/events/index.js +0 -3
- package/modern/models/gridApiCaches.d.ts +0 -6
- package/modern/models/gridApiCaches.js +0 -1
- package/modern/models/gridBaseSlots.d.ts +0 -271
- package/modern/models/gridBaseSlots.js +0 -1
- package/modern/models/gridCell.d.ts +0 -30
- package/modern/models/gridCell.js +0 -1
- package/modern/models/gridCellClass.d.ts +0 -10
- package/modern/models/gridCellClass.js +0 -1
- package/modern/models/gridColumnGrouping.d.ts +0 -41
- package/modern/models/gridColumnGrouping.js +0 -11
- package/modern/models/gridColumnHeaderClass.d.ts +0 -9
- package/modern/models/gridColumnHeaderClass.js +0 -1
- package/modern/models/gridColumnSpanning.d.ts +0 -12
- package/modern/models/gridColumnSpanning.js +0 -1
- package/modern/models/gridDataSource.d.ts +0 -70
- package/modern/models/gridDataSource.js +0 -1
- package/modern/models/gridDensity.d.ts +0 -4
- package/modern/models/gridDensity.js +0 -1
- package/modern/models/gridEditRowModel.d.ts +0 -28
- package/modern/models/gridEditRowModel.js +0 -16
- package/modern/models/gridExport.d.ts +0 -157
- package/modern/models/gridExport.js +0 -1
- package/modern/models/gridFeatureMode.d.ts +0 -1
- package/modern/models/gridFeatureMode.js +0 -1
- package/modern/models/gridFilterInputComponent.d.ts +0 -32
- package/modern/models/gridFilterInputComponent.js +0 -1
- package/modern/models/gridFilterItem.d.ts +0 -30
- package/modern/models/gridFilterItem.js +0 -11
- package/modern/models/gridFilterModel.d.ts +0 -34
- package/modern/models/gridFilterModel.js +0 -1
- package/modern/models/gridFilterOperator.d.ts +0 -58
- package/modern/models/gridFilterOperator.js +0 -1
- package/modern/models/gridHeaderFilteringModel.d.ts +0 -6
- package/modern/models/gridHeaderFilteringModel.js +0 -1
- package/modern/models/gridIconSlotsComponent.d.ts +0 -191
- package/modern/models/gridIconSlotsComponent.js +0 -1
- package/modern/models/gridPaginationProps.d.ts +0 -16
- package/modern/models/gridPaginationProps.js +0 -1
- package/modern/models/gridRenderContextProps.d.ts +0 -55
- package/modern/models/gridRenderContextProps.js +0 -1
- package/modern/models/gridRowSelectionManager.d.ts +0 -9
- package/modern/models/gridRowSelectionManager.js +0 -36
- package/modern/models/gridRowSelectionModel.d.ts +0 -9
- package/modern/models/gridRowSelectionModel.js +0 -1
- package/modern/models/gridRows.d.ts +0 -178
- package/modern/models/gridRows.js +0 -1
- package/modern/models/gridSlotsComponent.d.ts +0 -215
- package/modern/models/gridSlotsComponent.js +0 -1
- package/modern/models/gridSlotsComponentsProps.d.ts +0 -142
- package/modern/models/gridSlotsComponentsProps.js +0 -1
- package/modern/models/gridSortModel.d.ts +0 -30
- package/modern/models/gridSortModel.js +0 -1
- package/modern/models/gridStateCommunity.d.ts +0 -60
- package/modern/models/gridStateCommunity.js +0 -1
- package/modern/models/index.d.ts +0 -31
- package/modern/models/index.js +0 -30
- package/modern/models/logger.d.ts +0 -6
- package/modern/models/logger.js +0 -1
- package/modern/models/muiEvent.d.ts +0 -5
- package/modern/models/muiEvent.js +0 -1
- package/modern/models/params/gridCellParams.d.ts +0 -113
- package/modern/models/params/gridCellParams.js +0 -1
- package/modern/models/params/gridColumnGroupHeaderParams.d.ts +0 -30
- package/modern/models/params/gridColumnGroupHeaderParams.js +0 -1
- package/modern/models/params/gridColumnHeaderParams.d.ts +0 -15
- package/modern/models/params/gridColumnHeaderParams.js +0 -1
- package/modern/models/params/gridColumnOrderChangeParams.d.ts +0 -18
- package/modern/models/params/gridColumnOrderChangeParams.js +0 -1
- package/modern/models/params/gridColumnResizeParams.d.ts +0 -19
- package/modern/models/params/gridColumnResizeParams.js +0 -1
- package/modern/models/params/gridEditCellParams.d.ts +0 -65
- package/modern/models/params/gridEditCellParams.js +0 -27
- package/modern/models/params/gridHeaderSelectionCheckboxParams.d.ts +0 -3
- package/modern/models/params/gridHeaderSelectionCheckboxParams.js +0 -1
- package/modern/models/params/gridMenuParams.d.ts +0 -6
- package/modern/models/params/gridMenuParams.js +0 -1
- package/modern/models/params/gridPreferencePanelParams.d.ts +0 -2
- package/modern/models/params/gridPreferencePanelParams.js +0 -1
- package/modern/models/params/gridRowParams.d.ts +0 -110
- package/modern/models/params/gridRowParams.js +0 -44
- package/modern/models/params/gridRowSelectionCheckboxParams.d.ts +0 -5
- package/modern/models/params/gridRowSelectionCheckboxParams.js +0 -1
- package/modern/models/params/gridScrollParams.d.ts +0 -14
- package/modern/models/params/gridScrollParams.js +0 -1
- package/modern/models/params/gridValueOptionsParams.d.ts +0 -18
- package/modern/models/params/gridValueOptionsParams.js +0 -1
- package/modern/models/params/index.d.ts +0 -13
- package/modern/models/params/index.js +0 -13
- package/modern/models/props/DataGridProps.d.ts +0 -860
- package/modern/models/props/DataGridProps.js +0 -1
- package/modern/package.json +0 -1
- package/modern/themeAugmentation/index.d.ts +0 -2
- package/modern/themeAugmentation/index.js +0 -4
- package/modern/themeAugmentation/overrides.d.ts +0 -18
- package/modern/themeAugmentation/overrides.js +0 -1
- package/modern/themeAugmentation/props.d.ts +0 -15
- package/modern/themeAugmentation/props.js +0 -1
- package/modern/utils/ResizeObserver.d.ts +0 -4
- package/modern/utils/ResizeObserver.js +0 -10
- package/modern/utils/Store.d.ts +0 -11
- package/modern/utils/Store.js +0 -24
- package/modern/utils/assert.d.ts +0 -2
- package/modern/utils/assert.js +0 -3
- package/modern/utils/cellBorderUtils.d.ts +0 -3
- package/modern/utils/cellBorderUtils.js +0 -21
- package/modern/utils/cleanupTracking/CleanupTracking.d.ts +0 -9
- package/modern/utils/cleanupTracking/CleanupTracking.js +0 -1
- package/modern/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +0 -7
- package/modern/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.js +0 -18
- package/modern/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +0 -9
- package/modern/utils/cleanupTracking/TimerBasedCleanupTracking.js +0 -38
- package/modern/utils/composeGridClasses.d.ts +0 -3
- package/modern/utils/composeGridClasses.js +0 -5
- package/modern/utils/createControllablePromise.d.ts +0 -5
- package/modern/utils/createControllablePromise.js +0 -11
- package/modern/utils/createSelector.d.ts +0 -23
- package/modern/utils/createSelector.js +0 -94
- package/modern/utils/css/context.d.ts +0 -14
- package/modern/utils/css/context.js +0 -54
- package/modern/utils/doesSupportPreventScroll.d.ts +0 -1
- package/modern/utils/doesSupportPreventScroll.js +0 -13
- package/modern/utils/domUtils.d.ts +0 -29
- package/modern/utils/domUtils.js +0 -204
- package/modern/utils/exportAs.d.ts +0 -12
- package/modern/utils/exportAs.js +0 -38
- package/modern/utils/getGridLocalization.d.ts +0 -11
- package/modern/utils/getGridLocalization.js +0 -9
- package/modern/utils/getPublicApiRef.d.ts +0 -3
- package/modern/utils/getPublicApiRef.js +0 -5
- package/modern/utils/index.d.ts +0 -2
- package/modern/utils/index.js +0 -1
- package/modern/utils/isJSDOM.d.ts +0 -1
- package/modern/utils/isJSDOM.js +0 -1
- package/modern/utils/keyboardUtils.d.ts +0 -14
- package/modern/utils/keyboardUtils.js +0 -37
- package/modern/utils/platform.d.ts +0 -1
- package/modern/utils/platform.js +0 -2
- package/modern/utils/roundToDecimalPlaces.d.ts +0 -1
- package/modern/utils/roundToDecimalPlaces.js +0 -3
- package/modern/utils/rtlFlipSide.d.ts +0 -2
- package/modern/utils/rtlFlipSide.js +0 -22
- package/modern/utils/utils.d.ts +0 -30
- package/modern/utils/utils.js +0 -82
- package/modern/utils/weakMapMemoize.d.ts +0 -20
- package/modern/utils/weakMapMemoize.js +0 -128
- package/tsconfig.build.tsbuildinfo +0 -1
- /package/esm/{models/muiEvent.js → hooks/features/pivoting/gridPivotingInterfaces.js} +0 -0
- /package/{modern/components/menu/columnMenu/GridColumnMenuItemProps.js → esm/material/augmentation.js} +0 -0
- /package/{models/muiEvent.js → hooks/features/pivoting/gridPivotingInterfaces.js} +0 -0
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import { GridSignature } from "../../../constants/signature.js";
|
|
2
|
-
import { GRID_ROOT_GROUP_ID } from "../rows/gridRowsUtils.js";
|
|
3
|
-
import { gridFilteredRowsLookupSelector } from "../filter/gridFilterSelector.js";
|
|
4
|
-
import { gridSortedRowIdsSelector } from "../sorting/gridSortingSelector.js";
|
|
5
|
-
import { gridRowSelectionManagerSelector } from "./gridRowSelectionSelector.js";
|
|
6
|
-
import { gridRowTreeSelector } from "../rows/gridRowsSelector.js";
|
|
7
|
-
import { createSelector } from "../../../utils/createSelector.js";
|
|
8
|
-
export const ROW_SELECTION_PROPAGATION_DEFAULT = {
|
|
9
|
-
parents: true,
|
|
10
|
-
descendants: true
|
|
11
|
-
};
|
|
12
|
-
function getGridRowGroupSelectableDescendants(apiRef, groupId) {
|
|
13
|
-
const rowTree = gridRowTreeSelector(apiRef);
|
|
14
|
-
const sortedRowIds = gridSortedRowIdsSelector(apiRef);
|
|
15
|
-
const filteredRowsLookup = gridFilteredRowsLookupSelector(apiRef);
|
|
16
|
-
const groupNode = rowTree[groupId];
|
|
17
|
-
if (!groupNode || groupNode.type !== 'group') {
|
|
18
|
-
return [];
|
|
19
|
-
}
|
|
20
|
-
const descendants = [];
|
|
21
|
-
const startIndex = sortedRowIds.findIndex(id => id === groupId) + 1;
|
|
22
|
-
for (let index = startIndex; index < sortedRowIds.length && rowTree[sortedRowIds[index]]?.depth > groupNode.depth; index += 1) {
|
|
23
|
-
const id = sortedRowIds[index];
|
|
24
|
-
if (filteredRowsLookup[id] !== false && apiRef.current.isRowSelectable(id)) {
|
|
25
|
-
descendants.push(id);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return descendants;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// TODO v8: Use `createSelectorV8`
|
|
32
|
-
export function getCheckboxPropsSelector(groupId, autoSelectParents) {
|
|
33
|
-
return createSelector(gridRowTreeSelector, gridSortedRowIdsSelector, gridFilteredRowsLookupSelector, gridRowSelectionManagerSelector, (rowTree, sortedRowIds, filteredRowsLookup, rowSelectionManager) => {
|
|
34
|
-
const groupNode = rowTree[groupId];
|
|
35
|
-
if (!groupNode || groupNode.type !== 'group') {
|
|
36
|
-
return {
|
|
37
|
-
isIndeterminate: false,
|
|
38
|
-
isChecked: rowSelectionManager.has(groupId)
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
if (rowSelectionManager.has(groupId)) {
|
|
42
|
-
return {
|
|
43
|
-
isIndeterminate: false,
|
|
44
|
-
isChecked: true
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
let selectableDescendantsCount = 0;
|
|
48
|
-
let selectedDescendantsCount = 0;
|
|
49
|
-
const startIndex = sortedRowIds.findIndex(id => id === groupId) + 1;
|
|
50
|
-
for (let index = startIndex; index < sortedRowIds.length && rowTree[sortedRowIds[index]]?.depth > groupNode.depth; index += 1) {
|
|
51
|
-
const id = sortedRowIds[index];
|
|
52
|
-
if (filteredRowsLookup[id] !== false) {
|
|
53
|
-
selectableDescendantsCount += 1;
|
|
54
|
-
if (rowSelectionManager.has(id)) {
|
|
55
|
-
selectedDescendantsCount += 1;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
isIndeterminate: selectedDescendantsCount > 0 && (selectedDescendantsCount < selectableDescendantsCount || !rowSelectionManager.has(groupId)),
|
|
61
|
-
isChecked: autoSelectParents ? selectedDescendantsCount > 0 : rowSelectionManager.has(groupId)
|
|
62
|
-
};
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
export function isMultipleRowSelectionEnabled(props) {
|
|
66
|
-
if (props.signature === GridSignature.DataGrid) {
|
|
67
|
-
// DataGrid Community has multiple row selection enabled only if checkbox selection is enabled.
|
|
68
|
-
return props.checkboxSelection && props.disableMultipleRowSelection !== true;
|
|
69
|
-
}
|
|
70
|
-
return !props.disableMultipleRowSelection;
|
|
71
|
-
}
|
|
72
|
-
const getRowNodeParents = (tree, id) => {
|
|
73
|
-
const parents = [];
|
|
74
|
-
let parent = id;
|
|
75
|
-
while (parent != null && parent !== GRID_ROOT_GROUP_ID) {
|
|
76
|
-
const node = tree[parent];
|
|
77
|
-
if (!node) {
|
|
78
|
-
return parents;
|
|
79
|
-
}
|
|
80
|
-
parents.push(parent);
|
|
81
|
-
parent = node.parent;
|
|
82
|
-
}
|
|
83
|
-
return parents;
|
|
84
|
-
};
|
|
85
|
-
const getFilteredRowNodeSiblings = (tree, filteredRows, id) => {
|
|
86
|
-
const node = tree[id];
|
|
87
|
-
if (!node) {
|
|
88
|
-
return [];
|
|
89
|
-
}
|
|
90
|
-
const parent = node.parent;
|
|
91
|
-
if (parent == null) {
|
|
92
|
-
return [];
|
|
93
|
-
}
|
|
94
|
-
const parentNode = tree[parent];
|
|
95
|
-
return parentNode.children.filter(childId => childId !== id && filteredRows[childId] !== false);
|
|
96
|
-
};
|
|
97
|
-
export const findRowsToSelect = (apiRef, tree, selectedRow, autoSelectDescendants, autoSelectParents, addRow, rowSelectionManager = gridRowSelectionManagerSelector(apiRef)) => {
|
|
98
|
-
const filteredRows = gridFilteredRowsLookupSelector(apiRef);
|
|
99
|
-
const selectedDescendants = new Set([]);
|
|
100
|
-
if (!autoSelectDescendants && !autoSelectParents) {
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
if (autoSelectDescendants) {
|
|
104
|
-
const rowNode = tree[selectedRow];
|
|
105
|
-
if (rowNode?.type === 'group') {
|
|
106
|
-
const descendants = getGridRowGroupSelectableDescendants(apiRef, selectedRow);
|
|
107
|
-
descendants.forEach(rowId => {
|
|
108
|
-
addRow(rowId);
|
|
109
|
-
selectedDescendants.add(rowId);
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
if (autoSelectParents) {
|
|
114
|
-
const checkAllDescendantsSelected = rowId => {
|
|
115
|
-
if (!rowSelectionManager.has(rowId) && !selectedDescendants.has(rowId)) {
|
|
116
|
-
return false;
|
|
117
|
-
}
|
|
118
|
-
const node = tree[rowId];
|
|
119
|
-
if (!node) {
|
|
120
|
-
return false;
|
|
121
|
-
}
|
|
122
|
-
if (node.type !== 'group') {
|
|
123
|
-
return true;
|
|
124
|
-
}
|
|
125
|
-
return node.children.every(checkAllDescendantsSelected);
|
|
126
|
-
};
|
|
127
|
-
const traverseParents = rowId => {
|
|
128
|
-
const siblings = getFilteredRowNodeSiblings(tree, filteredRows, rowId);
|
|
129
|
-
if (siblings.length === 0 || siblings.every(checkAllDescendantsSelected)) {
|
|
130
|
-
const rowNode = tree[rowId];
|
|
131
|
-
const parent = rowNode?.parent;
|
|
132
|
-
if (parent != null && parent !== GRID_ROOT_GROUP_ID && apiRef.current.isRowSelectable(parent)) {
|
|
133
|
-
addRow(parent);
|
|
134
|
-
selectedDescendants.add(parent);
|
|
135
|
-
traverseParents(parent);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
traverseParents(selectedRow);
|
|
140
|
-
}
|
|
141
|
-
};
|
|
142
|
-
export const findRowsToDeselect = (apiRef, tree, deselectedRow, autoSelectDescendants, autoSelectParents, removeRow) => {
|
|
143
|
-
const rowSelectionManager = gridRowSelectionManagerSelector(apiRef);
|
|
144
|
-
if (!autoSelectParents && !autoSelectDescendants) {
|
|
145
|
-
return;
|
|
146
|
-
}
|
|
147
|
-
if (autoSelectParents) {
|
|
148
|
-
const allParents = getRowNodeParents(tree, deselectedRow);
|
|
149
|
-
allParents.forEach(parent => {
|
|
150
|
-
const isSelected = rowSelectionManager.has(parent);
|
|
151
|
-
if (isSelected) {
|
|
152
|
-
removeRow(parent);
|
|
153
|
-
}
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
if (autoSelectDescendants) {
|
|
157
|
-
const rowNode = tree[deselectedRow];
|
|
158
|
-
if (rowNode?.type === 'group') {
|
|
159
|
-
const descendants = getGridRowGroupSelectableDescendants(apiRef, deselectedRow);
|
|
160
|
-
descendants.forEach(descendant => {
|
|
161
|
-
removeRow(descendant);
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
|
-
export declare const gridRowSpanningHiddenCellsSelector: import("../../..").OutputSelector<GridStateCommunity, import("./useGridRowSpanning").GridRowSpanningState, Record<import("../../..").GridRowId, Record<string, boolean>>>;
|
|
3
|
-
export declare const gridRowSpanningSpannedCellsSelector: import("../../..").OutputSelector<GridStateCommunity, import("./useGridRowSpanning").GridRowSpanningState, Record<import("../../..").GridRowId, Record<string, number>>>;
|
|
4
|
-
export declare const gridRowSpanningHiddenCellsOriginMapSelector: import("../../..").OutputSelector<GridStateCommunity, import("./useGridRowSpanning").GridRowSpanningState, Record<number, Record<string, number>>>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { createSelector, createRootSelector } from "../../../utils/createSelector.js";
|
|
2
|
-
const gridRowSpanningStateSelector = createRootSelector(state => state.rowSpanning);
|
|
3
|
-
export const gridRowSpanningHiddenCellsSelector = createSelector(gridRowSpanningStateSelector, rowSpanning => rowSpanning.hiddenCells);
|
|
4
|
-
export const gridRowSpanningSpannedCellsSelector = createSelector(gridRowSpanningStateSelector, rowSpanning => rowSpanning.spannedCells);
|
|
5
|
-
export const gridRowSpanningHiddenCellsOriginMapSelector = createSelector(gridRowSpanningStateSelector, rowSpanning => rowSpanning.hiddenCellOriginMap);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import type { GridRenderContext } from '../../../models';
|
|
3
|
-
import type { GridValidRowModel } from '../../../models/gridRows';
|
|
4
|
-
import type { GridColDef } from '../../../models/colDef';
|
|
5
|
-
import type { GridApiCommunity } from '../../../models/api/gridApiCommunity';
|
|
6
|
-
import type { RowRange } from './useGridRowSpanning';
|
|
7
|
-
export declare function getUnprocessedRange(testRange: RowRange, processedRange: RowRange): RowRange | null;
|
|
8
|
-
export declare function isRowContextInitialized(renderContext: GridRenderContext): boolean;
|
|
9
|
-
export declare function isRowRangeUpdated(range1: RowRange, range2: RowRange): boolean;
|
|
10
|
-
export declare const getCellValue: (row: GridValidRowModel, colDef: GridColDef, apiRef: RefObject<GridApiCommunity>) => any;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export function getUnprocessedRange(testRange, processedRange) {
|
|
2
|
-
if (testRange.firstRowIndex >= processedRange.firstRowIndex && testRange.lastRowIndex <= processedRange.lastRowIndex) {
|
|
3
|
-
return null;
|
|
4
|
-
}
|
|
5
|
-
// Overflowing at the end
|
|
6
|
-
// Example: testRange={ firstRowIndex: 10, lastRowIndex: 20 }, processedRange={ firstRowIndex: 0, lastRowIndex: 15 }
|
|
7
|
-
// Unprocessed Range={ firstRowIndex: 16, lastRowIndex: 20 }
|
|
8
|
-
if (testRange.firstRowIndex >= processedRange.firstRowIndex && testRange.lastRowIndex > processedRange.lastRowIndex) {
|
|
9
|
-
return {
|
|
10
|
-
firstRowIndex: processedRange.lastRowIndex,
|
|
11
|
-
lastRowIndex: testRange.lastRowIndex
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
// Overflowing at the beginning
|
|
15
|
-
// Example: testRange={ firstRowIndex: 0, lastRowIndex: 20 }, processedRange={ firstRowIndex: 16, lastRowIndex: 30 }
|
|
16
|
-
// Unprocessed Range={ firstRowIndex: 0, lastRowIndex: 15 }
|
|
17
|
-
if (testRange.firstRowIndex < processedRange.firstRowIndex && testRange.lastRowIndex <= processedRange.lastRowIndex) {
|
|
18
|
-
return {
|
|
19
|
-
firstRowIndex: testRange.firstRowIndex,
|
|
20
|
-
lastRowIndex: processedRange.firstRowIndex - 1
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
// TODO: Should return two ranges handle overflowing at both ends ?
|
|
24
|
-
return testRange;
|
|
25
|
-
}
|
|
26
|
-
export function isRowContextInitialized(renderContext) {
|
|
27
|
-
return renderContext.firstRowIndex !== 0 || renderContext.lastRowIndex !== 0;
|
|
28
|
-
}
|
|
29
|
-
export function isRowRangeUpdated(range1, range2) {
|
|
30
|
-
return range1.firstRowIndex !== range2.firstRowIndex || range1.lastRowIndex !== range2.lastRowIndex;
|
|
31
|
-
}
|
|
32
|
-
export const getCellValue = (row, colDef, apiRef) => {
|
|
33
|
-
if (!row) {
|
|
34
|
-
return null;
|
|
35
|
-
}
|
|
36
|
-
let cellValue = row[colDef.field];
|
|
37
|
-
const valueGetter = colDef.rowSpanValueGetter ?? colDef.valueGetter;
|
|
38
|
-
if (valueGetter) {
|
|
39
|
-
cellValue = valueGetter(cellValue, row, colDef, apiRef);
|
|
40
|
-
}
|
|
41
|
-
return cellValue;
|
|
42
|
-
};
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { GridRowEntry, GridRowId, GridRowTreeConfig, GridValidRowModel } from "../../../models/gridRows.js";
|
|
2
|
-
import type { DataGridProcessedProps } from '../../../models/props/DataGridProps';
|
|
3
|
-
export interface GridRowsInternalCache {
|
|
4
|
-
/**
|
|
5
|
-
* The rows as they were the last time all the rows have been updated at once
|
|
6
|
-
* It is used to avoid processing several time the same set of rows
|
|
7
|
-
*/
|
|
8
|
-
rowsBeforePartialUpdates: DataGridProcessedProps['rows'];
|
|
9
|
-
/**
|
|
10
|
-
* The value of the `loading` prop since the last time that the rows state was updated.
|
|
11
|
-
*/
|
|
12
|
-
loadingPropBeforePartialUpdates: DataGridProcessedProps['loading'];
|
|
13
|
-
/**
|
|
14
|
-
* The value of the `rowCount` prop since the last time that the rows state was updated.
|
|
15
|
-
*/
|
|
16
|
-
rowCountPropBeforePartialUpdates: DataGridProcessedProps['rowCount'];
|
|
17
|
-
/**
|
|
18
|
-
* Lookup containing the latest model at all time (even those not stored in the state yet).
|
|
19
|
-
*/
|
|
20
|
-
dataRowIdToModelLookup: GridRowIdToModelLookup;
|
|
21
|
-
/**
|
|
22
|
-
* List of updates (partial or full) applied since the last time the state was synced with the cache.
|
|
23
|
-
* It is used to build the tree.
|
|
24
|
-
* If the update is a full update, we rebuild the tree from scratch.
|
|
25
|
-
* If the update is a partial update, we only modify the impacted nodes.
|
|
26
|
-
*/
|
|
27
|
-
updates: GridRowsPartialUpdates | GridRowsFullUpdate;
|
|
28
|
-
}
|
|
29
|
-
export interface GridRowsState {
|
|
30
|
-
/**
|
|
31
|
-
* Name of the algorithm used to group the rows
|
|
32
|
-
* It is useful to decide which filtering / sorting algorithm to apply, to avoid applying tree-data filtering on a grouping-by-column dataset for instance.
|
|
33
|
-
*/
|
|
34
|
-
groupingName: string;
|
|
35
|
-
tree: GridRowTreeConfig;
|
|
36
|
-
/**
|
|
37
|
-
* Amount of nodes at each depth (including auto-generated ones)
|
|
38
|
-
*/
|
|
39
|
-
treeDepths: GridTreeDepths;
|
|
40
|
-
dataRowIds: GridRowId[];
|
|
41
|
-
/**
|
|
42
|
-
* The loading status of the rows.
|
|
43
|
-
*/
|
|
44
|
-
loading?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Amount of data rows provided to the grid.
|
|
47
|
-
* Includes the filtered and collapsed rows.
|
|
48
|
-
* Does not include the auto-generated rows (auto generated groups and footers).
|
|
49
|
-
*/
|
|
50
|
-
totalRowCount: number;
|
|
51
|
-
/**
|
|
52
|
-
* Amount of top level rows.
|
|
53
|
-
* Includes the filtered rows and the auto-generated root footer if any.
|
|
54
|
-
* Does not include the rows of depth > 0 (rows inside a group).
|
|
55
|
-
*/
|
|
56
|
-
totalTopLevelRowCount: number;
|
|
57
|
-
dataRowIdToModelLookup: GridRowIdToModelLookup;
|
|
58
|
-
additionalRowGroups?: {
|
|
59
|
-
pinnedRows?: GridPinnedRowsState;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Contains some values of type `GridRowId` that have been requested to be fetched
|
|
63
|
-
* either by `defaultGroupingExpansionDepth` or `isGroupExpandedByDefault` props.
|
|
64
|
-
* Applicable with server-side grouped data and `dataSource` only.
|
|
65
|
-
*/
|
|
66
|
-
groupsToFetch?: GridRowId[];
|
|
67
|
-
}
|
|
68
|
-
export interface GridRowTreeCreationParams {
|
|
69
|
-
previousTree: GridRowTreeConfig | null;
|
|
70
|
-
previousTreeDepths: GridTreeDepths | null;
|
|
71
|
-
updates: GridRowsPartialUpdates | GridRowsFullUpdate;
|
|
72
|
-
dataRowIdToModelLookup: GridRowIdToModelLookup;
|
|
73
|
-
previousGroupsToFetch?: GridRowId[];
|
|
74
|
-
}
|
|
75
|
-
export type GridRowTreeUpdateGroupAction = 'removeChildren' | 'insertChildren' | 'modifyChildren';
|
|
76
|
-
export type GridRowTreeUpdatedGroupsValue = {
|
|
77
|
-
[groupId: GridRowId]: { [action in GridRowTreeUpdateGroupAction]?: boolean };
|
|
78
|
-
};
|
|
79
|
-
export type GridRowTreeUpdatedGroupsManager = {
|
|
80
|
-
value: GridRowTreeUpdatedGroupsValue;
|
|
81
|
-
addAction: (groupId: GridRowId, action: GridRowTreeUpdateGroupAction) => void;
|
|
82
|
-
};
|
|
83
|
-
export type GridRowTreeCreationValue = Pick<GridRowsState, 'groupingName' | 'tree' | 'treeDepths' | 'dataRowIds' | 'groupsToFetch'> & {
|
|
84
|
-
updatedGroupsManager?: GridRowTreeUpdatedGroupsManager;
|
|
85
|
-
};
|
|
86
|
-
export type GridHydrateRowsValue = Pick<GridRowsState, 'tree' | 'treeDepths' | 'dataRowIds' | 'dataRowIdToModelLookup' | 'additionalRowGroups'>;
|
|
87
|
-
export type GridRowsPartialUpdateAction = 'insert' | 'modify' | 'remove';
|
|
88
|
-
export type GridRowIdToModelLookup<R extends GridValidRowModel = GridValidRowModel> = Record<string, R>;
|
|
89
|
-
export type GridTreeDepths = {
|
|
90
|
-
[depth: number]: number;
|
|
91
|
-
};
|
|
92
|
-
export interface GridRowsFullUpdate {
|
|
93
|
-
type: 'full';
|
|
94
|
-
rows: GridRowId[];
|
|
95
|
-
}
|
|
96
|
-
export interface GridRowsPartialUpdates {
|
|
97
|
-
type: 'partial';
|
|
98
|
-
actions: { [action in GridRowsPartialUpdateAction]: GridRowId[] };
|
|
99
|
-
idToActionLookup: {
|
|
100
|
-
[id: GridRowId]: GridRowsPartialUpdateAction | undefined;
|
|
101
|
-
};
|
|
102
|
-
groupKeys?: string[];
|
|
103
|
-
}
|
|
104
|
-
export interface GridPinnedRowsState {
|
|
105
|
-
top?: GridRowEntry[];
|
|
106
|
-
bottom?: GridRowEntry[];
|
|
107
|
-
}
|
|
108
|
-
export type GridPinnedRowsPosition = keyof GridPinnedRowsState;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { GridRowId } from "../../../models/gridRows.js";
|
|
2
|
-
export type HeightEntry = {
|
|
3
|
-
content: number;
|
|
4
|
-
spacingTop: number;
|
|
5
|
-
spacingBottom: number;
|
|
6
|
-
detail: number;
|
|
7
|
-
autoHeight: boolean;
|
|
8
|
-
needsFirstMeasurement: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type HeightCache = Map<GridRowId, HeightEntry>;
|
|
11
|
-
export interface GridRowsMetaInternalCache {
|
|
12
|
-
/**
|
|
13
|
-
* Map of height cache entries.
|
|
14
|
-
*/
|
|
15
|
-
heights: HeightCache;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The grid rows total height and row positions.
|
|
3
|
-
*/
|
|
4
|
-
export interface GridRowsMetaState {
|
|
5
|
-
/**
|
|
6
|
-
* The sum of all visible grid rows in the current rows.
|
|
7
|
-
*/
|
|
8
|
-
currentPageTotalHeight: number;
|
|
9
|
-
/**
|
|
10
|
-
* The grid rows positions.
|
|
11
|
-
*/
|
|
12
|
-
positions: number[];
|
|
13
|
-
/**
|
|
14
|
-
* The total height of the pinned top rows.
|
|
15
|
-
*/
|
|
16
|
-
pinnedTopRowsTotalHeight: number;
|
|
17
|
-
/**
|
|
18
|
-
* The total height of the pinned bottom rows.
|
|
19
|
-
*/
|
|
20
|
-
pinnedBottomRowsTotalHeight: number;
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { GridRowId } from "../../../models/gridRows.js";
|
|
2
|
-
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
3
|
-
export declare const gridRowsStateSelector: import("../../..").OutputSelector<GridStateCommunity, unknown, import("./gridRowsInterfaces").GridRowsState>;
|
|
4
|
-
export declare const gridRowCountSelector: import("../../..").OutputSelector<GridStateCommunity, import("./gridRowsInterfaces").GridRowsState, number>;
|
|
5
|
-
export declare const gridRowsLoadingSelector: import("../../..").OutputSelector<GridStateCommunity, import("./gridRowsInterfaces").GridRowsState, boolean | undefined>;
|
|
6
|
-
export declare const gridTopLevelRowCountSelector: import("../../..").OutputSelector<GridStateCommunity, import("./gridRowsInterfaces").GridRowsState, number>;
|
|
7
|
-
export declare const gridRowsLookupSelector: import("../../..").OutputSelector<GridStateCommunity, import("./gridRowsInterfaces").GridRowsState, import("./gridRowsInterfaces").GridRowIdToModelLookup<import("../../..").GridValidRowModel>>;
|
|
8
|
-
export declare const gridRowSelector: import("../../..").OutputSelector<GridStateCommunity, GridRowId, import("../../..").GridValidRowModel>;
|
|
9
|
-
export declare const gridRowTreeSelector: import("../../..").OutputSelector<GridStateCommunity, import("./gridRowsInterfaces").GridRowsState, import("../../..").GridRowTreeConfig>;
|
|
10
|
-
export declare const gridRowNodeSelector: import("../../..").OutputSelector<GridStateCommunity, GridRowId, import("../../..").GridTreeNode>;
|
|
11
|
-
export declare const gridRowGroupsToFetchSelector: import("../../..").OutputSelector<GridStateCommunity, import("./gridRowsInterfaces").GridRowsState, GridRowId[] | undefined>;
|
|
12
|
-
export declare const gridRowGroupingNameSelector: import("../../..").OutputSelector<GridStateCommunity, import("./gridRowsInterfaces").GridRowsState, string>;
|
|
13
|
-
export declare const gridRowTreeDepthsSelector: import("../../..").OutputSelector<GridStateCommunity, import("./gridRowsInterfaces").GridRowsState, import("./gridRowsInterfaces").GridTreeDepths>;
|
|
14
|
-
export declare const gridRowMaximumTreeDepthSelector: import("../../..").OutputSelector<GridStateCommunity, import("./gridRowsInterfaces").GridRowsState, number>;
|
|
15
|
-
export declare const gridDataRowIdsSelector: import("../../..").OutputSelector<GridStateCommunity, import("./gridRowsInterfaces").GridRowsState, GridRowId[]>;
|
|
16
|
-
/**
|
|
17
|
-
* @ignore - do not document.
|
|
18
|
-
*/
|
|
19
|
-
export declare const gridAdditionalRowGroupsSelector: import("../../..").OutputSelector<GridStateCommunity, import("./gridRowsInterfaces").GridRowsState, {
|
|
20
|
-
pinnedRows?: import("./gridRowsInterfaces").GridPinnedRowsState;
|
|
21
|
-
} | undefined>;
|
|
22
|
-
/**
|
|
23
|
-
* @ignore - do not document.
|
|
24
|
-
*/
|
|
25
|
-
export declare const gridPinnedRowsSelector: import("../../..").OutputSelector<GridStateCommunity, {
|
|
26
|
-
pinnedRows?: import("./gridRowsInterfaces").GridPinnedRowsState;
|
|
27
|
-
} | undefined, {
|
|
28
|
-
bottom: {
|
|
29
|
-
id: GridRowId;
|
|
30
|
-
model: import("../../..").GridValidRowModel;
|
|
31
|
-
}[];
|
|
32
|
-
top: {
|
|
33
|
-
id: GridRowId;
|
|
34
|
-
model: import("../../..").GridValidRowModel;
|
|
35
|
-
}[];
|
|
36
|
-
}>;
|
|
37
|
-
/**
|
|
38
|
-
* @ignore - do not document.
|
|
39
|
-
*/
|
|
40
|
-
export declare const gridPinnedRowsCountSelector: import("../../..").OutputSelector<GridStateCommunity, {
|
|
41
|
-
bottom: {
|
|
42
|
-
id: GridRowId;
|
|
43
|
-
model: import("../../..").GridValidRowModel;
|
|
44
|
-
}[];
|
|
45
|
-
top: {
|
|
46
|
-
id: GridRowId;
|
|
47
|
-
model: import("../../..").GridValidRowModel;
|
|
48
|
-
}[];
|
|
49
|
-
}, number>;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { createRootSelector, createSelector, createSelectorMemoized } from "../../../utils/createSelector.js";
|
|
2
|
-
export const gridRowsStateSelector = createRootSelector(state => state.rows);
|
|
3
|
-
export const gridRowCountSelector = createSelector(gridRowsStateSelector, rows => rows.totalRowCount);
|
|
4
|
-
export const gridRowsLoadingSelector = createSelector(gridRowsStateSelector, rows => rows.loading);
|
|
5
|
-
export const gridTopLevelRowCountSelector = createSelector(gridRowsStateSelector, rows => rows.totalTopLevelRowCount);
|
|
6
|
-
|
|
7
|
-
// TODO rows v6: Rename
|
|
8
|
-
export const gridRowsLookupSelector = createSelector(gridRowsStateSelector, rows => rows.dataRowIdToModelLookup);
|
|
9
|
-
export const gridRowSelector = createSelector(gridRowsLookupSelector, (rows, id) => rows[id]);
|
|
10
|
-
export const gridRowTreeSelector = createSelector(gridRowsStateSelector, rows => rows.tree);
|
|
11
|
-
export const gridRowNodeSelector = createSelector(gridRowTreeSelector, (rowTree, rowId) => rowTree[rowId]);
|
|
12
|
-
export const gridRowGroupsToFetchSelector = createSelector(gridRowsStateSelector, rows => rows.groupsToFetch);
|
|
13
|
-
export const gridRowGroupingNameSelector = createSelector(gridRowsStateSelector, rows => rows.groupingName);
|
|
14
|
-
export const gridRowTreeDepthsSelector = createSelector(gridRowsStateSelector, rows => rows.treeDepths);
|
|
15
|
-
export const gridRowMaximumTreeDepthSelector = createSelectorMemoized(gridRowsStateSelector, rows => {
|
|
16
|
-
const entries = Object.entries(rows.treeDepths);
|
|
17
|
-
if (entries.length === 0) {
|
|
18
|
-
return 1;
|
|
19
|
-
}
|
|
20
|
-
return (entries.filter(([, nodeCount]) => nodeCount > 0).map(([depth]) => Number(depth)).sort((a, b) => b - a)[0] ?? 0) + 1;
|
|
21
|
-
});
|
|
22
|
-
export const gridDataRowIdsSelector = createSelector(gridRowsStateSelector, rows => rows.dataRowIds);
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @ignore - do not document.
|
|
26
|
-
*/
|
|
27
|
-
export const gridAdditionalRowGroupsSelector = createSelector(gridRowsStateSelector, rows => rows?.additionalRowGroups);
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @ignore - do not document.
|
|
31
|
-
*/
|
|
32
|
-
export const gridPinnedRowsSelector = createSelectorMemoized(gridAdditionalRowGroupsSelector, additionalRowGroups => {
|
|
33
|
-
const rawPinnedRows = additionalRowGroups?.pinnedRows;
|
|
34
|
-
return {
|
|
35
|
-
bottom: rawPinnedRows?.bottom?.map(rowEntry => ({
|
|
36
|
-
id: rowEntry.id,
|
|
37
|
-
model: rowEntry.model ?? {}
|
|
38
|
-
})) ?? [],
|
|
39
|
-
top: rawPinnedRows?.top?.map(rowEntry => ({
|
|
40
|
-
id: rowEntry.id,
|
|
41
|
-
model: rowEntry.model ?? {}
|
|
42
|
-
})) ?? []
|
|
43
|
-
};
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @ignore - do not document.
|
|
48
|
-
*/
|
|
49
|
-
export const gridPinnedRowsCountSelector = createSelector(gridPinnedRowsSelector, pinnedRows => {
|
|
50
|
-
return (pinnedRows?.top?.length || 0) + (pinnedRows?.bottom?.length || 0);
|
|
51
|
-
});
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridAutoGeneratedGroupNode, GridAutoGeneratedPinnedRowNode, GridColDef, GridFooterNode, GridGroupNode, GridRowId, GridRowIdGetter, GridRowModel, GridRowModelUpdate, GridRowTreeConfig, GridSkeletonRowNode, GridTreeNode, GridValidRowModel } from "../../../models/index.js";
|
|
3
|
-
import { DataGridProcessedProps } from "../../../models/props/DataGridProps.js";
|
|
4
|
-
import { GridApiCommunity, GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
|
|
5
|
-
import { GridRowsInternalCache, GridRowsState, GridRowTreeCreationParams } from "./gridRowsInterfaces.js";
|
|
6
|
-
export declare const GRID_ROOT_GROUP_ID: GridRowId;
|
|
7
|
-
export declare const GRID_ID_AUTOGENERATED: unique symbol;
|
|
8
|
-
export declare const buildRootGroup: () => GridGroupNode;
|
|
9
|
-
/**
|
|
10
|
-
* A helper function to check if the id provided is valid.
|
|
11
|
-
* @param {GridRowId} id Id as [[GridRowId]].
|
|
12
|
-
* @param {GridRowModel | Partial<GridRowModel>} row Row as [[GridRowModel]].
|
|
13
|
-
* @param {string} detailErrorMessage A custom error message to display for invalid IDs
|
|
14
|
-
*/
|
|
15
|
-
export declare function checkGridRowIdIsValid(id: GridRowId, row: GridRowModel | Partial<GridRowModel>, detailErrorMessage?: string): void;
|
|
16
|
-
export declare const getRowIdFromRowModel: (rowModel: GridRowModel, getRowId?: GridRowIdGetter, detailErrorMessage?: string) => GridRowId;
|
|
17
|
-
export declare const getRowValue: (row: GridValidRowModel, colDef: GridColDef, apiRef: RefObject<GridApiCommunity>) => any;
|
|
18
|
-
export declare const createRowsInternalCache: ({
|
|
19
|
-
rows,
|
|
20
|
-
getRowId,
|
|
21
|
-
loading,
|
|
22
|
-
rowCount
|
|
23
|
-
}: Pick<DataGridProcessedProps, "rows" | "getRowId" | "loading" | "rowCount">) => GridRowsInternalCache;
|
|
24
|
-
export declare const getTopLevelRowCount: ({
|
|
25
|
-
tree,
|
|
26
|
-
rowCountProp
|
|
27
|
-
}: {
|
|
28
|
-
tree: GridRowTreeConfig;
|
|
29
|
-
rowCountProp: DataGridProcessedProps["rowCount"];
|
|
30
|
-
}) => number;
|
|
31
|
-
export declare const getRowsStateFromCache: ({
|
|
32
|
-
apiRef,
|
|
33
|
-
rowCountProp,
|
|
34
|
-
loadingProp,
|
|
35
|
-
previousTree,
|
|
36
|
-
previousTreeDepths,
|
|
37
|
-
previousGroupsToFetch
|
|
38
|
-
}: Pick<GridRowTreeCreationParams, "previousTree" | "previousTreeDepths" | "previousGroupsToFetch"> & {
|
|
39
|
-
apiRef: RefObject<GridPrivateApiCommunity>;
|
|
40
|
-
rowCountProp: number | undefined;
|
|
41
|
-
loadingProp: boolean | undefined;
|
|
42
|
-
}) => GridRowsState;
|
|
43
|
-
export declare const isAutogeneratedRow: (row: GridRowModel) => boolean;
|
|
44
|
-
export declare const isAutogeneratedRowNode: (rowNode: GridTreeNode) => rowNode is GridFooterNode | GridSkeletonRowNode | GridAutoGeneratedGroupNode | GridAutoGeneratedPinnedRowNode;
|
|
45
|
-
export declare const getTreeNodeDescendants: (tree: GridRowTreeConfig, parentId: GridRowId, skipAutoGeneratedRows: boolean) => GridRowId[];
|
|
46
|
-
export declare const updateCacheWithNewRows: ({
|
|
47
|
-
previousCache,
|
|
48
|
-
getRowId,
|
|
49
|
-
updates,
|
|
50
|
-
groupKeys
|
|
51
|
-
}: {
|
|
52
|
-
previousCache: GridRowsInternalCache;
|
|
53
|
-
getRowId: DataGridProcessedProps["getRowId"];
|
|
54
|
-
updates: GridRowModelUpdate[];
|
|
55
|
-
groupKeys?: string[];
|
|
56
|
-
}) => GridRowsInternalCache;
|
|
57
|
-
export declare const minimalContentHeight = "var(--DataGrid-overlayHeight, calc(var(--height) * 2))";
|
|
58
|
-
export declare function computeRowsUpdates(apiRef: RefObject<GridApiCommunity>, updates: GridRowModelUpdate[], getRowId: DataGridProcessedProps['getRowId']): GridRowModelUpdate[];
|
|
59
|
-
export declare const getValidRowHeight: (rowHeightProp: any, defaultRowHeight: number, warningMessage: string) => number;
|
|
60
|
-
export declare const rowHeightWarning: string;
|
|
61
|
-
export declare const getRowHeightWarning: string;
|