ag-grid-community 32.3.2 → 33.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/README.md +27 -50
- package/dist/ag-grid-community.js +55097 -49364
- package/dist/ag-grid-community.min.js +1 -1
- package/dist/ag-grid-community.min.noStyle.js +1 -1
- package/dist/ag-grid-community.noStyle.js +54255 -48477
- package/dist/package/main.cjs.js +38771 -41341
- package/dist/package/main.cjs.min.js +162 -147
- package/dist/package/main.esm.min.mjs +170 -155
- package/dist/package/main.esm.mjs +39092 -41662
- package/dist/package/package.json +18 -13
- package/dist/types/package.json +118 -0
- package/dist/types/src/alignedGrids/alignedGridsModule.d.ts +6 -0
- package/dist/types/src/alignedGrids/alignedGridsService.d.ts +22 -0
- package/dist/types/src/allCommunityModule.d.ts +5 -0
- package/dist/types/src/api/apiFunctionService.d.ts +16 -0
- package/dist/types/src/api/apiModule.d.ts +10 -0
- package/dist/types/src/api/coreApi.d.ts +9 -0
- package/dist/types/src/api/gridApi.d.ts +908 -0
- package/dist/types/src/api/gridApiFunctions.d.ts +3 -0
- package/dist/types/src/api/rowApi.d.ts +14 -0
- package/dist/types/src/api/rowModelApiUtils.d.ts +7 -0
- package/dist/types/src/api/sharedApiModule.d.ts +10 -0
- package/dist/types/src/baseUrl.d.ts +1 -0
- package/dist/types/src/clientSideRowModel/abstractClientSideNodeManager.d.ts +62 -0
- package/dist/types/src/clientSideRowModel/changedRowNodes.d.ts +13 -0
- package/dist/types/src/clientSideRowModel/clientSideNodeManager.d.ts +5 -0
- package/dist/types/src/clientSideRowModel/clientSideRowModel.d.ts +141 -0
- package/dist/types/src/clientSideRowModel/clientSideRowModelApi.d.ts +16 -0
- package/dist/types/src/clientSideRowModel/clientSideRowModelModule.d.ts +10 -0
- package/dist/types/src/clientSideRowModel/filterStage.d.ts +19 -0
- package/dist/types/src/clientSideRowModel/sortStage.d.ts +14 -0
- package/dist/types/src/columnAutosize/columnAutosizeApi.d.ts +7 -0
- package/dist/types/src/columnAutosize/columnAutosizeModule.d.ts +7 -0
- package/dist/types/src/columnAutosize/columnAutosizeService.d.ts +33 -0
- package/dist/types/src/columnMove/column-moving.css-GENERATED.d.ts +1 -0
- package/dist/types/src/columnMove/columnAnimationService.d.ts +21 -0
- package/dist/types/src/columnMove/columnDrag/bodyDropPivotTarget.d.ts +22 -0
- package/dist/types/src/columnMove/columnDrag/bodyDropTarget.d.ts +32 -0
- package/dist/types/src/columnMove/columnDrag/moveColumnFeature.d.ts +48 -0
- package/dist/types/src/columnMove/columnMoveApi.d.ts +5 -0
- package/dist/types/src/columnMove/columnMoveModule.d.ts +6 -0
- package/dist/types/src/columnMove/columnMoveService.d.ts +21 -0
- package/dist/types/src/columnMove/columnMoveUtils.d.ts +5 -0
- package/dist/types/src/columnMove/internalColumnMoveUtils.d.ts +40 -0
- package/dist/types/src/columnResize/columnResizeApi.d.ts +8 -0
- package/dist/types/src/columnResize/columnResizeModule.d.ts +6 -0
- package/dist/types/src/columnResize/columnResizeService.d.ts +33 -0
- package/dist/types/src/columnResize/groupResizeFeature.d.ts +40 -0
- package/dist/types/src/columnResize/resizeFeature.d.ts +21 -0
- package/dist/types/src/columns/baseColsService.d.ts +43 -0
- package/dist/types/src/columns/columnApi.d.ts +26 -0
- package/dist/types/src/columns/columnDefFactory.d.ts +16 -0
- package/dist/types/src/columns/columnEventUtils.d.ts +7 -0
- package/dist/types/src/columns/columnFactoryUtils.d.ts +16 -0
- package/dist/types/src/columns/columnFlexService.d.ts +18 -0
- package/dist/types/src/columns/columnGroups/columnGroupApi.d.ts +20 -0
- package/dist/types/src/columns/columnGroups/columnGroupModule.d.ts +7 -0
- package/dist/types/src/columns/columnGroups/columnGroupService.d.ts +51 -0
- package/dist/types/src/columns/columnHover/columnHoverApi.d.ts +3 -0
- package/dist/types/src/columns/columnHover/columnHoverModule.d.ts +7 -0
- package/dist/types/src/columns/columnHover/columnHoverService.d.ts +18 -0
- package/dist/types/src/columns/columnHover/hoverFeature.d.ts +8 -0
- package/dist/types/src/columns/columnModel.d.ts +57 -0
- package/dist/types/src/columns/columnModule.d.ts +14 -0
- package/dist/types/src/columns/columnNameService.d.ts +19 -0
- package/dist/types/src/columns/columnStateUtils.d.ts +59 -0
- package/dist/types/src/columns/columnUtils.d.ts +22 -0
- package/dist/types/src/columns/columnViewportService.d.ts +37 -0
- package/dist/types/src/columns/dataTypeService.d.ts +47 -0
- package/dist/types/src/columns/selectionColService.d.ts +21 -0
- package/dist/types/src/columns/visibleColsService.d.ts +52 -0
- package/dist/types/src/components/framework/agComponentUtils.d.ts +7 -0
- package/dist/types/src/components/framework/cellRendererFunctionModule.d.ts +5 -0
- package/dist/types/src/components/framework/frameworkComponentWrapper.d.ts +26 -0
- package/dist/types/src/components/framework/registry.d.ts +25 -0
- package/dist/types/src/components/framework/userCompUtils.d.ts +52 -0
- package/dist/types/src/components/framework/userComponentFactory.d.ts +30 -0
- package/dist/types/src/constants/direction.d.ts +2 -0
- package/dist/types/src/constants/keyCode.d.ts +24 -0
- package/dist/types/src/context/beanStub.d.ts +83 -0
- package/dist/types/src/context/context.d.ts +251 -0
- package/dist/types/src/csvExport/csvCreator.d.ts +21 -0
- package/dist/types/src/csvExport/csvExportApi.d.ts +4 -0
- package/dist/types/src/csvExport/csvExportModule.d.ts +6 -0
- package/dist/types/src/csvExport/csvSerializingSession.d.ts +26 -0
- package/dist/types/src/ctrlsService.d.ts +55 -0
- package/dist/types/src/dragAndDrop/dragAndDropImageComponent.css-GENERATED.d.ts +1 -0
- package/dist/types/src/dragAndDrop/dragAndDropImageComponent.d.ts +25 -0
- package/dist/types/src/dragAndDrop/dragAndDropService.d.ts +153 -0
- package/dist/types/src/dragAndDrop/dragApi.d.ts +5 -0
- package/dist/types/src/dragAndDrop/dragModule.d.ts +24 -0
- package/dist/types/src/dragAndDrop/dragService.d.ts +53 -0
- package/dist/types/src/dragAndDrop/horizontalResizeService.d.ts +20 -0
- package/dist/types/src/dragAndDrop/rowDragComp.d.ts +24 -0
- package/dist/types/src/dragAndDrop/rowDragFeature.d.ts +55 -0
- package/dist/types/src/dragAndDrop/rowDragService.d.ts +14 -0
- package/dist/types/src/edit/cell-editing.css-GENERATED.d.ts +1 -0
- package/dist/types/src/edit/cellEditors/dateStringCellEditor.d.ts +6 -0
- package/dist/types/src/edit/cellEditors/selectCellEditor.d.ts +20 -0
- package/dist/types/src/edit/editApi.d.ts +12 -0
- package/dist/types/src/edit/editModule.d.ts +38 -0
- package/dist/types/src/edit/editService.d.ts +32 -0
- package/dist/types/src/edit/rowEditService.d.ts +9 -0
- package/dist/types/src/entities/agColumn.d.ts +149 -0
- package/dist/types/src/entities/agColumnGroup.d.ts +57 -0
- package/dist/types/src/entities/agProvidedColumnGroup.d.ts +42 -0
- package/dist/types/src/entities/colDef.d.ts +864 -0
- package/dist/types/src/entities/gridOptions.d.ts +2260 -0
- package/dist/types/src/entities/positionUtils.d.ts +13 -0
- package/dist/types/src/entities/rowNode.d.ts +305 -0
- package/dist/types/src/entities/rowNodeUtils.d.ts +5 -0
- package/dist/types/src/environment.d.ts +32 -0
- package/dist/types/src/eventService.d.ts +18 -0
- package/dist/types/src/eventTypes.d.ts +8 -0
- package/dist/types/src/events.d.ts +890 -0
- package/dist/types/src/export/baseCreator.d.ts +13 -0
- package/dist/types/src/export/baseGridSerializingSession.d.ts +37 -0
- package/dist/types/src/export/downloader.d.ts +1 -0
- package/dist/types/src/export/exportModule.d.ts +5 -0
- package/dist/types/src/export/gridSerializer.d.ts +27 -0
- package/dist/types/src/export/iGridSerializer.d.ts +37 -0
- package/dist/types/src/filter/column-filters.css-GENERATED.d.ts +1 -0
- package/dist/types/src/filter/columnFilterApi.d.ts +11 -0
- package/dist/types/src/filter/columnFilterService.d.ts +81 -0
- package/dist/types/src/filter/filterManager.d.ts +82 -0
- package/dist/types/src/filter/filterMenuFactory.d.ts +23 -0
- package/dist/types/src/filter/filterModule.d.ts +45 -0
- package/dist/types/src/filter/filterValueService.d.ts +10 -0
- package/dist/types/src/filter/filterWrapperComp.d.ts +21 -0
- package/dist/types/src/filter/floating/floatingFilter.d.ts +76 -0
- package/dist/types/src/filter/floating/floatingFilterMapper.d.ts +3 -0
- package/dist/types/src/filter/floating/provided/floatingFilterTextInputService.d.ts +20 -0
- package/dist/types/src/filter/floating/provided/readOnlyFloatingFilter.d.ts +11 -0
- package/dist/types/src/filter/floating/provided/simpleFloatingFilter.d.ts +25 -0
- package/dist/types/src/filter/floating/provided/textInputFloatingFilter.d.ts +24 -0
- package/dist/types/src/filter/provided/date/dateCompWrapper.d.ts +25 -0
- package/dist/types/src/filter/provided/date/dateFilter.d.ts +43 -0
- package/dist/types/src/filter/provided/date/dateFilterModelFormatter.d.ts +14 -0
- package/dist/types/src/filter/provided/date/dateFloatingFilter.d.ts +24 -0
- package/dist/types/src/filter/provided/date/defaultDateComponent.d.ts +23 -0
- package/dist/types/src/filter/provided/number/numberFilter.d.ts +32 -0
- package/dist/types/src/filter/provided/number/numberFloatingFilter.d.ts +12 -0
- package/dist/types/src/filter/provided/optionsFactory.d.ts +13 -0
- package/dist/types/src/filter/provided/providedFilter.d.ts +84 -0
- package/dist/types/src/filter/provided/simpleFilter.d.ts +106 -0
- package/dist/types/src/filter/provided/simpleFilterModelFormatter.d.ts +16 -0
- package/dist/types/src/filter/provided/simpleFilterUtils.d.ts +7 -0
- package/dist/types/src/filter/provided/text/textFilter.d.ts +33 -0
- package/dist/types/src/filter/provided/text/textFloatingFilter.d.ts +11 -0
- package/dist/types/src/filter/quickFilterService.d.ts +28 -0
- package/dist/types/src/focusService.d.ts +72 -0
- package/dist/types/src/grid.d.ts +54 -0
- package/dist/types/src/gridBodyComp/abstractFakeScrollComp.d.ts +21 -0
- package/dist/types/src/gridBodyComp/centerWidthFeature.d.ts +8 -0
- package/dist/types/src/gridBodyComp/fakeHScrollComp.d.ts +23 -0
- package/dist/types/src/gridBodyComp/fakeVScrollComp.d.ts +11 -0
- package/dist/types/src/gridBodyComp/gridBodyComp.d.ts +15 -0
- package/dist/types/src/gridBodyComp/gridBodyCtrl.d.ts +81 -0
- package/dist/types/src/gridBodyComp/gridBodyScrollFeature.d.ts +71 -0
- package/dist/types/src/gridBodyComp/mouseEventUtils.d.ts +12 -0
- package/dist/types/src/gridBodyComp/rowContainer/rowContainerComp.d.ts +20 -0
- package/dist/types/src/gridBodyComp/rowContainer/rowContainerCtrl.d.ts +71 -0
- package/dist/types/src/gridBodyComp/rowContainer/rowContainerEventsFeature.d.ts +26 -0
- package/dist/types/src/gridBodyComp/rowContainer/setHeightFeature.d.ts +8 -0
- package/dist/types/src/gridBodyComp/rowContainer/setPinnedWidthFeature.d.ts +9 -0
- package/dist/types/src/gridBodyComp/scrollVisibleService.d.ts +24 -0
- package/dist/types/src/gridBodyComp/viewportSizeFeature.d.ts +22 -0
- package/dist/types/src/gridComp/gridCtrl.d.ts +43 -0
- package/dist/types/src/gridCoreModule.d.ts +6 -0
- package/dist/types/src/gridDestroyService.d.ts +7 -0
- package/dist/types/src/gridOptionsDefault.d.ts +173 -0
- package/dist/types/src/gridOptionsInitial.d.ts +88 -0
- package/dist/types/src/gridOptionsService.d.ts +108 -0
- package/dist/types/src/gridOptionsUtils.d.ts +74 -0
- package/dist/types/src/headerRendering/cells/abstractCell/abstractHeaderCellCtrl.d.ts +59 -0
- package/dist/types/src/headerRendering/cells/column/headerCellComp.d.ts +15 -0
- package/dist/types/src/headerRendering/cells/column/headerCellCtrl.d.ts +78 -0
- package/dist/types/src/headerRendering/cells/column/headerComp.d.ts +131 -0
- package/dist/types/src/headerRendering/cells/columnGroup/headerGroupCellCtrl.d.ts +42 -0
- package/dist/types/src/headerRendering/cells/columnGroup/headerGroupComp.d.ts +50 -0
- package/dist/types/src/headerRendering/cells/floatingFilter/headerFilterCellCtrl.d.ts +41 -0
- package/dist/types/src/headerRendering/cells/floatingFilter/iHeaderFilterCellComp.d.ts +12 -0
- package/dist/types/src/headerRendering/cells/headerModule.d.ts +11 -0
- package/dist/types/src/headerRendering/gridHeaderCtrl.d.ts +19 -0
- package/dist/types/src/headerRendering/headerUtils.d.ts +8 -0
- package/dist/types/src/headerRendering/row/headerRowComp.d.ts +12 -0
- package/dist/types/src/headerRendering/row/headerRowCtrl.d.ts +59 -0
- package/dist/types/src/headerRendering/rowContainer/headerRowContainerCtrl.d.ts +44 -0
- package/dist/types/src/infiniteRowModel/infiniteBlock.d.ts +38 -0
- package/dist/types/src/infiniteRowModel/infiniteCache.d.ts +49 -0
- package/dist/types/src/infiniteRowModel/infiniteRowModel.d.ts +42 -0
- package/dist/types/src/infiniteRowModel/infiniteRowModelApi.d.ts +4 -0
- package/dist/types/src/infiniteRowModel/infiniteRowModelModule.d.ts +6 -0
- package/dist/types/src/infiniteRowModel/rowNodeBlockLoader.d.ts +23 -0
- package/dist/types/src/interfaces/IRangeService.d.ts +81 -0
- package/dist/types/src/interfaces/IServerSideStore.d.ts +35 -0
- package/dist/types/src/interfaces/autoSize.d.ts +51 -0
- package/dist/types/src/interfaces/dateComponent.d.ts +42 -0
- package/dist/types/src/interfaces/exportParams.d.ts +153 -0
- package/dist/types/src/interfaces/gridState.d.ts +160 -0
- package/dist/types/src/interfaces/groupCellRenderer.d.ts +68 -0
- package/dist/types/src/interfaces/iAggColumnNameService.d.ts +4 -0
- package/dist/types/src/interfaces/iAutoColService.d.ts +11 -0
- package/dist/types/src/interfaces/iCallbackParams.d.ts +236 -0
- package/dist/types/src/interfaces/iCellEditor.d.ts +97 -0
- package/dist/types/src/interfaces/iCellPosition.d.ts +6 -0
- package/dist/types/src/interfaces/iCellRangeFeature.d.ts +8 -0
- package/dist/types/src/interfaces/iCellsParams.d.ts +20 -0
- package/dist/types/src/interfaces/iChartOptions.d.ts +62 -0
- package/dist/types/src/interfaces/iClientSideNodeManager.d.ts +24 -0
- package/dist/types/src/interfaces/iClientSideRowModel.d.ts +94 -0
- package/dist/types/src/interfaces/iColsService.d.ts +49 -0
- package/dist/types/src/interfaces/iColumn.d.ts +242 -0
- package/dist/types/src/interfaces/iContextMenu.d.ts +38 -0
- package/dist/types/src/interfaces/iDatasource.d.ts +27 -0
- package/dist/types/src/interfaces/iDragItem.d.ts +30 -0
- package/dist/types/src/interfaces/iExcelCreator.d.ts +584 -0
- package/dist/types/src/interfaces/iExpansionService.d.ts +14 -0
- package/dist/types/src/interfaces/iFilter.d.ts +182 -0
- package/dist/types/src/interfaces/iFooterService.d.ts +7 -0
- package/dist/types/src/interfaces/iFrameworkEventListenerService.d.ts +6 -0
- package/dist/types/src/interfaces/iFrameworkOverrides.d.ts +47 -0
- package/dist/types/src/interfaces/iGroupHideOpenParentsService.d.ts +9 -0
- package/dist/types/src/interfaces/iHeaderPosition.d.ts +7 -0
- package/dist/types/src/interfaces/iLoadingCellRenderer.d.ts +8 -0
- package/dist/types/src/interfaces/iModule.d.ts +61 -0
- package/dist/types/src/interfaces/iPivotResultColsService.d.ts +11 -0
- package/dist/types/src/interfaces/iPopup.d.ts +25 -0
- package/dist/types/src/interfaces/iRedrawRowsParams.d.ts +5 -0
- package/dist/types/src/interfaces/iRowChildrenService.d.ts +4 -0
- package/dist/types/src/interfaces/iRowDragItem.d.ts +5 -0
- package/dist/types/src/interfaces/iRowModel.d.ts +50 -0
- package/dist/types/src/interfaces/iRowNode.d.ts +270 -0
- package/dist/types/src/interfaces/iRowNodeStage.d.ts +18 -0
- package/dist/types/src/interfaces/iRowPosition.d.ts +8 -0
- package/dist/types/src/interfaces/iSelectionService.d.ts +67 -0
- package/dist/types/src/interfaces/iServerSideDatasource.d.ts +59 -0
- package/dist/types/src/interfaces/iServerSideRowModel.d.ts +55 -0
- package/dist/types/src/interfaces/iSetFilter.d.ts +203 -0
- package/dist/types/src/interfaces/iShowRowGroupColsService.d.ts +8 -0
- package/dist/types/src/interfaces/iSideBar.d.ts +62 -0
- package/dist/types/src/interfaces/iSortModelItem.d.ts +6 -0
- package/dist/types/src/interfaces/iSortOption.d.ts +5 -0
- package/dist/types/src/interfaces/iSparklineCellRendererParams.d.ts +6 -0
- package/dist/types/src/interfaces/iStickyRows.d.ts +17 -0
- package/dist/types/src/interfaces/iToolPanel.d.ts +54 -0
- package/dist/types/src/interfaces/iUserCompDetails.d.ts +17 -0
- package/dist/types/src/interfaces/masterDetail.d.ts +56 -0
- package/dist/types/src/interfaces/menuItem.d.ts +137 -0
- package/dist/types/src/interfaces/serverSideTransaction.d.ts +61 -0
- package/dist/types/src/main.d.ts +323 -0
- package/dist/types/src/misc/animationFrameModule.d.ts +6 -0
- package/dist/types/src/misc/animationFrameService.d.ts +30 -0
- package/dist/types/src/misc/apiEvents/apiEventModule.d.ts +6 -0
- package/dist/types/src/misc/apiEvents/apiEventService.d.ts +21 -0
- package/dist/types/src/misc/apiEvents/eventApi.d.ts +7 -0
- package/dist/types/src/misc/locale/localeModule.d.ts +6 -0
- package/dist/types/src/misc/locale/localeService.d.ts +7 -0
- package/dist/types/src/misc/locale/localeUtils.d.ts +3 -0
- package/dist/types/src/misc/menu/menuApi.d.ts +4 -0
- package/dist/types/src/misc/menu/menuService.d.ts +49 -0
- package/dist/types/src/misc/menu/sharedMenuModule.d.ts +6 -0
- package/dist/types/src/misc/state/stateModule.d.ts +7 -0
- package/dist/types/src/misc/state/stateService.d.ts +52 -0
- package/dist/types/src/misc/touchModule.d.ts +5 -0
- package/dist/types/src/misc/touchService.d.ts +18 -0
- package/dist/types/src/modules/moduleRegistry.d.ts +20 -0
- package/dist/types/src/navigation/cellNavigationService.d.ts +25 -0
- package/dist/types/src/navigation/headerNavigationService.d.ts +22 -0
- package/dist/types/src/navigation/navigationApi.d.ts +10 -0
- package/dist/types/src/navigation/navigationModule.d.ts +6 -0
- package/dist/types/src/navigation/navigationService.d.ts +44 -0
- package/dist/types/src/pagination/pageBoundsListener.d.ts +8 -0
- package/dist/types/src/pagination/pageBoundsService.d.ts +18 -0
- package/dist/types/src/pagination/pageSizeSelector/pageSizeSelectorComp.d.ts +24 -0
- package/dist/types/src/pagination/paginationAutoPageSizeService.d.ts +11 -0
- package/dist/types/src/pagination/paginationComp.css-GENERATED.d.ts +1 -0
- package/dist/types/src/pagination/paginationComp.d.ts +46 -0
- package/dist/types/src/pagination/paginationModule.d.ts +7 -0
- package/dist/types/src/pagination/paginationService.d.ts +50 -0
- package/dist/types/src/pinnedColumns/pinnedColumnModule.css-GENERATED.d.ts +1 -0
- package/dist/types/src/pinnedColumns/pinnedColumnModule.d.ts +6 -0
- package/dist/types/src/pinnedColumns/pinnedColumnService.d.ts +25 -0
- package/dist/types/src/pinnedRowModel/pinnedRowModel.d.ts +32 -0
- package/dist/types/src/pinnedRowModel/pinnedRowModule.d.ts +7 -0
- package/dist/types/src/propertyKeys.d.ts +33 -0
- package/dist/types/src/rendering/ariaAnnouncementService.d.ts +16 -0
- package/dist/types/src/rendering/ariaModule.d.ts +5 -0
- package/dist/types/src/rendering/autoWidthCalculator.d.ts +14 -0
- package/dist/types/src/rendering/autoWidthModule.d.ts +5 -0
- package/dist/types/src/rendering/cell/cellComp.d.ts +50 -0
- package/dist/types/src/rendering/cell/cellCtrl.d.ts +143 -0
- package/dist/types/src/rendering/cell/cellFlashService.d.ts +11 -0
- package/dist/types/src/rendering/cell/cellKeyboardListenerFeature.d.ts +24 -0
- package/dist/types/src/rendering/cell/cellMouseListenerFeature.d.ts +20 -0
- package/dist/types/src/rendering/cell/cellPositionFeature.d.ts +32 -0
- package/dist/types/src/rendering/cell/highlightChangesApi.d.ts +3 -0
- package/dist/types/src/rendering/cell/highlightChangesModule.d.ts +7 -0
- package/dist/types/src/rendering/cellRenderers/animateShowChangeCellRenderer.d.ts +14 -0
- package/dist/types/src/rendering/cellRenderers/animateSlideCellRenderer.css-GENERATED.d.ts +1 -0
- package/dist/types/src/rendering/cellRenderers/animateSlideCellRenderer.d.ts +12 -0
- package/dist/types/src/rendering/cellRenderers/cellRendererModule.d.ts +6 -0
- package/dist/types/src/rendering/cellRenderers/checkboxCellRenderer.css-GENERATED.d.ts +1 -0
- package/dist/types/src/rendering/cellRenderers/iCellRenderer.d.ts +78 -0
- package/dist/types/src/rendering/features/positionableFeature.d.ts +93 -0
- package/dist/types/src/rendering/features/setLeftFeature.d.ts +20 -0
- package/dist/types/src/rendering/overlays/overlayComponent.d.ts +14 -0
- package/dist/types/src/rendering/overlays/overlayModule.d.ts +7 -0
- package/dist/types/src/rendering/overlays/overlayService.d.ts +31 -0
- package/dist/types/src/rendering/overlays/overlayWrapperComponent.css-GENERATED.d.ts +1 -0
- package/dist/types/src/rendering/overlays/overlayWrapperComponent.d.ts +26 -0
- package/dist/types/src/rendering/renderApi.d.ts +13 -0
- package/dist/types/src/rendering/renderModule.d.ts +6 -0
- package/dist/types/src/rendering/row/rowAutoHeightModule.d.ts +6 -0
- package/dist/types/src/rendering/row/rowAutoHeightService.d.ts +17 -0
- package/dist/types/src/rendering/row/rowComp.d.ts +20 -0
- package/dist/types/src/rendering/row/rowCtrl.d.ts +167 -0
- package/dist/types/src/rendering/rowContainerHeightService.d.ts +28 -0
- package/dist/types/src/rendering/rowRenderer.d.ts +157 -0
- package/dist/types/src/selection/baseSelectionService.d.ts +46 -0
- package/dist/types/src/selection/checkboxSelectionComponent.d.ts +28 -0
- package/dist/types/src/selection/rowRangeSelectionContext.d.ts +50 -0
- package/dist/types/src/selection/rowSelectionApi.d.ts +21 -0
- package/dist/types/src/selection/rowSelectionModule.d.ts +10 -0
- package/dist/types/src/selection/selectAllFeature.d.ts +29 -0
- package/dist/types/src/selection/selectionService.d.ts +70 -0
- package/dist/types/src/sort/rowNodeSorter.d.ts +18 -0
- package/dist/types/src/sort/sortIndicatorComp.d.ts +22 -0
- package/dist/types/src/sort/sortModule.d.ts +7 -0
- package/dist/types/src/sort/sortService.d.ts +39 -0
- package/dist/types/src/styling/cellCustomStyleFeature.d.ts +16 -0
- package/dist/types/src/styling/cellStyleService.d.ts +13 -0
- package/dist/types/src/styling/layoutFeature.d.ts +20 -0
- package/dist/types/src/styling/rowStyleService.d.ts +12 -0
- package/dist/types/src/styling/stylingModule.d.ts +11 -0
- package/dist/types/src/styling/stylingUtils.d.ts +8 -0
- package/dist/types/src/syncService.d.ts +11 -0
- package/dist/types/src/theming/Part.d.ts +64 -0
- package/dist/types/src/theming/Theme.d.ts +70 -0
- package/dist/types/src/theming/core/core-css.d.ts +550 -0
- package/dist/types/src/theming/core/core.css-GENERATED.d.ts +1 -0
- package/dist/types/src/theming/inject.d.ts +6 -0
- package/dist/types/src/theming/parts/checkbox-style/checkbox-style-default.css-GENERATED.d.ts +1 -0
- package/dist/types/src/theming/parts/checkbox-style/checkbox-styles.d.ts +15 -0
- package/dist/types/src/theming/parts/color-scheme/color-schemes.d.ts +69 -0
- package/dist/types/src/theming/parts/icon-set/alpine/icon-set-alpine.css-GENERATED.d.ts +1 -0
- package/dist/types/src/theming/parts/icon-set/alpine/icon-set-alpine.d.ts +1 -0
- package/dist/types/src/theming/parts/icon-set/icon-sets.d.ts +4 -0
- package/dist/types/src/theming/parts/icon-set/material/icon-set-material.css-GENERATED.d.ts +1 -0
- package/dist/types/src/theming/parts/icon-set/material/icon-set-material.d.ts +1 -0
- package/dist/types/src/theming/parts/icon-set/overrides/icon-overrides.d.ts +22 -0
- package/dist/types/src/theming/parts/icon-set/quartz/icon-set-quartz.d.ts +7 -0
- package/dist/types/src/theming/parts/icon-set/shared-icon-styles.css-GENERATED.d.ts +1 -0
- package/dist/types/src/theming/parts/input-style/input-style-base.css-GENERATED.d.ts +1 -0
- package/dist/types/src/theming/parts/input-style/input-style-bordered.css-GENERATED.d.ts +1 -0
- package/dist/types/src/theming/parts/input-style/input-style-underlined.css-GENERATED.d.ts +1 -0
- package/dist/types/src/theming/parts/input-style/input-styles.d.ts +134 -0
- package/dist/types/src/theming/parts/tab-style/tab-style-base.css-GENERATED.d.ts +1 -0
- package/dist/types/src/theming/parts/tab-style/tab-styles.d.ts +200 -0
- package/dist/types/src/theming/parts/theme/themes.d.ts +582 -0
- package/dist/types/src/theming/theme-types.d.ts +216 -0
- package/dist/types/src/theming/theme-utils.d.ts +12 -0
- package/dist/types/src/tooltip/tooltip.css-GENERATED.d.ts +1 -0
- package/dist/types/src/tooltip/tooltipFeature.d.ts +40 -0
- package/dist/types/src/tooltip/tooltipModule.d.ts +6 -0
- package/dist/types/src/tooltip/tooltipService.d.ts +17 -0
- package/dist/types/src/tooltip/tooltipStateManager.d.ts +63 -0
- package/dist/types/src/undoRedo/undoRedoService.d.ts +27 -0
- package/dist/types/src/utils/aria.d.ts +34 -0
- package/dist/types/src/utils/array.d.ts +8 -0
- package/dist/types/src/utils/browser.d.ts +12 -0
- package/dist/types/src/utils/changedPath.d.ts +21 -0
- package/dist/types/src/utils/dom.d.ts +94 -0
- package/dist/types/src/utils/event.d.ts +30 -0
- package/dist/types/src/utils/focus.d.ts +13 -0
- package/dist/types/src/utils/function.d.ts +27 -0
- package/dist/types/src/utils/generic.d.ts +12 -0
- package/dist/types/src/utils/icon.d.ts +16 -0
- package/dist/types/src/utils/keyboard.d.ts +14 -0
- package/dist/types/src/utils/number.d.ts +9 -0
- package/dist/types/src/utils/object.d.ts +3 -0
- package/dist/types/src/utils/promise.d.ts +13 -0
- package/dist/types/src/utils/string.d.ts +1 -0
- package/dist/types/src/validation/enterpriseModuleNames.d.ts +2 -0
- package/dist/types/src/validation/errorMessages/errorText.d.ts +599 -0
- package/dist/types/src/validation/logging.d.ts +24 -0
- package/dist/types/src/validation/resolvableModuleNames.d.ts +8 -0
- package/dist/types/src/validation/rules/colDefValidations.d.ts +3 -0
- package/dist/types/src/validation/rules/gridOptionsValidations.d.ts +3 -0
- package/dist/types/src/validation/rules/iconValidations.d.ts +5 -0
- package/dist/types/src/validation/rules/menuItemValidations.d.ts +3 -0
- package/dist/types/src/validation/rules/userCompValidations.d.ts +3 -0
- package/dist/types/src/validation/validationModule.d.ts +5 -0
- package/dist/types/src/validation/validationService.d.ts +36 -0
- package/dist/types/src/validation/validationTypes.d.ts +39 -0
- package/dist/types/src/valueService/cellApi.d.ts +4 -0
- package/dist/types/src/valueService/changeDetectionService.d.ts +8 -0
- package/dist/types/src/valueService/expressionService.d.ts +10 -0
- package/dist/types/src/valueService/valueModule.d.ts +20 -0
- package/dist/types/src/valueService/valueService.d.ts +45 -0
- package/dist/types/src/vanillaFrameworkOverrides.d.ts +16 -0
- package/dist/types/src/version.d.ts +1 -0
- package/dist/types/src/widgets/agAbstractLabel.css-GENERATED.d.ts +1 -0
- package/dist/types/src/widgets/agPickerField.css-GENERATED.d.ts +1 -0
- package/dist/types/src/widgets/agPickerField.d.ts +45 -0
- package/dist/types/src/widgets/agSelect.css-GENERATED.d.ts +1 -0
- package/dist/types/src/widgets/agSelect.d.ts +30 -0
- package/dist/types/src/widgets/agToggleButton.css-GENERATED.d.ts +1 -0
- package/dist/types/src/widgets/component.d.ts +77 -0
- package/dist/types/src/widgets/managedFocusFeature.d.ts +16 -0
- package/dist/types/src/widgets/popupModule.d.ts +5 -0
- package/dist/types/src/widgets/popupService.d.ts +71 -0
- package/dist/types/src/widgets/tabGuardCtrl.d.ts +58 -0
- package/dist/types/src/widgets/touchListener.d.ts +32 -0
- package/package.json +18 -13
- package/styles/_css-content.scss +34 -18
- package/styles/_index.scss +2 -2
- package/styles/ag-grid-no-native-widgets.css +17 -9
- package/styles/ag-grid-no-native-widgets.min.css +3 -3
- package/styles/ag-grid.css +17 -9
- package/styles/ag-grid.min.css +3 -3
- package/dist/types/client-side-row-model/clientSideRowModel/clientSideNodeManager.d.ts +0 -45
- package/dist/types/client-side-row-model/clientSideRowModel/clientSideRowModel.d.ts +0 -144
- package/dist/types/client-side-row-model/clientSideRowModel/clientSideRowModelApi.d.ts +0 -12
- package/dist/types/client-side-row-model/clientSideRowModel/filterStage.d.ts +0 -11
- package/dist/types/client-side-row-model/clientSideRowModel/flattenStage.d.ts +0 -13
- package/dist/types/client-side-row-model/clientSideRowModel/immutableService.d.ts +0 -15
- package/dist/types/client-side-row-model/clientSideRowModel/sortService.d.ts +0 -18
- package/dist/types/client-side-row-model/clientSideRowModel/sortStage.d.ts +0 -9
- package/dist/types/client-side-row-model/clientSideRowModelModule.d.ts +0 -3
- package/dist/types/client-side-row-model/main.d.ts +0 -1
- package/dist/types/client-side-row-model/version.d.ts +0 -1
- package/dist/types/core/alignedGridsModule.d.ts +0 -1
- package/dist/types/core/alignedGridsService.d.ts +0 -28
- package/dist/types/core/api/apiFunctionService.d.ts +0 -19
- package/dist/types/core/api/apiModule.d.ts +0 -10
- package/dist/types/core/api/cellApi.d.ts +0 -8
- package/dist/types/core/api/coreApi.d.ts +0 -9
- package/dist/types/core/api/eventApi.d.ts +0 -7
- package/dist/types/core/api/gridApi.d.ts +0 -924
- package/dist/types/core/api/gridApiFunctions.d.ts +0 -255
- package/dist/types/core/api/keyboardNavigationApi.d.ts +0 -10
- package/dist/types/core/api/menuApi.d.ts +0 -8
- package/dist/types/core/api/rowApi.d.ts +0 -21
- package/dist/types/core/api/rowModelHelperService.d.ts +0 -18
- package/dist/types/core/api/rowSelectionApi.d.ts +0 -16
- package/dist/types/core/api/sharedApiModule.d.ts +0 -2
- package/dist/types/core/cellNavigationService.d.ts +0 -32
- package/dist/types/core/columns/columnApi.d.ts +0 -63
- package/dist/types/core/columns/columnApplyStateService.d.ts +0 -70
- package/dist/types/core/columns/columnAutosizeService.d.ts +0 -29
- package/dist/types/core/columns/columnDefFactory.d.ts +0 -10
- package/dist/types/core/columns/columnEventDispatcher.d.ts +0 -32
- package/dist/types/core/columns/columnFactory.d.ts +0 -38
- package/dist/types/core/columns/columnGetStateService.d.ts +0 -13
- package/dist/types/core/columns/columnGroupStateService.d.ts +0 -21
- package/dist/types/core/columns/columnModel.d.ts +0 -130
- package/dist/types/core/columns/columnModule.d.ts +0 -2
- package/dist/types/core/columns/columnMoveService.d.ts +0 -21
- package/dist/types/core/columns/columnNameService.d.ts +0 -19
- package/dist/types/core/columns/columnSizeService.d.ts +0 -60
- package/dist/types/core/columns/columnUtils.d.ts +0 -10
- package/dist/types/core/columns/columnViewportService.d.ts +0 -39
- package/dist/types/core/columns/controlsColService.d.ts +0 -11
- package/dist/types/core/columns/dataTypeService.d.ts +0 -57
- package/dist/types/core/columns/funcColsService.d.ts +0 -52
- package/dist/types/core/columns/pivotResultColsService.d.ts +0 -24
- package/dist/types/core/columns/visibleColsService.d.ts +0 -84
- package/dist/types/core/components/componentUtil.d.ts +0 -15
- package/dist/types/core/components/framework/agComponentUtils.d.ts +0 -15
- package/dist/types/core/components/framework/componentMetadataProvider.d.ts +0 -19
- package/dist/types/core/components/framework/componentTypes.d.ts +0 -25
- package/dist/types/core/components/framework/frameworkComponentWrapper.d.ts +0 -26
- package/dist/types/core/components/framework/userComponentFactory.d.ts +0 -81
- package/dist/types/core/components/framework/userComponentRegistry.d.ts +0 -20
- package/dist/types/core/constants/direction.d.ts +0 -8
- package/dist/types/core/constants/keyCode.d.ts +0 -24
- package/dist/types/core/context/beanStub.d.ts +0 -83
- package/dist/types/core/context/context.d.ts +0 -254
- package/dist/types/core/ctrlsFactory.d.ts +0 -9
- package/dist/types/core/ctrlsService.d.ts +0 -55
- package/dist/types/core/dragAndDrop/dragAndDropImageComponent.d.ts +0 -24
- package/dist/types/core/dragAndDrop/dragAndDropService.d.ts +0 -183
- package/dist/types/core/dragAndDrop/dragApi.d.ts +0 -5
- package/dist/types/core/dragAndDrop/dragModule.d.ts +0 -1
- package/dist/types/core/dragAndDrop/dragService.d.ts +0 -59
- package/dist/types/core/edit/cellEditors/dateStringCellEditor.d.ts +0 -9
- package/dist/types/core/edit/cellEditors/selectCellEditor.d.ts +0 -20
- package/dist/types/core/edit/editApi.d.ts +0 -13
- package/dist/types/core/edit/editModule.d.ts +0 -9
- package/dist/types/core/edit/editService.d.ts +0 -27
- package/dist/types/core/edit/rowEditService.d.ts +0 -10
- package/dist/types/core/entities/agColumn.d.ts +0 -164
- package/dist/types/core/entities/agColumnGroup.d.ts +0 -58
- package/dist/types/core/entities/agProvidedColumnGroup.d.ts +0 -43
- package/dist/types/core/entities/cellPositionUtils.d.ts +0 -14
- package/dist/types/core/entities/colDef.d.ts +0 -866
- package/dist/types/core/entities/gridOptions.d.ts +0 -2320
- package/dist/types/core/entities/rowNode.d.ts +0 -321
- package/dist/types/core/entities/rowNodeEventThrottle.d.ts +0 -15
- package/dist/types/core/entities/rowPositionUtils.d.ts +0 -24
- package/dist/types/core/environment.d.ts +0 -33
- package/dist/types/core/eventService.d.ts +0 -22
- package/dist/types/core/eventTypes.d.ts +0 -8
- package/dist/types/core/events.d.ts +0 -887
- package/dist/types/core/filter/columnFilterApi.d.ts +0 -13
- package/dist/types/core/filter/columnFilterService.d.ts +0 -91
- package/dist/types/core/filter/filterManager.d.ts +0 -85
- package/dist/types/core/filter/filterModule.d.ts +0 -13
- package/dist/types/core/filter/filterWrapperComp.d.ts +0 -25
- package/dist/types/core/filter/floating/floatingFilter.d.ts +0 -80
- package/dist/types/core/filter/floating/floatingFilterMapper.d.ts +0 -3
- package/dist/types/core/filter/floating/provided/floatingFilterTextInputService.d.ts +0 -22
- package/dist/types/core/filter/floating/provided/readOnlyFloatingFilter.d.ts +0 -16
- package/dist/types/core/filter/floating/provided/simpleFloatingFilter.d.ts +0 -34
- package/dist/types/core/filter/floating/provided/textInputFloatingFilter.d.ts +0 -25
- package/dist/types/core/filter/provided/date/dateCompWrapper.d.ts +0 -26
- package/dist/types/core/filter/provided/date/dateFilter.d.ts +0 -48
- package/dist/types/core/filter/provided/date/dateFilterModelFormatter.d.ts +0 -14
- package/dist/types/core/filter/provided/date/dateFloatingFilter.d.ts +0 -31
- package/dist/types/core/filter/provided/date/defaultDateComponent.d.ts +0 -21
- package/dist/types/core/filter/provided/number/numberFilter.d.ts +0 -32
- package/dist/types/core/filter/provided/number/numberFloatingFilter.d.ts +0 -14
- package/dist/types/core/filter/provided/optionsFactory.d.ts +0 -15
- package/dist/types/core/filter/provided/providedFilter.d.ts +0 -88
- package/dist/types/core/filter/provided/simpleFilter.d.ts +0 -112
- package/dist/types/core/filter/provided/simpleFilterModelFormatter.d.ts +0 -16
- package/dist/types/core/filter/provided/text/textFilter.d.ts +0 -34
- package/dist/types/core/filter/provided/text/textFloatingFilter.d.ts +0 -13
- package/dist/types/core/filter/quickFilterService.d.ts +0 -34
- package/dist/types/core/focusService.d.ts +0 -109
- package/dist/types/core/grid.d.ts +0 -64
- package/dist/types/core/gridBodyComp/abstractFakeScrollComp.d.ts +0 -25
- package/dist/types/core/gridBodyComp/centerWidthFeature.d.ts +0 -12
- package/dist/types/core/gridBodyComp/fakeHScrollComp.d.ts +0 -24
- package/dist/types/core/gridBodyComp/fakeVScrollComp.d.ts +0 -15
- package/dist/types/core/gridBodyComp/gridBodyComp.d.ts +0 -20
- package/dist/types/core/gridBodyComp/gridBodyCtrl.d.ts +0 -107
- package/dist/types/core/gridBodyComp/gridBodyScrollFeature.d.ts +0 -75
- package/dist/types/core/gridBodyComp/mouseEventService.d.ts +0 -22
- package/dist/types/core/gridBodyComp/navigationService.d.ts +0 -61
- package/dist/types/core/gridBodyComp/pinnedWidthService.d.ts +0 -14
- package/dist/types/core/gridBodyComp/rowContainer/dragListenerFeature.d.ts +0 -13
- package/dist/types/core/gridBodyComp/rowContainer/rowContainerComp.d.ts +0 -21
- package/dist/types/core/gridBodyComp/rowContainer/rowContainerCtrl.d.ts +0 -82
- package/dist/types/core/gridBodyComp/rowContainer/rowContainerEventsFeature.d.ts +0 -38
- package/dist/types/core/gridBodyComp/rowContainer/setHeightFeature.d.ts +0 -11
- package/dist/types/core/gridBodyComp/rowContainer/setPinnedLeftWidthFeature.d.ts +0 -11
- package/dist/types/core/gridBodyComp/rowContainer/setPinnedRightWidthFeature.d.ts +0 -11
- package/dist/types/core/gridBodyComp/rowDragFeature.d.ts +0 -67
- package/dist/types/core/gridBodyComp/scrollVisibleService.d.ts +0 -31
- package/dist/types/core/gridBodyComp/viewportSizeFeature.d.ts +0 -32
- package/dist/types/core/gridComp/gridCtrl.d.ts +0 -51
- package/dist/types/core/gridCoreModule.d.ts +0 -7
- package/dist/types/core/gridDestroyService.d.ts +0 -11
- package/dist/types/core/gridOptionsService.d.ts +0 -104
- package/dist/types/core/gridOptionsUtils.d.ts +0 -55
- package/dist/types/core/headerRendering/cells/abstractCell/abstractHeaderCellCtrl.d.ts +0 -77
- package/dist/types/core/headerRendering/cells/column/headerCellComp.d.ts +0 -19
- package/dist/types/core/headerRendering/cells/column/headerCellCtrl.d.ts +0 -87
- package/dist/types/core/headerRendering/cells/column/headerComp.d.ts +0 -130
- package/dist/types/core/headerRendering/cells/column/resizeFeature.d.ts +0 -28
- package/dist/types/core/headerRendering/cells/column/selectAllFeature.d.ts +0 -35
- package/dist/types/core/headerRendering/cells/column/sortIndicatorComp.d.ts +0 -25
- package/dist/types/core/headerRendering/cells/column/standardMenu.d.ts +0 -26
- package/dist/types/core/headerRendering/cells/columnGroup/groupResizeFeature.d.ts +0 -51
- package/dist/types/core/headerRendering/cells/columnGroup/headerGroupCellCtrl.d.ts +0 -54
- package/dist/types/core/headerRendering/cells/columnGroup/headerGroupComp.d.ts +0 -44
- package/dist/types/core/headerRendering/cells/floatingFilter/headerFilterCellCtrl.d.ts +0 -43
- package/dist/types/core/headerRendering/cells/floatingFilter/iHeaderFilterCellComp.d.ts +0 -12
- package/dist/types/core/headerRendering/cells/hoverFeature.d.ts +0 -14
- package/dist/types/core/headerRendering/columnDrag/bodyDropPivotTarget.d.ts +0 -25
- package/dist/types/core/headerRendering/columnDrag/bodyDropTarget.d.ts +0 -37
- package/dist/types/core/headerRendering/columnDrag/moveColumnFeature.d.ts +0 -56
- package/dist/types/core/headerRendering/columnMoveHelper.d.ts +0 -40
- package/dist/types/core/headerRendering/common/headerNavigationService.d.ts +0 -32
- package/dist/types/core/headerRendering/common/headerPosition.d.ts +0 -28
- package/dist/types/core/headerRendering/common/horizontalResizeService.d.ts +0 -24
- package/dist/types/core/headerRendering/gridHeaderCtrl.d.ts +0 -31
- package/dist/types/core/headerRendering/row/headerRowComp.d.ts +0 -16
- package/dist/types/core/headerRendering/row/headerRowCtrl.d.ts +0 -67
- package/dist/types/core/headerRendering/rowContainer/headerRowContainerCtrl.d.ts +0 -53
- package/dist/types/core/interfaces/IRangeService.d.ts +0 -89
- package/dist/types/core/interfaces/IServerSideStore.d.ts +0 -65
- package/dist/types/core/interfaces/autoSizeStrategy.d.ts +0 -34
- package/dist/types/core/interfaces/dateComponent.d.ts +0 -43
- package/dist/types/core/interfaces/exportParams.d.ts +0 -153
- package/dist/types/core/interfaces/gridState.d.ts +0 -160
- package/dist/types/core/interfaces/groupCellRenderer.d.ts +0 -68
- package/dist/types/core/interfaces/iAutoColService.d.ts +0 -6
- package/dist/types/core/interfaces/iCallbackParams.d.ts +0 -231
- package/dist/types/core/interfaces/iCellEditor.d.ts +0 -94
- package/dist/types/core/interfaces/iChartOptions.d.ts +0 -95
- package/dist/types/core/interfaces/iClientSideRowModel.d.ts +0 -52
- package/dist/types/core/interfaces/iColumn.d.ts +0 -242
- package/dist/types/core/interfaces/iColumnChooserFactory.d.ts +0 -11
- package/dist/types/core/interfaces/iContextMenuFactory.d.ts +0 -6
- package/dist/types/core/interfaces/iDatasource.d.ts +0 -27
- package/dist/types/core/interfaces/iDetailGridApiService.d.ts +0 -7
- package/dist/types/core/interfaces/iExcelCreator.d.ts +0 -599
- package/dist/types/core/interfaces/iExpansionService.d.ts +0 -8
- package/dist/types/core/interfaces/iFilter.d.ts +0 -186
- package/dist/types/core/interfaces/iFrameworkOverrides.d.ts +0 -48
- package/dist/types/core/interfaces/iImmutableService.d.ts +0 -4
- package/dist/types/core/interfaces/iInfiniteRowModel.d.ts +0 -8
- package/dist/types/core/interfaces/iModule.d.ts +0 -38
- package/dist/types/core/interfaces/iRowModel.d.ts +0 -50
- package/dist/types/core/interfaces/iRowNode.d.ts +0 -279
- package/dist/types/core/interfaces/iRowNodeStage.d.ts +0 -14
- package/dist/types/core/interfaces/iSelectionService.d.ts +0 -48
- package/dist/types/core/interfaces/iServerSideDatasource.d.ts +0 -59
- package/dist/types/core/interfaces/iServerSideRowModel.d.ts +0 -38
- package/dist/types/core/interfaces/iSetFilter.d.ts +0 -203
- package/dist/types/core/interfaces/iShowRowGroupColsService.d.ts +0 -10
- package/dist/types/core/interfaces/iSideBar.d.ts +0 -62
- package/dist/types/core/interfaces/iSparklineCellRendererParams.d.ts +0 -438
- package/dist/types/core/interfaces/iStatusBarService.d.ts +0 -7
- package/dist/types/core/interfaces/iToolPanel.d.ts +0 -60
- package/dist/types/core/interfaces/masterDetail.d.ts +0 -49
- package/dist/types/core/interfaces/menuItem.d.ts +0 -136
- package/dist/types/core/interfaces/serverSideTransaction.d.ts +0 -61
- package/dist/types/core/localeService.d.ts +0 -6
- package/dist/types/core/main.d.ts +0 -282
- package/dist/types/core/misc/animationFrameService.d.ts +0 -36
- package/dist/types/core/misc/apiEventService.d.ts +0 -20
- package/dist/types/core/misc/expansionService.d.ts +0 -17
- package/dist/types/core/misc/frameworkEventListenerService.d.ts +0 -11
- package/dist/types/core/misc/menuService.d.ts +0 -98
- package/dist/types/core/misc/resizeObserverService.d.ts +0 -6
- package/dist/types/core/misc/state/stateModule.d.ts +0 -3
- package/dist/types/core/misc/state/stateService.d.ts +0 -67
- package/dist/types/core/modules/moduleNames.d.ts +0 -28
- package/dist/types/core/modules/moduleRegistry.d.ts +0 -43
- package/dist/types/core/pagination/pageBoundsListener.d.ts +0 -13
- package/dist/types/core/pagination/pageBoundsService.d.ts +0 -21
- package/dist/types/core/pagination/pageSizeSelector/pageSizeSelectorComp.d.ts +0 -24
- package/dist/types/core/pagination/paginationAutoPageSizeService.d.ts +0 -15
- package/dist/types/core/pagination/paginationComp.d.ts +0 -47
- package/dist/types/core/pagination/paginationModule.d.ts +0 -3
- package/dist/types/core/pagination/paginationService.d.ts +0 -54
- package/dist/types/core/pinnedRowModel/pinnedRowModel.d.ts +0 -35
- package/dist/types/core/pinnedRowModel/pinnedRowModule.d.ts +0 -1
- package/dist/types/core/propertyKeys.d.ts +0 -133
- package/dist/types/core/rendering/ariaAnnouncementService.d.ts +0 -18
- package/dist/types/core/rendering/autoWidthCalculator.d.ts +0 -19
- package/dist/types/core/rendering/cell/cellComp.d.ts +0 -60
- package/dist/types/core/rendering/cell/cellCtrl.d.ts +0 -166
- package/dist/types/core/rendering/cell/cellCustomStyleFeature.d.ts +0 -18
- package/dist/types/core/rendering/cell/cellKeyboardListenerFeature.d.ts +0 -26
- package/dist/types/core/rendering/cell/cellMouseListenerFeature.d.ts +0 -22
- package/dist/types/core/rendering/cell/cellPositionFeature.d.ts +0 -33
- package/dist/types/core/rendering/cell/cellRangeFeature.d.ts +0 -25
- package/dist/types/core/rendering/cellRenderers/animateShowChangeCellRenderer.d.ts +0 -17
- package/dist/types/core/rendering/cellRenderers/animateSlideCellRenderer.d.ts +0 -15
- package/dist/types/core/rendering/cellRenderers/iCellRenderer.d.ts +0 -75
- package/dist/types/core/rendering/cellRenderers/loadingCellRenderer.d.ts +0 -19
- package/dist/types/core/rendering/cellRenderers/skeletonCellRenderer.d.ts +0 -10
- package/dist/types/core/rendering/checkboxSelectionComponent.d.ts +0 -30
- package/dist/types/core/rendering/columnAnimationService.d.ts +0 -24
- package/dist/types/core/rendering/columnHoverService.d.ts +0 -11
- package/dist/types/core/rendering/features/positionableFeature.d.ts +0 -94
- package/dist/types/core/rendering/features/setLeftFeature.d.ts +0 -21
- package/dist/types/core/rendering/features/stickyRowFeature.d.ts +0 -54
- package/dist/types/core/rendering/overlays/overlayComponent.d.ts +0 -15
- package/dist/types/core/rendering/overlays/overlayModule.d.ts +0 -1
- package/dist/types/core/rendering/overlays/overlayService.d.ts +0 -37
- package/dist/types/core/rendering/overlays/overlayWrapperComponent.d.ts +0 -30
- package/dist/types/core/rendering/renderApi.d.ts +0 -14
- package/dist/types/core/rendering/renderModule.d.ts +0 -1
- package/dist/types/core/rendering/row/rowComp.d.ts +0 -21
- package/dist/types/core/rendering/row/rowCssClassCalculator.d.ts +0 -29
- package/dist/types/core/rendering/row/rowCtrl.d.ts +0 -188
- package/dist/types/core/rendering/row/rowDragComp.d.ts +0 -33
- package/dist/types/core/rendering/rowContainerHeightService.d.ts +0 -34
- package/dist/types/core/rendering/rowRenderer.d.ts +0 -190
- package/dist/types/core/rowNodeCache/iRowNodeBlock.d.ts +0 -24
- package/dist/types/core/rowNodeCache/rowNodeBlock.d.ts +0 -29
- package/dist/types/core/rowNodeCache/rowNodeBlockLoader.d.ts +0 -30
- package/dist/types/core/rowNodeCache/rowNodeBlockModule.d.ts +0 -1
- package/dist/types/core/rowNodes/rowNodeSorter.d.ts +0 -27
- package/dist/types/core/rowNodes/selectableService.d.ts +0 -15
- package/dist/types/core/selection/rowRangeSelectionContext.d.ts +0 -68
- package/dist/types/core/selection/selectionService.d.ts +0 -73
- package/dist/types/core/sortController.d.ts +0 -38
- package/dist/types/core/styling/layoutFeature.d.ts +0 -21
- package/dist/types/core/styling/stylingService.d.ts +0 -18
- package/dist/types/core/syncService.d.ts +0 -16
- package/dist/types/core/undoRedo/undoRedoService.d.ts +0 -35
- package/dist/types/core/utils/aria.d.ts +0 -33
- package/dist/types/core/utils/array.d.ts +0 -18
- package/dist/types/core/utils/browser.d.ts +0 -16
- package/dist/types/core/utils/changedPath.d.ts +0 -23
- package/dist/types/core/utils/dom.d.ts +0 -92
- package/dist/types/core/utils/event.d.ts +0 -29
- package/dist/types/core/utils/focus.d.ts +0 -3
- package/dist/types/core/utils/function.d.ts +0 -29
- package/dist/types/core/utils/generic.d.ts +0 -20
- package/dist/types/core/utils/icon.d.ts +0 -90
- package/dist/types/core/utils/keyboard.d.ts +0 -18
- package/dist/types/core/utils/number.d.ts +0 -14
- package/dist/types/core/utils/numberSequence.d.ts +0 -8
- package/dist/types/core/utils/object.d.ts +0 -10
- package/dist/types/core/utils/promise.d.ts +0 -16
- package/dist/types/core/utils/string.d.ts +0 -21
- package/dist/types/core/validation/rules/colDefValidations.d.ts +0 -3
- package/dist/types/core/validation/rules/gridOptionsValidations.d.ts +0 -183
- package/dist/types/core/validation/validationService.d.ts +0 -17
- package/dist/types/core/validation/validationTypes.d.ts +0 -34
- package/dist/types/core/valueService/changeDetectionService.d.ts +0 -13
- package/dist/types/core/valueService/expressionService.d.ts +0 -10
- package/dist/types/core/valueService/valueService.d.ts +0 -44
- package/dist/types/core/vanillaFrameworkOverrides.d.ts +0 -16
- package/dist/types/core/version.d.ts +0 -1
- package/dist/types/core/widgets/agPickerField.d.ts +0 -49
- package/dist/types/core/widgets/agSelect.d.ts +0 -29
- package/dist/types/core/widgets/component.d.ts +0 -95
- package/dist/types/core/widgets/managedFocusFeature.d.ts +0 -19
- package/dist/types/core/widgets/popupService.d.ts +0 -108
- package/dist/types/core/widgets/tabGuardCtrl.d.ts +0 -61
- package/dist/types/core/widgets/tooltipFeature.d.ts +0 -38
- package/dist/types/core/widgets/tooltipStateManager.d.ts +0 -72
- package/dist/types/core/widgets/touchListener.d.ts +0 -33
- package/dist/types/csv-export/csvExport/baseCreator.d.ts +0 -15
- package/dist/types/csv-export/csvExport/csvCreator.d.ts +0 -20
- package/dist/types/csv-export/csvExport/csvExportApi.d.ts +0 -3
- package/dist/types/csv-export/csvExport/downloader.d.ts +0 -3
- package/dist/types/csv-export/csvExport/gridSerializer.d.ts +0 -34
- package/dist/types/csv-export/csvExport/interfaces/index.d.ts +0 -38
- package/dist/types/csv-export/csvExport/sessions/baseGridSerializingSession.d.ts +0 -30
- package/dist/types/csv-export/csvExport/sessions/csvSerializingSession.d.ts +0 -21
- package/dist/types/csv-export/csvExport/xmlFactory.d.ts +0 -5
- package/dist/types/csv-export/csvExport/zipContainer/compress.d.ts +0 -4
- package/dist/types/csv-export/csvExport/zipContainer/convert.d.ts +0 -3
- package/dist/types/csv-export/csvExport/zipContainer/crcTable.d.ts +0 -1
- package/dist/types/csv-export/csvExport/zipContainer/zipContainer.d.ts +0 -20
- package/dist/types/csv-export/csvExport/zipContainer/zipContainerHelper.d.ts +0 -13
- package/dist/types/csv-export/csvExportModule.d.ts +0 -3
- package/dist/types/csv-export/main.d.ts +0 -9
- package/dist/types/csv-export/version.d.ts +0 -1
- package/dist/types/infinite-row-model/infiniteRowModel/infiniteBlock.d.ts +0 -31
- package/dist/types/infinite-row-model/infiniteRowModel/infiniteCache.d.ts +0 -47
- package/dist/types/infinite-row-model/infiniteRowModel/infiniteRowModel.d.ts +0 -50
- package/dist/types/infinite-row-model/infiniteRowModel/infiniteRowModelApi.d.ts +0 -4
- package/dist/types/infinite-row-model/infiniteRowModelModule.d.ts +0 -3
- package/dist/types/infinite-row-model/main.d.ts +0 -1
- package/dist/types/infinite-row-model/version.d.ts +0 -1
- package/dist/types/main.d.ts +0 -5
- package/dist/types/theming/Part.d.ts +0 -33
- package/dist/types/theming/Theme.d.ts +0 -39
- package/dist/types/theming/main.d.ts +0 -9
- package/dist/types/theming/styles/core/GENERATED-core.d.ts +0 -1
- package/dist/types/theming/styles/core/core-css.d.ts +0 -468
- package/dist/types/theming/styles/parts/checkbox-style/GENERATED-checkbox-style-default.d.ts +0 -1
- package/dist/types/theming/styles/parts/checkbox-style/checkbox-styles.d.ts +0 -56
- package/dist/types/theming/styles/parts/color-scheme/color-schemes.d.ts +0 -6
- package/dist/types/theming/styles/parts/icon-set/alpine/GENERATED-icon-set-alpine.d.ts +0 -1
- package/dist/types/theming/styles/parts/icon-set/alpine/icon-set-alpine.d.ts +0 -1
- package/dist/types/theming/styles/parts/icon-set/icon-sets.d.ts +0 -3
- package/dist/types/theming/styles/parts/icon-set/material/GENERATED-icon-set-material.d.ts +0 -1
- package/dist/types/theming/styles/parts/icon-set/material/icon-set-material.d.ts +0 -1
- package/dist/types/theming/styles/parts/icon-set/quartz/GENERATED-icon-set-quartz.d.ts +0 -1
- package/dist/types/theming/styles/parts/icon-set/quartz/icon-set-quartz.d.ts +0 -6
- package/dist/types/theming/styles/parts/input-style/GENERATED-input-style-base.d.ts +0 -1
- package/dist/types/theming/styles/parts/input-style/GENERATED-input-style-underlined.d.ts +0 -1
- package/dist/types/theming/styles/parts/input-style/input-styles.d.ts +0 -70
- package/dist/types/theming/styles/parts/tab-style/GENERATED-tab-style-base.d.ts +0 -1
- package/dist/types/theming/styles/parts/tab-style/tab-styles.d.ts +0 -101
- package/dist/types/theming/styles/parts/theme/themes.d.ts +0 -3
- package/dist/types/theming/theme-types.d.ts +0 -206
- package/dist/types/theming/theme-utils.d.ts +0 -8
- package/dist/types/theming/version.d.ts +0 -1
- /package/dist/types/{core → src}/api/apiUtils.d.ts +0 -0
- /package/dist/types/{core → src}/api/csrmSsrmSharedApi.d.ts +0 -0
- /package/dist/types/{core → src}/api/iApiFunction.d.ts +0 -0
- /package/dist/types/{core → src}/api/scrollApi.d.ts +0 -0
- /package/dist/types/{core → src}/api/ssrmInfiniteSharedApi.d.ts +0 -0
- /package/dist/types/{core → src}/autoScrollService.d.ts +0 -0
- /package/dist/types/{core → src}/columns/columnKeyCreator.d.ts +0 -0
- /package/dist/types/{core → src}/columns/groupInstanceIdCreator.d.ts +0 -0
- /package/dist/types/{core → src}/components/emptyBean.d.ts +0 -0
- /package/dist/types/{core → src}/components/framework/unwrapUserComp.d.ts +0 -0
- /package/dist/types/{core → src}/context/bean.d.ts +0 -0
- /package/dist/types/{core → src}/context/genericBean.d.ts +0 -0
- /package/dist/types/{core → src}/context/genericContext.d.ts +0 -0
- /package/dist/types/{core → src}/context/gridBeanComparator.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/checkboxCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/dateCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/iCellEditorInput.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/iDateCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/iDateStringCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/iLargeTextCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/iNumberCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/iSelectCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/iTextCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/largeTextCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/numberCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/popupEditorWrapper.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/simpleCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/edit/cellEditors/textCellEditor.d.ts +0 -0
- /package/dist/types/{core → src}/entities/dataType.d.ts +0 -0
- /package/dist/types/{core → src}/entities/defaultColumnTypes.d.ts +0 -0
- /package/dist/types/{core → src}/filter/filterApi.d.ts +0 -0
- /package/dist/types/{core → src}/filter/filterLocaleText.d.ts +0 -0
- /package/dist/types/{core → src}/filter/floating/provided/iFloatingFilterInputService.d.ts +0 -0
- /package/dist/types/{core → src}/filter/floating/provided/providedFilterUtils.d.ts +0 -0
- /package/dist/types/{core → src}/filter/iColumnFilter.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/date/dateFilterConstants.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/date/iDateFilter.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/iProvidedFilter.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/iScalarFilter.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/iSimpleFilter.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/number/iNumberFilter.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/number/numberFilterConstants.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/number/numberFilterModelFormatter.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/number/numberFilterUtils.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/scalarFilter.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/text/iTextFilter.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/text/textFilterConstants.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/text/textFilterModelFormatter.d.ts +0 -0
- /package/dist/types/{core → src}/filter/provided/text/textFilterUtils.d.ts +0 -0
- /package/dist/types/{core → src}/filter/quickFilterApi.d.ts +0 -0
- /package/dist/types/{core → src}/gridComp/gridComp.d.ts +0 -0
- /package/dist/types/{core → src}/headerRendering/cells/abstractCell/abstractHeaderCellComp.d.ts +0 -0
- /package/dist/types/{core → src}/headerRendering/cells/columnGroup/groupWidthFeature.d.ts +0 -0
- /package/dist/types/{core → src}/headerRendering/cells/columnGroup/headerGroupCellComp.d.ts +0 -0
- /package/dist/types/{core → src}/headerRendering/cells/cssClassApplier.d.ts +0 -0
- /package/dist/types/{core → src}/headerRendering/cells/floatingFilter/headerFilterCellComp.d.ts +0 -0
- /package/dist/types/{core → src}/headerRendering/gridHeaderComp.d.ts +0 -0
- /package/dist/types/{core → src}/headerRendering/rowContainer/headerRowContainerComp.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/IChartService.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/advancedFilterModel.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/agFieldParams.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/brandedType.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iAdvancedFilterBuilderParams.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iAdvancedFilterCtrl.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iAdvancedFilterService.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iAfterGuiAttachedParams.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iAggFuncService.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iAggregationStage.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iAlignedGrid.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iCellEditorRenderer.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iClipboardService.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iColumnToolPanel.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iColumnVO.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iCommon.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iComponent.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iCsvCreator.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iEventEmitter.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iFiltersToolPanel.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iFocusableContainer.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iMenuFactory.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iMultiFilter.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iPivotColDefService.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iPopupComponent.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iRichCellEditorParams.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iServerSideSelection.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iStatusPanel.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iViewportDatasource.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iWatermark.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/iXmlFactory.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/renderStatusService.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/rowDataTransaction.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/rowNodeTransaction.d.ts +0 -0
- /package/dist/types/{core → src}/interfaces/selectionState.d.ts +0 -0
- /package/dist/types/{core → src}/localEventService.d.ts +0 -0
- /package/dist/types/{core → src}/misc/state/stateApi.d.ts +0 -0
- /package/dist/types/{core → src}/misc/state/stateModelMigration.d.ts +0 -0
- /package/dist/types/{core → src}/pagination/paginationApi.d.ts +0 -0
- /package/dist/types/{core → src}/pinnedRowModel/pinnedRowApi.d.ts +0 -0
- /package/dist/types/{core → src}/rendering/cellRenderers/checkboxCellRenderer.d.ts +0 -0
- /package/dist/types/{core → src}/rendering/cssClassManager.d.ts +0 -0
- /package/dist/types/{core → src}/rendering/dndSourceComp.d.ts +0 -0
- /package/dist/types/{core → src}/rendering/overlays/loadingOverlayComponent.d.ts +0 -0
- /package/dist/types/{core → src}/rendering/overlays/noRowsOverlayComponent.d.ts +0 -0
- /package/dist/types/{core → src}/rendering/overlays/overlayApi.d.ts +0 -0
- /package/dist/types/{core/api → src/sort}/sortApi.d.ts +0 -0
- /package/dist/types/{theming/styles → src/theming}/parts/icon-set/quartz/quartz-icon-data.d.ts +0 -0
- /package/dist/types/{theming/styles/parts/tab-style/GENERATED-tab-style-rolodex.d.ts → src/theming/parts/tab-style/tab-style-rolodex.css-GENERATED.d.ts} +0 -0
- /package/dist/types/{core/rendering → src/tooltip}/tooltipComponent.d.ts +0 -0
- /package/dist/types/{core → src}/undoRedo/iUndoRedo.d.ts +0 -0
- /package/dist/types/{core → src}/undoRedo/undoRedoStack.d.ts +0 -0
- /package/dist/types/{core → src}/utils/date.d.ts +0 -0
- /package/dist/types/{core → src}/utils/fuzzyMatch.d.ts +0 -0
- /package/dist/types/{core → src}/utils/mouse.d.ts +0 -0
- /package/dist/types/{core → src}/validation/apiFunctionValidator.d.ts +0 -0
- /package/dist/types/{core → src}/valueService/valueCache.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/agAbstractField.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/agAbstractInputField.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/agAbstractLabel.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/agCheckbox.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/agInputDateField.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/agInputNumberField.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/agInputTextArea.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/agInputTextField.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/agList.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/agRadioButton.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/agToggleButton.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/popupComponent.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/tabGuardComp.d.ts +0 -0
- /package/dist/types/{core → src}/widgets/tabGuardFeature.d.ts +0 -0
|
@@ -0,0 +1,864 @@
|
|
|
1
|
+
import type { CellClickedEvent, CellContextMenuEvent, CellDoubleClickedEvent } from '../events';
|
|
2
|
+
import type { ICellEditorParams } from '../interfaces/iCellEditor';
|
|
3
|
+
import type { Column, ColumnGroup, ColumnGroupShowType, ProvidedColumnGroup } from '../interfaces/iColumn';
|
|
4
|
+
import type { AgGridCommon } from '../interfaces/iCommon';
|
|
5
|
+
import type { IFilterDef } from '../interfaces/iFilter';
|
|
6
|
+
import type { IRowDragItem } from '../interfaces/iRowDragItem';
|
|
7
|
+
import type { IRowNode } from '../interfaces/iRowNode';
|
|
8
|
+
import type { DefaultMenuItem, MenuItemDef } from '../interfaces/menuItem';
|
|
9
|
+
import type { ICellRendererParams } from '../rendering/cellRenderers/iCellRenderer';
|
|
10
|
+
import type { ITooltipParams } from '../tooltip/tooltipComponent';
|
|
11
|
+
import type { GetContextMenuItems, GetMainMenuItems, RowClassParams } from './gridOptions';
|
|
12
|
+
/** AbstractColDef can be a group or a column definition */
|
|
13
|
+
export interface AbstractColDef<TData = any, TValue = any> {
|
|
14
|
+
/** The name to render in the column header. If not specified and field is specified, the field name will be used as the header name. */
|
|
15
|
+
headerName?: string;
|
|
16
|
+
/** Function or expression. Gets the value for display in the header. */
|
|
17
|
+
headerValueGetter?: string | HeaderValueGetterFunc<TData, TValue>;
|
|
18
|
+
/** Tooltip for the column header */
|
|
19
|
+
headerTooltip?: string;
|
|
20
|
+
/** CSS class to use for the header cell. Can be a string, array of strings, or function. */
|
|
21
|
+
headerClass?: HeaderClass<TData, TValue>;
|
|
22
|
+
/** Suppress the grid taking action for the relevant keyboard event when a header is focused. */
|
|
23
|
+
suppressHeaderKeyboardEvent?: (params: SuppressHeaderKeyboardEventParams<TData, TValue>) => boolean;
|
|
24
|
+
/** Whether to only show the column when the group is open / closed. If not set the column is always displayed as part of the group. */
|
|
25
|
+
columnGroupShow?: ColumnGroupShowType;
|
|
26
|
+
/** CSS class to use for the tool panel cell. Can be a string, array of strings, or function. */
|
|
27
|
+
toolPanelClass?: ToolPanelClass<TData, TValue>;
|
|
28
|
+
/**
|
|
29
|
+
* Set to `true` if you do not want this column or group to appear in the Columns Tool Panel.
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
suppressColumnsToolPanel?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Set to `true` if you do not want this column (filter) or group (filter group) to appear in the Filters Tool Panel.
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
suppressFiltersToolPanel?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Provide your own tooltip component for the column.
|
|
40
|
+
* See [Tooltip Component](https://www.ag-grid.com/javascript-data-grid/tooltips/) for framework specific implementation details.
|
|
41
|
+
*/
|
|
42
|
+
tooltipComponent?: any;
|
|
43
|
+
/** The params used to configure `tooltipComponent`. */
|
|
44
|
+
tooltipComponentParams?: any;
|
|
45
|
+
/** Never set this, it is used internally by grid when doing in-grid pivoting */
|
|
46
|
+
pivotKeys?: string[];
|
|
47
|
+
/**
|
|
48
|
+
* Used for screen reader announcements - the role property of the cells that belong to this column.
|
|
49
|
+
* @default 'gridcell'
|
|
50
|
+
*/
|
|
51
|
+
cellAriaRole?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Context property that can be used to associate arbitrary application data with this column definition.
|
|
54
|
+
*/
|
|
55
|
+
context?: any;
|
|
56
|
+
/** If enabled then column header names that are too long for the column width will wrap onto the next line. Default `false` */
|
|
57
|
+
wrapHeaderText?: boolean;
|
|
58
|
+
/** If enabled then the column header row will automatically adjust height to accommodate the size of the header cell.
|
|
59
|
+
* This can be useful when using your own `headerComponent` or long header names in conjunction with `wrapHeaderText`.
|
|
60
|
+
* @default false
|
|
61
|
+
*/
|
|
62
|
+
autoHeaderHeight?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Set to `true` to not display the column menu when the column header is right-clicked.
|
|
65
|
+
* Doesn't apply when `columnMenu = 'legacy'`.
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
68
|
+
suppressHeaderContextMenu?: boolean;
|
|
69
|
+
}
|
|
70
|
+
/** Configuration options for column groups in AG Grid. */
|
|
71
|
+
export interface ColGroupDef<TData = any> extends AbstractColDef<TData> {
|
|
72
|
+
/** A list containing a mix of columns and column groups. */
|
|
73
|
+
children: (ColDef<TData> | ColGroupDef<TData>)[];
|
|
74
|
+
/** The unique ID to give the column. This is optional. If missing, a unique ID will be generated. This ID is used to identify the column group in the API. */
|
|
75
|
+
groupId?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Set to `true` if this group should be opened by default.
|
|
78
|
+
* @default false
|
|
79
|
+
*/
|
|
80
|
+
openByDefault?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Set to `true` to keep columns in this group beside each other in the grid. Moving the columns outside of the group (and hence breaking the group) is not allowed.
|
|
83
|
+
* @default false
|
|
84
|
+
*/
|
|
85
|
+
marryChildren?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* If `true` the label of the Column Group will not scroll alongside the grid to always remain visible.
|
|
88
|
+
* @default false
|
|
89
|
+
*/
|
|
90
|
+
suppressStickyLabel?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* The custom header group component to be used for rendering the component header. If none specified the default AG Grid is used.
|
|
93
|
+
* See [Header Group Component](https://www.ag-grid.com/javascript-data-grid/component-header/#header-group-components) for framework specific implementation details.
|
|
94
|
+
*/
|
|
95
|
+
headerGroupComponent?: any;
|
|
96
|
+
/** The params used to configure the `headerGroupComponent`. */
|
|
97
|
+
headerGroupComponentParams?: any;
|
|
98
|
+
/**
|
|
99
|
+
* Customise the list of menu items available in the column group header context menu (on right-click).
|
|
100
|
+
* The column menu button is not displayed for column groups.
|
|
101
|
+
*/
|
|
102
|
+
mainMenuItems?: (DefaultMenuItem | MenuItemDef<TData>)[] | GetMainMenuItems<TData>;
|
|
103
|
+
}
|
|
104
|
+
export interface IAggFunc<TData = any, TValue = any> {
|
|
105
|
+
(params: IAggFuncParams<TData, TValue>): any;
|
|
106
|
+
}
|
|
107
|
+
export interface IAggFuncParams<TData = any, TValue = any> extends AgGridCommon<TData, any> {
|
|
108
|
+
/** Values to aggregate */
|
|
109
|
+
values: (TValue | null)[];
|
|
110
|
+
/** Column the aggregation function is working on */
|
|
111
|
+
column: Column<TValue>;
|
|
112
|
+
/** ColDef of the aggregation column */
|
|
113
|
+
colDef: ColDef<TData, TValue>;
|
|
114
|
+
/** Pivot Result Column being produced using this aggregation */
|
|
115
|
+
pivotResultColumn?: Column;
|
|
116
|
+
/** The parent RowNode, where the aggregation result will be shown */
|
|
117
|
+
rowNode: IRowNode<TData>;
|
|
118
|
+
/** data (if any) of the parent RowNode */
|
|
119
|
+
data: TData;
|
|
120
|
+
}
|
|
121
|
+
export interface HeaderClassParams<TData = any, TValue = any> extends AgGridCommon<TData, any> {
|
|
122
|
+
colDef: AbstractColDef<TData, TValue>;
|
|
123
|
+
column?: Column<TValue> | null;
|
|
124
|
+
columnGroup?: ColumnGroup | null;
|
|
125
|
+
}
|
|
126
|
+
export type HeaderClass<TData = any, TValue = any> = string | string[] | ((params: HeaderClassParams<TData, TValue>) => string | string[] | undefined);
|
|
127
|
+
export interface ToolPanelClassParams<TData = any, TValue = any> extends AgGridCommon<TData, any> {
|
|
128
|
+
colDef: AbstractColDef<TData, TValue>;
|
|
129
|
+
column?: Column<TValue> | null;
|
|
130
|
+
columnGroup?: ProvidedColumnGroup | null;
|
|
131
|
+
}
|
|
132
|
+
export type ToolPanelClass<TData = any, TValue = any> = string | string[] | ((params: ToolPanelClassParams<TData, TValue>) => string | string[] | undefined);
|
|
133
|
+
type StringOrNumKeys<TObj> = keyof TObj & (string | number);
|
|
134
|
+
type NestedPath<TValue, Prefix extends string, TValueNestedChild, TDepth extends any[]> = TValue extends object ? `${Prefix}.${TDepth['length'] extends 5 ? any : NestedFieldPaths<TValue, TValueNestedChild, TDepth>}` : never;
|
|
135
|
+
/**
|
|
136
|
+
* Returns a union of all possible paths to nested fields in `TData`.
|
|
137
|
+
*/
|
|
138
|
+
export type ColDefField<TData = any, TValue = any> = TData extends any ? NestedFieldPaths<TData, TValue, []> : never;
|
|
139
|
+
/**
|
|
140
|
+
* Returns a union of all possible paths to nested fields in `TData`.
|
|
141
|
+
*/
|
|
142
|
+
export type NestedFieldPaths<TData = any, TValue = any, TDepth extends any[] = []> = {
|
|
143
|
+
[TKey in StringOrNumKeys<TData>]: TData[TKey] extends ((...args: any[]) => any) | undefined ? never : TData[TKey] extends any[] | undefined ? (TData[TKey] extends TValue ? `${TKey}` : never) | `${TKey}.${number}` : (TData[TKey] extends TValue ? `${TKey}` : never) | NestedPath<TData[TKey], `${TKey}`, TValue, [...TDepth, any]>;
|
|
144
|
+
}[StringOrNumKeys<TData>];
|
|
145
|
+
/** Configuration options for columns in AG Grid. */
|
|
146
|
+
export interface ColDef<TData = any, TValue = any> extends AbstractColDef<TData, TValue>, IFilterDef {
|
|
147
|
+
/** The unique ID to give the column. This is optional. If missing, the ID will default to the field.
|
|
148
|
+
* If both field and colId are missing, a unique ID will be generated.
|
|
149
|
+
* This ID is used to identify the column in the API for sorting, filtering etc.
|
|
150
|
+
*/
|
|
151
|
+
colId?: string;
|
|
152
|
+
/**
|
|
153
|
+
* The field of the row object to get the cell's data from.
|
|
154
|
+
* Deep references into a row object is supported via dot notation, i.e `'address.firstLine'`.
|
|
155
|
+
*/
|
|
156
|
+
field?: ColDefField<TData, TValue>;
|
|
157
|
+
/**
|
|
158
|
+
* A comma separated string or array of strings containing `ColumnType` keys which can be used as a template for a column.
|
|
159
|
+
* This helps to reduce duplication of properties when you have a lot of common column properties.
|
|
160
|
+
*/
|
|
161
|
+
type?: string | string[];
|
|
162
|
+
/**
|
|
163
|
+
* The data type of the cell values for this column.
|
|
164
|
+
* Can either infer the data type from the row data (`true` - the default behaviour),
|
|
165
|
+
* define a specific data type (`string`), or have no data type (`false`).
|
|
166
|
+
*
|
|
167
|
+
* If setting a specific data type (`string` value),
|
|
168
|
+
* this can either be one of the pre-defined data types
|
|
169
|
+
* `'text'`, `'number'`, `'boolean'`, `'date'`, `'dateString'` or `'object'`,
|
|
170
|
+
* or a custom data type that has been defined in the `dataTypeDefinitions` grid option.
|
|
171
|
+
*
|
|
172
|
+
* Data type inference only works for the Client-Side Row Model, and requires non-null data.
|
|
173
|
+
* It will also not work if the `valueGetter`, `valueParser` or `refData` properties are defined,
|
|
174
|
+
* or if this column is a sparkline.
|
|
175
|
+
*
|
|
176
|
+
* @default true
|
|
177
|
+
*/
|
|
178
|
+
cellDataType?: boolean | string;
|
|
179
|
+
/** Function or expression. Gets the value from your data for display. */
|
|
180
|
+
valueGetter?: string | ValueGetterFunc<TData, TValue>;
|
|
181
|
+
/** A function or expression to format a value, should return a string. */
|
|
182
|
+
valueFormatter?: string | ValueFormatterFunc<TData, TValue>;
|
|
183
|
+
/** Provided a reference data map to be used to map column values to their respective value from the map. */
|
|
184
|
+
refData?: {
|
|
185
|
+
[key: string]: string;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Function to return a string key for a value.
|
|
189
|
+
* This string is used for grouping, Set filtering, and searching within cell editor dropdowns.
|
|
190
|
+
* When filtering and searching the string is exposed to the user, so make sure to return a human-readable value.
|
|
191
|
+
*/
|
|
192
|
+
keyCreator?: (params: KeyCreatorParams<TData, TValue>) => string;
|
|
193
|
+
/**
|
|
194
|
+
* Custom comparator for values, used by renderer to know if values have changed. Cells whose values have not changed don't get refreshed.
|
|
195
|
+
* By default the grid uses `===` which should work for most use cases.
|
|
196
|
+
*/
|
|
197
|
+
equals?: (valueA: TValue | null | undefined, valueB: TValue | null | undefined) => boolean;
|
|
198
|
+
/** The field of the tooltip to apply to the cell. */
|
|
199
|
+
tooltipField?: ColDefField<TData>;
|
|
200
|
+
/**
|
|
201
|
+
* Callback that should return the string to use for a tooltip, `tooltipField` takes precedence if set.
|
|
202
|
+
* If using a custom `tooltipComponent` you may return any custom value to be passed to your tooltip component.
|
|
203
|
+
*/
|
|
204
|
+
tooltipValueGetter?: (params: ITooltipParams<TData, TValue>) => string | any;
|
|
205
|
+
/**
|
|
206
|
+
* @deprecated v32.2 Use the new selection API instead. See `GridOptions.rowSelection`
|
|
207
|
+
*
|
|
208
|
+
* Set to `true` (or return `true` from function) to render a selection checkbox in the column.
|
|
209
|
+
* @default false
|
|
210
|
+
*/
|
|
211
|
+
checkboxSelection?: boolean | CheckboxSelectionCallback<TData, TValue>;
|
|
212
|
+
/**
|
|
213
|
+
* @deprecated v32.2 Use the new selection API instead. See `GridOptions.rowSelection`
|
|
214
|
+
*
|
|
215
|
+
* Set to `true` to display a disabled checkbox when row is not selectable and checkboxes are enabled.
|
|
216
|
+
* @default false
|
|
217
|
+
*/
|
|
218
|
+
showDisabledCheckboxes?: boolean;
|
|
219
|
+
/**
|
|
220
|
+
* Icons to use inside the column instead of the grid's default icons. Leave undefined to use defaults.
|
|
221
|
+
* @initial
|
|
222
|
+
* */
|
|
223
|
+
icons?: {
|
|
224
|
+
[key: string]: ((...args: any[]) => any) | string;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* Set to `true` if this column is not navigable (i.e. cannot be tabbed into), otherwise `false`.
|
|
228
|
+
* Can also be a callback function to have different rows navigable.
|
|
229
|
+
* @default false
|
|
230
|
+
*/
|
|
231
|
+
suppressNavigable?: boolean | SuppressNavigableCallback<TData, TValue>;
|
|
232
|
+
/**
|
|
233
|
+
* Allows the user to suppress certain keyboard events in the grid cell.
|
|
234
|
+
* @default false
|
|
235
|
+
*/
|
|
236
|
+
suppressKeyboardEvent?: (params: SuppressKeyboardEventParams<TData, TValue>) => boolean;
|
|
237
|
+
/**
|
|
238
|
+
* Pasting is on by default as long as cells are editable (non-editable cells cannot be modified, even with a paste operation).
|
|
239
|
+
* Set to `true` turn paste operations off.
|
|
240
|
+
*/
|
|
241
|
+
suppressPaste?: boolean | SuppressPasteCallback<TData, TValue>;
|
|
242
|
+
/** Set to true to prevent the fillHandle from being rendered in any cell that belongs to this column */
|
|
243
|
+
suppressFillHandle?: boolean;
|
|
244
|
+
/**
|
|
245
|
+
* Set to `true` for this column to be hidden.
|
|
246
|
+
* @default false
|
|
247
|
+
*/
|
|
248
|
+
hide?: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* Same as `hide`, except only applied when creating a new column. Not applied when updating column definitions.
|
|
251
|
+
* @initial
|
|
252
|
+
*/
|
|
253
|
+
initialHide?: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* Set to `true` to block making column visible / hidden via the UI (API will still work).
|
|
256
|
+
* @default false
|
|
257
|
+
*/
|
|
258
|
+
lockVisible?: boolean;
|
|
259
|
+
/** Lock a column to position to `'left'` or`'right'` to always have this column displayed in that position. `true` is treated as `'left'` */
|
|
260
|
+
lockPosition?: boolean | 'left' | 'right';
|
|
261
|
+
/**
|
|
262
|
+
* Set to `true` if you do not want this column to be movable via dragging.
|
|
263
|
+
* @default false
|
|
264
|
+
*/
|
|
265
|
+
suppressMovable?: boolean;
|
|
266
|
+
/**
|
|
267
|
+
* By default, values are formatted using the column's `valueFormatter` when exporting data from the grid.
|
|
268
|
+
* This applies to CSV and Excel export, as well as clipboard operations and the fill handle.
|
|
269
|
+
* Set to `false` to prevent values from being formatted for these operations.
|
|
270
|
+
* Regardless of this option, if custom handling is provided for the export operation, the value formatter will not be used.
|
|
271
|
+
* @default true
|
|
272
|
+
*/
|
|
273
|
+
useValueFormatterForExport?: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* Set to `true` if this column is editable, otherwise `false`. Can also be a function to have different rows editable.
|
|
276
|
+
* @default false
|
|
277
|
+
*/
|
|
278
|
+
editable?: boolean | EditableCallback<TData, TValue>;
|
|
279
|
+
/** Function or expression. Sets the value into your data for saving. Return `true` if the data changed. */
|
|
280
|
+
valueSetter?: string | ValueSetterFunc<TData, TValue>;
|
|
281
|
+
/** Function or expression. Parses the value for saving. */
|
|
282
|
+
valueParser?: string | ValueParserFunc<TData, TValue>;
|
|
283
|
+
/**
|
|
284
|
+
* Provide your own cell editor component for this column's cells.
|
|
285
|
+
*/
|
|
286
|
+
cellEditor?: any;
|
|
287
|
+
/** Params to be passed to the `cellEditor` component. */
|
|
288
|
+
cellEditorParams?: any;
|
|
289
|
+
/** Callback to select which cell editor to be used for a given row within the same column. */
|
|
290
|
+
cellEditorSelector?: CellEditorSelectorFunc<TData, TValue>;
|
|
291
|
+
/**
|
|
292
|
+
* Set to `true` to have cells under this column enter edit mode after single click.
|
|
293
|
+
* @default false
|
|
294
|
+
*/
|
|
295
|
+
singleClickEdit?: boolean;
|
|
296
|
+
/**
|
|
297
|
+
* Set to `true`, to have the cell editor appear in a popup.
|
|
298
|
+
*/
|
|
299
|
+
cellEditorPopup?: boolean;
|
|
300
|
+
/**
|
|
301
|
+
* Set the position for the popup cell editor. Possible values are
|
|
302
|
+
* - `over` Popup will be positioned over the cell
|
|
303
|
+
* - `under` Popup will be positioned below the cell leaving the cell value visible.
|
|
304
|
+
*
|
|
305
|
+
* @default 'over'
|
|
306
|
+
*/
|
|
307
|
+
cellEditorPopupPosition?: 'over' | 'under';
|
|
308
|
+
/**
|
|
309
|
+
* By default, values are parsed using the column's `valueParser` when importing data to the grid.
|
|
310
|
+
* This applies to clipboard operations and the fill handle.
|
|
311
|
+
* Set to `false` to prevent values from being parsed for these operations.
|
|
312
|
+
* Regardless of this option, if custom handling is provided for the import operation, the value parser will not be used.
|
|
313
|
+
* @default true
|
|
314
|
+
*/
|
|
315
|
+
useValueParserForImport?: boolean;
|
|
316
|
+
/** Callback for after the value of a cell has changed, either due to editing or the application calling `api.setValue()`. */
|
|
317
|
+
onCellValueChanged?: (event: NewValueParams<TData, TValue>) => void;
|
|
318
|
+
/** Callback called when a cell is clicked. */
|
|
319
|
+
onCellClicked?: (event: CellClickedEvent<TData, TValue>) => void;
|
|
320
|
+
/** Callback called when a cell is double clicked. */
|
|
321
|
+
onCellDoubleClicked?: (event: CellDoubleClickedEvent<TData, TValue>) => void;
|
|
322
|
+
/** Callback called when a cell is right clicked. */
|
|
323
|
+
onCellContextMenu?: (event: CellContextMenuEvent<TData, TValue>) => void;
|
|
324
|
+
/** A function to tell the grid what Quick Filter text to use for this column if you don't want to use the default (which is calling `toString` on the value). */
|
|
325
|
+
getQuickFilterText?: (params: GetQuickFilterTextParams<TData, TValue>) => string;
|
|
326
|
+
/**
|
|
327
|
+
* Function or expression. Gets the value for filtering purposes.
|
|
328
|
+
*/
|
|
329
|
+
filterValueGetter?: string | ValueGetterFunc<TData>;
|
|
330
|
+
/**
|
|
331
|
+
* Whether to display a floating filter for this column.
|
|
332
|
+
* @default false
|
|
333
|
+
*/
|
|
334
|
+
floatingFilter?: boolean;
|
|
335
|
+
/**
|
|
336
|
+
* If `true`, the button in the floating filter that opens the parent filter in a popup will not be displayed.
|
|
337
|
+
* Only applies if `floatingFilter = true`.
|
|
338
|
+
*/
|
|
339
|
+
suppressFloatingFilterButton?: boolean;
|
|
340
|
+
/**
|
|
341
|
+
* The custom header component to be used for rendering the component header. If none specified the default AG Grid header component is used.
|
|
342
|
+
* See [Header Component](https://www.ag-grid.com/javascript-data-grid/component-header/) for framework specific implementation detail.
|
|
343
|
+
*/
|
|
344
|
+
headerComponent?: any;
|
|
345
|
+
/** The parameters to be passed to the `headerComponent`. */
|
|
346
|
+
headerComponentParams?: any;
|
|
347
|
+
/**
|
|
348
|
+
* Set to an array containing zero, one or many of the following options: `'filterMenuTab' | 'generalMenuTab' | 'columnsMenuTab'`.
|
|
349
|
+
* This is used to figure out which menu tabs are present and in which order the tabs are shown.
|
|
350
|
+
*/
|
|
351
|
+
menuTabs?: ColumnMenuTab[];
|
|
352
|
+
/** Params used to change the behaviour and appearance of the Column Chooser/Columns Menu tab. */
|
|
353
|
+
columnChooserParams?: ColumnChooserParams;
|
|
354
|
+
/**
|
|
355
|
+
* Set to `true` if no menu button should be shown for this column header.
|
|
356
|
+
* @default false
|
|
357
|
+
*/
|
|
358
|
+
suppressHeaderMenuButton?: boolean;
|
|
359
|
+
/**
|
|
360
|
+
* Set to `true` to not display the filter button in the column header.
|
|
361
|
+
* Doesn't apply when `columnMenu = 'legacy'`.
|
|
362
|
+
* @default false
|
|
363
|
+
*/
|
|
364
|
+
suppressHeaderFilterButton?: boolean;
|
|
365
|
+
/**
|
|
366
|
+
* Customise the list of menu items available in the column menu.
|
|
367
|
+
*/
|
|
368
|
+
mainMenuItems?: (DefaultMenuItem | MenuItemDef<TData>)[] | GetMainMenuItems<TData>;
|
|
369
|
+
/**
|
|
370
|
+
* Customise the list of menu items available in the context menu.
|
|
371
|
+
*/
|
|
372
|
+
contextMenuItems?: (DefaultMenuItem | MenuItemDef<TData>)[] | GetContextMenuItems<TData>;
|
|
373
|
+
/**
|
|
374
|
+
* @deprecated v32.2 Use the new selection API instead. See `GridOptions.rowSelection`
|
|
375
|
+
*
|
|
376
|
+
* If `true` or the callback returns `true`, a 'select all' checkbox will be put into the header.
|
|
377
|
+
*/
|
|
378
|
+
headerCheckboxSelection?: boolean | HeaderCheckboxSelectionCallback<TData, TValue>;
|
|
379
|
+
/**
|
|
380
|
+
* @deprecated v32.2 Use the new selection API instead. See `GridOptions.rowSelection`
|
|
381
|
+
*
|
|
382
|
+
* If `true`, the header checkbox selection will only select filtered items.
|
|
383
|
+
* @default false
|
|
384
|
+
*/
|
|
385
|
+
headerCheckboxSelectionFilteredOnly?: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* @deprecated v32.2 Use the new selection API instead. See `GridOptions.rowSelection`
|
|
388
|
+
*
|
|
389
|
+
* If `true`, the header checkbox selection will only select nodes on the current page.
|
|
390
|
+
* @default false
|
|
391
|
+
*/
|
|
392
|
+
headerCheckboxSelectionCurrentPageOnly?: boolean;
|
|
393
|
+
/** Defines the chart data type that should be used for a column. */
|
|
394
|
+
chartDataType?: 'category' | 'series' | 'time' | 'excluded';
|
|
395
|
+
/** Pin a column to one side: `right` or `left`. A value of `true` is converted to `'left'`. */
|
|
396
|
+
pinned?: boolean | 'left' | 'right' | null;
|
|
397
|
+
/**
|
|
398
|
+
* Same as `pinned`, except only applied when creating a new column. Not applied when updating column definitions.
|
|
399
|
+
* @initial
|
|
400
|
+
*/
|
|
401
|
+
initialPinned?: boolean | 'left' | 'right';
|
|
402
|
+
/**
|
|
403
|
+
* Set to true to block the user pinning the column, the column can only be pinned via definitions or API.
|
|
404
|
+
* @default false
|
|
405
|
+
*/
|
|
406
|
+
lockPinned?: boolean;
|
|
407
|
+
/** Set to true to pivot by this column. */
|
|
408
|
+
pivot?: boolean;
|
|
409
|
+
/**
|
|
410
|
+
* Same as `pivot`, except only applied when creating a new column. Not applied when updating column definitions.
|
|
411
|
+
* @initial
|
|
412
|
+
*/
|
|
413
|
+
initialPivot?: boolean;
|
|
414
|
+
/**
|
|
415
|
+
* Set this in columns you want to pivot by.
|
|
416
|
+
* If only pivoting by one column, set this to any number (e.g. `0`).
|
|
417
|
+
* If pivoting by multiple columns, set this to where you want this column to be in the order of pivots (e.g. `0` for first, `1` for second, and so on).
|
|
418
|
+
*/
|
|
419
|
+
pivotIndex?: number | null;
|
|
420
|
+
/**
|
|
421
|
+
* Same as `pivotIndex`, except only applied when creating a new column. Not applied when updating column definitions.
|
|
422
|
+
* @initial
|
|
423
|
+
*/
|
|
424
|
+
initialPivotIndex?: number;
|
|
425
|
+
/**
|
|
426
|
+
* Only for CSRM, see [SSRM Pivoting](https://ag-grid.com/javascript-data-grid/server-side-model-pivoting/).
|
|
427
|
+
*
|
|
428
|
+
* Comparator to use when ordering the pivot columns, when this column is used to pivot on.
|
|
429
|
+
* The values will always be strings, as the pivot service uses strings as keys for the pivot groups.
|
|
430
|
+
* @initial
|
|
431
|
+
*/
|
|
432
|
+
pivotComparator?: (valueA: string, valueB: string) => number;
|
|
433
|
+
/**
|
|
434
|
+
* Set to `true` if you want to be able to pivot by this column via the GUI. This will not block the API or properties being used to achieve pivot.
|
|
435
|
+
* @default false
|
|
436
|
+
*/
|
|
437
|
+
enablePivot?: boolean;
|
|
438
|
+
/** An object of css values / or function returning an object of css values for a particular cell. */
|
|
439
|
+
cellStyle?: CellStyle | CellStyleFunc<TData, TValue>;
|
|
440
|
+
/** Class to use for the cell. Can be string, array of strings, or function that returns a string or array of strings. */
|
|
441
|
+
cellClass?: string | string[] | CellClassFunc<TData, TValue>;
|
|
442
|
+
/**
|
|
443
|
+
* Rules which can be applied to include certain CSS classes.
|
|
444
|
+
*/
|
|
445
|
+
cellClassRules?: CellClassRules<TData, TValue>;
|
|
446
|
+
/**
|
|
447
|
+
* Provide your own cell Renderer component for this column's cells.
|
|
448
|
+
* See [Cell Renderer](https://www.ag-grid.com/javascript-data-grid/component-cell-renderer/) for framework specific implementation details.
|
|
449
|
+
*/
|
|
450
|
+
cellRenderer?: any;
|
|
451
|
+
/** Params to be passed to the `cellRenderer` component. */
|
|
452
|
+
cellRendererParams?: any;
|
|
453
|
+
/** Callback to select which cell renderer to be used for a given row within the same column. */
|
|
454
|
+
cellRendererSelector?: CellRendererSelectorFunc<TData, TValue>;
|
|
455
|
+
/**
|
|
456
|
+
* The renderer to be used while the row is in an unloaded state.
|
|
457
|
+
* Only used if `suppressServerSideFullWidthLoadingRow` or `groupHideOpenParents` is enabled.
|
|
458
|
+
*/
|
|
459
|
+
loadingCellRenderer?: any;
|
|
460
|
+
/** Params to be passed to the `loadingCellRenderer` component. */
|
|
461
|
+
loadingCellRendererParams?: any;
|
|
462
|
+
/** Callback to select which loading renderer to be used for a given row within the same column. */
|
|
463
|
+
loadingCellRendererSelector?: CellRendererSelectorFunc<TData, TValue>;
|
|
464
|
+
/**
|
|
465
|
+
* Set to `true` to have the grid calculate the height of a row based on contents of this column.
|
|
466
|
+
* @default false
|
|
467
|
+
*/
|
|
468
|
+
autoHeight?: boolean;
|
|
469
|
+
/**
|
|
470
|
+
* Set to `true` to have the text wrap inside the cell - typically used with `autoHeight`.
|
|
471
|
+
* @default false
|
|
472
|
+
*/
|
|
473
|
+
wrapText?: boolean;
|
|
474
|
+
/**
|
|
475
|
+
* Set to `true` to flash a cell when it's refreshed.
|
|
476
|
+
* @default false
|
|
477
|
+
*/
|
|
478
|
+
enableCellChangeFlash?: boolean;
|
|
479
|
+
/**
|
|
480
|
+
* `boolean` or `Function`. Set to `true` (or return `true` from function) to allow row dragging.
|
|
481
|
+
* @default false
|
|
482
|
+
*/
|
|
483
|
+
rowDrag?: boolean | RowDragCallback<TData, TValue>;
|
|
484
|
+
/**
|
|
485
|
+
* A callback that should return a string to be displayed by the `rowDragComp` while dragging a row.
|
|
486
|
+
* If this callback is not set, the `rowDragText` callback in the `gridOptions` will be used and
|
|
487
|
+
* if there is no callback in the `gridOptions` the current cell value will be used.
|
|
488
|
+
*/
|
|
489
|
+
rowDragText?: (params: IRowDragItem, dragItemCount: number) => string;
|
|
490
|
+
/**
|
|
491
|
+
* `boolean` or `Function`. Set to `true` (or return `true` from function) to allow dragging for native drag and drop.
|
|
492
|
+
* @default false
|
|
493
|
+
*/
|
|
494
|
+
dndSource?: boolean | DndSourceCallback<TData, TValue>;
|
|
495
|
+
/**
|
|
496
|
+
* Function to allow custom drag functionality for native drag and drop.
|
|
497
|
+
*/
|
|
498
|
+
dndSourceOnRowDrag?: (params: DndSourceOnRowDragParams<TData>) => void;
|
|
499
|
+
/**
|
|
500
|
+
* Set to `true` to row group by this column.
|
|
501
|
+
* @default false
|
|
502
|
+
*/
|
|
503
|
+
rowGroup?: boolean;
|
|
504
|
+
/**
|
|
505
|
+
* Same as `rowGroup`, except only applied when creating a new column. Not applied when updating column definitions.
|
|
506
|
+
* @initial
|
|
507
|
+
*/
|
|
508
|
+
initialRowGroup?: boolean;
|
|
509
|
+
/**
|
|
510
|
+
* Set this in columns you want to group by.
|
|
511
|
+
* If only grouping by one column, set this to any number (e.g. `0`).
|
|
512
|
+
* If grouping by multiple columns, set this to where you want this column to be in the group (e.g. `0` for first, `1` for second, and so on).
|
|
513
|
+
*/
|
|
514
|
+
rowGroupIndex?: number | null;
|
|
515
|
+
/**
|
|
516
|
+
* Same as `rowGroupIndex`, except only applied when creating a new column. Not applied when updating column definitions.
|
|
517
|
+
* @initial
|
|
518
|
+
*/
|
|
519
|
+
initialRowGroupIndex?: number;
|
|
520
|
+
/**
|
|
521
|
+
* Set to `true` if you want to be able to row group by this column via the GUI.
|
|
522
|
+
* This will not block the API or properties being used to achieve row grouping.
|
|
523
|
+
* @default false
|
|
524
|
+
*/
|
|
525
|
+
enableRowGroup?: boolean;
|
|
526
|
+
/**
|
|
527
|
+
* Set to `true` if you want to be able to aggregate by this column via the GUI.
|
|
528
|
+
* This will not block the API or properties being used to achieve aggregation.
|
|
529
|
+
* @default false
|
|
530
|
+
*/
|
|
531
|
+
enableValue?: boolean;
|
|
532
|
+
/** Name of function to use for aggregation. In-built options are: `sum`, `min`, `max`, `count`, `avg`, `first`, `last`. Also accepts a custom aggregation name or an aggregation function. */
|
|
533
|
+
aggFunc?: string | IAggFunc<TData, TValue> | null;
|
|
534
|
+
/**
|
|
535
|
+
* Same as `aggFunc`, except only applied when creating a new column. Not applied when updating column definitions.
|
|
536
|
+
* @initial
|
|
537
|
+
*/
|
|
538
|
+
initialAggFunc?: string | IAggFunc<TData, TValue>;
|
|
539
|
+
/**
|
|
540
|
+
* The name of the aggregation function to use for this column when it is enabled via the GUI.
|
|
541
|
+
* Note that this does not immediately apply the aggregation function like `aggFunc`
|
|
542
|
+
* @default 'sum'
|
|
543
|
+
*/
|
|
544
|
+
defaultAggFunc?: string;
|
|
545
|
+
/**
|
|
546
|
+
* Aggregation functions allowed on this column e.g. `['sum', 'avg']`.
|
|
547
|
+
* If missing, all installed functions are allowed.
|
|
548
|
+
* This will only restrict what the GUI allows a user to select, it does not impact when you set a function via the API. */
|
|
549
|
+
allowedAggFuncs?: string[];
|
|
550
|
+
/**
|
|
551
|
+
* Set to true to have the grid place the values for the group into the cell, or put the name of a grouped column to just show that group.
|
|
552
|
+
* @initial
|
|
553
|
+
*/
|
|
554
|
+
showRowGroup?: string | boolean;
|
|
555
|
+
/**
|
|
556
|
+
* Set to `false` to disable sorting which is enabled by default.
|
|
557
|
+
* @default true
|
|
558
|
+
*/
|
|
559
|
+
sortable?: boolean;
|
|
560
|
+
/** If sorting by default, set it here. Set to `asc` or `desc`. */
|
|
561
|
+
sort?: SortDirection;
|
|
562
|
+
/**
|
|
563
|
+
* Same as `sort`, except only applied when creating a new column. Not applied when updating column definitions.
|
|
564
|
+
* @initial
|
|
565
|
+
*/
|
|
566
|
+
initialSort?: SortDirection;
|
|
567
|
+
/** If sorting more than one column by default, specifies order in which the sorting should be applied. */
|
|
568
|
+
sortIndex?: number | null;
|
|
569
|
+
/**
|
|
570
|
+
* Same as `sortIndex`, except only applied when creating a new column. Not applied when updating column definitions.
|
|
571
|
+
* @initial
|
|
572
|
+
*/
|
|
573
|
+
initialSortIndex?: number;
|
|
574
|
+
/** Array defining the order in which sorting occurs (if sorting is enabled). An array with any of the following in any order `['asc','desc',null]` */
|
|
575
|
+
sortingOrder?: SortDirection[];
|
|
576
|
+
/**
|
|
577
|
+
* Override the default sorting order by providing a custom sort comparator.
|
|
578
|
+
*
|
|
579
|
+
* - `valueA`, `valueB` are the values to compare.
|
|
580
|
+
* - `nodeA`, `nodeB` are the corresponding RowNodes. Useful if additional details are required by the sort.
|
|
581
|
+
* - `isDescending` - `true` if sort direction is `desc`. Not to be used for inverting the return value as the grid already applies `asc` or `desc` ordering.
|
|
582
|
+
*
|
|
583
|
+
* Return:
|
|
584
|
+
* - `0` valueA is the same as valueB
|
|
585
|
+
* - `> 0` Sort valueA after valueB
|
|
586
|
+
* - `< 0` Sort valueA before valueB
|
|
587
|
+
*/
|
|
588
|
+
comparator?: (valueA: TValue | null | undefined, valueB: TValue | null | undefined, nodeA: IRowNode<TData>, nodeB: IRowNode<TData>, isDescending: boolean) => number;
|
|
589
|
+
/**
|
|
590
|
+
* Set to `true` if you want the unsorted icon to be shown when no sort is applied to this column.
|
|
591
|
+
* @default false
|
|
592
|
+
*/
|
|
593
|
+
unSortIcon?: boolean;
|
|
594
|
+
/** By default, each cell will take up the width of one column. You can change this behaviour to allow cells to span multiple columns. */
|
|
595
|
+
colSpan?: (params: ColSpanParams<TData, TValue>) => number;
|
|
596
|
+
/**
|
|
597
|
+
* By default, each cell will take up the height of one row. You can change this behaviour to allow cells to span multiple rows.
|
|
598
|
+
*/
|
|
599
|
+
rowSpan?: (params: RowSpanParams<TData, TValue>) => number;
|
|
600
|
+
/** Initial width in pixels for the cell. */
|
|
601
|
+
width?: number;
|
|
602
|
+
/**
|
|
603
|
+
* Same as `width`, except only applied when creating a new column. Not applied when updating column definitions.
|
|
604
|
+
* @initial
|
|
605
|
+
*/
|
|
606
|
+
initialWidth?: number;
|
|
607
|
+
/** Minimum width in pixels for the cell. */
|
|
608
|
+
minWidth?: number;
|
|
609
|
+
/** Maximum width in pixels for the cell. */
|
|
610
|
+
maxWidth?: number;
|
|
611
|
+
/**
|
|
612
|
+
* Equivalent to `flex-grow` in CSS. When `flex` is set on one or more
|
|
613
|
+
* columns, any `width` value is ignored and instead the remaining free
|
|
614
|
+
* space in the grid is divided among flex columns in proportion to their
|
|
615
|
+
* flex value, so a column with `flex: 2` will be twice the size as one with
|
|
616
|
+
* `flex: 1`.
|
|
617
|
+
*/
|
|
618
|
+
flex?: number;
|
|
619
|
+
/**
|
|
620
|
+
* Same as `flex`, except only applied when creating a new column. Not applied when updating column definitions.
|
|
621
|
+
* @initial
|
|
622
|
+
*/
|
|
623
|
+
initialFlex?: number;
|
|
624
|
+
/**
|
|
625
|
+
* Set to `false` to disable resizing which is enabled by default.
|
|
626
|
+
* @default true
|
|
627
|
+
*/
|
|
628
|
+
resizable?: boolean;
|
|
629
|
+
/**
|
|
630
|
+
* Set to `true` if you want this column's width to be fixed during 'size to fit' operations.
|
|
631
|
+
* @default false
|
|
632
|
+
*/
|
|
633
|
+
suppressSizeToFit?: boolean;
|
|
634
|
+
/**
|
|
635
|
+
* Set to `true` if you do not want this column to be auto-resizable by double clicking it's edge.
|
|
636
|
+
* @default false
|
|
637
|
+
*/
|
|
638
|
+
suppressAutoSize?: boolean;
|
|
639
|
+
/** Never set this, it is used internally by grid when doing in-grid pivoting */
|
|
640
|
+
pivotValueColumn?: Column | null;
|
|
641
|
+
/** Never set this, it is used internally by grid when doing in-grid pivoting */
|
|
642
|
+
pivotTotalColumnIds?: string[];
|
|
643
|
+
/**
|
|
644
|
+
* Set to `true` if you don't want the column header for this column to span the whole height of the header container.
|
|
645
|
+
* @default false
|
|
646
|
+
*/
|
|
647
|
+
suppressSpanHeaderHeight?: boolean;
|
|
648
|
+
}
|
|
649
|
+
/** Configuration options for reusable columns types in AG Grid. This includes all possible options from `ColDef` except the `type` field. */
|
|
650
|
+
export type ColTypeDef<TData = any, TValue = any> = Omit<ColDef<TData, TValue>, 'type'>;
|
|
651
|
+
export interface ColumnFunctionCallbackParams<TData = any, TValue = any> extends AgGridCommon<TData, any> {
|
|
652
|
+
/** Row node for the given row */
|
|
653
|
+
node: IRowNode<TData>;
|
|
654
|
+
/** Data associated with the node. Will be `undefined` for group rows. */
|
|
655
|
+
data: TData | undefined;
|
|
656
|
+
/** Column for this callback */
|
|
657
|
+
column: Column<TValue>;
|
|
658
|
+
/** ColDef provided for this column */
|
|
659
|
+
colDef: ColDef<TData, TValue>;
|
|
660
|
+
}
|
|
661
|
+
export interface CheckboxSelectionCallbackParams<TData = any, TValue = any> extends ColumnFunctionCallbackParams<TData, TValue> {
|
|
662
|
+
}
|
|
663
|
+
export interface CheckboxSelectionCallback<TData = any, TValue = any> {
|
|
664
|
+
(params: CheckboxSelectionCallbackParams<TData, TValue>): boolean;
|
|
665
|
+
}
|
|
666
|
+
export interface RowDragCallbackParams<TData = any, TValue = any> extends ColumnFunctionCallbackParams<TData, TValue> {
|
|
667
|
+
}
|
|
668
|
+
export interface RowDragCallback<TData = any, TValue = any> {
|
|
669
|
+
(params: RowDragCallbackParams<TData, TValue>): boolean;
|
|
670
|
+
}
|
|
671
|
+
export interface DndSourceCallbackParams<TData = any, TValue = any> extends ColumnFunctionCallbackParams<TData, TValue> {
|
|
672
|
+
}
|
|
673
|
+
export interface DndSourceOnRowDragParams<TData = any> extends AgGridCommon<TData, any> {
|
|
674
|
+
/** Row node for the given row */
|
|
675
|
+
rowNode: IRowNode<TData>;
|
|
676
|
+
/** The DOM event that represents a drag and drop interaction */
|
|
677
|
+
dragEvent: DragEvent;
|
|
678
|
+
}
|
|
679
|
+
export interface DndSourceCallback<TData = any, TValue = any> {
|
|
680
|
+
(params: DndSourceCallbackParams<TData, TValue>): boolean;
|
|
681
|
+
}
|
|
682
|
+
export interface EditableCallbackParams<TData = any, TValue = any> extends ColumnFunctionCallbackParams<TData, TValue> {
|
|
683
|
+
}
|
|
684
|
+
export interface EditableCallback<TData = any, TValue = any> {
|
|
685
|
+
(params: EditableCallbackParams<TData, TValue>): boolean;
|
|
686
|
+
}
|
|
687
|
+
export interface SuppressPasteCallbackParams<TData = any, TValue = any> extends ColumnFunctionCallbackParams<TData, TValue> {
|
|
688
|
+
}
|
|
689
|
+
export interface SuppressPasteCallback<TData = any, TValue = any> {
|
|
690
|
+
(params: SuppressPasteCallbackParams<TData, TValue>): boolean;
|
|
691
|
+
}
|
|
692
|
+
export interface SuppressNavigableCallbackParams<TData = any, TValue = any> extends ColumnFunctionCallbackParams<TData, TValue> {
|
|
693
|
+
}
|
|
694
|
+
export interface SuppressNavigableCallback<TData = any, TValue = any> {
|
|
695
|
+
(params: SuppressNavigableCallbackParams<TData, TValue>): boolean;
|
|
696
|
+
}
|
|
697
|
+
export interface HeaderCheckboxSelectionCallbackParams<TData = any, TValue = any> extends AgGridCommon<TData, any> {
|
|
698
|
+
column: Column<TValue>;
|
|
699
|
+
colDef: ColDef<TData, TValue>;
|
|
700
|
+
}
|
|
701
|
+
export interface HeaderCheckboxSelectionCallback<TData = any, TValue = any> {
|
|
702
|
+
(params: HeaderCheckboxSelectionCallbackParams<TData, TValue>): boolean;
|
|
703
|
+
}
|
|
704
|
+
export interface GetQuickFilterTextParams<TData = any, TValue = any> extends AgGridCommon<TData, any> {
|
|
705
|
+
/** Value for the cell. */
|
|
706
|
+
value: TValue | null | undefined;
|
|
707
|
+
/** Row node for the given row */
|
|
708
|
+
node: IRowNode<TData>;
|
|
709
|
+
/** Row data associated with the node. */
|
|
710
|
+
data: TData;
|
|
711
|
+
/** Column for this callback */
|
|
712
|
+
column: Column<TValue>;
|
|
713
|
+
/** ColDef provided for this column */
|
|
714
|
+
colDef: ColDef<TData, TValue>;
|
|
715
|
+
}
|
|
716
|
+
export type ColumnMenuTab = 'filterMenuTab' | 'generalMenuTab' | 'columnsMenuTab';
|
|
717
|
+
export interface ColumnChooserParams {
|
|
718
|
+
/** To suppress updating the layout of columns as they are rearranged in the grid */
|
|
719
|
+
suppressSyncLayoutWithGrid?: boolean;
|
|
720
|
+
/** To suppress Column Filter section*/
|
|
721
|
+
suppressColumnFilter?: boolean;
|
|
722
|
+
/** To suppress Select / Un-select all widget*/
|
|
723
|
+
suppressColumnSelectAll?: boolean;
|
|
724
|
+
/** To suppress Expand / Collapse all widget*/
|
|
725
|
+
suppressColumnExpandAll?: boolean;
|
|
726
|
+
/** By default, column groups start expanded.
|
|
727
|
+
* Pass true to default to contracted groups*/
|
|
728
|
+
contractColumnSelection?: boolean;
|
|
729
|
+
/** Custom Columns Panel layout */
|
|
730
|
+
columnLayout?: (ColDef | ColGroupDef)[];
|
|
731
|
+
}
|
|
732
|
+
export interface BaseColDefParams<TData = any, TValue = any> extends AgGridCommon<TData, any> {
|
|
733
|
+
/** Row node for the given row */
|
|
734
|
+
node: IRowNode<TData> | null;
|
|
735
|
+
/** Data associated with the node */
|
|
736
|
+
data: TData;
|
|
737
|
+
/** Column for this callback */
|
|
738
|
+
column: Column<TValue>;
|
|
739
|
+
/** ColDef provided for this column */
|
|
740
|
+
colDef: ColDef<TData, TValue>;
|
|
741
|
+
}
|
|
742
|
+
export interface BaseColDefOptionalDataParams<TData = any, TValue = any> extends AgGridCommon<TData, any> {
|
|
743
|
+
/** Row node for the given row */
|
|
744
|
+
node: IRowNode<TData> | null;
|
|
745
|
+
/** Data associated with the node */
|
|
746
|
+
data: TData | undefined;
|
|
747
|
+
/** Column for this callback */
|
|
748
|
+
column: Column<TValue>;
|
|
749
|
+
/** ColDef provided for this column */
|
|
750
|
+
colDef: ColDef<TData, TValue>;
|
|
751
|
+
}
|
|
752
|
+
export interface ValueGetterParams<TData = any, TValue = any> extends BaseColDefOptionalDataParams<TData, TValue> {
|
|
753
|
+
/** A utility method for getting other column values */
|
|
754
|
+
getValue: (field: string) => any;
|
|
755
|
+
}
|
|
756
|
+
export interface ValueGetterFunc<TData = any, TValue = any> {
|
|
757
|
+
(params: ValueGetterParams<TData, TValue>): TValue | null | undefined;
|
|
758
|
+
}
|
|
759
|
+
export type HeaderLocation = 'chart' | 'columnDrop' | 'columnToolPanel' | 'csv' | 'filterToolPanel' | 'groupFilter' | 'header' | 'model' | 'advancedFilter' | null;
|
|
760
|
+
export interface HeaderValueGetterParams<TData = any, TValue = any> extends AgGridCommon<TData, any> {
|
|
761
|
+
colDef: AbstractColDef<TData, TValue>;
|
|
762
|
+
/** Column for this callback if applicable*/
|
|
763
|
+
column?: Column<TValue> | null;
|
|
764
|
+
/** ColumnGroup for this callback if applicable */
|
|
765
|
+
columnGroup?: ColumnGroup | ProvidedColumnGroup | null;
|
|
766
|
+
/** Original column group if applicable */
|
|
767
|
+
providedColumnGroup: ProvidedColumnGroup | null;
|
|
768
|
+
/** Where the column is going to appear */
|
|
769
|
+
location: HeaderLocation;
|
|
770
|
+
}
|
|
771
|
+
export interface HeaderValueGetterFunc<TData = any, TValue = any> {
|
|
772
|
+
(params: HeaderValueGetterParams<TData, TValue>): string;
|
|
773
|
+
}
|
|
774
|
+
interface ChangedValueParams<TData, TValueOld, TValueNew> extends BaseColDefParams<TData, TValueOld> {
|
|
775
|
+
/** The value before the change */
|
|
776
|
+
oldValue: TValueOld;
|
|
777
|
+
/** The value after the change */
|
|
778
|
+
newValue: TValueNew;
|
|
779
|
+
}
|
|
780
|
+
export interface NewValueParams<TData = any, TValue = any> extends ChangedValueParams<TData, TValue | null | undefined, TValue | null | undefined> {
|
|
781
|
+
}
|
|
782
|
+
export interface ValueSetterParams<TData = any, TValue = any> extends ChangedValueParams<TData, TValue | null | undefined, TValue | null | undefined> {
|
|
783
|
+
}
|
|
784
|
+
export interface ValueSetterFunc<TData = any, TValue = any> {
|
|
785
|
+
(params: ValueSetterParams<TData, TValue>): boolean;
|
|
786
|
+
}
|
|
787
|
+
export interface ValueParserParams<TData = any, TValue = any> extends ChangedValueParams<TData, TValue | null | undefined, string> {
|
|
788
|
+
}
|
|
789
|
+
export interface ValueParserFunc<TData = any, TValue = any> {
|
|
790
|
+
(params: ValueParserParams<TData, TValue>): TValue | null | undefined;
|
|
791
|
+
}
|
|
792
|
+
export interface ValueFormatterParams<TData = any, TValue = any> extends BaseColDefOptionalDataParams<TData, TValue> {
|
|
793
|
+
/** Value for the cell. */
|
|
794
|
+
value: TValue | null | undefined;
|
|
795
|
+
}
|
|
796
|
+
export interface ValueFormatterFunc<TData = any, TValue = any> {
|
|
797
|
+
(params: ValueFormatterParams<TData, TValue>): string;
|
|
798
|
+
}
|
|
799
|
+
export interface KeyCreatorParams<TData = any, TValue = any> extends BaseColDefParams<TData, TValue> {
|
|
800
|
+
/** Value for the cell. */
|
|
801
|
+
value: TValue | null | undefined;
|
|
802
|
+
}
|
|
803
|
+
export interface ColSpanParams<TData = any, TValue = any> extends BaseColDefOptionalDataParams<TData, TValue> {
|
|
804
|
+
}
|
|
805
|
+
export interface RowSpanParams<TData = any, TValue = any> extends BaseColDefOptionalDataParams<TData, TValue> {
|
|
806
|
+
}
|
|
807
|
+
export interface SuppressKeyboardEventParams<TData = any, TValue = any> extends ColumnFunctionCallbackParams<TData, TValue> {
|
|
808
|
+
/** The keyboard event the grid received */
|
|
809
|
+
event: KeyboardEvent;
|
|
810
|
+
/** Whether the cell is editing or not */
|
|
811
|
+
editing: boolean;
|
|
812
|
+
}
|
|
813
|
+
export interface SuppressHeaderKeyboardEventParams<TData = any, TValue = any> extends AgGridCommon<TData, any> {
|
|
814
|
+
column: Column<TValue> | ColumnGroup;
|
|
815
|
+
colDef: ColDef<TData, TValue> | ColGroupDef<TData> | null;
|
|
816
|
+
/** The index of the header row of the current focused header */
|
|
817
|
+
headerRowIndex: number;
|
|
818
|
+
/** The keyboard event the grid received */
|
|
819
|
+
event: KeyboardEvent;
|
|
820
|
+
}
|
|
821
|
+
export interface CellClassParams<TData = any, TValue = any> extends RowClassParams<TData> {
|
|
822
|
+
/** Column for this callback */
|
|
823
|
+
column: Column<TValue>;
|
|
824
|
+
/** The colDef associated with the column for this cell */
|
|
825
|
+
colDef: ColDef<TData, TValue>;
|
|
826
|
+
/** The value to be rendered */
|
|
827
|
+
value: TValue | null | undefined;
|
|
828
|
+
}
|
|
829
|
+
export interface CellClassFunc<TData = any, TValue = any> {
|
|
830
|
+
(cellClassParams: CellClassParams<TData, TValue>): string | string[] | null | undefined;
|
|
831
|
+
}
|
|
832
|
+
export interface CellStyleFunc<TData = any, TValue = any> {
|
|
833
|
+
(cellClassParams: CellClassParams<TData, TValue>): CellStyle | null | undefined;
|
|
834
|
+
}
|
|
835
|
+
export interface CellStyle {
|
|
836
|
+
[cssProperty: string]: string | number;
|
|
837
|
+
}
|
|
838
|
+
export interface CellClassRules<TData = any, TValue = any> {
|
|
839
|
+
[cssClassName: string]: ((params: CellClassParams<TData, TValue>) => boolean) | string;
|
|
840
|
+
}
|
|
841
|
+
export interface CellRendererSelectorFunc<TData = any, TValue = any> {
|
|
842
|
+
(params: ICellRendererParams<TData, TValue>): CellRendererSelectorResult | undefined;
|
|
843
|
+
}
|
|
844
|
+
export interface CellEditorSelectorFunc<TData = any, TValue = any> {
|
|
845
|
+
(params: ICellEditorParams<TData, TValue>): CellEditorSelectorResult | undefined;
|
|
846
|
+
}
|
|
847
|
+
export interface CellRendererSelectorResult {
|
|
848
|
+
/** Equivalent of setting `colDef.cellRenderer` */
|
|
849
|
+
component?: any;
|
|
850
|
+
/** Equivalent of setting `colDef.cellRendererParams` */
|
|
851
|
+
params?: any;
|
|
852
|
+
}
|
|
853
|
+
export interface CellEditorSelectorResult {
|
|
854
|
+
/** Equivalent of setting `colDef.cellEditor` */
|
|
855
|
+
component?: any;
|
|
856
|
+
/** Equivalent of setting `colDef.cellEditorParams` */
|
|
857
|
+
params?: any;
|
|
858
|
+
/** Equivalent of setting `colDef.cellEditorPopup` */
|
|
859
|
+
popup?: boolean;
|
|
860
|
+
/** Equivalent of setting `colDef.cellEditorPopupPosition` */
|
|
861
|
+
popupPosition?: 'over' | 'under';
|
|
862
|
+
}
|
|
863
|
+
export type SortDirection = 'asc' | 'desc' | null;
|
|
864
|
+
export {};
|