@vectoriox/iox-ui 5.128.1 → 5.130.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/commerce-core/index.d.ts +29 -2
- package/composite-core/index.d.ts +130 -2
- package/fesm2022/vectoriox-iox-ui-commerce-core.mjs +39 -1
- package/fesm2022/vectoriox-iox-ui-commerce-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +328 -141
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs +21 -1
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +680 -61
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +20 -0
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/forms-core/index.d.ts +16 -1
- package/generation-core/index.d.ts +251 -13
- package/package.json +1 -1
- package/src/commerce-core/site-checkout.ts +49 -0
- package/src/composite-core/consent.ts +235 -0
- package/src/composite-core/public-api.ts +1 -0
- package/src/forms-core/form-presets.ts +28 -0
- package/src/generation-core/audit-site.ts +167 -17
- package/src/generation-core/compose-site.ts +208 -11
- package/src/generation-core/legal.ts +213 -0
- package/src/generation-core/public-api.ts +2 -0
- package/src/generation-core/section-stamp.ts +145 -0
- package/src/generation-core/serialized-node.ts +15 -0
- package/src/generation-core/site-spec.generated.ts +41 -8
- package/src/generation-core/site-tree.ts +5 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, parseHexColor, rgbToOklab, textWidthEm, elementStyleFace, resolveDesignChoices, LinkType, MenuTrait, menuDialogProps, MenuButtonKind, menuButtonOf, menuButtonProps, menuFormOf, MenuForm, MenuPhoneForm, menuHoverOf, menuRevealOf, flavorPackById, SPEC_AXES, EntranceParam, staggerDelay, presetChoices, setColorScheme, ColorScheme, stylePresetOfChoices, presetModes, STYLE_PRESETS, COLOR_SCHEMES, colorSchemeClass, COLOR_SCHEME_TRAIT, DEFAULT_MENU_LOOK, ANIMATE_IDS, auditDesignContrast, parseCssColour, compositeOver, wcagContrastRatio, relativeLuminance, toHexColor, resolveTokenValues, designTokenRows } from '@vectoriox/iox-ui/design-core';
|
|
2
|
-
import { formPresetById, FormPresetId, FormAfterSend, FORM_AFTER_SEND_TRAIT, FORM_ACTIONS_ROLE, channelOpensNewTab, FORM_CHANNEL_ROLE,
|
|
2
|
+
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';
|
|
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 { ShopRole, AccountRole, pickTabsAutoBinds, pickAccordionAutoBinds, NO_ELEMENT_STYLE, CardPart, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, CardLayout, buildCardRecipe, 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';
|
|
6
|
+
import { ShopRole, AccountRole, pickTabsAutoBinds, pickAccordionAutoBinds, NO_ELEMENT_STYLE, CardPart, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, CardLayout, buildCardRecipe, 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, buildConsentRecipe, ConsentActionType } from '@vectoriox/iox-ui/composite-core';
|
|
7
|
+
import { ConsentCategory } from '@vectoriox/iox-ui/consent-core';
|
|
7
8
|
import { ParallaxDepth, parallaxShift, rangeDistance, ScrollRange, normalizeParallaxPhone, parallaxRest, rangeProgress, parallaxOffset } from '@vectoriox/iox-ui/scene-core';
|
|
8
9
|
import { ELEMENT_ACTION_DESCRIPTORS, resolveActionAvailability } from '@vectoriox/iox-ui/actions-core';
|
|
9
10
|
|
|
@@ -9209,10 +9210,6 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9209
9210
|
"phase": "AW2",
|
|
9210
9211
|
"drawnAs": "none"
|
|
9211
9212
|
},
|
|
9212
|
-
"reopen.footer": {
|
|
9213
|
-
"phase": "AW1",
|
|
9214
|
-
"drawnAs": "settings"
|
|
9215
|
-
},
|
|
9216
9213
|
"reopen.pill": {
|
|
9217
9214
|
"phase": "AW2",
|
|
9218
9215
|
"drawnAs": "settings"
|
|
@@ -9394,12 +9391,12 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9394
9391
|
"how": "the site is in Hebrew"
|
|
9395
9392
|
},
|
|
9396
9393
|
"israel": {
|
|
9397
|
-
"read": "
|
|
9398
|
-
"how": "the studio's country is Israel (a
|
|
9394
|
+
"read": "built",
|
|
9395
|
+
"how": "the studio's country is Israel (Shop ▸ Settings ▸ country; a shekel studio starts in Israel)"
|
|
9399
9396
|
},
|
|
9400
9397
|
"eu-business": {
|
|
9401
|
-
"read": "
|
|
9402
|
-
"how": "the
|
|
9398
|
+
"read": "built",
|
|
9399
|
+
"how": "the studio's country asks for an imprint (`imprintCountries`: the EU, the EEA and Switzerland)"
|
|
9403
9400
|
},
|
|
9404
9401
|
"us-business": {
|
|
9405
9402
|
"read": "deferred",
|
|
@@ -9576,6 +9573,43 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9576
9573
|
"en": "By sending, you agree to the {terms} and {privacy}.",
|
|
9577
9574
|
"he": "בשליחה, את/ה מסכים/ה ל{terms} ול{privacy}."
|
|
9578
9575
|
},
|
|
9576
|
+
"formLinePrivacy": {
|
|
9577
|
+
"en": "By sending, you agree to the {privacy}.",
|
|
9578
|
+
"he": "בשליחה, את/ה מסכים/ה ל{privacy}."
|
|
9579
|
+
},
|
|
9580
|
+
"imprintCountries": [
|
|
9581
|
+
"AT",
|
|
9582
|
+
"BE",
|
|
9583
|
+
"BG",
|
|
9584
|
+
"HR",
|
|
9585
|
+
"CY",
|
|
9586
|
+
"CZ",
|
|
9587
|
+
"DK",
|
|
9588
|
+
"EE",
|
|
9589
|
+
"FI",
|
|
9590
|
+
"FR",
|
|
9591
|
+
"DE",
|
|
9592
|
+
"GR",
|
|
9593
|
+
"HU",
|
|
9594
|
+
"IE",
|
|
9595
|
+
"IT",
|
|
9596
|
+
"LV",
|
|
9597
|
+
"LT",
|
|
9598
|
+
"LU",
|
|
9599
|
+
"MT",
|
|
9600
|
+
"NL",
|
|
9601
|
+
"PL",
|
|
9602
|
+
"PT",
|
|
9603
|
+
"RO",
|
|
9604
|
+
"SK",
|
|
9605
|
+
"SI",
|
|
9606
|
+
"ES",
|
|
9607
|
+
"SE",
|
|
9608
|
+
"IS",
|
|
9609
|
+
"LI",
|
|
9610
|
+
"NO",
|
|
9611
|
+
"CH"
|
|
9612
|
+
],
|
|
9579
9613
|
"rules": {
|
|
9580
9614
|
"neverWritesPolicy": true,
|
|
9581
9615
|
"editedPageKept": true,
|
|
@@ -16906,6 +16940,112 @@ function walkSerialized(nodes, visit, ancestors = []) {
|
|
|
16906
16940
|
}
|
|
16907
16941
|
}
|
|
16908
16942
|
|
|
16943
|
+
/** The key a section's stamp carries (beside `buildKeys` in `site-build-run.ts`): the root's own id. */
|
|
16944
|
+
const sectionBuildKey = (rootId) => `section:${rootId}`;
|
|
16945
|
+
/** The stamp field: never part of a fingerprint (a stamp cannot describe itself). */
|
|
16946
|
+
const STAMP_FIELD = 'composed';
|
|
16947
|
+
const isEmpty = (value) => value === undefined || value === null || value === ''
|
|
16948
|
+
|| (Array.isArray(value) && value.length === 0)
|
|
16949
|
+
|| (typeof value === 'object' && !Array.isArray(value) && Object.keys(value).length === 0);
|
|
16950
|
+
/**
|
|
16951
|
+
* A value's canonical form: keys sorted, an EMPTY value is no value (`undefined`, `null`, `''`, `[]`, `{}` drop), the
|
|
16952
|
+
* stamp field gone at every depth — so a saved node and a composed one compare equal however their empties were written
|
|
16953
|
+
* (iox-cms's `canonical` rule, the server's fingerprints).
|
|
16954
|
+
*/
|
|
16955
|
+
function canonical(value) {
|
|
16956
|
+
if (Array.isArray(value))
|
|
16957
|
+
return value.map(canonical).filter(v => !isEmpty(v));
|
|
16958
|
+
if (value && typeof value === 'object') {
|
|
16959
|
+
const out = {};
|
|
16960
|
+
for (const key of Object.keys(value).sort()) {
|
|
16961
|
+
if (key === STAMP_FIELD)
|
|
16962
|
+
continue;
|
|
16963
|
+
const v = canonical(value[key]);
|
|
16964
|
+
if (!isEmpty(v))
|
|
16965
|
+
out[key] = v;
|
|
16966
|
+
}
|
|
16967
|
+
return out;
|
|
16968
|
+
}
|
|
16969
|
+
return value;
|
|
16970
|
+
}
|
|
16971
|
+
/** A node's canonical JSON, its stamp aside. */
|
|
16972
|
+
function canonicalNodeJson(node) {
|
|
16973
|
+
return JSON.stringify(canonical(node)) ?? '';
|
|
16974
|
+
}
|
|
16975
|
+
/**
|
|
16976
|
+
* cyrb53: a sync 53-bit string hash, 14 base-36 characters. Not a security hash — it tells "as the build left it" from
|
|
16977
|
+
* "changed" for one section, where a collision costs one section judged unchanged.
|
|
16978
|
+
*/
|
|
16979
|
+
function hash53(text) {
|
|
16980
|
+
let h1 = 0xdeadbeef;
|
|
16981
|
+
let h2 = 0x41c6ce57;
|
|
16982
|
+
for (let i = 0; i < text.length; i++) {
|
|
16983
|
+
const ch = text.charCodeAt(i);
|
|
16984
|
+
h1 = Math.imul(h1 ^ ch, 2654435761);
|
|
16985
|
+
h2 = Math.imul(h2 ^ ch, 1597334677);
|
|
16986
|
+
}
|
|
16987
|
+
h1 = Math.imul(h1 ^ (h1 >>> 16), 2246822507) ^ Math.imul(h2 ^ (h2 >>> 13), 3266489909);
|
|
16988
|
+
h2 = Math.imul(h2 ^ (h2 >>> 16), 2246822507) ^ Math.imul(h1 ^ (h1 >>> 13), 3266489909);
|
|
16989
|
+
const n = 4294967296 * (2097151 & h2) + (h1 >>> 0);
|
|
16990
|
+
return n.toString(36).padStart(11, '0');
|
|
16991
|
+
}
|
|
16992
|
+
/** A section's fingerprint: its canonical content (stamp aside), hashed. */
|
|
16993
|
+
function sectionFingerprint(root) {
|
|
16994
|
+
return hash53(canonicalNodeJson(root));
|
|
16995
|
+
}
|
|
16996
|
+
/** Stamp a composed section root (in place) and return it. */
|
|
16997
|
+
function stampSection(root, origin) {
|
|
16998
|
+
const from = 'pattern' in origin && origin.pattern ? { pattern: origin.pattern } : { layout: origin.layout };
|
|
16999
|
+
root.composed = { ...from, buildKey: sectionBuildKey(root.id), fingerprint: sectionFingerprint(root) };
|
|
17000
|
+
return root;
|
|
17001
|
+
}
|
|
17002
|
+
/** Re-take every stamped root's fingerprint (in place) — after a step that dresses a composed layout (stock photos). */
|
|
17003
|
+
function refreshSectionStamps(layout) {
|
|
17004
|
+
for (const root of layout)
|
|
17005
|
+
if (root.composed)
|
|
17006
|
+
root.composed = { ...root.composed, fingerprint: sectionFingerprint(root) };
|
|
17007
|
+
}
|
|
17008
|
+
/** A stamp's shape is whole: exactly one origin, a build key and a fingerprint. */
|
|
17009
|
+
function isSectionStamp(value) {
|
|
17010
|
+
if (!value || typeof value !== 'object')
|
|
17011
|
+
return false;
|
|
17012
|
+
const s = value;
|
|
17013
|
+
const origins = [s['pattern'], s['layout']].filter(v => typeof v === 'string' && v !== '').length;
|
|
17014
|
+
return origins === 1 && typeof s['buildKey'] === 'string' && !!s['buildKey'] && typeof s['fingerprint'] === 'string' && !!s['fingerprint'];
|
|
17015
|
+
}
|
|
17016
|
+
/** Whether a stamped section is still as the build left it. Null when the root carries no (whole) stamp. */
|
|
17017
|
+
function sectionUnchanged(root) {
|
|
17018
|
+
return isSectionStamp(root.composed) ? root.composed.fingerprint === sectionFingerprint(root) : null;
|
|
17019
|
+
}
|
|
17020
|
+
/** Who a page's section is: the build's (and whether the owner changed it since, when the stamp can tell) or the owner's. */
|
|
17021
|
+
var SectionMaker;
|
|
17022
|
+
(function (SectionMaker) {
|
|
17023
|
+
SectionMaker["Composed"] = "composed";
|
|
17024
|
+
SectionMaker["Owner"] = "owner";
|
|
17025
|
+
})(SectionMaker || (SectionMaker = {}));
|
|
17026
|
+
/** The library pattern whose label a root wears (`composePattern` names a root by its pattern's label). */
|
|
17027
|
+
function patternOfLabel(label, patternIds) {
|
|
17028
|
+
const name = (label ?? '').split(' · ')[0].trim();
|
|
17029
|
+
return name ? patternIds.find(id => patternById(id)?.label === name) : undefined;
|
|
17030
|
+
}
|
|
17031
|
+
/**
|
|
17032
|
+
* Who made a page's section (RD1 Q2): a stamp wins; else a root labelled with a library pattern's name, or with a section
|
|
17033
|
+
* id of the layout the page was composed from, is the build's; anything else is the owner's.
|
|
17034
|
+
*/
|
|
17035
|
+
function sectionOrigin(root, ctx = {}) {
|
|
17036
|
+
if (isSectionStamp(root.composed)) {
|
|
17037
|
+
const { pattern, layout } = root.composed;
|
|
17038
|
+
return { maker: SectionMaker.Composed, ...(pattern ? { pattern } : { layout }), unchanged: root.composed.fingerprint === sectionFingerprint(root) };
|
|
17039
|
+
}
|
|
17040
|
+
const pattern = patternOfLabel(root.label, ctx.patternIds ?? Object.keys(SITE_PATTERNS));
|
|
17041
|
+
if (pattern)
|
|
17042
|
+
return { maker: SectionMaker.Composed, pattern };
|
|
17043
|
+
const layout = ctx.layoutSectionIds?.find(id => id === (root.label ?? '').trim());
|
|
17044
|
+
if (layout)
|
|
17045
|
+
return { maker: SectionMaker.Composed, layout };
|
|
17046
|
+
return { maker: SectionMaker.Owner };
|
|
17047
|
+
}
|
|
17048
|
+
|
|
16909
17049
|
/**
|
|
16910
17050
|
* The ONE way a framework-free gate refuses a document "with a path, never repairs" (W1's site-plan gate, the
|
|
16911
17051
|
* harness's analysis gate): a documented shape table (key → type text; `key?` optional, `[name]` the object's
|
|
@@ -17104,7 +17244,7 @@ function writtenTexts(plan) {
|
|
|
17104
17244
|
});
|
|
17105
17245
|
return out;
|
|
17106
17246
|
}
|
|
17107
|
-
const HEBREW$
|
|
17247
|
+
const HEBREW$2 = /[-]/;
|
|
17108
17248
|
/** Hebrew joins up to two one-letter words (and, the, in, to, from, that, as) to the next: "והטוב" holds "טוב". The
|
|
17109
17249
|
* ONE rule — the intake's keyword match (harness-core) uses it too. */
|
|
17110
17250
|
const HEBREW_PREFIXES = '[והבלמשכ]{0,2}';
|
|
@@ -17113,7 +17253,7 @@ const normalise = (s) => s.normalize('NFKC').toLowerCase();
|
|
|
17113
17253
|
/** A word (or phrase) as a whole-word pattern; Hebrew allows its one-letter prefixes. */
|
|
17114
17254
|
function wordPattern(word) {
|
|
17115
17255
|
const w = escape(normalise(word.trim())).replace(/\s+/g, '\\s+');
|
|
17116
|
-
const prefix = HEBREW$
|
|
17256
|
+
const prefix = HEBREW$2.test(word) ? HEBREW_PREFIXES : '';
|
|
17117
17257
|
return new RegExp(`(?<![\\p{L}\\p{N}])${prefix}${w}(?![\\p{L}\\p{N}])`, 'u');
|
|
17118
17258
|
}
|
|
17119
17259
|
const PRICE_SHAPE = { kind: 'price', pattern: /(?:[$€£₪]\s?\d[\d,.]*|\d[\d,.]*\s?(?:[$€£₪]|ש"ח|NIS|USD|EUR|GBP))/gu, key: (m) => m.replace(/[^\d]/g, '') };
|
|
@@ -18316,14 +18456,14 @@ const BAR_ITEMS_MIN = 3;
|
|
|
18316
18456
|
const BAR_ITEMS_MAX = 5;
|
|
18317
18457
|
class NavShapeError extends Error {
|
|
18318
18458
|
}
|
|
18319
|
-
const CONTAINER = 'Container';
|
|
18459
|
+
const CONTAINER$1 = 'Container';
|
|
18320
18460
|
const DIALOG$1 = 'Dialog';
|
|
18321
|
-
const LINK = 'Link';
|
|
18461
|
+
const LINK$1 = 'Link';
|
|
18322
18462
|
const LINKED = 'LinkedContainer';
|
|
18323
18463
|
const BUTTON = 'ButtonBlock';
|
|
18324
18464
|
const ICON$1 = 'Icon';
|
|
18325
18465
|
const TEXT$1 = 'Text';
|
|
18326
|
-
const HEADING = 'Heading';
|
|
18466
|
+
const HEADING$1 = 'Heading';
|
|
18327
18467
|
const NAV_STYLE = 'nav';
|
|
18328
18468
|
const DISPLAY = 'display';
|
|
18329
18469
|
const NONE$2 = 'none';
|
|
@@ -18402,7 +18542,7 @@ function findAll(nodes, role) {
|
|
|
18402
18542
|
function findNavRoot(globals, navId) {
|
|
18403
18543
|
if (navId)
|
|
18404
18544
|
return globals.find(g => g.id === navId) ?? null;
|
|
18405
|
-
return globals.find(g => g.role === NavRole.Root) ?? globals.find(g => g.elementStyle === NAV_STYLE && g.type === CONTAINER) ?? null;
|
|
18545
|
+
return globals.find(g => g.role === NavRole.Root) ?? globals.find(g => g.elementStyle === NAV_STYLE && g.type === CONTAINER$1) ?? null;
|
|
18406
18546
|
}
|
|
18407
18547
|
/** The shape a site's globals are in now, or null when there is no Navigation bar. */
|
|
18408
18548
|
function navShapeOf(globals) {
|
|
@@ -18426,10 +18566,10 @@ function navShapeBreakpoint(globals) {
|
|
|
18426
18566
|
const prop = (n, name) => n.props?.[name];
|
|
18427
18567
|
const isPageLink = (n) => prop(n, 'linkType') === LinkType.Page && typeof prop(n, 'pageRoute') === 'string';
|
|
18428
18568
|
function textOf$3(n) {
|
|
18429
|
-
if (n.type === LINK)
|
|
18569
|
+
if (n.type === LINK$1)
|
|
18430
18570
|
return String(prop(n, 'label') ?? '');
|
|
18431
18571
|
let words = '';
|
|
18432
|
-
walkSerialized(n.children ?? [], c => { if (!words && (c.type === TEXT$1 || c.type === HEADING))
|
|
18572
|
+
walkSerialized(n.children ?? [], c => { if (!words && (c.type === TEXT$1 || c.type === HEADING$1))
|
|
18433
18573
|
words = String(prop(c, 'content') ?? ''); });
|
|
18434
18574
|
return words;
|
|
18435
18575
|
}
|
|
@@ -18460,7 +18600,7 @@ function collectHeaderLinks(root) {
|
|
|
18460
18600
|
const visit = (n) => {
|
|
18461
18601
|
if (n.type === DIALOG$1)
|
|
18462
18602
|
return;
|
|
18463
|
-
if (n.type === LINK)
|
|
18603
|
+
if (n.type === LINK$1)
|
|
18464
18604
|
out.push(n);
|
|
18465
18605
|
(n.children ?? []).forEach(visit);
|
|
18466
18606
|
};
|
|
@@ -18589,19 +18729,19 @@ function menuButton(kit, drawerId, at) {
|
|
|
18589
18729
|
return btn;
|
|
18590
18730
|
}
|
|
18591
18731
|
function pageLink$1(kit, suffix, page, role, lay = {}) {
|
|
18592
|
-
return part$1(kit, suffix, LINK, { label: page.label, linkType: LinkType.Page, pageRoute: page.route }, 'link', role, lay);
|
|
18732
|
+
return part$1(kit, suffix, LINK$1, { label: page.label, linkType: LinkType.Page, pageRoute: page.route }, 'link', role, lay);
|
|
18593
18733
|
}
|
|
18594
18734
|
function drawer(kit, root, pages, at) {
|
|
18595
18735
|
const dr = part$1(kit, 'drawer', DIALOG$1, {
|
|
18596
18736
|
placement: 'end', closeOnBackdrop: true, showCloseButton: false, ariaLabel: NAV_SHAPE_COPY.menu, closeAbove: at,
|
|
18597
18737
|
}, 'dialog', NavRole.Drawer, { width: '86vw', maxWidth: '360px', display: 'flex', flexDirection: 'column', gap: '20px' });
|
|
18598
18738
|
const brandWords = textOf$3(find([root], NavRole.Brand) ?? root) || NAV_PART_LABELS[NavRole.Root];
|
|
18599
|
-
const head = part$1(kit, 'drawer-head', CONTAINER, {}, 'box', NavRole.DrawerHead, { display: 'flex', justifyContent: 'space-between', alignItems: 'center', gap: '12px' });
|
|
18739
|
+
const head = part$1(kit, 'drawer-head', CONTAINER$1, {}, 'box', NavRole.DrawerHead, { display: 'flex', justifyContent: 'space-between', alignItems: 'center', gap: '12px' });
|
|
18600
18740
|
const close = part$1(kit, 'drawer-close', BUTTON, { tag: 'button', ariaLabel: NAV_SHAPE_COPY.closeMenu }, 'button-ghost', NavRole.DrawerClose, { ...MENU_BUTTON_LAY });
|
|
18601
18741
|
close.children = [iconNode(kit, 'drawer-close-icon', CLOSE_ICON)];
|
|
18602
18742
|
close.interactions = [clickTo(kit, 'drawer-close', NavDialogAction.Close, dr.id)];
|
|
18603
|
-
head.children = [part$1(kit, 'drawer-brand', HEADING, { content: brandWords, level: 'h3' }, 'h3'), close];
|
|
18604
|
-
const list = part$1(kit, 'drawer-links', CONTAINER, {}, 'box', NavRole.DrawerLinks, { display: 'flex', flexDirection: 'column', gap: '4px' });
|
|
18743
|
+
head.children = [part$1(kit, 'drawer-brand', HEADING$1, { content: brandWords, level: 'h3' }, 'h3'), close];
|
|
18744
|
+
const list = part$1(kit, 'drawer-links', CONTAINER$1, {}, 'box', NavRole.DrawerLinks, { display: 'flex', flexDirection: 'column', gap: '4px' });
|
|
18605
18745
|
// Board 1: every page, Home first, at lead size (on each Link: a Link's own baseline font size would
|
|
18606
18746
|
// beat one inherited from the list). Only the CURRENT page is underlined — the shared CSS keys that on
|
|
18607
18747
|
// the list's role (iox-design.css), so no Link holds a literal over its element style.
|
|
@@ -18708,7 +18848,7 @@ function barPages(root, pages, count) {
|
|
|
18708
18848
|
function bar(kit, root, pages, shape, count, drawerId, at) {
|
|
18709
18849
|
// The node IS fixed (not only its element style): the builder canvas forces a node's own `position`
|
|
18710
18850
|
// with !important, so a stored `static` default would pin the bar into the flow there.
|
|
18711
|
-
const b = part$1(kit, 'bar', CONTAINER, { htmlTag: 'nav' }, 'bottom-bar', NavRole.Bar, { position: 'fixed', justifyContent: 'space-around', alignItems: 'stretch', gap: '4px', padding: '6px 8px', width: 'auto' });
|
|
18851
|
+
const b = part$1(kit, 'bar', CONTAINER$1, { htmlTag: 'nav' }, 'bottom-bar', NavRole.Bar, { position: 'fixed', justifyContent: 'space-around', alignItems: 'stretch', gap: '4px', padding: '6px 8px', width: 'auto' });
|
|
18712
18852
|
phoneOnly(b, at, 'flex');
|
|
18713
18853
|
const itemCount = shape === NavShape.Both ? count - 1 : count;
|
|
18714
18854
|
b.children = barPages(root, pages, itemCount).map((p, i) => barItem(kit, i, p));
|
|
@@ -18939,12 +19079,12 @@ function adoptRoles(root) {
|
|
|
18939
19079
|
for (const c of kids) {
|
|
18940
19080
|
if (c === brand || c.role)
|
|
18941
19081
|
continue;
|
|
18942
|
-
if (c.type === CONTAINER && (c.children ?? []).some(k => k.type === LINK)) {
|
|
19082
|
+
if (c.type === CONTAINER$1 && (c.children ?? []).some(k => k.type === LINK$1)) {
|
|
18943
19083
|
c.role = NavRole.Links;
|
|
18944
19084
|
for (const k of c.children ?? []) {
|
|
18945
19085
|
if (k.role)
|
|
18946
19086
|
continue;
|
|
18947
|
-
if (k.type === LINK)
|
|
19087
|
+
if (k.type === LINK$1)
|
|
18948
19088
|
k.role = NavRole.Link;
|
|
18949
19089
|
else if (k.type === BUTTON)
|
|
18950
19090
|
k.role = NavRole.Cta;
|
|
@@ -19272,7 +19412,7 @@ const cell = (side, c) => ({
|
|
|
19272
19412
|
/** A page as a plain link (a pinned page; a half of the pages either side of the name). */
|
|
19273
19413
|
const pageLink = (p, role) => ({ t: 'Link', es: 'link', text: p.name, href: p.route, ...(role ? { role } : {}) });
|
|
19274
19414
|
/** What a header asks for, in the order it shows them. */
|
|
19275
|
-
function actionsOf(mix, ctx) {
|
|
19415
|
+
function actionsOf$1(mix, ctx) {
|
|
19276
19416
|
switch (mix.action) {
|
|
19277
19417
|
case HeaderAction.Button: return [part('button')];
|
|
19278
19418
|
case HeaderAction.Link: return [part('quiet')];
|
|
@@ -19288,7 +19428,7 @@ function pinnedPagesOf(ctx) {
|
|
|
19288
19428
|
/** A header's pieces once the menu takes its pages: the pinned pages and the actions, each kept in the bar. */
|
|
19289
19429
|
function keptInBar(mix, ctx) {
|
|
19290
19430
|
const pins = mix.pages === HeaderPages.MenuPinned ? pinnedPagesOf(ctx) : [];
|
|
19291
|
-
const acts = actionsOf(mix, ctx);
|
|
19431
|
+
const acts = actionsOf$1(mix, ctx);
|
|
19292
19432
|
const pinned = pins.length ? { ...part('pinned'), c: pins.map(p => pageLink(p)) } : null;
|
|
19293
19433
|
const actions = acts.length ? { ...part('links'), role: NavRole.Actions, c: acts } : null;
|
|
19294
19434
|
return { pinned, actions };
|
|
@@ -19302,14 +19442,14 @@ function bodyOf(mix, ctx) {
|
|
|
19302
19442
|
switch (mix.arrange) {
|
|
19303
19443
|
case HeaderArrange.Centred:
|
|
19304
19444
|
return { lay: { display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '14px' }, resp: { mobile: { flexDirection: 'row', justifyContent: 'space-between' } },
|
|
19305
|
-
c: [brand, links(actionsOf(mix, ctx), { justifyContent: 'center' })] };
|
|
19445
|
+
c: [brand, links(actionsOf$1(mix, ctx), { justifyContent: 'center' })] };
|
|
19306
19446
|
case HeaderArrange.Between: {
|
|
19307
19447
|
const half = Math.ceil(ctx.pages.length / 2);
|
|
19308
19448
|
const row = (pages, more) => ({ ...part('links'), c: [...pages.map(p => pageLink(p, NavRole.Link)), ...more] });
|
|
19309
|
-
return { lay: flex, c: [cell('start', [row(ctx.pages.slice(0, half), [])]), brand, cell('end', [row(ctx.pages.slice(half), actionsOf(mix, ctx))])] };
|
|
19449
|
+
return { lay: flex, c: [cell('start', [row(ctx.pages.slice(0, half), [])]), brand, cell('end', [row(ctx.pages.slice(half), actionsOf$1(mix, ctx))])] };
|
|
19310
19450
|
}
|
|
19311
19451
|
default:
|
|
19312
|
-
return { lay: { display: 'flex', flexWrap: 'wrap', justifyContent: 'space-between', alignItems: 'center', gap: GAP }, c: [brand, links(actionsOf(mix, ctx))] };
|
|
19452
|
+
return { lay: { display: 'flex', flexWrap: 'wrap', justifyContent: 'space-between', alignItems: 'center', gap: GAP }, c: [brand, links(actionsOf$1(mix, ctx))] };
|
|
19313
19453
|
}
|
|
19314
19454
|
}
|
|
19315
19455
|
// Behind a menu: the links row stays (hidden at every width — the drawer lists its pages, and an author who brings the
|
|
@@ -20570,6 +20710,159 @@ function filmOfPlan(plan) {
|
|
|
20570
20710
|
return sequence && screens !== null ? { sequence, heightVh: Math.round((screens + 1) * 100) } : null;
|
|
20571
20711
|
}
|
|
20572
20712
|
|
|
20713
|
+
/**
|
|
20714
|
+
* THE LEGAL PAGES (award-ingredients-plan §4.3, AW1; consent plan C5) — read from ONE table, the contract's
|
|
20715
|
+
* `site.layout.legal` (layout.mjs `LEGAL`): which legal page KINDS a site needs follows from facts the site and the
|
|
20716
|
+
* studio hold (a form asks for personal details, a tracker is connected, the site sells, books or signs people up, it is
|
|
20717
|
+
* in Hebrew, the studio's country), never from a model. A kind is stamped by `composeSite` as an EMPTY, flagged page —
|
|
20718
|
+
* a title and a placeholder whose label says what belongs there — and the Publishable gate blocks while it is still the
|
|
20719
|
+
* placeholder. IOX never writes a word of policy (D-C7). Pure.
|
|
20720
|
+
*/
|
|
20721
|
+
const L$2 = SPEC_SITE_LAYOUT.legal;
|
|
20722
|
+
/** The kinds, by the table's ids (held equal to it by legal.spec). */
|
|
20723
|
+
var LegalKind;
|
|
20724
|
+
(function (LegalKind) {
|
|
20725
|
+
LegalKind["Privacy"] = "privacy";
|
|
20726
|
+
LegalKind["Cookies"] = "cookies";
|
|
20727
|
+
LegalKind["Accessibility"] = "accessibility";
|
|
20728
|
+
LegalKind["Terms"] = "terms";
|
|
20729
|
+
LegalKind["TermsOfSale"] = "terms-of-sale";
|
|
20730
|
+
LegalKind["Returns"] = "returns";
|
|
20731
|
+
LegalKind["Shipping"] = "shipping";
|
|
20732
|
+
LegalKind["Imprint"] = "imprint";
|
|
20733
|
+
LegalKind["DoNotSell"] = "do-not-sell";
|
|
20734
|
+
})(LegalKind || (LegalKind = {}));
|
|
20735
|
+
/** The facts that decide a kind, by the table's ids. */
|
|
20736
|
+
var LegalFact;
|
|
20737
|
+
(function (LegalFact) {
|
|
20738
|
+
LegalFact["PersonalDataForm"] = "personal-data-form";
|
|
20739
|
+
LegalFact["Tracker"] = "tracker";
|
|
20740
|
+
LegalFact["Sells"] = "sells";
|
|
20741
|
+
LegalFact["PhysicalGoods"] = "physical-goods";
|
|
20742
|
+
LegalFact["Books"] = "books";
|
|
20743
|
+
LegalFact["Signups"] = "signups";
|
|
20744
|
+
LegalFact["Hebrew"] = "hebrew";
|
|
20745
|
+
LegalFact["Israel"] = "israel";
|
|
20746
|
+
LegalFact["EuBusiness"] = "eu-business";
|
|
20747
|
+
LegalFact["UsBusiness"] = "us-business";
|
|
20748
|
+
})(LegalFact || (LegalFact = {}));
|
|
20749
|
+
/** Whether a kind holds Publish while it is the placeholder: yes · through the checkout gate · never. */
|
|
20750
|
+
var LegalBlocks;
|
|
20751
|
+
(function (LegalBlocks) {
|
|
20752
|
+
LegalBlocks["Yes"] = "yes";
|
|
20753
|
+
LegalBlocks["Commerce"] = "commerce";
|
|
20754
|
+
LegalBlocks["No"] = "no";
|
|
20755
|
+
})(LegalBlocks || (LegalBlocks = {}));
|
|
20756
|
+
/** Every kind, in the table's order. */
|
|
20757
|
+
const LEGAL_KINDS = L$2.kinds;
|
|
20758
|
+
/** A deferred kind is never stamped (`do-not-sell`, US only). */
|
|
20759
|
+
const DEFERRED = 'deferred';
|
|
20760
|
+
/** Where a page says which legal kind it is: `pageSettings.legal` (free-form, saved with the page). */
|
|
20761
|
+
const LEGAL_PAGE_SETTING = 'legal';
|
|
20762
|
+
/** The role of the legal line beside a form and of a footer's legal row. */
|
|
20763
|
+
const FORM_LEGAL_ROLE = 'form.legal';
|
|
20764
|
+
const FOOTER_LEGAL_ROLE = 'footer.legal';
|
|
20765
|
+
/** ISO 3166-1 alpha-2 for Israel — the accessibility statement's country (Israel's equal-rights regulations, 2013). */
|
|
20766
|
+
const ISRAEL = 'IL';
|
|
20767
|
+
/** The countries whose businesses publish an imprint (the table's `imprintCountries`). */
|
|
20768
|
+
const IMPRINT_COUNTRIES = new Set(L$2.imprintCountries);
|
|
20769
|
+
function isLegalKind(value) {
|
|
20770
|
+
return typeof value === 'string' && LEGAL_KINDS.some(k => k.id === value);
|
|
20771
|
+
}
|
|
20772
|
+
function legalKindRow(kind) {
|
|
20773
|
+
const row = LEGAL_KINDS.find(k => k.id === kind);
|
|
20774
|
+
if (!row)
|
|
20775
|
+
throw new Error(`no legal kind "${kind}"`);
|
|
20776
|
+
return row;
|
|
20777
|
+
}
|
|
20778
|
+
const pick = (words, lang) => (lang === 'he' ? words.he : words.en);
|
|
20779
|
+
/** A kind's page title in the site's language. */
|
|
20780
|
+
function legalTitle(kind, lang) {
|
|
20781
|
+
return pick(legalKindRow(kind).title, lang);
|
|
20782
|
+
}
|
|
20783
|
+
/** What belongs on the page, in the site's language — the placeholder it shows until the owner writes it. */
|
|
20784
|
+
function legalLabel(kind, lang) {
|
|
20785
|
+
return pick(legalKindRow(kind).label, lang);
|
|
20786
|
+
}
|
|
20787
|
+
/** True when a kind holds Publish while it is the placeholder (yes, or with the checkout's own). */
|
|
20788
|
+
function legalKindBlocks(kind) {
|
|
20789
|
+
return legalKindRow(kind).blocks !== LegalBlocks.No;
|
|
20790
|
+
}
|
|
20791
|
+
/** The kind a page says it is (`pageSettings.legal`), or null. */
|
|
20792
|
+
function legalKindOfPage(page) {
|
|
20793
|
+
const kind = page?.pageSettings?.[LEGAL_PAGE_SETTING];
|
|
20794
|
+
return isLegalKind(kind) ? kind : null;
|
|
20795
|
+
}
|
|
20796
|
+
/** The kinds a site with these facts needs, in the table's order (deferred kinds never). */
|
|
20797
|
+
function legalKindsFor(facts) {
|
|
20798
|
+
return LEGAL_KINDS.filter(k => k.phase !== DEFERRED && k.when.some(f => facts[f] === true)).map(k => k.id);
|
|
20799
|
+
}
|
|
20800
|
+
/** The form controls that ask for a personal detail (a name, an email, a phone, words about the person). */
|
|
20801
|
+
const PERSONAL_CONTROLS = new Set([ControlType.Email, ControlType.Tel, ControlType.Text, ControlType.Textarea]);
|
|
20802
|
+
/** True when a Form node asks for a personal detail. */
|
|
20803
|
+
function formAsksPersonalData(form) {
|
|
20804
|
+
let personal = false;
|
|
20805
|
+
walkSerialized(form.children ?? [], f => {
|
|
20806
|
+
if (f.type === FIELD_NODE_TYPE && PERSONAL_CONTROLS.has(String(f.props['control'] ?? ControlType.Text)))
|
|
20807
|
+
personal = true;
|
|
20808
|
+
});
|
|
20809
|
+
return personal;
|
|
20810
|
+
}
|
|
20811
|
+
/** The forms-core presets whose forms are a booking or a sign-up (a Form's `formId` starts with its preset's id). */
|
|
20812
|
+
const BOOKING_PRESET = 'booking';
|
|
20813
|
+
const SIGNUP_PRESETS = new Set(['newsletter']);
|
|
20814
|
+
const presetOf = (form) => String(form.props['formId'] ?? '').split('-')[0];
|
|
20815
|
+
/** The facts the site's own nodes answer: a personal-data form, a booking form, a sign-up form. */
|
|
20816
|
+
function formLegalFacts(nodes) {
|
|
20817
|
+
const facts = {};
|
|
20818
|
+
walkSerialized(nodes, n => {
|
|
20819
|
+
if (n.type !== FORM_NODE_TYPE)
|
|
20820
|
+
return;
|
|
20821
|
+
if (formAsksPersonalData(n))
|
|
20822
|
+
facts[LegalFact.PersonalDataForm] = true;
|
|
20823
|
+
if (presetOf(n) === BOOKING_PRESET)
|
|
20824
|
+
facts[LegalFact.Books] = true;
|
|
20825
|
+
if (SIGNUP_PRESETS.has(presetOf(n)))
|
|
20826
|
+
facts[LegalFact.Signups] = true;
|
|
20827
|
+
});
|
|
20828
|
+
return facts;
|
|
20829
|
+
}
|
|
20830
|
+
/** The studio's country as facts: Israel, or a country that asks for an imprint. Unknown = neither. */
|
|
20831
|
+
function countryLegalFacts(country) {
|
|
20832
|
+
const c = String(country ?? '').trim().toUpperCase();
|
|
20833
|
+
return { [LegalFact.Israel]: c === ISRAEL, [LegalFact.EuBusiness]: IMPRINT_COUNTRIES.has(c) };
|
|
20834
|
+
}
|
|
20835
|
+
/** The route a stamped kind takes: `/<kind>`, else `/legal/<kind>`, else numbered — never one already taken. */
|
|
20836
|
+
function legalRoute(kind, taken) {
|
|
20837
|
+
const tries = [`/${kind}`, `/legal/${kind}`];
|
|
20838
|
+
for (const route of tries)
|
|
20839
|
+
if (!taken.has(route))
|
|
20840
|
+
return route;
|
|
20841
|
+
for (let n = 2;; n++)
|
|
20842
|
+
if (!taken.has(`/legal/${kind}-${n}`))
|
|
20843
|
+
return `/legal/${kind}-${n}`;
|
|
20844
|
+
}
|
|
20845
|
+
const LINE_KEY = /\{(terms|privacy)\}/g;
|
|
20846
|
+
/**
|
|
20847
|
+
* The legal line beside a form (AW-D15) in the site's language, as words and links: "By sending, you agree to the
|
|
20848
|
+
* {terms} and {privacy}." — the privacy-only line when the site has no terms page. Spaces stay with the words, so the
|
|
20849
|
+
* pieces read as one sentence when drawn inline.
|
|
20850
|
+
*/
|
|
20851
|
+
function legalFormLine(lang, withTerms) {
|
|
20852
|
+
const template = pick((withTerms ? L$2.formLine : L$2.formLinePrivacy), lang);
|
|
20853
|
+
const parts = [];
|
|
20854
|
+
let at = 0;
|
|
20855
|
+
for (const m of template.matchAll(LINE_KEY)) {
|
|
20856
|
+
if (m.index > at)
|
|
20857
|
+
parts.push({ text: template.slice(at, m.index) });
|
|
20858
|
+
parts.push({ kind: m[1] });
|
|
20859
|
+
at = m.index + m[0].length;
|
|
20860
|
+
}
|
|
20861
|
+
if (at < template.length)
|
|
20862
|
+
parts.push({ text: template.slice(at) });
|
|
20863
|
+
return parts;
|
|
20864
|
+
}
|
|
20865
|
+
|
|
20573
20866
|
/**
|
|
20574
20867
|
* THE LIST TABLE (list-ingredients-plan.md; the contract's `layout.mjs` `LIST`, in the shape every mixed part shares —
|
|
20575
20868
|
* ingredients.md §2): the words of each ingredient, what each means, and which wait for a later phase and are drawn as
|
|
@@ -20666,7 +20959,7 @@ const GRID$1 = 12;
|
|
|
20666
20959
|
const COLUMN_PX$1 = LAYOUT_CHECK_VIEWPORT.width / GRID$1;
|
|
20667
20960
|
/** A line of words stands its size × this tall. */
|
|
20668
20961
|
const LAYOUT_LINE_HEIGHT = 1.2;
|
|
20669
|
-
const HEBREW = /[-]/;
|
|
20962
|
+
const HEBREW$1 = /[-]/;
|
|
20670
20963
|
/** A button's ink, as tall as its padding and one line. */
|
|
20671
20964
|
const BUTTON_PX = 56;
|
|
20672
20965
|
/** How far the screens mend lowers a section at a time, and how often it tries. */
|
|
@@ -20685,7 +20978,7 @@ const meets = (a, b) => {
|
|
|
20685
20978
|
return ov(a.col ?? [0, 0], b.col ?? [0, 0]) && ov(a.row ?? [0, 0], b.row ?? [0, 0]);
|
|
20686
20979
|
};
|
|
20687
20980
|
const textOf$2 = (l) => String(l.text ?? (l.items ?? []).join(' '));
|
|
20688
|
-
const advanceOf = (text) => (HEBREW.test(text) ? LIM$1.advance.hebrew : LIM$1.advance.latin);
|
|
20981
|
+
const advanceOf = (text) => (HEBREW$1.test(text) ? LIM$1.advance.hebrew : LIM$1.advance.latin);
|
|
20689
20982
|
/** A grid box's size in px on the laptop. */
|
|
20690
20983
|
function layoutBoxPx(col, row, s) {
|
|
20691
20984
|
const height = (s.pin ? 1 : s.screens) * LAYOUT_CHECK_VIEWPORT.height;
|
|
@@ -22258,6 +22551,9 @@ var PlaceholderKind;
|
|
|
22258
22551
|
/** L2 (`proof.stat-row`): a number the studio stands behind ("12 years", "300 clients") — a fact, its label shown
|
|
22259
22552
|
* meanwhile ("Number"), never a number written for it. */
|
|
22260
22553
|
PlaceholderKind["Stat"] = "stat";
|
|
22554
|
+
/** AW1: a stamped legal page's text — what belongs there ("Your privacy policy: …"), never a word of policy. Its page
|
|
22555
|
+
* holds Publish while it shows the label (`auditSite`, `legal-page-placeholder`, by the page's kind). */
|
|
22556
|
+
PlaceholderKind["Policy"] = "policy";
|
|
22261
22557
|
})(PlaceholderKind || (PlaceholderKind = {}));
|
|
22262
22558
|
/** The placeholders a page cannot be published with unfilled (W4's gate): a fact, a price, a number, the studio's own
|
|
22263
22559
|
* video. Copy and an empty image are the author's to rewrite, never blocking. */
|
|
@@ -22289,8 +22585,8 @@ const DANGLING_LINK_CODES = new Set([
|
|
|
22289
22585
|
ComposeIssueCode.LinkToEmail, ComposeIssueCode.LinkRemoved, ComposeIssueCode.LinkUnlinked,
|
|
22290
22586
|
]);
|
|
22291
22587
|
/** The composer's context for a site whose layouts name photos: the year, and each photo's address, words and shape. */
|
|
22292
|
-
function composeContextOf(year, photos, tier) {
|
|
22293
|
-
const tiered = tier ? { tier } : {};
|
|
22588
|
+
function composeContextOf(year, photos, tier, legal) {
|
|
22589
|
+
const tiered = { ...(tier ? { tier } : {}), ...(legal ? { legal } : {}) };
|
|
22294
22590
|
if (!photos)
|
|
22295
22591
|
return { year, ...tiered };
|
|
22296
22592
|
return {
|
|
@@ -22688,13 +22984,16 @@ function composeForm(node, pn, id, ctx) {
|
|
|
22688
22984
|
throw new ComposeError(`${id}: a preset Form takes its fields from the preset, not the pattern`);
|
|
22689
22985
|
stampPresetForm(node, presetId, id, ctx.owner);
|
|
22690
22986
|
}
|
|
22691
|
-
/** A preset's name, stable form id and children on a Form node — the ONE stamping `composeSite` and `composeLayout` share. */
|
|
22987
|
+
/** A preset's name, stable form id, after-send steps (iox-cms#84: a contact form emails the owner) and children on a Form node — the ONE stamping `composeSite` and `composeLayout` share. */
|
|
22692
22988
|
function stampPresetForm(node, presetId, id, owner) {
|
|
22693
22989
|
const preset = formPresetById(presetId);
|
|
22694
22990
|
if (!preset)
|
|
22695
22991
|
throw new ComposeError(`${id}: no form preset "${presetId}" in forms-core`);
|
|
22696
22992
|
setProp(node, 'name', preset.formName);
|
|
22697
22993
|
setProp(node, 'formId', `${preset.id}-${stableHash(`${owner}/${id}`)}`);
|
|
22994
|
+
const actions = presetFormActions(preset);
|
|
22995
|
+
if (actions)
|
|
22996
|
+
setProp(node, 'actions', actions);
|
|
22698
22997
|
node.children = presetChildren(preset, id);
|
|
22699
22998
|
}
|
|
22700
22999
|
/** A NEW Form stamped from a forms-core preset, exactly as a pattern's preset form is (premium M8: a layout's form layer). */
|
|
@@ -23559,6 +23858,17 @@ function composeLayoutPage(page, layout, plan, context, design, placeholders, re
|
|
|
23559
23858
|
});
|
|
23560
23859
|
return nodes;
|
|
23561
23860
|
}
|
|
23861
|
+
/** M2-1: each section root of a model-laid page says where it came from — a ready-made place its plan section's library
|
|
23862
|
+
* pattern, any other its layout section id (`composeLayout` keeps one root per layout section, in order). */
|
|
23863
|
+
function stampLayoutSections(page, layout, nodes) {
|
|
23864
|
+
if (nodes.length !== layout.sections.length)
|
|
23865
|
+
throw new ComposeError(`${page.key}: ${nodes.length} roots for ${layout.sections.length} layout sections`);
|
|
23866
|
+
return nodes.map((root, i) => {
|
|
23867
|
+
const s = layout.sections[i];
|
|
23868
|
+
const readyMade = s.readyMade ? page.sections[s.readyMade.at]?.pattern : undefined;
|
|
23869
|
+
return stampSection(root, readyMade ? { pattern: readyMade } : { layout: s.id });
|
|
23870
|
+
});
|
|
23871
|
+
}
|
|
23562
23872
|
/**
|
|
23563
23873
|
* Compose a Site Plan. Throws `SitePlanError` (every issue) when the plan does not validate — the
|
|
23564
23874
|
* composer never repairs a plan. `context` carries what the composer may not read for itself (the year).
|
|
@@ -23583,13 +23893,13 @@ function composeSite(plan, context) {
|
|
|
23583
23893
|
return {
|
|
23584
23894
|
key: page.key, name: page.name, route: { path: page.route }, isHome: page.isHome === true, status: STATUS_DRAFT, locale,
|
|
23585
23895
|
pageSettings: { designSystem: true, layoutSource: { pageKey: page.key }, ...(opening ? { opening } : {}) }, seo: composePageSeo(page, plan),
|
|
23586
|
-
layout: composeLayoutPage(page, page.layout, plan, context, design, placeholders, (section, id) => composePattern(patternById(section.pattern), id, { ...base, owner: page.key, page, section, nextAlias }, { level: section.enter ?? design.animate ?? null, rtl })),
|
|
23896
|
+
layout: stampLayoutSections(page, page.layout, composeLayoutPage(page, page.layout, plan, context, design, placeholders, (section, id) => composePattern(patternById(section.pattern), id, { ...base, owner: page.key, page, section, nextAlias }, { level: section.enter ?? design.animate ?? null, rtl }))),
|
|
23587
23897
|
};
|
|
23588
23898
|
}
|
|
23589
23899
|
const layout = page.sections.map((section, i) => {
|
|
23590
23900
|
const pattern = patternById(section.pattern);
|
|
23591
23901
|
const motion = { level: section.enter ?? design.animate ?? null, rtl };
|
|
23592
|
-
return composePattern(pattern, `${page.key}-${i}`, { ...base, owner: page.key, page, section, nextAlias }, motion);
|
|
23902
|
+
return stampSection(composePattern(pattern, `${page.key}-${i}`, { ...base, owner: page.key, page, section, nextAlias }, motion), { pattern: section.pattern });
|
|
23593
23903
|
});
|
|
23594
23904
|
const opening = colorSchemeClass(layout[0]?.props?.[COLOR_SCHEME_TRAIT]) ? layout[0].props[COLOR_SCHEME_TRAIT] : null;
|
|
23595
23905
|
return {
|
|
@@ -23640,6 +23950,14 @@ function composeSite(plan, context) {
|
|
|
23640
23950
|
}
|
|
23641
23951
|
if (planSells(plan))
|
|
23642
23952
|
globals = withStore(globals, plan.locale ?? DEFAULT_SITE_LOCALE);
|
|
23953
|
+
// AW1: the law, derived from facts and never asked — the legal pages, the banner when a tracker is connected, the
|
|
23954
|
+
// footer's legal row and the line beside every form that asks for personal details.
|
|
23955
|
+
const legal = composeLegal(plan, context.legal ?? {}, pages, globals, footer.mix.arrange, placeholders);
|
|
23956
|
+
globals = legal.globals;
|
|
23957
|
+
// RD1 (M2-1): the legal line dresses a section's form AFTER it was stamped — re-take the fingerprints, so a built
|
|
23958
|
+
// page reads "as the build left it" (the same rule iox-cms runs after the stock photos).
|
|
23959
|
+
for (const page of pages)
|
|
23960
|
+
refreshSectionStamps(page.layout);
|
|
23643
23961
|
return {
|
|
23644
23962
|
source: clone$1(plan.source),
|
|
23645
23963
|
business: clone$1(plan.business),
|
|
@@ -23647,14 +23965,178 @@ function composeSite(plan, context) {
|
|
|
23647
23965
|
schemas: clone$1(plan.contentTypes),
|
|
23648
23966
|
items: Object.fromEntries(plan.contentTypes.map(t => [t.name, composeItems(t, plan.source.kind === SitePlanSourceKind.Ai)])),
|
|
23649
23967
|
dataSources: plan.dataSources.map(composeDataSource),
|
|
23650
|
-
pages,
|
|
23968
|
+
pages: [...pages, ...legal.pages],
|
|
23651
23969
|
globals,
|
|
23652
|
-
routes: plan.pages.map(p => ({ key: p.key, path: p.route, isHome: p.isHome === true })),
|
|
23970
|
+
routes: [...plan.pages.map(p => ({ key: p.key, path: p.route, isHome: p.isHome === true })), ...legal.pages.map(p => ({ key: p.key, path: p.route.path, isHome: false }))],
|
|
23653
23971
|
placeholders,
|
|
23654
23972
|
issues,
|
|
23655
23973
|
shop: composeShop(plan),
|
|
23656
23974
|
};
|
|
23657
23975
|
}
|
|
23976
|
+
// ── AW1: the law (award-ingredients-plan §4) ──────────────────────────────────────────────────────────────────────
|
|
23977
|
+
const LINK = 'Link';
|
|
23978
|
+
const HEADING = 'Heading';
|
|
23979
|
+
const SECTION = 'Section';
|
|
23980
|
+
const CONTAINER = 'Container';
|
|
23981
|
+
/** Inline words: the legal line reads as one sentence, its links inside it. */
|
|
23982
|
+
const INLINE = { display: 'inline', width: 'auto', minHeight: 'auto', padding: '0px 0px 0px 0px', margin: '0px 0px 0px 0px' };
|
|
23983
|
+
/** The facts the law is decided by: the composed site's forms, what it sells, its language and the studio's country and trackers. */
|
|
23984
|
+
function legalFactsOf(plan, context, nodes) {
|
|
23985
|
+
const sells = planSells(plan);
|
|
23986
|
+
return {
|
|
23987
|
+
...formLegalFacts(nodes),
|
|
23988
|
+
[LegalFact.Tracker]: (context.trackers?.length ?? 0) > 0,
|
|
23989
|
+
[LegalFact.Sells]: sells,
|
|
23990
|
+
// The shop ships what it sells (commerce shipping, C-D9) — no product is digital yet.
|
|
23991
|
+
[LegalFact.PhysicalGoods]: sells,
|
|
23992
|
+
[LegalFact.Hebrew]: (plan.locale ?? DEFAULT_SITE_LOCALE) === SiteLocale.He,
|
|
23993
|
+
...countryLegalFacts(context.country),
|
|
23994
|
+
};
|
|
23995
|
+
}
|
|
23996
|
+
/** A stamped legal page: its title and the placeholder that says what belongs there — never a word of policy (D-C7). */
|
|
23997
|
+
function composeLegalPage(kind, key, route, plan, placeholders) {
|
|
23998
|
+
const locale = plan.locale ?? DEFAULT_SITE_LOCALE;
|
|
23999
|
+
const title = legalTitle(kind, locale);
|
|
24000
|
+
const label = legalLabel(kind, locale);
|
|
24001
|
+
const section = create(key, SECTION, {}, 'section');
|
|
24002
|
+
section.label = 'Legal page';
|
|
24003
|
+
const column = create(`${key}-0`, CONTAINER, {}, 'box');
|
|
24004
|
+
setStyleProps(column, { display: 'flex', flexDirection: 'column', gap: '18px', maxWidth: '720px', width: '100%', margin: '0px auto 0px auto' });
|
|
24005
|
+
const heading = create(`${key}-0-0`, HEADING, { content: title, level: 'h1' }, 'h1');
|
|
24006
|
+
const text = create(`${key}-0-1`, TEXT, { content: label }, 'body');
|
|
24007
|
+
column.children = [heading, text];
|
|
24008
|
+
section.children = [column];
|
|
24009
|
+
placeholders.push({ nodeId: text.id, owner: key, kind: PlaceholderKind.Policy, text: label });
|
|
24010
|
+
const page = { key, name: title, route, sections: [] };
|
|
24011
|
+
return {
|
|
24012
|
+
key, name: title, route: { path: route }, isHome: false, status: STATUS_DRAFT, locale,
|
|
24013
|
+
pageSettings: { designSystem: true, [LEGAL_PAGE_SETTING]: kind },
|
|
24014
|
+
seo: composePageSeo(page, plan), layout: [section],
|
|
24015
|
+
};
|
|
24016
|
+
}
|
|
24017
|
+
/** A link to a legal page, worn as the look's link. */
|
|
24018
|
+
function legalLink(id, kind, route, locale, base = {}) {
|
|
24019
|
+
const link = create(id, LINK, { label: legalTitle(kind, locale) }, 'link');
|
|
24020
|
+
writePageLink(link, route);
|
|
24021
|
+
setStyleProps(link, { width: 'auto', minHeight: 'auto', ...base });
|
|
24022
|
+
return link;
|
|
24023
|
+
}
|
|
24024
|
+
/** The footer's legal row (CONSENT `reopen.footer`, FOOTER `holds.legal`): every legal page, then Cookie settings. */
|
|
24025
|
+
function legalRow(routes, settings, arrange, locale) {
|
|
24026
|
+
if (!routes.size && !settings)
|
|
24027
|
+
return null;
|
|
24028
|
+
const row = create(FOOTER_LEGAL_ROLE.replace('.', '-'), CONTAINER, {}, 'box');
|
|
24029
|
+
row.role = FOOTER_LEGAL_ROLE;
|
|
24030
|
+
row.label = 'Legal';
|
|
24031
|
+
setStyleProps(row, {
|
|
24032
|
+
display: 'flex', flexWrap: 'wrap', alignItems: 'center', gap: '8px 20px', width: '100%', minHeight: 'auto',
|
|
24033
|
+
justifyContent: arrange === FooterArrange.Centred ? 'center' : 'flex-start',
|
|
24034
|
+
});
|
|
24035
|
+
row.children = [...[...routes].map(([kind, route]) => legalLink(`${row.id}-${kind}`, kind, route, locale)), ...(settings ? [settings] : [])];
|
|
24036
|
+
return row;
|
|
24037
|
+
}
|
|
24038
|
+
/** The legal line beside a form (AW-D15): the owner's words to edit, its links to the site's terms and privacy pages. */
|
|
24039
|
+
function formLegalLine(form, routes, locale) {
|
|
24040
|
+
if (!routes.has(LegalKind.Privacy))
|
|
24041
|
+
return null;
|
|
24042
|
+
const id = `${form.id}-legal`;
|
|
24043
|
+
const line = create(id, CONTAINER, {}, 'box');
|
|
24044
|
+
line.role = FORM_LEGAL_ROLE;
|
|
24045
|
+
line.label = 'Legal line';
|
|
24046
|
+
setStyleProps(line, { display: 'block', width: '100%', minHeight: 'auto' });
|
|
24047
|
+
line.children = legalFormLine(locale, routes.has(LegalKind.Terms)).map((part, i) => ('kind' in part
|
|
24048
|
+
? legalLink(`${id}-${i}`, part.kind, routes.get(part.kind), locale, INLINE)
|
|
24049
|
+
: (() => {
|
|
24050
|
+
const words = create(`${id}-${i}`, TEXT, { content: part.text, tag: 'span' }, 'small');
|
|
24051
|
+
setStyleProps(words, INLINE);
|
|
24052
|
+
return words;
|
|
24053
|
+
})()));
|
|
24054
|
+
return line;
|
|
24055
|
+
}
|
|
24056
|
+
/** Put the legal line after a form's fields and buttons — before its success and error blocks. */
|
|
24057
|
+
function withFormLine(form, line) {
|
|
24058
|
+
const kids = form.children ?? (form.children = []);
|
|
24059
|
+
const at = kids.findIndex(k => k.type === FORM_SUCCESS || k.type === FORM_ERROR);
|
|
24060
|
+
kids.splice(at >= 0 ? at : kids.length, 0, line);
|
|
24061
|
+
}
|
|
24062
|
+
/** The categories the trackers need a yes for, each once (Necessary never). */
|
|
24063
|
+
function trackerCategories(context) {
|
|
24064
|
+
const out = [];
|
|
24065
|
+
for (const t of context.trackers ?? []) {
|
|
24066
|
+
const c = t.category;
|
|
24067
|
+
if (c !== ConsentCategory.Necessary && !out.includes(c))
|
|
24068
|
+
out.push(c);
|
|
24069
|
+
}
|
|
24070
|
+
return out;
|
|
24071
|
+
}
|
|
24072
|
+
/**
|
|
24073
|
+
* AW1 (C5): the law a site's facts call for — stamped, never asked. Each legal kind the facts need (`legalKindsFor`) is
|
|
24074
|
+
* the studio's own page when it has one (linked, never stamped again), else an empty flagged page on a free route; the
|
|
24075
|
+
* cookie banner and its preferences are stamped as globals when a tracker is connected (unless the studio keeps its
|
|
24076
|
+
* own); every footer gets the legal row (+ Cookie settings), every form that asks for personal details the legal line.
|
|
24077
|
+
* Pure: new globals, the stamped pages; forms and the footer gain their nodes in place.
|
|
24078
|
+
*/
|
|
24079
|
+
function composeLegal(plan, context, pages, globals, footerArrange, placeholders) {
|
|
24080
|
+
const locale = plan.locale ?? DEFAULT_SITE_LOCALE;
|
|
24081
|
+
const nodes = [...pages.flatMap(p => p.layout), ...globals];
|
|
24082
|
+
const kinds = legalKindsFor(legalFactsOf(plan, context, nodes));
|
|
24083
|
+
const taken = new Set([...plan.pages.map(p => p.route), ...(context.takenRoutes ?? [])]);
|
|
24084
|
+
const keys = new Set(plan.pages.map(p => p.key));
|
|
24085
|
+
const routes = new Map();
|
|
24086
|
+
const stamped = [];
|
|
24087
|
+
for (const kind of kinds) {
|
|
24088
|
+
const own = context.existing?.[kind];
|
|
24089
|
+
if (own) {
|
|
24090
|
+
routes.set(kind, own);
|
|
24091
|
+
continue;
|
|
24092
|
+
}
|
|
24093
|
+
const route = legalRoute(kind, taken);
|
|
24094
|
+
taken.add(route);
|
|
24095
|
+
let key = `legal-${kind}`;
|
|
24096
|
+
for (let n = 2; keys.has(key); n++)
|
|
24097
|
+
key = `legal-${kind}-${n}`;
|
|
24098
|
+
keys.add(key);
|
|
24099
|
+
routes.set(kind, route);
|
|
24100
|
+
stamped.push(composeLegalPage(kind, key, route, plan, placeholders));
|
|
24101
|
+
}
|
|
24102
|
+
const out = [...globals];
|
|
24103
|
+
let settings = null;
|
|
24104
|
+
const categories = trackerCategories(context);
|
|
24105
|
+
if (context.trackers?.length) {
|
|
24106
|
+
const privacy = routes.get(LegalKind.Privacy);
|
|
24107
|
+
const consent = buildConsentRecipe(spec => create(spec.key, spec.type, { ...(spec.props ?? {}) }, spec.elementStyle ?? null), {
|
|
24108
|
+
lang: locale, categories, privacyRoute: privacy ?? null, privacyLabel: privacy ? legalTitle(LegalKind.Privacy, locale) : undefined,
|
|
24109
|
+
});
|
|
24110
|
+
settings = consent.settings;
|
|
24111
|
+
if (context.keptPreferences) {
|
|
24112
|
+
// The studio keeps its own banner: the footer's Cookie settings opens ITS preferences, and no second banner.
|
|
24113
|
+
for (const ix of settings.interactions ?? [])
|
|
24114
|
+
for (const a of ix.actions ?? []) {
|
|
24115
|
+
if (a.type === ConsentActionType.OpenPreferences)
|
|
24116
|
+
a.target = context.keptPreferences;
|
|
24117
|
+
}
|
|
24118
|
+
}
|
|
24119
|
+
else {
|
|
24120
|
+
for (const root of [consent.banner, consent.preferences]) {
|
|
24121
|
+
root.isGlobal = true;
|
|
24122
|
+
root.globalPosition = PatternGlobalPosition.After;
|
|
24123
|
+
out.push(root);
|
|
24124
|
+
}
|
|
24125
|
+
}
|
|
24126
|
+
}
|
|
24127
|
+
const footer = out.find(g => g.id === GlobalSlot.Footer);
|
|
24128
|
+
const row = footer ? legalRow(routes, settings, footerArrange, locale) : null;
|
|
24129
|
+
if (footer && row)
|
|
24130
|
+
(footer.children ?? (footer.children = [])).push(row);
|
|
24131
|
+
walkSerialized([...pages.flatMap(p => p.layout), ...out, ...stamped.flatMap(p => p.layout)], n => {
|
|
24132
|
+
if (n.type !== FORM || !formAsksPersonalData(n))
|
|
24133
|
+
return;
|
|
24134
|
+
const line = formLegalLine(n, routes, locale);
|
|
24135
|
+
if (line)
|
|
24136
|
+
withFormLine(n, line);
|
|
24137
|
+
});
|
|
24138
|
+
return { pages: stamped, globals: out };
|
|
24139
|
+
}
|
|
23658
24140
|
/** A plan's header (HI1): its mix as the product draws it, checked against the site, and the recipe to stamp — with what
|
|
23659
24141
|
* was mended or drawn as something else, in words. */
|
|
23660
24142
|
function planHeader(plan) {
|
|
@@ -25923,7 +26405,20 @@ var SiteFindingCode;
|
|
|
25923
26405
|
/** M7: a picture the build could not make (its review said no twice) and nothing stood in for: an empty box. */
|
|
25924
26406
|
SiteFindingCode["PictureMissing"] = "picture-missing";
|
|
25925
26407
|
SiteFindingCode["NoPrivacyPage"] = "no-privacy-page";
|
|
25926
|
-
|
|
26408
|
+
/** AW1: a legal page (privacy, cookies, terms, the accessibility statement…) still shows what belongs there — only the
|
|
26409
|
+
* owner can write it. The finding names its kind (`legal`). Generalises the privacy page's own finding. */
|
|
26410
|
+
SiteFindingCode["LegalPagePlaceholder"] = "legal-page-placeholder";
|
|
26411
|
+
/** AW1 (AW-D14): a site built with the law (`siteBuiltWithLaw`) in Israel or in Hebrew has no accessibility
|
|
26412
|
+
* statement — it blocks until one is written (Doron 2026-11-20: "block new, warn old"). */
|
|
26413
|
+
SiteFindingCode["NoAccessibilityStatement"] = "no-accessibility-statement";
|
|
26414
|
+
/** AW1: a site that existed before the law was stamped (an Israeli or Hebrew one) has no accessibility statement —
|
|
26415
|
+
* a warning only; no existing studio's publish is stopped by this rule. */
|
|
26416
|
+
SiteFindingCode["AccessibilityStatementAdvised"] = "accessibility-statement-advised";
|
|
26417
|
+
/** AW1 (R-H4): the cookie banner's Reject is weaker than its Accept — a link, another kind of element, on another row,
|
|
26418
|
+
* or only inside Preferences. Refusing must be as easy as accepting. */
|
|
26419
|
+
SiteFindingCode["ConsentRejectWeaker"] = "consent-reject-weaker";
|
|
26420
|
+
/** AW1 (R-H4): the site has a cookie banner and nothing outside it reopens the choice (Cookie settings). */
|
|
26421
|
+
SiteFindingCode["NoCookieSettings"] = "no-cookie-settings";
|
|
25927
26422
|
SiteFindingCode["LowContrast"] = "low-contrast";
|
|
25928
26423
|
SiteFindingCode["HeadingOrder"] = "heading-order";
|
|
25929
26424
|
SiteFindingCode["ImageWithoutAlt"] = "image-without-alt";
|
|
@@ -25954,7 +26449,11 @@ const FINDING_SEVERITY = {
|
|
|
25954
26449
|
[SiteFindingCode.MadePicture]: CheckSeverity.Ask,
|
|
25955
26450
|
[SiteFindingCode.PictureMissing]: CheckSeverity.Warn,
|
|
25956
26451
|
[SiteFindingCode.NoPrivacyPage]: CheckSeverity.Ask,
|
|
25957
|
-
[SiteFindingCode.
|
|
26452
|
+
[SiteFindingCode.LegalPagePlaceholder]: CheckSeverity.Block,
|
|
26453
|
+
[SiteFindingCode.NoAccessibilityStatement]: CheckSeverity.Block,
|
|
26454
|
+
[SiteFindingCode.AccessibilityStatementAdvised]: CheckSeverity.Warn,
|
|
26455
|
+
[SiteFindingCode.ConsentRejectWeaker]: CheckSeverity.Block,
|
|
26456
|
+
[SiteFindingCode.NoCookieSettings]: CheckSeverity.Warn,
|
|
25958
26457
|
[SiteFindingCode.LowContrast]: CheckSeverity.Warn,
|
|
25959
26458
|
[SiteFindingCode.HeadingOrder]: CheckSeverity.Warn,
|
|
25960
26459
|
[SiteFindingCode.ImageWithoutAlt]: CheckSeverity.Warn,
|
|
@@ -25984,7 +26483,11 @@ const CHECK_OF = {
|
|
|
25984
26483
|
[SiteFindingCode.MadePicture]: SiteCheckId.Facts,
|
|
25985
26484
|
[SiteFindingCode.PictureMissing]: SiteCheckId.Facts,
|
|
25986
26485
|
[SiteFindingCode.NoPrivacyPage]: SiteCheckId.Facts,
|
|
25987
|
-
[SiteFindingCode.
|
|
26486
|
+
[SiteFindingCode.LegalPagePlaceholder]: SiteCheckId.Facts,
|
|
26487
|
+
[SiteFindingCode.NoAccessibilityStatement]: SiteCheckId.Accessibility,
|
|
26488
|
+
[SiteFindingCode.AccessibilityStatementAdvised]: SiteCheckId.Accessibility,
|
|
26489
|
+
[SiteFindingCode.ConsentRejectWeaker]: SiteCheckId.Consent,
|
|
26490
|
+
[SiteFindingCode.NoCookieSettings]: SiteCheckId.Consent,
|
|
25988
26491
|
[SiteFindingCode.LowContrast]: SiteCheckId.Accessibility,
|
|
25989
26492
|
[SiteFindingCode.HeadingOrder]: SiteCheckId.Accessibility,
|
|
25990
26493
|
[SiteFindingCode.ImageWithoutAlt]: SiteCheckId.Accessibility,
|
|
@@ -25995,8 +26498,13 @@ const CHECK_OF = {
|
|
|
25995
26498
|
};
|
|
25996
26499
|
const LINKING_TYPES = new Set(['Link', 'Heading', 'Button', 'ButtonBlock', 'LinkedContainer', 'Image']);
|
|
25997
26500
|
const PAGE_LINK = 'page';
|
|
25998
|
-
|
|
25999
|
-
|
|
26501
|
+
/** A hand-built site's legal pages, found by a word in their name or route (a generated page says its kind). */
|
|
26502
|
+
// "מדיניות" alone is any policy (cookies, returns) — only "פרטיות" names privacy.
|
|
26503
|
+
const HAND_BUILT_LEGAL = {
|
|
26504
|
+
[LegalKind.Privacy]: /privacy|פרטיות/i,
|
|
26505
|
+
[LegalKind.Accessibility]: /accessib|נגישות/i,
|
|
26506
|
+
};
|
|
26507
|
+
const HEBREW = 'he';
|
|
26000
26508
|
const MAILER = 'mailer';
|
|
26001
26509
|
const EMAIL_DELIVERY = 'email';
|
|
26002
26510
|
const LITERAL_COLOUR = /#[0-9a-f]{3,8}\b|rgba?\(|hsla?\(/i;
|
|
@@ -26079,9 +26587,9 @@ function checkForms(ctx, snapshot, pages) {
|
|
|
26079
26587
|
if (spec?.actions.some(a => a.type === EMAIL_DELIVERY) && snapshot.connectors[MAILER] !== true) {
|
|
26080
26588
|
add(ctx, SiteFindingCode.EmailNeedsMailer, 'A form emails what visitors send, but Email is not connected — it is stored and never sent.', { ...where, nodeId: n.id });
|
|
26081
26589
|
}
|
|
26590
|
+
if (formAsksPersonalData(n))
|
|
26591
|
+
personal = true;
|
|
26082
26592
|
walkSerialized(n.children ?? [], f => {
|
|
26083
|
-
if (f.type === FIELD_NODE_TYPE && PERSONAL_CONTROLS.has(String(f.props['control'] ?? ControlType.Text)))
|
|
26084
|
-
personal = true;
|
|
26085
26593
|
if (f.role === FORM_CHANNEL_ROLE && !isChannelFilled(f.props['href'])) {
|
|
26086
26594
|
add(ctx, SiteFindingCode.EmptyChannel, 'A form\'s second way to reach you has no number or address yet — visitors do not see it until you fill it in.', { ...where, nodeId: f.id });
|
|
26087
26595
|
}
|
|
@@ -26089,15 +26597,68 @@ function checkForms(ctx, snapshot, pages) {
|
|
|
26089
26597
|
});
|
|
26090
26598
|
return personal;
|
|
26091
26599
|
}
|
|
26600
|
+
/** The actions a node's own interactions run, in order. */
|
|
26601
|
+
function actionsOf(node) {
|
|
26602
|
+
return (node.interactions ?? []).flatMap(ix => ix?.actions ?? []);
|
|
26603
|
+
}
|
|
26604
|
+
/** True when a node's own interactions run an action of `type`. */
|
|
26605
|
+
function runs(node, type) {
|
|
26606
|
+
return actionsOf(node).some(a => a?.type === type && !a.disabled);
|
|
26607
|
+
}
|
|
26608
|
+
/** Elements that read as a link, never a button: a Reject drawn as one is weaker than its Accept (R-H4). */
|
|
26609
|
+
const LINK_LIKE = new Set(['Link', 'Text']);
|
|
26610
|
+
/**
|
|
26611
|
+
* THE consent judge (AW1, CONSENT `rules` — one judge, grown here): a tracker needs a banner; a banner's Reject is never
|
|
26612
|
+
* weaker than its Accept (the same kind of element, on the same row, on the first layer — never a link, never only inside
|
|
26613
|
+
* Preferences); and something outside the banner reopens the choice (Cookie settings).
|
|
26614
|
+
*/
|
|
26092
26615
|
function checkConsent(ctx, snapshot) {
|
|
26093
|
-
|
|
26094
|
-
return;
|
|
26095
|
-
let banner = false;
|
|
26616
|
+
const banners = [];
|
|
26096
26617
|
for (const g of snapshot.globals)
|
|
26097
26618
|
walkSerialized([g], n => { if (n.type === DIALOG_TYPE && n.props['consentRole'] === true)
|
|
26098
|
-
|
|
26099
|
-
if (!
|
|
26619
|
+
banners.push(n); });
|
|
26620
|
+
if (snapshot.trackers?.length && !banners.length) {
|
|
26100
26621
|
add(ctx, SiteFindingCode.TrackerWithoutBanner, `${snapshot.trackers.join(', ')} is connected, but the site has no cookie banner — it stays off for every visitor.`);
|
|
26622
|
+
}
|
|
26623
|
+
for (const banner of banners) {
|
|
26624
|
+
const accept = [];
|
|
26625
|
+
const reject = [];
|
|
26626
|
+
walkSerialized([banner], (n, ancestors) => {
|
|
26627
|
+
const row = ancestors[ancestors.length - 1] ?? null;
|
|
26628
|
+
if (runs(n, ConsentActionType.Grant))
|
|
26629
|
+
accept.push({ node: n, row });
|
|
26630
|
+
if (runs(n, ConsentActionType.Deny))
|
|
26631
|
+
reject.push({ node: n, row });
|
|
26632
|
+
});
|
|
26633
|
+
const weaker = !reject.length || reject.every(r => LINK_LIKE.has(r.node.type)
|
|
26634
|
+
|| !accept.some(a => a.node.type === r.node.type && a.row === r.row));
|
|
26635
|
+
if (weaker) {
|
|
26636
|
+
add(ctx, SiteFindingCode.ConsentRejectWeaker, !reject.length
|
|
26637
|
+
? 'The cookie banner has no Reject beside Accept — refusing must be as easy as accepting.'
|
|
26638
|
+
: '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 });
|
|
26639
|
+
}
|
|
26640
|
+
}
|
|
26641
|
+
if (!banners.length)
|
|
26642
|
+
return;
|
|
26643
|
+
const inBanner = new Set();
|
|
26644
|
+
for (const b of banners)
|
|
26645
|
+
walkSerialized([b], n => inBanner.add(n.id));
|
|
26646
|
+
// The preferences dialogs the banners open are part of the choice too, not a way back to it.
|
|
26647
|
+
const prefs = new Set();
|
|
26648
|
+
for (const b of banners)
|
|
26649
|
+
walkSerialized([b], n => {
|
|
26650
|
+
for (const a of actionsOf(n))
|
|
26651
|
+
if (a.type === ConsentActionType.OpenPreferences && a.target)
|
|
26652
|
+
prefs.add(a.target);
|
|
26653
|
+
});
|
|
26654
|
+
for (const g of snapshot.globals)
|
|
26655
|
+
if (prefs.has(g.id))
|
|
26656
|
+
walkSerialized([g], n => inBanner.add(n.id));
|
|
26657
|
+
let reopens = false;
|
|
26658
|
+
eachNode(snapshot, snapshot.pages, n => { if (!inBanner.has(n.id) && runs(n, ConsentActionType.OpenPreferences))
|
|
26659
|
+
reopens = true; });
|
|
26660
|
+
if (!reopens)
|
|
26661
|
+
add(ctx, SiteFindingCode.NoCookieSettings, 'Nothing on the site reopens the cookie choice — add Cookie settings to the footer so visitors can change their mind.');
|
|
26101
26662
|
}
|
|
26102
26663
|
function checkSeo(ctx, pages) {
|
|
26103
26664
|
for (const page of pages) {
|
|
@@ -26137,16 +26698,70 @@ function checkFacts(ctx, snapshot, pages, personal) {
|
|
|
26137
26698
|
add(ctx, SiteFindingCode.MadePicture, 'A picture made with AI stands in for one of yours.', { pageId: s.pageId, nodeId: s.nodeId, owner: s.owner });
|
|
26138
26699
|
for (const s of (snapshot.missing ?? []).filter(inScope))
|
|
26139
26700
|
add(ctx, SiteFindingCode.PictureMissing, 'A picture could not be made for this spot — add one of yours.', { pageId: s.pageId, nodeId: s.nodeId, owner: s.owner });
|
|
26140
|
-
|
|
26141
|
-
|
|
26142
|
-
|
|
26143
|
-
|
|
26144
|
-
|
|
26145
|
-
|
|
26146
|
-
|
|
26701
|
+
checkLegalPages(ctx, snapshot, pages, personal);
|
|
26702
|
+
if (personal && !legalPageOf(snapshot.pages, LegalKind.Privacy)) {
|
|
26703
|
+
add(ctx, SiteFindingCode.NoPrivacyPage, 'A form asks for personal details, and the site has no privacy page saying what you do with them.');
|
|
26704
|
+
}
|
|
26705
|
+
}
|
|
26706
|
+
const isIsraeli = (snapshot) => String(snapshot.country ?? '').trim().toUpperCase() === ISRAEL;
|
|
26707
|
+
/** Israel requires an accessibility statement; a Hebrew site elsewhere is expected to carry one. */
|
|
26708
|
+
const wantsAccessibilityStatement = (snapshot) => isIsraeli(snapshot) || snapshot.locale === HEBREW;
|
|
26709
|
+
/**
|
|
26710
|
+
* "Block new, warn old" (Doron, 2026-11-20): is this a site the generator built WITH the law? Read from what is STORED,
|
|
26711
|
+
* never a date: a site-build run that carried the AW1 legal context (`legalBuilt`), or a page that says its legal kind
|
|
26712
|
+
* (`pageSettings.legal` — only AW1's composer writes it). Such a site is held until its accessibility statement is
|
|
26713
|
+
* written; a site that existed before is warned only.
|
|
26714
|
+
*/
|
|
26715
|
+
function siteBuiltWithLaw(snapshot) {
|
|
26716
|
+
return snapshot.legalBuilt === true || snapshot.pages.some(p => isLegalKind(p.legal));
|
|
26717
|
+
}
|
|
26718
|
+
/** The site's page of a legal kind: the one that says so, else (a hand-built site) one whose name or route says it. */
|
|
26719
|
+
function legalPageOf(pages, kind) {
|
|
26720
|
+
const word = HAND_BUILT_LEGAL[kind];
|
|
26721
|
+
return pages.find(p => p.legal === kind) ?? (word ? pages.find(p => !isLegalKind(p.legal) && (word.test(p.route) || word.test(p.name))) : undefined);
|
|
26722
|
+
}
|
|
26723
|
+
/** The kind a page is to the gate: what it says, else the hand-built word its name or route carries. */
|
|
26724
|
+
function legalKindOfAudited(page) {
|
|
26725
|
+
if (isLegalKind(page.legal))
|
|
26726
|
+
return page.legal;
|
|
26727
|
+
for (const [kind, word] of Object.entries(HAND_BUILT_LEGAL))
|
|
26728
|
+
if (word.test(page.route) || word.test(page.name))
|
|
26729
|
+
return kind;
|
|
26730
|
+
return null;
|
|
26731
|
+
}
|
|
26732
|
+
/**
|
|
26733
|
+
* AW1: a legal page that still shows what belongs there holds Publish — only the owner can write it (D-C7). The page
|
|
26734
|
+
* itself, and every publish a law ties to it: a page with a personal-data form needs its privacy page written, and an
|
|
26735
|
+
* Israeli site's every page needs its accessibility statement.
|
|
26736
|
+
*/
|
|
26737
|
+
function checkLegalPages(ctx, snapshot, pages, personal) {
|
|
26738
|
+
const open = (snapshot.placeholders ?? []).filter(p => !p.filled && p.pageId);
|
|
26739
|
+
const built = siteBuiltWithLaw(snapshot);
|
|
26740
|
+
const tied = [
|
|
26741
|
+
personal ? legalPageOf(snapshot.pages, LegalKind.Privacy) : undefined,
|
|
26742
|
+
built && wantsAccessibilityStatement(snapshot) ? legalPageOf(snapshot.pages, LegalKind.Accessibility) : undefined,
|
|
26743
|
+
];
|
|
26744
|
+
const judged = [...new Set([...pages, ...tied.filter((p) => !!p)])];
|
|
26745
|
+
for (const page of judged) {
|
|
26746
|
+
const kind = legalKindOfAudited(page);
|
|
26747
|
+
if (!kind || !legalKindBlocks(kind) || !open.some(p => p.pageId === page.id))
|
|
26748
|
+
continue;
|
|
26749
|
+
// Warn old: a site from before the law is never held by its accessibility statement.
|
|
26750
|
+
if (kind === LegalKind.Accessibility && !built)
|
|
26751
|
+
continue;
|
|
26752
|
+
add(ctx, SiteFindingCode.LegalPagePlaceholder, `"${page.name || legalTitle(kind, snapshot.locale)}" still says what belongs there — only you can write it.`, { pageId: page.id, legal: kind });
|
|
26147
26753
|
}
|
|
26148
26754
|
}
|
|
26149
26755
|
function checkAccessibility(ctx, snapshot, pages) {
|
|
26756
|
+
// AW1 (AW-D14): Israel requires an accessibility statement; a Hebrew site elsewhere is expected to carry one. Block
|
|
26757
|
+
// new, warn old: only a site built with the law is held (`siteBuiltWithLaw`).
|
|
26758
|
+
if (wantsAccessibilityStatement(snapshot) && !legalPageOf(snapshot.pages, LegalKind.Accessibility)) {
|
|
26759
|
+
const why = isIsraeli(snapshot) ? 'Israel requires one' : 'a Hebrew site is expected to carry one';
|
|
26760
|
+
if (siteBuiltWithLaw(snapshot))
|
|
26761
|
+
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.`);
|
|
26762
|
+
else
|
|
26763
|
+
add(ctx, SiteFindingCode.AccessibilityStatementAdvised, `The site has no accessibility statement — ${why}. Add a page for it.`);
|
|
26764
|
+
}
|
|
26150
26765
|
for (const mode of snapshot.design?.modes ?? []) {
|
|
26151
26766
|
const failing = auditDesignContrast(snapshot.design.rows, mode).filter(f => !f.pass);
|
|
26152
26767
|
if (failing.length)
|
|
@@ -30218,9 +30833,13 @@ function siteTreeOf(studio) {
|
|
|
30218
30833
|
};
|
|
30219
30834
|
}
|
|
30220
30835
|
const layout = page.layout ?? [];
|
|
30836
|
+
// A page the build made that is not one of its plan's pages (AW1's stamped legal pages) is still the build's:
|
|
30837
|
+
// drawn from its layout, Built — or Edited, by the same fingerprints (an edited legal page is kept by Undo).
|
|
30838
|
+
const known = !!run && Array.isArray(run.edited);
|
|
30221
30839
|
return {
|
|
30222
30840
|
...base, sections: layout.map(handSection), data: handData(layout, studio, label),
|
|
30223
|
-
maker: source?.runId ? SitePageMaker.
|
|
30841
|
+
maker: !source?.runId ? SitePageMaker.Owner : known && run.edited.includes(page._id) ? SitePageMaker.Edited : SitePageMaker.Built,
|
|
30842
|
+
...(run ? { editsKnown: known, builtAt: run.finishedAt ?? null } : {}), items: null,
|
|
30224
30843
|
};
|
|
30225
30844
|
});
|
|
30226
30845
|
const nested = nestSitePages(nodes);
|
|
@@ -30268,5 +30887,5 @@ function siteGlobalsOf(globals) {
|
|
|
30268
30887
|
* Generated bundle index. Do not edit.
|
|
30269
30888
|
*/
|
|
30270
30889
|
|
|
30271
|
-
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, 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, AdjustAxis, AdjustKind, 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_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_TOKEN, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, 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_LIST_TOKEN, LAYOUT_MIX_OFFERED, 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_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, 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, MenuSide, 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_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, 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, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, adjustStepLabel, adjustStepOf, adjustStyleProps, 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, checkFooter, checkHeader, checkLayout, checkList, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnFooterMix, drawnHeaderMix, driftAt, driftOverlap, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, frameWords, generationTierOf, headerContextOfPlan, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerTokenOf, headerTokenWords, headerWireWords, headerWords, isActiveBuild, isLayoutRule, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRtlLocale, isShopResource, isTemplateRoute, 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, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, listBuiltWords, listIngredientWords, listMeaning, listNeverIsEmpty, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendLayout, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, namedFooterMix, namedHeaderMix, navPages, navShapeBreakpoint, navShapeOf, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, orientationOfRatio, ownPhotoFit, pageListIssues, 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, pinnedPagesOf, pixelsUnder, placeFilm, 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, planWordIssues, pricesIn, publishRefusal, publishVerdict, readyMadeColumn, recipeListBinds, recomposeAsks, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionEntrances, sectionPatternIds, sectionToWire, sectionTokenOf, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, startComposingShare, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, tierOf, tierOffers, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
|
|
30890
|
+
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, 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, AdjustAxis, AdjustKind, 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_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, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, IMPRINT_COUNTRIES, ISRAEL, 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_LIST_TOKEN, LAYOUT_MIX_OFFERED, 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, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, 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, LegalBlocks, LegalFact, LegalKind, MAX_SITE_PICTURES, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, 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, 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_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, 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, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, adjustStepLabel, adjustStepOf, adjustStyleProps, 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, canonicalNodeJson, checkFooter, checkHeader, checkLayout, checkList, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnFooterMix, drawnHeaderMix, driftAt, driftOverlap, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, hash53, headerContextOfPlan, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerTokenOf, headerTokenWords, headerWireWords, headerWords, isActiveBuild, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRtlLocale, isSectionStamp, isShopResource, isTemplateRoute, 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, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBuiltWords, listIngredientWords, listMeaning, listNeverIsEmpty, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendLayout, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, namedFooterMix, namedHeaderMix, navPages, navShapeBreakpoint, navShapeOf, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, orientationOfRatio, ownPhotoFit, pageListIssues, 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, pinnedPagesOf, pixelsUnder, placeFilm, 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, planWordIssues, pricesIn, publishRefusal, publishVerdict, readyMadeColumn, recipeListBinds, recomposeAsks, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampSection, startComposingShare, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, tierOf, tierOffers, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
|
|
30272
30891
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|