ag-grid-community 35.2.0 → 35.3.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 (131) hide show
  1. package/README.md +36 -36
  2. package/dist/ag-grid-community.js +14153 -1434
  3. package/dist/ag-grid-community.min.js +882 -258
  4. package/dist/ag-grid-community.min.noStyle.js +51 -43
  5. package/dist/ag-grid-community.noStyle.js +2037 -1420
  6. package/dist/package/main.cjs.js +2034 -1402
  7. package/dist/package/main.cjs.min.js +49 -41
  8. package/dist/package/main.esm.min.mjs +46 -38
  9. package/dist/package/main.esm.mjs +2034 -1402
  10. package/dist/package/package.json +5 -8
  11. package/dist/package.json +5 -8
  12. package/dist/types/package.json +5 -8
  13. package/dist/types/src/agStack/interfaces/iIcon.d.ts +1 -1
  14. package/dist/types/src/agStack/popup/popupPositionUtils.d.ts +71 -0
  15. package/dist/types/src/agStack/rendering/agPositionableFeature.d.ts +1 -1
  16. package/dist/types/src/agStack/theming/inject.d.ts +3 -2
  17. package/dist/types/src/agStack/theming/shared/shared-css.d.ts +1 -0
  18. package/dist/types/src/agStack/utils/array.d.ts +9 -0
  19. package/dist/types/src/agStack/utils/dom.d.ts +1 -1
  20. package/dist/types/src/agStack/utils/fuzzyMatch.d.ts +2 -1
  21. package/dist/types/src/agStack/utils/value.d.ts +6 -1
  22. package/dist/types/src/agStack/widgets/agInputTextArea.d.ts +1 -0
  23. package/dist/types/src/api/gridApi.d.ts +60 -1
  24. package/dist/types/src/clientSideRowModel/clientSideRowModel.d.ts +1 -0
  25. package/dist/types/src/clientSideRowModel/deltaSort.d.ts +2 -0
  26. package/dist/types/src/clientSideRowModel/filterStage.d.ts +2 -9
  27. package/dist/types/src/clientSideRowModel/sortStage.d.ts +1 -1
  28. package/dist/types/src/columns/columnDefFactory.d.ts +1 -0
  29. package/dist/types/src/columns/columnModel.d.ts +6 -1
  30. package/dist/types/src/context/context.d.ts +17 -4
  31. package/dist/types/src/edit/cellEditors/largeTextCellEditor.d.ts +4 -0
  32. package/dist/types/src/edit/editService.d.ts +1 -1
  33. package/dist/types/src/edit/strategy/fullRowEditStrategy.d.ts +1 -1
  34. package/dist/types/src/edit/strategy/singleCellEditStrategy.d.ts +1 -1
  35. package/dist/types/src/entities/agColumn.d.ts +3 -5
  36. package/dist/types/src/entities/colDef.d.ts +20 -8
  37. package/dist/types/src/entities/gridOptions.d.ts +70 -5
  38. package/dist/types/src/entities/rowNode.d.ts +17 -2
  39. package/dist/types/src/filter/filterManager.d.ts +1 -5
  40. package/dist/types/src/filter/filterValueService.d.ts +1 -2
  41. package/dist/types/src/filter/provided/date/dateFilterHandler.d.ts +1 -0
  42. package/dist/types/src/gridBodyComp/rowContainer/rowContainerEventsFeature.d.ts +2 -0
  43. package/dist/types/src/gridComp/gridComp.d.ts +1 -0
  44. package/dist/types/src/gridComp/gridCtrl.d.ts +1 -0
  45. package/dist/types/src/gridOptionsDefault.d.ts +3 -0
  46. package/dist/types/src/gridOptionsInitial.d.ts +1 -1
  47. package/dist/types/src/gridOptionsService.d.ts +1 -0
  48. package/dist/types/src/gridOptionsUtils.d.ts +8 -2
  49. package/dist/types/src/headerRendering/row/headerRowCtrl.d.ts +1 -1
  50. package/dist/types/src/interfaces/exportParams.d.ts +12 -0
  51. package/dist/types/src/interfaces/formulas.d.ts +15 -0
  52. package/dist/types/src/interfaces/iCallbackParams.d.ts +3 -0
  53. package/dist/types/src/interfaces/iCellRangeFeature.d.ts +1 -1
  54. package/dist/types/src/interfaces/iExcelCreator.d.ts +40 -1
  55. package/dist/types/src/interfaces/iFilter.d.ts +1 -1
  56. package/dist/types/src/interfaces/iFocusableContainer.d.ts +1 -1
  57. package/dist/types/src/interfaces/iFrameworkOverrides.d.ts +2 -0
  58. package/dist/types/src/interfaces/iModule.d.ts +4 -4
  59. package/dist/types/src/interfaces/iRowGroupPanelBuilder.d.ts +11 -0
  60. package/dist/types/src/interfaces/iRowNode.d.ts +20 -6
  61. package/dist/types/src/interfaces/iRowNodeStage.d.ts +6 -3
  62. package/dist/types/src/interfaces/iServerSideDatasource.d.ts +10 -0
  63. package/dist/types/src/interfaces/iServerSideRowModel.d.ts +6 -0
  64. package/dist/types/src/interfaces/iToolbar.d.ts +178 -0
  65. package/dist/types/src/interfaces/menuItem.d.ts +1 -1
  66. package/dist/types/src/interfaces/notes.d.ts +147 -0
  67. package/dist/types/src/main-internal.d.ts +15 -8
  68. package/dist/types/src/main.d.ts +6 -3
  69. package/dist/types/src/navigation/cellNavigationService.d.ts +0 -3
  70. package/dist/types/src/pagination/{pageSizeSelector/pageSizeSelectorComp.d.ts → pageSizeSelectorComp.d.ts} +3 -4
  71. package/dist/types/src/pagination/pageSummaryComp.d.ts +29 -0
  72. package/dist/types/src/pagination/paginationService.d.ts +0 -1
  73. package/dist/types/src/pagination/paginationUtils.d.ts +3 -0
  74. package/dist/types/src/pagination/rowSummaryComp.d.ts +15 -0
  75. package/dist/types/src/pinnedColumns/pinnedColumnService.d.ts +2 -0
  76. package/dist/types/src/pinnedRowModel/manualPinnedRowModel.d.ts +2 -0
  77. package/dist/types/src/propertyKeys.d.ts +1 -1
  78. package/dist/types/src/publicEventHandlersMap.d.ts +1 -1
  79. package/dist/types/src/rendering/cell/cellCtrl.d.ts +6 -0
  80. package/dist/types/src/rendering/cell/cellPositionFeature.d.ts +0 -2
  81. package/dist/types/src/rendering/row/rowCtrl.d.ts +22 -2
  82. package/dist/types/src/rendering/spanning/rowSpanService.d.ts +2 -0
  83. package/dist/types/src/testing/testIdUtils.d.ts +6 -0
  84. package/dist/types/src/theming/core/core-css.d.ts +16 -0
  85. package/dist/types/src/theming/createTheme.d.ts +3 -1
  86. package/dist/types/src/theming/parts/notes/note-styles.d.ts +37 -0
  87. package/dist/types/src/theming/parts/theme/themes.d.ts +6 -2
  88. package/dist/types/src/utils/icon.d.ts +1 -1
  89. package/dist/types/src/validation/errorMessages/errorText.d.ts +25 -4
  90. package/dist/types/src/validation/validationService.d.ts +7 -1
  91. package/dist/types/src/validation/validationTypes.d.ts +5 -2
  92. package/dist/types/src/valueService/valueCache.d.ts +1 -2
  93. package/dist/types/src/valueService/valueService.d.ts +18 -13
  94. package/dist/types/src/vanillaFrameworkOverrides.d.ts +1 -0
  95. package/dist/types/src/version.d.ts +1 -1
  96. package/dist/types/src/widgets/component.d.ts +1 -1
  97. package/package.json +5 -8
  98. package/styles/_css-content.scss +1290 -310
  99. package/styles/_icon-font-codes.scss +1 -0
  100. package/styles/_index.scss +3 -3
  101. package/styles/ag-grid-no-native-widgets.css +416 -52
  102. package/styles/ag-grid-no-native-widgets.min.css +4 -4
  103. package/styles/ag-grid.css +433 -63
  104. package/styles/ag-grid.min.css +4 -4
  105. package/styles/ag-theme-alpine-no-font.css +21 -11
  106. package/styles/ag-theme-alpine-no-font.min.css +3 -3
  107. package/styles/ag-theme-alpine.css +22 -12
  108. package/styles/ag-theme-alpine.min.css +3 -3
  109. package/styles/ag-theme-balham-no-font.css +15 -2
  110. package/styles/ag-theme-balham-no-font.min.css +3 -3
  111. package/styles/ag-theme-balham.css +16 -3
  112. package/styles/ag-theme-balham.min.css +3 -3
  113. package/styles/ag-theme-material-no-font.css +92 -11
  114. package/styles/ag-theme-material-no-font.min.css +3 -4
  115. package/styles/ag-theme-material.css +93 -12
  116. package/styles/ag-theme-material.min.css +3 -4
  117. package/styles/ag-theme-quartz-no-font.css +49 -30
  118. package/styles/ag-theme-quartz-no-font.min.css +3 -3
  119. package/styles/ag-theme-quartz.css +50 -31
  120. package/styles/ag-theme-quartz.min.css +3 -3
  121. package/styles/agGridAlpineFont.css +1 -1
  122. package/styles/agGridAlpineFont.min.css +1 -1
  123. package/styles/agGridBalhamFont.css +1 -1
  124. package/styles/agGridBalhamFont.min.css +1 -1
  125. package/styles/agGridClassicFont.css +1 -1
  126. package/styles/agGridClassicFont.min.css +1 -1
  127. package/styles/agGridMaterialFont.css +1 -1
  128. package/styles/agGridMaterialFont.min.css +1 -1
  129. package/styles/agGridQuartzFont.css +1 -1
  130. package/styles/agGridQuartzFont.min.css +1 -1
  131. /package/dist/types/src/{export/downloader.d.ts → agStack/utils/download.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.2.0",
3
+ "version": "35.3.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,15 +119,12 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.2.0"
122
+ "ag-charts-types": "13.3.0"
123
123
  },
124
124
  "devDependencies": {
125
- "web-streams-polyfill": "^3.3.2",
126
- "blob-polyfill": "^7.0.20220408",
125
+ "web-streams-polyfill": "^4.2.0",
126
+ "blob-polyfill": "^9.0.20240710",
127
127
  "compression-streams-polyfill": "^0.1.7",
128
- "text-encoding-polyfill": "^0.6.7",
129
- "@types/jest": "^29.5.0",
130
- "jest": "^29.5.0",
131
- "jest-environment-jsdom": "^29.7.0"
128
+ "text-encoding-polyfill": "^0.6.7"
132
129
  }
133
130
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.2.0",
3
+ "version": "35.3.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,15 +119,12 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.2.0"
122
+ "ag-charts-types": "13.3.0"
123
123
  },
124
124
  "devDependencies": {
125
- "web-streams-polyfill": "^3.3.2",
126
- "blob-polyfill": "^7.0.20220408",
125
+ "web-streams-polyfill": "^4.2.0",
126
+ "blob-polyfill": "^9.0.20240710",
127
127
  "compression-streams-polyfill": "^0.1.7",
128
- "text-encoding-polyfill": "^0.6.7",
129
- "@types/jest": "^29.5.0",
130
- "jest": "^29.5.0",
131
- "jest-environment-jsdom": "^29.7.0"
128
+ "text-encoding-polyfill": "^0.6.7"
132
129
  }
133
130
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.2.0",
3
+ "version": "35.3.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,16 +119,13 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.2.0"
122
+ "ag-charts-types": "13.3.0"
123
123
  },
124
124
  "devDependencies": {
125
- "web-streams-polyfill": "^3.3.2",
126
- "blob-polyfill": "^7.0.20220408",
125
+ "web-streams-polyfill": "^4.2.0",
126
+ "blob-polyfill": "^9.0.20240710",
127
127
  "compression-streams-polyfill": "^0.1.7",
128
- "text-encoding-polyfill": "^0.6.7",
129
- "@types/jest": "^29.5.0",
130
- "jest": "^29.5.0",
131
- "jest-environment-jsdom": "^29.7.0"
128
+ "text-encoding-polyfill": "^0.6.7"
132
129
  },
133
130
  "type": "commonjs"
134
131
  }
@@ -1,2 +1,2 @@
1
1
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
2
- export type IconValue = 'expanded' | 'contracted' | 'tree-closed' | 'tree-open' | 'tree-indeterminate' | 'pin' | 'eye-slash' | 'arrows' | 'left' | 'right' | 'group' | 'aggregation' | 'pivot' | 'not-allowed' | 'chart' | 'cross' | 'cancel' | 'tick' | 'first' | 'previous' | 'next' | 'last' | 'linked' | 'unlinked' | 'color-picker' | 'loading' | 'menu' | 'menu-alt' | 'filter' | 'filter-add' | 'columns' | 'maximize' | 'minimize' | 'copy' | 'cut' | 'paste' | 'grip' | 'save' | 'csv' | 'excel' | 'small-down' | 'small-left' | 'small-right' | 'small-up' | 'asc' | 'desc' | 'aasc' | 'adesc' | 'none' | 'up' | 'down' | 'plus' | 'minus' | 'settings' | 'checkbox-checked' | 'checkbox-indeterminate' | 'checkbox-unchecked' | 'radio-button-on' | 'radio-button-off' | 'eye' | 'column-arrow' | 'un-pin' | 'pinned-bottom' | 'pinned-top' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'edit';
2
+ export type IconValue = 'expanded' | 'contracted' | 'tree-closed' | 'tree-open' | 'tree-indeterminate' | 'pin' | 'eye-slash' | 'arrows' | 'left' | 'right' | 'group' | 'aggregation' | 'pivot' | 'not-allowed' | 'chart' | 'cross' | 'cancel' | 'tick' | 'first' | 'previous' | 'next' | 'last' | 'linked' | 'unlinked' | 'color-picker' | 'loading' | 'menu' | 'menu-alt' | 'filter' | 'filter-add' | 'columns' | 'maximize' | 'minimize' | 'copy' | 'cut' | 'paste' | 'grip' | 'save' | 'csv' | 'excel' | 'small-down' | 'small-left' | 'small-right' | 'small-up' | 'asc' | 'desc' | 'aasc' | 'adesc' | 'none' | 'up' | 'down' | 'plus' | 'minus' | 'settings' | 'checkbox-checked' | 'checkbox-indeterminate' | 'checkbox-unchecked' | 'radio-button-on' | 'radio-button-off' | 'eye' | 'column-arrow' | 'un-pin' | 'pinned-bottom' | 'pinned-top' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'edit' | 'search';
@@ -0,0 +1,71 @@
1
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
2
+ export type Anchor = 'tl' | 'tc' | 'tr' | 'l' | 'c' | 'r' | 'bl' | 'bc' | 'br';
3
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
4
+ export type Alignment = `${Anchor}-${Anchor}`;
5
+ interface FindBestPlacementOptions {
6
+ gap?: number;
7
+ enableRtl?: boolean;
8
+ mirrorPlacementsInRtl?: boolean;
9
+ }
10
+ interface Rect {
11
+ top: number;
12
+ left: number;
13
+ right: number;
14
+ bottom: number;
15
+ }
16
+ interface Size {
17
+ width: number;
18
+ height: number;
19
+ }
20
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
21
+ export declare function getRectSize(rect: Pick<Rect, 'top' | 'left' | 'right' | 'bottom'>): Size;
22
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
23
+ export declare function fitsWithinBounds(position: {
24
+ x: number;
25
+ y: number;
26
+ }, targetSize: Size, boundsSize: Size): boolean;
27
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
28
+ export declare function toRelativeRect(rect: {
29
+ top: number;
30
+ left: number;
31
+ right: number;
32
+ bottom: number;
33
+ }, parentRect: {
34
+ top: number;
35
+ left: number;
36
+ }): Rect;
37
+ /**
38
+ * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
39
+ *
40
+ * Compute the top-left position for a target element so that its anchor point
41
+ * aligns with the reference element's anchor point.
42
+ *
43
+ * @param referenceRect Bounding rect of the reference element (absolute coordinates)
44
+ * @param targetSize Width and height of the target element
45
+ * @param alignment `'{targetAnchor}-{referenceAnchor}'` e.g. `'tl-tr'`
46
+ * @param gap Pixel gap applied directionally away from the reference
47
+ */
48
+ export declare function computeAlignedPosition(referenceRect: Rect, targetSize: Size, alignment: Alignment, gap?: number): {
49
+ x: number;
50
+ y: number;
51
+ };
52
+ /**
53
+ * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
54
+ *
55
+ * Try a list of alignments in order, returning the position of the first one
56
+ * that doesn't overlap the reference rect after bounds clamping.
57
+ *
58
+ * @param referenceRect Bounding rect of the reference element (relative to parent)
59
+ * @param targetSize Width and height of the target element
60
+ * @param parentSize Width and height of the bounding parent
61
+ * @param placements Alignments to try in preference order
62
+ * @param gap Pixel gap applied directionally away from the reference
63
+ * @returns The position of the best placement, or the first placement as fallback
64
+ */
65
+ export declare function findBestPlacement(referenceRect: Rect, targetSize: Size, parentSize: Size, placements: Alignment[], gapOrOptions?: number | FindBestPlacementOptions): {
66
+ x: number;
67
+ y: number;
68
+ };
69
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
70
+ export declare function getEffectivePlacements(placements: Alignment[], enableRtl?: boolean, mirrorPlacementsInRtl?: boolean): Alignment[];
71
+ export {};
@@ -48,7 +48,7 @@ export declare class AgPositionableFeature<TBeanCollection extends AgCoreBeanCol
48
48
  private moveElementDragListener;
49
49
  private offsetParent;
50
50
  private boundaryEl;
51
- private isResizing;
51
+ isResizing: boolean;
52
52
  private isMoving;
53
53
  private resizable;
54
54
  private movable;
@@ -3,12 +3,13 @@ export declare const IS_SSR: boolean;
3
3
  /** For testing, if true, only Vanilla examples will work and they will use legacy themes. */
4
4
  export declare const FORCE_LEGACY_THEMES = false;
5
5
  type InjectedStyle = {
6
- css: string;
6
+ rawCss: string;
7
+ injectedCss: string;
7
8
  el: HTMLStyleElement;
8
9
  priority: number;
9
10
  isParams: boolean;
10
11
  };
11
- export declare const _injectGlobalCSS: (css: string, styleContainer: HTMLElement, debugId: string, layer: string | undefined, priority: number, nonce: string | undefined, isParams?: boolean) => void;
12
+ export declare const _injectGlobalCSS: (rawCss: string, styleContainer: HTMLElement, debugId: string, layer: string | undefined, priority: number, nonce: string | undefined, isParams?: boolean) => void;
12
13
  export declare const _injectCoreAndModuleCSS: (styleContainer: HTMLElement, layer: string | undefined, nonce: string | undefined, moduleCss: Map<string, string[]> | undefined) => void;
13
14
  export declare const _useParamsCss: (environment: IEnvironment, paramsCss: string | null, paramsDebugId: string | null, styleContainer: HTMLElement, layer: string | undefined, nonce: string | undefined) => void;
14
15
  export declare const _unregisterInstanceUsingThemingAPI: (environment: IEnvironment) => void;
@@ -277,5 +277,6 @@ export declare const defaultLightColorSchemeParams: {
277
277
  readonly chromeBackgroundColor: ColorValue;
278
278
  readonly browserColorScheme: "light";
279
279
  };
280
+ export declare const defaultFontFamily: () => string[];
280
281
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
281
282
  export declare const sharedDefaults: Readonly<SharedThemeParams>;
@@ -3,6 +3,15 @@ export declare function _last<T>(arr: readonly T[]): T;
3
3
  export declare function _last<T extends Node>(arr: NodeListOf<T>): T;
4
4
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
5
5
  export declare function _areEqual<T>(a: readonly T[] | null | undefined, b: readonly T[] | null | undefined, comparator?: (a: T, b: T) => boolean): boolean;
6
+ /**
7
+ * Returns `prev` when its contents equal `current`; otherwise `current.slice()` (or `[]` if
8
+ * nullish). The same-reference case (`prev === current`) returns a fresh slice so callers never
9
+ * receive the readonly `current` aliased back. Mutating a returned `prev` persists into the next
10
+ * call's `prev`.
11
+ *
12
+ * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
13
+ */
14
+ export declare function _reuseArrayIfEqual<T>(prev: T[] | null | undefined, current: readonly T[] | null | undefined): T[];
6
15
  /**
7
16
  * Utility that uses the fastest looping approach to apply a callback to each element of the array
8
17
  * https://jsperf.app/for-for-of-for-in-foreach-comparison
@@ -100,7 +100,7 @@ type Attributes = {
100
100
  };
101
101
  type TagName<SelectorType extends string> = keyof HTMLElementTagNameMap | Lowercase<SelectorType>;
102
102
  /** Type to help avoid typos, add new roles as required. */
103
- type RoleType = 'button' | 'columnheader' | 'gridcell' | 'heading' | 'listbox' | 'menu' | 'option' | 'presentation' | 'group' | 'row' | 'rowgroup' | 'status' | 'tab' | 'tablist' | 'tabpanel' | 'treeitem';
103
+ type RoleType = 'button' | 'columnheader' | 'gridcell' | 'heading' | 'listbox' | 'menu' | 'option' | 'presentation' | 'group' | 'row' | 'rowgroup' | 'status' | 'tab' | 'tablist' | 'tabpanel' | 'toolbar' | 'treeitem';
104
104
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
105
105
  export type AgElementParams<SelectorType extends string> = {
106
106
  /** The tag name to use for the element, either browser tag or one of the AG Grid components such as ag-checkbox
@@ -6,7 +6,7 @@ export declare function _fuzzySuggestions(params: {
6
6
  inputValue: string;
7
7
  allSuggestions: string[];
8
8
  hideIrrelevant?: boolean;
9
- filterByPercentageOfBestMatch?: number;
9
+ maxSuggestions?: number;
10
10
  }): {
11
11
  values: string[];
12
12
  indices: number[];
@@ -17,5 +17,6 @@ export declare function _fuzzySuggestions(params: {
17
17
  *
18
18
  * This function is often being called, so it must be performant.
19
19
  * {@link|https://github.com/ag-grid/ag-grid/issues/12473}
20
+ * @knipIgnore Used in tests
20
21
  */
21
22
  export declare function _getLevenshteinSimilarityDistance(source: string, target: string): number;
@@ -1 +1,6 @@
1
- export declare function _getValueUsingField(data: any, field: string, fieldContainsDots: boolean): any;
1
+ /**
2
+ * Reads a deep property from `data` using a dotted path. Callers must have already verified
3
+ * that the field contains dots — for plain field names use `data[field]` directly.
4
+ * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
5
+ */
6
+ export declare function _getValueUsingDotField(data: any, field: string): any;
@@ -13,4 +13,5 @@ export declare class AgInputTextArea<TBeanCollection extends AgCoreBeanCollectio
13
13
  setCols(cols: number): this;
14
14
  setRows(rows: number): this;
15
15
  }
16
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
16
17
  export declare const AgInputTextAreaSelector: AgComponentSelector<AgWidgetSelectorType>;
@@ -35,7 +35,9 @@ import type { IServerSideGroupSelectionState, IServerSideSelectionState } from '
35
35
  import type { SideBarDef } from '../interfaces/iSideBar';
36
36
  import type { IStatusPanel } from '../interfaces/iStatusPanel';
37
37
  import type { IToolPanel } from '../interfaces/iToolPanel';
38
+ import type { IToolbarItem } from '../interfaces/iToolbar';
38
39
  import type { DetailGridInfo } from '../interfaces/masterDetail';
40
+ import type { GetNoteParams, Note, RefreshNotesParams, SetNoteParams } from '../interfaces/notes';
39
41
  import type { RowDataTransaction } from '../interfaces/rowDataTransaction';
40
42
  import type { RowNodeTransaction } from '../interfaces/rowNodeTransaction';
41
43
  import type { ServerSideTransaction, ServerSideTransactionResult } from '../interfaces/serverSideTransaction';
@@ -174,6 +176,12 @@ export interface _RowGridApi<TData> {
174
176
  * The row node ID is the one you provide from the callback `getRowId(params)`,
175
177
  * otherwise the ID is a number (cast as string) auto-generated by the grid when
176
178
  * the row data is set.
179
+ *
180
+ * Special IDs for built-in row types (import constants from `ag-grid-community`):
181
+ * - `ROOT_NODE_ID` — the invisible root node (level -1, always a group)
182
+ * - `GRAND_TOTAL_ROW_ID` — the grand total footer row (when `grandTotalRow` is enabled)
183
+ * - `GROUP_TOTAL_ROW_ID_PREFIX + groupId` — a group total footer row for the group with the given ID
184
+ * - `DETAIL_ROW_ID_PREFIX + masterRowId` — the detail row for the master row with the given ID
177
185
  * @agModule `RowApiModule`
178
186
  */
179
187
  getRowNode(id: string): IRowNode<TData> | undefined;
@@ -985,6 +993,25 @@ export interface _FindApi<TData> {
985
993
  */
986
994
  findRefresh(): void;
987
995
  }
996
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
997
+ export interface _NotesGridApi {
998
+ /**
999
+ * Return the current note for a cell.
1000
+ * @agModule `NotesModule`
1001
+ */
1002
+ getNote(params: GetNoteParams): Note | undefined;
1003
+ /**
1004
+ * Set or remove the note for a cell.
1005
+ * Pass `note: undefined` to remove the note.
1006
+ * @agModule `NotesModule`
1007
+ */
1008
+ setNote(params: SetNoteParams): void;
1009
+ /**
1010
+ * Refresh note presence for the currently rendered cells.
1011
+ * @agModule `NotesModule`
1012
+ */
1013
+ refreshNotes(params?: RefreshNotesParams): void;
1014
+ }
988
1015
  export interface _StateGridApi {
989
1016
  /**
990
1017
  * Get the current state of the grid.
@@ -1196,6 +1223,14 @@ export interface _SideBarGridApi<TData> {
1196
1223
  getSideBar(): SideBarDef | undefined;
1197
1224
  }
1198
1225
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
1226
+ export interface _ToolbarGridApi<TData = any> {
1227
+ /**
1228
+ * Gets the toolbar item instance for the given `key`. Only toolbar items configured with a `key` can be accessed.
1229
+ * @agModule `ToolbarModule`
1230
+ */
1231
+ getToolbarItemInstance<T = IToolbarItem<TData>>(key: string): T | undefined;
1232
+ }
1233
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
1199
1234
  export interface _StatusBarGridApi<TData = any> {
1200
1235
  /**
1201
1236
  * Gets the status panel instance corresponding to the supplied `id`.
@@ -1460,6 +1495,30 @@ export interface _ColumnChooserGridApi {
1460
1495
  hideColumnChooser(): void;
1461
1496
  }
1462
1497
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
1498
+ export interface _FormulaGridApi<TData = any> {
1499
+ /**
1500
+ * Invalidate the grid's formula cache so the next render re-queries
1501
+ * `formulaDataSource.getFormula` and re-evaluates affected formulas.
1502
+ *
1503
+ * Call this when the formula store has been mutated outside the grid (e.g. synced from
1504
+ * a backend). In-grid edits and Client-Side Row Model updates invalidate automatically.
1505
+ *
1506
+ * - No argument: invalidates every cached formula.
1507
+ * - `RowNode`: invalidates that row and its pinned / group-footer siblings.
1508
+ * - `string` (row id): resolved against the main row model, pinned-top and pinned-bottom.
1509
+ * Every match is invalidated — so if a statically-pinned row shares an id with a body
1510
+ * row, both are refreshed. An unknown id is a silent no-op.
1511
+ *
1512
+ * @returns `true` when a refresh was actually performed — i.e. the full cache was cleared
1513
+ * (no-arg call) or at least one cache entry was dropped for any resolved row or its
1514
+ * siblings. Returns `false` for no-op cases: formulas inactive, an unknown row id,
1515
+ * or a row whose entire sibling chain had no cached formulas.
1516
+ *
1517
+ * @agModule `FormulaModule`
1518
+ */
1519
+ refreshFormulas(rowNode?: IRowNode<TData> | string): boolean;
1520
+ }
1521
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
1463
1522
  export interface _MasterDetailGridApi {
1464
1523
  /**
1465
1524
  * Register a detail grid with the master grid when it is created.
@@ -1636,6 +1695,6 @@ export interface _AiToolkitGridApi {
1636
1695
  */
1637
1696
  getStructuredSchema(params?: StructuredSchemaParams): any;
1638
1697
  }
1639
- export interface GridApi<TData = any> extends _CoreGridApi<TData>, _StateGridApi, _RowSelectionGridApi<TData>, _RowGridApi<TData>, _ScrollGridApi<TData>, _KeyboardNavigationGridApi, _EventGridApi<TData>, _ValueCacheApi, _ValueApi<TData>, _CommunityMenuGridApi, _SortGridApi, _OverlayGridApi, _PinnedRowGridApi, _RenderGridApi<TData>, _HighlightChangesGridApi<TData>, _DragGridApi<TData>, _ColumnAutosizeApi, _ColumnResizeApi, _ColumnMoveApi, _ColumnHoverApi, _ColumnGridApi<TData>, _ColumnGroupGridApi, _EditGridApi<TData>, _UndoRedoGridApi, _FilterGridApi, _ColumnFilterGridApi, _QuickFilterGridApi, _FindApi<TData>, _PaginationGridApi, _RowModelSharedApi, _CsrmSsrmSharedGridApi, _SsrmInfiniteSharedGridApi, _ClientSideRowModelGridApi<TData>, _SideBarGridApi<TData>, _StatusBarGridApi<TData>, _InfiniteRowModelGridApi, _CsvExportGridApi, _RowGroupingGridApi, _AggregationGridApi<TData>, _PivotGridApi<TData>, _CellSelectionGridApi, _ServerSideRowModelGridApi<TData>, _ContextMenuGridApi, _ColumnChooserGridApi, _MasterDetailGridApi, _ExcelExportGridApi, _ClipboardGridApi, _GridChartsGridApi, _AdvancedFilterGridApi, _BatchEditApi, _AiToolkitGridApi {
1698
+ export interface GridApi<TData = any> extends _CoreGridApi<TData>, _StateGridApi, _RowSelectionGridApi<TData>, _RowGridApi<TData>, _ScrollGridApi<TData>, _KeyboardNavigationGridApi, _EventGridApi<TData>, _ValueCacheApi, _ValueApi<TData>, _CommunityMenuGridApi, _SortGridApi, _OverlayGridApi, _PinnedRowGridApi, _RenderGridApi<TData>, _HighlightChangesGridApi<TData>, _DragGridApi<TData>, _ColumnAutosizeApi, _ColumnResizeApi, _ColumnMoveApi, _ColumnHoverApi, _ColumnGridApi<TData>, _ColumnGroupGridApi, _EditGridApi<TData>, _UndoRedoGridApi, _FilterGridApi, _ColumnFilterGridApi, _QuickFilterGridApi, _FindApi<TData>, _NotesGridApi, _PaginationGridApi, _RowModelSharedApi, _CsrmSsrmSharedGridApi, _SsrmInfiniteSharedGridApi, _ClientSideRowModelGridApi<TData>, _SideBarGridApi<TData>, _ToolbarGridApi<TData>, _StatusBarGridApi<TData>, _InfiniteRowModelGridApi, _CsvExportGridApi, _RowGroupingGridApi, _AggregationGridApi<TData>, _PivotGridApi<TData>, _CellSelectionGridApi, _ServerSideRowModelGridApi<TData>, _ContextMenuGridApi, _ColumnChooserGridApi, _MasterDetailGridApi, _FormulaGridApi<TData>, _ExcelExportGridApi, _ClipboardGridApi, _GridChartsGridApi, _AdvancedFilterGridApi, _BatchEditApi, _AiToolkitGridApi {
1640
1699
  dispatchEvent(event: AgEvent): void;
1641
1700
  }
@@ -133,6 +133,7 @@ export declare class ClientSideRowModel extends BeanStub implements IClientSideR
133
133
  /** Returns `true` if pivot columns changed and changedPath should be deactivated. */
134
134
  private doPivot;
135
135
  getRowNode(id: string): RowNode | undefined;
136
+ private getSpecialRowNode;
136
137
  batchUpdateRowData(rowDataTransaction: RowDataTransaction, callback?: (res: RowNodeTransaction) => void): void;
137
138
  flushAsyncTransactions(): void;
138
139
  private executeBatchUpdateRowData;
@@ -18,5 +18,7 @@ import type { ChangedRowNodes } from './changedRowNodes';
18
18
  *
19
19
  * Time complexity: O(t log t + n) where t = touched rows, n = total rows
20
20
  * This is faster than full sort O(n log n) when t << n
21
+ *
22
+ * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
21
23
  */
22
24
  export declare const doDeltaSort: (rowNodeSorter: RowNodeSorter, rowNode: RowNode, changedRowNodes: ChangedRowNodes, changedPath: ChangedPath | undefined, sortOptions: SortOption[]) => RowNode[];
@@ -1,20 +1,13 @@
1
1
  import type { NamedBean } from '../context/bean';
2
2
  import { BeanStub } from '../context/beanStub';
3
3
  import type { BeanCollection } from '../context/context';
4
- import type { GridOptions } from '../entities/gridOptions';
5
- import type { RowNode } from '../entities/rowNode';
6
4
  import type { ClientSideRowModelStage } from '../interfaces/iClientSideRowModel';
7
5
  import type { IRowNodeFilterStage } from '../interfaces/iRowNodeStage';
8
- import type { ChangedPath } from '../utils/changedPath';
9
- export declare function updateRowNodeAfterFilter(rowNode: RowNode): void;
10
6
  export declare class FilterStage extends BeanStub implements IRowNodeFilterStage, NamedBean {
11
7
  beanName: "filterStage";
12
8
  readonly step: ClientSideRowModelStage;
13
- readonly refreshProps: (keyof GridOptions<any>)[];
9
+ readonly refreshProps: null;
14
10
  private filterManager?;
15
11
  wireBeans(beans: BeanCollection): void;
16
- execute(changedPath: ChangedPath | undefined): void;
17
- private filterNodes;
18
- private softFilter;
19
- private doingTreeDataFiltering;
12
+ execute(): void;
20
13
  }
@@ -6,11 +6,11 @@ import type { ClientSideRowModelStage } from '../interfaces/iClientSideRowModel'
6
6
  import type { IRowNodeSortStage } from '../interfaces/iRowNodeStage';
7
7
  import type { ChangedPath } from '../utils/changedPath';
8
8
  import type { ChangedRowNodes } from './changedRowNodes';
9
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
9
10
  export declare const updateRowNodeAfterSort: (rowNode: RowNode) => void;
10
11
  export declare class SortStage extends BeanStub implements NamedBean, IRowNodeSortStage {
11
12
  beanName: "sortStage";
12
13
  readonly step: ClientSideRowModelStage;
13
14
  readonly refreshProps: (keyof GridOptions<any>)[];
14
15
  execute(changedPath: ChangedPath | undefined, changedRowNodes: ChangedRowNodes | undefined): void;
15
- private shouldSortContainsGroupCols;
16
16
  }
@@ -3,6 +3,7 @@ import { BeanStub } from '../context/beanStub';
3
3
  import type { BeanCollection } from '../context/context';
4
4
  import type { AgColumn } from '../entities/agColumn';
5
5
  import type { ColDef, ColGroupDef } from '../entities/colDef';
6
+ /** @knipIgnore Used in tests */
6
7
  export declare function _deepCloneDefinition<T>(object: T, keysToSkip?: string[]): T | undefined;
7
8
  export declare class ColumnDefFactory extends BeanStub implements NamedBean {
8
9
  beanName: "colDefFactory";
@@ -22,7 +22,7 @@ export declare class ColumnModel extends BeanStub implements NamedBean {
22
22
  private colDefs?;
23
23
  colDefCols?: ColumnCollections;
24
24
  cols?: ColumnCollections;
25
- private pivotMode;
25
+ pivotMode: boolean;
26
26
  private showingPivotResult;
27
27
  private lastOrder;
28
28
  private lastPivotOrder;
@@ -64,6 +64,10 @@ export declare class ColumnModel extends BeanStub implements NamedBean {
64
64
  forAllCols(callback: (column: AgColumn) => boolean | void): void;
65
65
  getColsForKeys(keys: ColKey[]): AgColumn[];
66
66
  getColDefCol(key: ColKey): AgColumn | null;
67
+ /** Look up by key across colDefCols, displayed cols, and service columns (auto-group, selection, row-number). */
68
+ getColDefColOrCol(key: Maybe<ColKey>): AgColumn | null;
69
+ /** Look up by key across displayed cols, colDefCols, and service columns — prefers displayed cols. */
70
+ getColOrColDefCol(key: Maybe<ColKey>): AgColumn | null;
67
71
  getCol(key: Maybe<ColKey>): AgColumn | null;
68
72
  /**
69
73
  * Get column exclusively by ID.
@@ -72,4 +76,5 @@ export declare class ColumnModel extends BeanStub implements NamedBean {
72
76
  */
73
77
  getColById(key: string): AgColumn | null;
74
78
  getColFromCollection(key: ColKey, cols?: ColumnCollections): AgColumn | null;
79
+ private getColFromServiceCols;
75
80
  }
@@ -5,6 +5,8 @@ import type { ClassImp, IContext } from '../agStack/interfaces/iContext';
5
5
  import type { AlignedGridsService } from '../alignedGrids/alignedGridsService';
6
6
  import type { ApiFunctionService } from '../api/apiFunctionService';
7
7
  import type { GridApi } from '../api/gridApi';
8
+ import type { FilterStage } from '../clientSideRowModel/filterStage';
9
+ import type { SortStage } from '../clientSideRowModel/sortStage';
8
10
  import type { ColumnAutosizeService } from '../columnAutosize/columnAutosizeService';
9
11
  import type { ColumnAnimationService } from '../columnMove/columnAnimationService';
10
12
  import type { ColumnMoveService } from '../columnMove/columnMoveService';
@@ -75,6 +77,7 @@ import type { IPinnedRowModel } from '../interfaces/iPinnedRowModel';
75
77
  import type { IPivotColDefService } from '../interfaces/iPivotColDefService';
76
78
  import type { IPivotResultColsService } from '../interfaces/iPivotResultColsService';
77
79
  import type { IRowChildrenService } from '../interfaces/iRowChildrenService';
80
+ import type { IRowGroupPanelBuilder } from '../interfaces/iRowGroupPanelBuilder';
78
81
  import type { IRowGroupingEditValueSvc } from '../interfaces/iRowGroupingEditValueSvc';
79
82
  import type { IRowModel } from '../interfaces/iRowModel';
80
83
  import type { IRowNodeAggregationStage, IRowNodeFilterAggregateStage, IRowNodeFilterStage, IRowNodeFlattenStage, IRowNodeGroupStage, IRowNodePivotStage, IRowNodeSortStage } from '../interfaces/iRowNodeStage';
@@ -85,8 +88,10 @@ import type { IShowRowGroupColsValueService } from '../interfaces/iShowRowGroupC
85
88
  import type { ISideBarService } from '../interfaces/iSideBar';
86
89
  import type { IStickyRowService } from '../interfaces/iStickyRows';
87
90
  import type { ITestIdService } from '../interfaces/iTestIdService';
91
+ import type { IToolbarService } from '../interfaces/iToolbar';
88
92
  import type { IWatermark } from '../interfaces/iWatermark';
89
93
  import type { IMasterDetailService } from '../interfaces/masterDetail';
94
+ import type { INotesDataService, INotesService } from '../interfaces/notes';
90
95
  import type { IRenderStatusService } from '../interfaces/renderStatusService';
91
96
  import type { IRowNumbersService } from '../interfaces/rowNumbers';
92
97
  import type { IChangedPathFactory } from '../main-internal';
@@ -131,8 +136,10 @@ export interface SingletonBean extends AgSingletonBeanClass<BeanCollection> {
131
136
  }
132
137
  export type DynamicBeanName = 'detailCellRendererCtrl' | 'dndSourceComp' | 'fillHandle' | 'groupCellRendererCtrl' | 'headerFilterCellCtrl' | 'headerGroupCellCtrl' | 'rangeHandle' | 'tooltipFeature' | 'highlightTooltipFeature' | 'tooltipStateManager' | 'groupStrategy' | 'treeGroupStrategy' | EditStrategyType | 'rowNumberRowResizer' | 'agSetColumnFilterHandler' | 'agMultiColumnFilterHandler' | 'agGroupColumnFilterHandler' | 'agNumberColumnFilterHandler' | 'agBigIntColumnFilterHandler' | 'agDateColumnFilterHandler' | 'agTextColumnFilterHandler';
133
138
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
139
+ export type ToolbarItemComponentName = 'agButtonToolbarItem' | 'agFindToolbarItem' | 'agMenuToolbarItem' | 'agPivotPanelToolbarItem' | 'agQuickFilterToolbarItem' | 'agRowGroupPanelToolbarItem';
140
+ /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
134
141
  export type StatusPanelComponentName = 'agAggregationComponent' | 'agSelectedRowCountComponent' | 'agTotalRowCountComponent' | 'agFilteredRowCountComponent' | 'agTotalAndFilteredRowCountComponent';
135
- export type UserComponentName = 'agDragAndDropImage' | 'agColumnHeader' | 'agColumnGroupHeader' | 'agSortIndicator' | 'agAnimateShowChangeCellRenderer' | 'agAnimateSlideCellRenderer' | 'agLoadingCellRenderer' | 'agSkeletonCellRenderer' | 'agCheckboxCellRenderer' | 'agLoadingOverlay' | 'agExportingOverlay' | 'agNoRowsOverlay' | 'agNoMatchingRowsOverlay' | 'agTooltipComponent' | 'agReadOnlyFloatingFilter' | 'agTextColumnFilter' | 'agNumberColumnFilter' | 'agBigIntColumnFilter' | 'agDateColumnFilter' | 'agDateInput' | 'agTextColumnFloatingFilter' | 'agNumberColumnFloatingFilter' | 'agBigIntColumnFloatingFilter' | 'agDateColumnFloatingFilter' | 'agMultiColumnFilter' | 'agMultiColumnFloatingFilter' | 'agGroupColumnFilter' | 'agGroupColumnFloatingFilter' | 'agSetColumnFilter' | 'agSetColumnFloatingFilter' | 'agCellEditor' | 'agSelectCellEditor' | 'agTextCellEditor' | 'agNumberCellEditor' | 'agDateCellEditor' | 'agDateStringCellEditor' | 'agCheckboxCellEditor' | 'agLargeTextCellEditor' | 'agFormulaCellEditor' | 'agRichSelect' | 'agRichSelectCellEditor' | 'agMenuItem' | 'agColumnsToolPanel' | 'agFiltersToolPanel' | 'agNewFiltersToolPanel' | 'agGroupRowRenderer' | 'agGroupCellRenderer' | 'agDetailCellRenderer' | 'agSparklineCellRenderer' | StatusPanelComponentName | 'agFindCellRenderer';
142
+ export type UserComponentName = 'agDragAndDropImage' | 'agColumnHeader' | 'agColumnGroupHeader' | 'agSortIndicator' | 'agAnimateShowChangeCellRenderer' | 'agAnimateSlideCellRenderer' | 'agLoadingCellRenderer' | 'agSkeletonCellRenderer' | 'agCheckboxCellRenderer' | 'agLoadingOverlay' | 'agExportingOverlay' | 'agNoRowsOverlay' | 'agNoMatchingRowsOverlay' | 'agTooltipComponent' | 'agReadOnlyFloatingFilter' | 'agTextColumnFilter' | 'agNumberColumnFilter' | 'agBigIntColumnFilter' | 'agDateColumnFilter' | 'agDateInput' | 'agTextColumnFloatingFilter' | 'agNumberColumnFloatingFilter' | 'agBigIntColumnFloatingFilter' | 'agDateColumnFloatingFilter' | 'agMultiColumnFilter' | 'agMultiColumnFloatingFilter' | 'agGroupColumnFilter' | 'agGroupColumnFloatingFilter' | 'agSetColumnFilter' | 'agSetColumnFloatingFilter' | 'agCellEditor' | 'agSelectCellEditor' | 'agTextCellEditor' | 'agNumberCellEditor' | 'agDateCellEditor' | 'agDateStringCellEditor' | 'agCheckboxCellEditor' | 'agLargeTextCellEditor' | 'agFormulaCellEditor' | 'agRichSelect' | 'agRichSelectCellEditor' | 'agMenuItem' | 'agColumnsToolPanel' | 'agFiltersToolPanel' | 'agNewFiltersToolPanel' | 'agGroupRowRenderer' | 'agGroupCellRenderer' | 'agDetailCellRenderer' | 'agSparklineCellRenderer' | StatusPanelComponentName | ToolbarItemComponentName | 'agFindCellRenderer';
136
143
  interface ComponentMetaWithParams {
137
144
  classImp: ClassImp;
138
145
  /** Default params for provided components */
@@ -235,11 +242,14 @@ interface CoreBeanCollection extends AgCoreBeanCollection<GridOptionsWithDefault
235
242
  gridDestroySvc: GridDestroyService;
236
243
  expansionSvc?: IExpansionService<RowGroupExpansionState | RowGroupBulkExpansionState>;
237
244
  sideBar?: ISideBarService;
245
+ toolbar?: IToolbarService;
238
246
  ssrmTxnManager?: IServerSideTransactionManager;
239
247
  aggFuncSvc?: IAggFuncService;
240
248
  advancedFilter: IAdvancedFilterService;
241
- filterStage?: IRowNodeFilterStage;
242
- sortStage?: IRowNodeSortStage;
249
+ filterStage?: FilterStage;
250
+ sortStage?: SortStage;
251
+ groupFilterStage?: IRowNodeFilterStage;
252
+ groupSortStage?: IRowNodeSortStage;
243
253
  flattenStage?: IRowNodeFlattenStage;
244
254
  groupStage?: IRowNodeGroupStage;
245
255
  aggStage?: IRowNodeAggregationStage;
@@ -268,6 +278,7 @@ interface CoreBeanCollection extends AgCoreBeanCollection<GridOptionsWithDefault
268
278
  rowSpanSvc?: RowSpanService;
269
279
  spannedRowRenderer?: SpannedRowRenderer;
270
280
  findSvc?: IFindService;
281
+ rowGroupPanelBuilder?: IRowGroupPanelBuilder;
271
282
  groupFilter?: IGroupFilterService;
272
283
  multiFilter?: IMultiFilterService;
273
284
  filterPanelSvc?: IFilterPanelService;
@@ -283,6 +294,8 @@ interface CoreBeanCollection extends AgCoreBeanCollection<GridOptionsWithDefault
283
294
  formulaDataSvc?: IFormulaDataService;
284
295
  formula?: IFormulaService;
285
296
  formulaInputManager?: IFormulaInputManagerService;
297
+ notesDataSvc?: INotesDataService;
298
+ notesSvc?: INotesService;
286
299
  columnStateUpdateStrategy: IColumnStateUpdateStrategy;
287
300
  }
288
301
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
@@ -294,5 +307,5 @@ export type Context = IContext<BeanCollection>;
294
307
  /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
295
308
  export type BeanName = keyof BeanCollection;
296
309
  /** Things used in enterprise or elsewhere that we haven't created interfaces for */
297
- type UntypedBeanNames = 'advFilterExpSvc' | 'advSettingsMenuFactory' | 'agChartsExports' | 'chartCrossFilterSvc' | 'chartMenuItemMapper' | 'chartMenuListFactory' | 'chartMenuSvc' | 'chartTranslation' | 'colChooserFactory' | 'colMenuFactory' | 'colToolPanelFactory' | 'enterpriseChartProxyFactory' | 'lazyBlockLoadingSvc' | 'menuItemMapper' | 'menuUtils' | 'ssrmBlockUtils' | 'ssrmExpandListener' | 'ssrmFilterListener' | 'ssrmListenerUtils' | 'ssrmNodeManager' | 'ssrmSortSvc' | 'ssrmStoreFactory' | 'ssrmStoreUtils' | 'statusBarSvc' | 'testIdSvc' | 'formula';
310
+ type UntypedBeanNames = 'advFilterExpSvc' | 'advSettingsMenuFactory' | 'agChartsExports' | 'chartCrossFilterSvc' | 'chartMenuItemMapper' | 'chartMenuListFactory' | 'chartMenuSvc' | 'chartTranslation' | 'colChooserFactory' | 'colMenuFactory' | 'colToolPanelFactory' | 'enterpriseChartProxyFactory' | 'lazyBlockLoadingSvc' | 'menuItemMapper' | 'menuUtils' | 'ssrmBlockUtils' | 'ssrmExpandListener' | 'ssrmFilterListener' | 'ssrmListenerUtils' | 'ssrmNodeManager' | 'ssrmSortSvc' | 'ssrmStoreFactory' | 'ssrmStoreUtils' | 'statusBarSvc' | 'testIdSvc' | 'toolbarMenuBuilder' | 'formula';
298
311
  export {};
@@ -5,6 +5,10 @@ export declare class LargeTextCellEditor extends AgAbstractCellEditor<ILargeText
5
5
  protected readonly eEditor: GridInputTextArea;
6
6
  private focusAfterAttached;
7
7
  private highlightAllOnFocus;
8
+ /** Last raw input passed to `params.parseValue`. Initialised to `this` as an "uncached" sentinel — a DOM raw value can never equal the editor instance, so the first cache check always misses. */
9
+ private cachedRaw;
10
+ /** Memoised parse result for `cachedRaw`. Returned by `getValue()` when the raw input is unchanged across repeated validation/sync passes within an edit session. */
11
+ private cachedParsed;
8
12
  constructor();
9
13
  initialiseEditor(params: ILargeTextEditorParams): void;
10
14
  private getStartValue;
@@ -102,7 +102,7 @@ export declare class EditService extends BeanStub implements NamedBean {
102
102
  * Gets the pending edit value for a cell (used by ValueService).
103
103
  * Returns undefined to fallback to committed data/valueGetter.
104
104
  */
105
- getPendingEditValue(rowNode: IRowNode, column: Column, from: CellValueResolveFrom): any;
105
+ getPendingEditValue(rowNode: IRowNode, column: Column, from: Exclude<CellValueResolveFrom, 'data'>): any;
106
106
  getCellDataValue(position: Required<EditPosition>): any;
107
107
  addStopEditingWhenGridLosesFocus(viewports: HTMLElement[]): void;
108
108
  createPopupEditorWrapper(params: ICellEditorParams): PopupEditorWrapper;
@@ -5,7 +5,7 @@ import type { CellCtrl } from '../../rendering/cell/cellCtrl';
5
5
  import type { EditValidationAction, EditValidationResult } from './baseEditStrategy';
6
6
  import { BaseEditStrategy } from './baseEditStrategy';
7
7
  export declare class FullRowEditStrategy extends BaseEditStrategy {
8
- beanName: "ariaAnnounce" | "dragSvc" | "dragAndDrop" | "environment" | "eventSvc" | "iconSvc" | "localeSvc" | "popupSvc" | "gos" | "registry" | "context" | "frameworkOverrides" | "eRootDiv" | "agChartsExports" | "rangeSvc" | "advFilterExpSvc" | "advSettingsMenuFactory" | "chartCrossFilterSvc" | "chartMenuItemMapper" | "chartMenuListFactory" | "chartMenuSvc" | "chartTranslation" | "colChooserFactory" | "colMenuFactory" | "colToolPanelFactory" | "enterpriseChartProxyFactory" | "lazyBlockLoadingSvc" | "menuItemMapper" | "menuUtils" | "ssrmBlockUtils" | "ssrmExpandListener" | "ssrmFilterListener" | "ssrmListenerUtils" | "ssrmNodeManager" | "ssrmSortSvc" | "ssrmStoreFactory" | "ssrmStoreUtils" | "statusBarSvc" | "testIdSvc" | "formula" | "sideBar" | "valueCache" | "pagination" | "groupFilter" | "advancedFilter" | "rowModel" | "gridOptions" | "pageBoundsListener" | "rowRenderer" | "valueSvc" | "colModel" | "colViewport" | "colNames" | "visibleCols" | "colMoves" | "colFlex" | "colResize" | "headerNavigation" | "navigation" | "colAnimation" | "focusSvc" | "cellStyles" | "colHover" | "userCompFactory" | "animationFrameSvc" | "sortSvc" | "colFilter" | "filterManager" | "rowContainerHeight" | "selectionSvc" | "rowStyleSvc" | "ctrlsSvc" | "syncSvc" | "validation" | "gridApi" | "eGridDiv" | "withinStudio" | "pivotResultCols" | "autoColSvc" | "selectionColSvc" | "rowNumbersSvc" | "colDefFactory" | "colAutosize" | "rowGroupColsSvc" | "valueColsSvc" | "pivotColsSvc" | "quickFilter" | "showRowGroupCols" | "showRowGroupColValueSvc" | "dataTypeSvc" | "globalListener" | "globalSyncListener" | "stateSvc" | "overlays" | "pinnedRowModel" | "menuSvc" | "apiEventSvc" | "undoRedo" | "rowNodeBlockLoader" | "csvCreator" | "excelCreator" | "clipboardSvc" | "cellNavigation" | "scrollVisibleSvc" | "pinnedCols" | "expressionSvc" | "autoWidthCalc" | "agCompUtils" | "frameworkCompWrapper" | "horizontalResizeSvc" | "filterMenuFactory" | "enterpriseMenuFactory" | "contextMenuSvc" | "editSvc" | "editModelSvc" | "alignedGridsSvc" | "paginationAutoPageSizeSvc" | "pageBounds" | "apiFunctionSvc" | "gridDestroySvc" | "expansionSvc" | "ssrmTxnManager" | "aggFuncSvc" | "filterStage" | "sortStage" | "flattenStage" | "groupStage" | "aggStage" | "aggChildrenSvc" | "pivotStage" | "filterAggStage" | "rowNodeSorter" | "pivotColDefSvc" | "chartSvc" | "aggColNameSvc" | "renderStatus" | "rowDropHighlightSvc" | "rowDragSvc" | "groupEditSvc" | "rowGroupingEditValueSvc" | "stickyRowSvc" | "filterValueSvc" | "cellFlashSvc" | "masterDetailSvc" | "tooltipSvc" | "colGroupSvc" | "rowAutoHeight" | "rowChildrenSvc" | "footerSvc" | "touchSvc" | "rowSpanSvc" | "spannedRowRenderer" | "findSvc" | "multiFilter" | "filterPanelSvc" | "selectableFilter" | "colDelayRenderSvc" | "gridSerializer" | "licenseManager" | "changedPathFactory" | "changeDetectionSvc" | "groupHierarchyColSvc" | "formulaDataSvc" | "formulaInputManager" | "columnStateUpdateStrategy" | undefined;
8
+ beanName: "ariaAnnounce" | "dragSvc" | "dragAndDrop" | "environment" | "eventSvc" | "iconSvc" | "localeSvc" | "popupSvc" | "gos" | "registry" | "context" | "frameworkOverrides" | "eRootDiv" | "agChartsExports" | "toolbar" | "rangeSvc" | "sideBar" | "valueCache" | "pagination" | "advFilterExpSvc" | "advSettingsMenuFactory" | "chartCrossFilterSvc" | "chartMenuItemMapper" | "chartMenuListFactory" | "chartMenuSvc" | "chartTranslation" | "colChooserFactory" | "colMenuFactory" | "colToolPanelFactory" | "enterpriseChartProxyFactory" | "lazyBlockLoadingSvc" | "menuItemMapper" | "menuUtils" | "ssrmBlockUtils" | "ssrmExpandListener" | "ssrmFilterListener" | "ssrmListenerUtils" | "ssrmNodeManager" | "ssrmSortSvc" | "ssrmStoreFactory" | "ssrmStoreUtils" | "statusBarSvc" | "testIdSvc" | "toolbarMenuBuilder" | "formula" | "groupFilter" | "advancedFilter" | "rowModel" | "sortSvc" | "pinnedCols" | "colFlex" | "gridOptions" | "pageBoundsListener" | "rowRenderer" | "valueSvc" | "colModel" | "colViewport" | "colNames" | "visibleCols" | "colMoves" | "colResize" | "headerNavigation" | "navigation" | "colAnimation" | "focusSvc" | "cellStyles" | "colHover" | "userCompFactory" | "animationFrameSvc" | "colFilter" | "filterManager" | "rowContainerHeight" | "selectionSvc" | "rowStyleSvc" | "ctrlsSvc" | "syncSvc" | "validation" | "gridApi" | "eGridDiv" | "withinStudio" | "pivotResultCols" | "autoColSvc" | "selectionColSvc" | "rowNumbersSvc" | "colDefFactory" | "colAutosize" | "rowGroupColsSvc" | "valueColsSvc" | "pivotColsSvc" | "quickFilter" | "showRowGroupCols" | "showRowGroupColValueSvc" | "dataTypeSvc" | "globalListener" | "globalSyncListener" | "stateSvc" | "overlays" | "pinnedRowModel" | "menuSvc" | "apiEventSvc" | "undoRedo" | "rowNodeBlockLoader" | "csvCreator" | "excelCreator" | "clipboardSvc" | "cellNavigation" | "scrollVisibleSvc" | "expressionSvc" | "autoWidthCalc" | "agCompUtils" | "frameworkCompWrapper" | "horizontalResizeSvc" | "filterMenuFactory" | "enterpriseMenuFactory" | "contextMenuSvc" | "editSvc" | "editModelSvc" | "alignedGridsSvc" | "paginationAutoPageSizeSvc" | "pageBounds" | "apiFunctionSvc" | "gridDestroySvc" | "expansionSvc" | "ssrmTxnManager" | "aggFuncSvc" | "filterStage" | "sortStage" | "groupFilterStage" | "groupSortStage" | "flattenStage" | "groupStage" | "aggStage" | "aggChildrenSvc" | "pivotStage" | "filterAggStage" | "rowNodeSorter" | "pivotColDefSvc" | "chartSvc" | "aggColNameSvc" | "renderStatus" | "rowDropHighlightSvc" | "rowDragSvc" | "groupEditSvc" | "rowGroupingEditValueSvc" | "stickyRowSvc" | "filterValueSvc" | "cellFlashSvc" | "masterDetailSvc" | "tooltipSvc" | "colGroupSvc" | "rowAutoHeight" | "rowChildrenSvc" | "footerSvc" | "touchSvc" | "rowSpanSvc" | "spannedRowRenderer" | "findSvc" | "rowGroupPanelBuilder" | "multiFilter" | "filterPanelSvc" | "selectableFilter" | "colDelayRenderSvc" | "gridSerializer" | "licenseManager" | "changedPathFactory" | "changeDetectionSvc" | "groupHierarchyColSvc" | "formulaDataSvc" | "formulaInputManager" | "notesDataSvc" | "notesSvc" | "columnStateUpdateStrategy" | undefined;
9
9
  private rowNode?;
10
10
  private readonly startedRows;
11
11
  shouldStop(position?: EditPosition, event?: KeyboardEvent | MouseEvent | null | undefined, _source?: 'api' | 'ui'): boolean | null;