ag-grid-community 35.3.0 → 35.3.1

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.
@@ -1773,7 +1773,7 @@ function _findEnterpriseCoreModule(modules) {
1773
1773
  }
1774
1774
 
1775
1775
  // packages/ag-grid-community/src/version.ts
1776
- var VERSION = "35.3.0";
1776
+ var VERSION = "35.3.1";
1777
1777
 
1778
1778
  // packages/ag-grid-community/src/validation/logging.ts
1779
1779
  var MAX_URL_LENGTH = 2e3;
@@ -6962,7 +6962,7 @@ var RowNode = class {
6962
6962
  }
6963
6963
  this.destroyed = true;
6964
6964
  const pinnedSibling = this.pinnedSibling;
6965
- if (pinnedSibling?.rowPinned && !this.rowPinned) {
6965
+ if (pinnedSibling?.rowPinned) {
6966
6966
  this.beans.pinnedRowModel?.pinRow(pinnedSibling, null);
6967
6967
  }
6968
6968
  if (fadeOut === true) {
@@ -7008,8 +7008,11 @@ var IGNORED_SIBLING_PROPERTIES = /* @__PURE__ */ new Set([
7008
7008
  "_groupData",
7009
7009
  "_leafs",
7010
7010
  "childStore",
7011
+ "destroyed",
7011
7012
  "groupValue",
7012
7013
  "oldRowTop",
7014
+ "pinnedSibling",
7015
+ "rowPinned",
7013
7016
  "sticky",
7014
7017
  "treeNodeFlags",
7015
7018
  "treeParent"
@@ -7260,7 +7263,8 @@ var ManualPinnedRowModel = class extends BeanStub {
7260
7263
  if (level > -1) {
7261
7264
  return;
7262
7265
  }
7263
- if (level === -1) {
7266
+ const unpinningExistingClone = float == null && rowNode.rowPinned != null;
7267
+ if (level === -1 && !unpinningExistingClone) {
7264
7268
  this._grandTotalPinned = float;
7265
7269
  const csrm = this.csrm;
7266
7270
  if (csrm) {
@@ -22853,6 +22857,9 @@ var ColumnViewportService = class extends BeanStub {
22853
22857
  this.rowsOfHeadersToRenderLeft = {};
22854
22858
  this.rowsOfHeadersToRenderRight = {};
22855
22859
  this.rowsOfHeadersToRenderCenter = {};
22860
+ this.columnsToRenderLeft = [];
22861
+ this.columnsToRenderRight = [];
22862
+ this.columnsToRenderCenter = [];
22856
22863
  this.colsWithinViewportHash = "";
22857
22864
  }
22858
22865
  isColumnInHeaderViewport(col) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.3.0",
3
+ "version": "35.3.1",
4
4
  "description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
5
5
  "main": "./dist/package/main.cjs.js",
6
6
  "types": "./dist/types/src/main.d.ts",
@@ -119,7 +119,7 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.3.0"
122
+ "ag-charts-types": "13.3.1"
123
123
  },
124
124
  "devDependencies": {
125
125
  "web-streams-polyfill": "^4.2.0",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.3.0",
3
+ "version": "35.3.1",
4
4
  "description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
5
5
  "main": "./dist/package/main.cjs.js",
6
6
  "types": "./dist/types/src/main.d.ts",
@@ -119,7 +119,7 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.3.0"
122
+ "ag-charts-types": "13.3.1"
123
123
  },
124
124
  "devDependencies": {
125
125
  "web-streams-polyfill": "^4.2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.3.0",
3
+ "version": "35.3.1",
4
4
  "description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
5
5
  "main": "./dist/package/main.cjs.js",
6
6
  "types": "./dist/types/src/main.d.ts",
@@ -119,7 +119,7 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.3.0"
122
+ "ag-charts-types": "13.3.1"
123
123
  },
124
124
  "devDependencies": {
125
125
  "web-streams-polyfill": "^4.2.0",
@@ -75,6 +75,9 @@ export declare class RowNode<TData = any> implements IEventEmitter<RowNodeEventT
75
75
  rowIndex: number | null;
76
76
  /**
77
77
  * Either 'top' or 'bottom' if row pinned, otherwise `undefined` or `null`.
78
+ * Invariant: only the pinned clone has this set; the source row keeps it null
79
+ * even while its `pinnedSibling` clone is in a container. Several pin/destroy
80
+ * code paths rely on this asymmetry to disambiguate clone vs source.
78
81
  * If re-naming this property, you must also update `IGNORED_SIBLING_PROPERTIES`
79
82
  */
80
83
  rowPinned: RowPinnedType;
@@ -82,6 +85,7 @@ export declare class RowNode<TData = any> implements IEventEmitter<RowNodeEventT
82
85
  * If using manual row pinning, a reference to the sibling node.
83
86
  * If this node is in the pinned section, `pinnedSibling` is the source row.
84
87
  * If this node is in the main viewport, `pinnedSibling` is the pinned row.
88
+ * If re-naming this property, you must also update `IGNORED_SIBLING_PROPERTIES`
85
89
  */
86
90
  pinnedSibling?: RowNode<TData>;
87
91
  /** @inheritDoc */
@@ -1 +1 @@
1
- export declare const VERSION = "35.3.0";
1
+ export declare const VERSION = "35.3.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.3.0",
3
+ "version": "35.3.1",
4
4
  "description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
5
5
  "main": "./dist/package/main.cjs.js",
6
6
  "types": "./dist/types/src/main.d.ts",
@@ -119,7 +119,7 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.3.0"
122
+ "ag-charts-types": "13.3.1"
123
123
  },
124
124
  "devDependencies": {
125
125
  "web-streams-polyfill": "^4.2.0",