@aquera/ngx-smart-table 0.0.32 → 0.0.33

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": "@aquera/ngx-smart-table",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -5969,6 +5969,22 @@ declare class StWorkbookComponent implements OnInit, OnChanges, OnDestroy {
5969
5969
  private beforeUnloadHandler;
5970
5970
  /** Sheet ID rendered in the last updateActiveSheet — used to skip key bumps that would otherwise re-mount the content on every config update. */
5971
5971
  private lastRenderedSheetId;
5972
+ /**
5973
+ * Pipe-joined column.key sequence for the table currently mounted in the
5974
+ * shared panel. We compare this on every `updateActiveSheet` to detect
5975
+ * structural column changes (insert / remove / reorder) WITHIN the same
5976
+ * sheet id and trigger a `tableComponentKey` bump so <st-table> rebuilds
5977
+ * its cell grid. Header text / width / formatter changes do NOT change the
5978
+ * key sequence, so cosmetic config updates stay flicker-free.
5979
+ */
5980
+ private lastRenderedColumnKeys;
5981
+ /**
5982
+ * Monotonic counter appended to `tableComponentKey` so consecutive bumps
5983
+ * (e.g. two column changes in the same millisecond) are guaranteed unique
5984
+ * even when `Date.now()` collides — without this, Angular's `@for…track`
5985
+ * sees the same key and skips the destroy/recreate we need.
5986
+ */
5987
+ private tableComponentKeyCounter;
5972
5988
  constructor();
5973
5989
  ngOnInit(): void;
5974
5990
  ngOnChanges(changes: SimpleChanges): void;