@vectoriox/iox-ui 5.136.0 → 5.138.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 (64) hide show
  1. package/assist-core/index.d.ts +22 -4
  2. package/composite-core/index.d.ts +10 -2
  3. package/design-core/index.d.ts +257 -21
  4. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +12 -2
  5. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-assist-core.mjs +29 -5
  7. package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +18 -2
  9. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui-design-core.mjs +431 -61
  11. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  12. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +999 -259
  13. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  14. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +5 -4
  15. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  16. package/fesm2022/vectoriox-iox-ui-scene-core.mjs +197 -28
  17. package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
  18. package/fesm2022/vectoriox-iox-ui.mjs +538 -11
  19. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  20. package/generation-core/index.d.ts +1118 -732
  21. package/harness-core/index.d.ts +2 -2
  22. package/index.d.ts +150 -4
  23. package/package.json +1 -1
  24. package/scene-core/index.d.ts +69 -13
  25. package/src/actions-core/element-actions.ts +14 -4
  26. package/src/assist-core/assist-turn.ts +3 -1
  27. package/src/assist-core/route-schema.ts +20 -5
  28. package/src/assist-core/surfaces.ts +12 -0
  29. package/src/composite-core/header.ts +18 -1
  30. package/src/design-core/design-settings.ts +14 -3
  31. package/src/design-core/design-token.model.ts +3 -0
  32. package/src/design-core/flavor-spec.generated.ts +64 -25
  33. package/src/design-core/graphemes.ts +16 -0
  34. package/src/design-core/header-behaviour.ts +20 -2
  35. package/src/design-core/motion-language.ts +11 -7
  36. package/src/design-core/node-classes.ts +10 -4
  37. package/src/design-core/preloader-of.ts +26 -0
  38. package/src/design-core/preloader.ts +49 -5
  39. package/src/design-core/public-api.ts +4 -0
  40. package/src/design-core/scrub.ts +37 -0
  41. package/src/design-core/section-edge.ts +223 -0
  42. package/src/design-core/style-presets.ts +2 -0
  43. package/src/generation-core/body-mix.ts +443 -0
  44. package/src/generation-core/check-layout.ts +42 -4
  45. package/src/generation-core/compose-layout.ts +28 -6
  46. package/src/generation-core/compose-site.ts +26 -8
  47. package/src/generation-core/header-mix.ts +4 -0
  48. package/src/generation-core/layout-fingerprint.ts +19 -1
  49. package/src/generation-core/layout-language.ts +21 -1
  50. package/src/generation-core/layout-wire.ts +27 -2
  51. package/src/generation-core/node-baselines.generated.ts +7 -2
  52. package/src/generation-core/opening-mix.ts +32 -0
  53. package/src/generation-core/plan-wire.ts +1 -0
  54. package/src/generation-core/public-api.ts +2 -0
  55. package/src/generation-core/redesign-run.ts +69 -2
  56. package/src/generation-core/site-build-run.ts +29 -7
  57. package/src/generation-core/site-plan.model.ts +2 -0
  58. package/src/generation-core/site-spec.generated.ts +120 -86
  59. package/src/generation-core/text-scroll.ts +179 -0
  60. package/src/generation-core/validate-site-plan.ts +4 -2
  61. package/src/harness-core/starting-design.ts +6 -5
  62. package/src/scene-core/scroll-range.ts +4 -0
  63. package/src/scene-core/split-text.ts +216 -28
  64. package/styles/iox-design.css +87 -0
@@ -6,11 +6,11 @@ import { Subject, fromEvent } from 'rxjs';
6
6
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
7
7
  import * as i1 from '@angular/common';
8
8
  import { CommonModule, isPlatformBrowser } from '@angular/common';
9
- import { SPEC_AXES, resolveDesignMotion, FieldClass, HeaderAttribute, HeaderBehaviour, BRAND_NAME_ATTRIBUTE, MENU_ATTRIBUTES, menuDialogAttributes, menuButtonAttributes, headerAttributes, HeaderTrait, BRAND_ROLE, brandNameAttributes, REDUCED_ENTRANCE_MAX_MS, writeFieldError } from '@vectoriox/iox-ui/design-core';
9
+ import { SPEC_AXES, resolveDesignMotion, 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, writeFieldError } from '@vectoriox/iox-ui/design-core';
10
10
  export * from '@vectoriox/iox-ui/design-core';
11
11
  import Lenis from 'lenis';
12
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, TextRevealBy, playTextReveal, ScrollActionKind, lightMotionWanted, 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 { 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';
14
14
  import { getByPath } from '@vectoriox/iox-ui/data-core';
15
15
  export * from '@vectoriox/iox-ui/data-core';
16
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';
@@ -8871,6 +8871,127 @@ function watchHeaders(source, root, options = {}) {
8871
8871
  };
8872
8872
  }
8873
8873
 
8874
+ /**
8875
+ * A header whose colours FOLLOW the section under it (AW6-D10, contract HEADER `ink: follows`): as each section passes
8876
+ * under the bar, the header takes its scheme — light words on a dark section, dark on a light one. ONE runtime for the live
8877
+ * site (the window's scroll) and the builder canvas (its own scroll, handed in through `update` — never a DOM `scroll`).
8878
+ *
8879
+ * It writes the SAME attribute the page's opening writes (`data-iox-opening`, vectoriox/iox-ui#71) on the element around
8880
+ * the header (the engine's body, the canvas's globals layer), so the shared scheme CSS (`openingFollowerSelector`) is the
8881
+ * only thing that paints it; the cross-fade is a CSS transition on the header (`iox-design.css`, 160ms ease-out — a
8882
+ * transition, interruptible from the live value). The raw SSR starts on the opening; destroy puts the opening back.
8883
+ * Which scheme is under the bar is design-core's pure `schemeUnderBar` (the 1px line at the bar's bottom).
8884
+ */
8885
+ const FOLLOWING_SELECTOR = `[${HeaderAttribute.Ink}="${HeaderInk.Follows}"]`;
8886
+ /** `schemeUnderBar` reads half a pixel above the bar's bottom; the same line decides "above the first section". */
8887
+ const LINE_INSET = 0.5;
8888
+ /** The vertical part of a computed `translate` ("none" · "x" · "x y" · "x y z"), in px of the element's own box. */
8889
+ function translateYOf(translate, height) {
8890
+ const parts = String(translate ?? '').trim().split(/\s+/);
8891
+ const y = parts.length > 1 ? parts[1] : '';
8892
+ const m = /^(-?\d*\.?\d+)(px|%)$/.exec(y);
8893
+ if (!m)
8894
+ return 0;
8895
+ return m[2] === '%' ? (Number(m[1]) / 100) * height : Number(m[1]);
8896
+ }
8897
+ /** Where the bar's bottom stands when it is not stepped aside: its box's bottom minus the `translate` moving it
8898
+ * (scaled to the box as drawn — the builder canvas is a scaled frame). */
8899
+ function restingBottom(header, bar) {
8900
+ const el = header;
8901
+ const own = el.offsetHeight || bar.height;
8902
+ const scale = own > 0 ? bar.height / own : 1;
8903
+ const style = el.ownerDocument?.defaultView?.getComputedStyle(el);
8904
+ return bar.bottom - translateYOf(style?.translate, own) * scale;
8905
+ }
8906
+ /** The headers whose ink follows the sections, in `root`. */
8907
+ function inkFollowingHeadersIn(root) {
8908
+ return root && typeof root.querySelectorAll === 'function' ? Array.from(root.querySelectorAll(FOLLOWING_SELECTOR)) : [];
8909
+ }
8910
+ class HeaderInkRuntime {
8911
+ /**
8912
+ * @param host the element carrying `data-iox-opening` (body; the canvas's globals layer)
8913
+ * @param header the header that follows
8914
+ * @param sections the page's sections, in order (read on every update — a re-render may replace them)
8915
+ */
8916
+ constructor(host, header, sections) {
8917
+ this.host = host;
8918
+ this.header = header;
8919
+ this.sections = sections;
8920
+ this.opening = host.getAttribute(OPENING_ATTRIBUTE);
8921
+ this.last = this.opening;
8922
+ }
8923
+ /**
8924
+ * Read where the bar's bottom stands now and write the scheme under it (only when it changes). Two places the line
8925
+ * meets no section (found by e2e:bodyproof): ABOVE the first one — a header in the page's flow sits on top of the
8926
+ * first section at the top of the page — it wears the page's opening (the scheme the raw SSR started on, #71); and
8927
+ * a header stepped aside while the page scrolls down (HeaderRuntime's `translate`) is judged where it will come
8928
+ * back, its RESTING bottom, so it returns already wearing the ground it lands on.
8929
+ */
8930
+ update() {
8931
+ const bar = this.header.getBoundingClientRect();
8932
+ if (!(bar.height > 0))
8933
+ return;
8934
+ const bands = this.sections().map(el => {
8935
+ const r = el.getBoundingClientRect();
8936
+ return { top: r.top, bottom: r.bottom, scheme: schemeOfClasses(Array.from(el.classList)) };
8937
+ });
8938
+ if (!bands.length)
8939
+ return;
8940
+ const line = restingBottom(this.header, bar);
8941
+ const above = line - LINE_INSET < Math.min(...bands.map(b => b.top));
8942
+ this.write(above ? this.opening : schemeUnderBar(bands, line));
8943
+ }
8944
+ /** The scheme it wrote last (null = the page's own). */
8945
+ get current() {
8946
+ return this.last;
8947
+ }
8948
+ /** The opening back, as the page rendered it — unless the host has written another since (a new page's opening),
8949
+ * which stays. */
8950
+ destroy() {
8951
+ if (this.host.getAttribute(OPENING_ATTRIBUTE) === this.last)
8952
+ this.write(this.opening);
8953
+ }
8954
+ write(scheme) {
8955
+ this.last = scheme;
8956
+ // Judged against the attribute as it stands: the host may have rewritten the opening since (a new page).
8957
+ if (scheme === this.host.getAttribute(OPENING_ATTRIBUTE))
8958
+ return;
8959
+ if (scheme)
8960
+ this.host.setAttribute(OPENING_ATTRIBUTE, scheme);
8961
+ else
8962
+ this.host.removeAttribute(OPENING_ATTRIBUTE);
8963
+ }
8964
+ }
8965
+ /**
8966
+ * The live site's door: a following header in `document` reads `sections` (the page's top-level nodes) under the
8967
+ * window's scroll, through ONE passive listener read once per frame (and on resize). Nothing when no header follows.
8968
+ * Returns the stop (the opening back).
8969
+ */
8970
+ function watchHeaderInk(source, sections, host, root = host.ownerDocument ?? host) {
8971
+ const header = inkFollowingHeadersIn(root)[0];
8972
+ const own = sections.filter(s => !header || (s !== header && !s.contains(header) && !header.contains(s)));
8973
+ if (!header || !own.length)
8974
+ return () => { };
8975
+ const runtime = new HeaderInkRuntime(host, header, () => own.filter(s => s.isConnected));
8976
+ let frame = 0;
8977
+ const raf = typeof requestAnimationFrame === 'function' ? requestAnimationFrame : (fn) => setTimeout(() => fn(0), 16);
8978
+ const caf = typeof cancelAnimationFrame === 'function' ? cancelAnimationFrame : (id) => clearTimeout(id);
8979
+ const sync = () => { frame = 0; runtime.update(); };
8980
+ const onScroll = () => { if (!frame)
8981
+ frame = raf(sync); };
8982
+ const view = (host.ownerDocument?.defaultView ?? null);
8983
+ source.addEventListener('scroll', onScroll, { passive: true });
8984
+ view?.addEventListener('resize', onScroll, { passive: true });
8985
+ sync();
8986
+ return () => {
8987
+ source.removeEventListener('scroll', onScroll);
8988
+ view?.removeEventListener('resize', onScroll);
8989
+ if (frame)
8990
+ caf(frame);
8991
+ runtime.destroy();
8992
+ };
8993
+ }
8994
+
8874
8995
  /**
8875
8996
  * The accessibility attributes a node renders (CC1: N2 current page, N3 dialog openers, N4 a drawer
8876
8997
  * that closes when the window widens, N6 accessible names). ONE function decides them and every
@@ -8966,7 +9087,7 @@ function nodeA11yAttributes(node, ctx = {}) {
8966
9087
  if (node.type === MENU_BUTTON_TYPE)
8967
9088
  Object.assign(out, menuButtonAttributes((name) => nodeTraitValue(node, name)));
8968
9089
  // T2 (M4): how a header behaves as the page scrolls — the shared CSS and the header runtime read these.
8969
- Object.assign(out, headerAttributes(nodeTraitValue(node, HeaderTrait.Behaviour), nodeTraitValue(node, HeaderTrait.Edge)));
9090
+ Object.assign(out, headerAttributes(nodeTraitValue(node, HeaderTrait.Behaviour), nodeTraitValue(node, HeaderTrait.Edge), nodeTraitValue(node, HeaderTrait.Ink)));
8970
9091
  if (node.type === SLIDE_TYPE) {
8971
9092
  const caption = trimmed$1(nodeTraitValue(node, SLIDE_CAPTION_TRAIT));
8972
9093
  if (caption)
@@ -9574,8 +9695,7 @@ function animateAction(el, action, frames, timing, options = {}) {
9574
9695
  return count ?? tagged(el.animate([], { duration: 0 }));
9575
9696
  }
9576
9697
  if (action.type === RevealActionType.Text && !options.reverse) {
9577
- const by = action.params?.['by'] === TextRevealBy.Word ? TextRevealBy.Word : TextRevealBy.Line;
9578
- const reveal = playTextReveal(el, by, timing);
9698
+ const reveal = playTextReveal(el, textRevealByOf(action.params?.['by']), timing, textRevealLookOf(action.params?.['look']));
9579
9699
  if (reveal)
9580
9700
  return reveal;
9581
9701
  }
@@ -9841,6 +9961,9 @@ function watchScrolled(source, target, threshold = SCROLLED_THRESHOLD_PX) {
9841
9961
  * side — play without a second interpolator.
9842
9962
  * - `parallax` (a depth: back · front) and `progressBar` are the scroll's own: `translate` and `scale`, never the
9843
9963
  * element's `transform`, so a hover lift or an entrance on the same element is never overwritten.
9964
+ * - AW10: a text reveal under the scroll splits once (lines, words, letters) and the scroll plays its pieces
9965
+ * (`scrubTextReveal`); it is put back whole when it has played, and under reduced motion it never splits.
9966
+ * - `params.until` (0–1): an action has wholly played by that share of its range (copy-out is gone at 0.6 of its exit).
9844
9967
  * - A scrubbed entrance that has fully played is LET GO (the stylesheet applies again: its hover, its press — the M2
9845
9968
  * settle rule); an exit is let go before it starts.
9846
9969
  * - Transform, opacity, clip-path only: nothing changes a box, so CLS stays 0.
@@ -9862,23 +9985,31 @@ const TIMELINE_MS = 1000;
9862
9985
  const MIN_STEP_MS = 0.05;
9863
9986
  /** Re-plan a depth only when its shift has moved by more than this (px): a resize, not a rounding. */
9864
9987
  const SHIFT_EPSILON_PX = 0.5;
9865
- /** Actions a time trigger plays that make no sense moved by the scroll: a text split, a show/hide, a count. */
9866
- const NOT_SCRUBBED = new Set([RevealActionType.Text, VisibilityActionType.Show, VisibilityActionType.Hide, VisibilityActionType.Toggle]);
9988
+ /** Actions a time trigger plays that make no sense moved by the scroll: a show/hide, a count. */
9989
+ const NOT_SCRUBBED = new Set([VisibilityActionType.Show, VisibilityActionType.Hide, VisibilityActionType.Toggle]);
9867
9990
  /** What a scroll-driven action is, or null when the scroll cannot play it. */
9868
9991
  function scrollActionKind(type) {
9869
9992
  if (type === ScrollActionType.Parallax)
9870
9993
  return ScrollActionKind.Parallax;
9871
9994
  if (type === ScrollActionType.ProgressBar)
9872
9995
  return ScrollActionKind.Progress;
9996
+ if (type === RevealActionType.Text)
9997
+ return ScrollActionKind.Text;
9873
9998
  if (NOT_SCRUBBED.has(type))
9874
9999
  return null;
9875
10000
  const frames = buildInteractionKeyframes(type);
9876
10001
  return frames?.length ? ScrollActionKind.Scrub : null;
9877
10002
  }
9878
- /** True for an action a `scrollProgress` trigger can play (the picker offers these, and only these, under it). */
10003
+ /** True for an action a `scrollProgress` trigger can play (the picker offers these, and only these, under it). A text
10004
+ * reveal is offered since AW10 (AW10-D5: its pieces follow the scroll). */
9879
10005
  function playsOnScroll(type) {
9880
10006
  return scrollActionKind(type) !== null;
9881
10007
  }
10008
+ /** `params.until`: the share of its range by which an action has wholly played — 1 (all of it) unless a share is set. */
10009
+ function scrubUntilOf(params) {
10010
+ const until = Number(params?.['until']);
10011
+ return until > 0 && until < 1 ? until : 1;
10012
+ }
9882
10013
  /** A part a visitor operates: it never glides for style. */
9883
10014
  const OPERATED = 'form, input, select, textarea, button, [role="button"], .swiper, [data-iox-marquee]';
9884
10015
  function isOperated(el) {
@@ -9933,6 +10064,46 @@ class ScrollPlayer {
9933
10064
  this.last = -1;
9934
10065
  }
9935
10066
  }
10067
+ /**
10068
+ * A text the scroll plays (AW10): split as it starts, its pieces moved by the progress, put back whole once it has
10069
+ * played (an entrance is let go at its end). A text that cannot split scrubs its plain fade instead.
10070
+ */
10071
+ class TextScrubPlayer {
10072
+ constructor(el, action, easing) {
10073
+ this.el = el;
10074
+ this.action = action;
10075
+ this.easing = easing;
10076
+ this.scrub = null;
10077
+ this.fade = null;
10078
+ }
10079
+ write(progress, geometry) {
10080
+ if (progress >= 1) {
10081
+ this.stop();
10082
+ return;
10083
+ }
10084
+ if (!this.scrub && !this.fade) {
10085
+ this.scrub = scrubTextReveal(this.el, textRevealByOf(this.action.params?.['by']), textRevealLookOf(this.action.params?.['look']), this.easing);
10086
+ if (!this.scrub) {
10087
+ const frames = buildInteractionKeyframes(RevealActionType.Text) ?? [];
10088
+ this.fade = new ScrollPlayer(this.el, () => ({ key: 'fade', frames }), this.easing, 'end');
10089
+ }
10090
+ }
10091
+ this.scrub?.seek(progress);
10092
+ this.fade?.write(progress, geometry);
10093
+ }
10094
+ stop() {
10095
+ this.scrub?.release();
10096
+ this.scrub = null;
10097
+ this.fade?.stop();
10098
+ this.fade = null;
10099
+ }
10100
+ }
10101
+ /** A player that has wholly played by `until` of its range (`params.until`). */
10102
+ function playedBy(player, until) {
10103
+ if (until >= 1)
10104
+ return player;
10105
+ return { write: (progress, geometry) => player.write(Math.min(1, progress / until), geometry), stop: () => player.stop() };
10106
+ }
9936
10107
  /** The frames a scrubbed action plays, cut to its opacity under a Gentle play. */
9937
10108
  function scrubFrames(el, action, play) {
9938
10109
  const frames = buildInteractionKeyframes(action.type, action.params);
@@ -9981,14 +10152,17 @@ function playerFor(el, action, kind, play, host, onRelease) {
9981
10152
  // Emil 180: progress is linear.
9982
10153
  return new ScrollPlayer(el, () => ({ key: 'bar', frames: PROGRESS_BAR_FRAMES }), EasingKeyword.Linear, null);
9983
10154
  }
10155
+ const easing = action.easing ? resolveInteractionEasing(action.easing, el, DEFAULT_INTERACTION_EASING) : EasingKeyword.Linear;
10156
+ const until = scrubUntilOf(action.params);
10157
+ if (kind === ScrollActionKind.Text)
10158
+ return playedBy(new TextScrubPlayer(el, action, easing), until);
9984
10159
  const frames = scrubFrames(el, action, play);
9985
10160
  if (!frames)
9986
10161
  return null;
9987
- const easing = action.easing ? resolveInteractionEasing(action.easing, el, DEFAULT_INTERACTION_EASING) : EasingKeyword.Linear;
9988
10162
  // `params.phone: 'rest'` (as a depth's): nothing plays on a phone — a section's ground change happens at its edge there
9989
10163
  // (iox-ui#102). Read when the frames are planned, so a resize across the phone width is followed.
9990
10164
  const restsOnPhone = normalizeParallaxPhone(action.params?.['phone']) === ParallaxPhone.Rest;
9991
- return new ScrollPlayer(el, () => (restsOnPhone && isPhone(host.page) ? null : { key: 'scrub', frames }), easing, releaseOf(action.type));
10165
+ return playedBy(new ScrollPlayer(el, () => (restsOnPhone && isPhone(host.page) ? null : { key: 'scrub', frames }), easing, releaseOf(action.type)), until);
9992
10166
  }
9993
10167
  /** The section strictly above `el` (its outermost node): it clips a depth's glide. None for a section itself. */
9994
10168
  function sectionAbove(el, stop) {
@@ -10101,6 +10275,359 @@ function syncInteractionMarkers(el, node) {
10101
10275
  }
10102
10276
  }
10103
10277
 
10278
+ /**
10279
+ * THE FIRST-VISIT PRELOADER, DRAWN (award plan §5.3, AW5; Preloader board PL-D1…PL-D9) — the ONE runtime both renderers
10280
+ * use. The decision is design-core's (`planPreloader`, `designPreloaderOf`); this module draws it:
10281
+ *
10282
+ * - `buildPreloaderLayer` — the layer, from what the page already has (`preloaderContentOf`: the header's brand, the
10283
+ * opening heading). The engine builds it at SSR time into the raw HTML (hidden); the builder builds it for Play.
10284
+ * - `preloaderHeadScript` + `PRELOADER_CSS` — the inline head pair (PL-D7): the script decides before first paint
10285
+ * (reduced motion, a first visit — PL-D5) and shows the layer by one attribute on `<html>`; with no script the layer is
10286
+ * never seen. If the app has not taken over by the cap — or a scroll / key / tap comes first — the script fades it
10287
+ * itself, so the cap holds even when the bundle is slow.
10288
+ * - `runPreloader` — the app takes over: its entrance, the counter's REAL loading (first-screen pictures + fonts), the
10289
+ * leave at readiness or the cap (never before its own entrance is seen), a scroll / key / tap ends it at once (PL-D4),
10290
+ * the look's exit (PL-D3) on the look's `ease-exit`; `onLeave` fires as it starts to leave (the page's entrances wait
10291
+ * under it — the AW4 hold — and the consent banner waits for `afterPreloader`, PL-D9).
10292
+ * - `playPreloaderPreview` — the builder's Play: the same layer and timeline over a stage, once (PL-D8).
10293
+ *
10294
+ * Emil: transform / opacity / clip-path only; exits ≤ 500 ms and faster than the entrance's whole stay; nothing under
10295
+ * reduced motion. The layer is `aria-hidden` decoration and never takes a pointer — the page under it is always there.
10296
+ */
10297
+ const PRELOADER_CLASS = 'iox-preloader';
10298
+ /** On `<html>` while a first visit's preloader shows: `""` showing, `"leaving"` the head script's own fade. */
10299
+ const PRELOADING_ATTRIBUTE = 'data-iox-preloading';
10300
+ /** On `<html>` once the app has taken the preloader over — the head script's fallback steps back. */
10301
+ const PRELOADER_RUN_ATTRIBUTE = 'data-iox-preloader-run';
10302
+ /**
10303
+ * On `<html>`: when the head script opened the layer (ms on the page's clock). The 1.5 s cap counts from HERE — the
10304
+ * preloader "plays 1.5 s at most" (the board's hint); the wait for the server before it is not the preloader's, and
10305
+ * counting it would turn a slow first byte into a flash.
10306
+ */
10307
+ const PRELOADER_AT_ATTRIBUTE = 'data-iox-preloader-at';
10308
+ /** Dispatched on the window when a preloader has gone (by the app or by the head script). */
10309
+ const PRELOADER_END_EVENT = 'iox-preloader-end';
10310
+ const LEAVING = 'leaving';
10311
+ /** The tab's memory of a visit (`sessionStorage`), per site scope (an org on a shared host). */
10312
+ const SEEN_KEY_PREFIX = 'iox-visit:';
10313
+ /** A preview layer shows while it carries this (the site's shows by the `<html>` attribute). */
10314
+ const PLAYING_ATTRIBUTE = 'data-playing';
10315
+ const SWEEPING_ATTRIBUTE = 'data-sweeping';
10316
+ /** What ends a preloader at once (PL-D4) — the page under it was always scrollable. */
10317
+ const ENDING_INPUTS = ['wheel', 'touchstart', 'keydown', 'pointerdown'];
10318
+ /** The head script's own fade when the app is late (≤ the Fade exit). */
10319
+ const FALLBACK_FADE_MS = 300;
10320
+ const clean = (s) => String(s ?? '').replace(/\s+/g, ' ').trim();
10321
+ /**
10322
+ * The page's own words and mark (PL-D2): the header's brand (`nav.brand` — its picture, else its words; a site with no
10323
+ * header brand says the document's title) and the opening heading (the first `h1`, else `h2`). One reader for the
10324
+ * engine's SSR DOM and the builder's canvas — both render the brand's role class.
10325
+ */
10326
+ function preloaderContentOf(root, title) {
10327
+ const brand = root.querySelector(`.${roleClass('nav.brand')}`);
10328
+ const img = brand ? (brand.tagName === 'IMG' ? brand : brand.querySelector('img')) : null;
10329
+ const logo = clean(img?.getAttribute('src')) || null;
10330
+ const name = clean(brand?.textContent) || clean(img?.getAttribute('alt')) || clean(title);
10331
+ const heading = root.querySelector('h1') ?? root.querySelector('h2');
10332
+ // Nothing names the site (no header brand, no title): the Mark shows the page's own first words — never a blank screen.
10333
+ const named = name || preloaderWords(heading?.textContent, '');
10334
+ return { logo, name: named, letters: preloaderWords(heading?.textContent, named) };
10335
+ }
10336
+ /** The layer (PL-D1): never a node of the page — decoration over it, built from the plan and the page's content. */
10337
+ function buildPreloaderLayer(doc, plan, content) {
10338
+ const layer = doc.createElement('div');
10339
+ layer.className = PRELOADER_CLASS;
10340
+ layer.setAttribute('aria-hidden', 'true');
10341
+ layer.setAttribute('data-kind', plan.kind);
10342
+ layer.setAttribute('data-exit', plan.exit);
10343
+ layer.setAttribute('data-cap', String(plan.capMs));
10344
+ const span = (cls, text) => {
10345
+ const el = doc.createElement('span');
10346
+ if (cls)
10347
+ el.className = cls;
10348
+ if (text !== undefined)
10349
+ el.textContent = text;
10350
+ return el;
10351
+ };
10352
+ if (plan.kind === PreloaderKind.Mark) {
10353
+ const mark = span('iox-preloader-mark');
10354
+ if (content.logo) {
10355
+ const img = doc.createElement('img');
10356
+ img.setAttribute('src', content.logo);
10357
+ img.setAttribute('alt', '');
10358
+ mark.appendChild(img);
10359
+ }
10360
+ else {
10361
+ mark.textContent = content.name;
10362
+ }
10363
+ layer.appendChild(mark);
10364
+ }
10365
+ else if (plan.kind === PreloaderKind.Counter) {
10366
+ const count = span('iox-preloader-count');
10367
+ count.appendChild(doc.createElement('b')).textContent = '0';
10368
+ count.appendChild(doc.createElement('small')).textContent = '%';
10369
+ const bar = span('iox-preloader-bar');
10370
+ bar.appendChild(doc.createElement('i'));
10371
+ // appendChild, never append(): the server's DOM (domino) has no ParentNode.append — the counter vanished from SSR.
10372
+ layer.appendChild(count);
10373
+ layer.appendChild(bar);
10374
+ }
10375
+ else {
10376
+ const letters = span('iox-preloader-letters');
10377
+ for (const g of preloaderGraphemes(content.letters))
10378
+ letters.appendChild(span('', g));
10379
+ layer.appendChild(letters);
10380
+ }
10381
+ return layer;
10382
+ }
10383
+ /**
10384
+ * The layer's styles — inline in the `<head>` beside the script (first paint must know them; the engine's stylesheet may
10385
+ * not have arrived). Colours and faces are the look's tokens only (R-H10); the layer shows only by the `<html>` attribute
10386
+ * (the site) or `data-playing` (a preview).
10387
+ */
10388
+ const PRELOADER_CSS = [
10389
+ `.${PRELOADER_CLASS}{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:0 8vw;text-align:center;`
10390
+ + 'background:var(--iox-page-bg);color:var(--iox-text);pointer-events:none;visibility:hidden;overflow:hidden}',
10391
+ `html[${PRELOADING_ATTRIBUTE}] .${PRELOADER_CLASS},.${PRELOADER_CLASS}[${PLAYING_ATTRIBUTE}]{visibility:visible}`,
10392
+ `html[${PRELOADING_ATTRIBUTE}="${LEAVING}"] .${PRELOADER_CLASS}{opacity:0;transition:opacity ${FALLBACK_FADE_MS}ms ${PRELOADER_EXIT_EASE}}`,
10393
+ `.${PRELOADER_CLASS} .iox-preloader-mark{font:600 clamp(32px,6vw,64px)/1 var(--iox-font-display);letter-spacing:-.01em}`,
10394
+ `.${PRELOADER_CLASS} .iox-preloader-mark img{display:block;max-width:min(40vw,240px);max-height:96px;object-fit:contain}`,
10395
+ `.${PRELOADER_CLASS} .iox-preloader-count{font:600 clamp(64px,14vw,140px)/1 var(--iox-font-display);color:var(--iox-accent);font-variant-numeric:tabular-nums}`,
10396
+ `.${PRELOADER_CLASS} .iox-preloader-count small{font-size:.45em;color:var(--iox-text);opacity:.6;margin-inline-start:2px}`,
10397
+ `.${PRELOADER_CLASS} .iox-preloader-bar{position:absolute;inset-inline:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));height:2px;`
10398
+ + 'background:color-mix(in oklab,var(--iox-text) 14%,transparent);border-radius:2px;overflow:hidden}',
10399
+ `.${PRELOADER_CLASS} .iox-preloader-bar i{display:block;height:100%;background:var(--iox-accent);transform-origin:0 50%;transform:scaleX(0)}`,
10400
+ `[dir="rtl"] .${PRELOADER_CLASS} .iox-preloader-bar i{transform-origin:100% 50%}`,
10401
+ `.${PRELOADER_CLASS} .iox-preloader-letters{font:600 clamp(28px,5vw,56px)/1.08 var(--iox-font-display);max-width:min(84vw,14em)}`,
10402
+ `.${PRELOADER_CLASS} .iox-preloader-letters span{display:inline-block;white-space:pre}`,
10403
+ `.${PRELOADER_CLASS}[${SWEEPING_ATTRIBUTE}]{background:var(--iox-accent);color:var(--iox-accent-ink)}`,
10404
+ `.${PRELOADER_CLASS}[${SWEEPING_ATTRIBUTE}]>*{visibility:hidden}`,
10405
+ `@media (prefers-reduced-motion:reduce){.${PRELOADER_CLASS}{display:none}}`,
10406
+ ].join('');
10407
+ /**
10408
+ * The inline head script (PL-D7, PL-D5): remembers the visit for the tab, and — when this is the first page of the
10409
+ * session, not reached from another page of the site, and the visitor did not ask for reduced motion — shows the layer
10410
+ * before first paint. Its fallback ends it at the cap or at a scroll / key / tap while the app has not taken over.
10411
+ * `scope` keeps sites sharing a host apart (the org). `isFirstVisit` is the SAME function the tests exercise — inlined.
10412
+ */
10413
+ function preloaderHeadScript(scope, capMs = PRELOADER_CAP_MS) {
10414
+ const q = JSON.stringify;
10415
+ return `(function(){try{var d=document.documentElement,s=sessionStorage,k=${q(SEEN_KEY_PREFIX + scope)},seen=!!s.getItem(k);s.setItem(k,"1");`
10416
+ + `if(matchMedia("(prefers-reduced-motion: reduce)").matches||!(${isFirstVisit.toString()})(seen,document.referrer,location.href))return;`
10417
+ + `d.setAttribute(${q(PRELOADING_ATTRIBUTE)},"");d.setAttribute(${q(PRELOADER_AT_ATTRIBUTE)},String(Math.round(performance.now())));`
10418
+ + `var end=function(){if(d.getAttribute(${q(PRELOADING_ATTRIBUTE)})!==""||d.hasAttribute(${q(PRELOADER_RUN_ATTRIBUTE)}))return;`
10419
+ + `d.setAttribute(${q(PRELOADING_ATTRIBUTE)},${q(LEAVING)});setTimeout(function(){d.removeAttribute(${q(PRELOADING_ATTRIBUTE)});d.removeAttribute(${q(PRELOADER_AT_ATTRIBUTE)});`
10420
+ + `dispatchEvent(new Event(${q(PRELOADER_END_EVENT)}))},${FALLBACK_FADE_MS})};setTimeout(end,${Math.max(0, Math.round(capMs))});`
10421
+ + `${q(ENDING_INPUTS)}.forEach(function(t){addEventListener(t,end,{capture:true,passive:true})})}catch(e){}})();`;
10422
+ }
10423
+ /** A first visit's preloader is showing (or fading) on this document. */
10424
+ function isPreloading(doc) {
10425
+ return !!doc?.documentElement?.hasAttribute(PRELOADING_ATTRIBUTE);
10426
+ }
10427
+ /** Resolves once no preloader shows (at once when none does) — what waits behind it waits on this (PL-D9: the banner). */
10428
+ function afterPreloader(doc) {
10429
+ if (!doc || !isPreloading(doc))
10430
+ return Promise.resolve();
10431
+ const win = doc.defaultView;
10432
+ if (!win)
10433
+ return Promise.resolve();
10434
+ return new Promise(resolve => win.addEventListener(PRELOADER_END_EVENT, () => resolve(), { once: true }));
10435
+ }
10436
+ /** The look's curves where the layer sits (`--iox-ease-enter` / `--iox-ease-exit`), else the preloader's own. */
10437
+ function easeAt(el, win) {
10438
+ const css = win ? win.getComputedStyle(el) : null;
10439
+ const token = (name) => css?.getPropertyValue(`--iox-${name}`).trim() || '';
10440
+ return { enter: token('ease-enter') || PRELOADER_ENTER_EASE, exit: token('ease-exit') || PRELOADER_EXIT_EASE };
10441
+ }
10442
+ const wait = (win, ms) => new Promise(resolve => win.setTimeout(resolve, Math.max(0, ms)));
10443
+ const settled = (a) => a?.finished.then(() => undefined, () => undefined) ?? Promise.resolve();
10444
+ /** The ONE timeline (site and preview): entrance → stay (readiness / cap / an ending input) → the look's exit → gone. */
10445
+ async function playLayer(layer, tl) {
10446
+ const kind = (layer.getAttribute('data-kind') ?? PreloaderKind.Mark);
10447
+ const exit = (layer.getAttribute('data-exit') ?? PreloaderExit.Fade);
10448
+ const cap = Number(layer.getAttribute('data-cap')) || PRELOADER_CAP_MS;
10449
+ const ease = easeAt(layer, tl.win);
10450
+ const animatable = typeof layer.animate === 'function';
10451
+ if (animatable) {
10452
+ const mark = layer.querySelector('.iox-preloader-mark');
10453
+ mark?.animate([{ opacity: 0, transform: 'scale(0.96)' }, { opacity: 1, transform: 'none' }], { duration: 320, easing: ease.enter, fill: 'both' });
10454
+ layer.querySelectorAll('.iox-preloader-letters span').forEach((s, i) => s.animate([{ opacity: 0, transform: 'translateY(0.35em)' }, { opacity: 1, transform: 'none' }], { duration: 260, delay: Math.min(i * 28, 600), easing: ease.enter, fill: 'both' }));
10455
+ }
10456
+ const num = layer.querySelector('.iox-preloader-count b');
10457
+ const bar = layer.querySelector('.iox-preloader-bar i');
10458
+ const progress = (p) => {
10459
+ if (num)
10460
+ num.textContent = String(p);
10461
+ if (bar)
10462
+ bar.style.transform = `scaleX(${p / 100})`;
10463
+ };
10464
+ const elapsed = () => tl.now() - tl.startedAt;
10465
+ const min = PRELOADER_MIN_SHOW_MS[kind] ?? 0;
10466
+ const ready = tl.readiness(progress).then(() => wait(tl.win, preloaderLeaveAt(elapsed(), cap, min) - elapsed()));
10467
+ await Promise.race([ready, wait(tl.win, cap - elapsed()), ...(tl.ended ? [tl.ended] : [])]);
10468
+ tl.onLeave?.();
10469
+ const motion = preloaderExitMotion(exit);
10470
+ if (motion.accent)
10471
+ layer.setAttribute(SWEEPING_ATTRIBUTE, '');
10472
+ if (animatable)
10473
+ await settled(layer.animate(motion.frames, { duration: motion.duration, easing: ease.exit, fill: 'forwards' }));
10474
+ layer.remove();
10475
+ }
10476
+ /**
10477
+ * The counter's real loading (PL-D2): the first screen's pictures (every `<img>` whose box is in the first viewport)
10478
+ * and the fonts; a number that only goes up; resolves when all have loaded (or failed — a broken picture is done
10479
+ * loading). Nothing to load reads 100 at once.
10480
+ */
10481
+ function firstScreenReadiness(doc, win, progress) {
10482
+ const vh = win.innerHeight;
10483
+ const imgs = Array.from(doc.querySelectorAll('img')).filter(img => {
10484
+ if (img.closest(`.${PRELOADER_CLASS}`))
10485
+ return false;
10486
+ const r = img.getBoundingClientRect();
10487
+ return r.bottom > 0 && r.top < vh;
10488
+ });
10489
+ // The faces loading NOW — never `document.fonts.ready`, which also waits for the whole document to finish loading
10490
+ // (every picture below the fold), so a counter would wait for the page, not the first screen.
10491
+ const fonts = doc.fonts;
10492
+ const faces = fonts && typeof fonts.forEach === 'function' ? (() => {
10493
+ const loading = [];
10494
+ fonts.forEach(f => { if (f.status === 'loading')
10495
+ loading.push(f); });
10496
+ return loading;
10497
+ })() : [];
10498
+ const pending = [
10499
+ ...imgs.filter(img => !img.complete).map(img => new Promise(resolve => {
10500
+ img.addEventListener('load', resolve, { once: true });
10501
+ img.addEventListener('error', resolve, { once: true });
10502
+ })),
10503
+ ...faces.map(f => f.loaded.then(() => undefined, () => undefined)),
10504
+ ];
10505
+ const total = imgs.length + faces.length;
10506
+ let loaded = total - pending.length;
10507
+ let shown = preloaderPercent(loaded, total);
10508
+ progress(shown);
10509
+ return Promise.all(pending.map(p => p.then(() => {
10510
+ loaded += 1;
10511
+ shown = preloaderPercent(loaded, total, shown);
10512
+ progress(shown);
10513
+ }))).then(() => undefined);
10514
+ }
10515
+ /**
10516
+ * The app takes a first visit's preloader over (the engine, in the browser): when the head script showed it, play it
10517
+ * (entrance, real loading, the look's exit) and remove it; when it did not (a return visit, reduced motion, no script),
10518
+ * remove the hidden layer. Resolves when no preloader is left.
10519
+ */
10520
+ async function runPreloader(doc, opts = {}) {
10521
+ const win = doc.defaultView;
10522
+ const html = doc.documentElement;
10523
+ const layer = doc.querySelector(`.${PRELOADER_CLASS}`);
10524
+ let left = false;
10525
+ const leave = () => { if (!left) {
10526
+ left = true;
10527
+ opts.onLeave?.();
10528
+ } };
10529
+ const state = html.getAttribute(PRELOADING_ATTRIBUTE);
10530
+ if (!win || !layer || state === null) {
10531
+ layer?.remove();
10532
+ leave();
10533
+ return;
10534
+ }
10535
+ if (state === LEAVING) {
10536
+ leave();
10537
+ await afterPreloader(doc);
10538
+ layer.remove();
10539
+ return;
10540
+ }
10541
+ html.setAttribute(PRELOADER_RUN_ATTRIBUTE, '');
10542
+ const inputs = new AbortController();
10543
+ const ended = new Promise(resolve => {
10544
+ for (const t of ENDING_INPUTS)
10545
+ win.addEventListener(t, () => resolve(), { capture: true, passive: true, signal: inputs.signal });
10546
+ });
10547
+ const now = () => win.performance.now();
10548
+ try {
10549
+ if (win.matchMedia?.('(prefers-reduced-motion: reduce)').matches) {
10550
+ leave();
10551
+ layer.remove();
10552
+ return;
10553
+ }
10554
+ const at = Number(html.getAttribute(PRELOADER_AT_ATTRIBUTE));
10555
+ await playLayer(layer, { win, now, startedAt: Number.isFinite(at) && at > 0 ? at : now(), readiness: p => firstScreenReadiness(doc, win, p), onLeave: leave, ended });
10556
+ }
10557
+ finally {
10558
+ inputs.abort();
10559
+ leave();
10560
+ layer.remove();
10561
+ html.removeAttribute(PRELOADING_ATTRIBUTE);
10562
+ html.removeAttribute(PRELOADER_RUN_ATTRIBUTE);
10563
+ html.removeAttribute(PRELOADER_AT_ATTRIBUTE);
10564
+ win.dispatchEvent(new Event(PRELOADER_END_EVENT));
10565
+ }
10566
+ }
10567
+ /**
10568
+ * The builder's Play (PL-D8): the same layer and timeline, once, over `stage` (absolute, inside it), then gone. A preview
10569
+ * has nothing loading, so a counter reads its real 100 % and the layer stays its entrance's minimum. Reduced motion
10570
+ * plays nothing.
10571
+ */
10572
+ async function playPreloaderPreview(stage, plan, content, opts = {}) {
10573
+ const doc = stage.ownerDocument;
10574
+ const win = doc.defaultView;
10575
+ if (!win || win.matchMedia?.('(prefers-reduced-motion: reduce)').matches)
10576
+ return;
10577
+ stage.querySelectorAll(`:scope > .${PRELOADER_CLASS}`).forEach(el => el.remove());
10578
+ const layer = buildPreloaderLayer(doc, plan, content);
10579
+ if (opts.scopeClass)
10580
+ layer.classList.add(opts.scopeClass);
10581
+ layer.style.position = 'absolute';
10582
+ layer.setAttribute(PLAYING_ATTRIBUTE, '');
10583
+ ensurePreloaderStyles(doc);
10584
+ // The layer covers the stage: a static stage is positioned for the play, and put back after.
10585
+ const position = win.getComputedStyle(stage).position;
10586
+ const unpositioned = !position || position === 'static';
10587
+ if (unpositioned)
10588
+ stage.style.position = 'relative';
10589
+ stage.appendChild(layer);
10590
+ const now = () => win.performance.now();
10591
+ try {
10592
+ await playLayer(layer, { win, now, startedAt: now(), readiness: p => { p(100); return Promise.resolve(); }, onLeave: opts.onLeave });
10593
+ }
10594
+ finally {
10595
+ layer.remove();
10596
+ if (unpositioned)
10597
+ stage.style.position = '';
10598
+ }
10599
+ }
10600
+ const STYLE_ID = 'iox-preloader-css';
10601
+ /** The layer's styles in a document that did not get the head pair (the builder's): once. */
10602
+ function ensurePreloaderStyles(doc) {
10603
+ if (doc.getElementById(STYLE_ID))
10604
+ return;
10605
+ const style = doc.createElement('style');
10606
+ style.id = STYLE_ID;
10607
+ style.textContent = PRELOADER_CSS;
10608
+ (doc.head ?? doc.documentElement).appendChild(style);
10609
+ }
10610
+ /**
10611
+ * The SSR side (PL-D7): the hidden layer into `<body>` (outside the app's root, so hydration never touches it) and the
10612
+ * head pair (style + script). Idempotent. `scope` = the site's scope for the tab's memory (the org).
10613
+ */
10614
+ function mountPreloader(doc, plan, content, scope) {
10615
+ if (doc.querySelector(`.${PRELOADER_CLASS}`))
10616
+ return;
10617
+ // The layer first: a page whose layer cannot be built gets no head pair either (never a script with nothing to show).
10618
+ const layer = buildPreloaderLayer(doc, plan, content);
10619
+ const head = doc.head ?? doc.documentElement;
10620
+ const style = doc.createElement('style');
10621
+ style.id = STYLE_ID;
10622
+ style.textContent = PRELOADER_CSS;
10623
+ const script = doc.createElement('script');
10624
+ script.textContent = preloaderHeadScript(scope, plan.capMs);
10625
+ head.appendChild(style);
10626
+ head.appendChild(script);
10627
+ const body = doc.body ?? doc.documentElement;
10628
+ body.insertBefore(layer, body.firstChild);
10629
+ }
10630
+
10104
10631
  /**
10105
10632
  * page-style — the ONE compiler that turns a page's style settings into CSS.
10106
10633
  *
@@ -12724,5 +13251,5 @@ function attachTooltips(root, options = {}) {
12724
13251
  * Generated bundle index. Do not edit.
12725
13252
  */
12726
13253
 
12727
- export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, 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, ELEMENT_STYLE_TRANSITION_EXTRAS, 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, 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, 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, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, 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, 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, animateAction, applyBindingPipes, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, 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, entrancePreStateStyle, entranceStartsHidden, feelFor, fieldLanguage, finalKeyframe, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerShouldHide, hideFromTopLayer, hidingHeadersIn, initialSlotValues, interactionMarkerAttributes, isActionEnabled, isBoundProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, 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, playsOnScroll, popoverPanelAttributes, popoverSide, prefersReducedMotion, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, safeSetInput, scrollActionKind, scrollMotionEnv, 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, viewportTransitionContext, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
13254
+ export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, 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, ELEMENT_STYLE_TRANSITION_EXTRAS, 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, 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, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, 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, 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, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, 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, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerShouldHide, hideFromTopLayer, hidingHeadersIn, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, 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, 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, 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 };
12728
13255
  //# sourceMappingURL=vectoriox-iox-ui.mjs.map