@vectoriox/iox-builder 1.4.20 → 1.4.22

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": "@vectoriox/iox-builder",
3
- "version": "1.4.20",
3
+ "version": "1.4.22",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -585,6 +585,18 @@ declare class DataSourceRegistryService {
585
585
  declare class InteractionEngineService {
586
586
  private overlayService;
587
587
  private attached;
588
+ /** Elements that have had pre-state applied (hidden by attach). */
589
+ private preStatedElements;
590
+ /**
591
+ * Pre-states queued for elements that weren't registered yet when the owner
592
+ * node's attach() ran. Keyed by target node ID. Consumed when the target
593
+ * element's own attach() fires.
594
+ */
595
+ private pendingPreStates;
596
+ /** Action types that animate an element from hidden → visible. */
597
+ private readonly ENTRANCE_TYPES;
598
+ /** Action types that animate an element from visible → hidden. */
599
+ private readonly EXIT_TYPES;
588
600
  constructor(overlayService: OverlayService);
589
601
  /** Wire all interactions for a node to its rendered DOM element. */
590
602
  attach(node: ComponentNode): void;
@@ -608,15 +620,15 @@ declare class InteractionEngineService {
608
620
  private executeAction;
609
621
  /**
610
622
  * Freeze an element at the animation's starting frame immediately, before any
611
- * trigger fires. Without this, entrance animations (fadeIn, moveUp, …) show the
612
- * element at its natural visible state for the time between mount and trigger —
613
- * causing a visible-then-disappear-then-animate flicker.
623
+ * trigger fires. Called for ALL entrance-type actions regardless of trigger so
624
+ * that a click-triggered fadeIn on a menu overlay also starts it hidden.
614
625
  *
615
- * Only call this for triggers that will eventually animate the element in
616
- * (pageLoad, viewportEnter). Click/hover triggers must NOT pre-hide the element
617
- * because the element should remain normally visible until interacted with.
626
+ * Also sets pointer-events:none so the invisible element does not block clicks
627
+ * on other content beneath it. Pointer events are restored in executeAction()
628
+ * once the entrance animation finishes.
618
629
  */
619
630
  private applyPreState;
631
+ private clearInlineAnimationStyles;
620
632
  private reverseAction;
621
633
  private buildAnimation;
622
634
  static ɵfac: i0.ɵɵFactoryDeclaration<InteractionEngineService, never>;