@adaptabletools/adaptable-cjs 22.0.6 → 22.0.7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-cjs",
3
- "version": "22.0.6",
3
+ "version": "22.0.7",
4
4
  "description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
package/src/env.js CHANGED
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  NEXT_PUBLIC_INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
5
- PUBLISH_TIMESTAMP: 1774360471339 || Date.now(),
6
- VERSION: "22.0.6" || '--current-version--',
5
+ PUBLISH_TIMESTAMP: 1774369269495 || Date.now(),
6
+ VERSION: "22.0.7" || '--current-version--',
7
7
  };
@@ -1033,6 +1033,12 @@ class LayoutManager extends LMEmitter_1.LMEmitter {
1033
1033
  const shouldSkipTriggerChange = options?.skipTriggerChange === true;
1034
1034
  const shouldSkipEqualityCheck = options?.force === true;
1035
1035
  if (!shouldSkipEqualityCheck && (0, isLayoutEqual_1.isLayoutEqual)(this.currentLayout, layout)) {
1036
+ // isLayoutEqual strips Ignore_* properties (ColumnHeaders, Filters, etc.)
1037
+ // so even when grid-derived properties match, we must sync currentLayout
1038
+ // to preserve any Ignore_* changes — otherwise getLayoutModelFromGrid
1039
+ // will copy stale values from this.currentLayout
1040
+ // this.currentLayout = layout;
1041
+ this.silentSetCurrentLayout(layout);
1036
1042
  return false;
1037
1043
  }
1038
1044
  const prevCurrent = this.currentLayout;