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,3 +1,11 @@
1
- export declare const SKIP_JS_BUILTINS: Set<string>;
1
+ /** Returns true for JS built-in keys that must be skipped to prevent prototype pollution.
2
+ * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
3
+ export declare const _isProtoPollutionKey: (key: string) => boolean;
4
+ /** True for plain non-null objects; full guard for `unknown` input (callers with a known object use {@link isPlainProto}).
5
+ * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
6
+ export declare const _isPlainObject: (value: unknown) => value is Record<string, unknown>;
2
7
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
3
- export declare function _mergeDeep(dest: any, source: any, copyUndefined?: boolean, makeCopyOfSimpleObjects?: boolean): void;
8
+ export declare const _mergeDeep: (dest: any, source: any, copyUndefined?: boolean, makeCopyOfSimpleObjects?: boolean) => void;
9
+ /** Inverse of `_mergeDeep`. Note: like mergeDeep it does not recurse into arrays.
10
+ * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
11
+ export declare const _mergedEqual: (a: any, b: any, topLevelSkipKey?: string) => boolean;
@@ -1,4 +1,13 @@
1
- import type { LocaleTextFunc } from '../agStack/interfaces/iLocaleService';
1
+ import type { LocaleTextFunc } from 'ag-stack';
2
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
3
+ export declare function _isFiniteNumber(v: unknown): v is number;
4
+ /**
5
+ * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
6
+ * Note: `Number('')` and `Number(' ')` are `0`, so callers must pre-filter blank strings if needed.
7
+ */
8
+ export declare function _toFiniteNumber(v: unknown): number | null;
9
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
10
+ export declare function _clamp(value: number, min: number, max: number): number;
2
11
  /**
3
12
  * the native method number.toLocaleString(undefined, {minimumFractionDigits: 0})
4
13
  * puts in decimal places in IE, so we use this method instead
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Reads a deep property from `data` following a pre-split dotted path. Hot-path variant of
3
+ * `_getValueUsingDotField` (ag-stack): callers reading the same field per cell cache `field.split('.')` once
4
+ * (on colDef update) and use this, avoiding a split + array allocation per read.
5
+ * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
6
+ */
7
+ export declare function _getValueUsingDotPath(data: any, fields: string[]): any;
@@ -1,13 +1,8 @@
1
1
  import type { DynamicBeanName, UserComponentName } from '../../context/context';
2
2
  import type { Column } from '../../interfaces/iColumn';
3
- import type { CommunityModuleName, EnterpriseModuleName, ValidationModuleName } from '../../interfaces/iModule';
3
+ import type { ValidationModuleName } from '../../interfaces/iModule';
4
4
  import type { RowModelType } from '../../interfaces/iRowModel';
5
5
  import type { RowNodeEventType, RowPinnedType } from '../../interfaces/iRowNode';
6
- export declare const NoModulesRegisteredError: (usesAgGridProvider?: boolean) => string;
7
- export declare function missingRowModelTypeError({ moduleName, rowModelType, }: {
8
- moduleName: CommunityModuleName | EnterpriseModuleName;
9
- rowModelType: RowModelType;
10
- }): string;
11
6
  /**
12
7
  * NOTES on setting console messages:
13
8
  * 1. The message is a function that returns either a string or an array of any type.
@@ -72,7 +67,9 @@ export declare const AG_GRID_ERRORS: {
72
67
  26: ({ fnName, preDestroyLink }: {
73
68
  fnName: string;
74
69
  preDestroyLink: string;
75
- }) => `Grid API function ${string}() cannot be called as the grid has been destroyed.\n Either clear local references to the grid api, when it is destroyed, or check gridApi.isDestroyed() to avoid calling methods against a destroyed grid.\n To run logic when the grid is about to be destroyed use the gridPreDestroy event. See: ${string}`;
70
+ }) => `Grid API function ${string}() cannot be called as the grid has been destroyed.
71
+ Either clear local references to the grid api, when it is destroyed, or check gridApi.isDestroyed() to avoid calling methods against a destroyed grid.
72
+ To run logic when the grid is about to be destroyed use the gridPreDestroy event. See: ${string}`;
76
73
  27: ({ fnName, module }: {
77
74
  fnName: string;
78
75
  module: string;
@@ -100,7 +97,8 @@ export declare const AG_GRID_ERRORS: {
100
97
  40: ({ e, method }: {
101
98
  e: any;
102
99
  method: string;
103
- }) => `${any}\n${string}`;
100
+ }) => `${any}
101
+ ${string}`;
104
102
  41: () => "Browser did not allow document.execCommand('copy'). Ensure 'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise the browser will prevent it for security reasons.";
105
103
  42: () => "Browser does not support document.execCommand('copy') for clipboard operations";
106
104
  43: ({ iconName }: {
@@ -118,7 +116,13 @@ export declare const AG_GRID_ERRORS: {
118
116
  property: string;
119
117
  inferred: boolean | undefined;
120
118
  colId?: string;
121
- }) => `Cell data type is "object" but no Value ${string} has been provided${string}. Please either provide an object data type definition with a Value ${string}, or set:\n - "colDef.value${string}"` | `Cell data type is "object" but no Value ${string} has been provided${string}. Please either provide an object data type definition with a Value ${string}, or set:\n - "colDef.value${string}"\n - "colDef.cellDataType = 'object'"` | `Cell data type is "object" (inferred) but no Value ${string} has been provided${string}. Please either provide an object data type definition with a Value ${string}, or set:\n - "colDef.value${string}"` | `Cell data type is "object" (inferred) but no Value ${string} has been provided${string}. Please either provide an object data type definition with a Value ${string}, or set:\n - "colDef.value${string}"\n - "colDef.cellDataType = 'object'"`;
119
+ }) => `Cell data type is "object" but no Value ${string} has been provided${string}. Please either provide an object data type definition with a Value ${string}, or set:
120
+ - "colDef.value${string}"` | `Cell data type is "object" but no Value ${string} has been provided${string}. Please either provide an object data type definition with a Value ${string}, or set:
121
+ - "colDef.value${string}"
122
+ - "colDef.cellDataType = 'object'"` | `Cell data type is "object" (inferred) but no Value ${string} has been provided${string}. Please either provide an object data type definition with a Value ${string}, or set:
123
+ - "colDef.value${string}"` | `Cell data type is "object" (inferred) but no Value ${string} has been provided${string}. Please either provide an object data type definition with a Value ${string}, or set:
124
+ - "colDef.value${string}"
125
+ - "colDef.cellDataType = 'object'"`;
122
126
  49: ({ methodName }: {
123
127
  methodName: string;
124
128
  }) => `Framework component is missing the method ${string}()`;
@@ -208,69 +212,7 @@ export declare const AG_GRID_ERRORS: {
208
212
  101: ({ propertyName, componentName, agGridDefaults, jsComps, }: {
209
213
  propertyName: string;
210
214
  componentName: string;
211
- agGridDefaults: {
212
- agDragAndDropImage?: any;
213
- agColumnHeader?: any;
214
- agColumnGroupHeader?: any;
215
- agSortIndicator?: any;
216
- agAnimateShowChangeCellRenderer?: any;
217
- agAnimateSlideCellRenderer?: any;
218
- agLoadingCellRenderer?: any;
219
- agSkeletonCellRenderer?: any;
220
- agCheckboxCellRenderer?: any;
221
- agLoadingOverlay?: any;
222
- agExportingOverlay?: any;
223
- agNoRowsOverlay?: any;
224
- agNoMatchingRowsOverlay?: any;
225
- agTooltipComponent?: any;
226
- agReadOnlyFloatingFilter?: any;
227
- agTextColumnFilter?: any;
228
- agNumberColumnFilter?: any;
229
- agBigIntColumnFilter?: any;
230
- agDateColumnFilter?: any;
231
- agDateInput?: any;
232
- agTextColumnFloatingFilter?: any;
233
- agNumberColumnFloatingFilter?: any;
234
- agBigIntColumnFloatingFilter?: any;
235
- agDateColumnFloatingFilter?: any;
236
- agMultiColumnFilter?: any;
237
- agMultiColumnFloatingFilter?: any;
238
- agGroupColumnFilter?: any;
239
- agGroupColumnFloatingFilter?: any;
240
- agSetColumnFilter?: any;
241
- agSetColumnFloatingFilter?: any;
242
- agCellEditor?: any;
243
- agSelectCellEditor?: any;
244
- agTextCellEditor?: any;
245
- agNumberCellEditor?: any;
246
- agDateCellEditor?: any;
247
- agDateStringCellEditor?: any;
248
- agCheckboxCellEditor?: any;
249
- agLargeTextCellEditor?: any;
250
- agFormulaCellEditor?: any;
251
- agRichSelect?: any;
252
- agRichSelectCellEditor?: any;
253
- agMenuItem?: any;
254
- agColumnsToolPanel?: any;
255
- agFiltersToolPanel?: any;
256
- agNewFiltersToolPanel?: any;
257
- agGroupRowRenderer?: any;
258
- agGroupCellRenderer?: any;
259
- agDetailCellRenderer?: any;
260
- agSparklineCellRenderer?: any;
261
- agAggregationComponent?: any;
262
- agSelectedRowCountComponent?: any;
263
- agTotalRowCountComponent?: any;
264
- agFilteredRowCountComponent?: any;
265
- agTotalAndFilteredRowCountComponent?: any;
266
- agButtonToolbarItem?: any;
267
- agFindToolbarItem?: any;
268
- agMenuToolbarItem?: any;
269
- agPivotPanelToolbarItem?: any;
270
- agQuickFilterToolbarItem?: any;
271
- agRowGroupPanelToolbarItem?: any;
272
- agFindCellRenderer?: any;
273
- };
215
+ agGridDefaults: { [key in UserComponentName]?: any; };
274
216
  jsComps: {
275
217
  [key: string]: any;
276
218
  };
@@ -404,7 +346,8 @@ export declare const AG_GRID_ERRORS: {
404
346
  }) => `Unrecognized data type for excel export [${string}.dataType=${string}]`;
405
347
  163: ({ featureName }: {
406
348
  featureName: string;
407
- }) => `Excel table export does not work with ${string}. The exported Excel file will not contain any Excel tables.\n Please turn off ${string} to enable Excel table exports.`;
349
+ }) => `Excel table export does not work with ${string}. The exported Excel file will not contain any Excel tables.
350
+ Please turn off ${string} to enable Excel table exports.`;
408
351
  164: () => "Unable to add data table to Excel sheet: A table already exists.";
409
352
  165: () => "Unable to add data table to Excel sheet: Missing required parameters.";
410
353
  166: ({ unrecognisedGroupIds }: {
@@ -608,7 +551,6 @@ export declare const AG_GRID_ERRORS: {
608
551
  id: string;
609
552
  parentId: string;
610
553
  }) => `Parent row not found for row with id='${string}' and parent id='${string}'. Showing row with id='${string}' as a root-level node.`;
611
- 272: () => string;
612
554
  273: ({ providedId, usedId }: {
613
555
  providedId: string;
614
556
  usedId: string;
@@ -616,7 +558,6 @@ export declare const AG_GRID_ERRORS: {
616
558
  274: ({ prop }: {
617
559
  prop: string;
618
560
  }) => string;
619
- 275: typeof missingRowModelTypeError;
620
561
  276: () => "Row Numbers Row Resizer cannot be used when Grid Columns have `autoHeight` enabled.";
621
562
  277: ({ colId }: {
622
563
  colId: string;
@@ -672,6 +613,10 @@ export declare const AG_GRID_ERRORS: {
672
613
  303: ({ key }: {
673
614
  key: string;
674
615
  }) => `Multiple toolbar items share the explicit key '${string}'. Only the first item is rendered.`;
616
+ 304: ({ dataType }: {
617
+ dataType: string;
618
+ }) => `Invalid calculatedColumns.dataTypes entry "${string}" - it must be a built-in data type or registered via dataTypeDefinitions. It has been ignored.`;
619
+ 305: () => "The file input overlay is shown but no 'processFileInput' is configured. The overlay will not work without a 'processFileInput'.";
675
620
  };
676
621
  export type ErrorMap = typeof AG_GRID_ERRORS;
677
622
  export type ErrorId = keyof ErrorMap;
@@ -1,4 +1,4 @@
1
- import type { IconValue } from '../../agStack/interfaces/iIcon';
1
+ import type { IconValue } from 'ag-stack';
2
2
  import type { ValidationModuleName } from '../../interfaces/iModule';
3
3
  import type { IconName } from '../../utils/icon';
4
4
  export declare const ICON_VALUES: Record<IconValue, 1>;
@@ -3,3 +3,27 @@ import type { _ModuleWithoutApi } from '../interfaces/iModule';
3
3
  * @feature Validation
4
4
  */
5
5
  export declare const ValidationModule: _ModuleWithoutApi;
6
+ /**
7
+ * Registers the {@link ValidationModule}, which surfaces extended development-time diagnostics:
8
+ * detailed console warnings for conflicting or invalid grid options and column definition
9
+ * properties. Without it, console messages are reduced to an error code and a documentation link.
10
+ *
11
+ * The `ValidationModule` is intentionally excluded from the `AllCommunityModule` and
12
+ * `AllEnterpriseModule` bundles to keep production builds small. Use this helper to opt into
13
+ * validation during development, for example:
14
+ *
15
+ * ```js
16
+ * if (process.env.NODE_ENV !== 'production') {
17
+ * enableDevValidations();
18
+ * }
19
+ * ```
20
+ *
21
+ * This is equivalent to registering the `ValidationModule` yourself, i.e.
22
+ * `ModuleRegistry.registerModules([ValidationModule])` (or including it in the `modules` array
23
+ * passed to a framework wrapper).
24
+ *
25
+ * Call this before any grid is created, and from the same scope (module/bundle) that registers
26
+ * your other modules — registration is global, so it must run before grid initialisation to take
27
+ * effect. Not intended for production builds.
28
+ */
29
+ export declare function enableDevValidations(): void;
@@ -1,4 +1,4 @@
1
- import type { AgPropertyChangedSource } from '../agStack/interfaces/iProperties';
1
+ import type { AgPropertyChangedSource } from 'ag-stack';
2
2
  import type { ApiFunction, ApiFunctionName } from '../api/iApiFunction';
3
3
  import type { NamedBean } from '../context/bean';
4
4
  import { BeanStub } from '../context/beanStub';
@@ -10,12 +10,17 @@ export interface GetCellValueParams<TValue = any> {
10
10
  /** If `true`, returns the formatted string (via the column's `valueFormatter`) instead of the raw value. */
11
11
  useFormatter?: boolean;
12
12
  /**
13
- * Controls how pending edits affect the returned value.
14
- * - `'edit'` (default): Returns the live editor value if the cell is being edited, then any pending batch value, then committed data.
15
- * - `'batch'`: Returns pending batch values but excludes live editor typing. Useful for dependent calculations in `valueGetter`.
16
- * - `'data'`: Returns committed data only, ignoring all edit state.
13
+ * Controls which base value is returned.
14
+ * - `'edit'` (default): Live editor value if the cell is being edited, then any pending batch value, then committed data.
15
+ * - `'batch'`: Pending batch values but excluding live editor typing.
16
+ * - `'data'`: Committed data only, ignoring all edit state.
17
17
  */
18
18
  from?: CellValueResolveFrom;
19
+ /**
20
+ * If `true`, applies the Show Values As transform (e.g. a percentage of a total) on top of the `from` base.
21
+ * Columns without an active mode return the base value unchanged.
22
+ */
23
+ transformValues?: boolean;
19
24
  }
20
25
  export declare function expireValueCache(beans: BeanCollection): void;
21
26
  export declare function getCellValue<TValue = any>(beans: BeanCollection, params: GetCellValueParams<TValue>): any;
@@ -7,22 +7,24 @@ import type { IRowNode } from '../interfaces/iRowNode';
7
7
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
8
8
  export declare class ValueService extends BeanStub implements NamedBean {
9
9
  beanName: "valueSvc";
10
- /**
11
- * Bound by `init()` to the cache or no-cache variant. Default is no-cache for safety.
12
- * Unbound method reference is fine — call sites use `this.executeValueGetter(...)`.
13
- */
14
- private executeValueGetter;
15
10
  private isTreeData;
16
11
  private isSsrm;
17
12
  private cellExpressions;
18
13
  private groupSuppressBlankHeader;
19
14
  private editSvc;
20
15
  private valueCache;
21
- private rowGroupColsSvc;
22
16
  private colModel;
23
17
  private expressionSvc;
24
18
  private dataTypeSvc;
19
+ private formula;
20
+ private showValuesAsSvc;
25
21
  private formulaDataSvc;
22
+ private changeDetectionSvc;
23
+ private showRowGroupColValueSvc;
24
+ private rowGroupingEditValueSvc;
25
+ private frameworkOverrides;
26
+ private gridApi;
27
+ private gridOptions;
26
28
  wireBeans(beans: BeanCollection): void;
27
29
  /** Called by both wireBeans and postConstruct */
28
30
  private init;
@@ -39,17 +41,50 @@ export declare class ValueService extends BeanStub implements NamedBean {
39
41
  useRawFormula?: boolean;
40
42
  exporting?: boolean;
41
43
  from: CellValueResolveFrom;
44
+ transformValues?: boolean;
42
45
  }): {
43
46
  value: any;
44
47
  valueFormatted: string | null;
45
48
  };
49
+ /**
50
+ * The cell's displayed value with the Show Values As transform applied, or the raw value when no mode is
51
+ * active or applying. Reads pending edits like the display path, then resolves formulas / calculated columns.
52
+ * Leaner than {@link getValueForDisplay} — no group-cell, full-width, or formatting work.
53
+ */
54
+ getTransformedValue(column: AgColumn, node: IRowNode): any;
55
+ /** Resolves a formula/calculated value then applies the Show Values As transform when a mode is applying;
56
+ * otherwise returns the (formula-resolved) value. Shared by the display + transformed read paths. */
57
+ private resolveTransformed;
58
+ /**
59
+ * Display value only — same resolution as {@link getValueForDisplay} but returns the bare value,
60
+ * skipping formatting and the result-object allocation. For callers that never read `valueFormatted`.
61
+ */
62
+ getDisplayValue(column: AgColumn | undefined, node: IRowNode, from: CellValueResolveFrom, transformValues: boolean): any;
63
+ getValueFromData(column: AgColumn, rowNode: IRowNode, ignoreAggData?: boolean): any;
64
+ /**
65
+ * Reads a cell value honouring pending edits for non-`'data'` sources. Does NOT redirect pivot result
66
+ * columns — display/selection callers only ever pair them with group rows (no redirect needed). The
67
+ * value APIs that accept an arbitrary node ({@link getCellValue}, {@link getDataValue}) pre-resolve via
68
+ * `_resolvePivotColumnForRow` since they can be handed a leaf. Hot committed-data reads of a known column
69
+ * should call {@link getValueFromData} directly to skip the edit-state lookup too.
70
+ */
46
71
  getValue(column: AgColumn, rowNode: IRowNode | null | undefined, from: CellValueResolveFrom, ignoreAggData?: boolean): any;
47
- /** Computes whether to ignore aggregation data for display purposes. */
48
- private displayIgnoresAggData;
49
- private resolveValue;
72
+ /** Whether to ignore aggregation data for display. Callers must pass a group node (guard on `node.group`). */
73
+ displayIgnoresAggData(node: IRowNode): boolean;
74
+ /** The Show Values As service iff `column`'s active mode is currently transforming (not dormant) for display.
75
+ * `column.showValuesAs` is null for every ordinary column, so this is a no-op outside the feature. */
76
+ private transformingSvc;
77
+ private resolveCoreValue;
50
78
  parseValue<TValueNew = any, TValueOld = any, TValue = any>(column: AgColumn, rowNode: IRowNode | null, newValue: TValueNew, oldValue: TValueOld): TValue;
51
79
  getDeleteValue(column: AgColumn, rowNode: IRowNode): any;
52
80
  formatValue(column: AgColumn, node: IRowNode | null, value: any, suppliedFormatter?: (value: any) => string, useFormatterFromColumn?: boolean): string | null;
81
+ /**
82
+ * Formats a Show Values As value with the selected mode's formatter, mirroring {@link getValueForDisplay}: a
83
+ * dormant mode (selected but not applicable) passes `notApplicable` so the built-in formatters show `#N/A`.
84
+ * Returns `undefined` when the column has no selected mode — the caller then falls back to {@link formatValue}.
85
+ * Kept off {@link formatValue} so the hot per-cell format path is not burdened with the feature check.
86
+ */
87
+ formatTransformedValue(column: AgColumn, node: IRowNode | null, value: any): string | null | undefined;
53
88
  /**
54
89
  * Sets the value of a GridCell
55
90
  * @param rowNode The `RowNode` to be updated
@@ -59,16 +94,13 @@ export declare class ValueService extends BeanStub implements NamedBean {
59
94
  * @returns `true` if the value has been updated, otherwise `false`.
60
95
  */
61
96
  setValue(rowNode: IRowNode, column: AgColumn, newValue: any, eventSource?: string): boolean;
62
- private canCreateRowNodeData;
63
97
  private finishValueChange;
64
98
  private isSetValueSupported;
65
99
  private handleExternalFormulaChange;
66
100
  private computeValueChange;
67
101
  private dispatchCellValueChangedEvent;
68
102
  private callColumnCellValueChangedHandler;
69
- private setValueUsingField;
70
- private executeValueGetterWithValueCache;
71
- private executeValueGetterWithoutValueCache;
103
+ private executeValueGetter;
72
104
  private getValueCallback;
73
105
  getKeyForNode(col: AgColumn, rowNode: IRowNode): any;
74
106
  }
@@ -1,4 +1,4 @@
1
- import type { FrameworkOverridesIncomingSource } from './agStack/interfaces/agFrameworkOverrides';
1
+ import type { FrameworkOverridesIncomingSource } from 'ag-stack';
2
2
  import type { IFrameworkOverrides } from './interfaces/iFrameworkOverrides';
3
3
  /**
4
4
  * The base frameworks, eg React & Angular, override this bean with implementations specific to their requirement.
@@ -1 +1 @@
1
- export declare const VERSION = "35.3.0";
1
+ export declare const VERSION = "36.0.0";
@@ -1,6 +1,6 @@
1
- import { AgComponentStub } from '../agStack/core/agComponentStub';
2
- import type { AgBaseComponent, AgComponentEvent, AgComponentSelector } from '../agStack/interfaces/agComponent';
3
- import type { AgWidgetSelectorType } from '../agStack/widgets/agWidgetSelectorType';
1
+ import type { AgBaseComponent, AgComponentEvent, AgComponentSelector } from 'ag-stack';
2
+ import { AgComponentStub } from 'ag-stack';
3
+ import type { AgWidgetSelectorType } from '../agWidgets/agWidgetSelectorType';
4
4
  import type { BeanCollection } from '../context/context';
5
5
  import type { AgEventTypeParams } from '../events';
6
6
  import type { GridOptionsWithDefaults } from '../gridOptionsDefault';
@@ -14,7 +14,7 @@ export type ComponentSelector<TComponent extends AgBaseComponent<BeanCollection>
14
14
  * All the AG Grid components that are used within internal templates via <ag-autocomplete> syntax
15
15
  * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
16
16
  */
17
- export type AgComponentSelectorType = AgWidgetSelectorType | 'AG-AUTOCOMPLETE' | 'AG-FAKE-HORIZONTAL-SCROLL' | 'AG-FAKE-VERTICAL-SCROLL' | 'AG-FILTER-BUTTON' | 'AG-FILTERS-TOOL-PANEL-HEADER' | 'AG-FILTERS-TOOL-PANEL-LIST' | 'AG-GRID-BODY' | 'AG-GRID-HEADER-DROP-ZONES' | 'AG-HEADER-ROOT' | 'AG-NAME-VALUE' | 'AG-OVERLAY-WRAPPER' | 'AG-PAGINATION' | 'AG-PRIMARY-COLS-HEADER' | 'AG-PRIMARY-COLS-LIST' | 'AG-ROW-CONTAINER' | 'AG-SIDE-BAR' | 'AG-SIDE-BAR-BUTTONS' | 'AG-SORT-INDICATOR' | 'AG-STATUS-BAR' | 'AG-TOOLBAR' | 'AG-WATERMARK' | 'AG-FORMULA-INPUT-FIELD';
17
+ export type AgComponentSelectorType = AgWidgetSelectorType | 'AG-AUTOCOMPLETE' | 'AG-FAKE-HORIZONTAL-SCROLL' | 'AG-FAKE-VERTICAL-SCROLL' | 'AG-FILTER-BUTTON' | 'AG-FILTERS-TOOL-PANEL-HEADER' | 'AG-FILTERS-TOOL-PANEL-LIST' | 'AG-GRID-BODY' | 'AG-GRID-HEADER-DROP-ZONES' | 'AG-NAME-VALUE' | 'AG-OVERLAY-WRAPPER' | 'AG-PAGINATION' | 'AG-PRIMARY-COLS-HEADER' | 'AG-PRIMARY-COLS-LIST' | 'AG-ROW-CONTAINER' | 'AG-SIDE-BAR' | 'AG-SIDE-BAR-BUTTONS' | 'AG-SORT-INDICATOR' | 'AG-STATUS-BAR' | 'AG-TOOLBAR' | 'AG-WATERMARK' | 'AG-FORMULA-INPUT-FIELD';
18
18
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
19
19
  export declare class Component<TLocalEvent extends string = AgComponentEvent> extends AgComponentStub<BeanCollection, GridOptionsWithDefaults, AgEventTypeParams, AgGridCommon<any, any>, GridOptionsService, AgComponentSelectorType, TLocalEvent> {
20
20
  }
@@ -1,12 +1,13 @@
1
- import type { AgCheckbox } from '../agStack/widgets/agCheckbox';
2
- import type { AgCheckboxParams } from '../agStack/widgets/agFieldParams';
3
- import type { AgInputDateField } from '../agStack/widgets/agInputDateField';
4
- import type { AgInputNumberField } from '../agStack/widgets/agInputNumberField';
5
- import type { AgInputTextArea } from '../agStack/widgets/agInputTextArea';
6
- import type { AgInputTextField, AgInputTextFieldEvent, AgInputTextFieldParams } from '../agStack/widgets/agInputTextField';
7
- import type { AgRadioButton } from '../agStack/widgets/agRadioButton';
8
- import type { AgSelect } from '../agStack/widgets/agSelect';
9
- import type { AgToggleButton } from '../agStack/widgets/agToggleButton';
1
+ import type { AgCheckbox } from '../agWidgets/agCheckbox';
2
+ import type { AgCheckboxParams } from '../agWidgets/agFieldParams';
3
+ import type { AgFieldSet } from '../agWidgets/agFieldSet';
4
+ import type { AgInputDateField } from '../agWidgets/agInputDateField';
5
+ import type { AgInputNumberField } from '../agWidgets/agInputNumberField';
6
+ import type { AgInputTextArea } from '../agWidgets/agInputTextArea';
7
+ import type { AgInputTextField, AgInputTextFieldEvent, AgInputTextFieldParams } from '../agWidgets/agInputTextField';
8
+ import type { AgRadioButton } from '../agWidgets/agRadioButton';
9
+ import type { AgSelect } from '../agWidgets/agSelect';
10
+ import type { AgToggleButton } from '../agWidgets/agToggleButton';
10
11
  import type { BeanCollection } from '../context/context';
11
12
  import type { AgEventTypeParams } from '../events';
12
13
  import type { GridOptionsWithDefaults } from '../gridOptionsDefault';
@@ -29,3 +30,5 @@ export type GridRadioButton = AgRadioButton<BeanCollection, GridOptionsWithDefau
29
30
  export type GridToggleButton = AgToggleButton<BeanCollection, GridOptionsWithDefaults, AgEventTypeParams, AgGridCommon<any, any>, GridOptionsService, AgComponentSelectorType>;
30
31
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
31
32
  export type GridSelect<TValue = string | null> = AgSelect<BeanCollection, GridOptionsWithDefaults, AgEventTypeParams, AgGridCommon<any, any>, GridOptionsService, AgComponentSelectorType, TValue>;
33
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
34
+ export type GridFieldSet = AgFieldSet<BeanCollection, GridOptionsWithDefaults, AgEventTypeParams, AgGridCommon<any, any>, GridOptionsService, AgComponentSelectorType>;
@@ -1,5 +1,5 @@
1
- import type { ManagedFocusCallbacks, StopPropagationCallbacks } from '../agStack/focus/agManagedFocusFeature';
2
- import { AgManagedFocusFeature } from '../agStack/focus/agManagedFocusFeature';
1
+ import type { ManagedFocusCallbacks, StopPropagationCallbacks } from 'ag-stack';
2
+ import { AgManagedFocusFeature } from 'ag-stack';
3
3
  import type { BeanCollection } from '../context/context';
4
4
  import type { AgEventTypeParams } from '../events';
5
5
  import type { GridOptionsWithDefaults } from '../gridOptionsDefault';
@@ -1,5 +1,5 @@
1
- import type { IPopupService } from '../agStack/interfaces/iPopupService';
2
- import { BasePopupService } from '../agStack/popup/basePopupService';
1
+ import type { IPopupService } from 'ag-stack';
2
+ import { BasePopupService } from 'ag-stack';
3
3
  import type { NamedBean } from '../context/bean';
4
4
  import type { BeanCollection } from '../context/context';
5
5
  import type { AgEventTypeParams } from '../events';
@@ -1,6 +1,5 @@
1
- import { AgTabGuardFeature } from '../agStack/focus/agTabGuardFeature';
2
- import type { TabGuardCtrlParams } from '../agStack/focus/tabGuardCtrl';
3
- import { AgTabGuardCtrl } from '../agStack/focus/tabGuardCtrl';
1
+ import type { TabGuardCtrlParams } from 'ag-stack';
2
+ import { AgTabGuardCtrl, AgTabGuardFeature } from 'ag-stack';
4
3
  import type { BeanCollection } from '../context/context';
5
4
  import type { AgEventTypeParams } from '../events';
6
5
  import type { GridOptionsWithDefaults } from '../gridOptionsDefault';
@@ -1,5 +1,5 @@
1
- import { AgTabGuardComp } from '../agStack/focus/agTabGuardComp';
2
- import type { AgTabGuardParams } from '../agStack/focus/agTabGuardFeature';
1
+ import type { AgTabGuardParams } from 'ag-stack';
2
+ import { AgTabGuardComp } from 'ag-stack';
3
3
  import type { BeanCollection } from '../context/context';
4
4
  import type { AgEventTypeParams } from '../events';
5
5
  import type { GridOptionsWithDefaults } from '../gridOptionsDefault';
@@ -1,5 +1,4 @@
1
- import type { AgEvent } from '../agStack/interfaces/agEvent';
2
- import type { IEventEmitter, IEventListener } from '../agStack/interfaces/iEventEmitter';
1
+ import type { AgEvent, IEventEmitter, IEventListener } from 'ag-stack';
3
2
  export interface TapEvent extends AgEvent<'tap'> {
4
3
  touchStart: Touch;
5
4
  }
@@ -21,6 +20,8 @@ export declare class TouchListener implements IEventEmitter<TouchListenerEvent>
21
20
  private lastTapTime;
22
21
  private longPressTimer;
23
22
  private moved;
23
+ private longTapFired;
24
+ private longTapListeners;
24
25
  constructor(eElement: Element, preventClick?: boolean);
25
26
  addEventListener<T extends TouchListenerEvent>(eventType: T, listener: IEventListener<T>): void;
26
27
  removeEventListener<T extends TouchListenerEvent>(eventType: T, listener: IEventListener<T>): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.3.0",
3
+ "version": "36.0.0",
4
4
  "description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
5
5
  "main": "./dist/package/main.cjs.js",
6
6
  "types": "./dist/types/src/main.d.ts",
@@ -119,7 +119,8 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.3.0"
122
+ "ag-stack": "36.0.0",
123
+ "ag-charts-types": "14.0.0"
123
124
  },
124
125
  "devDependencies": {
125
126
  "web-streams-polyfill": "^4.2.0",