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,55 +1,81 @@
|
|
|
1
1
|
import type { NamedBean } from '../context/bean';
|
|
2
2
|
import { BeanStub } from '../context/beanStub';
|
|
3
|
+
import type { BeanCollection } from '../context/context';
|
|
3
4
|
import type { AgColumn } from '../entities/agColumn';
|
|
4
5
|
import type { AgColumnGroup } from '../entities/agColumnGroup';
|
|
5
6
|
import type { RowNode } from '../entities/rowNode';
|
|
6
7
|
import type { ColumnEventType } from '../events';
|
|
7
|
-
|
|
8
|
+
/** Per-section total pixel widths (left-pinned, centre body, right-pinned). */
|
|
9
|
+
type SectionWidths = {
|
|
10
|
+
left: number;
|
|
11
|
+
center: number;
|
|
12
|
+
right: number;
|
|
13
|
+
};
|
|
8
14
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
9
15
|
export declare class VisibleColsService extends BeanStub implements NamedBean {
|
|
10
16
|
beanName: "visibleCols";
|
|
17
|
+
private colModel;
|
|
18
|
+
private colGroupSvc;
|
|
19
|
+
private colViewport;
|
|
20
|
+
private ctrlsSvc;
|
|
21
|
+
private colFlex?;
|
|
22
|
+
/** True iff any centre col has `flex > 0` — lets the flex pass be skipped when nothing flexes. */
|
|
23
|
+
private flexActive;
|
|
11
24
|
treeLeft: (AgColumn | AgColumnGroup)[];
|
|
12
25
|
treeRight: (AgColumn | AgColumnGroup)[];
|
|
13
26
|
treeCenter: (AgColumn | AgColumnGroup)[];
|
|
14
|
-
private colsAndGroupsMap;
|
|
15
27
|
leftCols: AgColumn[];
|
|
16
28
|
rightCols: AgColumn[];
|
|
17
29
|
centerCols: AgColumn[];
|
|
30
|
+
/** `leftCols + centerCols + rightCols` (RTL: right + center + left). */
|
|
18
31
|
allCols: AgColumn[];
|
|
32
|
+
/** `allCols` with `colDef.autoHeight`. Reused across refreshes to stay warm. */
|
|
33
|
+
readonly autoHeightCols: AgColumn[];
|
|
34
|
+
/** Number of header rows to render, accounting for group depth + padding rules. */
|
|
19
35
|
headerGroupRowCount: number;
|
|
20
|
-
|
|
36
|
+
/** Centre body width. Cached for body sizing and row insert/resize. */
|
|
21
37
|
bodyWidth: number;
|
|
22
|
-
|
|
23
|
-
|
|
38
|
+
leftWidth: number;
|
|
39
|
+
rightWidth: number;
|
|
40
|
+
totalWidth: number;
|
|
41
|
+
/** `bodyWidth` changed in the last `updateBodyWidths()` — drives the RTL virtual-col calc. */
|
|
24
42
|
isBodyWidthDirty: boolean;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
private
|
|
28
|
-
|
|
29
|
-
|
|
43
|
+
/** Prev refresh's pinned-edge cols — drive an O(1) role-swap in `setFirstRightAndLastLeftPinned`. */
|
|
44
|
+
private prevLastLeftPinned;
|
|
45
|
+
private prevFirstRightPinned;
|
|
46
|
+
wireBeans(beans: BeanCollection): void;
|
|
47
|
+
/** `skipTreeBuild=true` reuses the trees; valid only when liveCols are unchanged (group toggle, width autosize). */
|
|
48
|
+
refresh(source: ColumnEventType, skipTreeBuild: boolean): void;
|
|
49
|
+
/** `widths` reuses totals already computed on the hot `refresh` path; omit to re-sum. */
|
|
50
|
+
updateBodyWidths(widths?: SectionWidths): void;
|
|
51
|
+
/** Repositions each col's section-relative `left` without rebuilding the displayed set; returns
|
|
52
|
+
* per-section widths. Lighter sibling of `joinCols`, for resize / autosize / flex. */
|
|
53
|
+
setLeftValues(source: ColumnEventType): SectionWidths;
|
|
54
|
+
private setLeftValuesOfGroups;
|
|
30
55
|
private setFirstRightAndLastLeftPinned;
|
|
31
56
|
private buildTrees;
|
|
57
|
+
/** Single pass over `colsList`: filter to displayable cols and bucket by pin. The selection col is held
|
|
58
|
+
* back until a non-service col proves it isn't the only displayed col — a lone checkbox adds nothing. */
|
|
59
|
+
private partitionVisibleCols;
|
|
32
60
|
clear(): void;
|
|
33
|
-
private
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
private setLeftValuesOfCols;
|
|
61
|
+
private stampAriaColIndexes;
|
|
62
|
+
/** One pass over displayed cols: stamps `allColsIndex` (display order; RTL flips sections) and
|
|
63
|
+
* section-relative `left`, returning per-section widths so {@link updateBodyWidths} needn't re-sum. */
|
|
37
64
|
private joinCols;
|
|
38
|
-
|
|
39
|
-
|
|
65
|
+
/** Lays one section's cols into `all`: stamps `allColsIndex` + section-relative `left`, folding in
|
|
66
|
+
* `autoHeightCols`/`flexActive`/`headerGroupRowCount`. A method not a closure, so it allocates nothing. */
|
|
67
|
+
private layoutSection;
|
|
40
68
|
getLeftColsForRow(rowNode: RowNode): AgColumn[];
|
|
41
69
|
getRightColsForRow(rowNode: RowNode): AgColumn[];
|
|
70
|
+
/** `filterCallback` is only set for the centre (virtualised) area. A col-spanned run is kept if
|
|
71
|
+
* ANY spanned col passes the filter. */
|
|
42
72
|
getColsForRow(rowNode: RowNode, displayedColumns: AgColumn[], filterCallback?: (column: AgColumn) => boolean, emptySpaceBeforeColumn?: (column: AgColumn) => boolean): AgColumn[];
|
|
43
|
-
getContainerWidth(pinned: ColumnPinnedType): number;
|
|
44
73
|
getColBefore(col: AgColumn): AgColumn | null;
|
|
45
|
-
isPinningLeft(): boolean;
|
|
46
|
-
isPinningRight(): boolean;
|
|
47
|
-
private updateColsAndGroupsMap;
|
|
48
|
-
isVisible(item: AgColumn | AgColumnGroup): boolean;
|
|
49
|
-
getFirstColumn(): AgColumn | null;
|
|
50
74
|
getColAfter(col: AgColumn): AgColumn | null;
|
|
51
|
-
|
|
52
|
-
|
|
75
|
+
/** Prefer the recomputed width: the `leftWidth` cache can be stale mid column-move. */
|
|
76
|
+
getLeftStickyColumnContainerWidth(): number;
|
|
77
|
+
/** Prefer the recomputed width: the `rightWidth` cache can be stale mid column-move. */
|
|
78
|
+
getRightStickyColumnContainerWidth(): number;
|
|
53
79
|
isColAtEdge(col: AgColumn | AgColumnGroup, edge: 'first' | 'last'): boolean;
|
|
54
80
|
}
|
|
55
|
-
export
|
|
81
|
+
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import type { IconValue } from '../../agStack/interfaces/iIcon';
|
|
1
|
+
import type { AgBaseComponent, IconValue } from 'ag-stack';
|
|
2
|
+
import { BaseRegistry } from 'ag-stack';
|
|
4
3
|
import type { NamedBean } from '../../context/bean';
|
|
5
4
|
import type { BeanCollection, DynamicBeanName, ProcessParamsFunc } from '../../context/context';
|
|
6
5
|
import type { AgEventTypeParams } from '../../events';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { IComponent } from '
|
|
1
|
+
import type { IComponent } from 'ag-stack';
|
|
2
2
|
import type { IDragAndDropImageComponent, IDragAndDropImageParams } from '../../dragAndDrop/dragAndDropImageComponent';
|
|
3
3
|
import type { ColDef } from '../../entities/colDef';
|
|
4
4
|
import type { IFloatingFilterComp, IFloatingFilterParams } from '../../filter/floating/floatingFilter';
|
|
5
|
-
import type { IHeaderGroupComp, IHeaderGroupParams, IInnerHeaderGroupComponent } from '../../headerRendering/cells/columnGroup/
|
|
5
|
+
import type { IHeaderGroupComp, IHeaderGroupParams, IInnerHeaderGroupComponent } from '../../headerRendering/cells/columnGroup/agColumnGroupHeader';
|
|
6
6
|
import type { IDateComp, IDateParams } from '../../interfaces/dateComponent';
|
|
7
7
|
import type { ICellEditorComp, ICellEditorParams } from '../../interfaces/iCellEditor';
|
|
8
8
|
import type { AgGridCommon } from '../../interfaces/iCommon';
|
|
@@ -44,11 +44,11 @@ export declare function _getTooltipCompDetails(userCompFactory: UserComponentFac
|
|
|
44
44
|
*/
|
|
45
45
|
export declare function _getFloatingFilterCompDetails(userCompFactory: UserComponentFactory, def: IFilterDef, params: IFloatingFilterParams<any>, defaultFloatingFilter: string): UserCompDetails<IFloatingFilterComp> | undefined;
|
|
46
46
|
export declare function _getFilterCompKeys(frameworkOverrides: IFrameworkOverrides, def: IFilterDef): {
|
|
47
|
-
compName?: string
|
|
47
|
+
compName?: string;
|
|
48
48
|
jsComp: any;
|
|
49
49
|
fwComp: any;
|
|
50
50
|
paramsFromSelector: any;
|
|
51
|
-
popupFromSelector?: boolean
|
|
52
|
-
popupPositionFromSelector?: "over" | "under"
|
|
51
|
+
popupFromSelector?: boolean;
|
|
52
|
+
popupPositionFromSelector?: "over" | "under";
|
|
53
53
|
};
|
|
54
54
|
export declare function _mergeFilterParamsWithApplicationProvidedParams(userCompFactory: UserComponentFactory, defObject: IFilterDef, paramsFromGrid: IFilterParams): IFilterParams;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IComponent } from '
|
|
1
|
+
import type { IComponent } from 'ag-stack';
|
|
2
2
|
import type { NamedBean } from '../../context/bean';
|
|
3
3
|
import { BeanStub } from '../../context/beanStub';
|
|
4
4
|
import type { BeanCollection, ProcessParamsFunc } from '../../context/context';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgSingletonBean } from '
|
|
1
|
+
import type { AgSingletonBean } from 'ag-stack';
|
|
2
2
|
import type { BeanCollection } from './context';
|
|
3
3
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
4
4
|
export interface Bean extends AgSingletonBean<BeanCollection> {
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import type { AgBeanStubEvent } from '
|
|
2
|
-
import { AgBeanStub } from '
|
|
1
|
+
import type { AgBeanStubEvent } from 'ag-stack';
|
|
2
|
+
import { AgBeanStub } from 'ag-stack';
|
|
3
3
|
import type { AgEventTypeParams } from '../events';
|
|
4
4
|
import type { GridOptionsWithDefaults } from '../gridOptionsDefault';
|
|
5
5
|
import type { GridOptionsService } from '../gridOptionsService';
|
|
6
6
|
import type { AgGridCommon } from '../interfaces/iCommon';
|
|
7
7
|
import type { BeanCollection } from './context';
|
|
8
8
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
9
|
-
export
|
|
9
|
+
export interface BeanStub<TEventType extends string = AgBeanStubEvent> extends AgBeanStub<BeanCollection, GridOptionsWithDefaults, AgEventTypeParams, AgGridCommon<any, any>, GridOptionsService, TEventType> {
|
|
10
10
|
}
|
|
11
|
+
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
12
|
+
export declare const BeanStub: abstract new <TEventType extends string = AgBeanStubEvent>() => BeanStub<TEventType>;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import type { AgSingletonBeanClass } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../agStack/interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { IAriaAnnouncementService } from '../agStack/interfaces/iAriaAnnouncementService';
|
|
4
|
-
import type { ClassImp, IContext } from '../agStack/interfaces/iContext';
|
|
1
|
+
import type { AgCoreBeanCollection, AgSingletonBeanClass, ClassImp, IAriaAnnouncementService, IContext } from 'ag-stack';
|
|
5
2
|
import type { AlignedGridsService } from '../alignedGrids/alignedGridsService';
|
|
6
3
|
import type { ApiFunctionService } from '../api/apiFunctionService';
|
|
7
4
|
import type { GridApi } from '../api/gridApi';
|
|
@@ -55,9 +52,10 @@ import type { IAdvancedFilterService } from '../interfaces/iAdvancedFilterServic
|
|
|
55
52
|
import type { IAggColumnNameService } from '../interfaces/iAggColumnNameService';
|
|
56
53
|
import type { IAggFuncService } from '../interfaces/iAggFuncService';
|
|
57
54
|
import type { IAggregatedChildrenSvc } from '../interfaces/iAggregatedChildrenSvc';
|
|
55
|
+
import type { IAutoColService } from '../interfaces/iAutoColService';
|
|
56
|
+
import type { ICalculatedColumnsService } from '../interfaces/iCalculatedColumns';
|
|
58
57
|
import type { IClipboardService } from '../interfaces/iClipboardService';
|
|
59
|
-
import type {
|
|
60
|
-
import type { IColumnCollectionService } from '../interfaces/iColumnCollectionService';
|
|
58
|
+
import type { IPivotColsService, IRowGroupColsService, IValueColsService } from '../interfaces/iColsService';
|
|
61
59
|
import type { IColumnStateUpdateStrategy } from '../interfaces/iColumnStateUpdateStrategy';
|
|
62
60
|
import type { AgGridCommon } from '../interfaces/iCommon';
|
|
63
61
|
import type { IContextMenuService } from '../interfaces/iContextMenu';
|
|
@@ -85,6 +83,7 @@ import type { ISelectionService } from '../interfaces/iSelectionService';
|
|
|
85
83
|
import type { IServerSideTransactionManager } from '../interfaces/iServerSideRowModel';
|
|
86
84
|
import type { IShowRowGroupColsService } from '../interfaces/iShowRowGroupColsService';
|
|
87
85
|
import type { IShowRowGroupColsValueService } from '../interfaces/iShowRowGroupColsValueService';
|
|
86
|
+
import type { IShowValuesAsService } from '../interfaces/iShowValuesAsService';
|
|
88
87
|
import type { ISideBarService } from '../interfaces/iSideBar';
|
|
89
88
|
import type { IStickyRowService } from '../interfaces/iStickyRows';
|
|
90
89
|
import type { ITestIdService } from '../interfaces/iTestIdService';
|
|
@@ -139,7 +138,7 @@ export type DynamicBeanName = 'detailCellRendererCtrl' | 'dndSourceComp' | 'fill
|
|
|
139
138
|
export type ToolbarItemComponentName = 'agButtonToolbarItem' | 'agFindToolbarItem' | 'agMenuToolbarItem' | 'agPivotPanelToolbarItem' | 'agQuickFilterToolbarItem' | 'agRowGroupPanelToolbarItem';
|
|
140
139
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
141
140
|
export type StatusPanelComponentName = 'agAggregationComponent' | 'agSelectedRowCountComponent' | 'agTotalRowCountComponent' | 'agFilteredRowCountComponent' | 'agTotalAndFilteredRowCountComponent';
|
|
142
|
-
export type UserComponentName = 'agDragAndDropImage' | 'agColumnHeader' | 'agColumnGroupHeader' | 'agSortIndicator' | 'agAnimateShowChangeCellRenderer' | 'agAnimateSlideCellRenderer' | 'agLoadingCellRenderer' | 'agSkeletonCellRenderer' | 'agCheckboxCellRenderer' | 'agLoadingOverlay' | 'agExportingOverlay' | 'agNoRowsOverlay' | 'agNoMatchingRowsOverlay' | 'agTooltipComponent' | 'agReadOnlyFloatingFilter' | 'agTextColumnFilter' | 'agNumberColumnFilter' | 'agBigIntColumnFilter' | 'agDateColumnFilter' | 'agDateInput' | 'agTextColumnFloatingFilter' | 'agNumberColumnFloatingFilter' | 'agBigIntColumnFloatingFilter' | 'agDateColumnFloatingFilter' | 'agMultiColumnFilter' | 'agMultiColumnFloatingFilter' | 'agGroupColumnFilter' | 'agGroupColumnFloatingFilter' | 'agSetColumnFilter' | 'agSetColumnFloatingFilter' | 'agCellEditor' | 'agSelectCellEditor' | 'agTextCellEditor' | 'agNumberCellEditor' | 'agDateCellEditor' | 'agDateStringCellEditor' | 'agCheckboxCellEditor' | 'agLargeTextCellEditor' | 'agFormulaCellEditor' | 'agRichSelect' | 'agRichSelectCellEditor' | 'agMenuItem' | 'agColumnsToolPanel' | 'agFiltersToolPanel' | 'agNewFiltersToolPanel' | 'agGroupRowRenderer' | 'agGroupCellRenderer' | 'agDetailCellRenderer' | 'agSparklineCellRenderer' | StatusPanelComponentName | ToolbarItemComponentName | 'agFindCellRenderer';
|
|
141
|
+
export type UserComponentName = 'agDragAndDropImage' | 'agColumnHeader' | 'agColumnGroupHeader' | 'agSortIndicator' | 'agAnimateShowChangeCellRenderer' | 'agAnimateSlideCellRenderer' | 'agLoadingCellRenderer' | 'agSkeletonCellRenderer' | 'agCheckboxCellRenderer' | 'agLoadingOverlay' | 'agExportingOverlay' | 'agNoRowsOverlay' | 'agNoMatchingRowsOverlay' | 'agFileInputOverlay' | 'agTooltipComponent' | 'agReadOnlyFloatingFilter' | 'agTextColumnFilter' | 'agNumberColumnFilter' | 'agBigIntColumnFilter' | 'agDateColumnFilter' | 'agDateInput' | 'agTextColumnFloatingFilter' | 'agNumberColumnFloatingFilter' | 'agBigIntColumnFloatingFilter' | 'agDateColumnFloatingFilter' | 'agMultiColumnFilter' | 'agMultiColumnFloatingFilter' | 'agGroupColumnFilter' | 'agGroupColumnFloatingFilter' | 'agSetColumnFilter' | 'agSetColumnFloatingFilter' | 'agCellEditor' | 'agSelectCellEditor' | 'agTextCellEditor' | 'agNumberCellEditor' | 'agDateCellEditor' | 'agDateStringCellEditor' | 'agCheckboxCellEditor' | 'agLargeTextCellEditor' | 'agFormulaCellEditor' | 'agRichSelect' | 'agRichSelectCellEditor' | 'agMenuItem' | 'agColumnsToolPanel' | 'agFiltersToolPanel' | 'agNewFiltersToolPanel' | 'agGroupRowRenderer' | 'agGroupCellRenderer' | 'agDetailCellRenderer' | 'agSparklineCellRenderer' | StatusPanelComponentName | ToolbarItemComponentName | 'agFindCellRenderer';
|
|
143
142
|
interface ComponentMetaWithParams {
|
|
144
143
|
classImp: ClassImp;
|
|
145
144
|
/** Default params for provided components */
|
|
@@ -197,14 +196,15 @@ interface CoreBeanCollection extends AgCoreBeanCollection<GridOptionsWithDefault
|
|
|
197
196
|
eRootDiv: HTMLElement;
|
|
198
197
|
withinStudio?: boolean;
|
|
199
198
|
pivotResultCols?: IPivotResultColsService;
|
|
200
|
-
autoColSvc?:
|
|
199
|
+
autoColSvc?: IAutoColService;
|
|
201
200
|
selectionColSvc?: SelectionColService;
|
|
202
201
|
rowNumbersSvc?: IRowNumbersService;
|
|
203
202
|
colDefFactory?: ColumnDefFactory;
|
|
204
203
|
colAutosize?: ColumnAutosizeService;
|
|
205
|
-
rowGroupColsSvc?:
|
|
206
|
-
valueColsSvc?:
|
|
207
|
-
|
|
204
|
+
rowGroupColsSvc?: IRowGroupColsService;
|
|
205
|
+
valueColsSvc?: IValueColsService;
|
|
206
|
+
showValuesAsSvc?: IShowValuesAsService;
|
|
207
|
+
pivotColsSvc?: IPivotColsService;
|
|
208
208
|
quickFilter?: QuickFilterService;
|
|
209
209
|
showRowGroupCols?: IShowRowGroupColsService;
|
|
210
210
|
showRowGroupColValueSvc?: IShowRowGroupColsValueService;
|
|
@@ -270,7 +270,7 @@ interface CoreBeanCollection extends AgCoreBeanCollection<GridOptionsWithDefault
|
|
|
270
270
|
cellFlashSvc?: CellFlashService;
|
|
271
271
|
masterDetailSvc?: IMasterDetailService;
|
|
272
272
|
tooltipSvc?: TooltipService;
|
|
273
|
-
colGroupSvc
|
|
273
|
+
colGroupSvc: ColumnGroupService;
|
|
274
274
|
rowAutoHeight?: RowAutoHeightService;
|
|
275
275
|
rowChildrenSvc?: IRowChildrenService;
|
|
276
276
|
footerSvc?: IFooterService;
|
|
@@ -294,6 +294,7 @@ interface CoreBeanCollection extends AgCoreBeanCollection<GridOptionsWithDefault
|
|
|
294
294
|
formulaDataSvc?: IFormulaDataService;
|
|
295
295
|
formula?: IFormulaService;
|
|
296
296
|
formulaInputManager?: IFormulaInputManagerService;
|
|
297
|
+
calculatedColsSvc?: ICalculatedColumnsService;
|
|
297
298
|
notesDataSvc?: INotesDataService;
|
|
298
299
|
notesSvc?: INotesService;
|
|
299
300
|
columnStateUpdateStrategy: IColumnStateUpdateStrategy;
|
|
@@ -307,5 +308,5 @@ export type Context = IContext<BeanCollection>;
|
|
|
307
308
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
308
309
|
export type BeanName = keyof BeanCollection;
|
|
309
310
|
/** Things used in enterprise or elsewhere that we haven't created interfaces for */
|
|
310
|
-
type UntypedBeanNames = 'advFilterExpSvc' | 'advSettingsMenuFactory' | 'agChartsExports' | 'chartCrossFilterSvc' | 'chartMenuItemMapper' | 'chartMenuListFactory' | 'chartMenuSvc' | 'chartTranslation' | 'colChooserFactory' | 'colMenuFactory' | 'colToolPanelFactory' | 'enterpriseChartProxyFactory' | 'lazyBlockLoadingSvc' | 'menuItemMapper' | 'menuUtils' | 'ssrmBlockUtils' | 'ssrmExpandListener' | 'ssrmFilterListener' | 'ssrmListenerUtils' | 'ssrmNodeManager' | 'ssrmSortSvc' | 'ssrmStoreFactory' | 'ssrmStoreUtils' | 'statusBarSvc' | 'testIdSvc' | 'toolbarMenuBuilder' | 'formula';
|
|
311
|
+
type UntypedBeanNames = 'advFilterExpSvc' | 'advSettingsMenuFactory' | 'autoGenColsSvc' | 'agChartsExports' | 'chartCrossFilterSvc' | 'chartMenuItemMapper' | 'chartMenuListFactory' | 'chartMenuSvc' | 'chartTranslation' | 'colChooserFactory' | 'colMenuFactory' | 'colToolPanelFactory' | 'enterpriseChartProxyFactory' | 'lazyBlockLoadingSvc' | 'menuItemMapper' | 'menuUtils' | 'ssrmBlockUtils' | 'ssrmExpandListener' | 'ssrmFilterListener' | 'ssrmListenerUtils' | 'ssrmNodeManager' | 'ssrmSortSvc' | 'ssrmStoreFactory' | 'ssrmStoreUtils' | 'statusBarSvc' | 'testIdSvc' | 'toolbarMenuBuilder' | 'formula' | 'showValuesAsSvc';
|
|
311
312
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgSingletonBean } from '
|
|
1
|
+
import type { AgSingletonBean } from 'ag-stack';
|
|
2
2
|
import type { BeanCollection } from './context';
|
|
3
3
|
export declare function gridBeanInitComparator(bean1: AgSingletonBean<BeanCollection>, bean2: AgSingletonBean<BeanCollection>): number;
|
|
4
4
|
export declare function gridBeanDestroyComparator(bean1: AgSingletonBean<BeanCollection>, bean2: AgSingletonBean<BeanCollection>): number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { _CsvExportGridApi } from '../api/gridApi';
|
|
2
2
|
import type { _ModuleWithApi } from '../interfaces/iModule';
|
|
3
3
|
/**
|
|
4
|
-
* @feature
|
|
4
|
+
* @feature import & Export -> CSV Export
|
|
5
5
|
*/
|
|
6
6
|
export declare const CsvExportModule: _ModuleWithApi<_CsvExportGridApi>;
|
|
@@ -8,32 +8,19 @@ import type { RowContainerCtrl } from './gridBodyComp/rowContainer/rowContainerC
|
|
|
8
8
|
import type { GridCtrl } from './gridComp/gridCtrl';
|
|
9
9
|
import type { GridHeaderCtrl } from './headerRendering/gridHeaderCtrl';
|
|
10
10
|
import type { HeaderRowContainerCtrl } from './headerRendering/rowContainer/headerRowContainerCtrl';
|
|
11
|
-
|
|
12
|
-
/** If adding or removing a control, update `NUM_CTRLS` below. */
|
|
11
|
+
/** If adding or removing a control, update `REQUIRED_CTRLS` below. */
|
|
13
12
|
interface ReadyParams {
|
|
14
13
|
gridCtrl: GridCtrl;
|
|
15
14
|
gridBodyCtrl: GridBodyCtrl;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
bottomRight: RowContainerCtrl;
|
|
22
|
-
topCenter: RowContainerCtrl;
|
|
23
|
-
topLeft: RowContainerCtrl;
|
|
24
|
-
topRight: RowContainerCtrl;
|
|
25
|
-
stickyTopCenter: RowContainerCtrl;
|
|
26
|
-
stickyTopLeft: RowContainerCtrl;
|
|
27
|
-
stickyTopRight: RowContainerCtrl;
|
|
28
|
-
stickyBottomCenter: RowContainerCtrl;
|
|
29
|
-
stickyBottomLeft: RowContainerCtrl;
|
|
30
|
-
stickyBottomRight: RowContainerCtrl;
|
|
15
|
+
scrolling: RowContainerCtrl;
|
|
16
|
+
pinnedTop: RowContainerCtrl;
|
|
17
|
+
pinnedBottom: RowContainerCtrl;
|
|
18
|
+
stickyTop: RowContainerCtrl;
|
|
19
|
+
stickyBottom: RowContainerCtrl;
|
|
31
20
|
fakeHScrollComp: FakeHScrollComp;
|
|
32
21
|
fakeVScrollComp: FakeVScrollComp;
|
|
33
22
|
gridHeaderCtrl: GridHeaderCtrl;
|
|
34
|
-
|
|
35
|
-
leftHeader: HeaderRowContainerCtrl;
|
|
36
|
-
rightHeader: HeaderRowContainerCtrl;
|
|
23
|
+
headerRowContainerCtrl: HeaderRowContainerCtrl;
|
|
37
24
|
}
|
|
38
25
|
type CtrlType = keyof ReadyParams;
|
|
39
26
|
type BeanDestroyFunc = Pick<BeanStub<any>, 'addDestroyFunc'>;
|
|
@@ -49,8 +36,7 @@ export declare class CtrlsService extends BeanStub<'ready'> implements NamedBean
|
|
|
49
36
|
register<K extends CtrlType, T extends ReadyParams[K]>(ctrlType: K, ctrl: T): void;
|
|
50
37
|
get<K extends CtrlType>(ctrlType: K): ReadyParams[K];
|
|
51
38
|
getGridBodyCtrl(): GridBodyCtrl;
|
|
52
|
-
|
|
53
|
-
getHeaderRowContainerCtrl(pinned?: ColumnPinnedType): HeaderRowContainerCtrl | undefined;
|
|
39
|
+
getHeaderRowContainerCtrl(): HeaderRowContainerCtrl | undefined;
|
|
54
40
|
getScrollFeature(): GridBodyScrollFeature;
|
|
55
41
|
}
|
|
56
42
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { IComponent } from '
|
|
2
|
-
import type { IDragAndDropImage } from '../agStack/interfaces/iDragAndDrop';
|
|
1
|
+
import type { IComponent, IDragAndDropImage } from 'ag-stack';
|
|
3
2
|
import type { AgGridCommon } from '../interfaces/iCommon';
|
|
4
3
|
import { Component } from '../widgets/component';
|
|
5
4
|
import type { DragAndDropIcon } from './dragAndDropService';
|
|
@@ -13,7 +12,6 @@ export declare class DragAndDropImageComponent extends Component implements IDra
|
|
|
13
12
|
private dragSource;
|
|
14
13
|
private readonly eIcon;
|
|
15
14
|
private readonly eLabel;
|
|
16
|
-
private readonly eGhost;
|
|
17
15
|
private dropIconMap;
|
|
18
16
|
constructor();
|
|
19
17
|
postConstruct(): void;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import type { AgDragSource, AgDraggingEvent, AgDropTarget, IDragAndDropImage } from '../agStack/interfaces/iDragAndDrop';
|
|
4
|
-
import type { AgPromise } from '../agStack/utils/promise';
|
|
1
|
+
import type { AgDragSource, AgDraggingEvent, AgDropTarget, AgPromise, IComponent, IDragAndDropImage } from 'ag-stack';
|
|
2
|
+
import { BaseDragAndDropService } from 'ag-stack';
|
|
5
3
|
import type { BeanStub } from '../context/beanStub';
|
|
6
4
|
import type { BeanCollection } from '../context/context';
|
|
7
5
|
import type { AgEventTypeParams } from '../events';
|
|
@@ -5,7 +5,7 @@ import type { _ModuleWithApi, _ModuleWithoutApi } from '../interfaces/iModule';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const DragModule: _ModuleWithoutApi;
|
|
7
7
|
/**
|
|
8
|
-
* @feature
|
|
8
|
+
* @feature import & Export -> Drag & Drop
|
|
9
9
|
* @colDef dndSource, dndSourceOnRowDrag
|
|
10
10
|
*/
|
|
11
11
|
export declare const DragAndDropModule: _ModuleWithoutApi;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseDragService } from '
|
|
1
|
+
import { BaseDragService } from 'ag-stack';
|
|
2
2
|
import type { BeanCollection } from '../context/context';
|
|
3
3
|
import type { AgEventTypeParams } from '../events';
|
|
4
4
|
import type { GridOptionsWithDefaults } from '../gridOptionsDefault';
|
|
@@ -3,6 +3,8 @@ import { BeanStub } from '../context/beanStub';
|
|
|
3
3
|
interface HorizontalResizeParams {
|
|
4
4
|
eResizeBar: HTMLElement;
|
|
5
5
|
dragStartPixels?: number;
|
|
6
|
+
/** use column cursor when resizing, default false */
|
|
7
|
+
isColumn?: boolean;
|
|
6
8
|
onResizeStart: (shiftKey: boolean) => void;
|
|
7
9
|
onResizing: (delta: number) => void;
|
|
8
10
|
onResizeEnd: (delta: number) => void;
|
|
@@ -12,7 +12,7 @@ export declare class RowDragComp extends Component {
|
|
|
12
12
|
private dragSource;
|
|
13
13
|
private mouseDownListener;
|
|
14
14
|
private disabled;
|
|
15
|
-
constructor(cellValueFn: () => string, rowNode: RowNode, column?: AgColumn
|
|
15
|
+
constructor(cellValueFn: () => string, rowNode: RowNode, column?: AgColumn | undefined, customGui?: HTMLElement | undefined, dragStartPixels?: number | undefined, alwaysVisible?: boolean);
|
|
16
16
|
isCustomGui(): boolean;
|
|
17
17
|
postConstruct(): void;
|
|
18
18
|
private initCellDrag;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { HorizontalDirection, VerticalDirection } from '
|
|
2
|
-
import type { AgDraggingEvent } from '../agStack/interfaces/iDragAndDrop';
|
|
1
|
+
import type { AgDraggingEvent, HorizontalDirection, VerticalDirection } from 'ag-stack';
|
|
3
2
|
import type { RowDragCancelEvent, RowDragEndEvent, RowDragEnterEvent, RowDragLeaveEvent, RowDragMoveEvent } from '../events';
|
|
4
3
|
import type { AgGridCommon } from '../interfaces/iCommon';
|
|
5
4
|
import type { DragItem } from '../interfaces/iDragItem';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AgPopupComponent } from '
|
|
2
|
-
import type { AgAbstractField } from '../../
|
|
1
|
+
import { AgPopupComponent } from 'ag-stack';
|
|
2
|
+
import type { AgAbstractField } from '../../agWidgets/agAbstractField';
|
|
3
3
|
import type { BeanCollection } from '../../context/context';
|
|
4
4
|
import type { AgEventTypeParams } from '../../events';
|
|
5
5
|
import type { GridOptionsWithDefaults } from '../../gridOptionsDefault';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgPopupComponent } from '
|
|
1
|
+
import { AgPopupComponent } from 'ag-stack';
|
|
2
2
|
import type { BeanCollection } from '../../context/context';
|
|
3
3
|
import type { AgEventTypeParams } from '../../events';
|
|
4
4
|
import type { GridOptionsWithDefaults } from '../../gridOptionsDefault';
|
|
@@ -95,6 +95,8 @@ export declare class EditService extends BeanStub implements NamedBean {
|
|
|
95
95
|
isCellEditable(position: Required<EditPosition>, source?: 'api' | 'ui'): boolean;
|
|
96
96
|
cellEditingInvalidCommitBlocks(): boolean;
|
|
97
97
|
checkNavWithValidation(position?: EditPosition, event?: Event | CellFocusedEvent, focus?: boolean): EditNavOnValidationResult;
|
|
98
|
+
/** Calls through to standalone method for treeshaking via the editService */
|
|
99
|
+
populateModelValidationErrors(): void;
|
|
98
100
|
revertSingleCellEdit(cellPosition: Required<EditPosition>, focus?: boolean): void;
|
|
99
101
|
hasValidationErrors(position?: EditPosition): boolean;
|
|
100
102
|
moveToNextCell(prev: CellCtrl | RowCtrl, backwards: boolean, event?: KeyboardEvent, source?: 'api' | 'ui'): boolean | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BeanName } from '../../context/context';
|
|
1
2
|
import type { CellFocusedEvent } from '../../events';
|
|
2
3
|
import type { EditValue } from '../../interfaces/iEditModelService';
|
|
3
4
|
import type { EditPosition, EditRowPosition, StartEditWithPositionParams } from '../../interfaces/iEditService';
|
|
@@ -5,7 +6,7 @@ import type { CellCtrl } from '../../rendering/cell/cellCtrl';
|
|
|
5
6
|
import type { EditValidationAction, EditValidationResult } from './baseEditStrategy';
|
|
6
7
|
import { BaseEditStrategy } from './baseEditStrategy';
|
|
7
8
|
export declare class FullRowEditStrategy extends BaseEditStrategy {
|
|
8
|
-
beanName:
|
|
9
|
+
beanName: BeanName | undefined;
|
|
9
10
|
private rowNode?;
|
|
10
11
|
private readonly startedRows;
|
|
11
12
|
shouldStop(position?: EditPosition, event?: KeyboardEvent | MouseEvent | null | undefined, _source?: 'api' | 'ui'): boolean | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BeanName } from '../../context/context';
|
|
1
2
|
import type { CellFocusClearedEvent, CellFocusedEvent } from '../../events';
|
|
2
3
|
import type { EditValue } from '../../interfaces/iEditModelService';
|
|
3
4
|
import type { EditPosition, EditRowPosition, StartEditWithPositionParams } from '../../interfaces/iEditService';
|
|
@@ -5,7 +6,7 @@ import type { CellCtrl } from '../../rendering/cell/cellCtrl';
|
|
|
5
6
|
import type { EditValidationAction, EditValidationResult } from './baseEditStrategy';
|
|
6
7
|
import { BaseEditStrategy } from './baseEditStrategy';
|
|
7
8
|
export declare class SingleCellEditStrategy extends BaseEditStrategy {
|
|
8
|
-
beanName:
|
|
9
|
+
beanName: BeanName | undefined;
|
|
9
10
|
private rowNode?;
|
|
10
11
|
private column?;
|
|
11
12
|
shouldStop(position?: EditPosition, event?: KeyboardEvent | MouseEvent | null | undefined, source?: 'api' | 'ui'): boolean | null;
|