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.
@@ -2294,7 +2294,7 @@ function _findEnterpriseCoreModule(modules) {
2294
2294
  }
2295
2295
 
2296
2296
  // packages/ag-grid-community/src/version.ts
2297
- var VERSION = "35.3.0";
2297
+ var VERSION = "35.3.1";
2298
2298
 
2299
2299
  // packages/ag-grid-community/src/validation/logging.ts
2300
2300
  var MAX_URL_LENGTH = 2e3;
@@ -7483,7 +7483,7 @@ var RowNode = class {
7483
7483
  }
7484
7484
  this.destroyed = true;
7485
7485
  const pinnedSibling = this.pinnedSibling;
7486
- if (pinnedSibling?.rowPinned && !this.rowPinned) {
7486
+ if (pinnedSibling?.rowPinned) {
7487
7487
  this.beans.pinnedRowModel?.pinRow(pinnedSibling, null);
7488
7488
  }
7489
7489
  if (fadeOut === true) {
@@ -7529,8 +7529,11 @@ var IGNORED_SIBLING_PROPERTIES = /* @__PURE__ */ new Set([
7529
7529
  "_groupData",
7530
7530
  "_leafs",
7531
7531
  "childStore",
7532
+ "destroyed",
7532
7533
  "groupValue",
7533
7534
  "oldRowTop",
7535
+ "pinnedSibling",
7536
+ "rowPinned",
7534
7537
  "sticky",
7535
7538
  "treeNodeFlags",
7536
7539
  "treeParent"
@@ -7781,7 +7784,8 @@ var ManualPinnedRowModel = class extends BeanStub {
7781
7784
  if (level > -1) {
7782
7785
  return;
7783
7786
  }
7784
- if (level === -1) {
7787
+ const unpinningExistingClone = float == null && rowNode.rowPinned != null;
7788
+ if (level === -1 && !unpinningExistingClone) {
7785
7789
  this._grandTotalPinned = float;
7786
7790
  const csrm = this.csrm;
7787
7791
  if (csrm) {
@@ -23374,6 +23378,9 @@ var ColumnViewportService = class extends BeanStub {
23374
23378
  this.rowsOfHeadersToRenderLeft = {};
23375
23379
  this.rowsOfHeadersToRenderRight = {};
23376
23380
  this.rowsOfHeadersToRenderCenter = {};
23381
+ this.columnsToRenderLeft = [];
23382
+ this.columnsToRenderRight = [];
23383
+ this.columnsToRenderCenter = [];
23377
23384
  this.colsWithinViewportHash = "";
23378
23385
  }
23379
23386
  isColumnInHeaderViewport(col) {
@@ -2286,7 +2286,7 @@ function _findEnterpriseCoreModule(modules) {
2286
2286
  }
2287
2287
 
2288
2288
  // packages/ag-grid-community/src/version.ts
2289
- var VERSION = "35.3.0";
2289
+ var VERSION = "35.3.1";
2290
2290
 
2291
2291
  // packages/ag-grid-community/src/validation/logging.ts
2292
2292
  var MAX_URL_LENGTH = 2e3;
@@ -7475,7 +7475,7 @@ var RowNode = class {
7475
7475
  }
7476
7476
  this.destroyed = true;
7477
7477
  const pinnedSibling = this.pinnedSibling;
7478
- if (pinnedSibling?.rowPinned && !this.rowPinned) {
7478
+ if (pinnedSibling?.rowPinned) {
7479
7479
  this.beans.pinnedRowModel?.pinRow(pinnedSibling, null);
7480
7480
  }
7481
7481
  if (fadeOut === true) {
@@ -7521,8 +7521,11 @@ var IGNORED_SIBLING_PROPERTIES = /* @__PURE__ */ new Set([
7521
7521
  "_groupData",
7522
7522
  "_leafs",
7523
7523
  "childStore",
7524
+ "destroyed",
7524
7525
  "groupValue",
7525
7526
  "oldRowTop",
7527
+ "pinnedSibling",
7528
+ "rowPinned",
7526
7529
  "sticky",
7527
7530
  "treeNodeFlags",
7528
7531
  "treeParent"
@@ -7773,7 +7776,8 @@ var ManualPinnedRowModel = class extends BeanStub {
7773
7776
  if (level > -1) {
7774
7777
  return;
7775
7778
  }
7776
- if (level === -1) {
7779
+ const unpinningExistingClone = float == null && rowNode.rowPinned != null;
7780
+ if (level === -1 && !unpinningExistingClone) {
7777
7781
  this._grandTotalPinned = float;
7778
7782
  const csrm = this.csrm;
7779
7783
  if (csrm) {
@@ -23366,6 +23370,9 @@ var ColumnViewportService = class extends BeanStub {
23366
23370
  this.rowsOfHeadersToRenderLeft = {};
23367
23371
  this.rowsOfHeadersToRenderRight = {};
23368
23372
  this.rowsOfHeadersToRenderCenter = {};
23373
+ this.columnsToRenderLeft = [];
23374
+ this.columnsToRenderRight = [];
23375
+ this.columnsToRenderCenter = [];
23369
23376
  this.colsWithinViewportHash = "";
23370
23377
  }
23371
23378
  isColumnInHeaderViewport(col) {