@vectoriox/iox-ui 5.107.0 → 5.108.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.
@@ -3,7 +3,7 @@ import { formPresetById, FormPresetId, FormAfterSend, FORM_AFTER_SEND_TRAIT, FOR
3
3
  import { normalizeFrameSequence, filmScreensFor, FILM_PREPARED_PICTURES, FrameExtension } from '@vectoriox/iox-ui/media-core';
4
4
  import { SEO_DESCRIPTION_MAX, SEO_TITLE_MAX } from '@vectoriox/iox-ui/seo-core';
5
5
  import { VARIANT_NAME_SEPARATOR, CheckoutGateCode, labelIn } from '@vectoriox/iox-ui/commerce-core';
6
- import { pickTabsAutoBinds, pickAccordionAutoBinds, ShopRole, AccountRole, NO_ELEMENT_STYLE, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, buildMarqueeRecipe, SceneRole, segmentedOptions, ITEM_OPEN_STATE, CardPart, CardRole, CardLayout, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildCardRecipe, findByRole, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, ACCORDION_WORDS, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, TABS_WORDS, tabsTriggers, tabLabelNodeOf, TABS_LABEL_BIND_PROP, tabsPanels, tabPanelTextOf, TABS_TEXT_BIND_PROP, tabPanelImageOf, tabsListOf, tabsPanelsOf, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, ShopRecipe, ShopBindTarget, SHOP_RECIPES, bindShopPart, ACCOUNT_RECIPES, AccountRecipe, buildCarouselRecipe, SLIDE_TYPE, buildLightboxRecipe, LIGHTBOX_LABEL, SLIDE_TO_ROW, setHeaderBehaviour } from '@vectoriox/iox-ui/composite-core';
6
+ import { pickTabsAutoBinds, pickAccordionAutoBinds, ShopRole, AccountRole, NO_ELEMENT_STYLE, CardPart, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, buildCardRecipe, CardLayout, findByRole, CardRole, buildMarqueeRecipe, SceneRole, segmentedOptions, ITEM_OPEN_STATE, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, ACCORDION_WORDS, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, TABS_WORDS, tabsTriggers, tabLabelNodeOf, TABS_LABEL_BIND_PROP, tabsPanels, tabPanelTextOf, TABS_TEXT_BIND_PROP, tabPanelImageOf, tabsListOf, tabsPanelsOf, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, ShopRecipe, ShopBindTarget, SHOP_RECIPES, bindShopPart, ACCOUNT_RECIPES, AccountRecipe, buildCarouselRecipe, SLIDE_TYPE, buildLightboxRecipe, LIGHTBOX_LABEL, SLIDE_TO_ROW, setHeaderBehaviour } from '@vectoriox/iox-ui/composite-core';
7
7
  import { ParallaxDepth, parallaxShift, rangeDistance, ScrollRange, normalizeParallaxPhone, parallaxRest, rangeProgress, parallaxOffset } from '@vectoriox/iox-ui/scene-core';
8
8
  import { ELEMENT_ACTION_DESCRIPTORS, resolveActionAvailability } from '@vectoriox/iox-ui/actions-core';
9
9
 
@@ -15476,6 +15476,61 @@ var LayoutNavKind;
15476
15476
  LayoutNavKind["Index"] = "index";
15477
15477
  LayoutNavKind["Side"] = "side";
15478
15478
  })(LayoutNavKind || (LayoutNavKind = {}));
15479
+ /** List ingredients (list-ingredients-plan.md §2): the seven choices a list section mixes. Held equal to the contract's
15480
+ * `site.layout.list` by layout-language.spec. */
15481
+ var LayoutListItem;
15482
+ (function (LayoutListItem) {
15483
+ LayoutListItem["Photo"] = "photo";
15484
+ LayoutListItem["Card"] = "card";
15485
+ })(LayoutListItem || (LayoutListItem = {}));
15486
+ var LayoutListArrange;
15487
+ (function (LayoutListArrange) {
15488
+ LayoutListArrange["Row"] = "row";
15489
+ LayoutListArrange["Grid"] = "grid";
15490
+ LayoutListArrange["Masonry"] = "masonry";
15491
+ LayoutListArrange["Strips"] = "strips";
15492
+ LayoutListArrange["Deck"] = "deck";
15493
+ })(LayoutListArrange || (LayoutListArrange = {}));
15494
+ var LayoutListWho;
15495
+ (function (LayoutListWho) {
15496
+ LayoutListWho["None"] = "none";
15497
+ LayoutListWho["Middle"] = "middle";
15498
+ LayoutListWho["First"] = "first";
15499
+ LayoutListWho["Pointed"] = "pointed";
15500
+ })(LayoutListWho || (LayoutListWho = {}));
15501
+ var LayoutListHow;
15502
+ (function (LayoutListHow) {
15503
+ LayoutListHow["Bigger"] = "bigger";
15504
+ LayoutListHow["Wider"] = "wider";
15505
+ LayoutListHow["Raised"] = "raised";
15506
+ LayoutListHow["Brighter"] = "brighter";
15507
+ })(LayoutListHow || (LayoutListHow = {}));
15508
+ var LayoutListMove;
15509
+ (function (LayoutListMove) {
15510
+ LayoutListMove["Arrows"] = "arrows";
15511
+ LayoutListMove["Drag"] = "drag";
15512
+ LayoutListMove["Auto"] = "auto";
15513
+ LayoutListMove["Page"] = "page";
15514
+ })(LayoutListMove || (LayoutListMove = {}));
15515
+ var LayoutListHover;
15516
+ (function (LayoutListHover) {
15517
+ LayoutListHover["Rise"] = "rise";
15518
+ LayoutListHover["Open"] = "open";
15519
+ LayoutListHover["Zoom"] = "zoom";
15520
+ LayoutListHover["Dim"] = "dim";
15521
+ })(LayoutListHover || (LayoutListHover = {}));
15522
+ var LayoutListArrive;
15523
+ (function (LayoutListArrive) {
15524
+ LayoutListArrive["Together"] = "together";
15525
+ LayoutListArrive["OneByOne"] = "one-by-one";
15526
+ LayoutListArrive["SlideIn"] = "slide-in";
15527
+ })(LayoutListArrive || (LayoutListArrive = {}));
15528
+ var LayoutListPhone;
15529
+ (function (LayoutListPhone) {
15530
+ LayoutListPhone["Swipe"] = "swipe";
15531
+ LayoutListPhone["Stack"] = "stack";
15532
+ LayoutListPhone["TwoUp"] = "two-up";
15533
+ })(LayoutListPhone || (LayoutListPhone = {}));
15479
15534
  /** How far a composed page breaks the usual layout (M8-G2-D5: follows How animated and the type's ceiling). */
15480
15535
  var LayoutDial;
15481
15536
  (function (LayoutDial) {
@@ -15771,8 +15826,8 @@ function driftOverlap(a, b, view, clip) {
15771
15826
  * laptop's screen with nothing on it, an opening with no display. Estimates on the check's laptop (1440 × 900), the
15772
15827
  * render check measures the real page. Pure.
15773
15828
  */
15774
- const L$1 = SPEC_SITE_LAYOUT;
15775
- const LIM$1 = L$1.limits;
15829
+ const L$2 = SPEC_SITE_LAYOUT;
15830
+ const LIM$1 = L$2.limits;
15776
15831
  /**
15777
15832
  * The laptop the estimates are made on (the render check's 1440 × 900). A grid column is taken as 1440 / 12 px and a row
15778
15833
  * as its section's screens × 900 / rows (a held section's grid is its one-screen stage): the gutter and the column gaps
@@ -15813,7 +15868,7 @@ function layoutTextFits(l, s, size = l.size) {
15813
15868
  const text = textOf$2(l);
15814
15869
  if (!isText$1(l) || !size || size === LayoutSize.Screen || !text)
15815
15870
  return true;
15816
- const px = L$1.sizePx[size];
15871
+ const px = L$2.sizePx[size];
15817
15872
  const box = layoutBoxPx(l.col, l.row, s);
15818
15873
  const lines = Math.floor(box.h / (px * LAYOUT_LINE_HEIGHT));
15819
15874
  const items = l.kind === LayoutLayerKind.List ? Math.max(1, l.items?.length ?? 1) : 1;
@@ -15869,7 +15924,7 @@ function layoutHeldStill(s) {
15869
15924
  * the lead first, then by size. -1: none.
15870
15925
  */
15871
15926
  function layoutStillLine(s) {
15872
- const sizes = Object.keys(L$1.sizePx);
15927
+ const sizes = Object.keys(L$2.sizePx);
15873
15928
  const found = (s.layers ?? [])
15874
15929
  .map((l, li) => ({ l, li }))
15875
15930
  .filter(({ l }) => LAYOUT_KINETIC_KINDS.has(l.kind) && wordsOf$2(l.text) >= 2 && wordsOf$2(l.text) <= LIM$1.kineticWords)
@@ -15909,7 +15964,7 @@ function inkOf(s, li, rowPx) {
15909
15964
  let h = BUTTON_PX;
15910
15965
  if (isText$1(l)) {
15911
15966
  const text = textOf$2(l);
15912
- const px = L$1.sizePx[(l.size ?? LayoutSize.M)] ?? L$1.sizePx.m;
15967
+ const px = L$2.sizePx[(l.size ?? LayoutSize.M)] ?? L$2.sizePx.m;
15913
15968
  const w = Math.max(1, span$1(l.col) * COLUMN_PX$1);
15914
15969
  const items = l.kind === LayoutLayerKind.List ? Math.max(1, l.items?.length ?? 1) : 1;
15915
15970
  const lines = Math.max(items, Math.ceil((text.length * px * advanceOf(text)) / (w * LIM$1.textFitSlack)));
@@ -16008,7 +16063,7 @@ function layoutOpeningDisplayMend(page) {
16008
16063
  if (li < 0)
16009
16064
  return null;
16010
16065
  const lead = first.layers[li];
16011
- if (textOf$2(lead).length > L$1.maxChars.xl)
16066
+ if (textOf$2(lead).length > L$2.maxChars.xl)
16012
16067
  return null;
16013
16068
  const small = lead.size !== LayoutSize.Xl && lead.size !== LayoutSize.Xxl;
16014
16069
  return small && layoutTextFits(lead, first, LayoutSize.Xl) ? { layer: li, size: LayoutSize.Xl } : { layer: li };
@@ -16094,12 +16149,41 @@ var LayoutGapCode;
16094
16149
  LayoutGapCode["FormPreset"] = "form-preset";
16095
16150
  /** A gallery naming a list with no pictures and no slides of its own shows photo boxes (iox-ui#59). */
16096
16151
  LayoutGapCode["GalleryNoPictures"] = "gallery-no-pictures";
16152
+ /** List ingredients: an arrangement or a feel the product draws in a later phase (strips LI3, deck and standing out
16153
+ * LI4) — the list is laid out as the nearest one it has. */
16154
+ LayoutGapCode["ListLater"] = "list-later";
16155
+ /** A list item that rises or zooms under the mouse links somewhere (decision D3): this one has nowhere to go. */
16156
+ LayoutGapCode["ListUnlinked"] = "list-unlinked";
16157
+ /** A list section naming a list the composer was not told how to read (no `listOf`): today's gallery instead. */
16158
+ LayoutGapCode["ListUnbound"] = "list-unbound";
16097
16159
  })(LayoutGapCode || (LayoutGapCode = {}));
16098
16160
  var LayoutColourMode;
16099
16161
  (function (LayoutColourMode) {
16100
16162
  LayoutColourMode["Light"] = "light";
16101
16163
  LayoutColourMode["Dark"] = "dark";
16102
16164
  })(LayoutColourMode || (LayoutColourMode = {}));
16165
+ /** List ingredients (LI1): the roles a composed list's nodes play — read by the shared CSS (iox-design.css), never by a
16166
+ * renderer: the list's frame (`list.dim` when the others dim under the mouse), a masonry wall's Repeater, and an item
16167
+ * that is a picture (a card item is a Card v2, `card`). */
16168
+ var LayoutListRole;
16169
+ (function (LayoutListRole) {
16170
+ LayoutListRole["List"] = "list";
16171
+ LayoutListRole["Dim"] = "list.dim";
16172
+ LayoutListRole["Masonry"] = "list.masonry";
16173
+ LayoutListRole["MasonryTwo"] = "list.masonry-two";
16174
+ LayoutListRole["Item"] = "list.item";
16175
+ })(LayoutListRole || (LayoutListRole = {}));
16176
+ /** A list role → the Card v2 part that shows it (the title is the card's locked title; `link` links the card). */
16177
+ const LIST_CARD_PART = {
16178
+ image: CardPart.Media,
16179
+ logo: CardPart.Logo,
16180
+ icon: CardPart.Icon,
16181
+ meta: CardPart.Eyebrow,
16182
+ date: CardPart.Eyebrow,
16183
+ summary: CardPart.Text,
16184
+ quote: CardPart.Quote,
16185
+ person: CardPart.Person,
16186
+ };
16103
16187
  const COMPOSED$1 = { releaseLayoutDefaults: true };
16104
16188
  /** The boxes a gallery shows when it has nothing to show (the check's fewest slides). */
16105
16189
  const EMPTY_GALLERY_BOXES = 3;
@@ -16459,6 +16543,11 @@ function photoLayer(id, l, ctx, path) {
16459
16543
  }
16460
16544
  function galleryLayer(id, l, lc, ctx) {
16461
16545
  const g = l.gallery ?? { slides: [] };
16546
+ const list = listOfLayer(l, ctx);
16547
+ if (list)
16548
+ return composeList(id, l, g.list, g.source, list, lc, ctx);
16549
+ if (g.list)
16550
+ gap(ctx, LayoutGapCode.ListUnbound, `${lc.path}.gallery.list`, `${g.source ?? 'no list'}: not a list the page can read — shown as a gallery`);
16462
16551
  const frame = create$1(id, T.Container, {}, NO_ELEMENT_STYLE);
16463
16552
  setStyleProps(frame, { position: 'relative' });
16464
16553
  phone(frame, { height: 'auto' });
@@ -16541,6 +16630,195 @@ function galleryLayer(id, l, lc, ctx) {
16541
16630
  frame.children = [slider];
16542
16631
  return frame;
16543
16632
  }
16633
+ // ── List ingredients (list-ingredients-plan.md, LI1) ───────────────────────────────────────────────────────────
16634
+ /** The width a row's card takes: three across a laptop, most of a phone's width with the next one peeking. */
16635
+ const LIST_ROW_SLIDE = `calc((100% - ${2 * SLIDE_GAP}px) / 3)`;
16636
+ const LIST_ROW_SLIDE_PHONE = '82%';
16637
+ const LIST_GAP = 'var(--iox-space-gap)';
16638
+ const LIST_PHOTO_ASPECT = '4 / 3';
16639
+ /** A row or a deck turns by itself this often (the wire's autoplay). */
16640
+ const LIST_AUTOPLAY_MS = 5000;
16641
+ /** How far apart items arrive one by one (ms, before the pace), and after how many the stagger stops growing. */
16642
+ const LIST_STAGGER = 90;
16643
+ const LIST_STAGGER_CAP = 6;
16644
+ const LIST_SLIDE_DISTANCE = 48;
16645
+ const ROUTE_PARAM_PROP = 'routeParam:';
16646
+ /** The list a gallery layer shows by its mix, or null: no mix, no source, or a source the page cannot read. */
16647
+ function listOfLayer(l, ctx) {
16648
+ const g = l.gallery;
16649
+ return g?.list && g.source ? ctx.listOf(g.source) : null;
16650
+ }
16651
+ /** How many columns a grid of items takes in a cell `span` columns wide: three across most of the page, fewer in less room. */
16652
+ function listColumns(span) {
16653
+ return span >= 9 ? 3 : span >= 5 ? 2 : 1;
16654
+ }
16655
+ /** An item's way in, as the ONE interaction runtime plays it: together, one after another, or sliding in from the side
16656
+ * the page reads from (mirrored in RTL). A Repeater's rows take their share of the stagger at runtime. */
16657
+ function listArriveInteraction(nodeId, arrive, ctx) {
16658
+ const duration = ctx.pace.support;
16659
+ const stagger = Math.round(LIST_STAGGER * ctx.pace.gap);
16660
+ const action = arrive === LayoutListArrive.Together ? { type: 'fadeIn', params: {} }
16661
+ : arrive === LayoutListArrive.SlideIn ? { type: ctx.rtl ? 'moveRight' : 'moveLeft', params: { distance: LIST_SLIDE_DISTANCE, stagger, cap: LIST_STAGGER_CAP } }
16662
+ : { type: 'moveUp', params: { distance: LAYOUT_RISE[LayoutRole.Support], stagger, cap: LIST_STAGGER_CAP } };
16663
+ return {
16664
+ id: `${nodeId}-enter`,
16665
+ trigger: 'viewportEnter',
16666
+ actions: [{ type: action.type, target: 'self', duration, delay: 0, easing: ctx.ease, once: true, ...(Object.keys(action.params).length ? { params: action.params } : {}) }],
16667
+ };
16668
+ }
16669
+ /** An item's link to its own page: the page's route, its param filled from the row's field. */
16670
+ function linkToDetail(node, source, detail) {
16671
+ setProp$1(node, 'linkType', LinkType.Page);
16672
+ setProp$1(node, 'pageRoute', detail.route);
16673
+ node.bindings.push({ prop: `${ROUTE_PARAM_PROP}${detail.param}`, source, path: detail.field });
16674
+ }
16675
+ /** A card item: Card v2 (the palette's recipe) with a part per role the mix shows, each bound to the row's field. */
16676
+ function listCard(id, mix, source, list, masonry, path, ctx) {
16677
+ const shown = new Set(mix.parts.filter(r => !!list.roles[r]));
16678
+ const field = (role) => (shown.has(role) ? list.roles[role] : undefined);
16679
+ const eyebrow = field('meta') ?? field('date');
16680
+ const partOn = (part, role) => [part, !!role];
16681
+ const parts = Object.fromEntries([
16682
+ partOn(CardPart.Media, field('image')), partOn(CardPart.Logo, field('logo')), partOn(CardPart.Icon, field('icon')),
16683
+ partOn(CardPart.Eyebrow, eyebrow), partOn(CardPart.Text, field('summary')), partOn(CardPart.Quote, field('quote')),
16684
+ partOn(CardPart.Person, field('person')), [CardPart.Badge, false], [CardPart.Actions, false],
16685
+ ]);
16686
+ const card = buildCardRecipe(partFactory(id), { layout: CardLayout.Top, parts });
16687
+ card.id = id;
16688
+ const bind = (role, prop, f) => {
16689
+ const part = findByRole(card, role);
16690
+ if (!part || !f)
16691
+ return part;
16692
+ const node = role === CardRole.Media ? part.children?.find(c => c.type === T.Image) : part;
16693
+ node?.bindings.push({ prop, source, path: f });
16694
+ return node;
16695
+ };
16696
+ const title = list.roles['title'];
16697
+ const image = bind(CardRole.Media, 'src', field('image'));
16698
+ if (image && title)
16699
+ image.bindings.push({ prop: 'alt', source, path: title });
16700
+ // A wall keeps every picture's own shape.
16701
+ if (image && masonry)
16702
+ setStyleProps(image, { aspectRatio: 'auto', height: 'auto' });
16703
+ const logo = bind(CardRole.Logo, 'src', field('logo'));
16704
+ if (logo && title)
16705
+ logo.bindings.push({ prop: 'alt', source, path: title });
16706
+ bind(CardRole.Icon, 'iconClass', field('icon'));
16707
+ bind(CardRole.Eyebrow, 'content', eyebrow);
16708
+ bind(CardRole.Text, 'content', field('summary'));
16709
+ bind(CardRole.Quote, 'content', field('quote'));
16710
+ bind(CardRole.Person, 'content', field('person'));
16711
+ const heading = bind(CardRole.Title, 'content', title);
16712
+ // The whole card links (the stretched link, through its title): to the item's own page, else to the address the list
16713
+ // keeps for it when the mix shows it. A card that rises or zooms under the mouse and links nowhere is said (D3).
16714
+ if (heading && list.detail)
16715
+ linkToDetail(heading, source, list.detail);
16716
+ else if (heading && field('link')) {
16717
+ setProp$1(heading, 'linkType', LinkType.External);
16718
+ heading.bindings.push({ prop: 'url', source, path: field('link') });
16719
+ }
16720
+ else if (mix.hover.some(h => h === LayoutListHover.Rise || h === LayoutListHover.Zoom)) {
16721
+ gap(ctx, LayoutGapCode.ListUnlinked, path, `${source}: its items link nowhere, so they neither rise nor zoom (D3)`);
16722
+ }
16723
+ return card;
16724
+ }
16725
+ /** A picture item: the row's picture, linked to its own page when the plan has one. */
16726
+ function listPhoto(id, source, list, masonry) {
16727
+ const item = create$1(id, list.detail ? 'LinkedContainer' : T.Container, {}, NO_ELEMENT_STYLE);
16728
+ item.role = LayoutListRole.Item;
16729
+ setStyleProps(item, { position: 'relative', display: 'block', width: FULL, overflow: 'hidden' });
16730
+ if (list.detail)
16731
+ linkToDetail(item, source, list.detail);
16732
+ const image = create$1(`${id}-img`, T.Image, { src: '', alt: '' }, 'media');
16733
+ setStyleProps(image, { display: 'block', width: FULL, maxWidth: 'none', height: 'auto', aspectRatio: masonry ? 'auto' : LIST_PHOTO_ASPECT, objectFit: 'cover' });
16734
+ if (list.roles['image'])
16735
+ image.bindings.push({ prop: 'src', source, path: list.roles['image'] });
16736
+ if (list.roles['title'])
16737
+ image.bindings.push({ prop: 'alt', source, path: list.roles['title'] });
16738
+ item.children = [image];
16739
+ return item;
16740
+ }
16741
+ /**
16742
+ * THE list composer (LI1): a gallery layer whose mix names a list → the list's items as ordinary nodes — a Slider over
16743
+ * the list (`row`), or a Repeater laid as a grid or as a wall (`masonry`), its ONE template a Card v2 (the palette's
16744
+ * recipe) or a picture, each part bound to the row's field by role. The feels are the shared CSS's and the look's tokens
16745
+ * (`list.dim`, a linked card's lift and zoom), the arrival the ONE interaction runtime's. What a later phase draws
16746
+ * (strips, deck, standing out) is laid out as the nearest arrangement and said. Pure.
16747
+ */
16748
+ function composeList(id, l, mix, source, list, lc, ctx) {
16749
+ const frame = create$1(id, T.Container, {}, NO_ELEMENT_STYLE);
16750
+ frame.role = mix.hover.includes(LayoutListHover.Dim) ? LayoutListRole.Dim : LayoutListRole.List;
16751
+ setStyleProps(frame, { position: 'relative' });
16752
+ phone(frame, { height: 'auto' });
16753
+ const scheme = layoutBandScheme(lc.section.ground);
16754
+ if (scheme)
16755
+ setColorScheme(frame, scheme);
16756
+ let arrange = mix.arrange;
16757
+ if (arrange === LayoutListArrange.Strips || arrange === LayoutListArrange.Deck) {
16758
+ const nearest = arrange === LayoutListArrange.Deck ? LayoutListArrange.Row : LayoutListArrange.Grid;
16759
+ gap(ctx, LayoutGapCode.ListLater, `${lc.path}.gallery.list.arrange`, `${arrange} is drawn in a later phase: laid out as a ${nearest}`);
16760
+ arrange = nearest;
16761
+ }
16762
+ if (mix.standout && mix.standout.who !== LayoutListWho.None) {
16763
+ gap(ctx, LayoutGapCode.ListLater, `${lc.path}.gallery.list.standout`, `standing out (${mix.standout.who}) is drawn in a later phase`);
16764
+ }
16765
+ const masonry = arrange === LayoutListArrange.Masonry;
16766
+ const item = mix.item === LayoutListItem.Card
16767
+ ? listCard(`${id}-item`, mix, source, list, masonry, lc.path, ctx)
16768
+ : listPhoto(`${id}-item`, source, list, masonry);
16769
+ item.interactions = [...item.interactions, listArriveInteraction(item.id, mix.arrive, ctx)];
16770
+ if (arrange === LayoutListArrange.Row) {
16771
+ const scrollPlays = mix.move.includes(LayoutListMove.Page) && !lc.held;
16772
+ const played = scrollPlays || lc.held;
16773
+ const drag = mix.move.includes(LayoutListMove.Drag);
16774
+ const slider = create$1(`${id}-slider`, T.Slider, {
16775
+ dir: ctx.rtl ? 'rtl' : 'ltr', effect: 'slide', slidesPerView: 'auto', spaceBetween: SLIDE_GAP,
16776
+ centeredSlides: mix.standout?.who === LayoutListWho.Middle, loop: 'off', freeMode: drag && !played, grabCursor: drag && !played,
16777
+ speed: GALLERY_SPEED, enableParallax: false, enableAutoplay: mix.move.includes(LayoutListMove.Auto) && !played,
16778
+ autoplayDelay: LIST_AUTOPLAY_MS, autoplayDisableOnInteraction: true, enableKeyboard: true, scrollPlays,
16779
+ enableCaption: false, enableCount: false, enableNavigation: mix.move.includes(LayoutListMove.Arrows) && !played,
16780
+ [SLIDER_PLACEMENT_TRAIT]: SliderPlacement.Under, ariaLabel: l.text ?? '',
16781
+ }, NO_ELEMENT_STYLE);
16782
+ slider.bindings.push({ prop: 'source', source, path: '' });
16783
+ setStyleProps(slider, scrollPlays ? { width: FULL, height: FULL, minHeight: ZERO$1 } : {
16784
+ position: 'absolute', top: ZERO$1, right: ZERO$1, bottom: ZERO$1, left: ZERO$1, width: FULL, height: FULL, minHeight: ZERO$1,
16785
+ display: 'flex', flexDirection: 'column',
16786
+ });
16787
+ phone(slider, scrollPlays ? { height: 'auto' } : { position: 'relative', height: 'auto' });
16788
+ if (mix.phone !== LayoutListPhone.Swipe)
16789
+ gap(ctx, LayoutGapCode.ListLater, `${lc.path}.gallery.list.phone`, `a row stays a row you swipe on a phone (${mix.phone} is a grid's)`);
16790
+ const slide = create$1(`${id}-slide`, T.Slide, { caption: '' }, NO_ELEMENT_STYLE);
16791
+ setStyleProps(slide, { width: LIST_ROW_SLIDE, height: FULL, display: 'flex', aspectRatio: 'auto' });
16792
+ phone(slide, { width: LIST_ROW_SLIDE_PHONE });
16793
+ slide.children = [item];
16794
+ slider.children = [slide];
16795
+ syncSliderParts(slider, partFactory(`${id}-slider`));
16796
+ walkSerialized([slider], node => {
16797
+ if (node.role === SliderRole.Prev || node.role === SliderRole.Next)
16798
+ node.props[LAYOUT_TOOLTIP_TRAIT] = node.props['ariaLabel'];
16799
+ });
16800
+ frame.children = [slider];
16801
+ return frame;
16802
+ }
16803
+ const items = create$1(`${id}-items`, 'Repeater', {}, 'box');
16804
+ items.bindings.push({ prop: 'source', source, path: '' });
16805
+ const columns = listColumns((l.col?.[1] ?? 13) - (l.col?.[0] ?? 1));
16806
+ if (masonry) {
16807
+ // A wall: CSS columns over the rows (iox-design.css), as many as the room holds — never a breakpoint, so the
16808
+ // canvas's frame and the live page agree; `two-up` keeps two on a phone.
16809
+ items.role = mix.phone === LayoutListPhone.TwoUp ? LayoutListRole.MasonryTwo : LayoutListRole.Masonry;
16810
+ setStyleProps(items, { display: 'block', width: FULL });
16811
+ }
16812
+ else {
16813
+ setStyleProps(items, { display: 'grid', gridTemplateColumns: `repeat(${columns}, minmax(0, 1fr))`, gap: LIST_GAP, alignItems: 'stretch', width: FULL });
16814
+ phone(items, { gridTemplateColumns: mix.phone === LayoutListPhone.TwoUp ? 'repeat(2, minmax(0, 1fr))' : 'minmax(0, 1fr)' });
16815
+ if (mix.phone === LayoutListPhone.Swipe)
16816
+ gap(ctx, LayoutGapCode.ListLater, `${lc.path}.gallery.list.phone`, 'a grid stacks on a phone; only a row swipes');
16817
+ }
16818
+ items.children = [item];
16819
+ frame.children = [items];
16820
+ return frame;
16821
+ }
16544
16822
  /** Recipe parts stamped with this composer's ids (`<id>-<key>`). */
16545
16823
  function partFactory(id) {
16546
16824
  return spec => create$1(`${id}-${spec.key}`, spec.type, { ...(spec.props ?? {}) }, spec.elementStyle ?? null);
@@ -16694,7 +16972,9 @@ function composeLayer(l, lc, ctx) {
16694
16972
  gap(ctx, LayoutGapCode.UnheldMotion, lc.path, 'motion tracks on a section that is not held are dropped');
16695
16973
  }
16696
16974
  const interactions = [];
16697
- if (!(lc.held && l.kinetic && textual)) {
16975
+ // A list's items arrive on their own (its mix's `arrive`): the frame never enters on top of them.
16976
+ const itemsArrive = l.kind === LayoutLayerKind.Gallery && !!listOfLayer(l, ctx);
16977
+ if (!(lc.held && l.kinetic && textual) && !itemsArrive) {
16698
16978
  const enter = enterInteraction(entering.id, l, ctx, lc.path, textual);
16699
16979
  if (enter)
16700
16980
  entering.interactions = [...entering.interactions, enter];
@@ -16954,6 +17234,7 @@ function composeLayout(site, options) {
16954
17234
  photoAlt: options.photoAlt ?? (() => ''),
16955
17235
  photoAspect: id => LAYOUT_PHOTO_ASPECT[(options.photoShape?.(id) ?? LayoutPhotoShape.Landscape)] ?? LAYOUT_PHOTO_ASPECT[LayoutPhotoShape.Landscape],
16956
17236
  sourceFields: options.sourceFields ?? (() => null),
17237
+ listOf: options.listOf ?? (() => null),
16957
17238
  links: [],
16958
17239
  headingSeen: false,
16959
17240
  };
@@ -17323,6 +17604,28 @@ function layoutListShapes(plan) {
17323
17604
  return { alias: d.alias, label: type?.label ?? d.alias, items: typeof count === 'number' && count > 0 ? count : null, roles: played, long };
17324
17605
  });
17325
17606
  }
17607
+ /**
17608
+ * How the list composer reads one list (LI1, `ComposeLayoutOptions.listOf`): the field that plays each role, and the
17609
+ * plan's page that shows one item — its route, its param and the item's field that fills it. Null for an alias that is
17610
+ * no list (the plan's query sources, as `layoutListShapes`).
17611
+ */
17612
+ function layoutListBinding(alias, plan) {
17613
+ const ds = plan.dataSources.find(d => d.alias === alias);
17614
+ if (!ds || ds.type !== PlanDataSourceType.Cms || ds.mode !== PlanDataSourceMode.Query)
17615
+ return null;
17616
+ const type = contentTypeOfSource(alias, plan);
17617
+ const roles = {};
17618
+ for (const role of Object.values(ContentRole)) {
17619
+ const field = roleField(type, role);
17620
+ if (field)
17621
+ roles[role] = field;
17622
+ }
17623
+ const page = type ? plan.pages.find(p => p.template === type.name && !!p.routeSource) : undefined;
17624
+ const byRoute = page ? plan.dataSources.find(d => d.alias === page.routeSource) : undefined;
17625
+ const filter = byRoute && byRoute.type !== PlanDataSourceType.Relative ? byRoute.filterByRouteParam : undefined;
17626
+ const [param] = page ? routeParams(page.route) : [];
17627
+ return { roles, ...(page && filter && param ? { detail: { route: page.route, param, field: filter.field } } : {}) };
17628
+ }
17326
17629
  /** One line of the brief: `works (Works): 6 items · name, picture, detail, quote (long)`. */
17327
17630
  function describeListShape(shape) {
17328
17631
  const roles = shape.roles.map(r => `${LIST_ROLE_WORDS[r]}${shape.long.includes(r) ? ' (long)' : ''}`).join(', ');
@@ -18301,6 +18604,7 @@ function composeLayoutPage(page, layout, plan, context, design, placeholders, re
18301
18604
  const image = roleField(type, 'image');
18302
18605
  return image ? { image, ...(roleField(type, 'title') ? { title: roleField(type, 'title') } : {}) } : null;
18303
18606
  },
18607
+ listOf: alias => layoutListBinding(alias, plan),
18304
18608
  });
18305
18609
  const facts = plan.business.facts ?? {};
18306
18610
  walkSerialized(nodes, node => {
@@ -21805,13 +22109,57 @@ const CHIP_SLOTS = Array.from(new Set(Object.values(V$1.formChips).flat()));
21805
22109
  const SLOT_NAMES = [...V$1.formSlots, ...CHIP_SLOTS];
21806
22110
  const ENTER_ON_WIRE = V$1.enters.flatMap((e) => (e === CLIP ? V$1.sides.map((s) => `${CLIP_SIDE}${s}`) : [e]));
21807
22111
  const VARIANT_ON_WIRE = [NONE, ...V$1.buttonVariants, ...V$1.galleryEffects, ...V$1.formPresets];
22112
+ /**
22113
+ * List ingredients (list-ingredients-plan.md §2, LI1): a list section's mix travels as ONE list of `<ingredient>:<word>`
22114
+ * words (`arrange:strips`, `hover:dim`) and its parts as `<list>.<role>` (`stories.quote`) — two properties, so the
22115
+ * request stays inside the 40 the budget allows, and the parts enum is generated from the plan's own lists: a model
22116
+ * cannot name a part its list does not have (R-H2).
22117
+ */
22118
+ const L$1 = SPEC_SITE_LAYOUT.list;
22119
+ var LayoutMixIngredient;
22120
+ (function (LayoutMixIngredient) {
22121
+ LayoutMixIngredient["Item"] = "item";
22122
+ LayoutMixIngredient["Arrange"] = "arrange";
22123
+ LayoutMixIngredient["Who"] = "who";
22124
+ LayoutMixIngredient["How"] = "how";
22125
+ LayoutMixIngredient["Move"] = "move";
22126
+ LayoutMixIngredient["Hover"] = "hover";
22127
+ LayoutMixIngredient["Arrive"] = "arrive";
22128
+ LayoutMixIngredient["Phone"] = "phone";
22129
+ })(LayoutMixIngredient || (LayoutMixIngredient = {}));
22130
+ const MIX_WORDS = {
22131
+ [LayoutMixIngredient.Item]: L$1.items,
22132
+ [LayoutMixIngredient.Arrange]: L$1.arranges,
22133
+ [LayoutMixIngredient.Who]: L$1.standoutWho,
22134
+ [LayoutMixIngredient.How]: L$1.standoutHow,
22135
+ [LayoutMixIngredient.Move]: L$1.moves,
22136
+ [LayoutMixIngredient.Hover]: L$1.hovers,
22137
+ [LayoutMixIngredient.Arrive]: L$1.arrives,
22138
+ [LayoutMixIngredient.Phone]: L$1.phones,
22139
+ };
22140
+ const MIX_SEPARATOR = ':';
22141
+ const PART_SEPARATOR = '.';
22142
+ /** Every word the wire's `mix` may hold, ingredient by ingredient. */
22143
+ const LAYOUT_MIX_WORDS = Object.keys(MIX_WORDS)
22144
+ .flatMap(k => MIX_WORDS[k].map(w => `${k}${MIX_SEPARATOR}${w}`));
22145
+ /** `<list>.<role>` for every role of every list — what a list section's `parts` may name. */
22146
+ function layoutWirePartWords(lists) {
22147
+ return lists.flatMap(l => l.roles.map(r => `${l.alias}${PART_SEPARATOR}${r}`));
22148
+ }
21808
22149
  const text = (d) => ({ ...jsonText(), description: d });
21809
22150
  const integer = (d) => ({ ...jsonInteger(), description: d });
21810
22151
  const oneOf = (values, d) => ({ ...jsonOneOf(values), description: d });
21811
22152
  const listOf = (items, d) => ({ ...jsonListOf(items), description: d });
21812
22153
  const closed = (properties, d) => jsonClosedObject(properties, Object.keys(properties), d);
21813
- /** The strict format for one composed page. */
21814
- function layoutWireJsonSchema() {
22154
+ /** The strict format for one composed page — with the list ingredients when `options.lists` is given. */
22155
+ function layoutWireJsonSchema(options = {}) {
22156
+ const partWords = options.lists ? layoutWirePartWords(options.lists) : [];
22157
+ const lists = options.lists
22158
+ ? {
22159
+ mix: listOf(jsonOneOf(LAYOUT_MIX_WORDS), "gallery showing a list (source): how its items are shown, one word per choice — item:photo|card · arrange:row|grid|masonry|strips|deck · who:none|middle|first|pointed (which stands out) · how:bigger|wider|raised|brighter · move:… (any; none for a still list) · hover:… (any) · arrive:together|one-by-one|slide-in · phone:swipe|stack|two-up; [] for none"),
22160
+ parts: listOf(jsonOneOf(partWords.length ? partWords : [NONE]), "gallery showing a list as cards: the list's fields each card shows, <list>.<role>, the source's own; [] for none"),
22161
+ }
22162
+ : {};
21815
22163
  const layer = closed({
21816
22164
  kind: oneOf(V$1.kinds, 'what the layer is'),
21817
22165
  role: oneOf(V$1.roles, 'lead: the ONE thing the eye finds first in its section · support: follows it · decoration: only fades · static: never moves'),
@@ -21839,6 +22187,7 @@ function layoutWireJsonSchema() {
21839
22187
  ease: oneOf(V$1.eases, 'how'),
21840
22188
  values: listOf({ type: 'number' }, '[from, to, at0, at1]: values and the part of the hold it plays over (0..1)'),
21841
22189
  }), 'held sections only: tracks the scroll plays; [] for none'),
22190
+ ...lists,
21842
22191
  });
21843
22192
  const section = closed({
21844
22193
  id: text('a short slug, unique on the page'),
@@ -21892,8 +22241,58 @@ function expandGallery(l, flags, variant) {
21892
22241
  gallery.autoplay = LAYOUT_WIRE_AUTOPLAY_MS;
21893
22242
  if (nonEmpty(l['source']))
21894
22243
  gallery.source = String(l['source']).trim();
22244
+ const list = expandListMix(l, gallery);
22245
+ if (list)
22246
+ gallery.list = list;
21895
22247
  return gallery;
21896
22248
  }
22249
+ /** `mix` + `parts` → a list mix, or null when the wire names no mix. Words are kept as written (`checkList` judges them);
22250
+ * parts of another list than the gallery's are left out, and the first part names the list when `source` is empty. */
22251
+ function expandListMix(l, gallery) {
22252
+ const words = strings(l['mix']);
22253
+ if (!words.length)
22254
+ return null;
22255
+ const picked = new Map();
22256
+ for (const w of words) {
22257
+ const at = w.indexOf(MIX_SEPARATOR);
22258
+ if (at > 0)
22259
+ (picked.get(w.slice(0, at)) ?? picked.set(w.slice(0, at), []).get(w.slice(0, at))).push(w.slice(at + 1));
22260
+ }
22261
+ const one = (k) => picked.get(k)?.[0];
22262
+ const parts = strings(l['parts']).filter(p => p !== NONE).map(p => {
22263
+ const at = p.lastIndexOf(PART_SEPARATOR);
22264
+ return at > 0 ? { list: p.slice(0, at), role: p.slice(at + 1) } : null;
22265
+ }).filter((p) => !!p);
22266
+ if (!gallery.source && parts[0])
22267
+ gallery.source = parts[0].list;
22268
+ const own = parts.filter(p => p.list === gallery.source).map(p => p.role);
22269
+ const arrange = (one(LayoutMixIngredient.Arrange) ?? LayoutListArrange.Row);
22270
+ const who = one(LayoutMixIngredient.Who);
22271
+ const how = one(LayoutMixIngredient.How);
22272
+ return {
22273
+ item: (one(LayoutMixIngredient.Item) ?? (own.length ? LayoutListItem.Card : LayoutListItem.Photo)),
22274
+ parts: Array.from(new Set(own)),
22275
+ arrange,
22276
+ ...(who && who !== LayoutListWho.None ? { standout: { who: who, ...(how ? { how: how } : {}) } } : {}),
22277
+ move: Array.from(new Set(picked.get(LayoutMixIngredient.Move) ?? [])),
22278
+ hover: Array.from(new Set(picked.get(LayoutMixIngredient.Hover) ?? [])),
22279
+ arrive: (one(LayoutMixIngredient.Arrive) ?? LayoutListArrive.Together),
22280
+ phone: (one(LayoutMixIngredient.Phone) ?? (arrange === LayoutListArrange.Row ? LayoutListPhone.Swipe : LayoutListPhone.Stack)),
22281
+ };
22282
+ }
22283
+ /** A list mix → the wire's `mix` words and `parts`. */
22284
+ function listMixToWire(mix, source) {
22285
+ const w = (k, v) => `${k}${MIX_SEPARATOR}${v}`;
22286
+ return {
22287
+ mix: [
22288
+ w(LayoutMixIngredient.Item, mix.item), w(LayoutMixIngredient.Arrange, mix.arrange),
22289
+ ...(mix.standout ? [w(LayoutMixIngredient.Who, mix.standout.who), ...(mix.standout.how ? [w(LayoutMixIngredient.How, mix.standout.how)] : [])] : []),
22290
+ ...mix.move.map(m => w(LayoutMixIngredient.Move, m)), ...mix.hover.map(h => w(LayoutMixIngredient.Hover, h)),
22291
+ w(LayoutMixIngredient.Arrive, mix.arrive), w(LayoutMixIngredient.Phone, mix.phone),
22292
+ ],
22293
+ parts: mix.parts.map(r => `${source}${PART_SEPARATOR}${r}`),
22294
+ };
22295
+ }
21897
22296
  function expandTrack(t) {
21898
22297
  const v = Array.isArray(t['values']) ? t['values'].map(x => num(x)) : [];
21899
22298
  return { prop: String(t['prop']), from: v[0] ?? 0, to: v[1] ?? 0, at: [v[2] ?? 0, v[3] ?? 1], ease: String(t['ease']) };
@@ -22057,6 +22456,7 @@ function layerToWire(l) {
22057
22456
  perView: typeof g?.perView === 'number' ? g.perView : 0,
22058
22457
  slots,
22059
22458
  motion: (l.motion ?? []).map(t => ({ prop: t.prop, ease: t.ease ?? 'out', values: [t.from, t.to, ...(t.at ?? [0, 1])] })),
22459
+ ...(g?.list ? listMixToWire(g.list, g.source ?? '') : {}),
22060
22460
  };
22061
22461
  }
22062
22462
  /** A layout page (or a saved CL2.1 site's sections) → the wire. */
@@ -24104,5 +24504,5 @@ function layoutRepairJsonSchema() {
24104
24504
  * Generated bundle index. Do not edit.
24105
24505
  */
24106
24506
 
24107
- export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FilmUnplaced, GRAMMAR_TOO_LARGE_MESSAGE, GlobalSlot, HEBREW_PREFIXES, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_OPERATED, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutMendKind, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, MAX_SITE_PICTURES, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, ScrimLevel, SectionFallbackLastResort, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, aiRefusalNext, aiStepParts, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, checkLayout, chooseScrim, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, frameWords, isActiveBuild, isLayoutRule, isNonEmptyString, isPictureWorld, isPlainObject, isRtlLocale, isShopResource, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListShapes, layoutLookChanges, layoutLookOf, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, luminanceOf, measureLayout, mendLayout, modelCanDo, moveBarItem, navPages, navShapeBreakpoint, navShapeOf, nextSourceOf, nodeBindPaths, orientationOfRatio, ownPhotoFit, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pixelsUnder, placeFilm, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, pricesIn, publishRefusal, publishVerdict, readyMadeColumn, recipeListBinds, recomposeAsks, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionEntrances, sectionPatternIds, sectionToWire, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteNavPages, siteSells, slotBudget, splitSide, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withDerivedSources, wordPattern, wordsOverPhotos, wordsOverPicture, writtenTexts };
24507
+ export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FilmUnplaced, GRAMMAR_TOO_LARGE_MESSAGE, GlobalSlot, HEBREW_PREFIXES, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LIST_CARD_PART, LIST_LONG_WORDS, LIST_ROLE_WORDS, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, MAX_SITE_PICTURES, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, ScrimLevel, SectionFallbackLastResort, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, aiRefusalNext, aiStepParts, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, checkLayout, chooseScrim, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, frameWords, isActiveBuild, isLayoutRule, isNonEmptyString, isPictureWorld, isPlainObject, isRtlLocale, isShopResource, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutLookChanges, layoutLookOf, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, luminanceOf, measureLayout, mendLayout, modelCanDo, moveBarItem, navPages, navShapeBreakpoint, navShapeOf, nextSourceOf, nodeBindPaths, orientationOfRatio, ownPhotoFit, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pixelsUnder, placeFilm, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, pricesIn, publishRefusal, publishVerdict, readyMadeColumn, recipeListBinds, recomposeAsks, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionEntrances, sectionPatternIds, sectionToWire, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteNavPages, siteSells, slotBudget, splitSide, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withDerivedSources, wordPattern, wordsOverPhotos, wordsOverPicture, writtenTexts };
24108
24508
  //# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map