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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ag-grid-community",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "36.0.0",
|
|
4
4
|
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
|
|
5
5
|
"main": "./dist/package/main.cjs.js",
|
|
6
6
|
"types": "./dist/types/src/main.d.ts",
|
|
@@ -119,7 +119,8 @@
|
|
|
119
119
|
],
|
|
120
120
|
"homepage": "https://www.ag-grid.com/",
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"ag-
|
|
122
|
+
"ag-stack": "36.0.0",
|
|
123
|
+
"ag-charts-types": "14.0.0"
|
|
123
124
|
},
|
|
124
125
|
"devDependencies": {
|
|
125
126
|
"web-streams-polyfill": "^4.2.0",
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ag-grid-community",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "36.0.0",
|
|
4
4
|
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
|
|
5
5
|
"main": "./dist/package/main.cjs.js",
|
|
6
6
|
"types": "./dist/types/src/main.d.ts",
|
|
@@ -119,7 +119,8 @@
|
|
|
119
119
|
],
|
|
120
120
|
"homepage": "https://www.ag-grid.com/",
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"ag-
|
|
122
|
+
"ag-stack": "36.0.0",
|
|
123
|
+
"ag-charts-types": "14.0.0"
|
|
123
124
|
},
|
|
124
125
|
"devDependencies": {
|
|
125
126
|
"web-streams-polyfill": "^4.2.0",
|
package/dist/types/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ag-grid-community",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "36.0.0",
|
|
4
4
|
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
|
|
5
5
|
"main": "./dist/package/main.cjs.js",
|
|
6
6
|
"types": "./dist/types/src/main.d.ts",
|
|
@@ -119,7 +119,8 @@
|
|
|
119
119
|
],
|
|
120
120
|
"homepage": "https://www.ag-grid.com/",
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"ag-
|
|
122
|
+
"ag-stack": "36.0.0",
|
|
123
|
+
"ag-charts-types": "14.0.0"
|
|
123
124
|
},
|
|
124
125
|
"devDependencies": {
|
|
125
126
|
"web-streams-polyfill": "^4.2.0",
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import type { AgComponentSelector } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
6
|
-
import type { AgElementParams } from '../utils/dom';
|
|
1
|
+
import type { AgComponentSelector, AgCoreBeanCollection, AgElementParams, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
7
2
|
import { AgAbstractLabel } from './agAbstractLabel';
|
|
8
3
|
import type { AgFieldParams } from './agFieldParams';
|
|
9
4
|
export type FieldElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import type { AgCoreBeanCollection } from '
|
|
2
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
3
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
4
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
5
2
|
import type { AgAbstractFieldEvent, FieldElement } from './agAbstractField';
|
|
6
3
|
import { AgAbstractField } from './agAbstractField';
|
|
7
4
|
import type { AgInputFieldParams } from './agFieldParams';
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
4
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
5
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
6
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
7
|
-
import type { AgElementParams } from '../utils/dom';
|
|
1
|
+
import type { AgComponentEvent, AgComponentSelector, AgCoreBeanCollection, AgElementParams, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
2
|
+
import { AgComponentStub } from 'ag-stack';
|
|
8
3
|
import type { AgLabelParams, LabelAlignment } from './agFieldParams';
|
|
9
4
|
type AgAbstractLabelEvent = AgComponentEvent;
|
|
10
5
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { AgComponentSelector } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgComponentSelector, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
6
2
|
import { AgAbstractInputField } from './agAbstractInputField';
|
|
7
3
|
import type { AgCheckboxParams, LabelAlignment } from './agFieldParams';
|
|
8
4
|
import type { AgWidgetSelectorType } from './agWidgetSelectorType';
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { AgComponentSelector } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgComponentSelector, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
6
2
|
import type { AgAbstractFieldEvent } from './agAbstractField';
|
|
7
3
|
import { AgAbstractField } from './agAbstractField';
|
|
8
4
|
import type { AgFieldParams } from './agFieldParams';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgElementParams } from '
|
|
1
|
+
import type { AgElementParams } from 'ag-stack';
|
|
2
2
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
3
3
|
export type LabelAlignment = 'left' | 'right' | 'top';
|
|
4
4
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { AgBaseComponent, AgComponentSelector, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
2
|
+
import { AgAbstractLabel } from './agAbstractLabel';
|
|
3
|
+
import type { AgLabelParams } from './agFieldParams';
|
|
4
|
+
import type { AgWidgetSelectorType } from './agWidgetSelectorType';
|
|
5
|
+
type AgFieldSetItem<TBeanCollection> = AgBaseComponent<TBeanCollection> | HTMLElement;
|
|
6
|
+
type AgFieldSetDirection = 'horizontal' | 'vertical';
|
|
7
|
+
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
8
|
+
export declare class AgFieldSet<TBeanCollection extends AgCoreBeanCollection<TProperties, TGlobalEvents, TCommon, TPropertiesService>, TProperties extends BaseProperties, TGlobalEvents extends BaseEvents, TCommon, TPropertiesService extends IPropertiesService<TProperties, TCommon>, TComponentSelectorType extends string, TConfig extends AgLabelParams = AgLabelParams> extends AgAbstractLabel<TBeanCollection, TProperties, TGlobalEvents, TCommon, TPropertiesService, TComponentSelectorType, TConfig> {
|
|
9
|
+
protected readonly eLabel: HTMLElement;
|
|
10
|
+
private readonly eWrapper;
|
|
11
|
+
constructor(config?: TConfig);
|
|
12
|
+
postConstruct(): void;
|
|
13
|
+
addItems(items: AgFieldSetItem<TBeanCollection>[]): void;
|
|
14
|
+
addItem(item: AgFieldSetItem<TBeanCollection>): void;
|
|
15
|
+
setDirection(direction: AgFieldSetDirection): this;
|
|
16
|
+
}
|
|
17
|
+
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
18
|
+
export declare const AgFieldSetSelector: AgComponentSelector<AgWidgetSelectorType>;
|
|
19
|
+
export {};
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { AgComponentSelector } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgComponentSelector, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
6
2
|
import type { AgInputTextFieldParams } from './agInputTextField';
|
|
7
3
|
import { AgInputTextField } from './agInputTextField';
|
|
8
4
|
import type { AgWidgetSelectorType } from './agWidgetSelectorType';
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { AgComponentSelector } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgComponentSelector, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
6
2
|
import type { AgInputTextFieldParams } from './agInputTextField';
|
|
7
3
|
import { AgInputTextField } from './agInputTextField';
|
|
8
4
|
import type { AgWidgetSelectorType } from './agWidgetSelectorType';
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { AgComponentSelector } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgComponentSelector, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
6
2
|
import { AgAbstractInputField } from './agAbstractInputField';
|
|
7
3
|
import type { AgInputFieldParams } from './agFieldParams';
|
|
8
4
|
import type { AgWidgetSelectorType } from './agWidgetSelectorType';
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { AgComponentSelector } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgComponentSelector, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
6
2
|
import type { AgAbstractInputFieldEvent } from './agAbstractInputField';
|
|
7
3
|
import { AgAbstractInputField } from './agAbstractInputField';
|
|
8
4
|
import type { AgInputFieldParams } from './agFieldParams';
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
2
|
+
import { AgComponentStub } from 'ag-stack';
|
|
6
3
|
import { AgListItem } from './agListItem';
|
|
7
4
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
8
5
|
export interface ListOption<TValue = string> {
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
6
|
-
import type { ITooltipFeature } from '../interfaces/iTooltip';
|
|
7
|
-
import type { HighlightTooltipEventType } from '../tooltip/agHighlightTooltipFeature';
|
|
1
|
+
import type { AgCoreBeanCollection, BaseEvents, BaseProperties, HighlightTooltipEventType, IPropertiesService, ITooltipFeature } from 'ag-stack';
|
|
2
|
+
import { AgComponentStub } from 'ag-stack';
|
|
8
3
|
export declare class AgListItem<TBeanCollection extends AgCoreBeanCollection<TProperties, TGlobalEvents, TCommon, TPropertiesService>, TProperties extends BaseProperties, TGlobalEvents extends BaseEvents, TCommon, TPropertiesService extends IPropertiesService<TProperties, TCommon>, TComponentSelectorType extends string, TValue> extends AgComponentStub<TBeanCollection, TProperties, TGlobalEvents, TCommon, TPropertiesService, TComponentSelectorType, HighlightTooltipEventType> {
|
|
9
4
|
private readonly label;
|
|
10
5
|
private readonly value;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { AgComponentStub } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgComponentStub, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
6
2
|
import type { AgAbstractFieldEvent } from './agAbstractField';
|
|
7
3
|
import { AgAbstractField } from './agAbstractField';
|
|
8
4
|
import type { AgPickerFieldParams } from './agPickerFieldParams';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { AgComponentSelector } from '
|
|
2
|
-
import type { AgElementParams } from '../utils/dom';
|
|
1
|
+
import type { AgComponentSelector, AgElementParams } from 'ag-stack';
|
|
3
2
|
import type { AgFieldParams } from './agFieldParams';
|
|
4
3
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
5
4
|
export interface AgPickerFieldParams<TComponentSelectorType extends string> extends AgFieldParams {
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { AgComponentSelector } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgComponentSelector, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
6
2
|
import { AgCheckbox } from './agCheckbox';
|
|
7
3
|
import type { AgCheckboxParams } from './agFieldParams';
|
|
8
4
|
import type { AgWidgetSelectorType } from './agWidgetSelectorType';
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { AgComponentSelector } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgComponentSelector, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
6
2
|
import type { ListOption } from './agList';
|
|
7
3
|
import { AgList } from './agList';
|
|
8
4
|
import { AgPickerField } from './agPickerField';
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { AgComponentSelector } from '
|
|
2
|
-
import type { AgCoreBeanCollection } from '../interfaces/agCoreBeanCollection';
|
|
3
|
-
import type { BaseEvents } from '../interfaces/baseEvents';
|
|
4
|
-
import type { BaseProperties } from '../interfaces/baseProperties';
|
|
5
|
-
import type { IPropertiesService } from '../interfaces/iProperties';
|
|
1
|
+
import type { AgComponentSelector, AgCoreBeanCollection, BaseEvents, BaseProperties, IPropertiesService } from 'ag-stack';
|
|
6
2
|
import { AgCheckbox } from './agCheckbox';
|
|
7
3
|
import type { AgCheckboxParams } from './agFieldParams';
|
|
8
4
|
import type { AgWidgetSelectorType } from './agWidgetSelectorType';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
2
|
+
export type AgWidgetSelectorType = 'AG-CHECKBOX' | 'AG-COLOR-INPUT' | 'AG-COLOR-PICKER' | 'AG-FIELD-SET' | 'AG-GROUP-COMPONENT' | 'AG-INPUT-DATE-FIELD' | 'AG-INPUT-NUMBER-FIELD' | 'AG-INPUT-RANGE' | 'AG-INPUT-TEXT-AREA' | 'AG-INPUT-TEXT-FIELD' | 'AG-RADIO-BUTTON' | 'AG-SELECT' | 'AG-SLIDER' | 'AG-TOGGLE-BUTTON' | 'AG-CONTENT-EDITABLE-FIELD';
|
|
@@ -8,4 +8,5 @@ export declare function isDestroyed(beans: BeanCollection): boolean;
|
|
|
8
8
|
export declare function getGridOption<Key extends keyof GridOptions<TData>, TData = any>(beans: BeanCollection, key: Key): GridOptions<TData>[Key];
|
|
9
9
|
export declare function setGridOption<Key extends ManagedGridOptionKey, TData = any>(beans: BeanCollection, key: Key, value: GridOptions<TData>[Key]): void;
|
|
10
10
|
export declare function updateGridOptions<TDataUpdate = any>(beans: BeanCollection, options: ManagedGridOptions<TDataUpdate>): void;
|
|
11
|
+
export declare function getGridElement(beans: BeanCollection): Element | undefined;
|
|
11
12
|
export declare function isModuleRegistered(beans: BeanCollection, moduleName: AgModuleName): boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { AgEvent } from '
|
|
1
|
+
import type { AgEvent } from 'ag-stack';
|
|
2
2
|
import type { ApplyColumnStateParams, ColumnState } from '../columns/columnStateUtils';
|
|
3
3
|
import type { RowDropZoneEvents, RowDropZoneParams } from '../dragAndDrop/rowDragTypes';
|
|
4
4
|
import type { RowDropPositionIndicator, SetRowDropPositionIndicatorParams } from '../dragAndDrop/rowDropHighlightService';
|
|
5
|
-
import type { ColDef, ColGroupDef, ColKey, ColumnChooserParams, HeaderLocation, IAggFunc } from '../entities/colDef';
|
|
5
|
+
import type { ColAggFunc, ColDef, ColGroupDef, ColKey, ColumnChooserParams, HeaderLocation, IAggFunc } from '../entities/colDef';
|
|
6
6
|
import type { ChartRef, GridOptions, SelectAllMode } from '../entities/gridOptions';
|
|
7
7
|
import type { AgPublicEventType } from '../eventTypes';
|
|
8
8
|
import type { AgEventListener, AgGlobalEventListener, ColumnEventType, FilterChangedEventSourceType, SelectionEventSourceType } from '../events';
|
|
@@ -68,6 +68,8 @@ export interface _CoreGridApi<TData = any> {
|
|
|
68
68
|
* Check if a Module is registered with the current grid instance via its equivalent string name.
|
|
69
69
|
*/
|
|
70
70
|
isModuleRegistered(moduleName: AgModuleName): boolean;
|
|
71
|
+
/** Returns the outermost DOM element created by the grid. This is a direct child of the host element provided by the application. */
|
|
72
|
+
getGridElement(): Element | undefined;
|
|
71
73
|
}
|
|
72
74
|
export interface _RowSelectionGridApi<TData = any> {
|
|
73
75
|
/**
|
|
@@ -1318,7 +1320,7 @@ export interface _AggregationGridApi<TData> {
|
|
|
1318
1320
|
* Sets the agg function for a column. `aggFunc` can be one of the built-in aggregations or a custom aggregation by name or direct function.
|
|
1319
1321
|
* @agModule `RowGroupingModule / PivotModule / TreeDataModule`
|
|
1320
1322
|
*/
|
|
1321
|
-
setColumnAggFunc<TValue = any>(key: ColKey<TData, TValue>, aggFunc:
|
|
1323
|
+
setColumnAggFunc<TValue = any>(key: ColKey<TData, TValue>, aggFunc: ColAggFunc<TData, TValue>): void;
|
|
1322
1324
|
}
|
|
1323
1325
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
1324
1326
|
export interface _PivotGridApi<TData> {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NamedBean } from '../context/bean';
|
|
2
|
+
import { BeanStub } from '../context/beanStub';
|
|
3
|
+
export declare class AutoGenerateColumnsService extends BeanStub implements NamedBean {
|
|
4
|
+
beanName: "autoGenColsSvc";
|
|
5
|
+
postConstruct(): void;
|
|
6
|
+
private generateColumns;
|
|
7
|
+
}
|
|
@@ -12,11 +12,11 @@ export declare class BodyDropPivotTarget extends BeanStub implements DropListene
|
|
|
12
12
|
onDragEnter(draggingEvent: GridDraggingEvent): void;
|
|
13
13
|
getIconName(): DragAndDropIcon | null;
|
|
14
14
|
/** Callback for when drag leaves */
|
|
15
|
-
onDragLeave(
|
|
15
|
+
onDragLeave(_draggingEvent: GridDraggingEvent): void;
|
|
16
16
|
private clearColumnsList;
|
|
17
17
|
/** Callback for when dragging */
|
|
18
|
-
onDragging(
|
|
18
|
+
onDragging(_draggingEvent: GridDraggingEvent): void;
|
|
19
19
|
/** Callback for when drag stops */
|
|
20
|
-
onDragStop(
|
|
20
|
+
onDragStop(_draggingEvent: GridDraggingEvent): void;
|
|
21
21
|
onDragCancel(): void;
|
|
22
22
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BeanStub } from '../../context/beanStub';
|
|
2
2
|
import type { DragAndDropIcon, DropTarget, GridDraggingEvent } from '../../dragAndDrop/dragAndDropService';
|
|
3
3
|
import { DragSourceType } from '../../dragAndDrop/dragAndDropService';
|
|
4
|
-
import type { ColumnPinnedType } from '../../interfaces/iColumn';
|
|
5
4
|
export interface DropListener {
|
|
6
5
|
getIconName(): DragAndDropIcon | null;
|
|
7
6
|
onDragEnter(params: GridDraggingEvent): void;
|
|
@@ -11,13 +10,14 @@ export interface DropListener {
|
|
|
11
10
|
onDragCancel(): void;
|
|
12
11
|
}
|
|
13
12
|
export declare class BodyDropTarget extends BeanStub implements DropTarget {
|
|
14
|
-
private readonly pinned;
|
|
15
13
|
private readonly eContainer;
|
|
16
14
|
private eSecondaryContainers;
|
|
15
|
+
private eGridViewport;
|
|
17
16
|
private currentDropListener;
|
|
18
|
-
private
|
|
19
|
-
private
|
|
20
|
-
|
|
17
|
+
private lastDetectedSection;
|
|
18
|
+
private moveColumnFeatures;
|
|
19
|
+
private bodyDropPivotTargets;
|
|
20
|
+
constructor(eContainer: HTMLElement);
|
|
21
21
|
postConstruct(): void;
|
|
22
22
|
isInterestedIn(type: DragSourceType): boolean;
|
|
23
23
|
getSecondaryContainers(): HTMLElement[][];
|
|
@@ -29,4 +29,7 @@ export declare class BodyDropTarget extends BeanStub implements DropTarget {
|
|
|
29
29
|
onDragging(params: GridDraggingEvent): void;
|
|
30
30
|
onDragStop(params: GridDraggingEvent): void;
|
|
31
31
|
onDragCancel(): void;
|
|
32
|
+
private getSection;
|
|
33
|
+
private getDropListener;
|
|
34
|
+
private getPinnedSection;
|
|
32
35
|
}
|
|
@@ -34,7 +34,6 @@ export declare class MoveColumnFeature extends BeanStub implements DropListener
|
|
|
34
34
|
private highlightHoveredColumn;
|
|
35
35
|
private getNormalisedXPositionInfo;
|
|
36
36
|
private getColumnMoveAndTargetInfo;
|
|
37
|
-
private normaliseDirection;
|
|
38
37
|
private getNormalisedColumnLeft;
|
|
39
38
|
private isAttemptingToPin;
|
|
40
39
|
private moveColumnsAfterHighlight;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HorizontalDirection } from '
|
|
1
|
+
import type { HorizontalDirection } from 'ag-stack';
|
|
2
2
|
import type { NamedBean } from '../context/bean';
|
|
3
3
|
import { BeanStub } from '../context/beanStub';
|
|
4
4
|
import type { GridDragSource } from '../dragAndDrop/dragAndDropService';
|
|
@@ -15,7 +15,7 @@ export declare class ColumnMoveService extends BeanStub implements NamedBean {
|
|
|
15
15
|
private doesMovePassRules;
|
|
16
16
|
doesOrderPassRules(gridOrder: AgColumn[]): boolean;
|
|
17
17
|
getProposedColumnOrder(columnsToMove: AgColumn[], toIndex: number): AgColumn[];
|
|
18
|
-
createBodyDropTarget(
|
|
18
|
+
createBodyDropTarget(dropContainer: HTMLElement): BodyDropTarget;
|
|
19
19
|
moveHeader(hDirection: HorizontalDirection, eGui: HTMLElement, column: AgColumn | AgColumnGroup, pinned: ColumnPinnedType, bean: BeanStub): void;
|
|
20
20
|
setDragSourceForHeader(eSource: HTMLElement, column: AgColumn | AgColumnGroup, displayName: string | null): GridDragSource;
|
|
21
21
|
}
|
|
@@ -2,4 +2,6 @@ import type { AgColumn } from '../entities/agColumn';
|
|
|
2
2
|
import type { AgProvidedColumnGroup } from '../entities/agProvidedColumnGroup';
|
|
3
3
|
import type { GridOptionsService } from '../gridOptionsService';
|
|
4
4
|
export declare function placeLockedColumns(cols: AgColumn[], gos: GridOptionsService): AgColumn[];
|
|
5
|
+
/** Callers gate on `colModel.hasMarryChildren`, so a married group always exists here — the
|
|
6
|
+
* position-index Map is always needed, hence built eagerly. */
|
|
5
7
|
export declare function doesMovePassMarryChildren(allColumnsCopy: AgColumn[], gridBalancedTree: (AgColumn | AgProvidedColumnGroup)[]): boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { HorizontalDirection } from 'ag-stack';
|
|
1
2
|
import type { ColumnModel } from '../columns/columnModel';
|
|
2
3
|
import type { VisibleColsService } from '../columns/visibleColsService';
|
|
3
4
|
import type { CtrlsService } from '../ctrlsService';
|
|
@@ -28,13 +29,12 @@ export declare function attemptMoveColumns(params: ColumnMoveParams & {
|
|
|
28
29
|
columns: AgColumn[];
|
|
29
30
|
toIndex: number;
|
|
30
31
|
} | null | undefined;
|
|
32
|
+
export declare function clientXToSectionX(clientX: number, pinned: ColumnPinnedType, ctrlsSvc: CtrlsService): number;
|
|
33
|
+
export declare const normaliseDirection: (hDirection: HorizontalDirection, isRtl: boolean, pinned: ColumnPinnedType | null) => HorizontalDirection;
|
|
31
34
|
export declare function normaliseX(params: {
|
|
32
35
|
x: number;
|
|
33
36
|
pinned?: ColumnPinnedType;
|
|
34
|
-
|
|
35
|
-
useHeaderRow?: boolean;
|
|
36
|
-
skipScrollPadding?: boolean;
|
|
37
|
-
gos: GridOptionsService;
|
|
37
|
+
isRtl: boolean;
|
|
38
38
|
ctrlsSvc: CtrlsService;
|
|
39
39
|
}): number;
|
|
40
40
|
export declare function setColumnsMoving(columns: AgColumn[], isMoving: boolean): void;
|
|
@@ -6,7 +6,6 @@ import type { ColKey } from '../entities/colDef';
|
|
|
6
6
|
import type { ColumnEventType } from '../events';
|
|
7
7
|
import type { HeaderCellCtrl, IHeaderCellComp } from '../headerRendering/cells/column/headerCellCtrl';
|
|
8
8
|
import type { IHeaderGroupCellComp } from '../headerRendering/cells/columnGroup/headerGroupCellCtrl';
|
|
9
|
-
import type { ColumnPinnedType } from '../interfaces/iColumn';
|
|
10
9
|
import { GroupResizeFeature } from './groupResizeFeature';
|
|
11
10
|
import { ResizeFeature } from './resizeFeature';
|
|
12
11
|
export interface ColumnResizeSet {
|
|
@@ -28,6 +27,6 @@ export declare class ColumnResizeService extends BeanStub implements NamedBean {
|
|
|
28
27
|
source: ColumnEventType;
|
|
29
28
|
}): void;
|
|
30
29
|
resizeHeader(column: AgColumn, delta: number, shiftKey: boolean): void;
|
|
31
|
-
createResizeFeature(
|
|
32
|
-
createGroupResizeFeature(comp: IHeaderGroupCellComp, eResize: HTMLElement,
|
|
30
|
+
createResizeFeature(column: AgColumn, eResize: HTMLElement, comp: IHeaderCellComp, ctrl: HeaderCellCtrl): ResizeFeature;
|
|
31
|
+
createGroupResizeFeature(comp: IHeaderGroupCellComp, eResize: HTMLElement, columnGroup: AgColumnGroup): GroupResizeFeature;
|
|
33
32
|
}
|
|
@@ -4,7 +4,6 @@ import type { AgColumnGroup } from '../entities/agColumnGroup';
|
|
|
4
4
|
import type { ColumnEventType } from '../events';
|
|
5
5
|
import type { IHeaderResizeFeature } from '../headerRendering/cells/abstractCell/abstractHeaderCellCtrl';
|
|
6
6
|
import type { IHeaderGroupCellComp } from '../headerRendering/cells/columnGroup/headerGroupCellCtrl';
|
|
7
|
-
import type { ColumnPinnedType } from '../interfaces/iColumn';
|
|
8
7
|
interface ColumnSizeAndRatios {
|
|
9
8
|
columnsToResize: AgColumn[];
|
|
10
9
|
resizeStartWidth: number;
|
|
@@ -16,7 +15,6 @@ interface ColumnSizeAndRatios {
|
|
|
16
15
|
export declare class GroupResizeFeature extends BeanStub implements IHeaderResizeFeature {
|
|
17
16
|
private readonly comp;
|
|
18
17
|
private readonly eResize;
|
|
19
|
-
private readonly pinned;
|
|
20
18
|
private readonly columnGroup;
|
|
21
19
|
private resizeCols?;
|
|
22
20
|
private resizeStartWidth;
|
|
@@ -24,7 +22,7 @@ export declare class GroupResizeFeature extends BeanStub implements IHeaderResiz
|
|
|
24
22
|
private resizeTakeFromCols?;
|
|
25
23
|
private resizeTakeFromStartWidth?;
|
|
26
24
|
private resizeTakeFromRatios?;
|
|
27
|
-
constructor(comp: IHeaderGroupCellComp, eResize: HTMLElement,
|
|
25
|
+
constructor(comp: IHeaderGroupCellComp, eResize: HTMLElement, columnGroup: AgColumnGroup);
|
|
28
26
|
postConstruct(): void;
|
|
29
27
|
private onResizeStart;
|
|
30
28
|
onResizing(finished: boolean, resizeAmount: any, source?: ColumnEventType): void;
|
|
@@ -2,9 +2,7 @@ import { BeanStub } from '../context/beanStub';
|
|
|
2
2
|
import type { AgColumn } from '../entities/agColumn';
|
|
3
3
|
import type { IHeaderResizeFeature } from '../headerRendering/cells/abstractCell/abstractHeaderCellCtrl';
|
|
4
4
|
import type { HeaderCellCtrl, IHeaderCellComp } from '../headerRendering/cells/column/headerCellCtrl';
|
|
5
|
-
import type { ColumnPinnedType } from '../interfaces/iColumn';
|
|
6
5
|
export declare class ResizeFeature extends BeanStub implements IHeaderResizeFeature {
|
|
7
|
-
private readonly pinned;
|
|
8
6
|
private readonly column;
|
|
9
7
|
private readonly eResize;
|
|
10
8
|
private readonly comp;
|
|
@@ -12,7 +10,7 @@ export declare class ResizeFeature extends BeanStub implements IHeaderResizeFeat
|
|
|
12
10
|
private lastResizeAmount;
|
|
13
11
|
private resizeStartWidth;
|
|
14
12
|
private resizeWithShiftKey;
|
|
15
|
-
constructor(
|
|
13
|
+
constructor(column: AgColumn, eResize: HTMLElement, comp: IHeaderCellComp, ctrl: HeaderCellCtrl);
|
|
16
14
|
postConstruct(): void;
|
|
17
15
|
private onResizing;
|
|
18
16
|
private onResizeStart;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BeanStub } from '../context/beanStub';
|
|
2
|
+
import { AgColumn } from '../entities/agColumn';
|
|
3
|
+
import type { ColKind } from '../entities/agColumn';
|
|
4
|
+
import type { ColDef } from '../entities/colDef';
|
|
5
|
+
import type { ColumnEventType } from '../events';
|
|
6
|
+
/** Base for services owning a single optional generated column (selection, row-numbers); shared create/refresh/teardown.
|
|
7
|
+
* @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
8
|
+
export declare abstract class BaseSingleColService extends BeanStub {
|
|
9
|
+
/** The owned column, or null when disabled. Only ever 0 or 1 column — singular by design, no array allocation. */
|
|
10
|
+
column: AgColumn | null;
|
|
11
|
+
/** The `AgColumn` kind discriminator for the generated column. */
|
|
12
|
+
protected abstract readonly colKind: ColKind;
|
|
13
|
+
/** Whether the column should currently exist, from grid options. */
|
|
14
|
+
abstract isEnabled(): boolean;
|
|
15
|
+
/** Build the colDef for the column from current grid options. */
|
|
16
|
+
protected abstract createColDef(): ColDef;
|
|
17
|
+
destroy(): void;
|
|
18
|
+
/** Generate or destroy the column based on current options. */
|
|
19
|
+
refreshCols(): AgColumn | null;
|
|
20
|
+
/** Rebuild the colDef on the existing column and re-apply its state. No-op when the column doesn't exist. */
|
|
21
|
+
protected refreshColDef(source: ColumnEventType): void;
|
|
22
|
+
protected destroyColumn(): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { BeanCollection } from '../context/context';
|
|
2
|
+
import type { AgColumn } from '../entities/agColumn';
|
|
3
|
+
import { AgProvidedColumnGroup } from '../entities/agProvidedColumnGroup';
|
|
4
|
+
import type { ColDef, ColGroupDef } from '../entities/colDef';
|
|
5
|
+
import type { ColumnEventType } from '../events';
|
|
6
|
+
import type { ColWrapperCache } from './columnGroups/colWrapperCache';
|
|
7
|
+
/** Opaque edit session over a build's leaves; splicing is enterprise-only (hierarchy/calc cols).
|
|
8
|
+
* Community only calls {@link commit} from `finalizeColumnTree`. @internal AG_GRID_INTERNAL */
|
|
9
|
+
export interface ColumnTreeEdit {
|
|
10
|
+
commit(build: ColumnTreeBuild): void;
|
|
11
|
+
}
|
|
12
|
+
/** Result of {@link _buildColumnTree}; the mutable tree spliced across one rebuild, emitted by
|
|
13
|
+
* `finalizeColumnTree`. At depth 0 `columnTree` === `columns`. @internal AG_GRID_INTERNAL */
|
|
14
|
+
export interface ColumnTreeBuild {
|
|
15
|
+
columnTree: (AgColumn | AgProvidedColumnGroup)[];
|
|
16
|
+
treeDepth: number;
|
|
17
|
+
columns: AgColumn[];
|
|
18
|
+
/** Every group built/reused (padding + non-padding); fed back as the next build's sweep input. */
|
|
19
|
+
allGroups: AgProvidedColumnGroup[];
|
|
20
|
+
marryChildren: boolean;
|
|
21
|
+
/** Non-padding groups by `groupId`; fed back as next call's `existingGroupsById`. */
|
|
22
|
+
groupsById: Map<string, AgProvidedColumnGroup>;
|
|
23
|
+
/** Cols keyed by `colId` / `userProvidedColDef` ref / `field`; for O(1) reuse. */
|
|
24
|
+
colsByKey: Map<string | ColDef, AgColumn>;
|
|
25
|
+
source: ColumnEventType;
|
|
26
|
+
/** True = user (re)set the definitions, so reused cols re-apply stateful attrs; see {@link AgColumn.reapplyColDef}. */
|
|
27
|
+
newColDefs: boolean;
|
|
28
|
+
buildToken: number;
|
|
29
|
+
/** Padding-wrapper cache for the editable (hierarchy/calc) path; `null` for pivot result trees
|
|
30
|
+
* (a one-shot build that never splices). */
|
|
31
|
+
wrapperCache: ColWrapperCache | null;
|
|
32
|
+
/** Open edit session; null until the first splice. */
|
|
33
|
+
edit?: ColumnTreeEdit | null;
|
|
34
|
+
}
|
|
35
|
+
/** Build a balanced column tree from `defs`, reusing cols/groups by colId / field / userColDef ref /
|
|
36
|
+
* groupId. Id allocation is deterministic (master/slave grids produce identical ids). Static calc-col
|
|
37
|
+
* overrides ({@link ICalculatedColumnsService.overrideFor}) drop/replace a leaf mid-build, never its group.
|
|
38
|
+
* @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
39
|
+
export declare function _buildColumnTree(beans: BeanCollection, defs: (ColDef | ColGroupDef)[] | null | undefined, primaryColumns: boolean, existingGroupsById: Map<string, AgProvidedColumnGroup>, existingColsByKey: Map<string | ColDef, AgColumn>, existingColsById: {
|
|
40
|
+
readonly [id: string]: AgColumn;
|
|
41
|
+
}, source: ColumnEventType, newColDefs: boolean, buildToken: number, wrapperCache: ColWrapperCache | null): ColumnTreeBuild;
|
|
42
|
+
export declare const finalizeColumnTree: (build: ColumnTreeBuild) => void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ColDef } from '../entities/colDef';
|
|
2
|
+
import type { CalculatedColumnsGridOption } from '../interfaces/iCalculatedColumns';
|
|
3
|
+
/** @internal AG_GRID_INTERNAL */
|
|
4
|
+
export declare function _hasCalculatedExpression(colDef: ColDef | null | undefined): boolean;
|
|
5
|
+
/** @internal AG_GRID_INTERNAL */
|
|
6
|
+
export declare function _isCalculatedColumnsEnabled(calculatedColumns: CalculatedColumnsGridOption | undefined): boolean;
|
|
7
|
+
/** @internal AG_GRID_INTERNAL */
|
|
8
|
+
export declare function _normaliseCalculatedExpression(expression: ColDef['calculatedExpression'] | null): string | undefined;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { BeanCollection } from '../context/context';
|
|
2
|
+
import { AgColumn } from '../entities/agColumn';
|
|
3
|
+
import type { ColDef } from '../entities/colDef';
|
|
4
|
+
/** Constructs + registers a primary ('user'-kind) column from a user colDef: merges defaults/types,
|
|
5
|
+
* stamps the build token, registers the bean. Sole birthplace for build/calc columns.
|
|
6
|
+
* @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
7
|
+
export declare function _createUserColumn(beans: BeanCollection, userColDef: ColDef, colId: string, isPrimary: boolean, buildToken: number): AgColumn;
|
|
8
|
+
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
9
|
+
export declare function _addColumnDefaultAndTypes(beans: BeanCollection, colDef: ColDef, colId: string, isAutoCol?: boolean): ColDef;
|