@vectoriox/iox-builder 11.49.0 → 11.51.0

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/index.d.ts CHANGED
@@ -13,7 +13,7 @@ import * as _vectoriox_iox_builder from '@vectoriox/iox-builder';
13
13
  import * as i27 from 'primeng/popover';
14
14
  import { Popover } from 'primeng/popover';
15
15
  import { HttpClient } from '@angular/common/http';
16
- import { PopupForm, MarqueeRuntime, AccordionRuntime, ExclusiveRuntime, CompositeNodeFactory, CompositeNode, ConsentRecipeOptions } from '@vectoriox/iox-ui/composite-core';
16
+ import { PopupForm, WordMaskRuntime, MarqueeRuntime, AccordionRuntime, ExclusiveRuntime, CompositeNodeFactory, CompositeNode, ConsentRecipeOptions } from '@vectoriox/iox-ui/composite-core';
17
17
  import * as i24 from '@angular/cdk/drag-drop';
18
18
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
19
19
  import * as i22 from '@angular/common';
@@ -137,7 +137,7 @@ interface IoxDataSource {
137
137
  }
138
138
 
139
139
  type InteractionTrigger = 'pageLoad' | 'click' | 'hover' | 'viewportEnter' | 'scrollProgress' | 'pageLeave' | 'pageEnter' | 'swiperSlideChange' | 'swiperReachBeginning' | 'swiperReachEnd' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperSlideActive' | 'swiperSlideInactive' | 'itemOn' | 'itemOff' | 'sceneLand';
140
- type InteractionActionType = 'fadeIn' | 'fadeOut' | 'moveUp' | 'moveDown' | 'moveLeft' | 'moveRight' | 'scaleIn' | 'scaleOut' | 'rotate' | 'clipReveal' | 'zoomOut' | 'revealText' | 'countUp' | 'parallax' | 'progressBar' | 'show' | 'hide' | 'toggleVisibility' | 'setContext' | 'clearContext' | 'openDialog' | 'closeDialog' | 'toggleDialog' | 'openPopover' | 'closePopover' | 'togglePopover' | 'showToast' | 'openItem' | 'closeItem' | 'toggleItem' | 'navigate' | 'scrollTo' | 'submitForm' | 'copyToClipboard' | 'grantConsent' | 'denyConsent' | 'setConsentCategory' | 'openConsentPreferences' | 'addToCart' | 'startCheckout' | 'signIn' | 'signOut' | 'swiperNext' | 'swiperPrev' | 'swiperGoToSlide' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperAutoplayPause';
140
+ type InteractionActionType = 'fadeIn' | 'fadeOut' | 'moveUp' | 'moveDown' | 'moveLeft' | 'moveRight' | 'scaleIn' | 'scaleOut' | 'rotate' | 'clipReveal' | 'zoomOut' | 'revealText' | 'countUp' | 'parallax' | 'progressBar' | 'maskZoomOut' | 'maskZoomIn' | 'show' | 'hide' | 'toggleVisibility' | 'setContext' | 'clearContext' | 'openDialog' | 'closeDialog' | 'toggleDialog' | 'openPopover' | 'closePopover' | 'togglePopover' | 'showToast' | 'openItem' | 'closeItem' | 'toggleItem' | 'navigate' | 'scrollTo' | 'submitForm' | 'copyToClipboard' | 'grantConsent' | 'denyConsent' | 'setConsentCategory' | 'openConsentPreferences' | 'addToCart' | 'startCheckout' | 'signIn' | 'signOut' | 'swiperNext' | 'swiperPrev' | 'swiperGoToSlide' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperAutoplayPause';
141
141
  interface InteractionAction {
142
142
  type: InteractionActionType;
143
143
  /** 'self' targets the node that owns the interaction; otherwise a node ID. */
@@ -1592,6 +1592,9 @@ declare class StyleRegistryService {
1592
1592
  /** The section colour scheme each css id wears — a scheme'd node's `color: inherit` compiles to the
1593
1593
  * scheme's ink (`withSchemeInk`, iox-ui#15), exactly as both engine paths compile it. */
1594
1594
  private nodeSchemes;
1595
+ /** The css ids of headers that draw layers of their own (`drawsHeaderLayers`): a stored `static` is drawn `relative`
1596
+ * on every rule of theirs, so the header is the containing block of its ground / veil / edge (`withHeaderLayersPosition`). */
1597
+ private layerHeaders;
1595
1598
  private tokenCss;
1596
1599
  private tokenRows;
1597
1600
  /** The site's content column word, read from the rows (design-core `siteColumnOf`, award §0c) — what a page with no
@@ -1629,8 +1632,9 @@ declare class StyleRegistryService {
1629
1632
  */
1630
1633
  /** Record a node's type and the colour scheme it wears (RenderDirective and every re-registration,
1631
1634
  * before the upsert) and recompile nothing — every later rule for the node is stripped of what the
1632
- * type's renderer owns, and a scheme'd node's inherited colour reads the scheme's ink. */
1633
- setNodeType(nodeId: string, type: string, colorScheme?: string | null): void;
1635
+ * type's renderer owns, a scheme'd node's inherited colour reads the scheme's ink, and a header that draws its own
1636
+ * layers (`drawsHeaderLayers`) stored `static` is drawn `relative`. */
1637
+ setNodeType(nodeId: string, type: string, colorScheme?: string | null, drawsHeaderLayers?: boolean): void;
1634
1638
  private ownProps;
1635
1639
  upsert(nodeId: string, styles: Record<string, any>, state?: ElementState, relativeToId?: string, triggerId?: string): void;
1636
1640
  /**
@@ -4549,6 +4553,9 @@ declare class CompositeCanvasService implements OnDestroy {
4549
4553
  private readonly attached;
4550
4554
  private readonly exclusive;
4551
4555
  private readonly marquees;
4556
+ /** Word masks on the canvas (WM): the live site's runtime draws the cut-out and measures the zoom — always (the canvas
4557
+ * is a live runtime; the zoom itself is the ground's scrollProgress interaction, played by the interaction engine). */
4558
+ private readonly wordMasks;
4552
4559
  private readonly sub;
4553
4560
  constructor(designState: CanvasDesignStateService | null, zone: NgZone);
4554
4561
  ngOnDestroy(): void;
@@ -4556,6 +4563,9 @@ declare class CompositeCanvasService implements OnDestroy {
4556
4563
  * root's rendered element. Its ARIA ids are scoped by the preview rows it sits in. */
4557
4564
  attach(node: ComponentNode, element: HTMLElement): void;
4558
4565
  detach(nodeId: string | null | undefined): void;
4566
+ /** The runtime of a word mask on the canvas (WM): the e2e harness reads its cut-out; a panel edit it cannot observe
4567
+ * (the ground's colour is CSS — `currentColor` follows by itself) may refresh it. */
4568
+ wordMaskRuntimeOf(nodeId: string | null | undefined): WordMaskRuntime | null;
4559
4569
  /** The runtime of a Marquee moving on the canvas, or null while it stands still. */
4560
4570
  marqueeRuntimeOf(nodeId: string | null | undefined): MarqueeRuntime | null;
4561
4571
  /** The root's behaviour changed in its panel (Allow several open, Open by default; Activate on, Orientation). */
@@ -5069,6 +5079,7 @@ declare enum CompositePresetId {
5069
5079
  Marquee = "marquee",
5070
5080
  Counter = "counter",
5071
5081
  ReadingBar = "reading-bar",
5082
+ WordMask = "word-mask",
5072
5083
  Price = "shop-price",
5073
5084
  Variants = "shop-variants",
5074
5085
  Quantity = "shop-quantity",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "11.49.0",
3
+ "version": "11.51.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
7
7
  "@angular/animations": ">=20.0.0",
8
8
  "@angular/cdk": ">=20.0.0",
9
- "@vectoriox/iox-ui": "^5.206.0",
9
+ "@vectoriox/iox-ui": "^5.209.0",
10
10
  "interactjs": "^1.10.27",
11
11
  "primeng": ">=20.0.0",
12
12
  "swiper": ">=12.0.0",