@vectoriox/iox-builder 11.18.1 → 11.19.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
@@ -135,7 +135,7 @@ interface IoxDataSource {
135
135
  }
136
136
 
137
137
  type InteractionTrigger = 'pageLoad' | 'click' | 'hover' | 'viewportEnter' | 'scrollProgress' | 'pageLeave' | 'pageEnter' | 'swiperSlideChange' | 'swiperReachBeginning' | 'swiperReachEnd' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperSlideActive' | 'swiperSlideInactive' | 'itemOn' | 'itemOff';
138
- 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' | 'swiperNext' | 'swiperPrev' | 'swiperGoToSlide' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperAutoplayPause';
138
+ 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';
139
139
  interface InteractionAction {
140
140
  type: InteractionActionType;
141
141
  /** 'self' targets the node that owns the interaction; otherwise a node ID. */
@@ -2313,6 +2313,9 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
2313
2313
  /** Commerce E1c: the shop parts run on the canvas — the live site's runtime over an in-memory SAMPLE bag that starts
2314
2314
  * with one line (so the drawer has a line to design) and is never written anywhere. */
2315
2315
  private canvasShop;
2316
+ /** Commerce E3a: the account parts run on the canvas — the live site's runtime over a SIMULATED sign-in (any email
2317
+ * takes a code; 123456 signs in as the sample buyer). Nothing is sent and no session exists. */
2318
+ private canvasAccount;
2316
2319
  private readonly instanceRegistry;
2317
2320
  layout: ComponentNode[];
2318
2321
  dataSources: IoxDataSource[];
@@ -2532,6 +2535,9 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
2532
2535
  */
2533
2536
  private attachCanvasFloating;
2534
2537
  private attachCanvasShop;
2538
+ private attachCanvasAccount;
2539
+ /** The node id an element of the canvas renders (`iox-node-<id>` on it or its host). */
2540
+ private nodeIdOf;
2535
2541
  private findByRole;
2536
2542
  private applyFloatingDesign;
2537
2543
  /** The element carrying a node's tooltip on the canvas (its host or the element inside it the a11y sync wrote on). */
@@ -4487,7 +4493,9 @@ declare enum CompositePresetId {
4487
4493
  AddToCart = "shop-add",
4488
4494
  BuyNow = "shop-buy-now",
4489
4495
  CartButton = "shop-cart-button",
4490
- CartDrawer = "shop-cart-drawer"
4496
+ CartDrawer = "shop-cart-drawer",
4497
+ AccountEntry = "account-entry",
4498
+ SignInDialog = "account-sign-in"
4491
4499
  }
4492
4500
  /** Where a composite sits in the Components panel (composite plan §6d): content blocks, or the interactive
4493
4501
  * composites (the Accordion — CC2, the Disclosure — CC2.1, Tabs — CC4a, the Segmented control — CC4b; the floating
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "11.18.1",
3
+ "version": "11.19.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.96.1",
9
+ "@vectoriox/iox-ui": ">=5.100.0",
10
10
  "interactjs": "^1.10.27",
11
11
  "primeng": ">=20.0.0",
12
12
  "swiper": ">=12.0.0",