@vectoriox/iox-ui 5.162.0 → 5.164.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.
Files changed (47) hide show
  1. package/actions-core/index.d.ts +171 -3
  2. package/assist-core/index.d.ts +3 -2
  3. package/composite-core/index.d.ts +195 -3
  4. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +243 -2
  5. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-assist-core.mjs +6 -5
  7. package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +413 -163
  9. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +456 -27
  11. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  12. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +140 -1
  13. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  14. package/fesm2022/vectoriox-iox-ui-scene-core.mjs +83 -23
  15. package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
  16. package/fesm2022/vectoriox-iox-ui.mjs +387 -11
  17. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  18. package/generation-core/index.d.ts +87 -12
  19. package/harness-core/index.d.ts +132 -2
  20. package/index.d.ts +108 -3
  21. package/package.json +1 -1
  22. package/scene-core/index.d.ts +45 -13
  23. package/src/actions-core/popup-arrival.ts +328 -0
  24. package/src/actions-core/public-api.ts +1 -0
  25. package/src/assist-core/media-generate.ts +6 -5
  26. package/src/composite-core/composite-kinds.ts +9 -0
  27. package/src/composite-core/popup.ts +285 -0
  28. package/src/composite-core/public-api.ts +1 -0
  29. package/src/generation-core/ai-run.ts +65 -2
  30. package/src/generation-core/check-layout.ts +34 -4
  31. package/src/generation-core/compose-layout.ts +211 -10
  32. package/src/generation-core/compose-site.ts +2 -0
  33. package/src/generation-core/layout-drawers.ts +106 -0
  34. package/src/generation-core/layout-fingerprint.ts +3 -0
  35. package/src/generation-core/layout-language.ts +4 -0
  36. package/src/generation-core/layout-space.ts +3 -2
  37. package/src/generation-core/layout-wire.ts +15 -3
  38. package/src/generation-core/patterns.ts +4 -0
  39. package/src/generation-core/pictures.ts +4 -3
  40. package/src/generation-core/site-spec.generated.ts +57 -5
  41. package/src/harness-core/business-types.ts +2 -0
  42. package/src/harness-core/harness-spec.generated.ts +83 -0
  43. package/src/harness-core/popup-stance.ts +111 -0
  44. package/src/harness-core/public-api.ts +1 -0
  45. package/src/scene-core/scene.ts +3 -0
  46. package/src/scene-core/scroll-driver.ts +97 -25
  47. package/styles/iox-design.css +141 -2
@@ -8,12 +8,12 @@ import * as i1 from '@angular/common';
8
8
  import { CommonModule, isPlatformBrowser } from '@angular/common';
9
9
  import { SPEC_AXES, resolveDesignMotion, FILTER_FUNCTIONS, BACKDROP_FUNCTIONS, decomposeCssFunctions, FieldClass, HeaderAttribute, HeaderBehaviour, HeaderInk, OPENING_ATTRIBUTE, schemeOfClasses, schemeUnderBar, BRAND_NAME_ATTRIBUTE, MENU_ATTRIBUTES, menuDialogAttributes, menuButtonAttributes, headerAttributes, HeaderTrait, BRAND_ROLE, brandNameAttributes, REDUCED_ENTRANCE_MAX_MS, roleClass, preloaderWords, PreloaderKind, preloaderGraphemes, PRELOADER_EXIT_EASE, PRELOADER_CAP_MS, isFirstVisit, PRELOADER_ENTER_EASE, PreloaderExit, PRELOADER_MIN_SHOW_MS, preloaderLeaveAt, preloaderExitMotion, preloaderPercent, inkOnGround, writeFieldError } from '@vectoriox/iox-ui/design-core';
10
10
  export * from '@vectoriox/iox-ui/design-core';
11
+ import { setPageScroller, pageScroller, SceneAttribute, SCENE_WAKE_EVENT, SCENE_REVEAL_DEFAULT, SceneRevealFrom, revealClipPath, playTextReveal, textRevealByOf, textRevealLookOf, ScrollActionKind, lightMotionWanted, scrubTextReveal, ScrollPlay, gentleFrames, SCENE_PHONE_MAX_WIDTH, normalizeParallaxDepth, normalizeParallaxPhone, parallaxShift, parallaxRest, parallaxFrames, PROGRESS_BAR_FRAMES, ParallaxPhone, outermostNodeOf, normalizeScrollRange, scrollPlayFor, ScrollRange } from '@vectoriox/iox-ui/scene-core';
11
12
  import Lenis from 'lenis';
12
- import { SLIDER_WORDS, sliderPartElement, SliderRole, sliderWords, attachCarouselA11y, attachSliderBar, isSliderPart, MARQUEE_NODE_ATTRIBUTES, SLIDE_TYPE, SLIDE_CAPTION_TRAIT, marqueeRootAttributes, MarqueeRole } from '@vectoriox/iox-ui/composite-core';
13
- import { SceneAttribute, SCENE_WAKE_EVENT, SCENE_REVEAL_DEFAULT, SceneRevealFrom, revealClipPath, playTextReveal, textRevealByOf, textRevealLookOf, ScrollActionKind, lightMotionWanted, scrubTextReveal, ScrollPlay, gentleFrames, SCENE_PHONE_MAX_WIDTH, normalizeParallaxDepth, normalizeParallaxPhone, parallaxShift, parallaxRest, parallaxFrames, PROGRESS_BAR_FRAMES, ParallaxPhone, outermostNodeOf, normalizeScrollRange, scrollPlayFor, ScrollRange } from '@vectoriox/iox-ui/scene-core';
13
+ import { SLIDER_WORDS, sliderPartElement, SliderRole, sliderWords, attachCarouselA11y, attachSliderBar, isSliderPart, SceneRole, MARQUEE_NODE_ATTRIBUTES, POPUP_ATTRIBUTES, popupDialogAttributes, SLIDE_TYPE, SLIDE_CAPTION_TRAIT, marqueeRootAttributes, MarqueeRole, PopupAttribute, PopupTrait, popupWords, PopupForm } from '@vectoriox/iox-ui/composite-core';
14
14
  import { getByPath } from '@vectoriox/iox-ui/data-core';
15
15
  export * from '@vectoriox/iox-ui/data-core';
16
- import { runExitMotion, isExiting, popoverOpenersSelector, OpenerAttribute, cancelExit, POPOVER_NODE_TYPE, dialogOpenerAttributes, popoverOpenerAttributes, popoverDomId, dialogDomId, COUNT_UP_TRIGGERS, SCROLL_PROGRESS_TRIGGER } from '@vectoriox/iox-ui/actions-core';
16
+ import { runExitMotion, isExiting, popoverOpenersSelector, OpenerAttribute, cancelExit, POPOVER_NODE_TYPE, dialogOpenerAttributes, popoverOpenerAttributes, popoverDomId, dialogDomId, COUNT_UP_TRIGGERS, SCROLL_PROGRESS_TRIGGER, planPopupArrival, ArrivalTrigger, popupDue, popupFormOn, popupMotionScale, popupFadesOnly, overlayTurn, isQuietRoute, popupOfTurn, arrivalFired, focusDialogSheet, popupMemoryStore, PopupMemoryStore, popupMemoryKey, decodePopupMemory, encodePopupMemory, popupVersionOf } from '@vectoriox/iox-ui/actions-core';
17
17
  export { SCROLL_PROGRESS_TRIGGER } from '@vectoriox/iox-ui/actions-core';
18
18
  import { VideoKind, planVideo, videoRootAttributes, videoInnerHtml, videoWords, VideoAttribute, attachVideoAt, VideoClass } from '@vectoriox/iox-ui/media-core';
19
19
  import * as i1$1 from '@angular/platform-browser';
@@ -497,6 +497,10 @@ class PageScrollProvider {
497
497
  if (!start.lenis)
498
498
  return;
499
499
  this.lenis = new Lenis({ ...start.lenis, ...(start.wrapper ? { wrapper: start.wrapper } : {}), ...(start.content ? { content: start.content } : {}) });
500
+ // Smoothing the DOCUMENT: a Scene reads its scroll where Lenis has it, and follows it only while Lenis smooths
501
+ // (RT-D2, vectoriox/iox-ui#140). A wrapper's Lenis (a specimen, Preview) is never the page's.
502
+ if (!start.wrapper)
503
+ setPageScroller(window, this.lenis);
500
504
  this.startLoop();
501
505
  }
502
506
  /** Provided by a component (a page, the Design step's specimen): its Lenis and loop go with it. */
@@ -508,6 +512,8 @@ class PageScrollProvider {
508
512
  if (this.rafId != null)
509
513
  cancelAnimationFrame(this.rafId);
510
514
  this.rafId = undefined;
515
+ if (this.lenis && typeof window !== 'undefined' && pageScroller(window) === this.lenis)
516
+ setPageScroller(window, null);
511
517
  this.lenis?.destroy();
512
518
  this.lenis = null;
513
519
  this.unlock();
@@ -5815,7 +5821,7 @@ const FLOATING_LAYER_CLASS = 'iox-float-layer';
5815
5821
  /** The selector of an open modal dialog — a floating element raised from inside one belongs to its layer. */
5816
5822
  const OPEN_MODAL = 'dialog[open]';
5817
5823
  /** True when the browser has the Popover API (jsdom and old engines do not — they open by `hidden`). */
5818
- function canPopover(el) {
5824
+ function canPopover$1(el) {
5819
5825
  return typeof el.showPopover === 'function';
5820
5826
  }
5821
5827
  /** True while a `popover` element is shown in the top layer. */
@@ -5829,7 +5835,7 @@ function isOpenPopover(el) {
5829
5835
  }
5830
5836
  /** Show a `popover` element in the top layer; an element without the API is un-hidden instead. */
5831
5837
  function showInTopLayer(el) {
5832
- if (!el.hasAttribute('popover') || !canPopover(el)) {
5838
+ if (!el.hasAttribute('popover') || !canPopover$1(el)) {
5833
5839
  el.hidden = false;
5834
5840
  return;
5835
5841
  }
@@ -5841,7 +5847,7 @@ function showInTopLayer(el) {
5841
5847
  }
5842
5848
  /** Take a `popover` element out of the top layer (or hide it). */
5843
5849
  function hideFromTopLayer(el) {
5844
- if (!el.hasAttribute('popover') || !canPopover(el)) {
5850
+ if (!el.hasAttribute('popover') || !canPopover$1(el)) {
5845
5851
  el.hidden = true;
5846
5852
  return;
5847
5853
  }
@@ -5869,7 +5875,7 @@ function floatingLayer(scope, options = {}) {
5869
5875
  // Display only — the tooltip names what it describes through aria-describedby, the toasts speak through their
5870
5876
  // own live region; the layer itself is not a landmark.
5871
5877
  layer.setAttribute('data-iox-chrome', '');
5872
- if (options.topLayer !== false && canPopover(layer))
5878
+ if (options.topLayer !== false && canPopover$1(layer))
5873
5879
  layer.setAttribute('popover', 'manual');
5874
5880
  scope.appendChild(layer);
5875
5881
  }
@@ -5878,7 +5884,7 @@ function floatingLayer(scope, options = {}) {
5878
5884
  }
5879
5885
  /** Show a top-layer layer (again): a layer closed by a scope change, or one a later modal dialog now covers. */
5880
5886
  function raiseFloatingLayer(layer) {
5881
- if (!layer.hasAttribute('popover') || !canPopover(layer))
5887
+ if (!layer.hasAttribute('popover') || !canPopover$1(layer))
5882
5888
  return;
5883
5889
  showInTopLayer(layer);
5884
5890
  }
@@ -9123,6 +9129,9 @@ function watchHeaderInk(source, sections, host, root = host.ownerDocument ?? hos
9123
9129
  */
9124
9130
  /** The types that are pure decoration to assistive technology (an Icon has no name of its own). */
9125
9131
  const DECORATIVE_TYPES = ['Icon'];
9132
+ /** The parts that are decoration to assistive technology by their role: a drawer's spine repeats its step's own heading
9133
+ * (AW9 `drawers`), so it is read once. */
9134
+ const DECORATIVE_ROLES = [SceneRole.DrawerSpine];
9126
9135
  const DIALOG_NODE_TYPE = 'Dialog';
9127
9136
  /** Named for assistive technology, but never an icon-only CONTROL the audit should flag: a Dialog, a carousel. */
9128
9137
  const NAME_NOT_REQUIRED_TYPES = [DIALOG_NODE_TYPE, POPOVER_NODE_TYPE, 'SliderContainer'];
@@ -9149,7 +9158,7 @@ const MANAGED_A11Y_ATTRIBUTES = [
9149
9158
  A11yAttribute.Label, A11yAttribute.Hidden, A11yAttribute.Current, A11yAttribute.Id,
9150
9159
  'aria-haspopup', 'aria-expanded', 'aria-controls', DIALOG_CLOSE_ABOVE_ATTRIBUTE,
9151
9160
  HeaderAttribute.Behaviour, HeaderAttribute.Edge, BRAND_NAME_ATTRIBUTE, SLIDE_CAPTION_ATTRIBUTE,
9152
- TOOLTIP_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, ...MARQUEE_NODE_ATTRIBUTES, ...MENU_ATTRIBUTES,
9161
+ TOOLTIP_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, ...MARQUEE_NODE_ATTRIBUTES, ...MENU_ATTRIBUTES, ...POPUP_ATTRIBUTES,
9153
9162
  ];
9154
9163
  /** The type of a menu button and of the menu's Close (header-ingredients HI2a: its kind — lines · word · dots). */
9155
9164
  const MENU_BUTTON_TYPE = 'ButtonBlock';
@@ -9182,7 +9191,7 @@ function nodeA11yAttributes(node, ctx = {}) {
9182
9191
  const name = ACCESSIBLE_NAME_TYPES.includes(node.type) ? trimmed$1(nodeTraitValue(node, A11yTrait.AccessibleName)) : '';
9183
9192
  if (name)
9184
9193
  out[A11yAttribute.Label] = name;
9185
- if (DECORATIVE_TYPES.includes(node.type))
9194
+ if (DECORATIVE_TYPES.includes(node.type) || (!!node.role && DECORATIVE_ROLES.includes(node.role)))
9186
9195
  out[A11yAttribute.Hidden] = 'true';
9187
9196
  if (CURRENT_LINK_TYPES.includes(node.type) && isCurrentLink(ctx.href, ctx.currentPath, ctx.currentLink)) {
9188
9197
  out[A11yAttribute.Current] = ARIA_CURRENT_PAGE;
@@ -9205,6 +9214,9 @@ function nodeA11yAttributes(node, ctx = {}) {
9205
9214
  out[DIALOG_CLOSE_ABOVE_ATTRIBUTE] = String(minWidth);
9206
9215
  // HI2a: the menu's form, how it opens, what the mouse does in it, its phone form — the shared CSS reads these.
9207
9216
  Object.assign(out, menuDialogAttributes((name) => nodeTraitValue(node, name)));
9217
+ // Popups PU1: the popup's kind, form, arrival, memory and dates (the shared CSS and the popup runtime read these),
9218
+ // `data-nosnippet`, and the non-modal opening (a popup's corner / bar, or a Dialog set `modal: false`).
9219
+ Object.assign(out, popupDialogAttributes((name) => nodeTraitValue(node, name)));
9208
9220
  }
9209
9221
  if (node.type === MENU_BUTTON_TYPE)
9210
9222
  Object.assign(out, menuButtonAttributes((name) => nodeTraitValue(node, name)));
@@ -13429,6 +13441,370 @@ function attachTooltips(root, options = {}) {
13429
13441
  return tooltipsOf(root) ?? new TooltipRuntime(root, options);
13430
13442
  }
13431
13443
 
13444
+ /**
13445
+ * THE POPUP on the live site (popups-plan.md PU1, §4–§8). ONE DOM runtime for both engine paths: it finds every
13446
+ * `dialog[data-iox-popup]` (the attributes `nodeA11yAttributes` wrote from the popup traits), asks the ONE planner
13447
+ * (actions-core `overlayTurn` / `planPopupArrival` / `popupDue`) whose turn it is and when the arrival fires, and obeys:
13448
+ *
13449
+ * - **Non-modal** (`corner`, `bar`, and `centred` on a phone): the SAME `<dialog>` opened with `showPopover()`
13450
+ * (`popover="manual"`, set while closed) — the top layer, no inert page, no focus trap, the page scroller keeps running;
13451
+ * focus is NEVER moved (WCAG 3.2.2); its title is announced once through a polite status region. A browser with no
13452
+ * Popover API opens it with `show()` (non-modal, in flow).
13453
+ * - **Modal** (`centred` on a laptop): `showModal()`, the sheet takes focus (`focusDialogSheet`), focus returns on close.
13454
+ * - Esc closes it when focus is inside it or on the page body (never while typing in a field); the ✕ is named in the
13455
+ * site's language. A close (✕, Esc, the scrim) writes the memory; following its link or sending its form writes `acted`.
13456
+ * - The clock starts when the popup's TURN starts: `time` counts visible seconds from then, `scroll` needs the visitor's
13457
+ * own scroll after it (a programmatic scroll before any input is never counted).
13458
+ * - Memory: `iox-popup:<scope>:<id>` → `{ v, closedAt, acted }` in localStorage (`visit`: sessionStorage), falling back to
13459
+ * the session, then to this page view. Necessary (consent-core): no identifier, never sent.
13460
+ *
13461
+ * The engine reports what only it knows (`overlayState`: the preloader, the consent debt, another overlay) and calls
13462
+ * `refresh()`; a tick re-asks the planner while any popup waits. The builder canvas never runs this (PU-D14).
13463
+ */
13464
+ const POPUP_SELECTOR = `dialog[${PopupAttribute.Kind}]`;
13465
+ /** A popup that is open, or on its way out. */
13466
+ const POPUP_OPEN_ATTRIBUTE = 'data-iox-popup-open';
13467
+ /** Still (How animated): the popup fades, nothing moves. */
13468
+ const POPUP_STILL_ATTRIBUTE = 'data-iox-popup-still';
13469
+ /** The custom property the shared CSS scales `popup-dur-*` by (How animated). */
13470
+ const POPUP_SCALE_PROPERTY = '--popup-scale';
13471
+ const POPUP_ANNOUNCE_ATTRIBUTE = 'data-iox-popup-announce';
13472
+ const CLOSE_SELECTOR = '[data-iox-dialog-close], .iox-dialog-close';
13473
+ const TICK_MS = 250;
13474
+ /** Keys that scroll a page — a keyboard scroll is the visitor's own. */
13475
+ const SCROLL_KEYS = new Set(['ArrowDown', 'ArrowUp', 'PageDown', 'PageUp', 'Home', 'End', ' ', 'Spacebar']);
13476
+ const PHONE_QUERY = '(max-width: 767px)';
13477
+ const FINE_POINTER_QUERY = '(hover: hover) and (pointer: fine)';
13478
+ /** The popup id a `<dialog>` carries (its node id — the element id is `iox-dialog-<id>`). */
13479
+ function popupIdOf(dialog) {
13480
+ return dialog.id.replace(/^iox-dialog-/, '') || dialog.getAttribute('data-iox-node') || '';
13481
+ }
13482
+ /** A trait getter over the attributes a popup rendered — the planner reads the same names on a node and an element. */
13483
+ function popupAttributeGetter(dialog) {
13484
+ const map = {
13485
+ [PopupTrait.Kind]: PopupAttribute.Kind, [PopupTrait.Form]: PopupAttribute.Form, [PopupTrait.Arrive]: PopupAttribute.Arrive,
13486
+ [PopupTrait.Screens]: PopupAttribute.Screens, [PopupTrait.PageShare]: PopupAttribute.PageShare, [PopupTrait.Seconds]: PopupAttribute.Seconds,
13487
+ [PopupTrait.Again]: PopupAttribute.Again, [PopupTrait.Days]: PopupAttribute.Days, [PopupTrait.ShowFrom]: PopupAttribute.ShowFrom,
13488
+ [PopupTrait.ShowUntil]: PopupAttribute.ShowUntil, [PopupTrait.Version]: PopupAttribute.Version,
13489
+ };
13490
+ return (name) => (map[name] ? dialog.getAttribute(map[name]) ?? undefined : undefined);
13491
+ }
13492
+ const canPopover = (el) => typeof el.showPopover === 'function';
13493
+ const popoverOpen = (el) => { try {
13494
+ return el.matches(':popover-open');
13495
+ }
13496
+ catch {
13497
+ return false;
13498
+ } };
13499
+ const isTyping = (el) => !!el && (el.matches('input, textarea, select, [contenteditable=""], [contenteditable="true"]'));
13500
+ class PopupRuntime {
13501
+ constructor(root, options) {
13502
+ this.root = root;
13503
+ this.options = options;
13504
+ this.cleanups = [];
13505
+ this.pageMemory = new Map();
13506
+ this.opened = new Set();
13507
+ this.pending = [];
13508
+ this.clock = null;
13509
+ this.timer = null;
13510
+ this.arrivedThisView = false;
13511
+ this.returnFocus = null;
13512
+ this.destroyed = false;
13513
+ this.doc = root instanceof Document ? root : root.ownerDocument;
13514
+ this.win = this.doc.defaultView;
13515
+ }
13516
+ /** Find the popups, prepare them closed, and start waiting for a turn. */
13517
+ start() {
13518
+ const dialogs = Array.from(this.root.querySelectorAll(POPUP_SELECTOR));
13519
+ const finePointer = !!this.win?.matchMedia?.(FINE_POINTER_QUERY).matches;
13520
+ const words = popupWords(this.options.lang ?? this.doc.documentElement.lang);
13521
+ for (const dialog of dialogs) {
13522
+ const get = popupAttributeGetter(dialog);
13523
+ const id = popupIdOf(dialog);
13524
+ if (!id)
13525
+ continue;
13526
+ this.prepare(dialog, words.close);
13527
+ const plan = planPopupArrival(get, { finePointer });
13528
+ if (plan.trigger === ArrivalTrigger.Never)
13529
+ continue;
13530
+ if (popupDue(get, this.readMemory(dialog), this.now()) !== null)
13531
+ continue;
13532
+ this.pending.push({ id, dialog, plan });
13533
+ }
13534
+ // Page popups first, then the globals — the engine renders the globals around the page, so order by place: a popup
13535
+ // inside the page's own content wins (§4b step 6), then document order.
13536
+ this.pending.sort((a, b) => Number(this.isGlobal(a.dialog)) - Number(this.isGlobal(b.dialog)));
13537
+ this.listen();
13538
+ this.tick();
13539
+ }
13540
+ /** Ask the planner again now (the engine calls it when the consent banner is answered or an overlay closes). */
13541
+ refresh() { this.tick(); }
13542
+ /** Stop everything; open popups are left as they are. */
13543
+ destroy() {
13544
+ this.destroyed = true;
13545
+ if (this.timer !== null)
13546
+ clearInterval(this.timer);
13547
+ this.timer = null;
13548
+ for (const fn of this.cleanups.splice(0))
13549
+ fn();
13550
+ }
13551
+ /** Close a popup as the visitor would (the ✕), writing its memory. */
13552
+ close(dialog, acted = false) {
13553
+ this.remember(dialog, acted);
13554
+ return this.hide(dialog);
13555
+ }
13556
+ // ── preparation ──────────────────────────────────────────────────────────────────────────────────────────────────
13557
+ prepare(dialog, closeWord) {
13558
+ const get = popupAttributeGetter(dialog);
13559
+ const nonModal = dialog.hasAttribute(PopupAttribute.NonModal) || popupFormOn(get, { phone: this.phone() }) !== PopupForm.Centred;
13560
+ if (nonModal && canPopover(dialog) && !dialog.open)
13561
+ dialog.setAttribute('popover', 'manual');
13562
+ dialog.setAttribute('aria-modal', String(!nonModal));
13563
+ const title = dialog.querySelector('.iox-role-popup-title');
13564
+ if (title) {
13565
+ if (!title.id)
13566
+ title.id = `${dialog.id || 'iox-popup'}-title`;
13567
+ dialog.setAttribute('aria-labelledby', title.id);
13568
+ }
13569
+ dialog.querySelector(CLOSE_SELECTOR)?.setAttribute('aria-label', closeWord);
13570
+ dialog.style.setProperty(POPUP_SCALE_PROPERTY, String(popupMotionScale(this.options.animate)));
13571
+ dialog.toggleAttribute(POPUP_STILL_ATTRIBUTE, popupFadesOnly(this.options.animate));
13572
+ // The ✕ is the popup's own (an engine close handler bubbling from it would call close() on a popover — a no-op).
13573
+ const onClick = (e) => {
13574
+ const target = e.target;
13575
+ if (target?.closest(CLOSE_SELECTOR)) {
13576
+ e.stopPropagation();
13577
+ void this.close(dialog);
13578
+ return;
13579
+ }
13580
+ // Following its link is acting on it (never asked again until the owner changes it).
13581
+ if (target?.closest('a[href]'))
13582
+ this.remember(dialog, true);
13583
+ };
13584
+ const onSubmit = () => this.remember(dialog, true);
13585
+ // A modal's Esc and a click on its scrim (`closeOnBackdrop`) end in `close` — a close, remembered.
13586
+ const onCancel = (e) => { e.preventDefault(); void this.close(dialog); };
13587
+ const onBackdrop = (e) => { if (e.target === dialog && dialog.open && !nonModal)
13588
+ void this.close(dialog); };
13589
+ dialog.addEventListener('click', onClick, true);
13590
+ dialog.addEventListener('submit', onSubmit, true);
13591
+ dialog.addEventListener('cancel', onCancel);
13592
+ dialog.addEventListener('click', onBackdrop);
13593
+ this.cleanups.push(() => {
13594
+ dialog.removeEventListener('click', onClick, true);
13595
+ dialog.removeEventListener('submit', onSubmit, true);
13596
+ dialog.removeEventListener('cancel', onCancel);
13597
+ dialog.removeEventListener('click', onBackdrop);
13598
+ });
13599
+ }
13600
+ isGlobal(dialog) {
13601
+ return this.options.isGlobal?.(dialog) ?? !!dialog.closest('[data-iox-global]');
13602
+ }
13603
+ phone() {
13604
+ return !!this.win?.matchMedia?.(PHONE_QUERY).matches;
13605
+ }
13606
+ now() {
13607
+ return this.options.now?.() ?? new Date();
13608
+ }
13609
+ scrollY() {
13610
+ return this.options.scrollY?.() ?? this.win?.scrollY ?? 0;
13611
+ }
13612
+ // ── the clock ────────────────────────────────────────────────────────────────────────────────────────────────────
13613
+ listen() {
13614
+ const on = (target, type, fn, opts) => {
13615
+ if (!target)
13616
+ return;
13617
+ target.addEventListener(type, fn, opts);
13618
+ this.cleanups.push(() => target.removeEventListener(type, fn, opts));
13619
+ };
13620
+ const input = () => { if (this.clock)
13621
+ this.clock.userInput = true; };
13622
+ for (const type of ['wheel', 'touchmove', 'pointerdown'])
13623
+ on(this.win, type, input, { passive: true });
13624
+ on(this.win, 'keydown', e => { if (SCROLL_KEYS.has(e.key))
13625
+ input(); this.onKey(e); });
13626
+ on(this.win, 'scroll', () => this.onScroll(), { passive: true });
13627
+ if (this.pending.length)
13628
+ this.timer = setInterval(() => this.tick(TICK_MS), TICK_MS);
13629
+ }
13630
+ onScroll() {
13631
+ const c = this.clock;
13632
+ if (!c || !c.userInput)
13633
+ return;
13634
+ c.scrolledPx = Math.max(c.scrolledPx, Math.abs(this.scrollY() - c.baselineY));
13635
+ this.tick();
13636
+ }
13637
+ onKey(e) {
13638
+ if (e.key !== 'Escape')
13639
+ return;
13640
+ const active = this.doc.activeElement;
13641
+ for (const dialog of this.openPopups()) {
13642
+ if (dialog.open && dialog.getAttribute('aria-modal') === 'true')
13643
+ continue; // a modal's Esc is its `cancel`
13644
+ const inside = !!active && dialog.contains(active);
13645
+ const onPage = !active || active === this.doc.body;
13646
+ if ((inside && !isTyping(active)) || onPage) {
13647
+ void this.close(dialog);
13648
+ return;
13649
+ }
13650
+ }
13651
+ }
13652
+ tick(elapsedMs = 0) {
13653
+ if (this.destroyed)
13654
+ return;
13655
+ const state = this.options.overlayState?.() ?? this.defaultOverlayState();
13656
+ const turn = overlayTurn({
13657
+ ...state,
13658
+ quietRoute: isQuietRoute(this.options.route),
13659
+ popupArrivedThisView: this.arrivedThisView,
13660
+ due: this.pending.map(p => p.id),
13661
+ });
13662
+ const id = popupOfTurn(turn);
13663
+ if (!id) {
13664
+ this.clock = null;
13665
+ return;
13666
+ }
13667
+ if (this.clock?.id !== id) {
13668
+ // The turn starts NOW: time counts from here, a scroll must come after it.
13669
+ this.clock = { id, baselineY: this.scrollY(), scrolledPx: 0, visibleMs: 0, userInput: false };
13670
+ elapsedMs = 0;
13671
+ }
13672
+ if (this.doc.visibilityState !== 'hidden')
13673
+ this.clock.visibleMs += elapsedMs;
13674
+ const p = this.pending.find(x => x.id === id);
13675
+ const fired = arrivalFired(p.plan, {
13676
+ scrolledPx: this.clock.scrolledPx, scrollY: this.scrollY(),
13677
+ viewportHeight: this.win?.innerHeight ?? 0, pageHeight: this.doc.documentElement.scrollHeight,
13678
+ visibleSeconds: this.clock.visibleMs / 1000,
13679
+ });
13680
+ if (fired)
13681
+ this.arrive(p);
13682
+ }
13683
+ defaultOverlayState() {
13684
+ const other = Array.from(this.doc.querySelectorAll('dialog[open]')).some(d => !d.hasAttribute(PopupAttribute.Kind));
13685
+ return { preloaderShowing: false, consentOwed: false, otherOverlayOpen: other };
13686
+ }
13687
+ // ── arriving and leaving ─────────────────────────────────────────────────────────────────────────────────────────
13688
+ arrive(p) {
13689
+ this.pending = this.pending.filter(x => x !== p);
13690
+ this.arrivedThisView = true; // one popup per page view (PU-D8)
13691
+ this.clock = null;
13692
+ if (!this.pending.length && this.timer !== null) {
13693
+ clearInterval(this.timer);
13694
+ this.timer = null;
13695
+ }
13696
+ this.show(p.dialog);
13697
+ }
13698
+ show(dialog) {
13699
+ dialog.setAttribute(POPUP_OPEN_ATTRIBUTE, '');
13700
+ this.opened.add(popupIdOf(dialog));
13701
+ if (dialog.getAttribute('aria-modal') === 'true') {
13702
+ this.returnFocus = this.doc.activeElement;
13703
+ if (!dialog.open)
13704
+ dialog.showModal();
13705
+ if (!focusDialogSheet(dialog)) {
13706
+ dialog.setAttribute('tabindex', '-1');
13707
+ dialog.focus({ preventScroll: true });
13708
+ }
13709
+ return;
13710
+ }
13711
+ // Non-modal: focus stays where the visitor is (R-H7); the title is said once.
13712
+ if (dialog.hasAttribute('popover') && canPopover(dialog)) {
13713
+ try {
13714
+ dialog.showPopover();
13715
+ }
13716
+ catch { /* not connected */ }
13717
+ }
13718
+ else if (!dialog.open)
13719
+ dialog.show();
13720
+ this.announce(dialog);
13721
+ }
13722
+ async hide(dialog) {
13723
+ const modal = dialog.getAttribute('aria-modal') === 'true';
13724
+ if (!dialog.open && !popoverOpen(dialog))
13725
+ return;
13726
+ if (isExiting(dialog))
13727
+ return;
13728
+ const finish = await runExitMotion(dialog, { animate: motionAllowed(this.win) });
13729
+ if (!finish)
13730
+ return; // opened again meanwhile — it stays
13731
+ if (popoverOpen(dialog)) {
13732
+ try {
13733
+ dialog.hidePopover();
13734
+ }
13735
+ catch { /* gone */ }
13736
+ }
13737
+ if (dialog.open)
13738
+ dialog.close();
13739
+ cancelExit(dialog);
13740
+ dialog.removeAttribute(POPUP_OPEN_ATTRIBUTE);
13741
+ if (modal) {
13742
+ this.returnFocus?.focus?.({ preventScroll: true });
13743
+ this.returnFocus = null;
13744
+ }
13745
+ }
13746
+ openPopups() {
13747
+ return Array.from(this.root.querySelectorAll(`${POPUP_SELECTOR}[${POPUP_OPEN_ATTRIBUTE}]`));
13748
+ }
13749
+ announce(dialog) {
13750
+ const labelledBy = dialog.getAttribute('aria-labelledby');
13751
+ const words = (labelledBy ? this.doc.getElementById(labelledBy)?.textContent?.trim() : '') || dialog.getAttribute('aria-label') || '';
13752
+ if (!words)
13753
+ return;
13754
+ let region = this.doc.querySelector(`[${POPUP_ANNOUNCE_ATTRIBUTE}]`);
13755
+ if (!region) {
13756
+ region = this.doc.createElement('div');
13757
+ region.setAttribute(POPUP_ANNOUNCE_ATTRIBUTE, '');
13758
+ region.setAttribute('role', 'status');
13759
+ region.setAttribute('aria-live', 'polite');
13760
+ region.setAttribute('data-iox-chrome', '');
13761
+ // Heard, never seen (the classic visually-hidden box — no class to depend on).
13762
+ region.style.cssText = 'position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;';
13763
+ this.doc.body.appendChild(region);
13764
+ }
13765
+ region.textContent = words;
13766
+ }
13767
+ // ── memory ───────────────────────────────────────────────────────────────────────────────────────────────────────
13768
+ store(dialog) {
13769
+ const kind = popupMemoryStore(dialog.getAttribute(PopupAttribute.Again));
13770
+ const pick = (which) => {
13771
+ const injected = which === PopupMemoryStore.Local ? this.options.storage?.local : this.options.storage?.session;
13772
+ if (injected !== undefined)
13773
+ return injected;
13774
+ try {
13775
+ return which === PopupMemoryStore.Local ? this.win?.localStorage ?? null : this.win?.sessionStorage ?? null;
13776
+ }
13777
+ catch {
13778
+ return null;
13779
+ }
13780
+ };
13781
+ return pick(kind) ?? (kind === PopupMemoryStore.Local ? pick(PopupMemoryStore.Session) : null);
13782
+ }
13783
+ key(dialog) {
13784
+ return popupMemoryKey(this.options.scope, popupIdOf(dialog));
13785
+ }
13786
+ readMemory(dialog) {
13787
+ const key = this.key(dialog);
13788
+ let raw = this.pageMemory.get(key) ?? null;
13789
+ try {
13790
+ raw = this.store(dialog)?.getItem(key) ?? raw;
13791
+ }
13792
+ catch { /* refused: this page view's memory */ }
13793
+ return decodePopupMemory(raw);
13794
+ }
13795
+ remember(dialog, acted) {
13796
+ const get = popupAttributeGetter(dialog);
13797
+ const previous = this.readMemory(dialog);
13798
+ const value = encodePopupMemory({ v: popupVersionOf(get), closedAt: this.now().getTime(), acted: acted || !!previous?.acted });
13799
+ const key = this.key(dialog);
13800
+ this.pageMemory.set(key, value);
13801
+ try {
13802
+ this.store(dialog)?.setItem(key, value);
13803
+ }
13804
+ catch { /* quota / refused: this page view remembers */ }
13805
+ }
13806
+ }
13807
+
13432
13808
  /*
13433
13809
  * Public API Surface of iox-ui
13434
13810
  */
@@ -13437,5 +13813,5 @@ function attachTooltips(root, options = {}) {
13437
13813
  * Generated bundle index. Do not edit.
13438
13814
  */
13439
13815
 
13440
- export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_CLOSE_WORDS, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerShouldHide, hideFromTopLayer, hidingHeadersIn, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastCloseWord, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
13816
+ export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_CLOSE_WORDS, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover$1 as canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerShouldHide, hideFromTopLayer, hidingHeadersIn, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, popupAttributeGetter, popupIdOf, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastCloseWord, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
13441
13817
  //# sourceMappingURL=vectoriox-iox-ui.mjs.map