ag-grid-community 35.3.0 → 36.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/dist/ag-grid-community.js +43054 -40943
- package/dist/ag-grid-community.min.js +829 -472
- package/dist/ag-grid-community.min.noStyle.js +36 -39
- package/dist/ag-grid-community.noStyle.js +41911 -40166
- package/dist/package/main.cjs.js +27494 -32054
- package/dist/package/main.cjs.min.js +27 -44
- package/dist/package/main.esm.min.mjs +27 -44
- package/dist/package/main.esm.mjs +30454 -34846
- package/dist/package/package.json +3 -2
- package/dist/package.json +3 -2
- package/dist/types/package.json +3 -2
- package/dist/types/src/{agStack/widgets → agWidgets}/agAbstractField.d.ts +1 -6
- package/dist/types/src/{agStack/widgets → agWidgets}/agAbstractInputField.d.ts +1 -4
- package/dist/types/src/{agStack/widgets → agWidgets}/agAbstractLabel.d.ts +2 -7
- package/dist/types/src/{agStack/widgets → agWidgets}/agCheckbox.d.ts +1 -5
- package/dist/types/src/{agStack/widgets → agWidgets}/agContentEditableField.d.ts +1 -5
- package/dist/types/src/{agStack/widgets → agWidgets}/agFieldParams.d.ts +1 -1
- package/dist/types/src/agWidgets/agFieldSet.d.ts +19 -0
- package/dist/types/src/{agStack/widgets → agWidgets}/agInputDateField.d.ts +1 -5
- package/dist/types/src/{agStack/widgets → agWidgets}/agInputNumberField.d.ts +1 -5
- package/dist/types/src/{agStack/widgets → agWidgets}/agInputTextArea.d.ts +1 -5
- package/dist/types/src/{agStack/widgets → agWidgets}/agInputTextField.d.ts +1 -5
- package/dist/types/src/{agStack/widgets → agWidgets}/agList.d.ts +2 -5
- package/dist/types/src/{agStack/widgets → agWidgets}/agListItem.d.ts +2 -7
- package/dist/types/src/{agStack/widgets → agWidgets}/agPickerField.d.ts +1 -5
- package/dist/types/src/{agStack/widgets → agWidgets}/agPickerFieldParams.d.ts +1 -2
- package/dist/types/src/{agStack/widgets → agWidgets}/agRadioButton.d.ts +1 -5
- package/dist/types/src/{agStack/widgets → agWidgets}/agSelect.d.ts +1 -5
- package/dist/types/src/{agStack/widgets → agWidgets}/agToggleButton.d.ts +1 -5
- package/dist/types/src/agWidgets/agWidgetSelectorType.d.ts +2 -0
- package/dist/types/src/alignedGrids/alignedGridsService.d.ts +1 -1
- package/dist/types/src/api/coreApi.d.ts +1 -0
- package/dist/types/src/api/gridApi.d.ts +5 -3
- package/dist/types/src/autoGenerateColumns/autoGenerateColumnsModule.d.ts +6 -0
- package/dist/types/src/autoGenerateColumns/autoGenerateColumnsService.d.ts +7 -0
- package/dist/types/src/columnMove/columnDrag/bodyDropPivotTarget.d.ts +3 -3
- package/dist/types/src/columnMove/columnDrag/bodyDropTarget.d.ts +8 -5
- package/dist/types/src/columnMove/columnDrag/moveColumnFeature.d.ts +0 -1
- package/dist/types/src/columnMove/columnMoveService.d.ts +2 -2
- package/dist/types/src/columnMove/columnMoveUtils.d.ts +2 -0
- package/dist/types/src/columnMove/internalColumnMoveUtils.d.ts +4 -4
- package/dist/types/src/columnResize/columnResizeService.d.ts +2 -3
- package/dist/types/src/columnResize/groupResizeFeature.d.ts +1 -3
- package/dist/types/src/columnResize/resizeFeature.d.ts +1 -3
- package/dist/types/src/columns/baseSingleColService.d.ts +23 -0
- package/dist/types/src/columns/buildColumnTree.d.ts +42 -0
- package/dist/types/src/columns/calculatedColumnUtils.d.ts +8 -0
- package/dist/types/src/columns/colDefUtils.d.ts +9 -0
- package/dist/types/src/columns/colsApplyPrevOrder.d.ts +2 -0
- package/dist/types/src/columns/columnApi.d.ts +2 -3
- package/dist/types/src/columns/columnDefFactory.d.ts +4 -8
- package/dist/types/src/columns/columnEventUtils.d.ts +4 -1
- package/dist/types/src/columns/columnFlexService.d.ts +1 -1
- package/dist/types/src/columns/columnGroups/colWrapperCache.d.ts +16 -0
- package/dist/types/src/columns/columnGroups/columnGroupService.d.ts +14 -41
- package/dist/types/src/columns/columnGroups/columnGroupState.d.ts +13 -0
- package/dist/types/src/columns/columnModel.d.ts +105 -59
- package/dist/types/src/columns/columnNameService.d.ts +1 -1
- package/dist/types/src/columns/columnStateUtils.d.ts +54 -13
- package/dist/types/src/columns/columnUtils.d.ts +20 -25
- package/dist/types/src/columns/dataTypeService.d.ts +3 -1
- package/dist/types/src/columns/groupInstanceIdCreator.d.ts +1 -2
- package/dist/types/src/columns/selectionColService.d.ts +7 -28
- package/dist/types/src/columns/visibleColsService.d.ts +51 -25
- package/dist/types/src/components/framework/frameworkComponentWrapper.d.ts +1 -1
- package/dist/types/src/components/framework/registry.d.ts +2 -3
- package/dist/types/src/components/framework/userCompUtils.d.ts +5 -5
- package/dist/types/src/components/framework/userComponentFactory.d.ts +1 -1
- package/dist/types/src/context/bean.d.ts +1 -1
- package/dist/types/src/context/beanStub.d.ts +5 -3
- package/dist/types/src/context/context.d.ts +14 -13
- package/dist/types/src/context/gridBeanComparator.d.ts +1 -1
- package/dist/types/src/csvExport/csvExportModule.d.ts +1 -1
- package/dist/types/src/ctrlsService.d.ts +8 -22
- package/dist/types/src/dragAndDrop/dragAndDropImageComponent.d.ts +1 -3
- package/dist/types/src/dragAndDrop/dragAndDropService.d.ts +2 -4
- package/dist/types/src/dragAndDrop/dragModule.d.ts +1 -1
- package/dist/types/src/dragAndDrop/dragService.d.ts +1 -1
- package/dist/types/src/dragAndDrop/horizontalResizeService.d.ts +2 -0
- package/dist/types/src/dragAndDrop/rowDragComp.d.ts +1 -1
- package/dist/types/src/dragAndDrop/rowDragTypes.d.ts +1 -2
- package/dist/types/src/edit/cellEditors/agAbstractCellEditor.d.ts +2 -2
- package/dist/types/src/edit/cellEditors/popupEditorWrapper.d.ts +1 -1
- package/dist/types/src/edit/editService.d.ts +2 -0
- package/dist/types/src/edit/strategy/fullRowEditStrategy.d.ts +2 -1
- package/dist/types/src/edit/strategy/singleCellEditStrategy.d.ts +2 -1
- package/dist/types/src/entities/agColumn.d.ts +117 -58
- package/dist/types/src/entities/agColumnGroup.d.ts +24 -16
- package/dist/types/src/entities/agProvidedColumnGroup.d.ts +20 -19
- package/dist/types/src/entities/colDef-showValuesAs.d.ts +228 -0
- package/dist/types/src/entities/colDef.d.ts +68 -6
- package/dist/types/src/entities/gridOptions.d.ts +93 -8
- package/dist/types/src/entities/rowNode.d.ts +7 -3
- package/dist/types/src/environment.d.ts +2 -4
- package/dist/types/src/eventService.d.ts +1 -1
- package/dist/types/src/eventTypes.d.ts +4 -4
- package/dist/types/src/events.d.ts +48 -3
- package/dist/types/src/export/baseGridSerializingSession.d.ts +4 -2
- package/dist/types/src/export/iGridSerializer.d.ts +4 -2
- package/dist/types/src/filter/columnFilterService.d.ts +2 -2
- package/dist/types/src/filter/columnFilterUtils.d.ts +1 -1
- package/dist/types/src/filter/filterButtonComp.d.ts +1 -1
- package/dist/types/src/filter/filterComp.d.ts +1 -1
- package/dist/types/src/filter/filterDataTypeUtils.d.ts +1 -1
- package/dist/types/src/filter/filterLocaleText.d.ts +1 -1
- package/dist/types/src/filter/filterManager.d.ts +2 -1
- package/dist/types/src/filter/filterWrapperComp.d.ts +1 -1
- package/dist/types/src/filter/floating/floatingFilter.d.ts +1 -1
- package/dist/types/src/filter/floating/provided/floatingFilterTextInputService.d.ts +2 -2
- package/dist/types/src/filter/provided/date/iDateFilter.d.ts +1 -0
- package/dist/types/src/filter/provided/providedFilter.d.ts +1 -1
- package/dist/types/src/filter/provided/providedFilterUtils.d.ts +1 -1
- package/dist/types/src/filter/provided/simpleFilter.d.ts +1 -1
- package/dist/types/src/grid.d.ts +11 -12
- package/dist/types/src/gridBodyComp/fakeHScrollComp.d.ts +3 -4
- package/dist/types/src/gridBodyComp/fakeVScrollComp.d.ts +4 -0
- package/dist/types/src/gridBodyComp/gridBodyComp.d.ts +11 -5
- package/dist/types/src/gridBodyComp/gridBodyCtrl.d.ts +45 -34
- package/dist/types/src/gridBodyComp/gridBodyScrollFeature.d.ts +6 -5
- package/dist/types/src/gridBodyComp/rowContainer/rowContainerComp.d.ts +22 -0
- package/dist/types/src/gridBodyComp/rowContainer/rowContainerCtrl.d.ts +9 -33
- package/dist/types/src/gridBodyComp/scrollVisibleService.d.ts +13 -8
- package/dist/types/src/gridBodyComp/viewportSizeFeature.d.ts +7 -2
- package/dist/types/src/gridComp/gridCtrl.d.ts +3 -5
- package/dist/types/src/gridOptionsDefault.d.ts +1 -0
- package/dist/types/src/gridOptionsService.d.ts +1 -1
- package/dist/types/src/headerRendering/cells/abstractCell/abstractHeaderCellCtrl.d.ts +1 -1
- package/dist/types/src/headerRendering/cells/column/{headerComp.d.ts → agColumnHeader.d.ts} +5 -1
- package/dist/types/src/headerRendering/cells/column/headerCellCtrl.d.ts +5 -2
- package/dist/types/src/headerRendering/cells/columnGroup/{headerGroupComp.d.ts → agColumnGroupHeader.d.ts} +2 -2
- package/dist/types/src/headerRendering/cells/columnGroup/groupStickyLabelFeature.d.ts +1 -0
- package/dist/types/src/headerRendering/cells/columnGroup/headerGroupCellCtrl.d.ts +5 -1
- package/dist/types/src/headerRendering/cells/cssClassApplier.d.ts +5 -3
- package/dist/types/src/headerRendering/cells/floatingFilter/headerFilterCellCtrl.d.ts +3 -1
- package/dist/types/src/headerRendering/cells/floatingFilter/iHeaderFilterCellComp.d.ts +1 -1
- package/dist/types/src/headerRendering/gridHeaderComp.d.ts +10 -2
- package/dist/types/src/headerRendering/gridHeaderCtrl.d.ts +4 -2
- package/dist/types/src/headerRendering/headerUtils.d.ts +34 -0
- package/dist/types/src/headerRendering/row/headerRowComp.d.ts +9 -0
- package/dist/types/src/headerRendering/row/headerRowCtrl.d.ts +4 -4
- package/dist/types/src/headerRendering/rowContainer/headerRowContainerCtrl.d.ts +3 -11
- package/dist/types/src/headerRendering/rowContainer/headerRowsComp.d.ts +12 -0
- package/dist/types/src/interfaces/IRangeService.d.ts +1 -1
- package/dist/types/src/interfaces/dateComponent.d.ts +1 -1
- package/dist/types/src/interfaces/exportParams.d.ts +11 -5
- package/dist/types/src/interfaces/formulas.d.ts +3 -2
- package/dist/types/src/interfaces/gridState.d.ts +7 -3
- package/dist/types/src/interfaces/iAdvancedFilterCtrl.d.ts +2 -1
- package/dist/types/src/interfaces/iAutoColService.d.ts +12 -0
- package/dist/types/src/interfaces/iCalculatedColumns.d.ts +61 -0
- package/dist/types/src/interfaces/iCellEditor.d.ts +1 -1
- package/dist/types/src/interfaces/iCellEditorRenderer.d.ts +1 -1
- package/dist/types/src/interfaces/iCellStyleFeature.d.ts +1 -1
- package/dist/types/src/interfaces/iColsService.d.ts +36 -42
- package/dist/types/src/interfaces/iColumn.d.ts +18 -3
- package/dist/types/src/interfaces/iColumnStateUpdateStrategy.d.ts +4 -3
- package/dist/types/src/interfaces/iContextMenu.d.ts +1 -1
- package/dist/types/src/interfaces/iEditService.d.ts +4 -4
- package/dist/types/src/interfaces/iEventService.d.ts +1 -1
- package/dist/types/src/interfaces/iFileProcessor.d.ts +9 -0
- package/dist/types/src/interfaces/iFilter.d.ts +1 -2
- package/dist/types/src/interfaces/iFooterService.d.ts +2 -1
- package/dist/types/src/interfaces/iFrameworkOverrides.d.ts +1 -2
- package/dist/types/src/interfaces/iGridSection.d.ts +8 -0
- package/dist/types/src/interfaces/iGroupHierarchyColService.d.ts +9 -19
- package/dist/types/src/interfaces/iHeader.d.ts +2 -2
- package/dist/types/src/interfaces/iLoadingCellRenderer.d.ts +1 -1
- package/dist/types/src/interfaces/iModule.d.ts +4 -5
- package/dist/types/src/interfaces/iMultiFilter.d.ts +1 -1
- package/dist/types/src/interfaces/iNewFiltersToolPanel.d.ts +4 -8
- package/dist/types/src/interfaces/iPinnedSectionCompHost.d.ts +5 -0
- package/dist/types/src/interfaces/iPivotResultColsService.d.ts +27 -7
- package/dist/types/src/interfaces/iRichCellEditorParams.d.ts +1 -1
- package/dist/types/src/interfaces/iRowNode.d.ts +6 -3
- package/dist/types/src/interfaces/iRowNodeStage.d.ts +7 -0
- package/dist/types/src/interfaces/iRowStyleFeature.d.ts +1 -1
- package/dist/types/src/interfaces/iSelectionService.d.ts +3 -3
- package/dist/types/src/interfaces/iSetFilter.d.ts +1 -1
- package/dist/types/src/interfaces/iShowRowGroupColsService.d.ts +4 -1
- package/dist/types/src/interfaces/iShowValuesAsService.d.ts +48 -0
- package/dist/types/src/interfaces/iSort.d.ts +10 -0
- package/dist/types/src/interfaces/iSortModelItem.d.ts +1 -1
- package/dist/types/src/interfaces/iSortOption.d.ts +10 -1
- package/dist/types/src/interfaces/iStatusPanel.d.ts +1 -1
- package/dist/types/src/interfaces/iToolPanel.d.ts +1 -1
- package/dist/types/src/interfaces/iToolbar.d.ts +1 -1
- package/dist/types/src/interfaces/iUserCompDetails.d.ts +1 -2
- package/dist/types/src/interfaces/menuItem.d.ts +2 -2
- package/dist/types/src/interfaces/rowNumbers.d.ts +6 -4
- package/dist/types/src/main-internal.d.ts +54 -118
- package/dist/types/src/main.d.ts +34 -35
- package/dist/types/src/misc/iconService.d.ts +1 -1
- package/dist/types/src/misc/locale/localeService.d.ts +1 -1
- package/dist/types/src/misc/state/stateService.d.ts +6 -2
- package/dist/types/src/misc/touchService.d.ts +5 -5
- package/dist/types/src/modules/moduleRegistry.d.ts +1 -3
- package/dist/types/src/pagination/pageSizeSelectorComp.d.ts +4 -1
- package/dist/types/src/pagination/pageSummaryComp.d.ts +7 -2
- package/dist/types/src/pagination/paginationAutoPageSizeService.d.ts +1 -1
- package/dist/types/src/pagination/paginationService.d.ts +5 -1
- package/dist/types/src/pagination/paginationUtils.d.ts +1 -1
- package/dist/types/src/pinnedColumns/pinnedColumnService.d.ts +2 -3
- package/dist/types/src/pinnedRowModel/manualPinnedRowUtils.d.ts +1 -0
- package/dist/types/src/publicEventHandlersMap.d.ts +1 -1
- package/dist/types/src/rendering/ariaAnnouncementService.d.ts +1 -1
- package/dist/types/src/rendering/autoWidthCalculator.d.ts +1 -1
- package/dist/types/src/rendering/cell/cellCtrl.d.ts +7 -2
- package/dist/types/src/rendering/cell/cellPositionFeature.d.ts +1 -1
- package/dist/types/src/rendering/cellRenderers/iCellRenderer.d.ts +1 -1
- package/dist/types/src/rendering/features/horizontalPositionUtils.d.ts +21 -0
- package/dist/types/src/rendering/features/positionableFeature.d.ts +1 -1
- package/dist/types/src/rendering/features/setLeftFeature.d.ts +2 -4
- package/dist/types/src/rendering/overlays/fileInputOverlayComponent.d.ts +25 -0
- package/dist/types/src/rendering/overlays/fileInputOverlayModule.d.ts +6 -0
- package/dist/types/src/rendering/overlays/overlayComponent.d.ts +13 -3
- package/dist/types/src/rendering/overlays/overlayWrapperComponent.d.ts +1 -1
- package/dist/types/src/rendering/row/fullWidthRowFeature.d.ts +70 -0
- package/dist/types/src/rendering/row/iRowModeFeature.d.ts +48 -0
- package/dist/types/src/rendering/row/normalRowFeature.d.ts +37 -0
- package/dist/types/src/rendering/row/rowAutoHeightService.d.ts +1 -2
- package/dist/types/src/rendering/row/rowComp.d.ts +16 -0
- package/dist/types/src/rendering/row/rowCtrl.d.ts +75 -66
- package/dist/types/src/rendering/rowContainerHeightService.d.ts +2 -0
- package/dist/types/src/rendering/rowRenderer.d.ts +6 -5
- package/dist/types/src/rendering/spanning/rowSpanCache.d.ts +5 -5
- package/dist/types/src/rendering/spanning/rowSpanService.d.ts +15 -19
- package/dist/types/src/rendering/spanning/spannedRowCtrl.d.ts +3 -4
- package/dist/types/src/rendering/spanning/spannedRowRenderer.d.ts +3 -2
- package/dist/types/src/selection/baseSelectionService.d.ts +3 -3
- package/dist/types/src/selection/selectionService.d.ts +1 -1
- package/dist/types/src/sort/rowNodeSorter.d.ts +5 -12
- package/dist/types/src/sort/sortIndicatorComp.d.ts +1 -1
- package/dist/types/src/sort/sortOptionUtils.d.ts +9 -0
- package/dist/types/src/sort/sortService.d.ts +25 -22
- package/dist/types/src/styling/calculatedColumnCss.d.ts +5 -0
- package/dist/types/src/testing/testIdUtils.d.ts +3 -3
- package/dist/types/src/theming/core/core-css.d.ts +150 -3
- package/dist/types/src/theming/createTheme.d.ts +2 -7
- package/dist/types/src/theming/parts/button-style/button-styles.d.ts +1 -2
- package/dist/types/src/theming/parts/checkbox-style/checkbox-styles.d.ts +1 -2
- package/dist/types/src/theming/parts/color-scheme/color-schemes.d.ts +88 -92
- package/dist/types/src/theming/parts/column-drop-style/column-drop-styles.d.ts +2 -2
- package/dist/types/src/theming/parts/icon-set/alpine/icon-set-alpine.d.ts +1 -1
- package/dist/types/src/theming/parts/icon-set/balham/icon-set-balham.d.ts +1 -1
- package/dist/types/src/theming/parts/icon-set/material/icon-set-material.d.ts +1 -1
- package/dist/types/src/theming/parts/icon-set/overrides/icon-overrides.d.ts +2 -2
- package/dist/types/src/theming/parts/icon-set/quartz/icon-set-quartz.d.ts +1 -1
- package/dist/types/src/theming/parts/input-style/input-styles.d.ts +5 -2
- package/dist/types/src/theming/parts/tab-style/tab-styles.d.ts +1 -2
- package/dist/types/src/theming/parts/theme/themes.d.ts +3 -7
- package/dist/types/src/tooltip/tooltipComponent.d.ts +2 -2
- package/dist/types/src/tooltip/tooltipFeature.d.ts +1 -2
- package/dist/types/src/tooltip/tooltipService.d.ts +2 -2
- package/dist/types/src/tooltip/tooltipStateManager.d.ts +2 -2
- package/dist/types/src/utils/element.d.ts +1 -1
- package/dist/types/src/utils/gridFocus.d.ts +1 -0
- package/dist/types/src/utils/icon.d.ts +1 -1
- package/dist/types/src/utils/mergeDeep.d.ts +10 -2
- package/dist/types/src/utils/number.d.ts +10 -1
- package/dist/types/src/utils/value.d.ts +7 -0
- package/dist/types/src/validation/errorMessages/errorText.d.ts +20 -75
- package/dist/types/src/validation/rules/iconValidations.d.ts +1 -1
- package/dist/types/src/validation/validationModule.d.ts +24 -0
- package/dist/types/src/validation/validationService.d.ts +1 -1
- package/dist/types/src/valueService/cellApi.d.ts +9 -4
- package/dist/types/src/valueService/valueService.d.ts +45 -13
- package/dist/types/src/vanillaFrameworkOverrides.d.ts +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/src/widgets/component.d.ts +4 -4
- package/dist/types/src/widgets/gridWidgetTypes.d.ts +12 -9
- package/dist/types/src/widgets/managedFocusFeature.d.ts +2 -2
- package/dist/types/src/widgets/popupService.d.ts +2 -2
- package/dist/types/src/widgets/tabGuard.d.ts +2 -3
- package/dist/types/src/widgets/tabGuardComp.d.ts +2 -2
- package/dist/types/src/widgets/touchListener.d.ts +3 -2
- package/package.json +3 -2
- package/styles/_css-content.scss +1506 -756
- package/styles/_icon-font-codes.scss +3 -0
- package/styles/ag-grid-no-native-widgets.css +713 -323
- package/styles/ag-grid-no-native-widgets.min.css +8 -5
- package/styles/ag-grid.css +713 -323
- package/styles/ag-grid.min.css +8 -5
- package/styles/ag-theme-alpine-no-font.css +8 -14
- package/styles/ag-theme-alpine-no-font.min.css +2 -2
- package/styles/ag-theme-alpine.css +9 -15
- package/styles/ag-theme-alpine.min.css +2 -2
- package/styles/ag-theme-balham-no-font.css +4 -3
- package/styles/ag-theme-balham-no-font.min.css +2 -2
- package/styles/ag-theme-balham.css +5 -4
- package/styles/ag-theme-balham.min.css +2 -2
- package/styles/ag-theme-material-no-font.css +10 -11
- package/styles/ag-theme-material-no-font.min.css +2 -2
- package/styles/ag-theme-material.css +11 -12
- package/styles/ag-theme-material.min.css +2 -2
- package/styles/ag-theme-quartz-no-font.css +13 -22
- package/styles/ag-theme-quartz-no-font.min.css +2 -2
- package/styles/ag-theme-quartz.css +14 -23
- package/styles/ag-theme-quartz.min.css +3 -3
- package/styles/agGridAlpineFont.css +1 -1
- package/styles/agGridAlpineFont.min.css +1 -1
- package/styles/agGridBalhamFont.css +1 -1
- package/styles/agGridBalhamFont.min.css +1 -1
- package/styles/agGridClassicFont.css +1 -1
- package/styles/agGridClassicFont.min.css +1 -1
- package/styles/agGridMaterialFont.css +1 -1
- package/styles/agGridMaterialFont.min.css +1 -1
- package/styles/agGridQuartzFont.css +1 -1
- package/styles/agGridQuartzFont.min.css +1 -1
- package/dist/types/src/agStack/constants/direction.d.ts +0 -8
- package/dist/types/src/agStack/constants/keyCode.d.ts +0 -25
- package/dist/types/src/agStack/core/agBeanStub.d.ts +0 -87
- package/dist/types/src/agStack/core/agComponentStub.d.ts +0 -59
- package/dist/types/src/agStack/core/agContext.d.ts +0 -54
- package/dist/types/src/agStack/core/baseAriaAnnouncementService.d.ts +0 -21
- package/dist/types/src/agStack/core/baseDragAndDropService.d.ts +0 -54
- package/dist/types/src/agStack/core/baseDragService.d.ts +0 -39
- package/dist/types/src/agStack/core/baseEnvironment.d.ts +0 -58
- package/dist/types/src/agStack/core/baseRegistry.d.ts +0 -15
- package/dist/types/src/agStack/events/baseEventService.d.ts +0 -18
- package/dist/types/src/agStack/events/localEventService.d.ts +0 -27
- package/dist/types/src/agStack/events/pointerCapture.d.ts +0 -7
- package/dist/types/src/agStack/focus/agManagedFocusFeature.d.ts +0 -28
- package/dist/types/src/agStack/focus/agTabGuardComp.d.ts +0 -16
- package/dist/types/src/agStack/focus/agTabGuardFeature.d.ts +0 -55
- package/dist/types/src/agStack/focus/tabGuardCtrl.d.ts +0 -69
- package/dist/types/src/agStack/interfaces/agBaseBean.d.ts +0 -12
- package/dist/types/src/agStack/interfaces/agBean.d.ts +0 -35
- package/dist/types/src/agStack/interfaces/agComponent.d.ts +0 -54
- package/dist/types/src/agStack/interfaces/agCoreBean.d.ts +0 -23
- package/dist/types/src/agStack/interfaces/agCoreBeanCollection.d.ts +0 -39
- package/dist/types/src/agStack/interfaces/agEvent.d.ts +0 -4
- package/dist/types/src/agStack/interfaces/agFrameworkOverrides.d.ts +0 -21
- package/dist/types/src/agStack/interfaces/baseEvents.d.ts +0 -50
- package/dist/types/src/agStack/interfaces/baseProperties.d.ts +0 -25
- package/dist/types/src/agStack/interfaces/iAfterGuiAttachedParams.d.ts +0 -12
- package/dist/types/src/agStack/interfaces/iAriaAnnouncementService.d.ts +0 -5
- package/dist/types/src/agStack/interfaces/iComponent.d.ts +0 -10
- package/dist/types/src/agStack/interfaces/iContext.d.ts +0 -16
- package/dist/types/src/agStack/interfaces/iDrag.d.ts +0 -30
- package/dist/types/src/agStack/interfaces/iDragAndDrop.d.ts +0 -99
- package/dist/types/src/agStack/interfaces/iEnvironment.d.ts +0 -6
- package/dist/types/src/agStack/interfaces/iEvent.d.ts +0 -20
- package/dist/types/src/agStack/interfaces/iEventEmitter.d.ts +0 -14
- package/dist/types/src/agStack/interfaces/iIcon.d.ts +0 -2
- package/dist/types/src/agStack/interfaces/iIconService.d.ts +0 -5
- package/dist/types/src/agStack/interfaces/iLocaleService.d.ts +0 -7
- package/dist/types/src/agStack/interfaces/iPopup.d.ts +0 -63
- package/dist/types/src/agStack/interfaces/iPopupComponent.d.ts +0 -11
- package/dist/types/src/agStack/interfaces/iPopupService.d.ts +0 -19
- package/dist/types/src/agStack/interfaces/iProperties.d.ts +0 -42
- package/dist/types/src/agStack/interfaces/iRegistry.d.ts +0 -5
- package/dist/types/src/agStack/interfaces/iTooltip.d.ts +0 -20
- package/dist/types/src/agStack/popup/agPopupComponent.d.ts +0 -13
- package/dist/types/src/agStack/popup/basePopupService.d.ts +0 -60
- package/dist/types/src/agStack/popup/popupPositionUtils.d.ts +0 -71
- package/dist/types/src/agStack/rendering/agPositionableFeature.d.ts +0 -101
- package/dist/types/src/agStack/rendering/autoScrollService.d.ts +0 -38
- package/dist/types/src/agStack/rendering/cssClassManager.d.ts +0 -7
- package/dist/types/src/agStack/theming/inject.d.ts +0 -26
- package/dist/types/src/agStack/theming/part.d.ts +0 -9
- package/dist/types/src/agStack/theming/partImpl.d.ts +0 -56
- package/dist/types/src/agStack/theming/shared/shared-css.d.ts +0 -282
- package/dist/types/src/agStack/theming/theme.d.ts +0 -23
- package/dist/types/src/agStack/theming/themeImpl.d.ts +0 -46
- package/dist/types/src/agStack/theming/themeLogger.d.ts +0 -24
- package/dist/types/src/agStack/theming/themeTypeUtils.d.ts +0 -18
- package/dist/types/src/agStack/theming/themeTypes.d.ts +0 -209
- package/dist/types/src/agStack/theming/themeUtils.d.ts +0 -13
- package/dist/types/src/agStack/tooltip/agHighlightTooltipFeature.d.ts +0 -24
- package/dist/types/src/agStack/tooltip/agTooltipComponent.d.ts +0 -12
- package/dist/types/src/agStack/tooltip/agTooltipFeature.d.ts +0 -31
- package/dist/types/src/agStack/tooltip/baseTooltipStateManager.d.ts +0 -81
- package/dist/types/src/agStack/utils/aria.d.ts +0 -79
- package/dist/types/src/agStack/utils/array.d.ts +0 -32
- package/dist/types/src/agStack/utils/bigInt.d.ts +0 -2
- package/dist/types/src/agStack/utils/browser.d.ts +0 -11
- package/dist/types/src/agStack/utils/date.d.ts +0 -40
- package/dist/types/src/agStack/utils/document.d.ts +0 -15
- package/dist/types/src/agStack/utils/dom.d.ts +0 -141
- package/dist/types/src/agStack/utils/download.d.ts +0 -2
- package/dist/types/src/agStack/utils/event.d.ts +0 -34
- package/dist/types/src/agStack/utils/focus.d.ts +0 -12
- package/dist/types/src/agStack/utils/function.d.ts +0 -37
- package/dist/types/src/agStack/utils/fuzzyMatch.d.ts +0 -22
- package/dist/types/src/agStack/utils/generic.d.ts +0 -18
- package/dist/types/src/agStack/utils/keyboard.d.ts +0 -2
- package/dist/types/src/agStack/utils/locale.d.ts +0 -17
- package/dist/types/src/agStack/utils/promise.d.ts +0 -16
- package/dist/types/src/agStack/utils/string.d.ts +0 -17
- package/dist/types/src/agStack/utils/value.d.ts +0 -6
- package/dist/types/src/agStack/widgets/agWidgetSelectorType.d.ts +0 -2
- package/dist/types/src/columns/baseColsService.d.ts +0 -52
- package/dist/types/src/columns/columnFactoryUtils.d.ts +0 -28
- package/dist/types/src/columns/columnGroups/columnGroupUtils.d.ts +0 -3
- package/dist/types/src/columns/columnKeyCreator.d.ts +0 -9
- package/dist/types/src/gridBodyComp/scrollbarVisibilityHelper.d.ts +0 -2
- package/dist/types/src/headerRendering/rowContainer/headerRowContainerComp.d.ts +0 -15
- package/dist/types/src/interfaces/iColumnCollectionService.d.ts +0 -15
- package/dist/types/src/theming/parts/batch-edit/batch-edit-styles.d.ts +0 -22
- package/dist/types/src/theming/parts/formula-style/formula-styles.d.ts +0 -89
- package/dist/types/src/theming/parts/notes/note-styles.d.ts +0 -37
|
@@ -1,23 +1,13 @@
|
|
|
1
|
+
import type { ColumnTreeBuild } from '../columns/buildColumnTree';
|
|
1
2
|
import type { AgColumn } from '../entities/agColumn';
|
|
2
|
-
import type { IColumnCollectionService } from './iColumnCollectionService';
|
|
3
3
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
4
|
-
export interface IGroupHierarchyColService
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*/
|
|
13
|
-
insertVirtualColumnsForCol(columns: AgColumn[], col: AgColumn): AgColumn[];
|
|
14
|
-
/**
|
|
15
|
-
* If both arguments are virtural columns with the same source column, we use the same
|
|
16
|
-
* order in which they are added.
|
|
17
|
-
*
|
|
18
|
-
* If one column is a virtual column and the other its source column, the virtual column is sorted first.
|
|
19
|
-
*
|
|
20
|
-
* Otherwise, we defer sorting to the caller.
|
|
21
|
-
*/
|
|
4
|
+
export interface IGroupHierarchyColService {
|
|
5
|
+
/** Generated hierarchy columns flat-array. Empty when no hierarchy is in use. */
|
|
6
|
+
columns: AgColumn[];
|
|
7
|
+
/** Recompute hierarchy cols and prepend them to the tree via the builder. No-op when none active. */
|
|
8
|
+
contributeTo(build: ColumnTreeBuild): void;
|
|
9
|
+
/** This source col's generated virtuals, in order (seated before it); undefined if none. */
|
|
10
|
+
getVirtualCols(sourceCol: AgColumn): AgColumn[] | undefined;
|
|
11
|
+
/** Sibling virtuals rank by insertion order; a virtual sorts before its own source; else null (caller decides). */
|
|
22
12
|
compareVirtualColumns(colA: AgColumn, colB: AgColumn): number | null;
|
|
23
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IComponent } from '
|
|
2
|
-
import type { SortDef, SortDirection } from '../
|
|
1
|
+
import type { IComponent } from 'ag-stack';
|
|
2
|
+
import type { SortDef, SortDirection } from '../interfaces/iSort';
|
|
3
3
|
import type { Column } from './iColumn';
|
|
4
4
|
import type { AgGridCommon } from './iCommon';
|
|
5
5
|
export interface IHeaderParams<TData = any, TContext = any> extends AgGridCommon<TData, TContext> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IComponent } from '
|
|
1
|
+
import type { IComponent } from 'ag-stack';
|
|
2
2
|
import type { ICellRendererParams } from '../rendering/cellRenderers/iCellRenderer';
|
|
3
3
|
export interface ILoadingCellRendererParams<TData = any, TValue = any, TContext = any> extends ICellRendererParams<TData, TValue, TContext> {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { ClassImp } from '
|
|
2
|
-
import type { IconValue } from '../agStack/interfaces/iIcon';
|
|
1
|
+
import type { ClassImp, IconValue } from 'ag-stack';
|
|
3
2
|
import type { GridApi } from '../api/gridApi';
|
|
4
3
|
import type { ApiFunction, ApiFunctionName } from '../api/iApiFunction';
|
|
5
4
|
import type { ComponentMeta, DynamicBeanName, SingletonBean, UserComponentName } from '../context/context';
|
|
@@ -68,10 +67,10 @@ export type _ModuleWithLicenseManager = {
|
|
|
68
67
|
setLicenseKey: (licenseKey: string) => void;
|
|
69
68
|
};
|
|
70
69
|
type InternalModuleName = 'Aggregation' | 'AnimationFrame' | 'Aria' | 'AutoWidth' | 'CellRendererFunction' | 'ChangedPath' | 'ChangeDetection' | 'CheckboxCellRenderer' | 'CsrmFilter' | 'CsrmHierarchy' | 'CsrmGroupStages' | 'ColumnDelayRender' | 'ColumnFilter' | 'ColumnFlex' | 'ColumnGroupHeaderComp' | 'ColumnGroup' | 'ColumnHeaderComp' | 'ColumnMove' | 'ColumnResize' | 'CommunityCore' | 'CsrmSsrmSharedApi' | 'RowModelSharedApi' | 'DataType' | 'Drag' | 'EditCore' | 'EnterpriseCore' | 'Expression' | 'FilterCore' | 'FilterValue' | 'FindCore' | 'GroupEdit' | 'GroupCellRenderer' | 'GroupColumn' | 'GroupHierarchy' | 'HorizontalResize' | 'InfiniteRowModelCore' | 'KeyboardNavigation' | 'LoadingCellRenderer' | 'MenuCore' | 'MenuItem' | 'Overlay' | 'PinnedColumn' | 'Popup' | 'QuickFilterCore' | 'SharedAggregation' | 'SharedColumnStateUpdateStrategy' | 'SharedDragAndDrop' | 'SharedExport' | 'SharedMasterDetail' | 'SharedMenu' | 'SharedPivot' | 'SharedRowGrouping' | 'SharedRowSelection' | 'SharedTreeData' | 'SideBarShared' | 'SkeletonCellRenderer' | 'Sort' | 'SsrmInfiniteSharedApi' | 'StickyRow' | 'Touch' | 'Testing';
|
|
71
|
-
export type CommunityModuleName = 'AlignedGrids' | 'AllCommunity' | 'CellApi' | 'CellStyle' | 'CheckboxEditor' | 'ClientSideRowModelApi' | 'ClientSideRowModel' | 'ColumnApi' | 'ColumnAutoSize' | 'ColumnHover' | 'CsvExport' | 'CustomEditor' | 'CustomFilter' | 'DateEditor' | 'DateFilter' | 'DragAndDrop' | 'EventApi' | 'ExternalFilter' | 'GridState' | 'HighlightChanges' | 'InfiniteRowModel' | 'LargeTextEditor' | 'Locale' | 'NumberEditor' | 'NumberFilter' | 'BigIntFilter' | 'Pagination' | 'PinnedRow' | 'QuickFilter' | 'RenderApi' | 'RowApi' | 'RowAutoHeight' | 'RowDrag' | 'RowSelection' | 'RowStyle' | 'ScrollApi' | 'SelectEditor' | 'TextEditor' | 'TextFilter' | 'Tooltip' | 'UndoRedoEdit' | 'Validation' | 'ValueCache' | 'CellSpan';
|
|
72
|
-
export type EnterpriseModuleName = 'AdvancedFilter' | 'AiToolkit' | 'AllEnterprise' | 'BatchEdit' | 'CellSelection' | 'Clipboard' | 'ColumnMenu' | 'ColumnsToolPanel' | 'ContextMenu' | 'ExcelExport' | 'FiltersToolPanel' | 'Find' | 'GridCharts' | 'IntegratedCharts' | 'GroupFilter' | 'MasterDetail' | 'Menu' | 'MultiFilter' | 'NewFiltersToolPanel' | 'Pivot' | 'RangeSelection' | 'RichSelect' | 'RowNumbers' | 'RowGrouping' | 'RowGroupingPanel' | 'ServerSideRowModelApi' | 'ServerSideRowModel' | 'SetFilter' | 'SideBar' | 'Sparklines' | 'StatusBar' | 'Toolbar' | 'TreeData' | 'ViewportRowModel' | 'Formula' | 'Notes' | 'RowGroupingEdit';
|
|
70
|
+
export type CommunityModuleName = 'AlignedGrids' | 'AllCommunity' | 'AutoGenerateColumns' | 'CellApi' | 'CellStyle' | 'CheckboxEditor' | 'ClientSideRowModelApi' | 'ClientSideRowModel' | 'ColumnApi' | 'ColumnAutoSize' | 'ColumnHover' | 'CsvExport' | 'CustomEditor' | 'CustomFilter' | 'DateEditor' | 'DateFilter' | 'DragAndDrop' | 'EventApi' | 'ExternalFilter' | 'FileInputOverlay' | 'GridState' | 'HighlightChanges' | 'InfiniteRowModel' | 'LargeTextEditor' | 'Locale' | 'NumberEditor' | 'NumberFilter' | 'BigIntFilter' | 'Pagination' | 'PinnedRow' | 'QuickFilter' | 'RenderApi' | 'RowApi' | 'RowAutoHeight' | 'RowDrag' | 'RowSelection' | 'RowStyle' | 'ScrollApi' | 'SelectEditor' | 'TextEditor' | 'TextFilter' | 'Tooltip' | 'UndoRedoEdit' | 'Validation' | 'ValueCache' | 'CellSpan';
|
|
71
|
+
export type EnterpriseModuleName = 'AdvancedFilter' | 'AiToolkit' | 'AllEnterprise' | 'BatchEdit' | 'CalculatedColumns' | 'CellSelection' | 'Clipboard' | 'ColumnMenu' | 'ColumnsToolPanel' | 'ContextMenu' | 'ExcelExport' | 'FiltersToolPanel' | 'Find' | 'GridCharts' | 'IntegratedCharts' | 'GroupFilter' | 'MasterDetail' | 'Menu' | 'MultiFilter' | 'NewFiltersToolPanel' | 'Pivot' | 'RangeSelection' | 'RichSelect' | 'RowNumbers' | 'RowGrouping' | 'RowGroupingPanel' | 'ServerSideRowModelApi' | 'ServerSideRowModel' | 'SetFilter' | 'ShowValuesAs' | 'SideBar' | 'Sparklines' | 'StatusBar' | 'Toolbar' | 'TreeData' | 'ViewportRowModel' | 'Formula' | 'Notes' | 'RowGroupingEdit';
|
|
73
72
|
/** The names of all publicly available AG Grid modules */
|
|
74
|
-
export type AgModuleName = 'AiToolkitModule' | 'AlignedGridsModule' | 'AllCommunityModule' | 'CellApiModule' | 'CellStyleModule' | 'CheckboxEditorModule' | 'ClientSideRowModelApiModule' | 'ClientSideRowModelModule' | 'ColumnApiModule' | 'ColumnAutoSizeModule' | 'ColumnHoverModule' | 'CsvExportModule' | 'CustomEditorModule' | 'CustomFilterModule' | 'DateEditorModule' | 'DateFilterModule' | 'DragAndDropModule' | 'EventApiModule' | 'ExternalFilterModule' | 'GridStateModule' | 'RowGroupingEditModule' | 'HighlightChangesModule' | 'InfiniteRowModelModule' | 'LargeTextEditorModule' | 'LocaleModule' | 'NumberEditorModule' | 'NumberFilterModule' | 'BigIntFilterModule' | 'PaginationModule' | 'PinnedRowModule' | 'QuickFilterModule' | 'RenderApiModule' | 'RowApiModule' | 'RowAutoHeightModule' | 'RowDragModule' | 'RowSelectionModule' | 'RowStyleModule' | 'ScrollApiModule' | 'SelectEditorModule' | 'TextEditorModule' | 'TextFilterModule' | 'TooltipModule' | 'UndoRedoEditModule' | 'ValidationModule' | 'ValueCacheModule' | 'CellSpanModule' | 'AdvancedFilterModule' | 'AllEnterpriseModule' | 'BatchEditModule' | 'CellSelectionModule' | 'ClipboardModule' | 'ColumnMenuModule' | 'ColumnsToolPanelModule' | 'ContextMenuModule' | 'ExcelExportModule' | 'FiltersToolPanelModule' | 'FindModule' | 'GridChartsModule' | 'IntegratedChartsModule' | 'GroupFilterModule' | 'MasterDetailModule' | 'MenuModule' | 'MultiFilterModule' | 'NewFiltersToolPanelModule' | 'PivotModule' | 'RangeSelectionModule' | 'RichSelectModule' | 'RowNumbersModule' | 'RowGroupingModule' | 'RowGroupingPanelModule' | 'ServerSideRowModelApiModule' | 'ServerSideRowModelModule' | 'SetFilterModule' | 'SideBarModule' | 'SparklinesModule' | 'StatusBarModule' | 'ToolbarModule' | 'TreeDataModule' | 'ViewportRowModelModule' | 'FormulaModule' | 'NotesModule';
|
|
73
|
+
export type AgModuleName = 'AiToolkitModule' | 'AlignedGridsModule' | 'AllCommunityModule' | 'AutoGenerateColumnsModule' | 'CellApiModule' | 'CellStyleModule' | 'CheckboxEditorModule' | 'ClientSideRowModelApiModule' | 'ClientSideRowModelModule' | 'ColumnApiModule' | 'ColumnAutoSizeModule' | 'ColumnHoverModule' | 'CsvExportModule' | 'CustomEditorModule' | 'CustomFilterModule' | 'DateEditorModule' | 'DateFilterModule' | 'DragAndDropModule' | 'EventApiModule' | 'ExternalFilterModule' | 'FileInputOverlayModule' | 'GridStateModule' | 'RowGroupingEditModule' | 'HighlightChangesModule' | 'InfiniteRowModelModule' | 'LargeTextEditorModule' | 'LocaleModule' | 'NumberEditorModule' | 'NumberFilterModule' | 'BigIntFilterModule' | 'PaginationModule' | 'PinnedRowModule' | 'QuickFilterModule' | 'RenderApiModule' | 'RowApiModule' | 'RowAutoHeightModule' | 'RowDragModule' | 'RowSelectionModule' | 'RowStyleModule' | 'ScrollApiModule' | 'SelectEditorModule' | 'TextEditorModule' | 'TextFilterModule' | 'TooltipModule' | 'UndoRedoEditModule' | 'ValidationModule' | 'ValueCacheModule' | 'CellSpanModule' | 'AdvancedFilterModule' | 'AllEnterpriseModule' | 'BatchEditModule' | 'CalculatedColumnsModule' | 'CellSelectionModule' | 'ClipboardModule' | 'ColumnMenuModule' | 'ColumnsToolPanelModule' | 'ContextMenuModule' | 'ExcelExportModule' | 'FiltersToolPanelModule' | 'FindModule' | 'GridChartsModule' | 'IntegratedChartsModule' | 'GroupFilterModule' | 'MasterDetailModule' | 'MenuModule' | 'MultiFilterModule' | 'NewFiltersToolPanelModule' | 'PivotModule' | 'RangeSelectionModule' | 'RichSelectModule' | 'RowNumbersModule' | 'RowGroupingModule' | 'RowGroupingPanelModule' | 'ServerSideRowModelApiModule' | 'ServerSideRowModelModule' | 'SetFilterModule' | 'ShowValuesAsModule' | 'SideBarModule' | 'SparklinesModule' | 'StatusBarModule' | 'ToolbarModule' | 'TreeDataModule' | 'ViewportRowModelModule' | 'FormulaModule' | 'NotesModule';
|
|
75
74
|
/**
|
|
76
75
|
* INTERNAL: All public and internal module names
|
|
77
76
|
* @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgPromise } from '
|
|
1
|
+
import type { AgPromise } from 'ag-stack';
|
|
2
2
|
import type { ValueGetterFunc } from '../entities/colDef';
|
|
3
3
|
import type { IProvidedFilter, ProvidedFilterModel } from '../filter/provided/iProvidedFilter';
|
|
4
4
|
import type { ColumnFilter, IFilter, IFilterComp, IFilterDef, IFilterParams, IFilterType, IFloatingFilterType } from './iFilter';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { IEventEmitter } from '
|
|
1
|
+
import type { IEventEmitter } from 'ag-stack';
|
|
2
2
|
import type { AgColumn } from '../entities/agColumn';
|
|
3
3
|
import type { ValueGetterFunc } from '../entities/colDef';
|
|
4
|
-
import type { NewFiltersToolPanelState } from './gridState';
|
|
4
|
+
import type { NewFiltersToolPanelState, SelectableFilterState } from './gridState';
|
|
5
5
|
import type { IAfterGuiAttachedParams } from './iAfterGuiAttachedParams';
|
|
6
6
|
import type { FilterAction, FilterWrapperParams, IFilterDef } from './iFilter';
|
|
7
7
|
import type { IToolPanel, IToolPanelNewFiltersCompParams } from './iToolPanel';
|
|
@@ -95,11 +95,7 @@ export interface ISelectableFilterService extends IEventEmitter<'selectedFilterC
|
|
|
95
95
|
} | undefined;
|
|
96
96
|
setActive(colId: string, filterDefs: SelectableFilterDef[], activeFilterDef: SelectableFilterDef): void;
|
|
97
97
|
clearActive(colId: string): void;
|
|
98
|
-
getState():
|
|
99
|
-
|
|
100
|
-
};
|
|
101
|
-
setState(state: {
|
|
102
|
-
[colId: string]: number;
|
|
103
|
-
}): void;
|
|
98
|
+
getState(): SelectableFilterState | undefined;
|
|
99
|
+
setState(state: SelectableFilterState | undefined): void;
|
|
104
100
|
}
|
|
105
101
|
export {};
|
|
@@ -1,15 +1,35 @@
|
|
|
1
|
-
import type { ColumnCollections } from '../columns/columnModel';
|
|
2
1
|
import type { AgColumn } from '../entities/agColumn';
|
|
2
|
+
import type { AgProvidedColumnGroup } from '../entities/agProvidedColumnGroup';
|
|
3
3
|
import type { ColDef, ColGroupDef, ColKey } from '../entities/colDef';
|
|
4
4
|
import type { ColumnEventType } from '../events';
|
|
5
|
-
/**
|
|
5
|
+
/** Owns pivot result column lifecycle (create/retain/teardown).
|
|
6
|
+
* @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
6
7
|
export interface IPivotResultColsService {
|
|
7
|
-
|
|
8
|
+
/** Generated pivot result leaf columns. Null when not pivoting. */
|
|
9
|
+
readonly pivotCols: AgColumn[] | null;
|
|
10
|
+
/** Balanced-tree wrappers around `pivotCols`. Empty when not pivoting. */
|
|
11
|
+
readonly pivotTree: (AgColumn | AgProvidedColumnGroup)[];
|
|
12
|
+
/** Tree depth of `pivotTree` (max group nesting). */
|
|
13
|
+
readonly pivotTreeDepth: number;
|
|
14
|
+
/** True iff any `pivotTree` group has `marryChildren`.
|
|
15
|
+
* Feeds `ColumnModel.hasMarryChildren` while pivoting. */
|
|
16
|
+
readonly pivotHasMarryChildren: boolean;
|
|
17
|
+
/** Non-padding `pivotTree` groups keyed by `groupId`.
|
|
18
|
+
* Feeds `ColumnModel.colsGroupsById` while pivoting. */
|
|
19
|
+
readonly pivotGroupsById: Map<string, AgProvidedColumnGroup>;
|
|
20
|
+
/** Flat list of all `pivotTree` groups (padding and non-padding).
|
|
21
|
+
* Feeds `ColumnModel.colsAllGroups` while pivoting. */
|
|
22
|
+
readonly pivotAllGroups: AgProvidedColumnGroup[];
|
|
23
|
+
/** Build pivoting column-state order as parked primaries (`colsById` not `colsList`) first.
|
|
24
|
+
* Then append displayed cols; return `colsList` directly when none are parked. */
|
|
25
|
+
buildColsInStateOrder(): AgColumn[];
|
|
26
|
+
buildAllCols(): AgColumn[];
|
|
8
27
|
lookupPivotResultCol(pivotKeys: string[], valueColKey: ColKey): AgColumn | null;
|
|
9
|
-
getPivotResultCols(): ColumnCollections | null;
|
|
10
|
-
getPivotResultCol(key: ColKey): AgColumn | null;
|
|
11
28
|
setPivotResultCols(colDefs: (ColDef | ColGroupDef)[] | null, source: ColumnEventType): void;
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
29
|
+
/** Return aggregation order for pivot result cols (regular first, totals after).
|
|
30
|
+
* Cache until pivot result cols change. */
|
|
14
31
|
getAggregationOrderedList(): AgColumn[] | null;
|
|
32
|
+
/** Rebuild `colDef`s for pivot result cols whose `pivotValueColumn` is `sourceCol` via reverse-map lookup.
|
|
33
|
+
* No-op when not pivoting. */
|
|
34
|
+
recreateColDefsForSource(sourceCol: AgColumn, source: ColumnEventType): void;
|
|
15
35
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgPickerFieldParams } from '../
|
|
1
|
+
import type { AgPickerFieldParams } from '../agWidgets/agPickerFieldParams';
|
|
2
2
|
import type { AgComponentSelectorType } from '../widgets/component';
|
|
3
3
|
import type { ICellEditorParamsShared } from './iCellEditor';
|
|
4
4
|
import type { ICellEditorRendererParams } from './iCellEditorRenderer';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { AgEvent } from '
|
|
1
|
+
import type { AgEvent } from 'ag-stack';
|
|
2
2
|
import type { ColKey, IAggFuncResult } from '../entities/colDef';
|
|
3
3
|
import type { BuildEventTypeMap } from '../eventTypes';
|
|
4
4
|
import type { SelectionEventSourceType } from '../events';
|
|
5
5
|
import type { Column } from '../interfaces/iColumn';
|
|
6
|
-
import type { CellValueResolveFrom } from '
|
|
6
|
+
import type { CellValueResolveFrom } from './iEditService';
|
|
7
7
|
/**
|
|
8
8
|
* Specifies how to resolve the value returned by `rowNode.getDataValue()`.
|
|
9
9
|
*
|
|
@@ -13,8 +13,11 @@ import type { CellValueResolveFrom } from '../interfaces/iEditService';
|
|
|
13
13
|
* - `'value'` — Same as `'data'`, but aggregation wrappers are resolved to their scalar value.
|
|
14
14
|
* - `'edit'` — Live editor value if a cell is being edited, then pending batch value, then committed data.
|
|
15
15
|
* - `'batch'` — Pending batch value (excludes live editor typing), then committed data.
|
|
16
|
+
* - `'transformed'` — The `showValuesAs` transformed value (e.g. a percentage of a total). This is the only
|
|
17
|
+
* mode that reflects `showValuesAs`: every other mode returns the raw value and type unchanged, whether or
|
|
18
|
+
* not the column has a `showValuesAs` mode. Falls back to the raw value when the column has no such mode.
|
|
16
19
|
*/
|
|
17
|
-
export type DataValueFrom = 'data' | '
|
|
20
|
+
export type DataValueFrom = 'data-raw' | 'value' | 'transformed' | CellValueResolveFrom;
|
|
18
21
|
export type RowNodeEventType = 'rowSelected' | 'rowPinned' | 'selectableChanged' | 'displayedChanged' | 'dataChanged' | 'cellChanged' | 'masterChanged' | 'heightChanged' | 'topChanged' | 'groupChanged' | 'allChildrenCountChanged' | 'firstChildChanged' | 'lastChildChanged' | 'childIndexChanged' | 'rowIndexChanged' | 'expandedChanged' | 'hasChildrenChanged' | 'uiLevelChanged' | 'rowHighlightChanged' | 'mouseEnter' | 'mouseLeave' | 'draggingChanged';
|
|
19
22
|
type RowNodeEventTypeMap<TData = any> = BuildEventTypeMap<RowNodeEventType, {
|
|
20
23
|
rowSelected: RowNodeSelectedEvent<TData>;
|
|
@@ -24,6 +24,9 @@ export interface IRowNodePivotStage<TData = any> extends IRowNodeStage<TData> {
|
|
|
24
24
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
25
25
|
export interface IRowNodeAggregationStage<TData = any> extends IRowNodeStage<TData> {
|
|
26
26
|
execute(changedPath: ChangedPath | undefined): void;
|
|
27
|
+
/** Re-aggregates only the root node, leaving group aggregates untouched — for when a feature needs the root
|
|
28
|
+
* total switched on without the cost of a full re-aggregation (the groups are already correct). */
|
|
29
|
+
aggregateRootOnly(): void;
|
|
27
30
|
}
|
|
28
31
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
29
32
|
export interface IRowNodeFilterAggregateStage<TData = any> extends IRowNodeStage<TData> {
|
|
@@ -39,6 +42,10 @@ export type NestedDataGetter<TData = any> = (data: TData) => TData[] | null | un
|
|
|
39
42
|
export interface IRowNodeGroupStage<TData = any> extends IRowNodeStage<TData> {
|
|
40
43
|
readonly treeData: boolean;
|
|
41
44
|
readonly grouping: boolean;
|
|
45
|
+
/** Whether the TreeData / RowGrouping module is registered — lets callers distinguish "not available"
|
|
46
|
+
* (undefined) from "available but inactive" (false). */
|
|
47
|
+
readonly hasTreeData: boolean;
|
|
48
|
+
readonly hasRowGrouping: boolean;
|
|
42
49
|
execute(params: RefreshModelParams<TData>): boolean | undefined;
|
|
43
50
|
getNestedDataGetter(): NestedDataGetter<TData> | null | undefined;
|
|
44
51
|
onPropChange(changedProps: ReadonlySet<keyof GridOptions<any>>): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgBaseBean } from '
|
|
1
|
+
import type { AgBaseBean } from 'ag-stack';
|
|
2
2
|
import type { BeanCollection } from '../context/context';
|
|
3
3
|
export interface IRowStyleFeature extends AgBaseBean<BeanCollection> {
|
|
4
4
|
applyRowStyles(): void;
|
|
@@ -3,7 +3,7 @@ import type { AgColumn } from '../entities/agColumn';
|
|
|
3
3
|
import type { GridOptions, SelectAllMode } from '../entities/gridOptions';
|
|
4
4
|
import type { RowNode } from '../entities/rowNode';
|
|
5
5
|
import type { SelectionEventSourceType } from '../events';
|
|
6
|
-
import type { RowCtrl
|
|
6
|
+
import type { RowCtrl } from '../rendering/row/rowCtrl';
|
|
7
7
|
import type { CheckboxSelectionComponent } from '../selection/checkboxSelectionComponent';
|
|
8
8
|
import type { SelectAllFeature } from '../selection/selectAllFeature';
|
|
9
9
|
import type { ChangedPath } from '../utils/changedPath';
|
|
@@ -19,7 +19,7 @@ export interface ISelectionService {
|
|
|
19
19
|
setNodesSelected(params: ISetNodesSelectedParams): number;
|
|
20
20
|
filterFromSelection?(predicate: (node: RowNode) => boolean): void;
|
|
21
21
|
/** Should only be called if groupSelects = 'descendants' or 'filteredDescendants' in CSRM */
|
|
22
|
-
updateGroupsFromChildrenSelections?(source: SelectionEventSourceType, changedPath?: ChangedPath): boolean;
|
|
22
|
+
updateGroupsFromChildrenSelections?(source: SelectionEventSourceType, changedPath?: ChangedPath, event?: Event): boolean;
|
|
23
23
|
syncInRowNode(rowNode: RowNode, oldNode?: RowNode): void;
|
|
24
24
|
reset(source: SelectionEventSourceType): void;
|
|
25
25
|
getBestCostNodeSelection(): RowNode[] | undefined;
|
|
@@ -40,7 +40,7 @@ export interface ISelectionService {
|
|
|
40
40
|
}): void;
|
|
41
41
|
createCheckboxSelectionComponent(): CheckboxSelectionComponent;
|
|
42
42
|
createSelectAllFeature(column: AgColumn): SelectAllFeature | undefined;
|
|
43
|
-
onRowCtrlSelected(rowCtrl: RowCtrl, hasFocusFunc: (
|
|
43
|
+
onRowCtrlSelected(rowCtrl: RowCtrl, hasFocusFunc: () => void): void;
|
|
44
44
|
announceAriaRowSelection(rowNode: RowNode): void;
|
|
45
45
|
/** Called after grouping / treeData */
|
|
46
46
|
updateSelectableAfterGrouping(changedPath: ChangedPath | undefined): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgPromise } from '
|
|
1
|
+
import type { AgPromise } from 'ag-stack';
|
|
2
2
|
import type { ColDef, KeyCreatorParams, ValueFormatterParams } from '../entities/colDef';
|
|
3
3
|
import type { FilterUiChangedEvent } from '../events';
|
|
4
4
|
import type { IProvidedFilter, IProvidedFilterParams, ProvidedFilterModel } from '../filter/provided/iProvidedFilter';
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { AgColumn } from '../entities/agColumn';
|
|
2
|
+
import type { SortDirection } from './iSort';
|
|
2
3
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
3
4
|
export interface IShowRowGroupColsService {
|
|
4
5
|
readonly columns: AgColumn[];
|
|
5
6
|
refresh(): void;
|
|
6
|
-
getShowRowGroupCol(id: string): AgColumn | undefined;
|
|
7
7
|
getSourceColumnsForGroupColumn(groupCol: AgColumn): AgColumn[] | null;
|
|
8
8
|
isRowGroupDisplayed(column: AgColumn, colId: string): boolean;
|
|
9
|
+
interleaveSortedColumns(sorted: AgColumn[]): AgColumn[];
|
|
10
|
+
fillCoupledSortIndexMap(sortedCols: AgColumn[], map: Map<AgColumn, number>): number;
|
|
11
|
+
isGroupSortMixed(column: AgColumn, direction: SortDirection): boolean;
|
|
9
12
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { LocaleTextFunc } from 'ag-stack';
|
|
2
|
+
import type { ColumnState, ColumnStateParams } from '../columns/columnStateUtils';
|
|
3
|
+
import type { AgColumn } from '../entities/agColumn';
|
|
4
|
+
import type { ColDef } from '../entities/colDef';
|
|
5
|
+
import type { ShowValuesAs, ShowValuesAsResult, ShowValuesAsStateValue, ShowValuesAsType } from '../entities/colDef-showValuesAs';
|
|
6
|
+
import type { RowNode } from '../entities/rowNode';
|
|
7
|
+
import type { ColumnEventType } from '../events';
|
|
8
|
+
import type { ChangedPath } from '../utils/changedPath';
|
|
9
|
+
import type { IRowNode } from './iRowNode';
|
|
10
|
+
import type { MenuItemDef } from './menuItem';
|
|
11
|
+
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
12
|
+
export interface IShowValuesAsService {
|
|
13
|
+
/** Pre-computes `column.showValuesAs` from the colDef (called on column create / colDef change). `applyInitial`
|
|
14
|
+
* is true only at creation — `initialShowValuesAs` is create-only and must not be re-imposed on later changes. */
|
|
15
|
+
resolveColumn(column: AgColumn, applyInitial: boolean): void;
|
|
16
|
+
/** The colDef-declared selection (mode name or object form) for column state; `null` when disabled or none. */
|
|
17
|
+
colDefSelection(colDef: ColDef): ShowValuesAsStateValue;
|
|
18
|
+
/** Serialises a column's active mode for column state (mode name, or `{ type, params, precision }` when those
|
|
19
|
+
* must be preserved); `null` when there is no mode. */
|
|
20
|
+
toColState(column: AgColumn): ShowValuesAsStateValue;
|
|
21
|
+
/** Whether the column's mode is currently applying (not dormant in the current view). */
|
|
22
|
+
isApplying(column: AgColumn): boolean;
|
|
23
|
+
/** Refresh the aggregate-dependent (Show Values As) cells across all rendered rows — for a general view refresh. */
|
|
24
|
+
refreshRenderedCells(): void;
|
|
25
|
+
/** Refresh the aggregate-dependent (Show Values As) cells in rendered rows the caller did not already refresh
|
|
26
|
+
* (identified by `nodes`/`path`) — for the post-edit re-aggregation top-up. */
|
|
27
|
+
refreshRenderedCellsExcept(nodes: Set<RowNode> | null, path: ChangedPath | null): void;
|
|
28
|
+
/** Transforms a column's raw value at a node into the value to display, or `null` for a blank cell. Call only when {@link isApplying} is true. */
|
|
29
|
+
transform(column: AgColumn, rowNode: IRowNode, rawValue: any): ShowValuesAsResult | null;
|
|
30
|
+
/** Formats a transformed value with the mode's formatter. `notApplicable` (the mode is selected but dormant in
|
|
31
|
+
* the current view) is passed through so built-in formatters can return `#N/A`. */
|
|
32
|
+
formatValue(column: AgColumn, rowNode: IRowNode | null, transformedValue: any, rawValue: any, notApplicable: boolean): string | null;
|
|
33
|
+
/** Applies the `showValuesAs` column state (used by `applyColumnState`). */
|
|
34
|
+
syncColState(column: AgColumn, stateItem: ColumnState | null, defaultState: ColumnStateParams | undefined, source: ColumnEventType): void;
|
|
35
|
+
/** The active mode's localised label while it is applying (for the header indicator / screen-reader aria); `null` when none or dormant. */
|
|
36
|
+
getActiveModeLabel(column: AgColumn): string | null;
|
|
37
|
+
/** Tooltip (`"<label>: <description>"`) for the active mode — shared by the column menu and header indicator; `null` when none. */
|
|
38
|
+
getActiveModeTooltip(column: AgColumn): string | null;
|
|
39
|
+
/** Whether to offer the "Show Values As" column-menu submenu. Off by default; `enableShowValuesAs: true` enables
|
|
40
|
+
* it (on `defaultColDef` it still requires the column to be a value or numeric column; set directly on a column it
|
|
41
|
+
* forces any type). `false` hides it. The transform / header indicator are independent of this gate. */
|
|
42
|
+
isMenuEligible(column: AgColumn): boolean;
|
|
43
|
+
/** Builds the column-menu "Show Values As" submenu items (None + selectable modes, active one checked). */
|
|
44
|
+
getMenuItems(column: AgColumn, localeTextFunc: LocaleTextFunc): MenuItemDef[];
|
|
45
|
+
/** Sets the active mode at runtime (column menu). A redraw only, unless the mode needs an aggregated total
|
|
46
|
+
* on a not-yet-aggregated column, in which case the column is promoted to a value column (re-aggregates once). */
|
|
47
|
+
setColumnShowValuesAs(column: AgColumn, selection: ShowValuesAsType | ShowValuesAs | null): void;
|
|
48
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type DisplaySortDef = SortDef | {
|
|
2
|
+
direction: 'mixed';
|
|
3
|
+
type: SortType;
|
|
4
|
+
};
|
|
5
|
+
export type SortDirection = 'asc' | 'desc' | null;
|
|
6
|
+
export type SortType = 'absolute' | 'default';
|
|
7
|
+
export type SortDef = {
|
|
8
|
+
type: SortType;
|
|
9
|
+
direction: SortDirection;
|
|
10
|
+
};
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SortComparatorFn } from '../entities/colDef';
|
|
2
2
|
import type { Column } from './iColumn';
|
|
3
|
+
import type { SortDirection, SortType } from './iSort';
|
|
3
4
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
4
5
|
export interface SortOption {
|
|
5
6
|
sort: NonNullable<SortDirection>;
|
|
6
7
|
type: SortType;
|
|
7
8
|
column: Column;
|
|
9
|
+
/** Column's own comparator — applies to every row. Filled by `_resolveSortOptions` (`undefined` until then). */
|
|
10
|
+
colComparator: SortComparatorFn | undefined;
|
|
11
|
+
/** Fallback comparator for leaf rows of a row-group display col (the primary column's comparator). */
|
|
12
|
+
leafComparator: SortComparatorFn | undefined;
|
|
13
|
+
/** `sort === 'desc'`, precomputed to avoid a per-comparison string compare. Filled by `_resolveSortOptions`. */
|
|
14
|
+
descending: boolean;
|
|
15
|
+
/** `type === 'absolute'`, precomputed to avoid a per-comparison string compare. Filled by `_resolveSortOptions`. */
|
|
16
|
+
absolute: boolean;
|
|
8
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IComponent } from '
|
|
1
|
+
import type { IComponent } from 'ag-stack';
|
|
2
2
|
import type { ToolbarItemComponentName } from '../context/context';
|
|
3
3
|
import type { IconName } from '../utils/icon';
|
|
4
4
|
import type { AgGridCommon } from './iCommon';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { IComponent } from '
|
|
2
|
-
import type { AgPromise } from '../agStack/utils/promise';
|
|
1
|
+
import type { AgPromise, IComponent } from 'ag-stack';
|
|
3
2
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
4
3
|
export interface UserCompDetails<TComp extends IComponent<any> = any> {
|
|
5
4
|
componentClass: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IComponent } from '
|
|
1
|
+
import type { IComponent } from 'ag-stack';
|
|
2
2
|
import type { IMenuActionParams } from './iCallbackParams';
|
|
3
3
|
import type { AgGridCommon } from './iCommon';
|
|
4
4
|
export interface MenuItemLeafDef<TData = any, TContext = any> {
|
|
@@ -139,4 +139,4 @@ export interface IMenuItem extends BaseMenuItem {
|
|
|
139
139
|
}
|
|
140
140
|
export interface IMenuItemComp<TData = any, TContext = any> extends IComponent<IMenuItemParams<TData, TContext>>, IMenuItem {
|
|
141
141
|
}
|
|
142
|
-
export type DefaultMenuItem = 'pinSubMenu' | 'pinLeft' | 'pinRight' | 'pinRowSubMenu' | 'pinTop' | 'pinBottom' | 'unpinRow' | 'clearPinned' | 'valueAggSubMenu' | 'autoSizeThis' | 'autoSizeAll' | 'rowGroup' | 'rowUnGroup' | 'resetColumns' | 'expandAll' | 'contractAll' | 'copy' | 'copyWithHeaders' | 'copyWithGroupHeaders' | 'cut' | 'paste' | 'note' | 'export' | 'csvExport' | 'excelExport' | 'separator' | 'pivotChart' | 'chartRange' | 'columnFilter' | 'columnChooser' | 'sortAscending' | 'sortDescending' | 'sortAbsoluteAscending' | 'sortAbsoluteDescending' | 'sortUnSort';
|
|
142
|
+
export type DefaultMenuItem = 'pinSubMenu' | 'pinLeft' | 'pinRight' | 'pinRowSubMenu' | 'pinTop' | 'pinBottom' | 'unpinRow' | 'clearPinned' | 'valueAggSubMenu' | 'showValuesAsSubMenu' | 'autoSizeThis' | 'autoSizeAll' | 'rowGroup' | 'rowUnGroup' | 'resetColumns' | 'expandAll' | 'contractAll' | 'copy' | 'copyWithHeaders' | 'copyWithGroupHeaders' | 'cut' | 'paste' | 'note' | 'export' | 'csvExport' | 'excelExport' | 'separator' | 'pivotChart' | 'chartRange' | 'columnFilter' | 'columnChooser' | 'calculatedColumn' | 'editCalculatedColumn' | 'removeCalculatedColumn' | 'sortAscending' | 'sortDescending' | 'sortAbsoluteAscending' | 'sortAbsoluteDescending' | 'sortUnSort';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { AgColumn } from '../entities/agColumn';
|
|
1
2
|
import type { ColDef } from '../entities/colDef';
|
|
2
|
-
import type {
|
|
3
|
+
import type { AgColumnHeader } from '../headerRendering/cells/column/agColumnHeader';
|
|
3
4
|
import type { CellCtrl } from '../rendering/cell/cellCtrl';
|
|
4
5
|
import type { CellPosition } from './iCellPosition';
|
|
5
|
-
import type { IColumnCollectionService } from './iColumnCollectionService';
|
|
6
6
|
export interface RowNumbersOptions extends Pick<ColDef, 'contextMenuItems' | 'context' | 'onCellClicked' | 'onCellContextMenu' | 'onCellDoubleClicked' | 'headerTooltip' | 'headerStyle' | 'headerComponent' | 'headerComponentParams' | 'suppressHeaderKeyboardEvent' | 'suppressNavigable' | 'tooltipField' | 'tooltipValueGetter' | 'tooltipComponent' | 'tooltipComponentParams' | 'tooltipComponentSelector' | 'valueGetter' | 'valueFormatter' | 'maxWidth' | 'cellRenderer' | 'cellRendererSelector' | 'cellRendererParams'> {
|
|
7
7
|
/**
|
|
8
8
|
* Set to `true` to prevent selecting all the currently visible cells in the row when clicking a Row Number.
|
|
@@ -30,8 +30,10 @@ export interface RowNumbersOptions extends Pick<ColDef, 'contextMenuItems' | 'co
|
|
|
30
30
|
resizable?: boolean;
|
|
31
31
|
}
|
|
32
32
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
33
|
-
export interface IRowNumbersService
|
|
34
|
-
|
|
33
|
+
export interface IRowNumbersService {
|
|
34
|
+
column: AgColumn | null;
|
|
35
|
+
refreshCols(): AgColumn<any> | null;
|
|
36
|
+
setupForHeader(comp: AgColumnHeader): void;
|
|
35
37
|
handleMouseDownOnCell(cell: CellPosition, mouseEvent: MouseEvent): boolean;
|
|
36
38
|
handleKeyDownOnCell(cell: CellPosition, event: KeyboardEvent): boolean;
|
|
37
39
|
createRowNumbersRowResizerFeature(ctrl: CellCtrl): IRowNumbersRowResizeFeature | undefined;
|