ag-grid-community 35.3.0 → 36.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (401) hide show
  1. package/dist/ag-grid-community.js +43054 -40943
  2. package/dist/ag-grid-community.min.js +829 -472
  3. package/dist/ag-grid-community.min.noStyle.js +36 -39
  4. package/dist/ag-grid-community.noStyle.js +41911 -40166
  5. package/dist/package/main.cjs.js +27494 -32054
  6. package/dist/package/main.cjs.min.js +27 -44
  7. package/dist/package/main.esm.min.mjs +27 -44
  8. package/dist/package/main.esm.mjs +30454 -34846
  9. package/dist/package/package.json +3 -2
  10. package/dist/package.json +3 -2
  11. package/dist/types/package.json +3 -2
  12. package/dist/types/src/{agStack/widgets → agWidgets}/agAbstractField.d.ts +1 -6
  13. package/dist/types/src/{agStack/widgets → agWidgets}/agAbstractInputField.d.ts +1 -4
  14. package/dist/types/src/{agStack/widgets → agWidgets}/agAbstractLabel.d.ts +2 -7
  15. package/dist/types/src/{agStack/widgets → agWidgets}/agCheckbox.d.ts +1 -5
  16. package/dist/types/src/{agStack/widgets → agWidgets}/agContentEditableField.d.ts +1 -5
  17. package/dist/types/src/{agStack/widgets → agWidgets}/agFieldParams.d.ts +1 -1
  18. package/dist/types/src/agWidgets/agFieldSet.d.ts +19 -0
  19. package/dist/types/src/{agStack/widgets → agWidgets}/agInputDateField.d.ts +1 -5
  20. package/dist/types/src/{agStack/widgets → agWidgets}/agInputNumberField.d.ts +1 -5
  21. package/dist/types/src/{agStack/widgets → agWidgets}/agInputTextArea.d.ts +1 -5
  22. package/dist/types/src/{agStack/widgets → agWidgets}/agInputTextField.d.ts +1 -5
  23. package/dist/types/src/{agStack/widgets → agWidgets}/agList.d.ts +2 -5
  24. package/dist/types/src/{agStack/widgets → agWidgets}/agListItem.d.ts +2 -7
  25. package/dist/types/src/{agStack/widgets → agWidgets}/agPickerField.d.ts +1 -5
  26. package/dist/types/src/{agStack/widgets → agWidgets}/agPickerFieldParams.d.ts +1 -2
  27. package/dist/types/src/{agStack/widgets → agWidgets}/agRadioButton.d.ts +1 -5
  28. package/dist/types/src/{agStack/widgets → agWidgets}/agSelect.d.ts +1 -5
  29. package/dist/types/src/{agStack/widgets → agWidgets}/agToggleButton.d.ts +1 -5
  30. package/dist/types/src/agWidgets/agWidgetSelectorType.d.ts +2 -0
  31. package/dist/types/src/alignedGrids/alignedGridsService.d.ts +1 -1
  32. package/dist/types/src/api/coreApi.d.ts +1 -0
  33. package/dist/types/src/api/gridApi.d.ts +5 -3
  34. package/dist/types/src/autoGenerateColumns/autoGenerateColumnsModule.d.ts +6 -0
  35. package/dist/types/src/autoGenerateColumns/autoGenerateColumnsService.d.ts +7 -0
  36. package/dist/types/src/columnMove/columnDrag/bodyDropPivotTarget.d.ts +3 -3
  37. package/dist/types/src/columnMove/columnDrag/bodyDropTarget.d.ts +8 -5
  38. package/dist/types/src/columnMove/columnDrag/moveColumnFeature.d.ts +0 -1
  39. package/dist/types/src/columnMove/columnMoveService.d.ts +2 -2
  40. package/dist/types/src/columnMove/columnMoveUtils.d.ts +2 -0
  41. package/dist/types/src/columnMove/internalColumnMoveUtils.d.ts +4 -4
  42. package/dist/types/src/columnResize/columnResizeService.d.ts +2 -3
  43. package/dist/types/src/columnResize/groupResizeFeature.d.ts +1 -3
  44. package/dist/types/src/columnResize/resizeFeature.d.ts +1 -3
  45. package/dist/types/src/columns/baseSingleColService.d.ts +23 -0
  46. package/dist/types/src/columns/buildColumnTree.d.ts +42 -0
  47. package/dist/types/src/columns/calculatedColumnUtils.d.ts +8 -0
  48. package/dist/types/src/columns/colDefUtils.d.ts +9 -0
  49. package/dist/types/src/columns/colsApplyPrevOrder.d.ts +2 -0
  50. package/dist/types/src/columns/columnApi.d.ts +2 -3
  51. package/dist/types/src/columns/columnDefFactory.d.ts +4 -8
  52. package/dist/types/src/columns/columnEventUtils.d.ts +4 -1
  53. package/dist/types/src/columns/columnFlexService.d.ts +1 -1
  54. package/dist/types/src/columns/columnGroups/colWrapperCache.d.ts +16 -0
  55. package/dist/types/src/columns/columnGroups/columnGroupService.d.ts +14 -41
  56. package/dist/types/src/columns/columnGroups/columnGroupState.d.ts +13 -0
  57. package/dist/types/src/columns/columnModel.d.ts +105 -59
  58. package/dist/types/src/columns/columnNameService.d.ts +1 -1
  59. package/dist/types/src/columns/columnStateUtils.d.ts +54 -13
  60. package/dist/types/src/columns/columnUtils.d.ts +20 -25
  61. package/dist/types/src/columns/dataTypeService.d.ts +3 -1
  62. package/dist/types/src/columns/groupInstanceIdCreator.d.ts +1 -2
  63. package/dist/types/src/columns/selectionColService.d.ts +7 -28
  64. package/dist/types/src/columns/visibleColsService.d.ts +51 -25
  65. package/dist/types/src/components/framework/frameworkComponentWrapper.d.ts +1 -1
  66. package/dist/types/src/components/framework/registry.d.ts +2 -3
  67. package/dist/types/src/components/framework/userCompUtils.d.ts +5 -5
  68. package/dist/types/src/components/framework/userComponentFactory.d.ts +1 -1
  69. package/dist/types/src/context/bean.d.ts +1 -1
  70. package/dist/types/src/context/beanStub.d.ts +5 -3
  71. package/dist/types/src/context/context.d.ts +14 -13
  72. package/dist/types/src/context/gridBeanComparator.d.ts +1 -1
  73. package/dist/types/src/csvExport/csvExportModule.d.ts +1 -1
  74. package/dist/types/src/ctrlsService.d.ts +8 -22
  75. package/dist/types/src/dragAndDrop/dragAndDropImageComponent.d.ts +1 -3
  76. package/dist/types/src/dragAndDrop/dragAndDropService.d.ts +2 -4
  77. package/dist/types/src/dragAndDrop/dragModule.d.ts +1 -1
  78. package/dist/types/src/dragAndDrop/dragService.d.ts +1 -1
  79. package/dist/types/src/dragAndDrop/horizontalResizeService.d.ts +2 -0
  80. package/dist/types/src/dragAndDrop/rowDragComp.d.ts +1 -1
  81. package/dist/types/src/dragAndDrop/rowDragTypes.d.ts +1 -2
  82. package/dist/types/src/edit/cellEditors/agAbstractCellEditor.d.ts +2 -2
  83. package/dist/types/src/edit/cellEditors/popupEditorWrapper.d.ts +1 -1
  84. package/dist/types/src/edit/editService.d.ts +2 -0
  85. package/dist/types/src/edit/strategy/fullRowEditStrategy.d.ts +2 -1
  86. package/dist/types/src/edit/strategy/singleCellEditStrategy.d.ts +2 -1
  87. package/dist/types/src/entities/agColumn.d.ts +117 -58
  88. package/dist/types/src/entities/agColumnGroup.d.ts +24 -16
  89. package/dist/types/src/entities/agProvidedColumnGroup.d.ts +20 -19
  90. package/dist/types/src/entities/colDef-showValuesAs.d.ts +228 -0
  91. package/dist/types/src/entities/colDef.d.ts +68 -6
  92. package/dist/types/src/entities/gridOptions.d.ts +93 -8
  93. package/dist/types/src/entities/rowNode.d.ts +7 -3
  94. package/dist/types/src/environment.d.ts +2 -4
  95. package/dist/types/src/eventService.d.ts +1 -1
  96. package/dist/types/src/eventTypes.d.ts +4 -4
  97. package/dist/types/src/events.d.ts +48 -3
  98. package/dist/types/src/export/baseGridSerializingSession.d.ts +4 -2
  99. package/dist/types/src/export/iGridSerializer.d.ts +4 -2
  100. package/dist/types/src/filter/columnFilterService.d.ts +2 -2
  101. package/dist/types/src/filter/columnFilterUtils.d.ts +1 -1
  102. package/dist/types/src/filter/filterButtonComp.d.ts +1 -1
  103. package/dist/types/src/filter/filterComp.d.ts +1 -1
  104. package/dist/types/src/filter/filterDataTypeUtils.d.ts +1 -1
  105. package/dist/types/src/filter/filterLocaleText.d.ts +1 -1
  106. package/dist/types/src/filter/filterManager.d.ts +2 -1
  107. package/dist/types/src/filter/filterWrapperComp.d.ts +1 -1
  108. package/dist/types/src/filter/floating/floatingFilter.d.ts +1 -1
  109. package/dist/types/src/filter/floating/provided/floatingFilterTextInputService.d.ts +2 -2
  110. package/dist/types/src/filter/provided/date/iDateFilter.d.ts +1 -0
  111. package/dist/types/src/filter/provided/providedFilter.d.ts +1 -1
  112. package/dist/types/src/filter/provided/providedFilterUtils.d.ts +1 -1
  113. package/dist/types/src/filter/provided/simpleFilter.d.ts +1 -1
  114. package/dist/types/src/grid.d.ts +11 -12
  115. package/dist/types/src/gridBodyComp/fakeHScrollComp.d.ts +3 -4
  116. package/dist/types/src/gridBodyComp/fakeVScrollComp.d.ts +4 -0
  117. package/dist/types/src/gridBodyComp/gridBodyComp.d.ts +11 -5
  118. package/dist/types/src/gridBodyComp/gridBodyCtrl.d.ts +45 -34
  119. package/dist/types/src/gridBodyComp/gridBodyScrollFeature.d.ts +6 -5
  120. package/dist/types/src/gridBodyComp/rowContainer/rowContainerComp.d.ts +22 -0
  121. package/dist/types/src/gridBodyComp/rowContainer/rowContainerCtrl.d.ts +9 -33
  122. package/dist/types/src/gridBodyComp/scrollVisibleService.d.ts +13 -8
  123. package/dist/types/src/gridBodyComp/viewportSizeFeature.d.ts +7 -2
  124. package/dist/types/src/gridComp/gridCtrl.d.ts +3 -5
  125. package/dist/types/src/gridOptionsDefault.d.ts +1 -0
  126. package/dist/types/src/gridOptionsService.d.ts +1 -1
  127. package/dist/types/src/headerRendering/cells/abstractCell/abstractHeaderCellCtrl.d.ts +1 -1
  128. package/dist/types/src/headerRendering/cells/column/{headerComp.d.ts → agColumnHeader.d.ts} +5 -1
  129. package/dist/types/src/headerRendering/cells/column/headerCellCtrl.d.ts +5 -2
  130. package/dist/types/src/headerRendering/cells/columnGroup/{headerGroupComp.d.ts → agColumnGroupHeader.d.ts} +2 -2
  131. package/dist/types/src/headerRendering/cells/columnGroup/groupStickyLabelFeature.d.ts +1 -0
  132. package/dist/types/src/headerRendering/cells/columnGroup/headerGroupCellCtrl.d.ts +5 -1
  133. package/dist/types/src/headerRendering/cells/cssClassApplier.d.ts +5 -3
  134. package/dist/types/src/headerRendering/cells/floatingFilter/headerFilterCellCtrl.d.ts +3 -1
  135. package/dist/types/src/headerRendering/cells/floatingFilter/iHeaderFilterCellComp.d.ts +1 -1
  136. package/dist/types/src/headerRendering/gridHeaderComp.d.ts +10 -2
  137. package/dist/types/src/headerRendering/gridHeaderCtrl.d.ts +4 -2
  138. package/dist/types/src/headerRendering/headerUtils.d.ts +34 -0
  139. package/dist/types/src/headerRendering/row/headerRowComp.d.ts +9 -0
  140. package/dist/types/src/headerRendering/row/headerRowCtrl.d.ts +4 -4
  141. package/dist/types/src/headerRendering/rowContainer/headerRowContainerCtrl.d.ts +3 -11
  142. package/dist/types/src/headerRendering/rowContainer/headerRowsComp.d.ts +12 -0
  143. package/dist/types/src/interfaces/IRangeService.d.ts +1 -1
  144. package/dist/types/src/interfaces/dateComponent.d.ts +1 -1
  145. package/dist/types/src/interfaces/exportParams.d.ts +11 -5
  146. package/dist/types/src/interfaces/formulas.d.ts +3 -2
  147. package/dist/types/src/interfaces/gridState.d.ts +7 -3
  148. package/dist/types/src/interfaces/iAdvancedFilterCtrl.d.ts +2 -1
  149. package/dist/types/src/interfaces/iAutoColService.d.ts +12 -0
  150. package/dist/types/src/interfaces/iCalculatedColumns.d.ts +61 -0
  151. package/dist/types/src/interfaces/iCellEditor.d.ts +1 -1
  152. package/dist/types/src/interfaces/iCellEditorRenderer.d.ts +1 -1
  153. package/dist/types/src/interfaces/iCellStyleFeature.d.ts +1 -1
  154. package/dist/types/src/interfaces/iColsService.d.ts +36 -42
  155. package/dist/types/src/interfaces/iColumn.d.ts +18 -3
  156. package/dist/types/src/interfaces/iColumnStateUpdateStrategy.d.ts +4 -3
  157. package/dist/types/src/interfaces/iContextMenu.d.ts +1 -1
  158. package/dist/types/src/interfaces/iEditService.d.ts +4 -4
  159. package/dist/types/src/interfaces/iEventService.d.ts +1 -1
  160. package/dist/types/src/interfaces/iFileProcessor.d.ts +9 -0
  161. package/dist/types/src/interfaces/iFilter.d.ts +1 -2
  162. package/dist/types/src/interfaces/iFooterService.d.ts +2 -1
  163. package/dist/types/src/interfaces/iFrameworkOverrides.d.ts +1 -2
  164. package/dist/types/src/interfaces/iGridSection.d.ts +8 -0
  165. package/dist/types/src/interfaces/iGroupHierarchyColService.d.ts +9 -19
  166. package/dist/types/src/interfaces/iHeader.d.ts +2 -2
  167. package/dist/types/src/interfaces/iLoadingCellRenderer.d.ts +1 -1
  168. package/dist/types/src/interfaces/iModule.d.ts +4 -5
  169. package/dist/types/src/interfaces/iMultiFilter.d.ts +1 -1
  170. package/dist/types/src/interfaces/iNewFiltersToolPanel.d.ts +4 -8
  171. package/dist/types/src/interfaces/iPinnedSectionCompHost.d.ts +5 -0
  172. package/dist/types/src/interfaces/iPivotResultColsService.d.ts +27 -7
  173. package/dist/types/src/interfaces/iRichCellEditorParams.d.ts +1 -1
  174. package/dist/types/src/interfaces/iRowNode.d.ts +6 -3
  175. package/dist/types/src/interfaces/iRowNodeStage.d.ts +7 -0
  176. package/dist/types/src/interfaces/iRowStyleFeature.d.ts +1 -1
  177. package/dist/types/src/interfaces/iSelectionService.d.ts +3 -3
  178. package/dist/types/src/interfaces/iSetFilter.d.ts +1 -1
  179. package/dist/types/src/interfaces/iShowRowGroupColsService.d.ts +4 -1
  180. package/dist/types/src/interfaces/iShowValuesAsService.d.ts +48 -0
  181. package/dist/types/src/interfaces/iSort.d.ts +10 -0
  182. package/dist/types/src/interfaces/iSortModelItem.d.ts +1 -1
  183. package/dist/types/src/interfaces/iSortOption.d.ts +10 -1
  184. package/dist/types/src/interfaces/iStatusPanel.d.ts +1 -1
  185. package/dist/types/src/interfaces/iToolPanel.d.ts +1 -1
  186. package/dist/types/src/interfaces/iToolbar.d.ts +1 -1
  187. package/dist/types/src/interfaces/iUserCompDetails.d.ts +1 -2
  188. package/dist/types/src/interfaces/menuItem.d.ts +2 -2
  189. package/dist/types/src/interfaces/rowNumbers.d.ts +6 -4
  190. package/dist/types/src/main-internal.d.ts +54 -118
  191. package/dist/types/src/main.d.ts +34 -35
  192. package/dist/types/src/misc/iconService.d.ts +1 -1
  193. package/dist/types/src/misc/locale/localeService.d.ts +1 -1
  194. package/dist/types/src/misc/state/stateService.d.ts +6 -2
  195. package/dist/types/src/misc/touchService.d.ts +5 -5
  196. package/dist/types/src/modules/moduleRegistry.d.ts +1 -3
  197. package/dist/types/src/pagination/pageSizeSelectorComp.d.ts +4 -1
  198. package/dist/types/src/pagination/pageSummaryComp.d.ts +7 -2
  199. package/dist/types/src/pagination/paginationAutoPageSizeService.d.ts +1 -1
  200. package/dist/types/src/pagination/paginationService.d.ts +5 -1
  201. package/dist/types/src/pagination/paginationUtils.d.ts +1 -1
  202. package/dist/types/src/pinnedColumns/pinnedColumnService.d.ts +2 -3
  203. package/dist/types/src/pinnedRowModel/manualPinnedRowUtils.d.ts +1 -0
  204. package/dist/types/src/publicEventHandlersMap.d.ts +1 -1
  205. package/dist/types/src/rendering/ariaAnnouncementService.d.ts +1 -1
  206. package/dist/types/src/rendering/autoWidthCalculator.d.ts +1 -1
  207. package/dist/types/src/rendering/cell/cellCtrl.d.ts +7 -2
  208. package/dist/types/src/rendering/cell/cellPositionFeature.d.ts +1 -1
  209. package/dist/types/src/rendering/cellRenderers/iCellRenderer.d.ts +1 -1
  210. package/dist/types/src/rendering/features/horizontalPositionUtils.d.ts +21 -0
  211. package/dist/types/src/rendering/features/positionableFeature.d.ts +1 -1
  212. package/dist/types/src/rendering/features/setLeftFeature.d.ts +2 -4
  213. package/dist/types/src/rendering/overlays/fileInputOverlayComponent.d.ts +25 -0
  214. package/dist/types/src/rendering/overlays/fileInputOverlayModule.d.ts +6 -0
  215. package/dist/types/src/rendering/overlays/overlayComponent.d.ts +13 -3
  216. package/dist/types/src/rendering/overlays/overlayWrapperComponent.d.ts +1 -1
  217. package/dist/types/src/rendering/row/fullWidthRowFeature.d.ts +70 -0
  218. package/dist/types/src/rendering/row/iRowModeFeature.d.ts +48 -0
  219. package/dist/types/src/rendering/row/normalRowFeature.d.ts +37 -0
  220. package/dist/types/src/rendering/row/rowAutoHeightService.d.ts +1 -2
  221. package/dist/types/src/rendering/row/rowComp.d.ts +16 -0
  222. package/dist/types/src/rendering/row/rowCtrl.d.ts +75 -66
  223. package/dist/types/src/rendering/rowContainerHeightService.d.ts +2 -0
  224. package/dist/types/src/rendering/rowRenderer.d.ts +6 -5
  225. package/dist/types/src/rendering/spanning/rowSpanCache.d.ts +5 -5
  226. package/dist/types/src/rendering/spanning/rowSpanService.d.ts +15 -19
  227. package/dist/types/src/rendering/spanning/spannedRowCtrl.d.ts +3 -4
  228. package/dist/types/src/rendering/spanning/spannedRowRenderer.d.ts +3 -2
  229. package/dist/types/src/selection/baseSelectionService.d.ts +3 -3
  230. package/dist/types/src/selection/selectionService.d.ts +1 -1
  231. package/dist/types/src/sort/rowNodeSorter.d.ts +5 -12
  232. package/dist/types/src/sort/sortIndicatorComp.d.ts +1 -1
  233. package/dist/types/src/sort/sortOptionUtils.d.ts +9 -0
  234. package/dist/types/src/sort/sortService.d.ts +25 -22
  235. package/dist/types/src/styling/calculatedColumnCss.d.ts +5 -0
  236. package/dist/types/src/testing/testIdUtils.d.ts +3 -3
  237. package/dist/types/src/theming/core/core-css.d.ts +150 -3
  238. package/dist/types/src/theming/createTheme.d.ts +2 -7
  239. package/dist/types/src/theming/parts/button-style/button-styles.d.ts +1 -2
  240. package/dist/types/src/theming/parts/checkbox-style/checkbox-styles.d.ts +1 -2
  241. package/dist/types/src/theming/parts/color-scheme/color-schemes.d.ts +88 -92
  242. package/dist/types/src/theming/parts/column-drop-style/column-drop-styles.d.ts +2 -2
  243. package/dist/types/src/theming/parts/icon-set/alpine/icon-set-alpine.d.ts +1 -1
  244. package/dist/types/src/theming/parts/icon-set/balham/icon-set-balham.d.ts +1 -1
  245. package/dist/types/src/theming/parts/icon-set/material/icon-set-material.d.ts +1 -1
  246. package/dist/types/src/theming/parts/icon-set/overrides/icon-overrides.d.ts +2 -2
  247. package/dist/types/src/theming/parts/icon-set/quartz/icon-set-quartz.d.ts +1 -1
  248. package/dist/types/src/theming/parts/input-style/input-styles.d.ts +5 -2
  249. package/dist/types/src/theming/parts/tab-style/tab-styles.d.ts +1 -2
  250. package/dist/types/src/theming/parts/theme/themes.d.ts +3 -7
  251. package/dist/types/src/tooltip/tooltipComponent.d.ts +2 -2
  252. package/dist/types/src/tooltip/tooltipFeature.d.ts +1 -2
  253. package/dist/types/src/tooltip/tooltipService.d.ts +2 -2
  254. package/dist/types/src/tooltip/tooltipStateManager.d.ts +2 -2
  255. package/dist/types/src/utils/element.d.ts +1 -1
  256. package/dist/types/src/utils/gridFocus.d.ts +1 -0
  257. package/dist/types/src/utils/icon.d.ts +1 -1
  258. package/dist/types/src/utils/mergeDeep.d.ts +10 -2
  259. package/dist/types/src/utils/number.d.ts +10 -1
  260. package/dist/types/src/utils/value.d.ts +7 -0
  261. package/dist/types/src/validation/errorMessages/errorText.d.ts +20 -75
  262. package/dist/types/src/validation/rules/iconValidations.d.ts +1 -1
  263. package/dist/types/src/validation/validationModule.d.ts +24 -0
  264. package/dist/types/src/validation/validationService.d.ts +1 -1
  265. package/dist/types/src/valueService/cellApi.d.ts +9 -4
  266. package/dist/types/src/valueService/valueService.d.ts +45 -13
  267. package/dist/types/src/vanillaFrameworkOverrides.d.ts +1 -1
  268. package/dist/types/src/version.d.ts +1 -1
  269. package/dist/types/src/widgets/component.d.ts +4 -4
  270. package/dist/types/src/widgets/gridWidgetTypes.d.ts +12 -9
  271. package/dist/types/src/widgets/managedFocusFeature.d.ts +2 -2
  272. package/dist/types/src/widgets/popupService.d.ts +2 -2
  273. package/dist/types/src/widgets/tabGuard.d.ts +2 -3
  274. package/dist/types/src/widgets/tabGuardComp.d.ts +2 -2
  275. package/dist/types/src/widgets/touchListener.d.ts +3 -2
  276. package/package.json +3 -2
  277. package/styles/_css-content.scss +1506 -756
  278. package/styles/_icon-font-codes.scss +3 -0
  279. package/styles/ag-grid-no-native-widgets.css +713 -323
  280. package/styles/ag-grid-no-native-widgets.min.css +8 -5
  281. package/styles/ag-grid.css +713 -323
  282. package/styles/ag-grid.min.css +8 -5
  283. package/styles/ag-theme-alpine-no-font.css +8 -14
  284. package/styles/ag-theme-alpine-no-font.min.css +2 -2
  285. package/styles/ag-theme-alpine.css +9 -15
  286. package/styles/ag-theme-alpine.min.css +2 -2
  287. package/styles/ag-theme-balham-no-font.css +4 -3
  288. package/styles/ag-theme-balham-no-font.min.css +2 -2
  289. package/styles/ag-theme-balham.css +5 -4
  290. package/styles/ag-theme-balham.min.css +2 -2
  291. package/styles/ag-theme-material-no-font.css +10 -11
  292. package/styles/ag-theme-material-no-font.min.css +2 -2
  293. package/styles/ag-theme-material.css +11 -12
  294. package/styles/ag-theme-material.min.css +2 -2
  295. package/styles/ag-theme-quartz-no-font.css +13 -22
  296. package/styles/ag-theme-quartz-no-font.min.css +2 -2
  297. package/styles/ag-theme-quartz.css +14 -23
  298. package/styles/ag-theme-quartz.min.css +3 -3
  299. package/styles/agGridAlpineFont.css +1 -1
  300. package/styles/agGridAlpineFont.min.css +1 -1
  301. package/styles/agGridBalhamFont.css +1 -1
  302. package/styles/agGridBalhamFont.min.css +1 -1
  303. package/styles/agGridClassicFont.css +1 -1
  304. package/styles/agGridClassicFont.min.css +1 -1
  305. package/styles/agGridMaterialFont.css +1 -1
  306. package/styles/agGridMaterialFont.min.css +1 -1
  307. package/styles/agGridQuartzFont.css +1 -1
  308. package/styles/agGridQuartzFont.min.css +1 -1
  309. package/dist/types/src/agStack/constants/direction.d.ts +0 -8
  310. package/dist/types/src/agStack/constants/keyCode.d.ts +0 -25
  311. package/dist/types/src/agStack/core/agBeanStub.d.ts +0 -87
  312. package/dist/types/src/agStack/core/agComponentStub.d.ts +0 -59
  313. package/dist/types/src/agStack/core/agContext.d.ts +0 -54
  314. package/dist/types/src/agStack/core/baseAriaAnnouncementService.d.ts +0 -21
  315. package/dist/types/src/agStack/core/baseDragAndDropService.d.ts +0 -54
  316. package/dist/types/src/agStack/core/baseDragService.d.ts +0 -39
  317. package/dist/types/src/agStack/core/baseEnvironment.d.ts +0 -58
  318. package/dist/types/src/agStack/core/baseRegistry.d.ts +0 -15
  319. package/dist/types/src/agStack/events/baseEventService.d.ts +0 -18
  320. package/dist/types/src/agStack/events/localEventService.d.ts +0 -27
  321. package/dist/types/src/agStack/events/pointerCapture.d.ts +0 -7
  322. package/dist/types/src/agStack/focus/agManagedFocusFeature.d.ts +0 -28
  323. package/dist/types/src/agStack/focus/agTabGuardComp.d.ts +0 -16
  324. package/dist/types/src/agStack/focus/agTabGuardFeature.d.ts +0 -55
  325. package/dist/types/src/agStack/focus/tabGuardCtrl.d.ts +0 -69
  326. package/dist/types/src/agStack/interfaces/agBaseBean.d.ts +0 -12
  327. package/dist/types/src/agStack/interfaces/agBean.d.ts +0 -35
  328. package/dist/types/src/agStack/interfaces/agComponent.d.ts +0 -54
  329. package/dist/types/src/agStack/interfaces/agCoreBean.d.ts +0 -23
  330. package/dist/types/src/agStack/interfaces/agCoreBeanCollection.d.ts +0 -39
  331. package/dist/types/src/agStack/interfaces/agEvent.d.ts +0 -4
  332. package/dist/types/src/agStack/interfaces/agFrameworkOverrides.d.ts +0 -21
  333. package/dist/types/src/agStack/interfaces/baseEvents.d.ts +0 -50
  334. package/dist/types/src/agStack/interfaces/baseProperties.d.ts +0 -25
  335. package/dist/types/src/agStack/interfaces/iAfterGuiAttachedParams.d.ts +0 -12
  336. package/dist/types/src/agStack/interfaces/iAriaAnnouncementService.d.ts +0 -5
  337. package/dist/types/src/agStack/interfaces/iComponent.d.ts +0 -10
  338. package/dist/types/src/agStack/interfaces/iContext.d.ts +0 -16
  339. package/dist/types/src/agStack/interfaces/iDrag.d.ts +0 -30
  340. package/dist/types/src/agStack/interfaces/iDragAndDrop.d.ts +0 -99
  341. package/dist/types/src/agStack/interfaces/iEnvironment.d.ts +0 -6
  342. package/dist/types/src/agStack/interfaces/iEvent.d.ts +0 -20
  343. package/dist/types/src/agStack/interfaces/iEventEmitter.d.ts +0 -14
  344. package/dist/types/src/agStack/interfaces/iIcon.d.ts +0 -2
  345. package/dist/types/src/agStack/interfaces/iIconService.d.ts +0 -5
  346. package/dist/types/src/agStack/interfaces/iLocaleService.d.ts +0 -7
  347. package/dist/types/src/agStack/interfaces/iPopup.d.ts +0 -63
  348. package/dist/types/src/agStack/interfaces/iPopupComponent.d.ts +0 -11
  349. package/dist/types/src/agStack/interfaces/iPopupService.d.ts +0 -19
  350. package/dist/types/src/agStack/interfaces/iProperties.d.ts +0 -42
  351. package/dist/types/src/agStack/interfaces/iRegistry.d.ts +0 -5
  352. package/dist/types/src/agStack/interfaces/iTooltip.d.ts +0 -20
  353. package/dist/types/src/agStack/popup/agPopupComponent.d.ts +0 -13
  354. package/dist/types/src/agStack/popup/basePopupService.d.ts +0 -60
  355. package/dist/types/src/agStack/popup/popupPositionUtils.d.ts +0 -71
  356. package/dist/types/src/agStack/rendering/agPositionableFeature.d.ts +0 -101
  357. package/dist/types/src/agStack/rendering/autoScrollService.d.ts +0 -38
  358. package/dist/types/src/agStack/rendering/cssClassManager.d.ts +0 -7
  359. package/dist/types/src/agStack/theming/inject.d.ts +0 -26
  360. package/dist/types/src/agStack/theming/part.d.ts +0 -9
  361. package/dist/types/src/agStack/theming/partImpl.d.ts +0 -56
  362. package/dist/types/src/agStack/theming/shared/shared-css.d.ts +0 -282
  363. package/dist/types/src/agStack/theming/theme.d.ts +0 -23
  364. package/dist/types/src/agStack/theming/themeImpl.d.ts +0 -46
  365. package/dist/types/src/agStack/theming/themeLogger.d.ts +0 -24
  366. package/dist/types/src/agStack/theming/themeTypeUtils.d.ts +0 -18
  367. package/dist/types/src/agStack/theming/themeTypes.d.ts +0 -209
  368. package/dist/types/src/agStack/theming/themeUtils.d.ts +0 -13
  369. package/dist/types/src/agStack/tooltip/agHighlightTooltipFeature.d.ts +0 -24
  370. package/dist/types/src/agStack/tooltip/agTooltipComponent.d.ts +0 -12
  371. package/dist/types/src/agStack/tooltip/agTooltipFeature.d.ts +0 -31
  372. package/dist/types/src/agStack/tooltip/baseTooltipStateManager.d.ts +0 -81
  373. package/dist/types/src/agStack/utils/aria.d.ts +0 -79
  374. package/dist/types/src/agStack/utils/array.d.ts +0 -32
  375. package/dist/types/src/agStack/utils/bigInt.d.ts +0 -2
  376. package/dist/types/src/agStack/utils/browser.d.ts +0 -11
  377. package/dist/types/src/agStack/utils/date.d.ts +0 -40
  378. package/dist/types/src/agStack/utils/document.d.ts +0 -15
  379. package/dist/types/src/agStack/utils/dom.d.ts +0 -141
  380. package/dist/types/src/agStack/utils/download.d.ts +0 -2
  381. package/dist/types/src/agStack/utils/event.d.ts +0 -34
  382. package/dist/types/src/agStack/utils/focus.d.ts +0 -12
  383. package/dist/types/src/agStack/utils/function.d.ts +0 -37
  384. package/dist/types/src/agStack/utils/fuzzyMatch.d.ts +0 -22
  385. package/dist/types/src/agStack/utils/generic.d.ts +0 -18
  386. package/dist/types/src/agStack/utils/keyboard.d.ts +0 -2
  387. package/dist/types/src/agStack/utils/locale.d.ts +0 -17
  388. package/dist/types/src/agStack/utils/promise.d.ts +0 -16
  389. package/dist/types/src/agStack/utils/string.d.ts +0 -17
  390. package/dist/types/src/agStack/utils/value.d.ts +0 -6
  391. package/dist/types/src/agStack/widgets/agWidgetSelectorType.d.ts +0 -2
  392. package/dist/types/src/columns/baseColsService.d.ts +0 -52
  393. package/dist/types/src/columns/columnFactoryUtils.d.ts +0 -28
  394. package/dist/types/src/columns/columnGroups/columnGroupUtils.d.ts +0 -3
  395. package/dist/types/src/columns/columnKeyCreator.d.ts +0 -9
  396. package/dist/types/src/gridBodyComp/scrollbarVisibilityHelper.d.ts +0 -2
  397. package/dist/types/src/headerRendering/rowContainer/headerRowContainerComp.d.ts +0 -15
  398. package/dist/types/src/interfaces/iColumnCollectionService.d.ts +0 -15
  399. package/dist/types/src/theming/parts/batch-edit/batch-edit-styles.d.ts +0 -22
  400. package/dist/types/src/theming/parts/formula-style/formula-styles.d.ts +0 -89
  401. package/dist/types/src/theming/parts/notes/note-styles.d.ts +0 -37
@@ -1,9 +1,13 @@
1
1
  import type { ColumnModel } from '../columns/columnModel';
2
+ import type { VisibleColsService } from '../columns/visibleColsService';
2
3
  import type { BeanCollection } from '../context/context';
4
+ import type { ColumnPinnedType } from '../interfaces/iColumn';
3
5
  import type { HeaderPosition } from '../interfaces/iHeaderPosition';
4
6
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
5
7
  export declare function getHeaderRowCount(colModel: ColumnModel): number;
6
8
  export declare function getFocusHeaderRowCount(beans: BeanCollection): number;
9
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
10
+ export declare function getAriaHeaderRowCount(beans: BeanCollection): number;
7
11
  export declare function getGroupRowsHeight(beans: BeanCollection): number[];
8
12
  export declare function getColumnHeaderRowHeight(beans: BeanCollection): number;
9
13
  export declare function getHeaderHeight(beans: BeanCollection): number;
@@ -11,3 +15,33 @@ export declare function getHeaderHeight(beans: BeanCollection): number;
11
15
  export declare function getFloatingFiltersHeight(beans: BeanCollection): number;
12
16
  export declare function isHeaderPositionEqual(headerPosA: HeaderPosition, headerPosB: HeaderPosition): boolean;
13
17
  export declare function isHeaderPosition(position: unknown): position is HeaderPosition;
18
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
19
+ export interface PinnedSectionWidths {
20
+ leftWidth: number;
21
+ centerWidth: number;
22
+ rightWidth: number;
23
+ }
24
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
25
+ export declare function getPinnedSectionWidths(visibleCols: VisibleColsService, isPrint: boolean): PinnedSectionWidths;
26
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
27
+ export interface PinnedSectionElements {
28
+ ePinnedLeft: HTMLElement;
29
+ eScrolling: HTMLElement;
30
+ ePinnedRight: HTMLElement;
31
+ }
32
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
33
+ export interface PinnedSectionWidthsCache {
34
+ pinnedLeftWidth: number | undefined;
35
+ centerWidth: number | undefined;
36
+ pinnedRightWidth: number | undefined;
37
+ }
38
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
39
+ export declare function updatePinnedSectionWidths(visibleCols: VisibleColsService, isPrint: boolean, elements: PinnedSectionElements, cache: PinnedSectionWidthsCache): void;
40
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
41
+ export interface PinnedSections<T> {
42
+ left: T[];
43
+ center: T[];
44
+ right: T[];
45
+ }
46
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
47
+ export declare function partitionByPinned<T>(items: T[], getPinned: (item: T) => ColumnPinnedType): PinnedSections<T>;
@@ -4,9 +4,18 @@ export type HeaderRowType = 'group' | 'column' | 'filter';
4
4
  export declare class HeaderRowComp extends Component {
5
5
  private readonly ctrl;
6
6
  private headerComps;
7
+ private readonly ePinnedLeftCells;
8
+ private readonly ePinnedLeftWrapper;
9
+ private readonly eScrollingCells;
10
+ private readonly ePinnedRightCells;
11
+ private readonly ePinnedRightWrapper;
12
+ private readonly pinnedWidthsCache;
7
13
  constructor(ctrl: HeaderRowCtrl);
8
14
  postConstruct(): void;
9
15
  destroy(): void;
10
16
  private setHeaderCtrls;
17
+ private getHeaderCellGroup;
18
+ private updatePinnedCellGroupWidths;
19
+ private setRowIndex;
11
20
  private createHeaderComp;
12
21
  }
@@ -2,7 +2,6 @@ import { BeanStub } from '../../context/beanStub';
2
2
  import type { AgColumn } from '../../entities/agColumn';
3
3
  import type { AgColumnGroup } from '../../entities/agColumnGroup';
4
4
  import type { BrandedType } from '../../interfaces/brandedType';
5
- import type { ColumnPinnedType } from '../../interfaces/iColumn';
6
5
  import type { AbstractHeaderCellCtrl } from '../cells/abstractCell/abstractHeaderCellCtrl';
7
6
  import type { HeaderRowType } from './headerRowComp';
8
7
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
@@ -10,6 +9,7 @@ export interface IHeaderRowComp {
10
9
  setTop(top: string): void;
11
10
  setHeight(height: string): void;
12
11
  setHeaderCtrls(ctrls: AbstractHeaderCellCtrl[], forceOrder: boolean, afterScroll: boolean): void;
12
+ refreshPinnedCellGroupWidths(): void;
13
13
  setWidth(width: string): void;
14
14
  setRowIndex(rowIndex: number): void;
15
15
  }
@@ -17,7 +17,6 @@ export type HeaderRowCtrlInstanceId = BrandedType<number, 'HeaderRowCtrlInstance
17
17
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
18
18
  export declare class HeaderRowCtrl extends BeanStub {
19
19
  rowIndex: number;
20
- readonly pinned: ColumnPinnedType;
21
20
  readonly type: HeaderRowType;
22
21
  readonly instanceId: HeaderRowCtrlInstanceId;
23
22
  private comp;
@@ -26,7 +25,7 @@ export declare class HeaderRowCtrl extends BeanStub {
26
25
  private allCtrls;
27
26
  private isPrintLayout;
28
27
  private isEnsureDomOrder;
29
- constructor(rowIndex: number, pinned: ColumnPinnedType, type: HeaderRowType);
28
+ constructor(rowIndex: number, type: HeaderRowType);
30
29
  setRowIndex(rowIndex: number): void;
31
30
  postConstruct(): void;
32
31
  /** Checks that every header cell that is currently visible has been rendered.
@@ -43,6 +42,7 @@ export declare class HeaderRowCtrl extends BeanStub {
43
42
  private addEventListeners;
44
43
  private onDisplayedColumnsChanged;
45
44
  private setWidth;
45
+ private refreshPinnedCellGroupWidths;
46
46
  private getWidthForRow;
47
47
  private onRowHeightChanged;
48
48
  getTopAndHeight(): {
@@ -54,7 +54,7 @@ export declare class HeaderRowCtrl extends BeanStub {
54
54
  * Recycles the header cell ctrls and creates new ones for the columns in the viewport
55
55
  * @returns The updated header cell ctrls
56
56
  */
57
- getUpdatedHeaderCtrls(): AbstractHeaderCellCtrl<import("../../main-umd-noStyles").IAbstractHeaderCellComp, AgColumnGroup<any> | AgColumn<any>, import("../cells/abstractCell/abstractHeaderCellCtrl").IHeaderResizeFeature>[];
57
+ getUpdatedHeaderCtrls(): AbstractHeaderCellCtrl<import("../../main-umd-noStyles").IAbstractHeaderCellComp, AgColumn<any> | AgColumnGroup<any>, import("../cells/abstractCell/abstractHeaderCellCtrl").IHeaderResizeFeature>[];
58
58
  /** Get the current header cell ctrls */
59
59
  getHeaderCellCtrls(): AbstractHeaderCellCtrl[];
60
60
  private recycleAndCreateHeaderCtrls;
@@ -2,30 +2,23 @@ import { BeanStub } from '../../context/beanStub';
2
2
  import type { AgColumn } from '../../entities/agColumn';
3
3
  import type { AgColumnGroup } from '../../entities/agColumnGroup';
4
4
  import type { ScrollPartner } from '../../gridBodyComp/gridBodyScrollFeature';
5
- import type { ColumnPinnedType } from '../../interfaces/iColumn';
6
5
  import type { AbstractHeaderCellCtrl } from '../cells/abstractCell/abstractHeaderCellCtrl';
7
6
  import type { HeaderRowType } from '../row/headerRowComp';
8
7
  import { HeaderRowCtrl } from '../row/headerRowCtrl';
9
8
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
10
- export interface IHeaderRowContainerComp {
11
- setCenterWidth(width: string): void;
9
+ export interface IHeaderRowsComp {
12
10
  setViewportScrollLeft(left: number): void;
13
- setPinnedContainerWidth(width: string): void;
14
- setDisplayed(displayed: boolean): void;
15
11
  setCtrls(ctrls: HeaderRowCtrl[]): void;
16
12
  }
17
13
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
18
14
  export declare class HeaderRowContainerCtrl extends BeanStub implements ScrollPartner {
19
- readonly pinned: ColumnPinnedType;
20
- comp: IHeaderRowContainerComp;
21
- hidden: boolean;
15
+ comp: IHeaderRowsComp;
22
16
  private includeFloatingFilter;
23
17
  private filtersRowCtrl;
24
18
  private columnsRowCtrl;
25
19
  private groupsRowCtrls;
26
20
  eViewport: HTMLElement;
27
- constructor(pinned: ColumnPinnedType);
28
- setComp(comp: IHeaderRowContainerComp, eGui: HTMLElement): void;
21
+ setComp(comp: IHeaderRowsComp, eGui: HTMLElement, eScrollViewport?: HTMLElement): void;
29
22
  getAllCtrls(): HeaderRowCtrl[];
30
23
  refresh(keepColumns?: boolean): void;
31
24
  getHeaderCtrlForColumn(column: AgColumn | AgColumnGroup): AbstractHeaderCellCtrl | undefined;
@@ -40,5 +33,4 @@ export declare class HeaderRowContainerCtrl extends BeanStub implements ScrollPa
40
33
  destroy(): void;
41
34
  private setupDragAndDrop;
42
35
  private restoreFocusOnHeader;
43
- private setupCenterWidth;
44
36
  }
@@ -0,0 +1,12 @@
1
+ import { BeanStub } from '../../context/beanStub';
2
+ export declare class HeaderRowsComp extends BeanStub {
3
+ private readonly eHeaderWrapper;
4
+ private readonly eGridViewport;
5
+ private readonly setHeaderRowFocusableElements;
6
+ private headerRowComps;
7
+ constructor(eHeaderWrapper: HTMLElement, eGridViewport: HTMLElement, setHeaderRowFocusableElements: (elements: HTMLElement[]) => void);
8
+ postConstruct(): void;
9
+ destroy(): void;
10
+ private destroyRowComp;
11
+ private setCtrls;
12
+ }
@@ -1,4 +1,4 @@
1
- import type { AutoScrollService } from '../agStack/rendering/autoScrollService';
1
+ import type { AutoScrollService } from 'ag-stack';
2
2
  import type { BeanStub } from '../context/beanStub';
3
3
  import type { AgColumn } from '../entities/agColumn';
4
4
  import type { AgColumnGroup } from '../entities/agColumnGroup';
@@ -1,4 +1,4 @@
1
- import type { IComponent } from '../agStack/interfaces/iComponent';
1
+ import type { IComponent } from 'ag-stack';
2
2
  import type { DateFilterParams } from '../filter/provided/date/iDateFilter';
3
3
  import type { IAfterGuiAttachedParams } from '../interfaces/iAfterGuiAttachedParams';
4
4
  import type { AgGridCommon } from '../interfaces/iCommon';
@@ -64,13 +64,19 @@ export interface BaseExportParams {
64
64
  */
65
65
  skipPinnedBottom?: boolean;
66
66
  /**
67
- * The source to use for getting cell values: 'data', 'batch', or 'edit'.
68
- * - `'data'`: Returns values from the underlying row data
69
- * - `'batch'`: Returns pending batch edit values (falls back to data if not in batch mode)
70
- * - `'edit'`: Returns current editor values including live typing
67
+ * The base source to use for getting cell values.
68
+ * - `'data'`: values from the underlying row data
69
+ * - `'batch'`: pending batch edit values (falls back to data if not in batch mode)
70
+ * - `'edit'`: current editor values including live typing
71
71
  * @default 'data'
72
72
  */
73
73
  valueFrom?: CellValueResolveFrom;
74
+ /**
75
+ * Apply the Show Values As transform (e.g. a percentage of a total) on top of the `valueFrom` base, so the
76
+ * export carries the displayed value for columns with an active mode. Columns without one export the base value.
77
+ * @default true
78
+ */
79
+ transformValues?: boolean;
74
80
  /**
75
81
  * A callback function that will be invoked once per row in the grid. Return true to omit the row from the export.
76
82
  */
@@ -105,7 +111,7 @@ export interface ExportParams<T> extends BaseExportParams {
105
111
  /** A callback function to return content to be inserted below a row in the export. */
106
112
  getCustomContentBelowRow?: (params: ProcessRowGroupForExportParams) => T | undefined;
107
113
  /**
108
- * Set to `true` to allow the contents of the Header Row Column to be exported.
114
+ * Set to `true` to allow the contents of the Row Numbers column to be exported.
109
115
  */
110
116
  exportRowNumbers?: boolean;
111
117
  }
@@ -1,5 +1,4 @@
1
1
  import type { ChangedRowNodes } from '../clientSideRowModel/changedRowNodes';
2
- import type { ColumnCollections } from '../columns/columnModel';
3
2
  import type { Bean } from '../context/bean';
4
3
  import type { AgColumn } from '../entities/agColumn';
5
4
  import type { RowNode } from '../entities/rowNode';
@@ -67,12 +66,14 @@ export interface IFormulaDataService extends Bean {
67
66
  export interface IFormulaService extends Bean {
68
67
  active: boolean;
69
68
  hasCachedRows(): boolean;
69
+ isEvaluationActive(): boolean;
70
70
  isFormula(value: unknown): value is `=${string}`;
71
- setFormulasActive(cols: ColumnCollections): void;
71
+ setFormulasActive(columns: AgColumn[]): void;
72
72
  resolveValue(col: AgColumn, row: RowNode): unknown;
73
73
  getDataSourceFormula(row: RowNode, col: AgColumn): string | undefined;
74
74
  getFormulaError(col: AgColumn, row: RowNode): Error | null;
75
75
  normaliseFormula(value: string, shorthand: boolean): string | null;
76
+ validateExpression(expression: string): Error | null;
76
77
  getColByRef(ref: string): AgColumn | null;
77
78
  getColRef(col: AgColumn): string | null;
78
79
  updateFormulaByOffset(params: {
@@ -5,6 +5,12 @@ import type { ColumnFilterState, FilterModel } from './iFilter';
5
5
  import type { RowPosition } from './iRowPosition';
6
6
  import type { SortModelItem } from './iSortModelItem';
7
7
  import type { ServerSideRowGroupSelectionState, ServerSideRowSelectionState } from './selectionState';
8
+ /**
9
+ * Currently selected filters when using the new filter tool panel with `agSelectableColumnFilter`, keyed by column id.
10
+ */
11
+ export interface SelectableFilterState {
12
+ [colId: string]: number;
13
+ }
8
14
  export interface FilterState {
9
15
  /**
10
16
  * Filter model for Column Filters
@@ -21,9 +27,7 @@ export interface FilterState {
21
27
  /**
22
28
  * Currently selected filter when using new filter tool panel with `agSelectableColumnFilter`
23
29
  */
24
- selectableFilters?: {
25
- [colId: string]: number;
26
- };
30
+ selectableFilters?: SelectableFilterState;
27
31
  }
28
32
  export interface CellSelectionCellState {
29
33
  id?: string;
@@ -1,6 +1,7 @@
1
+ import type { IPinnedSectionCompHost } from './iPinnedSectionCompHost';
1
2
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
2
3
  export interface IAdvancedFilterCtrl {
3
- setupHeaderComp(eCompToInsertBefore: HTMLElement): void;
4
+ mountTopSectionComp(host: IPinnedSectionCompHost): void;
4
5
  focusHeaderComp(): boolean;
5
6
  getHeaderHeight(): number;
6
7
  toggleFilterBuilder(params: {
@@ -0,0 +1,12 @@
1
+ import type { AgColumn } from '../entities/agColumn';
2
+ import type { GridOptions } from '../entities/gridOptions';
3
+ import type { ColumnEventType } from '../events';
4
+ import type { PropertyChangedEvent, PropertyValueChangedEvent } from '../gridOptionsService';
5
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
6
+ export interface IAutoColService {
7
+ /** Generated auto-group columns. Flat-array — empty when no auto-cols are active. */
8
+ columns: AgColumn[];
9
+ /** Sync internal cols against current row-group state. */
10
+ refreshCols(source: ColumnEventType): AgColumn[] | null;
11
+ updateColumns(event: PropertyChangedEvent | PropertyValueChangedEvent<keyof GridOptions>): void;
12
+ }
@@ -0,0 +1,61 @@
1
+ import type { ColumnTreeBuild } from '../columns/buildColumnTree';
2
+ import type { ColumnState } from '../columns/columnStateUtils';
3
+ import type { Bean } from '../context/bean';
4
+ import type { AgColumn } from '../entities/agColumn';
5
+ import type { ColDef } from '../entities/colDef';
6
+ import type { ColumnEventType } from '../events';
7
+ import type { HeaderPosition } from './iHeaderPosition';
8
+ export type CalculatedColumnExpressionPicker = 'columns' | 'functions' | 'operators';
9
+ export type CalculatedColumnApplyMode = 'live' | 'deferred';
10
+ export interface CalculatedColumnsOptions {
11
+ /**
12
+ * Cell data types shown in the Calculated Column dialog type selector.
13
+ * Values must be built-in cell data types or custom types defined in `dataTypeDefinitions`.
14
+ * @default ['text', 'number', 'date', 'boolean']
15
+ */
16
+ dataTypes?: string[];
17
+ /**
18
+ * Expression pickers shown in the Calculated Column dialog expression editor.
19
+ * @default ['columns', 'functions', 'operators']
20
+ */
21
+ expressionPickers?: CalculatedColumnExpressionPicker[] | null;
22
+ /**
23
+ * Suppress highlighting the calculated column currently being edited by the dialog.
24
+ * @default false
25
+ */
26
+ suppressColumnHighlighting?: boolean;
27
+ /**
28
+ * When Calculated Column dialog edits are applied: `'live'` applies every change immediately;
29
+ * `'deferred'` validates the expression and applies changes via Apply and Cancel buttons.
30
+ * @default 'live'
31
+ */
32
+ applyMode?: CalculatedColumnApplyMode;
33
+ }
34
+ export type CalculatedColumnsGridOption = boolean | CalculatedColumnsOptions;
35
+ export type CalculatedColumnDef<TData = any, TValue = any> = ColDef<TData, TValue> & {
36
+ calculatedExpression: string;
37
+ };
38
+ export type CalculatedColumnUpdate<TData = any, TValue = any> = Partial<ColDef<TData, TValue>> & {
39
+ colId?: never;
40
+ calculatedExpression?: string;
41
+ };
42
+ export interface ICalculatedColumnsService extends Bean {
43
+ removeCalculatedColumn(column: AgColumn | null | undefined): void;
44
+ openCalculatedColumnDialog(column: AgColumn | null | undefined, mode: 'add' | 'edit', focusDialog?: boolean, restoreFocusParams?: {
45
+ eventSource?: HTMLElement;
46
+ headerPosition: HeaderPosition | null;
47
+ }): void;
48
+ /** Build hook for static (user-declared) calc cols: `null` if removed (never build), the replacement
49
+ * `ColDef` if updated, `undefined` if unchanged. Applied during the build, so removed cols are never materialised. */
50
+ overrideFor(colDef: ColDef): ColDef | null | undefined;
51
+ /** Build-time dynamic calc-col hook: keep owned AgColumns alive and splice them at anchors (`overrideFor` handles static cols). */
52
+ contributeTo(build: ColumnTreeBuild): void;
53
+ /** Clear dynamic calc-col state; with `preserveCreatedColumns`, park added cols for `restoreDynamicColumnDefs`, and return whether caller must rebuild. */
54
+ resetDynamicColumnDefs(preserveCreatedColumns?: boolean): boolean;
55
+ /** Re-add parked dynamic cols referenced by `state` and return whether any were restored (caller rebuilds). */
56
+ restoreDynamicColumnDefs(state: ColumnState[]): boolean;
57
+ /** Run a suppressed rebuild after calc-col mutation so column-state ops avoid spurious calc lifecycle events. */
58
+ refreshDynamicColumns(source: ColumnEventType): void;
59
+ isEnabled(): boolean;
60
+ isHighlightedColumn(column: AgColumn | null): boolean;
61
+ }
@@ -1,4 +1,4 @@
1
- import type { IPopupComponent } from '../agStack/interfaces/iPopupComponent';
1
+ import type { IPopupComponent } from 'ag-stack';
2
2
  import type { ColDef } from '../entities/colDef';
3
3
  import type { Column } from '../interfaces/iColumn';
4
4
  import type { GetCellsParams } from './iCellsParams';
@@ -1,4 +1,4 @@
1
- import type { IComponent } from '../agStack/interfaces/iComponent';
1
+ import type { IComponent } from 'ag-stack';
2
2
  import type { AgGridCommon } from './iCommon';
3
3
  export interface ICellEditorRendererParams<TValue = any, TData = any, TContext = any> extends AgGridCommon<TData, TContext> {
4
4
  /** The value to be rendered by the renderer */
@@ -1,4 +1,4 @@
1
- import type { AgBaseBean } from '../agStack/interfaces/agBaseBean';
1
+ import type { AgBaseBean } from 'ag-stack';
2
2
  import type { BeanCollection } from '../context/context';
3
3
  import type { ICellComp } from '../rendering/cell/cellCtrl';
4
4
  export interface ICellStyleFeature extends AgBaseBean<BeanCollection> {
@@ -1,51 +1,45 @@
1
- import type { ColumnChangedEventType } from '../columns/columnApi';
2
- import type { Maybe } from '../columns/columnModel';
3
1
  import type { ColumnState, ColumnStateParams } from '../columns/columnStateUtils';
4
2
  import type { AgColumn } from '../entities/agColumn';
5
- import type { ColDef, ColKey, IAggFunc } from '../entities/colDef';
3
+ import type { ColAggFunc, ColKey } from '../entities/colDef';
6
4
  import type { ColumnEventType } from '../events';
7
- type ColumnProcessorKeys = 'add' | 'remove' | 'set';
8
- export type ColumnProcessor = (column: AgColumn, added: boolean, source: ColumnEventType) => void;
9
- export type ColumnProcessors = Record<ColumnProcessorKeys, ColumnProcessor>;
10
- export type ColumnOrdering = {
11
- enableProp: 'rowGroup' | 'pivot';
12
- initialEnableProp: 'initialRowGroup' | 'initialPivot';
13
- indexProp: 'rowGroupIndex' | 'pivotIndex';
14
- initialIndexProp: 'initialRowGroupIndex' | 'initialPivotIndex';
15
- };
16
- export type ColumnExtractors = {
17
- setFlagFunc: (col: AgColumn, flag: boolean, source: ColumnEventType) => void;
18
- getIndexFunc: (colDef: ColDef) => number | null | undefined;
19
- getInitialIndexFunc: (colDef: ColDef) => number | null | undefined;
20
- getValueFunc: (colDef: ColDef) => boolean | null | undefined;
21
- getInitialValueFunc: (colDef: ColDef) => boolean | undefined;
22
- };
23
- /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
5
+ /** `columnChanged`-family event dispatched by a cols service. @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
6
+ export type ColumnChangedEventType = 'columnValueChanged' | 'columnPivotChanged' | 'columnRowGroupChanged';
7
+ /** Shared base for all three cols services; service-specific ops live on sub-interfaces. @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
24
8
  export interface IColsService {
25
9
  columns: AgColumn[];
26
- eventName: ColumnChangedEventType;
27
- columnProcessors?: ColumnProcessors;
28
- columnOrdering?: ColumnOrdering;
29
- columnExtractors?: ColumnExtractors;
10
+ /** Cols staged since the last flush; non-null = awaiting dispatch. {@link ColumnModel.flushColChanges} */
11
+ readonly pendingChanged: Set<AgColumn> | null;
12
+ /** Dispatch this service's staged change (if any); called by {@link ColumnModel.flushColChanges}. */
13
+ dispatchColChange(source: ColumnEventType): void;
30
14
  setColumns(colKeys: ColKey[] | undefined, source: ColumnEventType): void;
31
- addColumns(keys: Maybe<ColKey>[] | undefined, source: ColumnEventType): void;
32
- removeColumns(keys: Maybe<ColKey>[] | undefined, source: ColumnEventType): void;
33
- getColumnIndex(colId: string): number | undefined;
34
- extractCols(source: ColumnEventType, oldProvidedCols: AgColumn[] | undefined): void;
35
- syncColumnWithState(column: AgColumn, source: ColumnEventType, getValue: <U extends keyof ColumnStateParams, S extends keyof ColumnStateParams>(key1: U, key2?: S) => {
36
- value1: ColumnStateParams[U] | undefined;
37
- value2: ColumnStateParams[S] | undefined;
38
- }, rowIndex?: {
39
- [key: string]: number;
40
- } | null): void;
41
- sortColumns(compareFn?: (a: AgColumn, b: AgColumn) => number): void;
42
- restoreColumnOrder(columnStateAccumulator: {
43
- [colId: string]: ColumnState;
44
- }, incomingColumnState: {
15
+ addColumns(keys: (ColKey | null | undefined)[] | undefined, source: ColumnEventType): void;
16
+ removeColumns(keys: (ColKey | null | undefined)[] | undefined, source: ColumnEventType): void;
17
+ /** Recompute active cols with a shared scan: call {@link extractCol} per primary col, then finalise via {@link commitExtract}. */
18
+ extractCol(col: AgColumn, colIsNew: boolean): void;
19
+ commitExtract(source: ColumnEventType): void;
20
+ syncColState(column: AgColumn, stateItem: ColumnState | null, defaultState: ColumnStateParams | undefined, source: ColumnEventType): void;
21
+ }
22
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
23
+ export interface IOrderedColsService extends IColsService {
24
+ /** Assigns synthetic indexes to `incoming` and adds new entries to `accumulator`; both mutated. */
25
+ restoreColumnOrder(incoming: {
45
26
  [colId: string]: ColumnState;
46
- }): {
27
+ }, accumulator: {
47
28
  [colId: string]: ColumnState;
48
- };
49
- setColumnAggFunc?(key: ColKey | undefined, aggFunc: string | IAggFunc | null | undefined, source: ColumnEventType): void;
29
+ }): void;
30
+ sortByPendingState(): void;
31
+ }
32
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
33
+ export interface IRowGroupColsService extends IOrderedColsService {
34
+ moveColumn(fromIndex: number, toIndex: number, source: ColumnEventType): void;
35
+ }
36
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
37
+ export interface IPivotColsService extends IOrderedColsService {
38
+ isStrictColumnOrder(): boolean;
39
+ }
40
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
41
+ export interface IValueColsService extends IColsService {
42
+ setColumnAggFunc(key: ColKey | undefined, aggFunc: ColAggFunc, source: ColumnEventType): void;
43
+ /** Re-order active value cols by the `valueIndex` recorded during the last `syncColState` pass. */
44
+ sortByPendingState(): void;
50
45
  }
51
- export {};
@@ -1,8 +1,10 @@
1
- import type { IEventEmitter } from '../agStack/interfaces/iEventEmitter';
1
+ import type { IEventEmitter } from 'ag-stack';
2
2
  import type { AgProvidedColumnGroupEvent } from '../entities/agProvidedColumnGroup';
3
- import type { AbstractColDef, ColDef, ColGroupDef, IAggFunc, SortDef, SortDirection } from '../entities/colDef';
3
+ import type { AbstractColDef, ColAggFunc, ColDef, ColGroupDef, HeaderLocation } from '../entities/colDef';
4
+ import type { ShowValuesAsDefResolved, ShowValuesAsResolved, ShowValuesAsResult } from '../entities/colDef-showValuesAs';
4
5
  import type { ColumnEvent } from '../events';
5
6
  import type { BrandedType } from '../interfaces/brandedType';
7
+ import type { SortDef, SortDirection } from '../interfaces/iSort';
6
8
  import type { IRowNode } from './iRowNode';
7
9
  export type HeaderColumnId = BrandedType<string, 'HeaderColumnId'>;
8
10
  interface IHeaderColumn<TValue, TEventType extends string> extends IEventEmitter<TEventType> {
@@ -119,7 +121,14 @@ export interface Column<TValue = any> extends IHeaderColumn<TValue, ColumnEventN
119
121
  /** Returns the sort index for this column. */
120
122
  getSortIndex(): number | null | undefined;
121
123
  /** If aggregation is set for the column, returns the aggregation function. */
122
- getAggFunc(): string | IAggFunc | null | undefined;
124
+ getAggFunc(): ColAggFunc;
125
+ /** The active "Show Values As" mode for the column (`.type` is the mode name), or `null` if none.
126
+ * `TOut` is the transformed output type. The available modes are on {@link getShowValuesAsDef}. */
127
+ getShowValuesAs<TOut extends ShowValuesAsResult = any>(): ShowValuesAsResolved<any, TValue, TOut> | null;
128
+ /** The column's resolved "Show Values As" config — every available mode plus the default precision — or
129
+ * `null` if the column has none. Not parameterised by output type: each mode has its own. The active mode
130
+ * is {@link getShowValuesAs}. */
131
+ getShowValuesAsDef(): ShowValuesAsDefResolved<any, TValue> | null;
123
132
  /** @deprecated v32 Use col.getLeft() + col.getActualWidth() instead. */
124
133
  getRight(): number;
125
134
  /** Returns `true` if filter is active on the column. */
@@ -154,6 +163,9 @@ export interface Column<TValue = any> extends IHeaderColumn<TValue, ColumnEventN
154
163
  *
155
164
  * Equivalent: `getId`, `getUniqueId` */
156
165
  getColId(): string;
166
+ /** Returns this column's resolved display name — the header text after any `headerValueGetter` / locale
167
+ * resolution for `location` (default `'columnDrop'`), falling back to the colDef `headerName`, then the colId. */
168
+ getDisplayName(location?: HeaderLocation): string;
157
169
  /** Returns the auto header height. */
158
170
  getAutoHeaderHeight(): number | null;
159
171
  /** Returns the column span for this column and row node. */
@@ -192,6 +204,9 @@ export type AgColumnGroupEvent = 'leftChanged' | 'displayedChildrenChanged';
192
204
  export interface ColumnGroup<TValue = any> extends IHeaderColumn<TValue, AgColumnGroupEvent> {
193
205
  /** Returns the group column id. */
194
206
  getGroupId(): string;
207
+ /** Returns this group's resolved display name for `location` (default `'columnDrop'`), falling back to the
208
+ * colGroupDef `headerName`, then the group id. */
209
+ getDisplayName(location?: HeaderLocation): string;
195
210
  /** @deprecated v32 Internal method no longer to be exposed on Column interface. */
196
211
  getPartId(): number;
197
212
  /** Returns `true` if this group is resizable. */
@@ -1,7 +1,8 @@
1
1
  import type { ColumnState } from '../columns/columnStateUtils';
2
2
  import type { AgColumn } from '../entities/agColumn';
3
- import type { IAggFunc, SortDef } from '../entities/colDef';
3
+ import type { ColAggFunc } from '../entities/colDef';
4
4
  import type { ColumnEventType } from '../events';
5
+ import type { SortDef } from '../interfaces/iSort';
5
6
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
6
7
  export interface IColumnStateUpdateStrategy {
7
8
  applyColumnState(deferMode: boolean, state: ColumnState[], eventType: ColumnEventType): void;
@@ -17,8 +18,8 @@ export interface IColumnStateUpdateStrategy {
17
18
  hasDeferredColumnOrder(deferMode: boolean): boolean;
18
19
  setValueColumns(deferMode: boolean, columns: AgColumn[], eventType: ColumnEventType): void;
19
20
  getValueColumns(deferMode: boolean): AgColumn[];
20
- setColumnAggFunc(deferMode: boolean, column: AgColumn, aggFunc: string | IAggFunc | null | undefined, eventType: ColumnEventType): void;
21
- getColumnAggFunc(deferMode: boolean, column: AgColumn): string | IAggFunc | null | undefined;
21
+ setColumnAggFunc(deferMode: boolean, column: AgColumn, aggFunc: ColAggFunc, eventType: ColumnEventType): void;
22
+ getColumnAggFunc(deferMode: boolean, column: AgColumn): ColAggFunc;
22
23
  setPivotColumns(deferMode: boolean, columns: AgColumn[], eventType: ColumnEventType): void;
23
24
  getPivotColumns(deferMode: boolean): AgColumn[];
24
25
  setPivotMode(deferMode: boolean, pivotMode: boolean, eventType: ColumnEventType): void;
@@ -13,7 +13,7 @@ export interface IContextMenuService {
13
13
  showContextMenu(params: EventShowContextMenuParams & {
14
14
  anchorToElement?: HTMLElement;
15
15
  }): void;
16
- handleContextMenuMouseEvent(mouseEvent: MouseEvent | undefined, touchEvent: TouchEvent | undefined, rowComp: RowCtrl | null, cellCtrl: CellCtrl): void;
16
+ handleContextMenuMouseEvent(mouseEvent: MouseEvent | undefined, touchEvent: TouchEvent | undefined, rowComp: RowCtrl | null, cellCtrl: CellCtrl | null): void;
17
17
  }
18
18
  export interface ShowContextMenuParams {
19
19
  /** The row node associated with the Context Menu */
@@ -4,10 +4,10 @@ export type EditInputEvents = KeyboardEvent | MouseEvent | null | undefined;
4
4
  export type EditNavOnValidationResult = 'block-stop' | 'revert-continue' | 'continue';
5
5
  export type EditSource = 'api' | 'ui' | 'paste' | 'rangeSvc' | 'fillHandle' | 'cellClear' | 'edit' | 'bulk';
6
6
  /**
7
- * Specifies how to resolve the cell value when edits are pending.
8
- * - `'edit'`: Returns the current editing value, including live editor typing and pending batch values. This is the default value.
9
- * - `'batch'`: Returns pending batch values but excludes live editor typing (useful for dependent calculations in valueGetters)
10
- * - `'data'`: Returns the actual stored data value, ignoring all edit state
7
+ * How to resolve a cell's raw value when edits are pending.
8
+ * - `'edit'`: the current editing value, including live editor typing and pending batch values (the default).
9
+ * - `'batch'`: pending batch values but excluding live editor typing (useful for dependent valueGetters).
10
+ * - `'data'`: the stored data value, ignoring all edit state.
11
11
  */
12
12
  export type CellValueResolveFrom = 'edit' | 'batch' | 'data';
13
13
  export interface StartEditWithPositionParams extends StartEditParams {
@@ -1,4 +1,4 @@
1
- import type { AgEventService } from '../agStack/interfaces/iEvent';
1
+ import type { AgEventService } from 'ag-stack';
2
2
  import type { AgEventTypeParams } from '../events';
3
3
  import type { AgGridCommon } from './iCommon';
4
4
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
@@ -0,0 +1,9 @@
1
+ import type { AgGridCommon } from './iCommon';
2
+ export interface ProcessFileInputParams<TData = any, TContext = any> extends AgGridCommon<TData, TContext> {
3
+ /** The files received via drag-and-drop or file browser on the File Input Overlay. */
4
+ files: File[];
5
+ /** Call with parsed row data to load it into the grid. */
6
+ success(rowData: TData[]): void;
7
+ /** Call to show the error state in the overlay. Optionally provide a custom `errorMessage` to be displayed in the File Input Overlay. */
8
+ fail(errorMessage?: string): void;
9
+ }
@@ -1,5 +1,4 @@
1
- import type { IComponent } from '../agStack/interfaces/iComponent';
2
- import type { AgPromise } from '../agStack/utils/promise';
1
+ import type { AgPromise, IComponent } from 'ag-stack';
3
2
  import type { ColDef, ColKey } from '../entities/colDef';
4
3
  import type { IFloatingFilterComp } from '../filter/floating/floatingFilter';
5
4
  import type { Column } from '../interfaces/iColumn';
@@ -1,9 +1,10 @@
1
1
  import type { RowNode } from '../entities/rowNode';
2
2
  import type { Column } from './iColumn';
3
+ import type { VerticalSection } from './iGridSection';
3
4
  import type { IRowNode } from './iRowNode';
4
5
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
5
6
  export interface IFooterService {
6
- addTotalRows(startIndex: number, node: RowNode, callback: (node: RowNode, index: number) => void, includeFooterNodes: boolean, isRootNode: boolean, position: 'top' | 'bottom'): number;
7
+ addTotalRows(startIndex: number, node: RowNode, callback: (node: RowNode, index: number) => void, includeFooterNodes: boolean, isRootNode: boolean, position: VerticalSection): number;
7
8
  getTopDisplayIndex(rowsToDisplay: RowNode[], topLevelIndex: number, childrenAfterSort: RowNode[], getDefaultIndex: (adjustedIndex: number) => number): number;
8
9
  getTotalValue(value: any): string;
9
10
  doesCellShowTotalPrefix(node: IRowNode, col?: Column): boolean;
@@ -1,5 +1,4 @@
1
- import type { LocalEventService } from '../agStack/events/localEventService';
2
- import type { AgFrameworkOverrides } from '../agStack/interfaces/agFrameworkOverrides';
1
+ import type { AgFrameworkOverrides, LocalEventService } from 'ag-stack';
3
2
  import type { IFrameworkEventListenerService } from './iFrameworkEventListenerService';
4
3
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
5
4
  export interface IFrameworkOverrides extends AgFrameworkOverrides {
@@ -0,0 +1,8 @@
1
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
2
+ export type HorizontalSection = 'left' | 'center' | 'right';
3
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
4
+ export type HorizontalSectionMap<T> = Record<HorizontalSection, T>;
5
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
6
+ export type VerticalSection = 'top' | 'bottom';
7
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
8
+ export type VerticalSectionMap<T> = Record<VerticalSection, T>;