@vectoriox/iox-ui 5.149.0 → 5.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +337 -85
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +74 -8
- package/package.json +1 -1
- package/src/generation-core/audit-site.ts +55 -40
- package/src/generation-core/audit-words.ts +294 -0
- package/src/generation-core/compose-site.ts +5 -2
- package/src/generation-core/nav-shape.ts +37 -31
- package/src/generation-core/public-api.ts +1 -0
|
@@ -4,7 +4,7 @@ import { SLIDER_TYPE, badgeToneOf, isAnyCompositeRoot, MarqueeRole, NO_ELEMENT_S
|
|
|
4
4
|
import { formPresetById, ControlType, FIELD_NODE_TYPE, FORM_NODE_TYPE, FormPresetId, FormAfterSend, FORM_AFTER_SEND_TRAIT, FORM_ACTIONS_ROLE, channelOpensNewTab, FORM_CHANNEL_ROLE, presetFormActions, planFormPresetIds, collectFormSpec, isChannelFilled } from '@vectoriox/iox-ui/forms-core';
|
|
5
5
|
import { normalizeFrameSequence, filmScreensFor, FILM_PREPARED_PICTURES, FrameExtension } from '@vectoriox/iox-ui/media-core';
|
|
6
6
|
import { SEO_DESCRIPTION_MAX, SEO_TITLE_MAX } from '@vectoriox/iox-ui/seo-core';
|
|
7
|
-
import { VARIANT_NAME_SEPARATOR,
|
|
7
|
+
import { VARIANT_NAME_SEPARATOR, commerceLanguage, CHECKOUT_GATE_RULES, labelIn, CheckoutGateCode } from '@vectoriox/iox-ui/commerce-core';
|
|
8
8
|
import { ParallaxDepth, parallaxShift, rangeDistance, ScrollRange, normalizeParallaxPhone, parallaxRest, rangeProgress, parallaxOffset, TextRevealBy } from '@vectoriox/iox-ui/scene-core';
|
|
9
9
|
import { SCROLL_PROGRESS_TRIGGER, ELEMENT_ACTION_DESCRIPTORS, actionOfferedUnder, resolveActionAvailability } from '@vectoriox/iox-ui/actions-core';
|
|
10
10
|
import { ConsentCategory } from '@vectoriox/iox-ui/consent-core';
|
|
@@ -20579,7 +20579,7 @@ const enumValues = (e) => Object.values(e);
|
|
|
20579
20579
|
const allowed = (k) => listBuiltWords(k).join(' | ');
|
|
20580
20580
|
const has$1 = (list, v) => list.includes(v);
|
|
20581
20581
|
/** The words a repaired mix is said in (the brief and the owner read them). */
|
|
20582
|
-
const say = (arrange) => listMeaning('arrange', arrange);
|
|
20582
|
+
const say$1 = (arrange) => listMeaning('arrange', arrange);
|
|
20583
20583
|
/** True when the type's art direction forbids nothing. */
|
|
20584
20584
|
const listNeverIsEmpty = (never) => !never || (!never.arranges.length && !never.moves.length);
|
|
20585
20585
|
/**
|
|
@@ -20711,36 +20711,36 @@ function checkList(mix, shape, layer, never, options = {}) {
|
|
|
20711
20711
|
next.arrange = LayoutListArrange.Grid;
|
|
20712
20712
|
}
|
|
20713
20713
|
if (next.arrange === LayoutListArrange.Strips && shape.items !== null && shape.items > R.strips[1]) {
|
|
20714
|
-
repair(`${R.strips[1]} strips fit at most — "${shape.alias}" has ${shape.items}: ${say(LayoutListArrange.Row)}`);
|
|
20714
|
+
repair(`${R.strips[1]} strips fit at most — "${shape.alias}" has ${shape.items}: ${say$1(LayoutListArrange.Row)}`);
|
|
20715
20715
|
next.arrange = LayoutListArrange.Row;
|
|
20716
20716
|
}
|
|
20717
20717
|
// L-D12: the business's art direction — an arrangement its lists never take becomes a row.
|
|
20718
20718
|
const why = never?.say.join(' ') || 'this business never shows a list that way';
|
|
20719
20719
|
if (never && has$1(never.arranges, next.arrange)) {
|
|
20720
|
-
repair(`${why} — ${say(LayoutListArrange.Row)}`);
|
|
20720
|
+
repair(`${why} — ${say$1(LayoutListArrange.Row)}`);
|
|
20721
20721
|
next.arrange = LayoutListArrange.Row;
|
|
20722
20722
|
}
|
|
20723
20723
|
// AW11: round-two arrangements — pictures where they need them, the counts they are drawn at.
|
|
20724
20724
|
const arrangeRefusal = listWordRefusal('arrange', next.arrange, shape);
|
|
20725
20725
|
if (arrangeRefusal === ListWordRefusal.NoPictures) {
|
|
20726
|
-
return [{ code: LayoutIssueCode.Content, path: `${at}.arrange`, message: `${say(next.arrange)} needs a picture in every item — "${shape.alias}" has none; arrange it another way` }];
|
|
20726
|
+
return [{ code: LayoutIssueCode.Content, path: `${at}.arrange`, message: `${say$1(next.arrange)} needs a picture in every item — "${shape.alias}" has none; arrange it another way` }];
|
|
20727
20727
|
}
|
|
20728
20728
|
const count = LIST_RULES.counts[next.arrange];
|
|
20729
20729
|
if (count && shape.items !== null) {
|
|
20730
20730
|
const [fewest, most] = count;
|
|
20731
20731
|
if (shape.items < fewest) {
|
|
20732
20732
|
const instead = next.arrange === LayoutListArrange.Hang ? LayoutListArrange.Masonry : LayoutListArrange.Grid;
|
|
20733
|
-
repair(`${say(next.arrange)} needs ${fewest} items — "${shape.alias}" has ${shape.items}: ${say(instead)}`);
|
|
20733
|
+
repair(`${say$1(next.arrange)} needs ${fewest} items — "${shape.alias}" has ${shape.items}: ${say$1(instead)}`);
|
|
20734
20734
|
next.arrange = instead;
|
|
20735
20735
|
}
|
|
20736
20736
|
else if (shape.items > most) {
|
|
20737
|
-
repair(`${say(next.arrange)} shows the first ${most} of "${shape.alias}"'s ${shape.items}, then the link to all of them`);
|
|
20737
|
+
repair(`${say$1(next.arrange)} shows the first ${most} of "${shape.alias}"'s ${shape.items}, then the link to all of them`);
|
|
20738
20738
|
}
|
|
20739
20739
|
}
|
|
20740
20740
|
if (next.arrange === LayoutListArrange.Bento && shape.items !== null) {
|
|
20741
20741
|
const fill = bentoFill(shape.items);
|
|
20742
20742
|
if (fill === null) {
|
|
20743
|
-
repair(`a bento needs ${LIST_RULES.bento[0]} items — ${say(LayoutListArrange.Grid)}`);
|
|
20743
|
+
repair(`a bento needs ${LIST_RULES.bento[0]} items — ${say$1(LayoutListArrange.Grid)}`);
|
|
20744
20744
|
next.arrange = LayoutListArrange.Grid;
|
|
20745
20745
|
}
|
|
20746
20746
|
else if (fill < shape.items) {
|
|
@@ -20752,7 +20752,7 @@ function checkList(mix, shape, layer, never, options = {}) {
|
|
|
20752
20752
|
repair(`its ${tiltedText.join(' and ')} run long — a turned card shows their first lines`);
|
|
20753
20753
|
const longShown = shape.long.filter(role => next.parts.includes(role));
|
|
20754
20754
|
if (longShown.length && next.arrange === LayoutListArrange.Grid) {
|
|
20755
|
-
repair(`its ${longShown.join(' and ')} run long — a grid would cut them: ${say(LayoutListArrange.Masonry)}`);
|
|
20755
|
+
repair(`its ${longShown.join(' and ')} run long — a grid would cut them: ${say$1(LayoutListArrange.Masonry)}`);
|
|
20756
20756
|
next.arrange = LayoutListArrange.Masonry;
|
|
20757
20757
|
}
|
|
20758
20758
|
const arrange = next.arrange;
|
|
@@ -20811,7 +20811,7 @@ function checkList(mix, shape, layer, never, options = {}) {
|
|
|
20811
20811
|
}
|
|
20812
20812
|
const moving = has$1(R.moving, arrange) || (arrange === LayoutListArrange.Fan && next.move.length > 0);
|
|
20813
20813
|
if (!moving && next.move.length) {
|
|
20814
|
-
repair(`${say(arrange)} does not move — no ${next.move.join(', ')}`);
|
|
20814
|
+
repair(`${say$1(arrange)} does not move — no ${next.move.join(', ')}`);
|
|
20815
20815
|
next.move = [];
|
|
20816
20816
|
}
|
|
20817
20817
|
if (moving) {
|
|
@@ -20834,7 +20834,7 @@ function checkList(mix, shape, layer, never, options = {}) {
|
|
|
20834
20834
|
next.parts = [IMAGE$1];
|
|
20835
20835
|
}
|
|
20836
20836
|
if (!next.move.length) {
|
|
20837
|
-
repair(`${say(arrange)} — the visitor drags it`);
|
|
20837
|
+
repair(`${say$1(arrange)} — the visitor drags it`);
|
|
20838
20838
|
next.move = [LayoutListMove.Drag];
|
|
20839
20839
|
}
|
|
20840
20840
|
}
|
|
@@ -20852,7 +20852,7 @@ function checkList(mix, shape, layer, never, options = {}) {
|
|
|
20852
20852
|
next.hover = next.hover.filter(h => !unread.includes(h));
|
|
20853
20853
|
}
|
|
20854
20854
|
if (next.hover.includes(LayoutListHover.Tilt) && (moving || next.item !== LayoutListItem.Card && next.item !== LayoutListItem.Packshot && next.item !== LayoutListItem.ColourBlock && next.item !== LayoutListItem.Numbered)) {
|
|
20855
|
-
repair(moving ? `${say(arrange)} moves — its card rises instead of turning` : 'only a card turns its ground — it rises instead');
|
|
20855
|
+
repair(moving ? `${say$1(arrange)} moves — its card rises instead of turning` : 'only a card turns its ground — it rises instead');
|
|
20856
20856
|
next.hover = [...new Set(next.hover.map(h => (h === LayoutListHover.Tilt ? LayoutListHover.Rise : h)))];
|
|
20857
20857
|
}
|
|
20858
20858
|
if (new Set(next.hover).size !== next.hover.length)
|
|
@@ -20864,7 +20864,7 @@ function checkList(mix, shape, layer, never, options = {}) {
|
|
|
20864
20864
|
}
|
|
20865
20865
|
// A phone.
|
|
20866
20866
|
if (has$1(R.neverSwipe, arrange) && next.phone === LayoutListPhone.Swipe) {
|
|
20867
|
-
repair(`${say(arrange)} does not swipe on a phone — it stacks`);
|
|
20867
|
+
repair(`${say$1(arrange)} does not swipe on a phone — it stacks`);
|
|
20868
20868
|
next.phone = LayoutListPhone.Stack;
|
|
20869
20869
|
}
|
|
20870
20870
|
// AW11-D6: a stage is a row of cards you swipe on a phone; a fan swipes or stacks.
|
|
@@ -20891,7 +20891,7 @@ function pageListIssues(page) {
|
|
|
20891
20891
|
const path = `sections[${si}].layers[${li}].gallery.list.arrange`;
|
|
20892
20892
|
const first = seen.get(mix.arrange);
|
|
20893
20893
|
if (first)
|
|
20894
|
-
issues.push({ code: LayoutIssueCode.Sameness, path, message: `${first} is already ${say(mix.arrange)} — arrange this list another way` });
|
|
20894
|
+
issues.push({ code: LayoutIssueCode.Sameness, path, message: `${first} is already ${say$1(mix.arrange)} — arrange this list another way` });
|
|
20895
20895
|
else if (leaning && has$1(LIST_RULES.leaning, mix.arrange))
|
|
20896
20896
|
issues.push({ code: LayoutIssueCode.Sameness, path, message: `${leaning} already leans — one leaning list a page; arrange this one straight` });
|
|
20897
20897
|
else
|
|
@@ -23511,14 +23511,12 @@ const NAV_SHAPE_COPY = {
|
|
|
23511
23511
|
more: 'More',
|
|
23512
23512
|
home: 'Home',
|
|
23513
23513
|
};
|
|
23514
|
-
/** The words a `word` menu button SHOWS, in the site's language (HI2a — visible words; the other parts' copy is still
|
|
23515
|
-
* English and editable, as it always was). */
|
|
23516
23514
|
const MENU_WORDS = {
|
|
23517
|
-
en: {
|
|
23518
|
-
he: { menu: 'תפריט', close: 'סגירה' },
|
|
23515
|
+
en: { ...NAV_SHAPE_COPY },
|
|
23516
|
+
he: { menu: 'תפריט', close: 'סגירה', closeMenu: 'סגירת התפריט', more: 'עוד', home: 'בית' },
|
|
23519
23517
|
};
|
|
23520
23518
|
function menuWords(locale) {
|
|
23521
|
-
return MENU_WORDS[locale
|
|
23519
|
+
return MENU_WORDS[commerceLanguage(locale)] ?? MENU_WORDS['en'];
|
|
23522
23520
|
}
|
|
23523
23521
|
/** The layer names of the parts (R2: the tree, the breadcrumb and the toolbar read them). */
|
|
23524
23522
|
const NAV_PART_LABELS = {
|
|
@@ -23753,8 +23751,8 @@ function labelText(kit, suffix, words) {
|
|
|
23753
23751
|
// The menu button and the drawer's Close keep their row's TOP line and their 48px: a business name that wraps to two
|
|
23754
23752
|
// lines makes the row taller, and two centred buttons in rows of different heights part (iox-ui#60).
|
|
23755
23753
|
const MENU_BUTTON_LAY = { width: '48px', height: '48px', alignItems: 'center', justifyContent: 'center', alignSelf: 'flex-start', flexShrink: '0' };
|
|
23756
|
-
function menuButton(kit, drawerId, at) {
|
|
23757
|
-
const btn = part$2(kit, 'menu', BUTTON, { tag: 'button', ariaLabel:
|
|
23754
|
+
function menuButton(kit, drawerId, at, words) {
|
|
23755
|
+
const btn = part$2(kit, 'menu', BUTTON, { tag: 'button', ariaLabel: words.menu }, 'button-ghost', NavRole.MenuButton, { ...MENU_BUTTON_LAY });
|
|
23758
23756
|
btn.children = [iconNode(kit, 'menu-icon', MENU_ICON)];
|
|
23759
23757
|
btn.interactions = [clickTo(kit, 'menu', NavDialogAction.Toggle, drawerId)];
|
|
23760
23758
|
phoneOnly(btn, at, MENU_DISPLAY);
|
|
@@ -23763,13 +23761,13 @@ function menuButton(kit, drawerId, at) {
|
|
|
23763
23761
|
function pageLink$1(kit, suffix, page, role, lay = {}) {
|
|
23764
23762
|
return part$2(kit, suffix, LINK$1, { label: page.label, linkType: LinkType.Page, pageRoute: page.route }, 'link', role, lay);
|
|
23765
23763
|
}
|
|
23766
|
-
function drawer(kit, root, pages, at) {
|
|
23764
|
+
function drawer(kit, root, pages, at, words) {
|
|
23767
23765
|
const dr = part$2(kit, 'drawer', DIALOG$1, {
|
|
23768
|
-
placement: 'end', closeOnBackdrop: true, showCloseButton: false, ariaLabel:
|
|
23766
|
+
placement: 'end', closeOnBackdrop: true, showCloseButton: false, ariaLabel: words.menu, closeAbove: at,
|
|
23769
23767
|
}, 'dialog', NavRole.Drawer, { width: '86vw', maxWidth: '360px', display: 'flex', flexDirection: 'column', gap: '20px' });
|
|
23770
23768
|
const brandWords = textOf$2(find([root], NavRole.Brand) ?? root) || NAV_PART_LABELS[NavRole.Root];
|
|
23771
23769
|
const head = part$2(kit, 'drawer-head', CONTAINER$1, {}, 'box', NavRole.DrawerHead, { display: 'flex', justifyContent: 'space-between', alignItems: 'center', gap: '12px' });
|
|
23772
|
-
const close = part$2(kit, 'drawer-close', BUTTON, { tag: 'button', ariaLabel:
|
|
23770
|
+
const close = part$2(kit, 'drawer-close', BUTTON, { tag: 'button', ariaLabel: words.closeMenu }, 'button-ghost', NavRole.DrawerClose, { ...MENU_BUTTON_LAY });
|
|
23773
23771
|
close.children = [iconNode(kit, 'drawer-close-icon', CLOSE_ICON)];
|
|
23774
23772
|
close.interactions = [clickTo(kit, 'drawer-close', NavDialogAction.Close, dr.id)];
|
|
23775
23773
|
head.children = [part$2(kit, 'drawer-brand', HEADING$1, { content: brandWords, level: 'h3' }, 'h3'), close];
|
|
@@ -23778,7 +23776,7 @@ function drawer(kit, root, pages, at) {
|
|
|
23778
23776
|
// beat one inherited from the list). The links rest at the body weight and the CURRENT page reads by its ink and
|
|
23779
23777
|
// weight (no line since 2026-11-22) — the shared CSS keys that on the list's role (iox-design.css), so no Link holds
|
|
23780
23778
|
// a literal over its element style.
|
|
23781
|
-
list.children = withHome(root, pages).map((p, i) => pageLink$1(kit, `drawer-link-${i}`, p, NavRole.DrawerLink, { display: 'flex', alignItems: 'center', minHeight: '48px', fontSize: 'var(--iox-size-lead)' }));
|
|
23779
|
+
list.children = withHome(root, pages, words).map((p, i) => pageLink$1(kit, `drawer-link-${i}`, p, NavRole.DrawerLink, { display: 'flex', alignItems: 'center', minHeight: '48px', fontSize: 'var(--iox-size-lead)' }));
|
|
23782
23780
|
dr.children = [head, list];
|
|
23783
23781
|
const cta = find([root], NavRole.Cta);
|
|
23784
23782
|
if (cta) {
|
|
@@ -23861,32 +23859,32 @@ const BAR_ITEM_LAY = {
|
|
|
23861
23859
|
display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center', gap: '3px',
|
|
23862
23860
|
flexGrow: '1', flexShrink: '1', flexBasis: '0px', minWidth: '0px', minHeight: '52px', padding: '4px 2px', textDecoration: 'none',
|
|
23863
23861
|
};
|
|
23864
|
-
function moreItem(kit, drawerId) {
|
|
23862
|
+
function moreItem(kit, drawerId, words) {
|
|
23865
23863
|
const more = part$2(kit, 'bar-more', BUTTON, { tag: 'button' }, 'bottom-bar-item', NavRole.More, BAR_ITEM_LAY);
|
|
23866
|
-
more.children = [iconNode(kit, 'bar-more-icon', MORE_ICON), labelText(kit, 'bar-more-label',
|
|
23864
|
+
more.children = [iconNode(kit, 'bar-more-icon', MORE_ICON), labelText(kit, 'bar-more-label', words.more)];
|
|
23867
23865
|
more.interactions = [clickTo(kit, 'bar-more', NavDialogAction.Toggle, drawerId)];
|
|
23868
23866
|
return more;
|
|
23869
23867
|
}
|
|
23870
23868
|
/** Home first, then the header's pages: the header reaches Home through its brand, a phone menu names it. */
|
|
23871
|
-
function withHome(root, pages) {
|
|
23869
|
+
function withHome(root, pages, words) {
|
|
23872
23870
|
const brand = find([root], NavRole.Brand);
|
|
23873
23871
|
const home = brand && isPageLink(brand) && prop(brand, 'pageRoute') === HOME_ROUTE && !pages.some(p => p.route === HOME_ROUTE)
|
|
23874
|
-
? [{ label:
|
|
23872
|
+
? [{ label: words.home, route: HOME_ROUTE }] : [];
|
|
23875
23873
|
return [...home, ...pages];
|
|
23876
23874
|
}
|
|
23877
23875
|
/** The bar's pages: Home first (a bottom bar's customary first stop), capped. */
|
|
23878
|
-
function barPages(root, pages, count) {
|
|
23879
|
-
return withHome(root, pages).slice(0, count);
|
|
23876
|
+
function barPages(root, pages, count, words) {
|
|
23877
|
+
return withHome(root, pages, words).slice(0, count);
|
|
23880
23878
|
}
|
|
23881
|
-
function bar(kit, root, pages, shape, count, drawerId, at) {
|
|
23879
|
+
function bar(kit, root, pages, shape, count, drawerId, at, words) {
|
|
23882
23880
|
// The node IS fixed (not only its element style): the builder canvas forces a node's own `position`
|
|
23883
23881
|
// with !important, so a stored `static` default would pin the bar into the flow there.
|
|
23884
23882
|
const b = part$2(kit, 'bar', CONTAINER$1, { htmlTag: 'nav' }, 'bottom-bar', NavRole.Bar, { position: 'fixed', justifyContent: 'space-around', alignItems: 'stretch', gap: '4px', padding: '6px 8px', width: 'auto' });
|
|
23885
23883
|
phoneOnly(b, at, 'flex');
|
|
23886
23884
|
const itemCount = shape === NavShape.Both ? count - 1 : count;
|
|
23887
|
-
b.children = barPages(root, pages, itemCount).map((p, i) => barItem(kit, i, p));
|
|
23885
|
+
b.children = barPages(root, pages, itemCount, words).map((p, i) => barItem(kit, i, p));
|
|
23888
23886
|
if (shape === NavShape.Both && drawerId)
|
|
23889
|
-
b.children.push(moreItem(kit, drawerId));
|
|
23887
|
+
b.children.push(moreItem(kit, drawerId, words));
|
|
23890
23888
|
b.isGlobal = true;
|
|
23891
23889
|
b.globalPosition = PatternGlobalPosition.After;
|
|
23892
23890
|
return b;
|
|
@@ -24007,6 +24005,7 @@ function planNavShape(globals, shape, options = {}, navId) {
|
|
|
24007
24005
|
if (options.everyWidth && shape !== NavShape.Drawer)
|
|
24008
24006
|
throw new NavShapeError('only a drawer menu shows at every width');
|
|
24009
24007
|
const kit = makeKit(out, root.id, options.newId);
|
|
24008
|
+
const words = menuWords(options.locale);
|
|
24010
24009
|
adoptRoles(root);
|
|
24011
24010
|
const { pages } = phoneMenuPages(root, options.pages);
|
|
24012
24011
|
const wantDrawer = shape !== NavShape.Bar;
|
|
@@ -24022,7 +24021,7 @@ function planNavShape(globals, shape, options = {}, navId) {
|
|
|
24022
24021
|
delete dr.globalPosition;
|
|
24023
24022
|
}
|
|
24024
24023
|
if (wantDrawer && !dr)
|
|
24025
|
-
dr = drawer(kit, root, pages, at);
|
|
24024
|
+
dr = drawer(kit, root, pages, at, words);
|
|
24026
24025
|
if (!wantDrawer)
|
|
24027
24026
|
dr = null;
|
|
24028
24027
|
// A drawer reached at every width never closes itself above a breakpoint.
|
|
@@ -24033,7 +24032,7 @@ function planNavShape(globals, shape, options = {}, navId) {
|
|
|
24033
24032
|
throw new NavShapeError(`a menu button cannot sit at "${options.menuSide}"`);
|
|
24034
24033
|
const was = menuPlace(root);
|
|
24035
24034
|
const existingMenu = removeRole(root, NavRole.MenuButton);
|
|
24036
|
-
const menu = wantMenuButton ? (existingMenu ? asToggle(existingMenu) : menuButton(kit, dr.id, at)) : null;
|
|
24035
|
+
const menu = wantMenuButton ? (existingMenu ? asToggle(existingMenu) : menuButton(kit, dr.id, at, words)) : null;
|
|
24037
24036
|
for (const p of phoneHiddenParts(root)) {
|
|
24038
24037
|
if (everyWidth && !KEPT_AT_EVERY_WIDTH.has(roleOf(p))) {
|
|
24039
24038
|
displayEverywhere(p, NONE$1);
|
|
@@ -24081,7 +24080,7 @@ function planNavShape(globals, shape, options = {}, navId) {
|
|
|
24081
24080
|
if (wantBar) {
|
|
24082
24081
|
const count = clampBarCount(options.barItems, shape);
|
|
24083
24082
|
if (!b)
|
|
24084
|
-
b = bar(kit, root, pages, shape, count, dr?.id ?? null, at);
|
|
24083
|
+
b = bar(kit, root, pages, shape, count, dr?.id ?? null, at, words);
|
|
24085
24084
|
else {
|
|
24086
24085
|
moveDisplayOverride(b, at);
|
|
24087
24086
|
more = (b.children ?? []).find(c => c.role === NavRole.More) ?? null;
|
|
@@ -24089,14 +24088,14 @@ function planNavShape(globals, shape, options = {}, navId) {
|
|
|
24089
24088
|
if (options.barItems !== undefined) {
|
|
24090
24089
|
const items = b.children;
|
|
24091
24090
|
const want = shape === NavShape.Both ? count - 1 : count;
|
|
24092
|
-
const extra = barPages(root, pages, BAR_ITEMS_MAX).filter(p => !items.some(c => prop(c, 'pageRoute') === p.route));
|
|
24091
|
+
const extra = barPages(root, pages, BAR_ITEMS_MAX, words).filter(p => !items.some(c => prop(c, 'pageRoute') === p.route));
|
|
24093
24092
|
while (items.length > want)
|
|
24094
24093
|
items.pop();
|
|
24095
24094
|
while (items.length < want && extra.length)
|
|
24096
24095
|
items.push(barItem(kit, items.length, extra.shift()));
|
|
24097
24096
|
}
|
|
24098
24097
|
if (shape === NavShape.Both && dr)
|
|
24099
|
-
b.children.push(retarget(more ?? moreItem(kit, dr.id), dr.id));
|
|
24098
|
+
b.children.push(retarget(more ?? moreItem(kit, dr.id, words), dr.id));
|
|
24100
24099
|
}
|
|
24101
24100
|
out.push(b);
|
|
24102
24101
|
}
|
|
@@ -24155,8 +24154,9 @@ function addBarItem(globals, options = {}) {
|
|
|
24155
24154
|
if (kids.length >= BAR_ITEMS_MAX)
|
|
24156
24155
|
return { globals: out, added: false };
|
|
24157
24156
|
const linked = new Set(kids.filter(c => c.role === NavRole.BarItem).map(c => prop(c, 'pageRoute')));
|
|
24158
|
-
const
|
|
24159
|
-
|
|
24157
|
+
const words = menuWords(options.locale);
|
|
24158
|
+
const page = barPages(root, phoneMenuPages(root, options.pages).pages, BAR_ITEMS_MAX + 1, words).find(p => !linked.has(p.route))
|
|
24159
|
+
?? { label: words.home, route: HOME_ROUTE };
|
|
24160
24160
|
const item = barItem(makeKit(out, root.id, options.newId), kids.length, page);
|
|
24161
24161
|
const more = kids.findIndex(c => c.role === NavRole.More);
|
|
24162
24162
|
if (more >= 0)
|
|
@@ -29990,13 +29990,16 @@ function planHeader(plan) {
|
|
|
29990
29990
|
/** The phone-menu options a header recipe asks for: its menu at every width and on its side (none for the defaults, so a
|
|
29991
29991
|
* stored header's edit is the one it always was). */
|
|
29992
29992
|
function headerShapeOptions(recipe, locale) {
|
|
29993
|
+
// vectoriox/iox-ui#100: the menu's words (and the names its parts are heard by) are the site's language — English
|
|
29994
|
+
// words are the table's English, so an English header composes as it always did (R-H4).
|
|
29995
|
+
const words = locale ? { locale } : {};
|
|
29993
29996
|
if (!recipe)
|
|
29994
|
-
return
|
|
29997
|
+
return words;
|
|
29995
29998
|
// HI2a: the menu's look, only what differs from today's menu (a stored header composes as it always did — R-H4).
|
|
29996
29999
|
const look = Object.fromEntries(Object.entries(recipe.menu).filter(([k, v]) => DEFAULT_MENU_LOOK[k] !== v));
|
|
29997
30000
|
return {
|
|
29998
30001
|
...(recipe.everyWidth ? { everyWidth: true } : {}), ...(recipe.menuSide === MenuSide.Start ? { menuSide: MenuSide.Start } : {}),
|
|
29999
|
-
...(Object.keys(look).length ? { look
|
|
30002
|
+
...(Object.keys(look).length ? { look } : {}), ...words,
|
|
30000
30003
|
};
|
|
30001
30004
|
}
|
|
30002
30005
|
// ── The site header on its own (CC1.1) ──────────────────────────────────────────────────────────
|
|
@@ -33034,6 +33037,251 @@ function planEditsFromWire(answer) {
|
|
|
33034
33037
|
return { ...answer, edits: answer['edits'].map(expandWireEdit) };
|
|
33035
33038
|
}
|
|
33036
33039
|
|
|
33040
|
+
/** How a code's repeats become one row on a screen. */
|
|
33041
|
+
var FindingGrouping;
|
|
33042
|
+
(function (FindingGrouping) {
|
|
33043
|
+
/** One row per page (or global): "12 boxes wait for a picture" on Home, another for About. */
|
|
33044
|
+
FindingGrouping["Page"] = "page";
|
|
33045
|
+
/** One row for the site: "15 sample items", "6 pages have no description for search results". */
|
|
33046
|
+
FindingGrouping["Site"] = "site";
|
|
33047
|
+
/** Never grouped: each finding names something different (a fact, a product with its own page, a connector). */
|
|
33048
|
+
FindingGrouping["Never"] = "never";
|
|
33049
|
+
})(FindingGrouping || (FindingGrouping = {}));
|
|
33050
|
+
const S = (en, he) => ({ en, he });
|
|
33051
|
+
/** Every code's words. Typed by the codes' values, so a new code without words does not compile. */
|
|
33052
|
+
const SITE_FINDING_WORDS = {
|
|
33053
|
+
'no-header': {
|
|
33054
|
+
one: S('The site has no header, so visitors have no menu to move around with.', 'לאתר אין כותרת עליונה, ולכן אין למבקרים תפריט לנווט בו.'),
|
|
33055
|
+
group: FindingGrouping.Never,
|
|
33056
|
+
},
|
|
33057
|
+
'no-phone-menu': {
|
|
33058
|
+
one: S('The header has no phone menu — on a phone its links are hard to reach.', 'לכותרת העליונה אין תפריט לטלפון — בטלפון קשה להגיע לקישורים שלה.'),
|
|
33059
|
+
group: FindingGrouping.Never,
|
|
33060
|
+
},
|
|
33061
|
+
'form-without-id': {
|
|
33062
|
+
one: S('A form has no id, so what visitors send is never stored.', 'לטופס אין מזהה, ולכן מה שמבקרים שולחים לא נשמר.'),
|
|
33063
|
+
many: S('{n} forms have no id, so what visitors send is never stored.', '{n} טפסים בלי מזהה, ולכן מה שמבקרים שולחים בהם לא נשמר.'),
|
|
33064
|
+
group: FindingGrouping.Page,
|
|
33065
|
+
},
|
|
33066
|
+
'empty-channel': {
|
|
33067
|
+
one: S('A form\'s second way to reach you has no number or address yet — visitors do not see it until you fill it in.', 'לדרך הנוספת ליצור איתכם קשר בטופס עדיין אין מספר או כתובת — המבקרים לא יראו אותה עד שתמלאו אותה.'),
|
|
33068
|
+
many: S('{n} forms\' second way to reach you has no number or address yet — visitors do not see it until you fill it in.', 'ב-{n} טפסים לדרך הנוספת ליצור איתכם קשר עדיין אין מספר או כתובת — המבקרים לא יראו אותה עד שתמלאו אותה.'),
|
|
33069
|
+
group: FindingGrouping.Page,
|
|
33070
|
+
},
|
|
33071
|
+
'email-needs-mailer': {
|
|
33072
|
+
one: S('A form emails what visitors send, but Email is not connected — it is stored and never sent.', 'טופס שולח במייל את מה שמבקרים שולחים, אבל המייל לא מחובר — ההודעות נשמרות ולא נשלחות.'),
|
|
33073
|
+
many: S('{n} forms email what visitors send, but Email is not connected — it is stored and never sent.', '{n} טפסים שולחים במייל את מה שמבקרים שולחים, אבל המייל לא מחובר — ההודעות נשמרות ולא נשלחות.'),
|
|
33074
|
+
group: FindingGrouping.Site,
|
|
33075
|
+
},
|
|
33076
|
+
'tracker-without-banner': {
|
|
33077
|
+
one: S('{trackers} is connected, but the site has no cookie banner — it stays off for every visitor.', '{trackers} מחובר, אבל באתר אין באנר עוגיות — הוא כבוי לכל המבקרים.'),
|
|
33078
|
+
group: FindingGrouping.Never,
|
|
33079
|
+
},
|
|
33080
|
+
'no-title': {
|
|
33081
|
+
one: S('"{name}" has no title for search results.', 'לעמוד "{name}" אין כותרת לתוצאות החיפוש.'),
|
|
33082
|
+
many: S('{n} pages have no title for search results.', '{n} עמודים בלי כותרת לתוצאות החיפוש.'),
|
|
33083
|
+
group: FindingGrouping.Site,
|
|
33084
|
+
},
|
|
33085
|
+
'no-description': {
|
|
33086
|
+
one: S('"{name}" has no description for search results.', 'לעמוד "{name}" אין תיאור לתוצאות החיפוש.'),
|
|
33087
|
+
many: S('{n} pages have no description for search results.', '{n} עמודים בלי תיאור לתוצאות החיפוש.'),
|
|
33088
|
+
group: FindingGrouping.Site,
|
|
33089
|
+
},
|
|
33090
|
+
'unfilled-fact': {
|
|
33091
|
+
one: S('"{text}" is still blank — fill it in before the site goes live.', '"{text}" עדיין ריק — מלאו אותו לפני שהאתר עולה לאוויר.'),
|
|
33092
|
+
group: FindingGrouping.Never,
|
|
33093
|
+
},
|
|
33094
|
+
'contact-missing': {
|
|
33095
|
+
one: S('"{text}" is not on the site yet — visitors do not see that line until you fill it in.', '"{text}" עוד לא באתר — המבקרים לא יראו את השורה הזו עד שתמלאו אותה.'),
|
|
33096
|
+
group: FindingGrouping.Never,
|
|
33097
|
+
},
|
|
33098
|
+
'copy-placeholder': {
|
|
33099
|
+
one: S('Some words are still the template\'s.', 'חלק מהמילים עדיין של התבנית.'),
|
|
33100
|
+
many: S('{n} places still hold the template\'s words.', 'ב-{n} מקומות עדיין מופיעות המילים של התבנית.'),
|
|
33101
|
+
group: FindingGrouping.Page,
|
|
33102
|
+
},
|
|
33103
|
+
'sample-items': {
|
|
33104
|
+
one: S('"{name}" is a sample — replace or remove it.', '"{name}" הוא פריט לדוגמה — החליפו או הסירו אותו.'),
|
|
33105
|
+
many: S('{n} sample items — replace them with yours or remove them.', '{n} פריטים לדוגמה — החליפו אותם בשלכם או הסירו אותם.'),
|
|
33106
|
+
group: FindingGrouping.Site,
|
|
33107
|
+
},
|
|
33108
|
+
// Each sample product is fixed on its own page (the screen links to it), so they are never one row.
|
|
33109
|
+
'sample-price': {
|
|
33110
|
+
one: S('"{name}" has no price yet — set yours, or remove the sample.', 'ל-"{name}" עדיין אין מחיר — קבעו מחיר או הסירו את הדוגמה.'),
|
|
33111
|
+
group: FindingGrouping.Never,
|
|
33112
|
+
},
|
|
33113
|
+
'sample-stock': {
|
|
33114
|
+
one: S('"{name}" has no stock yet — say how many you have, or remove the sample.', 'ל-"{name}" עדיין אין מלאי — כתבו כמה יש לכם, או הסירו את הדוגמה.'),
|
|
33115
|
+
group: FindingGrouping.Never,
|
|
33116
|
+
},
|
|
33117
|
+
// A store fact's words are the checkout gate's rule label (commerce-core) — `findingSentence` reads them by `fact`.
|
|
33118
|
+
'store-fact': { one: S('A fact the checkout needs is missing.', 'חסר פרט שהקופה צריכה.'), group: FindingGrouping.Never },
|
|
33119
|
+
'store-contact': { one: S('A contact detail the checkout needs is missing.', 'חסר פרט קשר שהקופה צריכה.'), group: FindingGrouping.Never },
|
|
33120
|
+
'stock-photo': {
|
|
33121
|
+
one: S('A stock photo stands in for one of yours.', 'תמונה מהמאגר עומדת במקום תמונה שלכם.'),
|
|
33122
|
+
many: S('{n} stock photos stand in for yours.', '{n} תמונות מהמאגר עומדות במקום התמונות שלכם.'),
|
|
33123
|
+
group: FindingGrouping.Page,
|
|
33124
|
+
},
|
|
33125
|
+
'made-picture': {
|
|
33126
|
+
one: S('A picture made with AI stands in for one of yours.', 'תמונה שנוצרה ב-AI עומדת במקום תמונה שלכם.'),
|
|
33127
|
+
many: S('{n} pictures made with AI stand in for yours.', '{n} תמונות שנוצרו ב-AI עומדות במקום התמונות שלכם.'),
|
|
33128
|
+
group: FindingGrouping.Page,
|
|
33129
|
+
},
|
|
33130
|
+
'picture-missing': {
|
|
33131
|
+
one: {
|
|
33132
|
+
made: S('A picture could not be made for this spot — add one of yours.', 'לא הצלחנו ליצור תמונה למקום הזה — הוסיפו תמונה שלכם.'),
|
|
33133
|
+
box: S('A box on this page waits for a picture — add one of yours.', 'תיבה בעמוד הזה מחכה לתמונה — הוסיפו תמונה שלכם.'),
|
|
33134
|
+
},
|
|
33135
|
+
many: S('{n} boxes wait for a picture — add yours.', '{n} תיבות מחכות לתמונה — הוסיפו תמונות שלכם.'),
|
|
33136
|
+
group: FindingGrouping.Page,
|
|
33137
|
+
},
|
|
33138
|
+
'no-privacy-page': {
|
|
33139
|
+
one: S('A form asks for personal details, and the site has no privacy page saying what you do with them.', 'טופס מבקש פרטים אישיים, ואין באתר עמוד פרטיות שמסביר מה אתם עושים איתם.'),
|
|
33140
|
+
group: FindingGrouping.Never,
|
|
33141
|
+
},
|
|
33142
|
+
'legal-page-placeholder': {
|
|
33143
|
+
one: S('"{name}" still says what belongs there — only you can write it.', 'בעמוד "{name}" עדיין כתוב רק מה צריך להופיע בו — רק אתם יכולים לכתוב אותו.'),
|
|
33144
|
+
group: FindingGrouping.Never,
|
|
33145
|
+
},
|
|
33146
|
+
'no-accessibility-statement': {
|
|
33147
|
+
one: {
|
|
33148
|
+
israel: S('The site has no accessibility statement — Israel requires one. Add a page for it and write what is accessible and who to contact.', 'אין באתר הצהרת נגישות — החוק בישראל מחייב אותה. הוסיפו לה עמוד וכתבו מה נגיש ולמי לפנות.'),
|
|
33149
|
+
hebrew: S('The site has no accessibility statement — a Hebrew site is expected to carry one. Add a page for it and write what is accessible and who to contact.', 'אין באתר הצהרת נגישות — מאתר בעברית מצופה שתהיה בו. הוסיפו לה עמוד וכתבו מה נגיש ולמי לפנות.'),
|
|
33150
|
+
},
|
|
33151
|
+
group: FindingGrouping.Never,
|
|
33152
|
+
},
|
|
33153
|
+
'accessibility-statement-advised': {
|
|
33154
|
+
one: {
|
|
33155
|
+
israel: S('The site has no accessibility statement — Israel requires one. Add a page for it.', 'אין באתר הצהרת נגישות — החוק בישראל מחייב אותה. הוסיפו לה עמוד.'),
|
|
33156
|
+
hebrew: S('The site has no accessibility statement — a Hebrew site is expected to carry one. Add a page for it.', 'אין באתר הצהרת נגישות — מאתר בעברית מצופה שתהיה בו. הוסיפו לה עמוד.'),
|
|
33157
|
+
},
|
|
33158
|
+
group: FindingGrouping.Never,
|
|
33159
|
+
},
|
|
33160
|
+
'consent-reject-weaker': {
|
|
33161
|
+
one: {
|
|
33162
|
+
missing: S('The cookie banner has no Reject beside Accept — refusing must be as easy as accepting.', 'בבאנר העוגיות אין "דחייה" לצד "אישור" — לסרב צריך להיות קל כמו להסכים.'),
|
|
33163
|
+
weaker: S('The cookie banner\'s Reject is weaker than its Accept — make it the same kind of button, on the same row.', '"דחייה" בבאנר העוגיות חלשה מ"אישור" — הפכו אותה לאותו סוג כפתור, באותה שורה.'),
|
|
33164
|
+
},
|
|
33165
|
+
group: FindingGrouping.Never,
|
|
33166
|
+
},
|
|
33167
|
+
'no-cookie-settings': {
|
|
33168
|
+
one: S('Nothing on the site reopens the cookie choice — add Cookie settings to the footer so visitors can change their mind.', 'שום דבר באתר לא פותח מחדש את בחירת העוגיות — הוסיפו "הגדרות עוגיות" לכותרת התחתונה כדי שמבקרים יוכלו לשנות את דעתם.'),
|
|
33169
|
+
group: FindingGrouping.Never,
|
|
33170
|
+
},
|
|
33171
|
+
'low-contrast': {
|
|
33172
|
+
one: {
|
|
33173
|
+
light: S('{count} text and background pair(s) are hard to read in light mode.', '{count} צירופים של טקסט ורקע קשים לקריאה במצב בהיר.'),
|
|
33174
|
+
dark: S('{count} text and background pair(s) are hard to read in dark mode.', '{count} צירופים של טקסט ורקע קשים לקריאה במצב כהה.'),
|
|
33175
|
+
},
|
|
33176
|
+
group: FindingGrouping.Never,
|
|
33177
|
+
},
|
|
33178
|
+
'heading-order': {
|
|
33179
|
+
one: {
|
|
33180
|
+
skip: S('A heading on "{name}" skips a level (h{from} → h{to}).', 'כותרת בעמוד "{name}" מדלגת על רמה (מ-h{from} ל-h{to}).'),
|
|
33181
|
+
h1: S('"{name}" has {count} main headings (h1); one is clearer.', 'בעמוד "{name}" יש {count} כותרות ראשיות (h1); אחת ברורה יותר.'),
|
|
33182
|
+
},
|
|
33183
|
+
many: S('{n} headings on this page are out of order.', '{n} כותרות בעמוד הזה לא בסדר הנכון.'),
|
|
33184
|
+
group: FindingGrouping.Page,
|
|
33185
|
+
},
|
|
33186
|
+
'image-without-alt': {
|
|
33187
|
+
one: S('A picture has no description for people who cannot see it.', 'לתמונה אין תיאור לאנשים שלא יכולים לראות אותה.'),
|
|
33188
|
+
many: S('{n} pictures have no description for people who cannot see them.', '{n} תמונות בלי תיאור לאנשים שלא יכולים לראות אותן.'),
|
|
33189
|
+
group: FindingGrouping.Page,
|
|
33190
|
+
},
|
|
33191
|
+
'literal-colour': {
|
|
33192
|
+
one: S('An element paints a fixed colour, so a new look will not reach it.', 'רכיב צבוע בצבע קבוע, ולכן מראה חדש לא יגיע אליו.'),
|
|
33193
|
+
many: S('{n} elements paint a fixed colour, so a new look will not reach them.', '{n} רכיבים צבועים בצבע קבוע, ולכן מראה חדש לא יגיע אליהם.'),
|
|
33194
|
+
group: FindingGrouping.Page,
|
|
33195
|
+
},
|
|
33196
|
+
'dead-link': {
|
|
33197
|
+
one: {
|
|
33198
|
+
route: S('"{label}" links to {route}, which is not a page of the site.', '"{label}" מקשר אל {route}, שאינו עמוד באתר.'),
|
|
33199
|
+
unlinked: S('"{label}" links to no page.', '"{label}" לא מקשר לשום עמוד.'),
|
|
33200
|
+
action: S('"{label}" goes to a page the site does not have.', '"{label}" מוביל לעמוד שאין באתר.'),
|
|
33201
|
+
},
|
|
33202
|
+
many: S('{n} links on this page go to pages the site does not have.', '{n} קישורים בעמוד הזה מובילים לעמודים שאין באתר.'),
|
|
33203
|
+
group: FindingGrouping.Page,
|
|
33204
|
+
},
|
|
33205
|
+
'dead-dialog-target': {
|
|
33206
|
+
one: S('"{label}" opens something that is no longer on the site.', '"{label}" פותח משהו שכבר לא נמצא באתר.'),
|
|
33207
|
+
many: S('{n} buttons on this page open something that is no longer on the site.', '{n} כפתורים בעמוד הזה פותחים משהו שכבר לא נמצא באתר.'),
|
|
33208
|
+
group: FindingGrouping.Page,
|
|
33209
|
+
},
|
|
33210
|
+
'action-needs-connector': {
|
|
33211
|
+
one: S('"{label}" needs {connector} connected.', '"{label}" צריך ש-{connector} יהיה מחובר.'),
|
|
33212
|
+
group: FindingGrouping.Never,
|
|
33213
|
+
},
|
|
33214
|
+
};
|
|
33215
|
+
const PLACEHOLDER = /\{(\w+)\}/g;
|
|
33216
|
+
function sentenceOf(words, variant) {
|
|
33217
|
+
const one = words.one;
|
|
33218
|
+
if (typeof one['en'] === 'string')
|
|
33219
|
+
return words.one;
|
|
33220
|
+
return (variant !== undefined ? one[String(variant)] : undefined) ?? null;
|
|
33221
|
+
}
|
|
33222
|
+
/** A sentence with its values — or null when one it names is missing (an older finding, written without `params`). */
|
|
33223
|
+
function fill(text, params) {
|
|
33224
|
+
let missing = false;
|
|
33225
|
+
const out = text.replace(PLACEHOLDER, (_, key) => {
|
|
33226
|
+
const v = params[key];
|
|
33227
|
+
if (v === undefined || v === null) {
|
|
33228
|
+
missing = true;
|
|
33229
|
+
return '';
|
|
33230
|
+
}
|
|
33231
|
+
return String(v);
|
|
33232
|
+
});
|
|
33233
|
+
return missing ? null : out;
|
|
33234
|
+
}
|
|
33235
|
+
/** The English sentence `auditSite` stores as a finding's `message` (one source with the screens' words). */
|
|
33236
|
+
function findingMessageOf(code, params = {}) {
|
|
33237
|
+
const sentence = sentenceOf(SITE_FINDING_WORDS[code], params['variant']);
|
|
33238
|
+
return (sentence && fill(sentence.en, params)) ?? code;
|
|
33239
|
+
}
|
|
33240
|
+
/**
|
|
33241
|
+
* One finding in the admin's language: a store fact is the checkout gate's rule label (commerce-core), every other code
|
|
33242
|
+
* its sentence here with the finding's values. A finding that carries no values (written by an older server) keeps the
|
|
33243
|
+
* server's own words.
|
|
33244
|
+
*/
|
|
33245
|
+
function findingSentence(f, lang) {
|
|
33246
|
+
if (f.fact) {
|
|
33247
|
+
const rule = CHECKOUT_GATE_RULES.find(r => r.code === f.fact);
|
|
33248
|
+
if (rule)
|
|
33249
|
+
return labelIn(rule.label, lang);
|
|
33250
|
+
}
|
|
33251
|
+
const words = SITE_FINDING_WORDS[f.code];
|
|
33252
|
+
const sentence = words ? sentenceOf(words, f.params?.['variant']) : null;
|
|
33253
|
+
return (sentence && fill(labelIn(sentence, lang), f.params ?? {})) ?? f.message;
|
|
33254
|
+
}
|
|
33255
|
+
function groupKey(f, i) {
|
|
33256
|
+
const grouping = SITE_FINDING_WORDS[f.code]?.group ?? FindingGrouping.Never;
|
|
33257
|
+
switch (grouping) {
|
|
33258
|
+
case FindingGrouping.Site: return `${f.code}`;
|
|
33259
|
+
case FindingGrouping.Page: return `${f.code}:${f.pageId ?? `global:${f.owner ?? ''}`}`;
|
|
33260
|
+
default: return `${f.code}:${f.fact ?? f.legal ?? f.nodeId ?? f.pageId ?? i}`;
|
|
33261
|
+
}
|
|
33262
|
+
}
|
|
33263
|
+
/** Repeated findings of one kind as one row each (per page, per site, or never — `SITE_FINDING_WORDS[code].group`),
|
|
33264
|
+
* in the order the first of each appears. */
|
|
33265
|
+
function groupSiteFindings(findings) {
|
|
33266
|
+
const groups = new Map();
|
|
33267
|
+
findings.forEach((f, i) => {
|
|
33268
|
+
const key = groupKey(f, i);
|
|
33269
|
+
const g = groups.get(key);
|
|
33270
|
+
if (g)
|
|
33271
|
+
g.push(f);
|
|
33272
|
+
else
|
|
33273
|
+
groups.set(key, [f]);
|
|
33274
|
+
});
|
|
33275
|
+
return [...groups.entries()].map(([key, list]) => ({ key, code: list[0].code, findings: list, first: list[0], count: list.length }));
|
|
33276
|
+
}
|
|
33277
|
+
/** A group in the admin's language: its one finding's sentence, or the code's sentence for `{n}` of them. */
|
|
33278
|
+
function groupSentence(g, lang) {
|
|
33279
|
+
const many = SITE_FINDING_WORDS[g.first.code]?.many;
|
|
33280
|
+
if (g.count < 2 || !many)
|
|
33281
|
+
return findingSentence(g.first, lang);
|
|
33282
|
+
return fill(labelIn(many, lang), { n: g.count }) ?? findingSentence(g.first, lang);
|
|
33283
|
+
}
|
|
33284
|
+
|
|
33037
33285
|
/**
|
|
33038
33286
|
* THE Publishable gate (AI plan §3e, M1-7): ONE pure function over a snapshot of a site — its pages, globals, the
|
|
33039
33287
|
* connectors' health, the look's token rows, what a build left to fill — run by the Publish dialog, the builder's
|
|
@@ -33266,8 +33514,17 @@ function hasContent(layout, type) {
|
|
|
33266
33514
|
});
|
|
33267
33515
|
return found;
|
|
33268
33516
|
}
|
|
33269
|
-
|
|
33270
|
-
|
|
33517
|
+
/** A finding: its English message from the ONE words table (audit-words), with the values it names. */
|
|
33518
|
+
function add(ctx, code, params, where = {}) {
|
|
33519
|
+
say(ctx, code, findingMessageOf(code, params ?? {}), params, where);
|
|
33520
|
+
}
|
|
33521
|
+
/** A page link to a page the site lacks names that route; a link set to no page says so. */
|
|
33522
|
+
function deadLinkParams(label, route) {
|
|
33523
|
+
return route ? { variant: 'route', label, route } : { variant: 'unlinked', label };
|
|
33524
|
+
}
|
|
33525
|
+
/** A finding whose words are another table's (a store fact: the checkout gate's rule label). */
|
|
33526
|
+
function say(ctx, code, message, params, where) {
|
|
33527
|
+
ctx.out.push({ check: CHECK_OF[code], severity: FINDING_SEVERITY[code], code, message, ...(params && Object.keys(params).length ? { params } : {}), ...where });
|
|
33271
33528
|
}
|
|
33272
33529
|
/** Every node of a page or a global, with where it lives. */
|
|
33273
33530
|
function eachNode(snapshot, pages, visit) {
|
|
@@ -33281,9 +33538,9 @@ function eachNode(snapshot, pages, visit) {
|
|
|
33281
33538
|
function checkNavigation(ctx, snapshot) {
|
|
33282
33539
|
const header = snapshot.globals.find(g => g.globalPosition === PatternGlobalPosition.Before);
|
|
33283
33540
|
if (!header)
|
|
33284
|
-
return add(ctx, SiteFindingCode.NoHeader,
|
|
33541
|
+
return add(ctx, SiteFindingCode.NoHeader, null);
|
|
33285
33542
|
if (!navShapeOf(snapshot.globals))
|
|
33286
|
-
add(ctx, SiteFindingCode.NoPhoneMenu,
|
|
33543
|
+
add(ctx, SiteFindingCode.NoPhoneMenu, null, { owner: 'header', nodeId: header.id });
|
|
33287
33544
|
}
|
|
33288
33545
|
function checkForms(ctx, snapshot, pages) {
|
|
33289
33546
|
let personal = false;
|
|
@@ -33292,15 +33549,15 @@ function checkForms(ctx, snapshot, pages) {
|
|
|
33292
33549
|
return;
|
|
33293
33550
|
const spec = collectFormSpec(n);
|
|
33294
33551
|
if (!spec || !nonEmpty(spec.formId))
|
|
33295
|
-
add(ctx, SiteFindingCode.FormWithoutId,
|
|
33552
|
+
add(ctx, SiteFindingCode.FormWithoutId, null, { ...where, nodeId: n.id });
|
|
33296
33553
|
if (spec?.actions.some(a => a.type === EMAIL_DELIVERY) && snapshot.connectors[MAILER] !== true) {
|
|
33297
|
-
add(ctx, SiteFindingCode.EmailNeedsMailer,
|
|
33554
|
+
add(ctx, SiteFindingCode.EmailNeedsMailer, null, { ...where, nodeId: n.id });
|
|
33298
33555
|
}
|
|
33299
33556
|
if (formAsksPersonalData(n))
|
|
33300
33557
|
personal = true;
|
|
33301
33558
|
walkSerialized(n.children ?? [], f => {
|
|
33302
33559
|
if (f.role === FORM_CHANNEL_ROLE && !isChannelFilled(f.props['href'])) {
|
|
33303
|
-
add(ctx, SiteFindingCode.EmptyChannel,
|
|
33560
|
+
add(ctx, SiteFindingCode.EmptyChannel, null, { ...where, nodeId: f.id });
|
|
33304
33561
|
}
|
|
33305
33562
|
});
|
|
33306
33563
|
});
|
|
@@ -33327,7 +33584,7 @@ function checkConsent(ctx, snapshot) {
|
|
|
33327
33584
|
walkSerialized([g], n => { if (n.type === DIALOG_TYPE && n.props['consentRole'] === true)
|
|
33328
33585
|
banners.push(n); });
|
|
33329
33586
|
if (snapshot.trackers?.length && !banners.length) {
|
|
33330
|
-
add(ctx, SiteFindingCode.TrackerWithoutBanner,
|
|
33587
|
+
add(ctx, SiteFindingCode.TrackerWithoutBanner, { trackers: snapshot.trackers.join(', ') });
|
|
33331
33588
|
}
|
|
33332
33589
|
for (const banner of banners) {
|
|
33333
33590
|
const accept = [];
|
|
@@ -33342,9 +33599,7 @@ function checkConsent(ctx, snapshot) {
|
|
|
33342
33599
|
const weaker = !reject.length || reject.every(r => LINK_LIKE.has(r.node.type)
|
|
33343
33600
|
|| !accept.some(a => a.node.type === r.node.type && a.row === r.row));
|
|
33344
33601
|
if (weaker) {
|
|
33345
|
-
add(ctx, SiteFindingCode.ConsentRejectWeaker, !reject.length
|
|
33346
|
-
? 'The cookie banner has no Reject beside Accept — refusing must be as easy as accepting.'
|
|
33347
|
-
: 'The cookie banner\'s Reject is weaker than its Accept — make it the same kind of button, on the same row.', { owner: 'footer', nodeId: banner.id });
|
|
33602
|
+
add(ctx, SiteFindingCode.ConsentRejectWeaker, { variant: !reject.length ? 'missing' : 'weaker' }, { owner: 'footer', nodeId: banner.id });
|
|
33348
33603
|
}
|
|
33349
33604
|
}
|
|
33350
33605
|
if (!banners.length)
|
|
@@ -33367,15 +33622,15 @@ function checkConsent(ctx, snapshot) {
|
|
|
33367
33622
|
eachNode(snapshot, snapshot.pages, n => { if (!inBanner.has(n.id) && runs(n, ConsentActionType.OpenPreferences))
|
|
33368
33623
|
reopens = true; });
|
|
33369
33624
|
if (!reopens)
|
|
33370
|
-
add(ctx, SiteFindingCode.NoCookieSettings,
|
|
33625
|
+
add(ctx, SiteFindingCode.NoCookieSettings, null);
|
|
33371
33626
|
}
|
|
33372
33627
|
function checkSeo(ctx, pages) {
|
|
33373
33628
|
for (const page of pages) {
|
|
33374
33629
|
const seo = (page.seo ?? {});
|
|
33375
33630
|
if (!seoField(seo['title'], hasContent(page.layout, 'Heading')))
|
|
33376
|
-
add(ctx, SiteFindingCode.NoTitle,
|
|
33631
|
+
add(ctx, SiteFindingCode.NoTitle, { name: page.name }, { pageId: page.id });
|
|
33377
33632
|
if (!seoField(seo['description'], hasContent(page.layout, 'Text')))
|
|
33378
|
-
add(ctx, SiteFindingCode.NoDescription,
|
|
33633
|
+
add(ctx, SiteFindingCode.NoDescription, { name: page.name }, { pageId: page.id });
|
|
33379
33634
|
}
|
|
33380
33635
|
}
|
|
33381
33636
|
function checkFacts(ctx, snapshot, pages, personal) {
|
|
@@ -33383,35 +33638,35 @@ function checkFacts(ctx, snapshot, pages, personal) {
|
|
|
33383
33638
|
for (const p of (snapshot.placeholders ?? []).filter(p => !p.filled && inScope(p))) {
|
|
33384
33639
|
const where = { pageId: p.pageId, nodeId: p.nodeId, ...(p.pageId ? {} : { owner: p.owner }) };
|
|
33385
33640
|
if (p.kind === PlaceholderKind.Fact)
|
|
33386
|
-
add(ctx, SiteFindingCode.ContactMissing,
|
|
33641
|
+
add(ctx, SiteFindingCode.ContactMissing, { text: String(p.text || p.fact) }, where);
|
|
33387
33642
|
else if (blocksPublish(p.kind))
|
|
33388
|
-
add(ctx, SiteFindingCode.UnfilledFact,
|
|
33643
|
+
add(ctx, SiteFindingCode.UnfilledFact, { text: String(p.text || p.kind) }, where);
|
|
33389
33644
|
else if (p.kind === PlaceholderKind.Copy)
|
|
33390
|
-
add(ctx, SiteFindingCode.CopyPlaceholder,
|
|
33645
|
+
add(ctx, SiteFindingCode.CopyPlaceholder, null, where);
|
|
33391
33646
|
}
|
|
33392
33647
|
for (const s of snapshot.samples ?? [])
|
|
33393
|
-
add(ctx, SiteFindingCode.SampleItems,
|
|
33648
|
+
add(ctx, SiteFindingCode.SampleItems, { name: s.label ?? s.id }, { nodeId: s.id });
|
|
33394
33649
|
// iox-cms#98: what the shop lacks holds only the pages that show the shop — never the Home of a site that also sells.
|
|
33395
33650
|
const shopShown = pages.some(pageShowsShop);
|
|
33396
33651
|
for (const s of shopShown ? snapshot.unpricedSamples ?? [] : [])
|
|
33397
|
-
add(ctx, SiteFindingCode.SamplePrice,
|
|
33652
|
+
add(ctx, SiteFindingCode.SamplePrice, { name: s.label ?? s.id }, { nodeId: s.id });
|
|
33398
33653
|
for (const s of shopShown ? snapshot.unstockedSamples ?? [] : [])
|
|
33399
|
-
add(ctx, SiteFindingCode.SampleStock,
|
|
33654
|
+
add(ctx, SiteFindingCode.SampleStock, { name: s.label ?? s.id }, { nodeId: s.id });
|
|
33400
33655
|
if (snapshot.store?.refusals.length && shopShown && siteSells(snapshot)) {
|
|
33401
33656
|
for (const r of snapshot.store.refusals) {
|
|
33402
33657
|
const code = STORE_CONTACT_CODES.has(r.code) ? SiteFindingCode.StoreContact : SiteFindingCode.StoreFact;
|
|
33403
|
-
|
|
33658
|
+
say(ctx, code, labelIn(r.label, snapshot.store.lang), null, { fact: r.code });
|
|
33404
33659
|
}
|
|
33405
33660
|
}
|
|
33406
33661
|
for (const s of (snapshot.stock ?? []).filter(inScope))
|
|
33407
|
-
add(ctx, SiteFindingCode.StockPhoto,
|
|
33662
|
+
add(ctx, SiteFindingCode.StockPhoto, null, { pageId: s.pageId, nodeId: s.nodeId, owner: s.owner });
|
|
33408
33663
|
for (const s of (snapshot.made ?? []).filter(inScope))
|
|
33409
|
-
add(ctx, SiteFindingCode.MadePicture,
|
|
33664
|
+
add(ctx, SiteFindingCode.MadePicture, null, { pageId: s.pageId, nodeId: s.nodeId, owner: s.owner });
|
|
33410
33665
|
for (const s of (snapshot.missing ?? []).filter(inScope))
|
|
33411
|
-
add(ctx, SiteFindingCode.PictureMissing,
|
|
33666
|
+
add(ctx, SiteFindingCode.PictureMissing, { variant: 'made' }, { pageId: s.pageId, nodeId: s.nodeId, owner: s.owner });
|
|
33412
33667
|
checkLegalPages(ctx, snapshot, pages, personal);
|
|
33413
33668
|
if (personal && !legalPageOf(snapshot.pages, LegalKind.Privacy)) {
|
|
33414
|
-
add(ctx, SiteFindingCode.NoPrivacyPage,
|
|
33669
|
+
add(ctx, SiteFindingCode.NoPrivacyPage, null);
|
|
33415
33670
|
}
|
|
33416
33671
|
}
|
|
33417
33672
|
const isIsraeli = (snapshot) => String(snapshot.country ?? '').trim().toUpperCase() === ISRAEL;
|
|
@@ -33460,23 +33715,20 @@ function checkLegalPages(ctx, snapshot, pages, personal) {
|
|
|
33460
33715
|
// Warn old: a site from before the law is never held by its accessibility statement.
|
|
33461
33716
|
if (kind === LegalKind.Accessibility && !built)
|
|
33462
33717
|
continue;
|
|
33463
|
-
add(ctx, SiteFindingCode.LegalPagePlaceholder,
|
|
33718
|
+
add(ctx, SiteFindingCode.LegalPagePlaceholder, { name: page.name || legalTitle(kind, snapshot.locale) }, { pageId: page.id, legal: kind });
|
|
33464
33719
|
}
|
|
33465
33720
|
}
|
|
33466
33721
|
function checkAccessibility(ctx, snapshot, pages) {
|
|
33467
33722
|
// AW1 (AW-D14): Israel requires an accessibility statement; a Hebrew site elsewhere is expected to carry one. Block
|
|
33468
33723
|
// new, warn old: only a site built with the law is held (`siteBuiltWithLaw`).
|
|
33469
33724
|
if (wantsAccessibilityStatement(snapshot) && !legalPageOf(snapshot.pages, LegalKind.Accessibility)) {
|
|
33470
|
-
const why = isIsraeli(snapshot) ? '
|
|
33471
|
-
|
|
33472
|
-
add(ctx, SiteFindingCode.NoAccessibilityStatement, `The site has no accessibility statement — ${why}. Add a page for it and write what is accessible and who to contact.`);
|
|
33473
|
-
else
|
|
33474
|
-
add(ctx, SiteFindingCode.AccessibilityStatementAdvised, `The site has no accessibility statement — ${why}. Add a page for it.`);
|
|
33725
|
+
const why = { variant: isIsraeli(snapshot) ? 'israel' : 'hebrew' };
|
|
33726
|
+
add(ctx, siteBuiltWithLaw(snapshot) ? SiteFindingCode.NoAccessibilityStatement : SiteFindingCode.AccessibilityStatementAdvised, why);
|
|
33475
33727
|
}
|
|
33476
33728
|
for (const mode of snapshot.design?.modes ?? []) {
|
|
33477
33729
|
const failing = auditDesignContrast(snapshot.design.rows, mode).filter(f => !f.pass);
|
|
33478
33730
|
if (failing.length)
|
|
33479
|
-
add(ctx, SiteFindingCode.LowContrast,
|
|
33731
|
+
add(ctx, SiteFindingCode.LowContrast, { variant: mode, count: failing.length });
|
|
33480
33732
|
}
|
|
33481
33733
|
for (const page of pages) {
|
|
33482
33734
|
let last = 0;
|
|
@@ -33489,11 +33741,11 @@ function checkAccessibility(ctx, snapshot, pages) {
|
|
|
33489
33741
|
if (l === 1)
|
|
33490
33742
|
h1++;
|
|
33491
33743
|
if (last && l > last + 1)
|
|
33492
|
-
add(ctx, SiteFindingCode.HeadingOrder,
|
|
33744
|
+
add(ctx, SiteFindingCode.HeadingOrder, { variant: 'skip', name: page.name, from: last, to: l }, { pageId: page.id, nodeId: n.id });
|
|
33493
33745
|
last = l;
|
|
33494
33746
|
});
|
|
33495
33747
|
if (h1 > 1)
|
|
33496
|
-
add(ctx, SiteFindingCode.HeadingOrder,
|
|
33748
|
+
add(ctx, SiteFindingCode.HeadingOrder, { variant: 'h1', name: page.name, count: h1 }, { pageId: page.id });
|
|
33497
33749
|
}
|
|
33498
33750
|
const said = new Set((snapshot.missing ?? []).map(s => s.nodeId));
|
|
33499
33751
|
eachNode(snapshot, pages, (n, where) => {
|
|
@@ -33501,13 +33753,13 @@ function checkAccessibility(ctx, snapshot, pages) {
|
|
|
33501
33753
|
return;
|
|
33502
33754
|
if (!nonEmpty(n.props['src']) && !n.bindings.some(b => b.prop === 'src')) {
|
|
33503
33755
|
if (!said.has(n.id))
|
|
33504
|
-
add(ctx, SiteFindingCode.PictureMissing, '
|
|
33756
|
+
add(ctx, SiteFindingCode.PictureMissing, { variant: 'box' }, { ...where, nodeId: n.id });
|
|
33505
33757
|
return;
|
|
33506
33758
|
}
|
|
33507
33759
|
const decorative = n.props['alt'] === '' && n.props['decorative'] === true;
|
|
33508
33760
|
const bound = n.bindings.some(b => b.prop === 'alt');
|
|
33509
33761
|
if (!decorative && !bound && !nonEmpty(n.props['alt']))
|
|
33510
|
-
add(ctx, SiteFindingCode.ImageWithoutAlt,
|
|
33762
|
+
add(ctx, SiteFindingCode.ImageWithoutAlt, null, { ...where, nodeId: n.id });
|
|
33511
33763
|
});
|
|
33512
33764
|
}
|
|
33513
33765
|
function checkTokens(ctx, snapshot, pages) {
|
|
@@ -33517,14 +33769,14 @@ function checkTokens(ctx, snapshot, pages) {
|
|
|
33517
33769
|
const maps = [n.styleProps, ...Object.values(n.stateStyles ?? {}), ...Object.values(n.responsive ?? {}).map(l => l?.styleProps)];
|
|
33518
33770
|
const literal = maps.some(map => Object.entries(map ?? {}).some(([k, v]) => COLOUR_TRAITS.test(k) && LITERAL_COLOUR.test(String(v)) && !(k === 'borderColor' && n.styleProps['borderWidth'] === '0px')));
|
|
33519
33771
|
if (literal)
|
|
33520
|
-
add(ctx, SiteFindingCode.LiteralColour,
|
|
33772
|
+
add(ctx, SiteFindingCode.LiteralColour, null, { ...where, nodeId: n.id });
|
|
33521
33773
|
});
|
|
33522
33774
|
}
|
|
33523
33775
|
function checkActions(ctx, snapshot, pages) {
|
|
33524
33776
|
const routeExists = (route) => typeof route === 'string' && ctx.routes.some(r => routeMatches(r, route));
|
|
33525
33777
|
eachNode(snapshot, pages, (n, where) => {
|
|
33526
33778
|
if (LINKING_TYPES.has(n.type) && n.props['linkType'] === PAGE_LINK && !routeExists(n.props['pageRoute'])) {
|
|
33527
|
-
add(ctx, SiteFindingCode.DeadLink,
|
|
33779
|
+
add(ctx, SiteFindingCode.DeadLink, deadLinkParams(String(n.props['label'] ?? n.props['content'] ?? n.label ?? n.type), String(n.props['pageRoute'] ?? '')), { ...where, nodeId: n.id });
|
|
33528
33780
|
}
|
|
33529
33781
|
for (const ix of (n.interactions ?? [])) {
|
|
33530
33782
|
for (const action of ix?.actions ?? []) {
|
|
@@ -33537,17 +33789,17 @@ function checkActions(ctx, snapshot, pages) {
|
|
|
33537
33789
|
if (descriptor.target?.required && action.target !== SELF) {
|
|
33538
33790
|
const targetType = action.target ? ctx.nodeIds.get(action.target) : undefined;
|
|
33539
33791
|
if (!targetType || (types && !types.includes(targetType))) {
|
|
33540
|
-
add(ctx, SiteFindingCode.DeadDialogTarget,
|
|
33792
|
+
add(ctx, SiteFindingCode.DeadDialogTarget, { label: String(n.label ?? n.type) }, { ...where, nodeId: n.id });
|
|
33541
33793
|
}
|
|
33542
33794
|
}
|
|
33543
33795
|
if (action.type === 'navigate' && action.params?.['navigateTo'] === PAGE_LINK && !routeExists(action.params?.['page'])) {
|
|
33544
|
-
add(ctx, SiteFindingCode.DeadLink,
|
|
33796
|
+
add(ctx, SiteFindingCode.DeadLink, { variant: 'action', label: String(n.label ?? n.type) }, { ...where, nodeId: n.id });
|
|
33545
33797
|
}
|
|
33546
33798
|
// A connector the snapshot does not say is usable is not: unknown is never "fine".
|
|
33547
33799
|
const connectors = descriptor.connector ? { [descriptor.connector]: snapshot.connectors[descriptor.connector] === true } : {};
|
|
33548
33800
|
const availability = resolveActionAvailability(descriptor, { connectors });
|
|
33549
33801
|
if (availability.state === 'connector-missing') {
|
|
33550
|
-
add(ctx, SiteFindingCode.ActionNeedsConnector,
|
|
33802
|
+
add(ctx, SiteFindingCode.ActionNeedsConnector, { label: String(n.label ?? n.type), connector: String(availability.connector) }, { ...where, nodeId: n.id });
|
|
33551
33803
|
}
|
|
33552
33804
|
}
|
|
33553
33805
|
}
|
|
@@ -36248,5 +36500,5 @@ function siteGlobalsOf(globals) {
|
|
|
36248
36500
|
* Generated bundle index. Do not edit.
|
|
36249
36501
|
*/
|
|
36250
36502
|
|
|
36251
|
-
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, 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, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, FooterRole, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, 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, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, 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, PREVIOUS_ROUTE_SUFFIX, 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, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, 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_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, 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, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, 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, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkBody, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, columnIssues, composablePage, composeContextOf, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, groundToneOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRefusal, listWordTier, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
|
|
36503
|
+
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, 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, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, FooterRole, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, 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, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, 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, PREVIOUS_ROUTE_SUFFIX, 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, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, 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_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, 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, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, 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, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkBody, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, columnIssues, composablePage, composeContextOf, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRefusal, listWordTier, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
|
|
36252
36504
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|