@breadstone/mosaik-elements-angular 0.0.271 → 0.0.273

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": "@breadstone/mosaik-elements-angular",
3
- "version": "0.0.271",
3
+ "version": "0.0.273",
4
4
  "description": "Mosaik elements for Angular.",
5
5
  "license": "MIT",
6
6
  "author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
@@ -19,8 +19,8 @@
19
19
  "rxjs": "*"
20
20
  },
21
21
  "dependencies": {
22
- "@breadstone/mosaik-elements": "^0.0.271",
23
- "@breadstone/mosaik-elements-foundation": "^0.0.271",
22
+ "@breadstone/mosaik-elements": "^0.0.273",
23
+ "@breadstone/mosaik-elements-foundation": "^0.0.273",
24
24
  "tslib": "^2.8.1"
25
25
  }
26
26
  }
@@ -49338,6 +49338,7 @@ declare class ItemDefDirective implements AfterContentInit, OnDestroy {
49338
49338
  private readonly _injector;
49339
49339
  private readonly _views;
49340
49340
  private _nativeElement;
49341
+ private _cleanupScheduled;
49341
49342
  constructor();
49342
49343
  /**
49343
49344
  * The item definition key that this directive targets.
@@ -49372,6 +49373,14 @@ declare class ItemDefDirective implements AfterContentInit, OnDestroy {
49372
49373
  * @private
49373
49374
  */
49374
49375
  private createItemTemplateCallback;
49376
+ /**
49377
+ * Schedules a deferred cleanup of disconnected views.
49378
+ * The cleanup runs after the current Lit render cycle completes via `requestAnimationFrame`,
49379
+ * ensuring that newly created DOM nodes have been flushed to the document before checking `isConnected`.
49380
+ *
49381
+ * @private
49382
+ */
49383
+ private scheduleViewCleanup;
49375
49384
  /**
49376
49385
  * Destroys embedded views whose DOM nodes are no longer connected to the document.
49377
49386
  * This prevents memory leaks when the DataList re-renders and replaces item content.