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
@@ -6,25 +6,34 @@ import type { RowNode } from '../../entities/rowNode';
6
6
  import type { AgEventType } from '../../eventTypes';
7
7
  import type { CellFocusedEvent, RowEvent } from '../../events';
8
8
  import type { RowContainerType } from '../../gridBodyComp/rowContainer/rowContainerCtrl';
9
+ import type { PinnedSectionWidths } from '../../headerRendering/headerUtils';
9
10
  import type { BrandedType } from '../../interfaces/brandedType';
10
11
  import type { RenderedRowEvent } from '../../interfaces/iCallbackParams';
11
12
  import type { RefreshRowsParams } from '../../interfaces/iCellsParams';
12
13
  import type { ColumnPinnedType } from '../../interfaces/iColumn';
14
+ import type { HorizontalSection, HorizontalSectionMap } from '../../interfaces/iGridSection';
13
15
  import type { RowPosition } from '../../interfaces/iRowPosition';
14
16
  import type { IRowStyleFeature } from '../../interfaces/iRowStyleFeature';
15
17
  import type { UserCompDetails } from '../../interfaces/iUserCompDetails';
16
- import type { INotesFeature } from '../../interfaces/notes';
17
18
  import { CellCtrl } from '../cell/cellCtrl';
18
19
  import type { ICellRenderer, ICellRendererParams } from '../cellRenderers/iCellRenderer';
20
+ import type { FullWidthTarget } from './iRowModeFeature';
21
+ type RowType = 'Normal' | 'FullWidth' | 'FullWidthLoading' | 'FullWidthGroup' | 'FullWidthDetail';
19
22
  export type RowCtrlInstanceId = BrandedType<string, 'RowCtrlInstanceId'>;
20
23
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
21
24
  export interface IRowComp {
22
25
  setDomOrder(domOrder: boolean): void;
23
26
  toggleCss(cssClassName: string, on: boolean): void;
24
27
  setCellCtrls(cellCtrls: CellCtrl[], useFlushSync: boolean): void;
28
+ getPinnedLeftRowElement(): HTMLElement | undefined;
29
+ getScrollingRowElement(): HTMLElement | undefined;
30
+ getPinnedRightRowElement(): HTMLElement | undefined;
31
+ refreshPinnedSections(): void;
25
32
  showFullWidth(compDetails: UserCompDetails): void;
26
- getFullWidthCellRenderer(): ICellRenderer | null | undefined;
33
+ showEmbeddedFullWidth?(compDetails: HorizontalSectionMap<UserCompDetails>): void;
34
+ getFullWidthCellRenderers(): (ICellRenderer | null | undefined)[];
27
35
  getFullWidthCellRendererParams(): ICellRendererParams | undefined;
36
+ getFullWidthCellRendererParamsForPinned?(pinned: ColumnPinnedType): ICellRendererParams | undefined;
28
37
  setTop(top: string): void;
29
38
  setTransform(transform: string): void;
30
39
  setRowIndex(rowIndex: string): void;
@@ -32,6 +41,7 @@ export interface IRowComp {
32
41
  setRowBusinessKey(businessKey: string): void;
33
42
  setUserStyles(styles: RowStyle | undefined): void;
34
43
  refreshFullWidth(getUpdatedParams: () => ICellRendererParams): boolean;
44
+ refreshEmbeddedFullWidth?(getUpdatedParams: (pinned: ColumnPinnedType) => ICellRendererParams): boolean;
35
45
  }
36
46
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
37
47
  export interface RowGui {
@@ -40,30 +50,26 @@ export interface RowGui {
40
50
  containerType: RowContainerType;
41
51
  compBean: BeanStub;
42
52
  }
53
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
54
+ export type PinnedCellGroupWidths = PinnedSectionWidths;
55
+ interface MappedPinnedCellGroupWidths extends PinnedCellGroupWidths {
56
+ renderLeft: boolean;
57
+ renderRight: boolean;
58
+ }
43
59
  type RowCtrlEvent = RenderedRowEvent;
44
60
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
45
61
  export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
46
62
  readonly rowNode: RowNode;
47
- private readonly useAnimationFrameForCreate;
63
+ readonly useAnimationFrameForCreate: boolean;
48
64
  readonly printLayout: boolean;
49
65
  readonly instanceId: RowCtrlInstanceId;
50
- private tooltipFeature;
51
- private readonly fullWidthNotesFeature;
52
- private readonly guiListenerOwners;
53
66
  private rowType;
54
- private leftGui;
55
- private centerGui;
56
- private rightGui;
57
- private fullWidthGui;
58
- private focusEventWhileNotReady;
59
- private allRowGuis;
67
+ private rowGui;
68
+ private readonly rowModeFeature;
60
69
  private firstRowOnPage;
61
70
  private lastRowOnPage;
62
71
  private active;
63
72
  private rowFocused;
64
- private centerCellCtrls;
65
- private leftCellCtrls;
66
- private rightCellCtrls;
67
73
  private slideInAnimation;
68
74
  private fadeInAnimation;
69
75
  private rowDragComps;
@@ -73,17 +79,18 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
73
79
  rowStyles: RowStyle;
74
80
  private readonly emptyStyle;
75
81
  private readonly suppressRowTransform;
76
- private updateColumnListsPending;
77
82
  rowId: string | null;
78
83
  ariaRowIndex: number | null;
79
84
  /** sanitised */
80
85
  businessKey: string | null;
81
86
  private businessKeyForNodeFunc;
82
87
  rowEditStyleFeature?: IRowStyleFeature;
88
+ isEmbeddedFullWidth: boolean;
89
+ embeddedSectionHasContent: HorizontalSectionMap<boolean>;
83
90
  constructor(rowNode: RowNode, beans: BeanCollection, animateIn: boolean, useAnimationFrameForCreate: boolean, printLayout: boolean);
91
+ private createRowModeFeature;
84
92
  private initRowBusinessKey;
85
93
  private updateRowBusinessKey;
86
- private updateGui;
87
94
  setComp(rowComp: IRowComp, element: HTMLElement, containerType: RowContainerType, compBean: BeanStub<any> | undefined): void;
88
95
  unsetComp(containerType: RowContainerType): void;
89
96
  isCacheable(): boolean;
@@ -93,48 +100,41 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
93
100
  private setRowCompRowId;
94
101
  private executeSlideAndFadeAnimations;
95
102
  private addRowDraggerToRow;
96
- private setupFullWidth;
97
- getFullWidthCellRenderers(): (ICellRenderer<any> | null | undefined)[];
103
+ getModeCellRenderers(): (ICellRenderer<any> | null | undefined)[];
98
104
  private executeProcessRowPostCreateFunc;
99
- private areAllContainersReady;
100
105
  private isNodeFullWidthCell;
101
106
  private setRowType;
102
- private updateColumnLists;
103
107
  /**
104
108
  * Overridden by SpannedRowCtrl
105
109
  */
106
- protected getNewCellCtrl(col: AgColumn): CellCtrl | undefined;
110
+ getNewCellCtrl(col: AgColumn): CellCtrl | undefined;
107
111
  /**
108
112
  * Overridden by SpannedRowCtrl, if span context changes cell needs rebuilt
109
113
  */
110
- protected isCorrectCtrlForSpan(cell: CellCtrl): boolean;
111
- private createCellCtrls;
112
- /**
113
- * Creates a new cell ctrl for the focused cell, if this is the correct row ctrl.
114
- * @returns a CellCtrl for the focused cell, if required.
115
- */
116
- private createFocusedCellCtrl;
117
- private updateColumnListsImpl;
118
- private setCellCtrls;
119
- private getCellCtrlsForContainer;
120
- private createAllCellCtrls;
114
+ isCorrectCtrlForSpan(cell: CellCtrl): boolean;
115
+ setEmbeddedSectionHasContent(section: HorizontalSection, hasContent: boolean): void;
116
+ refreshPinnedCellGroupWidths(): void;
117
+ getMappedPinnedCellGroupWidths(): MappedPinnedCellGroupWidths;
118
+ getPinnedCellGroupWidths(): PinnedCellGroupWidths;
121
119
  /**
122
- * CellCtrls for the container if eagerly created in the constructor, or `null`
123
- * when creation is deferred (animation-frame path) or skipped (full-width rows).
124
- * We don't want to enable this during scrolling as well, as it can cause sluggishness
125
- * during scroll.
126
- * Used by framework wrappers to seed first render and avoid bulk-add flicker.
120
+ * CellCtrls for rows whose normal-mode feature eagerly created cells in the constructor.
121
+ * React uses this to seed first render and avoid an empty row flash on bulk add.
127
122
  */
128
123
  getInitialCellCtrls(containerType: RowContainerType): CellCtrl[] | null;
129
- private isCellEligibleToBeRemoved;
130
124
  getDomOrder(): boolean;
131
125
  private listenOnDomOrder;
132
126
  private setAnimateFlags;
133
127
  isFullWidth(): boolean;
134
- refreshFullWidth(): boolean;
135
- getNotesFeature(): INotesFeature | undefined;
128
+ /** Called by NormalRowFeature after refreshing cells */
129
+ onNormalRowRefreshed(): void;
130
+ getCurrentRowComp(): IRowComp | undefined;
131
+ getCurrentRowElement(): HTMLElement | undefined;
132
+ redrawThisRow(): void;
133
+ getRowType(): RowType;
134
+ getContainerType(): RowContainerType | undefined;
135
+ shouldCreateCellSections(): boolean;
136
+ getNotesFeature(): import("../../main-umd-noStyles").INotesFeature | undefined;
136
137
  private addListeners;
137
- private addListenersForCellComps;
138
138
  /** Should only ever be triggered on source rows (i.e. not on pinned siblings) */
139
139
  private onRowPinned;
140
140
  private onRowNodeDataChanged;
@@ -149,38 +149,26 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
149
149
  getRowPosition(): RowPosition;
150
150
  onKeyboardNavigate(keyboardEvent: KeyboardEvent): void;
151
151
  onTabKeyDown(keyboardEvent: KeyboardEvent): void;
152
- getFullWidthElement(): HTMLElement | null;
152
+ getRowContentElement(): HTMLElement | null;
153
+ getNavigationColumn(): AgColumn;
153
154
  getRowYPosition(): number;
154
155
  onSuppressCellFocusChanged(suppressCellFocus: boolean): void;
155
- private setupFocus;
156
- private restoreFullWidthFocus;
157
- private getFullWidthRowGuiForFocus;
158
- private setFullWidthRowFocusedClass;
159
- onFullWidthRowFocused(event?: CellFocusedEvent): void;
156
+ onRowFocused(event?: CellFocusedEvent): void;
160
157
  recreateCell(cellCtrl: CellCtrl): void;
161
- private removeCellCtrl;
162
158
  onMouseEvent(eventName: string, mouseEvent: MouseEvent): void;
163
159
  createRowEvent<T extends AgEventType>(type: T, domEvent?: Event): RowEvent<T>;
164
160
  private createRowEventWithSource;
165
161
  private onRowDblClick;
166
- findFullWidthInfoForEvent(event?: Event): {
167
- rowGui: RowGui;
162
+ findInfoForEvent(event?: Event): {
168
163
  column: AgColumn;
169
164
  pinned: ColumnPinnedType;
170
165
  } | undefined;
171
- private findFullWidthRowGui;
172
- getColumnForFullWidth(fullWidthRowGui?: RowGui): AgColumn;
173
- getPinnedForFullWidth(fullWidthRowGui?: RowGui): ColumnPinnedType;
174
- addManagedGuiElementListeners<TEvent extends keyof HTMLElementEventMap>(gui: RowGui, handlers: {
175
- [K in TEvent]?: (event: HTMLElementEventMap[K]) => void;
176
- }): void;
166
+ getTargets(): FullWidthTarget[];
167
+ getTarget(element?: EventTarget | null): FullWidthTarget | undefined;
177
168
  private onRowMouseDown;
178
169
  isSuppressMouseEvent(mouseEvent: MouseEvent): boolean;
179
170
  onRowClick(mouseEvent: MouseEvent): void;
180
171
  setupDetailRowAutoHeight(eDetailGui: HTMLElement): void;
181
- private createFullWidthCompDetails;
182
- private setupFullWidthRowTooltip;
183
- private addFullWidthRowDragging;
184
172
  private onUiLevelChanged;
185
173
  private isFirstRowOnPage;
186
174
  private isLastRowOnPage;
@@ -189,30 +177,51 @@ export declare class RowCtrl extends BeanStub<RowCtrlEvent> {
189
177
  private postProcessClassesFromGridOptions;
190
178
  private postProcessRowClassRules;
191
179
  private setStylesFromGridOptions;
192
- private getPinnedForContainer;
193
- protected getInitialRowClasses(rowContainerType: RowContainerType): string[];
180
+ protected getInitialRowClasses(): string[];
194
181
  private processStylesFromGridOptions;
195
182
  private onRowSelected;
196
183
  announceDescription(cellCtrl?: CellCtrl): void;
197
184
  private announceNoteDescription;
198
185
  protected addHoverFunctionality(eGui: RowGui): void;
199
186
  resetHoveredStatus(el?: HTMLElement): void;
187
+ getGui(): RowGui | undefined;
200
188
  private roundRowTopToBounds;
201
- forEachGui(gui: RowGui | undefined, callback: (gui: RowGui) => void): void;
202
189
  isRowRendered(): boolean;
203
- protected onRowHeightChanged(gui?: RowGui): void;
190
+ protected onRowHeightChanged(): void;
204
191
  destroyFirstPass(suppressAnimation?: boolean): void;
205
192
  destroySecondPass(): void;
206
193
  private setFocusedClasses;
207
194
  private onCellFocusChanged;
195
+ private onPinnedRowsChanged;
208
196
  private onPaginationChanged;
209
197
  private onTopChanged;
210
198
  private onPaginationPixelOffsetChanged;
199
+ private onStickyBottomOffsetChanged;
200
+ /**
201
+ * Applies pagination offset, eg if on second page, and page height is 500px, then removes
202
+ * 500px from the top position, so a row with rowTop 600px is displayed at location 100px.
203
+ * reverse will take the offset away rather than add.
204
+ */
211
205
  private applyPaginationOffset;
212
206
  setRowTop(pixels: number): void;
213
- getInitialRowTop(rowContainerType: RowContainerType): string | undefined;
214
- getInitialTransform(rowContainerType: RowContainerType): string | undefined;
207
+ /**
208
+ * Applies pagination offset and pixel scaling to produce final top position.
209
+ * Rows are positioned relative to their container, not the section.
210
+ */
211
+ private calculateRowTopPx;
212
+ /**
213
+ * The top needs to be set into the DOM element when the element is created, not updated afterwards.
214
+ * otherwise the transition would not work, as it would be transitioning from zero (the unset value).
215
+ * for example, suppose a row that is outside the viewport, then user does a filter to remove other rows
216
+ * and this row now appears in the viewport, and the row moves up (ie it was under the viewport and not rendered,
217
+ * but now is in the viewport) then a new RowComp is created, however it should have it's position initialised
218
+ * to below the viewport, so the row will appear to animate up. if we didn't set the initial position at creation
219
+ * time, the row would animate down (ie from position zero).
220
+ */
221
+ getInitialRowTop(): string | undefined;
222
+ getInitialTransform(): string | undefined;
215
223
  private getInitialRowTopShared;
224
+ private getCalculatedRowTop;
216
225
  private setRowTopStyle;
217
226
  getCellCtrl(column: AgColumn, skipColSpanSearch?: boolean): CellCtrl | null;
218
227
  protected onRowIndexChanged(): void;
@@ -11,6 +11,7 @@ export declare class RowContainerHeightService extends BeanStub implements Named
11
11
  private modelHeight;
12
12
  uiContainerHeight: number | null;
13
13
  private pixelsToShave;
14
+ stickyBottomRowsHeight: number;
14
15
  divStretchOffset: number;
15
16
  private scrollY;
16
17
  private uiBodyHeight;
@@ -23,6 +24,7 @@ export declare class RowContainerHeightService extends BeanStub implements Named
23
24
  private setDivStretchOffset;
24
25
  setModelHeight(modelHeight: number | null): void;
25
26
  getRealPixelPosition(modelPixel: number): number;
27
+ getAdjustedUiContainerHeight(): number | null;
26
28
  private getUiBodyHeight;
27
29
  getScrollPositionForPixel(rowTop: number): number;
28
30
  }
@@ -1,4 +1,4 @@
1
- import type { IEventListener } from '../agStack/interfaces/iEventEmitter';
1
+ import type { IEventListener } from 'ag-stack';
2
2
  import type { NamedBean } from '../context/bean';
3
3
  import { BeanStub } from '../context/beanStub';
4
4
  import type { BeanCollection } from '../context/context';
@@ -24,6 +24,7 @@ export declare class RowRenderer extends BeanStub implements NamedBean {
24
24
  private rowContainerHeight;
25
25
  private ctrlsSvc;
26
26
  private editSvc?;
27
+ private showValuesAsSvc;
27
28
  wireBeans(beans: BeanCollection): void;
28
29
  private gridBodyCtrl;
29
30
  private readonly destroyFuncsForColumnListeners;
@@ -84,12 +85,12 @@ export declare class RowRenderer extends BeanStub implements NamedBean {
84
85
  * if the column passed is the first column of the span (used for auto width calculation).
85
86
  */
86
87
  getAllCellsNotSpanningForColumn(column: AgColumn): HTMLElement[];
87
- private refreshFloatingRowComps;
88
+ private refreshPinnedRowComps;
88
89
  /**
89
90
  * Determines which row controllers need to be destroyed and re-created vs which ones can
90
91
  * be re-used.
91
92
  *
92
- * This is operation is to pinned/floating rows as `this.recycleRows` is to normal/body rows.
93
+ * This operation is to pinned rows as `this.recycleRows` is to normal/body rows.
93
94
  *
94
95
  * All `RowCtrl` instances in `rowCtrls` that don't correspond to `RowNode` instances in `rowNodes` are destroyed.
95
96
  * All `RowNode` instances in `rowNodes` that don't correspond to `RowCtrl` instances in `rowCtrls` are created.
@@ -98,7 +99,7 @@ export declare class RowRenderer extends BeanStub implements NamedBean {
98
99
  * @param rowCtrls The list of existing row controllers
99
100
  * @param rowNodes The canonical list of row nodes that should have associated controllers
100
101
  */
101
- private refreshFloatingRows;
102
+ private refreshPinnedRows;
102
103
  private onPinnedRowDataChanged;
103
104
  private onPinnedRowsChanged;
104
105
  redrawRow(rowNode: RowNode, suppressEvent?: boolean): void;
@@ -121,7 +122,6 @@ export declare class RowRenderer extends BeanStub implements NamedBean {
121
122
  private getStickyRowCtrlByNode;
122
123
  /** Refreshes the rendered row for the given node if it is currently in the viewport. Null-safe: no-op when node is null or undefined. */
123
124
  refreshRowByNode(node: IRowNode | null | undefined): void;
124
- private refreshFullWidth;
125
125
  /**
126
126
  * @param rowNodes if provided, returns the RowCtrls for the provided rowNodes. otherwise returns all RowCtrls.
127
127
  */
@@ -134,6 +134,7 @@ export declare class RowRenderer extends BeanStub implements NamedBean {
134
134
  private onBodyScroll;
135
135
  redraw(params?: {
136
136
  afterScroll?: boolean;
137
+ force?: boolean;
137
138
  }): void;
138
139
  private removeRowCompsNotToDraw;
139
140
  private calculateIndexesToDraw;
@@ -1,4 +1,4 @@
1
- import { BeanStub } from '../../context/beanStub';
1
+ import type { BeanCollection } from '../../context/context';
2
2
  import type { AgColumn } from '../../entities/agColumn';
3
3
  import type { RowNode } from '../../entities/rowNode';
4
4
  import type { CellPosition } from '../../interfaces/iCellPosition';
@@ -33,14 +33,14 @@ export declare class CellSpan {
33
33
  *
34
34
  * Only create if spanning is enabled for this column.
35
35
  */
36
- export declare class RowSpanCache extends BeanStub {
37
- private readonly column;
36
+ export declare class RowSpanCache {
37
+ private readonly beans;
38
+ readonly column: AgColumn;
38
39
  private centerValueNodeMap;
39
40
  private topValueNodeMap;
40
41
  private bottomValueNodeMap;
41
- constructor(column: AgColumn);
42
+ constructor(beans: BeanCollection, column: AgColumn);
42
43
  buildCache(pinned: 'top' | 'center' | 'bottom'): void;
43
- isCellSpanning(node: RowNode): boolean;
44
44
  getCellSpan(node: RowNode): CellSpan | undefined;
45
45
  private getNodeMap;
46
46
  }
@@ -8,20 +8,20 @@ export declare class RowSpanService extends BeanStub<'spannedCellsUpdated'> impl
8
8
  beanName: "rowSpanSvc";
9
9
  /** Active only if `enableCellSpan=true` */
10
10
  active: boolean;
11
- private readonly spanningColumns;
11
+ private spanningColumns;
12
12
  postConstruct(): void;
13
- /**
14
- * When a new column is created with spanning (or spanning changes for a column)
15
- * @param column column that is now spanning
16
- */
17
- register(column: AgColumn): void;
13
+ /** Create and build a span cache for `column`. Idempotent. */
14
+ private register;
15
+ /** `spanRows` config changed: start spanning, stop spanning, or rebuild if it still spans. */
16
+ columnRowSpanChanged(column: AgColumn): void;
17
+ /** Register newly-added spanning columns. Called post-commit, when values (e.g. calc cols) resolve. */
18
+ refreshCols(): void;
19
+ /** Rebuild all regions for one column's cache and signal consumers to re-render. */
20
+ private buildCache;
18
21
  private readonly debouncePinnedEvent;
19
22
  private readonly debounceModelEvent;
20
23
  private dispatchCellsUpdatedEvent;
21
- /**
22
- * When a new column is destroyed with spanning (or spanning changes for a column)
23
- * @param column column that is now spanning
24
- */
24
+ /** Drop `column`'s span cache (column destroyed or no longer spanning). */
25
25
  deregister(column: AgColumn): void;
26
26
  private pinnedTimeout;
27
27
  private modelTimeout;
@@ -32,14 +32,10 @@ export declare class RowSpanService extends BeanStub<'spannedCellsUpdated'> impl
32
32
  getCellSpanByPosition(position: CellPosition): CellSpan | undefined;
33
33
  getCellStart(position: CellPosition): CellPosition | undefined;
34
34
  getCellEnd(position: CellPosition): CellPosition | undefined;
35
- /**
36
- * Look-up a spanned cell given a col and node as position indicators
37
- *
38
- * @param col a column to lookup a span at this position
39
- * @param rowNode a node that may be spanned at this position
40
- * @returns the CellSpan object if one exists
41
- */
42
- getCellSpan(col: AgColumn, rowNode: RowNode): CellSpan | undefined;
43
- forEachSpannedColumn(rowNode: RowNode, callback: (col: AgColumn, span: CellSpan) => void): void;
35
+ /** Look up the spanned cell at `column`/`rowNode`, if any. */
36
+ getCellSpan(column: AgColumn, rowNode: RowNode): CellSpan | undefined;
37
+ forEachSpannedColumn(rowNode: RowNode, callback: (column: AgColumn, span: CellSpan) => void): void;
38
+ private clearModelTimeout;
39
+ private clearPinnedTimeout;
44
40
  destroy(): void;
45
41
  }
@@ -1,11 +1,10 @@
1
1
  import type { AgColumn } from '../../entities/agColumn';
2
- import type { RowContainerType } from '../../gridBodyComp/rowContainer/rowContainerCtrl';
3
2
  import type { CellCtrl } from '../cell/cellCtrl';
4
3
  import { RowCtrl } from '../row/rowCtrl';
5
4
  export declare class SpannedRowCtrl extends RowCtrl {
6
- protected getInitialRowClasses(_rowContainerType: RowContainerType): string[];
7
- protected getNewCellCtrl(col: AgColumn<any>): CellCtrl | undefined;
8
- protected isCorrectCtrlForSpan(cell: CellCtrl): boolean;
5
+ protected getInitialRowClasses(): string[];
6
+ getNewCellCtrl(col: AgColumn<any>): CellCtrl | undefined;
7
+ isCorrectCtrlForSpan(cell: CellCtrl): boolean;
9
8
  /**
10
9
  * Below overrides are explicitly disabling styling and other unwanted behaviours for spannedRowCtrl
11
10
  */
@@ -1,9 +1,10 @@
1
1
  import type { NamedBean } from '../../context/bean';
2
2
  import { BeanStub } from '../../context/beanStub';
3
3
  import type { CellPosition } from '../../interfaces/iCellPosition';
4
+ import type { VerticalSection } from '../../interfaces/iGridSection';
4
5
  import type { CellCtrl } from '../cell/cellCtrl';
5
6
  import type { RowCtrl } from '../row/rowCtrl';
6
- type SpannedRowContainerType = 'top' | 'bottom' | 'center';
7
+ type SpannedRowContainerType = VerticalSection | 'center';
7
8
  export declare class SpannedRowRenderer extends BeanStub<'spannedRowsUpdated'> implements NamedBean {
8
9
  beanName: "spannedRowRenderer";
9
10
  postConstruct(): void;
@@ -17,7 +18,7 @@ export declare class SpannedRowRenderer extends BeanStub<'spannedRowsUpdated'> i
17
18
  createCtrls(ctrlsKey: SpannedRowContainerType): void;
18
19
  private getAllRelevantRowControls;
19
20
  getCellByPosition(cellPosition: CellPosition): CellCtrl | undefined;
20
- getCtrls(container: 'top' | 'bottom' | 'center'): RowCtrl[];
21
+ getCtrls(container: SpannedRowContainerType): RowCtrl[];
21
22
  private destroyRowCtrls;
22
23
  private getCtrlsMap;
23
24
  private setCtrlsMap;
@@ -5,7 +5,7 @@ import type { RowNode } from '../entities/rowNode';
5
5
  import type { SelectionEventSourceType } from '../events';
6
6
  import type { IRowNode } from '../interfaces/iRowNode';
7
7
  import type { ISetNodesSelectedParams } from '../interfaces/iSelectionService';
8
- import type { RowCtrl, RowGui } from '../rendering/row/rowCtrl';
8
+ import type { RowCtrl } from '../rendering/row/rowCtrl';
9
9
  import type { ChangedPath } from '../utils/changedPath';
10
10
  import { CheckboxSelectionComponent } from './checkboxSelectionComponent';
11
11
  import { RowRangeSelectionContext } from './rowRangeSelectionContext';
@@ -19,9 +19,9 @@ export declare abstract class BaseSelectionService extends BeanStub {
19
19
  createCheckboxSelectionComponent(): CheckboxSelectionComponent;
20
20
  createSelectAllFeature(column: AgColumn): SelectAllFeature | undefined;
21
21
  protected isMultiSelect(): boolean;
22
- onRowCtrlSelected(rowCtrl: RowCtrl, hasFocusFunc: (gui: RowGui) => void, gui?: RowGui): void;
22
+ onRowCtrlSelected(rowCtrl: RowCtrl, hasFocusFunc: () => void): void;
23
23
  announceAriaRowSelection(rowNode: RowNode): void;
24
- updateGroupsFromChildrenSelections?(source: SelectionEventSourceType, changedPath?: ChangedPath): boolean;
24
+ updateGroupsFromChildrenSelections?(source: SelectionEventSourceType, changedPath?: ChangedPath, event?: Event): boolean;
25
25
  abstract setNodesSelected(params: ISetNodesSelectedParams): number;
26
26
  protected abstract updateSelectable(changedPath?: ChangedPath): void;
27
27
  protected isRowSelectionBlocked(rowNode: RowNode): boolean;
@@ -32,7 +32,7 @@ export declare class SelectionService extends BaseSelectionService implements Na
32
32
  * events do not need fired in this case
33
33
  */
34
34
  filterFromSelection(predicate: (node: RowNode) => boolean): void;
35
- updateGroupsFromChildrenSelections(source: SelectionEventSourceType, changedPath?: ChangedPath): boolean;
35
+ updateGroupsFromChildrenSelections(source: SelectionEventSourceType, changedPath?: ChangedPath, event?: Event): boolean;
36
36
  private clearOtherNodes;
37
37
  private onRowSelected;
38
38
  syncInRowNode(rowNode: RowNode, oldNode?: RowNode): void;
@@ -1,5 +1,6 @@
1
1
  import type { NamedBean } from '../context/bean';
2
2
  import { BeanStub } from '../context/beanStub';
3
+ import type { BeanCollection } from '../context/context';
3
4
  import type { RowNode } from '../entities/rowNode';
4
5
  import type { SortOption } from '../interfaces/iSortOption';
5
6
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
@@ -9,21 +10,13 @@ export declare class RowNodeSorter extends BeanStub implements NamedBean {
9
10
  private primaryColumnsSortGroups;
10
11
  private pivotActive;
11
12
  private firstLeaf;
13
+ private colModel;
14
+ private formula;
15
+ private valueSvc;
12
16
  postConstruct(): void;
13
- private updateOptions;
14
- private updatePivotModeState;
17
+ wireBeans(beans: BeanCollection): void;
15
18
  doFullSortInPlace(rowNodes: RowNode[], sortOptions: SortOption[]): RowNode[];
16
19
  compareRowNodes(sortOptions: SortOption[], nodeA: RowNode, nodeB: RowNode): number;
17
- /**
18
- * if user defines a comparator as a function then use that.
19
- * if user defines a dictionary of comparators, then use the one matching the sort type.
20
- * if no comparator provided, or no matching comparator found in dictionary, then return undefined.
21
- *
22
- * grid checks later if undefined is returned here and falls back to a default comparator corresponding to sort type on the coldef.
23
- * @private
24
- */
25
- private getComparator;
26
- private getComparatorFromColDef;
27
20
  private getValue;
28
21
  private getGroupDataValue;
29
22
  }
@@ -1,5 +1,5 @@
1
1
  import type { AgColumn } from '../entities/agColumn';
2
- import type { SortDef } from '../entities/colDef';
2
+ import type { SortDef } from '../interfaces/iSort';
3
3
  import type { ComponentSelector } from '../widgets/component';
4
4
  import { Component } from '../widgets/component';
5
5
  export declare class SortIndicatorComp extends Component {
@@ -0,0 +1,9 @@
1
+ import type { ColumnModel } from '../columns/columnModel';
2
+ import type { SortOption } from '../interfaces/iSortOption';
3
+ /**
4
+ * Resolves each option's comparators in place so the sorter reads them directly per comparison: a comparator on
5
+ * the col applies to every row; a row-group display col otherwise falls back to its primary column's comparator
6
+ * (the sorter applies that fallback to leaf rows only). Call once after building an option array, before sorting.
7
+ * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
8
+ */
9
+ export declare const _resolveSortOptions: (options: SortOption[], colModel: ColumnModel) => void;
@@ -1,47 +1,50 @@
1
1
  import type { NamedBean } from '../context/bean';
2
2
  import { BeanStub } from '../context/beanStub';
3
3
  import type { AgColumn } from '../entities/agColumn';
4
- import type { DisplaySortDef, SortDef, SortDirection } from '../entities/colDef';
5
4
  import type { ColumnEventType } from '../events';
5
+ import type { DisplaySortDef, SortDef, SortDirection } from '../interfaces/iSort';
6
6
  import type { SortModelItem } from '../interfaces/iSortModelItem';
7
7
  import type { SortOption } from '../interfaces/iSortOption';
8
- import type { Component, ComponentSelector } from '../widgets/component';
8
+ import type { Component } from '../widgets/component';
9
9
  import { SortIndicatorComp } from './sortIndicatorComp';
10
10
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
11
11
  export declare class SortService extends BeanStub implements NamedBean {
12
12
  beanName: "sortSvc";
13
+ readonly SortIndicatorSelector: import("../main-umd-noStyles").ComponentSelector;
14
+ readonly SortIndicatorComp: typeof SortIndicatorComp;
15
+ private cols;
16
+ private map;
17
+ private opts;
18
+ private multi;
19
+ destroy(): void;
20
+ invalidate(): void;
13
21
  progressSort(column: AgColumn, multiSort: boolean, source: ColumnEventType): void;
14
22
  progressSortFromEvent(column: AgColumn, event: MouseEvent | KeyboardEvent): void;
15
23
  setSortForColumn(column: AgColumn, sortDef: SortDef, multiSort: boolean, source: ColumnEventType): void;
16
24
  private updateSortIndex;
17
25
  onSortChanged(source: string, columns?: AgColumn[]): void;
18
- isSortActive(): boolean;
19
26
  dispatchSortChangedEvents(source: string, columns?: AgColumn[]): void;
20
27
  private clearSortBarTheseColumns;
21
28
  getNextSortDirection(column: AgColumn, currentSort?: SortDef | SortDirection | null): SortDef;
22
- /**
23
- * @returns a map of sort indexes for every sorted column, if groups sort primaries then they will have equivalent indices
24
- */
25
- private getIndexedSortMap;
26
- getColumnsWithSortingOrdered(): AgColumn[];
27
- /**
28
- * Util method to collect sort items by going through sorted columns once.
29
- */
30
- private collectSortItems;
31
- getSortModel(): SortModelItem[];
29
+ private getSortedCols;
30
+ private getIndexMap;
31
+ /** Sorted cols in display order. Pivot drops primary leaves (irrelevant to the result); coupled mode
32
+ * interleaves each display group col with its source row-group cols (shared display index). */
33
+ private loadSortedCols;
34
+ /** Col -> display index. Coupled mode: source row-group cols share their display col's index (which
35
+ * counts display cols only). Sets `multi`. */
36
+ private loadIndexMap;
32
37
  getSortOptions(): SortOption[];
33
- canColumnDisplayMixedSort(column: AgColumn): boolean;
34
- getDisplaySortForColumn(column: AgColumn): DisplaySortDef | null;
35
- getDisplaySortIndexForColumn(column: AgColumn): number | null | undefined;
38
+ getDisplaySort(column: AgColumn): DisplaySortDef | null;
39
+ getDisplaySortIndex(column: AgColumn): number | undefined;
40
+ /** `true` when the indicator should show ordinal numbers (2+ distinct display indices). */
41
+ isMultiSort(): boolean;
36
42
  setupHeader(comp: Component, column: AgColumn): void;
37
43
  initCol(column: AgColumn): void;
38
- /**
39
- * Update a column's sort state from a sort definition.
40
- * If `sortDefOrDirection` is `undefined`, the call is a no-op (no change).
41
- */
44
+ /** Update a column's sort from a sort def; `undefined` is a no-op. */
42
45
  updateColSort(column: AgColumn, sortDefOrDirection: SortDirection | SortDef | undefined, source: ColumnEventType): void;
43
46
  private setColSort;
44
47
  setColSortIndex(column: AgColumn, sortOrder?: number | null): void;
45
- createSortIndicator(skipTemplate?: boolean): SortIndicatorComp;
46
- getSortIndicatorSelector(): ComponentSelector;
47
48
  }
49
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
50
+ export declare function _getSortModel(sortSvc: SortService | undefined): SortModelItem[];
@@ -0,0 +1,5 @@
1
+ import type { AgColumn } from '../entities/agColumn';
2
+ import type { ICalculatedColumnsService } from '../interfaces/iCalculatedColumns';
3
+ export declare const CSS_CALCULATED_COLUMN = "ag-calculated-column";
4
+ export declare const CSS_CALCULATED_COLUMN_HIGHLIGHTED = "ag-calculated-column-highlighted";
5
+ export declare function _getCalculatedColumnCssClasses(column: AgColumn | null | undefined, calculatedColsSvc: ICalculatedColumnsService | undefined): readonly string[];
@@ -75,9 +75,9 @@ export declare const agTestIdFor: {
75
75
  columnSelectListItemGroupClosedIcon(label?: string | null): string;
76
76
  columnSelectListItemCheckbox(label?: string | null): string;
77
77
  columnSelectListItemDragHandle(label?: string | null): string;
78
- columnDropCellDragHandle(source: 'panel' | 'toolbar', area?: string | null, label?: string | null): string;
79
- columnDropCellCancelButton(source: 'panel' | 'toolbar', area?: string | null, label?: string | null): string;
80
- columnDropArea(source: 'panel' | 'toolbar', name?: string | null): string;
78
+ columnDropCellDragHandle(source: "panel" | "toolbar", area?: string | null, label?: string | null): string;
79
+ columnDropCellCancelButton(source: "panel" | "toolbar", area?: string | null, label?: string | null): string;
80
+ columnDropArea(source: "panel" | "toolbar", name?: string | null): string;
81
81
  /** Filter Tool Panel (New) */
82
82
  filterToolPanel(): string;
83
83
  filterToolPanelAddFilterButton(): string;