@arsedizioni/ars-utils 21.2.357 → 21.2.358

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": "@arsedizioni/ars-utils",
3
- "version": "21.2.357",
3
+ "version": "21.2.358",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -810,6 +810,10 @@ interface ClipperDocumentDialogData {
810
810
  }
811
811
  declare class ClipperDocumentComponent extends ClipperDocumentManager {
812
812
  readonly relevantsPane: _angular_core.Signal<MatDrawer>;
813
+ /** Reference to the document iframe element, used to drive navigation imperatively. */
814
+ private readonly iframeRef;
815
+ /** URL queued to be applied to the iframe as soon as the element becomes available. */
816
+ private pendingUrl;
813
817
  readonly closing: _angular_core.OutputEmitterRef<void>;
814
818
  readonly opening: _angular_core.OutputEmitterRef<string>;
815
819
  private readonly destroyRef;
@@ -857,6 +861,19 @@ declare class ClipperDocumentComponent extends ClipperDocumentManager {
857
861
  * @param url - The full render URL to load.
858
862
  */
859
863
  navigateByUrl(url: string): void;
864
+ /**
865
+ * Applies the given URL to the iframe element if available, otherwise queues it
866
+ * to be applied as soon as the iframe view child resolves.
867
+ * @param url - The URL to load into the iframe.
868
+ */
869
+ private applyIframeUrl;
870
+ /**
871
+ * Sets the iframe `src` ensuring a reload happens even when the URL is identical
872
+ * to the current one (some browsers skip the navigation otherwise).
873
+ * @param el - The iframe element to update.
874
+ * @param url - The URL to navigate to.
875
+ */
876
+ private setIframeSrc;
860
877
  /**
861
878
  * Called by the iframe when a document has finished rendering.
862
879
  * Parses and stores all document metadata, then triggers auxiliary data loading.
@@ -1025,7 +1042,7 @@ declare class ClipperDocumentMenuComponent {
1025
1042
  /** Internal counter incremented on each external selection-model change to drive signal re-evaluation. */
1026
1043
  private readonly selectionChangeTick;
1027
1044
  readonly useSelections: _angular_core.InputSignal<boolean>;
1028
- readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
1045
+ readonly selectionSource: _angular_core.InputSignal<"bag" | "selection" | "none">;
1029
1046
  /**
1030
1047
  * Computed signal that returns the current effective document selection.
1031
1048
  * Re-evaluates when any input signal or the underlying selection model changes.