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,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import type { IAgEventEmitter, IEventEmitter } from 'ag-stack';
|
|
2
|
+
import { LocalEventService } from 'ag-stack';
|
|
3
3
|
import type { BeanCollection } from '../context/context';
|
|
4
4
|
import type { SelectionEventSourceType } from '../events';
|
|
5
5
|
import type { IServerSideStore } from '../interfaces/IServerSideStore';
|
|
@@ -75,6 +75,9 @@ export declare class RowNode<TData = any> implements IEventEmitter<RowNodeEventT
|
|
|
75
75
|
rowIndex: number | null;
|
|
76
76
|
/**
|
|
77
77
|
* Either 'top' or 'bottom' if row pinned, otherwise `undefined` or `null`.
|
|
78
|
+
* Invariant: only the pinned clone has this set; the source row keeps it null
|
|
79
|
+
* even while its `pinnedSibling` clone is in a container. Several pin/destroy
|
|
80
|
+
* code paths rely on this asymmetry to disambiguate clone vs source.
|
|
78
81
|
* If re-naming this property, you must also update `IGNORED_SIBLING_PROPERTIES`
|
|
79
82
|
*/
|
|
80
83
|
rowPinned: RowPinnedType;
|
|
@@ -82,6 +85,7 @@ export declare class RowNode<TData = any> implements IEventEmitter<RowNodeEventT
|
|
|
82
85
|
* If using manual row pinning, a reference to the sibling node.
|
|
83
86
|
* If this node is in the pinned section, `pinnedSibling` is the source row.
|
|
84
87
|
* If this node is in the main viewport, `pinnedSibling` is the pinned row.
|
|
88
|
+
* If re-naming this property, you must also update `IGNORED_SIBLING_PROPERTIES`
|
|
85
89
|
*/
|
|
86
90
|
pinnedSibling?: RowNode<TData>;
|
|
87
91
|
/** @inheritDoc */
|
|
@@ -274,7 +278,7 @@ export declare class RowNode<TData = any> implements IEventEmitter<RowNodeEventT
|
|
|
274
278
|
* @returns `true` if the value changed, `false` otherwise
|
|
275
279
|
*/
|
|
276
280
|
setDataValue(colKey: string | AgColumn, newValue: any, eventSource?: string): boolean;
|
|
277
|
-
getDataValue<TValue = any>(colKey: ColKey<TValue>, from: 'value' | 'data-raw' | 'edit' | 'batch'): TValue | null | undefined;
|
|
281
|
+
getDataValue<TValue = any>(colKey: ColKey<TValue>, from: 'value' | 'data-raw' | 'edit' | 'batch' | 'transformed'): TValue | null | undefined;
|
|
278
282
|
getDataValue<TValue = any>(colKey: ColKey<TValue>, from?: 'data'): TValue | IAggFuncResult<TValue> | null | undefined;
|
|
279
283
|
updateHasChildren(): void;
|
|
280
284
|
hasChildren(): boolean;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type { BaseCssChangeKeys } from '
|
|
2
|
-
import { BaseEnvironment } from '
|
|
3
|
-
import type { Theme } from './agStack/theming/theme';
|
|
4
|
-
import type { ThemeImpl } from './agStack/theming/themeImpl';
|
|
1
|
+
import type { BaseCssChangeKeys, Theme, ThemeImpl } from 'ag-stack';
|
|
2
|
+
import { BaseEnvironment } from 'ag-stack';
|
|
5
3
|
import type { NamedBean } from './context/bean';
|
|
6
4
|
import type { BeanCollection } from './context/context';
|
|
7
5
|
import type { AgEventTypeParams } from './events';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseEventService } from '
|
|
1
|
+
import { BaseEventService } from 'ag-stack';
|
|
2
2
|
import type { NamedBean } from './context/bean';
|
|
3
3
|
import type { BeanCollection } from './context/context';
|
|
4
4
|
import type { AgEventTypeParams } from './events';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { AgEvent } from '
|
|
1
|
+
import type { AgEvent } from 'ag-stack';
|
|
2
2
|
/**
|
|
3
3
|
* EVENTS that should be exposed via code generation for the framework components.
|
|
4
4
|
* @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
|
|
5
5
|
*/
|
|
6
|
-
export declare const _PUBLIC_EVENTS: readonly ["columnEverythingChanged", "newColumnsLoaded", "columnPivotModeChanged", "pivotMaxColumnsExceeded", "columnRowGroupChanged", "expandOrCollapseAll", "columnPivotChanged", "gridColumnsChanged", "columnValueChanged", "columnMoved", "columnVisible", "columnPinned", "columnGroupOpened", "columnResized", "displayedColumnsChanged", "virtualColumnsChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "asyncTransactionsFlushed", "rowGroupOpened", "rowDataUpdated", "pinnedRowDataChanged", "pinnedRowsChanged", "rangeSelectionChanged", "cellSelectionChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "toolPanelVisibleChanged", "toolPanelSizeChanged", "modelUpdated", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "fillStart", "fillEnd", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellClicked", "cellDoubleClicked", "cellMouseDown", "cellContextMenu", "cellValueChanged", "cellEditRequest", "rowValueChanged", "headerFocused", "cellFocused", "rowSelected", "selectionChanged", "tooltipShow", "tooltipHide", "cellKeyDown", "cellMouseOver", "cellMouseOut", "filterChanged", "filterModified", "filterUiChanged", "filterOpened", "floatingFilterUiChanged", "advancedFilterBuilderVisibleChanged", "sortChanged", "virtualRowRemoved", "rowClicked", "rowDoubleClicked", "gridReady", "gridPreDestroyed", "gridSizeChanged", "viewportChanged", "firstDataRendered", "dragStarted", "dragStopped", "dragCancelled", "rowEditingStarted", "rowEditingStopped", "cellEditingStarted", "cellEditingStopped", "bodyScroll", "bodyScrollEnd", "paginationChanged", "componentStateChanged", "storeRefreshed", "stateUpdated", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "findChanged", "rowResizeStarted", "rowResizeEnded", "columnsReset", "bulkEditingStarted", "bulkEditingStopped", "batchEditingStarted", "batchEditingStopped"];
|
|
6
|
+
export declare const _PUBLIC_EVENTS: readonly ["columnEverythingChanged", "newColumnsLoaded", "columnPivotModeChanged", "pivotMaxColumnsExceeded", "columnRowGroupChanged", "expandOrCollapseAll", "columnPivotChanged", "gridColumnsChanged", "columnValueChanged", "columnMoved", "columnVisible", "columnPinned", "columnGroupOpened", "columnResized", "displayedColumnsChanged", "virtualColumnsChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "asyncTransactionsFlushed", "rowGroupOpened", "rowDataUpdated", "pinnedRowDataChanged", "pinnedRowsChanged", "rangeSelectionChanged", "cellSelectionChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "toolPanelVisibleChanged", "toolPanelSizeChanged", "modelUpdated", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "calculatedColumnCreated", "calculatedColumnExpressionChanged", "calculatedColumnRemoved", "calculatedColumnValidationStateChanged", "fillStart", "fillEnd", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellClicked", "cellDoubleClicked", "cellMouseDown", "cellContextMenu", "cellValueChanged", "cellEditRequest", "rowValueChanged", "headerFocused", "cellFocused", "rowSelected", "selectionChanged", "tooltipShow", "tooltipHide", "cellKeyDown", "cellMouseOver", "cellMouseOut", "filterChanged", "filterModified", "filterUiChanged", "filterOpened", "floatingFilterUiChanged", "advancedFilterBuilderVisibleChanged", "sortChanged", "virtualRowRemoved", "rowClicked", "rowDoubleClicked", "gridReady", "gridPreDestroyed", "gridSizeChanged", "viewportChanged", "firstDataRendered", "dragStarted", "dragStopped", "dragCancelled", "rowEditingStarted", "rowEditingStopped", "cellEditingStarted", "cellEditingStopped", "bodyScroll", "bodyScrollEnd", "paginationChanged", "componentStateChanged", "storeRefreshed", "stateUpdated", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "findChanged", "rowResizeStarted", "rowResizeEnded", "columnsReset", "bulkEditingStarted", "bulkEditingStopped", "batchEditingStarted", "batchEditingStopped"];
|
|
7
7
|
/** Exclude the following internal events from code generation to prevent exposing these events via framework components */
|
|
8
|
-
declare const _INTERNAL_EVENTS: readonly ["scrollbarWidthChanged", "keyShortcutChangedCellStart", "keyShortcutChangedCellEnd", "pinnedHeightChanged", "cellFocusCleared", "fullWidthRowFocused", "checkboxChanged", "heightScaleChanged", "suppressMovableColumns", "suppressMenuHide", "suppressFieldDotNotation", "columnPanelItemDragStart", "columnPanelItemDragEnd", "bodyHeightChanged", "columnContainerWidthChanged", "displayedColumnsWidthChanged", "scrollVisibilityChanged", "scrollGapChanged", "columnHoverChanged", "flashCells", "rowDragVisibilityChanged", "paginationPixelOffsetChanged", "displayedRowsChanged", "leftPinnedWidthChanged", "rightPinnedWidthChanged", "rowContainerHeightChanged", "headerHeightChanged", "columnGroupHeaderHeightChanged", "columnHeaderHeightChanged", "stylesChanged", "storeUpdated", "filterDestroyed", "filterHandlerDestroyed", "rowDataUpdateStarted", "rowCountReady", "advancedFilterEnabledChanged", "dataTypesInferred", "fieldValueChanged", "fieldPickerValueSelected", "richSelectListRowSelected", "sideBarUpdated", "alignedGridScroll", "alignedGridColumn", "gridOptionsChanged", "chartTitleEdit", "recalculateRowBounds", "stickyTopOffsetChanged", "overlayExclusiveChanged", "rowNodeDataChanged", "cellEditValuesChanged", "filterSwitched", "filterClosed", "headerRowsChanged", "rowExpansionStateChanged", "showRowGroupColsSetChanged"];
|
|
8
|
+
declare const _INTERNAL_EVENTS: readonly ["scrollbarWidthChanged", "keyShortcutChangedCellStart", "keyShortcutChangedCellEnd", "pinnedHeightChanged", "cellFocusCleared", "fullWidthRowFocused", "checkboxChanged", "heightScaleChanged", "suppressMovableColumns", "suppressMenuHide", "suppressFieldDotNotation", "columnPanelItemDragStart", "columnPanelItemDragEnd", "bodyHeightChanged", "columnContainerWidthChanged", "displayedColumnsWidthChanged", "scrollVisibilityChanged", "scrollGapChanged", "columnHoverChanged", "flashCells", "rowDragVisibilityChanged", "paginationPixelOffsetChanged", "displayedRowsChanged", "leftPinnedWidthChanged", "rightPinnedWidthChanged", "rowContainerHeightChanged", "headerHeightChanged", "columnGroupHeaderHeightChanged", "columnHeaderHeightChanged", "stylesChanged", "storeUpdated", "filterDestroyed", "filterHandlerDestroyed", "rowDataUpdateStarted", "rowCountReady", "advancedFilterEnabledChanged", "dataTypesInferred", "fieldValueChanged", "fieldPickerValueSelected", "richSelectListRowSelected", "sideBarUpdated", "alignedGridScroll", "alignedGridColumn", "gridOptionsChanged", "chartTitleEdit", "recalculateRowBounds", "stickyTopOffsetChanged", "stickyBottomOffsetChanged", "overlayExclusiveChanged", "rowNodeDataChanged", "cellEditValuesChanged", "filterSwitched", "filterClosed", "headerRowsChanged", "rowExpansionStateChanged", "showRowGroupColsSetChanged"];
|
|
9
9
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
10
|
-
export declare const _GET_ALL_EVENTS: () => readonly ["columnEverythingChanged", "newColumnsLoaded", "columnPivotModeChanged", "pivotMaxColumnsExceeded", "columnRowGroupChanged", "expandOrCollapseAll", "columnPivotChanged", "gridColumnsChanged", "columnValueChanged", "columnMoved", "columnVisible", "columnPinned", "columnGroupOpened", "columnResized", "displayedColumnsChanged", "virtualColumnsChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "asyncTransactionsFlushed", "rowGroupOpened", "rowDataUpdated", "pinnedRowDataChanged", "pinnedRowsChanged", "rangeSelectionChanged", "cellSelectionChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "toolPanelVisibleChanged", "toolPanelSizeChanged", "modelUpdated", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "fillStart", "fillEnd", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellClicked", "cellDoubleClicked", "cellMouseDown", "cellContextMenu", "cellValueChanged", "cellEditRequest", "rowValueChanged", "headerFocused", "cellFocused", "rowSelected", "selectionChanged", "tooltipShow", "tooltipHide", "cellKeyDown", "cellMouseOver", "cellMouseOut", "filterChanged", "filterModified", "filterUiChanged", "filterOpened", "floatingFilterUiChanged", "advancedFilterBuilderVisibleChanged", "sortChanged", "virtualRowRemoved", "rowClicked", "rowDoubleClicked", "gridReady", "gridPreDestroyed", "gridSizeChanged", "viewportChanged", "firstDataRendered", "dragStarted", "dragStopped", "dragCancelled", "rowEditingStarted", "rowEditingStopped", "cellEditingStarted", "cellEditingStopped", "bodyScroll", "bodyScrollEnd", "paginationChanged", "componentStateChanged", "storeRefreshed", "stateUpdated", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "findChanged", "rowResizeStarted", "rowResizeEnded", "columnsReset", "bulkEditingStarted", "bulkEditingStopped", "batchEditingStarted", "batchEditingStopped", "scrollbarWidthChanged", "keyShortcutChangedCellStart", "keyShortcutChangedCellEnd", "pinnedHeightChanged", "cellFocusCleared", "fullWidthRowFocused", "checkboxChanged", "heightScaleChanged", "suppressMovableColumns", "suppressMenuHide", "suppressFieldDotNotation", "columnPanelItemDragStart", "columnPanelItemDragEnd", "bodyHeightChanged", "columnContainerWidthChanged", "displayedColumnsWidthChanged", "scrollVisibilityChanged", "scrollGapChanged", "columnHoverChanged", "flashCells", "rowDragVisibilityChanged", "paginationPixelOffsetChanged", "displayedRowsChanged", "leftPinnedWidthChanged", "rightPinnedWidthChanged", "rowContainerHeightChanged", "headerHeightChanged", "columnGroupHeaderHeightChanged", "columnHeaderHeightChanged", "stylesChanged", "storeUpdated", "filterDestroyed", "filterHandlerDestroyed", "rowDataUpdateStarted", "rowCountReady", "advancedFilterEnabledChanged", "dataTypesInferred", "fieldValueChanged", "fieldPickerValueSelected", "richSelectListRowSelected", "sideBarUpdated", "alignedGridScroll", "alignedGridColumn", "gridOptionsChanged", "chartTitleEdit", "recalculateRowBounds", "stickyTopOffsetChanged", "overlayExclusiveChanged", "rowNodeDataChanged", "cellEditValuesChanged", "filterSwitched", "filterClosed", "headerRowsChanged", "rowExpansionStateChanged", "showRowGroupColsSetChanged"];
|
|
10
|
+
export declare const _GET_ALL_EVENTS: () => readonly ["columnEverythingChanged", "newColumnsLoaded", "columnPivotModeChanged", "pivotMaxColumnsExceeded", "columnRowGroupChanged", "expandOrCollapseAll", "columnPivotChanged", "gridColumnsChanged", "columnValueChanged", "columnMoved", "columnVisible", "columnPinned", "columnGroupOpened", "columnResized", "displayedColumnsChanged", "virtualColumnsChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "asyncTransactionsFlushed", "rowGroupOpened", "rowDataUpdated", "pinnedRowDataChanged", "pinnedRowsChanged", "rangeSelectionChanged", "cellSelectionChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "toolPanelVisibleChanged", "toolPanelSizeChanged", "modelUpdated", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "calculatedColumnCreated", "calculatedColumnExpressionChanged", "calculatedColumnRemoved", "calculatedColumnValidationStateChanged", "fillStart", "fillEnd", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellClicked", "cellDoubleClicked", "cellMouseDown", "cellContextMenu", "cellValueChanged", "cellEditRequest", "rowValueChanged", "headerFocused", "cellFocused", "rowSelected", "selectionChanged", "tooltipShow", "tooltipHide", "cellKeyDown", "cellMouseOver", "cellMouseOut", "filterChanged", "filterModified", "filterUiChanged", "filterOpened", "floatingFilterUiChanged", "advancedFilterBuilderVisibleChanged", "sortChanged", "virtualRowRemoved", "rowClicked", "rowDoubleClicked", "gridReady", "gridPreDestroyed", "gridSizeChanged", "viewportChanged", "firstDataRendered", "dragStarted", "dragStopped", "dragCancelled", "rowEditingStarted", "rowEditingStopped", "cellEditingStarted", "cellEditingStopped", "bodyScroll", "bodyScrollEnd", "paginationChanged", "componentStateChanged", "storeRefreshed", "stateUpdated", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "findChanged", "rowResizeStarted", "rowResizeEnded", "columnsReset", "bulkEditingStarted", "bulkEditingStopped", "batchEditingStarted", "batchEditingStopped", "scrollbarWidthChanged", "keyShortcutChangedCellStart", "keyShortcutChangedCellEnd", "pinnedHeightChanged", "cellFocusCleared", "fullWidthRowFocused", "checkboxChanged", "heightScaleChanged", "suppressMovableColumns", "suppressMenuHide", "suppressFieldDotNotation", "columnPanelItemDragStart", "columnPanelItemDragEnd", "bodyHeightChanged", "columnContainerWidthChanged", "displayedColumnsWidthChanged", "scrollVisibilityChanged", "scrollGapChanged", "columnHoverChanged", "flashCells", "rowDragVisibilityChanged", "paginationPixelOffsetChanged", "displayedRowsChanged", "leftPinnedWidthChanged", "rightPinnedWidthChanged", "rowContainerHeightChanged", "headerHeightChanged", "columnGroupHeaderHeightChanged", "columnHeaderHeightChanged", "stylesChanged", "storeUpdated", "filterDestroyed", "filterHandlerDestroyed", "rowDataUpdateStarted", "rowCountReady", "advancedFilterEnabledChanged", "dataTypesInferred", "fieldValueChanged", "fieldPickerValueSelected", "richSelectListRowSelected", "sideBarUpdated", "alignedGridScroll", "alignedGridColumn", "gridOptionsChanged", "chartTitleEdit", "recalculateRowBounds", "stickyTopOffsetChanged", "stickyBottomOffsetChanged", "overlayExclusiveChanged", "rowNodeDataChanged", "cellEditValuesChanged", "filterSwitched", "filterClosed", "headerRowsChanged", "rowExpansionStateChanged", "showRowGroupColsSetChanged"];
|
|
11
11
|
export type AgPublicEventType = (typeof _PUBLIC_EVENTS)[number];
|
|
12
12
|
export type AgInternalEventType = (typeof _INTERNAL_EVENTS)[number];
|
|
13
13
|
export type AgEventType = AgPublicEventType | AgInternalEventType;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { AgChartThemeOverrides } from 'ag-charts-types';
|
|
2
|
-
import type { AgEvent } from '
|
|
3
|
-
import type { ScrollDirection } from './agStack/interfaces/baseEvents';
|
|
2
|
+
import type { AgEvent, ScrollDirection } from 'ag-stack';
|
|
4
3
|
import type { RowsDropParams } from './dragAndDrop/rowDragTypes';
|
|
5
4
|
import type { ColDef } from './entities/colDef';
|
|
6
5
|
import type { GridOptions } from './entities/gridOptions';
|
|
@@ -58,6 +57,10 @@ export type AgEventTypeParams<TData = any, TContext = any> = BuildEventTypeMap<A
|
|
|
58
57
|
cutEnd: CutEndEvent<TData, TContext>;
|
|
59
58
|
pasteStart: PasteStartEvent<TData, TContext>;
|
|
60
59
|
pasteEnd: PasteEndEvent<TData, TContext>;
|
|
60
|
+
calculatedColumnCreated: CalculatedColumnCreatedEvent<TData, TContext>;
|
|
61
|
+
calculatedColumnExpressionChanged: CalculatedColumnExpressionChangedEvent<TData, TContext>;
|
|
62
|
+
calculatedColumnRemoved: CalculatedColumnRemovedEvent<TData, TContext>;
|
|
63
|
+
calculatedColumnValidationStateChanged: CalculatedColumnValidationStateChangedEvent<TData, TContext>;
|
|
61
64
|
fillStart: FillStartEvent<TData, TContext>;
|
|
62
65
|
fillEnd: FillEndEvent<TData, TContext>;
|
|
63
66
|
cellSelectionDeleteStart: CellSelectionDeleteStartEvent<TData, TContext>;
|
|
@@ -169,6 +172,7 @@ export type AgEventTypeParams<TData = any, TContext = any> = BuildEventTypeMap<A
|
|
|
169
172
|
chartTitleEdit: ChartTitleEditEvent<TData, TContext>;
|
|
170
173
|
recalculateRowBounds: RecalculateRowBoundsEvent<TData, TContext>;
|
|
171
174
|
stickyTopOffsetChanged: StickyTopOffsetChangedEvent<TData, TContext>;
|
|
175
|
+
stickyBottomOffsetChanged: StickyBottomOffsetChangedEvent<TData, TContext>;
|
|
172
176
|
overlayExclusiveChanged: AgEvent<'overlayExclusiveChanged'>;
|
|
173
177
|
rowNodeDataChanged: RowNodeDataChangedEvent<TData, TContext>;
|
|
174
178
|
columnsReset: ColumnsResetEvent<TData, TContext>;
|
|
@@ -452,6 +456,42 @@ export interface PasteStartEvent<TData = any, TContext = any> extends AgGlobalEv
|
|
|
452
456
|
export interface PasteEndEvent<TData = any, TContext = any> extends AgGlobalEvent<'pasteEnd', TData, TContext> {
|
|
453
457
|
source: string;
|
|
454
458
|
}
|
|
459
|
+
/**
|
|
460
|
+
* Why a calculated column's validation flipped to invalid:
|
|
461
|
+
* - `'unknownReference'` – the expression references a column id that no longer exists in the grid.
|
|
462
|
+
* - `'invalidExpression'` – the expression failed formula parsing (e.g. syntax error or unknown function).
|
|
463
|
+
*/
|
|
464
|
+
export type CalculatedColumnValidationReason = 'unknownReference' | 'invalidExpression';
|
|
465
|
+
/**
|
|
466
|
+
* Shared shape for calculated-column events. Extends {@link ColumnEvent}, so consumers get
|
|
467
|
+
* `column`, `columns`, and `source` (a {@link ColumnEventType}, e.g. `'api'` for programmatic mutations
|
|
468
|
+
* or `'calculatedColumn'` for actions taken via the calculated-column dialog or menu).
|
|
469
|
+
*/
|
|
470
|
+
export interface CalculatedColumnBaseEvent<T extends AgEventType, TData = any, TContext = any> extends ColumnEvent<T, TData, TContext> {
|
|
471
|
+
/** The calculated column the event relates to. Always set — calc-col events always target exactly one column. */
|
|
472
|
+
column: Column;
|
|
473
|
+
/** The current expression on the column — uses internal `[colId]` references, not header-name references. */
|
|
474
|
+
expression: string;
|
|
475
|
+
}
|
|
476
|
+
export interface CalculatedColumnCreatedEvent<TData = any, TContext = any> extends CalculatedColumnBaseEvent<'calculatedColumnCreated', TData, TContext> {
|
|
477
|
+
}
|
|
478
|
+
export interface CalculatedColumnRemovedEvent<TData = any, TContext = any> extends CalculatedColumnBaseEvent<'calculatedColumnRemoved', TData, TContext> {
|
|
479
|
+
}
|
|
480
|
+
export interface CalculatedColumnExpressionChangedEvent<TData = any, TContext = any> extends CalculatedColumnBaseEvent<'calculatedColumnExpressionChanged', TData, TContext> {
|
|
481
|
+
/** Previous expression value — uses internal `[colId]` references, not header-name references. */
|
|
482
|
+
oldExpression: string;
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* Fired when a calculated column's expression validity flips. Includes cascading flips — e.g. column
|
|
486
|
+
* `A` becomes invalid because a column it references was removed elsewhere; in that case `source`
|
|
487
|
+
* reports whatever ColumnEventType triggered the column-set change.
|
|
488
|
+
*/
|
|
489
|
+
export interface CalculatedColumnValidationStateChangedEvent<TData = any, TContext = any> extends CalculatedColumnBaseEvent<'calculatedColumnValidationStateChanged', TData, TContext> {
|
|
490
|
+
/** `true` when the expression parses and resolves all referenced columns; `false` otherwise. */
|
|
491
|
+
valid: boolean;
|
|
492
|
+
/** Why the expression is invalid. Only set when `valid` is `false`. */
|
|
493
|
+
reason?: CalculatedColumnValidationReason;
|
|
494
|
+
}
|
|
455
495
|
export interface FillStartEvent<TData = any, TContext = any> extends AgGlobalEvent<'fillStart', TData, TContext> {
|
|
456
496
|
}
|
|
457
497
|
export interface FillEndEvent<TData = any, TContext = any> extends AgGlobalEvent<'fillEnd', TData, TContext> {
|
|
@@ -580,6 +620,9 @@ export interface PaginationPixelOffsetChangedEvent<TData = any, TContext = any>
|
|
|
580
620
|
export interface StickyTopOffsetChangedEvent extends AgEvent<'stickyTopOffsetChanged'> {
|
|
581
621
|
offset: number;
|
|
582
622
|
}
|
|
623
|
+
export interface StickyBottomOffsetChangedEvent extends AgEvent<'stickyBottomOffsetChanged'> {
|
|
624
|
+
offset: number;
|
|
625
|
+
}
|
|
583
626
|
export interface CommonCellFocusParams {
|
|
584
627
|
/** Row index of the focused cell */
|
|
585
628
|
rowIndex: number | null;
|
|
@@ -625,7 +668,7 @@ export interface ExpandOrCollapseAllEvent<TData = any, TContext = any> extends A
|
|
|
625
668
|
/**---------------*/
|
|
626
669
|
/** COLUMN EVENTS */
|
|
627
670
|
/**---------------*/
|
|
628
|
-
export type ColumnEventType = 'sizeColumnsToFit' | 'autosizeColumns' | 'autosizeColumnHeaderHeight' | 'alignedGridChanged' | 'filterChanged' | 'filterDestroyed' | 'gridOptionsChanged' | 'gridInitializing' | 'toolPanelDragAndDrop' | 'toolPanelUi' | 'uiColumnMoved' | 'uiColumnResized' | 'uiColumnDragged' | 'uiColumnExpanded' | 'uiColumnSorted' | 'contextMenu' | 'columnMenu' | 'rowModelUpdated' | 'rowDataUpdated' | 'api' | 'flex' | 'pivotChart' | 'columnRowGroupChanged' | 'cellDataTypeInferred' | 'rowNumbersService' | 'viewportSizeFeature';
|
|
671
|
+
export type ColumnEventType = 'sizeColumnsToFit' | 'autosizeColumns' | 'autosizeColumnHeaderHeight' | 'alignedGridChanged' | 'filterChanged' | 'filterDestroyed' | 'gridOptionsChanged' | 'gridInitializing' | 'toolPanelDragAndDrop' | 'toolPanelUi' | 'uiColumnMoved' | 'uiColumnResized' | 'uiColumnDragged' | 'uiColumnExpanded' | 'uiColumnSorted' | 'contextMenu' | 'columnMenu' | 'rowModelUpdated' | 'rowDataUpdated' | 'api' | 'flex' | 'pivotChart' | 'columnRowGroupChanged' | 'cellDataTypeInferred' | 'rowNumbersService' | 'viewportSizeFeature' | 'calculatedColumn';
|
|
629
672
|
export interface ColumnEvent<T extends AgEventType | ColumnEventName = any, TData = any, TContext = any> extends AgGridEvent<TData, TContext, T> {
|
|
630
673
|
/** The impacted column, only set if action was on one column */
|
|
631
674
|
column: Column | null;
|
|
@@ -981,6 +1024,8 @@ export interface RecalculateRowBoundsEvent<TData = any, TContext = any> extends
|
|
|
981
1024
|
}
|
|
982
1025
|
export interface StickyTopOffsetChangedEvent<TData = any, TContext = any> extends AgGlobalEvent<'stickyTopOffsetChanged', TData, TContext> {
|
|
983
1026
|
}
|
|
1027
|
+
export interface StickyBottomOffsetChangedEvent<TData = any, TContext = any> extends AgGlobalEvent<'stickyBottomOffsetChanged', TData, TContext> {
|
|
1028
|
+
}
|
|
984
1029
|
export interface RowNodeDataChangedEvent<TData = any, TContext = any> extends AgGlobalEvent<'rowNodeDataChanged', TData, TContext> {
|
|
985
1030
|
node: RowNode<TData>;
|
|
986
1031
|
}
|
|
@@ -3,7 +3,7 @@ import type { AgColumn } from '../entities/agColumn';
|
|
|
3
3
|
import type { RowNode } from '../entities/rowNode';
|
|
4
4
|
import type { GridOptionsService } from '../gridOptionsService';
|
|
5
5
|
import type { ProcessCellForExportParams, ProcessGroupHeaderForExportParams, ProcessHeaderForExportParams, ProcessRowGroupForExportParams } from '../interfaces/exportParams';
|
|
6
|
-
import type {
|
|
6
|
+
import type { IRowGroupColsService } from '../interfaces/iColsService';
|
|
7
7
|
import type { CellValueResolveFrom } from '../interfaces/iEditService';
|
|
8
8
|
import type { ValueService } from '../valueService/valueService';
|
|
9
9
|
import type { GridSerializingParams, GridSerializingSession, RowAccumulator, RowSpanningAccumulator } from './iGridSerializer';
|
|
@@ -11,7 +11,7 @@ import type { GridSerializingParams, GridSerializingSession, RowAccumulator, Row
|
|
|
11
11
|
export declare abstract class BaseGridSerializingSession<T> implements GridSerializingSession<T> {
|
|
12
12
|
colModel: ColumnModel;
|
|
13
13
|
private readonly colNames;
|
|
14
|
-
rowGroupColsSvc?:
|
|
14
|
+
rowGroupColsSvc?: IRowGroupColsService;
|
|
15
15
|
valueSvc: ValueService;
|
|
16
16
|
gos: GridOptionsService;
|
|
17
17
|
processCellCallback?: (params: ProcessCellForExportParams) => string;
|
|
@@ -19,6 +19,8 @@ export declare abstract class BaseGridSerializingSession<T> implements GridSeria
|
|
|
19
19
|
processGroupHeaderCallback?: (params: ProcessGroupHeaderForExportParams) => string;
|
|
20
20
|
processRowGroupCallback?: (params: ProcessRowGroupForExportParams) => string;
|
|
21
21
|
valueFrom: CellValueResolveFrom;
|
|
22
|
+
/** Apply the Show Values As transform on top of the `valueFrom` base. */
|
|
23
|
+
transformValues: boolean;
|
|
22
24
|
constructor(config: GridSerializingParams);
|
|
23
25
|
abstract addCustomContent(customContent: T): void;
|
|
24
26
|
abstract onNewHeaderGroupingRow(): RowSpanningAccumulator;
|
|
@@ -4,7 +4,7 @@ import type { AgColumn } from '../entities/agColumn';
|
|
|
4
4
|
import type { RowNode } from '../entities/rowNode';
|
|
5
5
|
import type { GridOptionsService } from '../gridOptionsService';
|
|
6
6
|
import type { ProcessCellForExportParams, ProcessGroupHeaderForExportParams, ProcessHeaderForExportParams, ProcessRowGroupForExportParams } from '../interfaces/exportParams';
|
|
7
|
-
import type {
|
|
7
|
+
import type { IRowGroupColsService } from '../interfaces/iColsService';
|
|
8
8
|
import type { ColumnGroup } from '../interfaces/iColumn';
|
|
9
9
|
import type { CellValueResolveFrom } from '../interfaces/iEditService';
|
|
10
10
|
import type { ValueService } from '../valueService/valueService';
|
|
@@ -19,11 +19,13 @@ export interface RowSpanningAccumulator {
|
|
|
19
19
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
20
20
|
export interface GridSerializingParams {
|
|
21
21
|
colModel: ColumnModel;
|
|
22
|
-
rowGroupColsSvc?:
|
|
22
|
+
rowGroupColsSvc?: IRowGroupColsService;
|
|
23
23
|
colNames: ColumnNameService;
|
|
24
24
|
valueSvc: ValueService;
|
|
25
25
|
gos: GridOptionsService;
|
|
26
26
|
valueFrom?: CellValueResolveFrom;
|
|
27
|
+
/** Apply the Show Values As transform on top of the `valueFrom` base. */
|
|
28
|
+
transformValues?: boolean;
|
|
27
29
|
processCellCallback?: (params: ProcessCellForExportParams) => string;
|
|
28
30
|
processHeaderCallback?: (params: ProcessHeaderForExportParams) => string;
|
|
29
31
|
processGroupHeaderCallback?: (params: ProcessGroupHeaderForExportParams) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AgEvent } from '
|
|
2
|
-
import { AgPromise } from '
|
|
1
|
+
import type { AgEvent } from 'ag-stack';
|
|
2
|
+
import { AgPromise } from 'ag-stack';
|
|
3
3
|
import type { NamedBean } from '../context/bean';
|
|
4
4
|
import { BeanStub } from '../context/beanStub';
|
|
5
5
|
import type { BeanName } from '../context/context';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgPromise } from '
|
|
1
|
+
import type { AgPromise } from 'ag-stack';
|
|
2
2
|
import type { AgColumn } from '../entities/agColumn';
|
|
3
3
|
import type { CreateFilterHandlerFunc, DoesFilterPassParams, FilterAction, FilterDisplayComp, FilterDisplayParams, FilterDisplayState, FilterHandler, FilterHandlerBaseParams, FilterModel, FilterWrapperParams, IFilterComp, IFilterParams } from '../interfaces/iFilter';
|
|
4
4
|
import type { UserCompDetails } from '../interfaces/iUserCompDetails';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgEvent } from '
|
|
1
|
+
import type { AgEvent } from 'ag-stack';
|
|
2
2
|
import type { FilterAction } from '../interfaces/iFilter';
|
|
3
3
|
import type { ComponentSelector } from '../widgets/component';
|
|
4
4
|
import { Component } from '../widgets/component';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgPromise } from '
|
|
1
|
+
import { AgPromise } from 'ag-stack';
|
|
2
2
|
import type { AgColumn } from '../entities/agColumn';
|
|
3
3
|
import type { IAfterGuiAttachedParams } from '../interfaces/iAfterGuiAttachedParams';
|
|
4
4
|
import type { IFilterComp } from '../interfaces/iFilter';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LocaleTextFunc } from '
|
|
1
|
+
import type { LocaleTextFunc } from 'ag-stack';
|
|
2
2
|
import type { BeanCollection } from '../context/context';
|
|
3
3
|
import type { ValueGetterFunc } from '../entities/colDef';
|
|
4
4
|
import type { BaseCellDataType, CoreDataTypeDefinition, DataTypeFormatValueFunc } from '../entities/dataType';
|
|
@@ -6,6 +6,7 @@ import type { RowNode } from '../entities/rowNode';
|
|
|
6
6
|
import type { FilterChangedEventSourceType } from '../events';
|
|
7
7
|
import type { AdvancedFilterModel } from '../interfaces/advancedFilterModel';
|
|
8
8
|
import type { ColumnFilterState, FilterModel, IFilter } from '../interfaces/iFilter';
|
|
9
|
+
import type { IPinnedSectionCompHost } from '../interfaces/iPinnedSectionCompHost';
|
|
9
10
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
10
11
|
export declare class FilterManager extends BeanStub implements NamedBean {
|
|
11
12
|
beanName: "filterManager";
|
|
@@ -58,7 +59,7 @@ export declare class FilterManager extends BeanStub implements NamedBean {
|
|
|
58
59
|
hasFloatingFilters(): boolean;
|
|
59
60
|
getColumnFilterInstance<TFilter extends IFilter>(key: string | AgColumn): Promise<TFilter | null | undefined>;
|
|
60
61
|
private warnAdvFilters;
|
|
61
|
-
|
|
62
|
+
mountAdvFilterTopSectionComp(host: IPinnedSectionCompHost): void;
|
|
62
63
|
getHeaderRowCount(): number;
|
|
63
64
|
getHeaderHeight(): number;
|
|
64
65
|
private processFilterModelUpdateQueue;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IEventEmitter } from '
|
|
1
|
+
import type { IEventEmitter } from 'ag-stack';
|
|
2
2
|
import type { AgColumn } from '../entities/agColumn';
|
|
3
3
|
import type { IAfterGuiAttachedParams } from '../interfaces/iAfterGuiAttachedParams';
|
|
4
4
|
import type { FilterAction } from '../interfaces/iFilter';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IComponent } from '
|
|
1
|
+
import type { IComponent } from 'ag-stack';
|
|
2
2
|
import type { FilterChangedEvent } from '../../events';
|
|
3
3
|
import type { Column } from '../../interfaces/iColumn';
|
|
4
4
|
import type { AgGridCommon } from '../../interfaces/iCommon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgInputTextFieldParams } from '../../../
|
|
1
|
+
import type { AgInputTextFieldParams } from '../../../agWidgets/agInputTextField';
|
|
2
2
|
import { BeanStub } from '../../../context/beanStub';
|
|
3
3
|
import type { AgComponentSelectorType } from '../../../widgets/component';
|
|
4
4
|
import type { FloatingFilterInputService } from './iFloatingFilterInputService';
|
|
@@ -7,7 +7,7 @@ export declare class FloatingFilterTextInputService extends BeanStub implements
|
|
|
7
7
|
private eInput;
|
|
8
8
|
private onValueChanged;
|
|
9
9
|
constructor(params?: {
|
|
10
|
-
config?: AgInputTextFieldParams<AgComponentSelectorType
|
|
10
|
+
config?: AgInputTextFieldParams<AgComponentSelectorType>;
|
|
11
11
|
} | undefined);
|
|
12
12
|
setupGui(parentElement: HTMLElement): void;
|
|
13
13
|
setEditable(editable: boolean): void;
|
|
@@ -8,6 +8,7 @@ export interface DateFilterModel extends ISimpleFilterModel {
|
|
|
8
8
|
* The date value(s) associated with the filter.
|
|
9
9
|
* The type is `string` and the format is `YYYY-MM-DD hh:mm:ss`, e.g. 2019-05-24 00:00:00.
|
|
10
10
|
* If `useIsoSeparator = true`, the format is instead `YYYY-MM-DDThh:mm:ss`.
|
|
11
|
+
* If `includeTime = false`, or `cellDataType = 'date'` (and `includeTime` is not set), the time part is omitted and the format is `YYYY-MM-DD`, e.g. 2019-05-24.
|
|
11
12
|
* Custom filters can have no values (hence both are optional). Range filter has two values (from and to).
|
|
12
13
|
*/
|
|
13
14
|
dateFrom: string | null | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgPromise } from '
|
|
1
|
+
import type { AgPromise } from 'ag-stack';
|
|
2
2
|
import type { ContainerType, IAfterGuiAttachedParams } from '../../interfaces/iAfterGuiAttachedParams';
|
|
3
3
|
import type { FilterDisplayParams, FilterDisplayState, IDoesFilterPassParams, IFilterComp } from '../../interfaces/iFilter';
|
|
4
4
|
import type { ElementParams } from '../../utils/element';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LocaleTextFunc } from '
|
|
1
|
+
import type { LocaleTextFunc } from 'ag-stack';
|
|
2
2
|
import type { FilterWrapperParams } from '../../interfaces/iFilter';
|
|
3
3
|
import type { FilterLocaleTextKey } from '../filterLocaleText';
|
|
4
4
|
import type { IProvidedFilterParams } from './iProvidedFilter';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgPromise } from '
|
|
1
|
+
import { AgPromise } from 'ag-stack';
|
|
2
2
|
import type { IAfterGuiAttachedParams } from '../../interfaces/iAfterGuiAttachedParams';
|
|
3
3
|
import type { FilterDisplayParams } from '../../interfaces/iFilter';
|
|
4
4
|
import type { ElementParams } from '../../utils/element';
|
package/dist/types/src/grid.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export interface GridParams {
|
|
|
11
11
|
providedBeanInstances?: {
|
|
12
12
|
[key: string]: any;
|
|
13
13
|
};
|
|
14
|
-
setThemeOnGridDiv?: boolean;
|
|
15
14
|
withinStudio?: boolean;
|
|
16
15
|
/**
|
|
17
16
|
* Modules to be registered directly with this grid instance.
|
|
@@ -34,24 +33,24 @@ export interface Params {
|
|
|
34
33
|
export declare function createGrid<TData>(eGridDiv: HTMLElement, gridOptions: GridOptions<TData>, params?: Params): GridApi<TData>;
|
|
35
34
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
36
35
|
export declare class GridCoreCreator {
|
|
37
|
-
|
|
36
|
+
/**
|
|
37
|
+
* @param eOutermostGridOwned the outermost element owned by grid code, the parent of which is application-owned
|
|
38
|
+
* @param eGridDiv the element into which the grid UI should be appended - the inner element of the styled root
|
|
39
|
+
*/
|
|
40
|
+
create(eOutermostGridOwned: HTMLElement, eGridDiv: HTMLElement, providedOptions: GridOptions, createUi: (context: Context) => void, acceptChanges?: (context: Context) => void, params?: GridParams, _destroyCallback?: () => void): GridApi;
|
|
38
41
|
private getRegisteredModules;
|
|
39
42
|
private registerModuleFeatures;
|
|
40
43
|
private createProvidedBeans;
|
|
41
44
|
private createBeansList;
|
|
42
45
|
}
|
|
43
46
|
/**
|
|
44
|
-
* Returns
|
|
45
|
-
*
|
|
46
|
-
* The `gridElement` argument can be one of the following:
|
|
47
|
-
* - a DOM node
|
|
48
|
-
* - the grid ID as determined by the `gridId` grid option.
|
|
49
|
-
* - CSS selector string
|
|
50
|
-
*
|
|
51
|
-
* When using a CSS selector, it must refer to the element passed to `createGrid`.
|
|
47
|
+
* Returns the `GridApi` associated with a grid
|
|
52
48
|
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
49
|
+
* The `gridElement` argument can be:
|
|
50
|
+
* - the grid ID as determined by the `gridId` grid option
|
|
51
|
+
* - a DOM node or a CSS selector string identifying a DOM node. This can point
|
|
52
|
+
* to any element within a grid, or to the parent element of the grid if the
|
|
53
|
+
* grid is the first child.
|
|
55
54
|
*/
|
|
56
55
|
export declare function getGridApi(gridElement: Element | string | null | undefined): GridApi | undefined;
|
|
57
56
|
/**
|
|
@@ -6,18 +6,17 @@ export declare class FakeHScrollComp extends AbstractFakeScrollComp {
|
|
|
6
6
|
private visibleCols;
|
|
7
7
|
private scrollVisibleSvc;
|
|
8
8
|
wireBeans(beans: BeanCollection): void;
|
|
9
|
-
private readonly eLeftSpacer;
|
|
10
|
-
private readonly eRightSpacer;
|
|
11
9
|
private enableRtl;
|
|
10
|
+
private readonly eEndSpacer;
|
|
12
11
|
constructor();
|
|
13
12
|
postConstruct(): void;
|
|
14
13
|
destroy(): void;
|
|
15
14
|
protected initialiseInvisibleScrollbar(): void;
|
|
16
15
|
private refreshCompBottom;
|
|
17
|
-
|
|
18
|
-
private setFakeHScrollSpacerWidths;
|
|
16
|
+
private setContainerWidth;
|
|
19
17
|
private setScrollVisibleDebounce;
|
|
20
18
|
protected setScrollVisible(): void;
|
|
19
|
+
private getVerticalSpacerWidth;
|
|
21
20
|
getScrollPosition(): number;
|
|
22
21
|
setScrollPosition(value: number): void;
|
|
23
22
|
}
|
|
@@ -2,10 +2,14 @@ import type { ComponentSelector } from '../widgets/component';
|
|
|
2
2
|
import { AbstractFakeScrollComp } from './abstractFakeScrollComp';
|
|
3
3
|
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
|
|
4
4
|
export declare class FakeVScrollComp extends AbstractFakeScrollComp {
|
|
5
|
+
private readonly eSpacer;
|
|
6
|
+
private enableRtl;
|
|
5
7
|
constructor();
|
|
6
8
|
postConstruct(): void;
|
|
7
9
|
protected setScrollVisible(): void;
|
|
8
10
|
private onRowContainerHeightChanged;
|
|
11
|
+
private queueContainerHeightSync;
|
|
12
|
+
private syncContainerHeight;
|
|
9
13
|
getScrollPosition(): number;
|
|
10
14
|
setScrollPosition(value: number, force?: boolean): void;
|
|
11
15
|
}
|
|
@@ -2,16 +2,22 @@ import type { FocusableContainer } from '../interfaces/iFocusableContainer';
|
|
|
2
2
|
import type { ComponentSelector } from '../widgets/component';
|
|
3
3
|
import { Component } from '../widgets/component';
|
|
4
4
|
export declare class GridBodyComp extends Component implements FocusableContainer {
|
|
5
|
-
private readonly
|
|
6
|
-
private readonly
|
|
7
|
-
private readonly eStickyTop;
|
|
8
|
-
private readonly eStickyBottom;
|
|
5
|
+
private readonly eGridViewport;
|
|
6
|
+
private readonly eGridScrollableArea;
|
|
9
7
|
private readonly eTop;
|
|
8
|
+
private readonly eTopExtraRows;
|
|
10
9
|
private readonly eBottom;
|
|
11
10
|
private readonly eBody;
|
|
11
|
+
private readonly eScrollingRowContainer;
|
|
12
|
+
private readonly ePinnedTopRowContainer;
|
|
13
|
+
private readonly ePinnedBottomRowContainer;
|
|
12
14
|
private ctrl;
|
|
15
|
+
private pinnedSectionState;
|
|
16
|
+
private stickyBottomRowsHeight;
|
|
13
17
|
postConstruct(): void;
|
|
14
|
-
private
|
|
18
|
+
private toggleClassForContainers;
|
|
19
|
+
private setPinnedSection;
|
|
20
|
+
private refreshBottomSectionHeight;
|
|
15
21
|
getFocusableContainerName(): 'gridBody';
|
|
16
22
|
}
|
|
17
23
|
export declare const GridBodySelector: ComponentSelector;
|