@vectoriox/iox-ui 5.90.0 → 5.90.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +127 -40
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +32 -10
- package/package.json +1 -1
- package/src/generation-core/check-layout.ts +70 -16
- package/src/generation-core/compose-layout.ts +11 -8
- package/src/generation-core/function-words.ts +14 -0
- package/src/generation-core/layout-language.ts +10 -0
- package/src/generation-core/layout-section-fallback.ts +41 -10
- package/src/generation-core/site-spec.generated.ts +2 -1
- package/src/generation-core/stock-match.ts +4 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, parseHexColor, rgbToOklab, flavorPackById, SPEC_AXES, EntranceParam, staggerDelay, LinkType, presetChoices, resolveDesignChoices, textWidthEm, elementStyleFace,
|
|
1
|
+
import { NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, parseHexColor, rgbToOklab, flavorPackById, SPEC_AXES, EntranceParam, staggerDelay, LinkType, presetChoices, resolveDesignChoices, textWidthEm, elementStyleFace, setColorScheme, ColorScheme, stylePresetOfChoices, presetModes, STYLE_PRESETS, COLOR_SCHEMES, ANIMATE_IDS, auditDesignContrast, parseCssColour, compositeOver, wcagContrastRatio, relativeLuminance, toHexColor, resolveTokenValues, designTokenRows } from '@vectoriox/iox-ui/design-core';
|
|
2
2
|
import { formPresetById, FormPresetId, FormAfterSend, FORM_AFTER_SEND_TRAIT, FORM_ACTIONS_ROLE, channelOpensNewTab, FORM_CHANNEL_ROLE, planFormPresetIds, ControlType, FORM_NODE_TYPE, collectFormSpec, FIELD_NODE_TYPE, 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';
|
|
@@ -33,7 +33,8 @@ const SPEC_SITE_PLAN_SHAPE = {
|
|
|
33
33
|
},
|
|
34
34
|
"layoutPage": {
|
|
35
35
|
"dial": "'distinct' | 'daring' — how far the page breaks the usual layout (site.layout.vocab.dials; follows How animated, never the model's)",
|
|
36
|
-
"sections": "layoutSection[] — the page in the layout language (site.layout): 4–8 sections of layers on a 12-column grid, checked by generation-core checkLayout, stamped by composeLayout"
|
|
36
|
+
"sections": "layoutSection[] — the page in the layout language (site.layout): 4–8 sections of layers on a 12-column grid, checked by generation-core checkLayout, stamped by composeLayout",
|
|
37
|
+
"givenAway?": "{ at, section }[] — the model's sections silent section fallback gave away (replaced by a ready-made section or dropped), at their places in the model's page; the page's minimums forgive what they carried (iox-ui#67). Set by the server, never by a model"
|
|
37
38
|
},
|
|
38
39
|
"film": {
|
|
39
40
|
"sequence": "object — a media-core FrameSequence: where the numbered pictures live, how many, their size"
|
|
@@ -15276,6 +15277,9 @@ function galleryLayer(id, l, lc, ctx) {
|
|
|
15276
15277
|
const frame = create$1(id, T.Container, {}, NO_ELEMENT_STYLE);
|
|
15277
15278
|
setStyleProps(frame, { position: 'relative' });
|
|
15278
15279
|
phone(frame, { height: 'auto' });
|
|
15280
|
+
const scheme = layoutBandScheme(lc.section.ground);
|
|
15281
|
+
if (scheme)
|
|
15282
|
+
setColorScheme(frame, scheme);
|
|
15279
15283
|
const effect = g.effect ?? 'slide';
|
|
15280
15284
|
const stacked = STACKED_EFFECTS.has(effect);
|
|
15281
15285
|
const per = stacked ? 1 : g.perView === 'auto' ? 'auto' : Number(g.perView ?? 1);
|
|
@@ -15367,23 +15371,24 @@ function buttonLayer(id, l, ctx) {
|
|
|
15367
15371
|
ctx.links.push({ node: button, to: l.to });
|
|
15368
15372
|
return button;
|
|
15369
15373
|
}
|
|
15370
|
-
/** The colour scheme a form wears on each band (iox-ui#58
|
|
15371
|
-
*
|
|
15372
|
-
*
|
|
15373
|
-
|
|
15374
|
+
/** The colour scheme a form or a gallery wears on each band (iox-ui#58; the gallery's bar since M8 gate 2): its labels,
|
|
15375
|
+
* fields, buttons, caption, count and arrows are drawn by element styles that read the page's tokens, so on a band
|
|
15376
|
+
* painted with the ink (or the accent) they would vanish into it — a gallery's arrows were empty circles on the ink. The
|
|
15377
|
+
* scheme re-declares those tokens for that band; on the page's own ground (or the soft one) they wear none. */
|
|
15378
|
+
const BAND_SCHEME_ON = {
|
|
15374
15379
|
[LayoutColour.Ink]: ColorScheme.Inverse,
|
|
15375
15380
|
[LayoutColour.Muted]: ColorScheme.Inverse,
|
|
15376
15381
|
[LayoutColour.Accent]: ColorScheme.Accent,
|
|
15377
15382
|
};
|
|
15378
|
-
/** The scheme a form on this section ground wears, or null on the page's own ground. */
|
|
15379
|
-
function
|
|
15380
|
-
return
|
|
15383
|
+
/** The scheme a form or a gallery on this section ground wears, or null on the page's own ground. */
|
|
15384
|
+
function layoutBandScheme(ground) {
|
|
15385
|
+
return BAND_SCHEME_ON[(ground ?? LayoutColour.Ground)] ?? null;
|
|
15381
15386
|
}
|
|
15382
15387
|
/** A form layer: its title and intro, and the product's preset form — the layout's options become the preset's choices. */
|
|
15383
15388
|
function formLayer(id, l, lc, ctx, path) {
|
|
15384
15389
|
const f = l.form ?? { preset: 'contact' };
|
|
15385
15390
|
const frame = create$1(id, T.Container, {}, NO_ELEMENT_STYLE);
|
|
15386
|
-
const scheme =
|
|
15391
|
+
const scheme = layoutBandScheme(lc.section.ground);
|
|
15387
15392
|
if (scheme)
|
|
15388
15393
|
setColorScheme(frame, scheme);
|
|
15389
15394
|
setStyleProps(frame, { display: 'flex', flexDirection: 'column', gap: '12px', color: 'var(--iox-text)' });
|
|
@@ -19353,6 +19358,21 @@ function publishVerdict(audit, acknowledged = []) {
|
|
|
19353
19358
|
return { ok: !blocked && missing.length === 0, blocked, missing };
|
|
19354
19359
|
}
|
|
19355
19360
|
|
|
19361
|
+
/**
|
|
19362
|
+
* The words that carry no subject in the languages a site is written in (English, Hebrew): "the", "with", "our", "כמו",
|
|
19363
|
+
* "שלנו"… Shared by every comparison of meaning by words — a stock photo against a slot (`stockWords`), a model's section
|
|
19364
|
+
* against a ready-made one (silent section fallback). Lower case; only words of three letters or more (shorter ones never
|
|
19365
|
+
* count anywhere).
|
|
19366
|
+
*/
|
|
19367
|
+
const FUNCTION_WORDS = new Set([
|
|
19368
|
+
'the', 'and', 'with', 'for', 'your', 'our', 'you', 'from', 'into', 'this', 'that', 'here', 'there', 'about', 'how', 'what',
|
|
19369
|
+
'who', 'are', 'all', 'but', 'not', 'was', 'were', 'has', 'have', 'had', 'its', 'they', 'them', 'their', 'then', 'than',
|
|
19370
|
+
'when', 'where', 'which', 'will', 'can', 'just', 'out', 'over', 'under', 'onto', 'each', 'every', 'some', 'any', 'one', 'also',
|
|
19371
|
+
'too', 'very', 'more', 'most', 'less', 'only', 'own', 'yours', 'ours', 'these', 'those',
|
|
19372
|
+
'אנחנו', 'אני', 'הוא', 'היא', 'אתם', 'אתן', 'שלנו', 'שלכם', 'שלך', 'שלו', 'שלה', 'אצלנו', 'כמו', 'אבל', 'זאת', 'כאן', 'יותר',
|
|
19373
|
+
'מאוד', 'כבר', 'עוד', 'אחרי', 'לפני', 'בין', 'כדי', 'איך',
|
|
19374
|
+
]);
|
|
19375
|
+
|
|
19356
19376
|
/**
|
|
19357
19377
|
* How a stock photo is judged against a picture slot (AI plan §3g, I2.1) — pure and deterministic, so the same plan and
|
|
19358
19378
|
* the same library always place the same photos. A photo is described by what the library's manifest carries (the
|
|
@@ -19437,9 +19457,8 @@ const STOCK_SUBJECT_WORDS = {
|
|
|
19437
19457
|
};
|
|
19438
19458
|
/** Words that say nothing about what a picture shows (the plan's sample and placeholder words among them). */
|
|
19439
19459
|
const STOP_WORDS = new Set([
|
|
19440
|
-
|
|
19441
|
-
'
|
|
19442
|
-
'three', 'more', 'less', 'very', 'tell', 'story', 'item', 'service', 'project',
|
|
19460
|
+
...FUNCTION_WORDS, 'page', 'section', 'sample', 'replace', 'image', 'photo', 'picture', 'sentence', 'words', 'two', 'three',
|
|
19461
|
+
'tell', 'story', 'item', 'service', 'project',
|
|
19443
19462
|
]);
|
|
19444
19463
|
const MIN_WORD = 3;
|
|
19445
19464
|
const HTML_TAG = /<[^>]*>/g;
|
|
@@ -20717,9 +20736,12 @@ function judgeLayoutRender(measured, pixels = []) {
|
|
|
20717
20736
|
* A composed page that still fails after the mends and its one repair — or after the browser's check — no longer falls
|
|
20718
20737
|
* back whole: each section an issue names is given to the plan's READY-MADE section for the same place (the pattern the
|
|
20719
20738
|
* whole-page fallback would have stamped there, worn in the same look), or dropped where none fits and the page keeps its
|
|
20720
|
-
* opening and its close. Then the page is judged again, once, exactly like any composed page
|
|
20721
|
-
*
|
|
20722
|
-
*
|
|
20739
|
+
* opening and its close. Then the page is judged again, once, exactly like any composed page — its MINIMUMS on the model's
|
|
20740
|
+
* own remaining sections (the given-away ones ride on `page.givenAway`; iox-ui#67, Doron 2026-11-09), its maximums on the
|
|
20741
|
+
* whole page. A ready-made section that would say again what a section the model kept already says (its title, its text —
|
|
20742
|
+
* iox-ui#68) is never given a place: a page that repeats a paragraph is worse than the last resort. Only a page that still
|
|
20743
|
+
* fails — an issue that names no section, a place with nothing to give it, a swap that
|
|
20744
|
+
* breaks a section kept or a maximum of the page — falls back whole: the last resort, counted. A swap never leads to another swap. The owner sees a composed page; the swaps are recorded for us, the model's sections kept.
|
|
20723
20745
|
* Pure: the service and `ai:replay` run this one function.
|
|
20724
20746
|
*/
|
|
20725
20747
|
/** What became of one place of the model's page. */
|
|
@@ -20739,7 +20761,7 @@ var SectionSwapRule;
|
|
|
20739
20761
|
SectionSwapRule["Close"] = "close";
|
|
20740
20762
|
/** A middle section: the ready-made section that shows the same list, holds the form, or says most of its words. */
|
|
20741
20763
|
SectionSwapRule["Fit"] = "fit";
|
|
20742
|
-
/** A middle section no ready-made section fits: dropped. */
|
|
20764
|
+
/** A middle section no ready-made section fits (or every one that does would repeat a kept section, iox-ui#68): dropped. */
|
|
20743
20765
|
SectionSwapRule["NoFit"] = "no-fit";
|
|
20744
20766
|
})(SectionSwapRule || (SectionSwapRule = {}));
|
|
20745
20767
|
/** Why a page fell back whole after all (the last resort). */
|
|
@@ -20747,7 +20769,8 @@ var SectionFallbackLastResort;
|
|
|
20747
20769
|
(function (SectionFallbackLastResort) {
|
|
20748
20770
|
/** Nothing left names a section (a count, a share, the order of sections), or after the swaps only such an issue is. */
|
|
20749
20771
|
SectionFallbackLastResort["PageWide"] = "page-wide";
|
|
20750
|
-
/** The place named is the opening or the close, and the plan has no ready-made section left for it
|
|
20772
|
+
/** The place named is the opening or the close, and the plan has no ready-made section left for it — or only one that
|
|
20773
|
+
* would repeat what a kept section says (iox-ui#68). */
|
|
20751
20774
|
SectionFallbackLastResort["NoReadyMade"] = "no-ready-made";
|
|
20752
20775
|
/** It names a section already given to a ready-made one. */
|
|
20753
20776
|
SectionFallbackLastResort["ReadyMadeNamed"] = "ready-made-named";
|
|
@@ -20764,8 +20787,27 @@ function sectionsNamed(issue) {
|
|
|
20764
20787
|
return [...at].sort((a, b) => a - b);
|
|
20765
20788
|
}
|
|
20766
20789
|
const WORD = /[\p{L}\p{N}]{3,}/gu;
|
|
20767
|
-
|
|
20768
|
-
const
|
|
20790
|
+
/** The words that can make a fit: three letters or more, never a function word (iox-ui#68: "the" made one). */
|
|
20791
|
+
const wordsOf$1 = (text) => (String(text ?? '').toLowerCase().match(WORD) ?? []).filter(w => !FUNCTION_WORDS.has(w));
|
|
20792
|
+
const layerTexts = (l) => [l.text ?? '', ...(l.items ?? []), ...(l.gallery?.slides ?? []).map(s => s.caption ?? ''), l.form?.title ?? '', l.form?.intro ?? ''];
|
|
20793
|
+
const layerWords = (l) => layerTexts(l).flatMap(wordsOf$1);
|
|
20794
|
+
/** Every word of a text, in order, as a phrase that can be found inside another (` a small room kept slow `). */
|
|
20795
|
+
const PHRASE_WORD = /[\p{L}\p{N}]+/gu;
|
|
20796
|
+
const phraseOf = (text) => {
|
|
20797
|
+
const words = String(text ?? '').toLowerCase().match(PHRASE_WORD) ?? [];
|
|
20798
|
+
return { phrase: ` ${words.join(' ')} `, words: words.length };
|
|
20799
|
+
};
|
|
20800
|
+
/** The fewest words a text needs to count as said twice — a two-word label ("The room") may well appear twice. */
|
|
20801
|
+
const REPEAT_MIN_WORDS = 3;
|
|
20802
|
+
/**
|
|
20803
|
+
* Whether the plan section would say again what the sections the model kept already say (iox-ui#68): a title or a text of
|
|
20804
|
+
* its slots found inside a kept layer's words, or a kept layer's words found inside it — each of three words or more.
|
|
20805
|
+
*/
|
|
20806
|
+
function repeatsKept(plan, kept) {
|
|
20807
|
+
const said = kept.flatMap(s => (s.layers ?? []).flatMap(layerTexts)).map(phraseOf).filter(p => p.words >= REPEAT_MIN_WORDS);
|
|
20808
|
+
return Object.values(plan.slots ?? {}).map(phraseOf).filter(p => p.words >= REPEAT_MIN_WORDS)
|
|
20809
|
+
.some(slot => said.some(k => k.phrase.includes(slot.phrase) || slot.phrase.includes(k.phrase)));
|
|
20810
|
+
}
|
|
20769
20811
|
/** How well a ready-made section stands for a model's section: the same list, the form, the words they share. */
|
|
20770
20812
|
function fitScore(section, plan) {
|
|
20771
20813
|
const layers = section.layers ?? [];
|
|
@@ -20805,6 +20847,8 @@ function fallBackBySection(page, plan, issues, judge) {
|
|
|
20805
20847
|
if ([...named.keys()].some(i => current.sections[i].readyMade))
|
|
20806
20848
|
return last(SectionFallbackLastResort.ReadyMadeNamed, [...issues]);
|
|
20807
20849
|
const used = new Set(current.sections.map(s => s.readyMade?.at).filter((n) => n !== undefined));
|
|
20850
|
+
// The sections the model composed and keeps: a ready-made section must not say again what they say.
|
|
20851
|
+
const keptSections = current.sections.filter((s, i) => !s.readyMade && !named.has(i));
|
|
20808
20852
|
const lastAt = current.sections.length - 1;
|
|
20809
20853
|
const next = [...current.sections];
|
|
20810
20854
|
const drop = new Set();
|
|
@@ -20813,7 +20857,7 @@ function fallBackBySection(page, plan, issues, judge) {
|
|
|
20813
20857
|
const record = (action, rule, readyMade) => swaps.push({ id: s.id, at: i, action, rule, ...(readyMade ? { readyMade } : {}), why, original: structuredClone(s) });
|
|
20814
20858
|
if (i === 0 || i === lastAt) {
|
|
20815
20859
|
const at = i === 0 ? 0 : plan.length - 1;
|
|
20816
|
-
if (!plan[at] || used.has(at))
|
|
20860
|
+
if (!plan[at] || used.has(at) || repeatsKept(plan[at], keptSections))
|
|
20817
20861
|
return last(SectionFallbackLastResort.NoReadyMade, [...issues]);
|
|
20818
20862
|
used.add(at);
|
|
20819
20863
|
next[i] = readyMadeSection(s, at, plan[at]);
|
|
@@ -20821,7 +20865,7 @@ function fallBackBySection(page, plan, issues, judge) {
|
|
|
20821
20865
|
continue;
|
|
20822
20866
|
}
|
|
20823
20867
|
const best = plan
|
|
20824
|
-
.map((p, at) => ({ at, score: at > 0 && at < plan.length - 1 && !used.has(at) ? fitScore(s, p) : -1 }))
|
|
20868
|
+
.map((p, at) => ({ at, score: at > 0 && at < plan.length - 1 && !used.has(at) && !repeatsKept(p, keptSections) ? fitScore(s, p) : -1 }))
|
|
20825
20869
|
.filter(c => c.score >= FIT_MIN)
|
|
20826
20870
|
.sort((a, b) => b.score - a.score || a.at - b.at)[0];
|
|
20827
20871
|
if (best) {
|
|
@@ -20834,7 +20878,10 @@ function fallBackBySection(page, plan, issues, judge) {
|
|
|
20834
20878
|
record(SectionSwapAction.Dropped, SectionSwapRule.NoFit);
|
|
20835
20879
|
}
|
|
20836
20880
|
}
|
|
20837
|
-
|
|
20881
|
+
// What the given-away sections carried toward the page's minimums goes with the page (checkLayout forgives exactly
|
|
20882
|
+
// that, iox-ui#67); its maximums stay the whole page's.
|
|
20883
|
+
const givenAway = [...(current.givenAway ?? []), ...swaps.map(w => ({ at: w.at, section: w.original }))];
|
|
20884
|
+
const judged = judge({ ...current, sections: next.filter((_, i) => !drop.has(i)), givenAway });
|
|
20838
20885
|
if (!judged.issues.length)
|
|
20839
20886
|
return { page: judged.page, swaps, left: [] };
|
|
20840
20887
|
const kept = judged.issues.flatMap(sectionsNamed).filter(i => !judged.page.sections[i]?.readyMade);
|
|
@@ -21130,6 +21177,8 @@ const FACT_TOKEN = /\{fact:([^}]*)\}/g;
|
|
|
21130
21177
|
const PHOTO_GROUND = 'photo:';
|
|
21131
21178
|
/** An accent ground counts as this many accent uses (a band of colour weighs more than a word). */
|
|
21132
21179
|
const ACCENT_GROUND_USES = 2;
|
|
21180
|
+
/** The entrance type that only fades (`entrances` levels): it does not count as a section entering. */
|
|
21181
|
+
const FADE_ENTRANCE = 'fadeIn';
|
|
21133
21182
|
const inList = (list, v) => typeof v === 'string' && list.includes(v);
|
|
21134
21183
|
const wordsOf = (t) => String(t ?? '').trim().split(/\s+/).filter(Boolean).length;
|
|
21135
21184
|
const span = (r) => (r ? r[1] - r[0] : 0);
|
|
@@ -21222,15 +21271,38 @@ function wordsOfLayer(l) {
|
|
|
21222
21271
|
...(f ? [f.title, f.intro, f.submit, f.successTitle, f.successText, f.channel?.label].map(t => t ?? '') : []),
|
|
21223
21272
|
].filter(Boolean);
|
|
21224
21273
|
}
|
|
21225
|
-
|
|
21274
|
+
const NOTHING_CARRIED = { signatures: 0, galleries: 0, swappable: 0, layered: 0, bleeds: 0, screenWords: 0, wordsOnPhoto: 0, holds: 0 };
|
|
21275
|
+
/** The model's page in its own order: the sections as they stand, the dropped ones back at their places. */
|
|
21276
|
+
function originalOrder(sections, given) {
|
|
21277
|
+
const kept = new Set(sections.map(s => s.id));
|
|
21278
|
+
const dropped = given.filter(g => !kept.has(g.section.id)).sort((a, b) => a.at - b.at);
|
|
21279
|
+
const order = [...sections];
|
|
21280
|
+
for (const g of dropped)
|
|
21281
|
+
order.splice(Math.min(g.at, order.length), 0, g.section);
|
|
21282
|
+
return order;
|
|
21283
|
+
}
|
|
21284
|
+
/**
|
|
21285
|
+
* Every rule a composed page keeps, each refused with a path. Empty means it passes.
|
|
21286
|
+
*
|
|
21287
|
+
* A page silent section fallback gave sections away (`page.givenAway`, iox-ui#67 — Doron, 2026-11-09): its MINIMUMS — the
|
|
21288
|
+
* one signature and the inhale before it, the glide floor, galleries, the daring minimums, the number of sections — are
|
|
21289
|
+
* judged on the model's own remaining sections, so what a removed section carried no longer fails the page. Its
|
|
21290
|
+
* MAXIMUMS are judged on the whole page, ready-made places included (a ready-made section that enters counts toward the
|
|
21291
|
+
* entrances), and reading, contrast and sameness are untouched.
|
|
21292
|
+
*/
|
|
21226
21293
|
function checkLayout(page, ctx) {
|
|
21294
|
+
const given = Array.isArray(page?.givenAway) ? page.givenAway : [];
|
|
21295
|
+
const carried = given.length ? examineLayout({ dial: page.dial, sections: given.map(g => g.section) }, ctx, NOTHING_CARRIED, []).tally : NOTHING_CARRIED;
|
|
21296
|
+
return examineLayout(page, ctx, carried, given).issues;
|
|
21297
|
+
}
|
|
21298
|
+
function examineLayout(page, ctx, carried, given) {
|
|
21227
21299
|
const issues = [];
|
|
21228
21300
|
const add = (code, path, message, mend) => {
|
|
21229
21301
|
issues.push({ code, path, message, ...(mend ? { mend } : {}) });
|
|
21230
21302
|
};
|
|
21231
21303
|
if (!page || !Array.isArray(page.sections)) {
|
|
21232
21304
|
add(LayoutIssueCode.Shape, 'sections', 'the page has no sections');
|
|
21233
|
-
return issues;
|
|
21305
|
+
return { issues, tally: NOTHING_CARRIED };
|
|
21234
21306
|
}
|
|
21235
21307
|
const look = L.presetLook[ctx.presetId] ? layoutLookOf(ctx.presetId) : null;
|
|
21236
21308
|
const paint = presetPaint(ctx.presetId, ctx.mode);
|
|
@@ -21260,16 +21332,21 @@ function checkLayout(page, ctx) {
|
|
|
21260
21332
|
// ── the sections ──
|
|
21261
21333
|
const sections = page.sections;
|
|
21262
21334
|
const [minSections, maxSections] = LIM.sections;
|
|
21263
|
-
|
|
21335
|
+
const dropped = given.filter(g => !sections.some(s => s.id === g.section.id)).length;
|
|
21336
|
+
if (sections.length + dropped < minSections || sections.length > maxSections)
|
|
21264
21337
|
add(LayoutIssueCode.Structure, 'sections', `${sections.length} sections — ${minSections} to ${maxSections}`);
|
|
21265
21338
|
const ids = new Set(sections.map(s => s.id));
|
|
21266
21339
|
if (ids.size !== sections.length)
|
|
21267
21340
|
add(LayoutIssueCode.Structure, 'sections', 'every section id is different');
|
|
21268
21341
|
const signatures = sections.map((s, i) => (s.signature ? i : -1)).filter(i => i >= 0);
|
|
21269
|
-
if (signatures.length
|
|
21342
|
+
if (signatures.length > 1 || (!signatures.length && !carried.signatures))
|
|
21270
21343
|
add(LayoutIssueCode.Structure, 'sections', `${signatures.length} signature sections — exactly one`);
|
|
21271
21344
|
if (daring && signatures.length === 1 && sections[signatures[0] - 1]?.kind !== LayoutSectionKind.Inhale) {
|
|
21272
|
-
|
|
21345
|
+
const order = originalOrder(sections, given);
|
|
21346
|
+
const before = order[order.indexOf(sections[signatures[0]]) - 1];
|
|
21347
|
+
const givenInhale = !!before && given.some(g => g.section.id === before.id && g.section.kind === LayoutSectionKind.Inhale);
|
|
21348
|
+
if (!givenInhale)
|
|
21349
|
+
add(LayoutIssueCode.Daring, `sections[${signatures[0]}]`, 'on daring the section right before the signature is an inhale');
|
|
21273
21350
|
}
|
|
21274
21351
|
const formSections = new Set(sections.filter(s => s.layers?.some(l => l.kind === LayoutLayerKind.Form)).map(s => s.id));
|
|
21275
21352
|
let reachable = false;
|
|
@@ -21298,6 +21375,7 @@ function checkLayout(page, ctx) {
|
|
|
21298
21375
|
const composedCount = sections.filter(s => !s.readyMade).length;
|
|
21299
21376
|
if (sections.some(s => s.readyMade && READY_MADE_REACH.has(patternById(s.readyMade.pattern)?.family ?? '')))
|
|
21300
21377
|
reachable = true;
|
|
21378
|
+
const readyMadeEntering = sections.filter(s => s.readyMade && readyMadeEnters(s.readyMade.pattern, ctx.design?.animate)).length;
|
|
21301
21379
|
sections.forEach((s, i) => {
|
|
21302
21380
|
if (s.readyMade)
|
|
21303
21381
|
return;
|
|
@@ -21713,26 +21791,26 @@ function checkLayout(page, ctx) {
|
|
|
21713
21791
|
});
|
|
21714
21792
|
if (ctx.first && !reachable)
|
|
21715
21793
|
add(LayoutIssueCode.Content, 'sections', 'nothing lets people reach the business — a form, or a button to one');
|
|
21716
|
-
if (galleries < LIM.galleriesMin)
|
|
21794
|
+
if (galleries < LIM.galleriesMin - carried.galleries)
|
|
21717
21795
|
add(LayoutIssueCode.Structure, 'sections', `${galleries} galleries — at least ${LIM.galleriesMin}`);
|
|
21718
|
-
if (LIM.galleriesMin > 0 && galleries && !swappable)
|
|
21796
|
+
if (LIM.galleriesMin > 0 && galleries && !swappable && !carried.swappable)
|
|
21719
21797
|
add(LayoutIssueCode.Structure, 'sections', 'no gallery can be dragged or swiped — at least one without "scroll"');
|
|
21720
21798
|
if (marquees > LIM.marquees)
|
|
21721
21799
|
add(LayoutIssueCode.Structure, 'sections', `${marquees} marquees — at most ${LIM.marquees}`);
|
|
21722
|
-
const minDepth = look && inList(LIM.calmLooks, look.id) ? LIM.depthLayersCalm : LIM.depthLayers;
|
|
21800
|
+
const minDepth = Math.max(0, (look && inList(LIM.calmLooks, look.id) ? LIM.depthLayersCalm : LIM.depthLayers) - carried.layered);
|
|
21723
21801
|
if (layered < minDepth) {
|
|
21724
21802
|
const glide = glideChoice(sections, minDepth - layered);
|
|
21725
21803
|
add(LayoutIssueCode.Motion, 'sections', `${layered} layers glide by depth or drift — at least ${minDepth}`, glide.length === minDepth - layered ? { kind: LayoutMendKind.Depth, layers: glide } : undefined);
|
|
21726
21804
|
}
|
|
21727
21805
|
if (daring) {
|
|
21728
21806
|
const d = LIM.daring;
|
|
21729
|
-
if (bleeds < d.bleeds)
|
|
21807
|
+
if (bleeds < d.bleeds - carried.bleeds)
|
|
21730
21808
|
add(LayoutIssueCode.Daring, 'sections', `${bleeds} layer(s) bleed off an edge — a daring page lets at least ${d.bleeds} run off the screen`);
|
|
21731
|
-
if (screenWords < d.screenWords)
|
|
21809
|
+
if (screenWords < d.screenWords - carried.screenWords)
|
|
21732
21810
|
add(LayoutIssueCode.Daring, 'sections', 'no word at "screen" size — a daring page lets one thing be enormous');
|
|
21733
|
-
if (wordsOnPhoto < d.wordsOnPhoto && !limits.noTextOnPhoto)
|
|
21811
|
+
if (wordsOnPhoto < d.wordsOnPhoto - carried.wordsOnPhoto && !limits.noTextOnPhoto)
|
|
21734
21812
|
add(LayoutIssueCode.Daring, 'sections', 'words never sit over a photo — a daring page sets words over a calm part of a picture at least once');
|
|
21735
|
-
if (holds < d.holds)
|
|
21813
|
+
if (holds < d.holds - carried.holds)
|
|
21736
21814
|
add(LayoutIssueCode.Daring, 'sections', `${holds} section(s) hold the page — a daring page holds at least ${d.holds} (held 2+ screens, or sideways)`);
|
|
21737
21815
|
}
|
|
21738
21816
|
else if (pinned > LIM.distinct.holdsMax) {
|
|
@@ -21740,9 +21818,10 @@ function checkLayout(page, ctx) {
|
|
|
21740
21818
|
}
|
|
21741
21819
|
if (photos.size + boxes > LIM.maxPhotos)
|
|
21742
21820
|
add(LayoutIssueCode.Content, 'sections', `${photos.size + boxes} photos — at most ${LIM.maxPhotos}`);
|
|
21743
|
-
const enteringMax = Math.floor(
|
|
21744
|
-
|
|
21745
|
-
|
|
21821
|
+
const enteringMax = Math.floor(sections.length * LIM.enteringSections) + 1;
|
|
21822
|
+
const entering = sectionsWithEnters + readyMadeEntering;
|
|
21823
|
+
if (entering > enteringMax)
|
|
21824
|
+
add(LayoutIssueCode.Motion, 'sections', `${entering} sections have entrances — at most ${enteringMax}; let the others glide`);
|
|
21746
21825
|
if (eyebrows > composedCount * EYEBROW_SHARE)
|
|
21747
21826
|
add(LayoutIssueCode.Look, 'sections', `${eyebrows} headings carry a small label right above them — the AI-site cliché; keep it to a few`);
|
|
21748
21827
|
if (look) {
|
|
@@ -21758,7 +21837,15 @@ function checkLayout(page, ctx) {
|
|
|
21758
21837
|
if (limits.lightGroundsMax !== undefined && lightGrounds > limits.lightGroundsMax)
|
|
21759
21838
|
add(LayoutIssueCode.Look, 'sections', `${lightGrounds} sections on a light ground — the ${look.id} look allows ${limits.lightGroundsMax}`);
|
|
21760
21839
|
}
|
|
21761
|
-
return uniqueIssues(issues);
|
|
21840
|
+
return { issues: uniqueIssues(issues), tally: { signatures: signatures.length, galleries, swappable, layered, bleeds, screenWords, wordsOnPhoto, holds } };
|
|
21841
|
+
}
|
|
21842
|
+
/** A ready-made section enters when the look's entrance level moves something of its family (a fade alone is not an entrance). */
|
|
21843
|
+
function readyMadeEnters(pattern, level) {
|
|
21844
|
+
const family = patternById(pattern)?.family;
|
|
21845
|
+
if (!family)
|
|
21846
|
+
return false;
|
|
21847
|
+
const plan = sectionEntrances(level, family);
|
|
21848
|
+
return [plan.content, ...Object.values(plan.parts)].some(spec => !!spec && spec.type !== FADE_ENTRANCE);
|
|
21762
21849
|
}
|
|
21763
21850
|
/**
|
|
21764
21851
|
* M8-G2-D12 — what a look switch costs a composed page: the issues the check finds in the new look (`ctx`) at a place
|
|
@@ -22372,5 +22459,5 @@ function layoutRepairJsonSchema() {
|
|
|
22372
22459
|
* Generated bundle index. Do not edit.
|
|
22373
22460
|
*/
|
|
22374
22461
|
|
|
22375
|
-
export { ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FilmUnplaced, GRAMMAR_TOO_LARGE_MESSAGE, GlobalSlot, HEBREW_PREFIXES, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, 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, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutMendKind, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, MAX_SITE_PICTURES, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PublishRefusalCode, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SHOWCASE_FILM, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, ScrimLevel, SectionFallbackLastResort, SectionSwapAction, SectionSwapRule, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, aiStepParts, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, builtHomePageId, calmParts, calmUnder, checkLayout, chooseScrim, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, describeInventoryForPrompt, describePlanData, describeShapeKey, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, frameWords, isActiveBuild, isNonEmptyString, isPictureWorld, isPlainObject, isRtlLocale, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutElementStyle,
|
|
22462
|
+
export { ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FilmUnplaced, GRAMMAR_TOO_LARGE_MESSAGE, GlobalSlot, HEBREW_PREFIXES, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, 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, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutMendKind, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, MAX_SITE_PICTURES, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PublishRefusalCode, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SHOWCASE_FILM, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, ScrimLevel, SectionFallbackLastResort, SectionSwapAction, SectionSwapRule, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, aiStepParts, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, builtHomePageId, calmParts, calmUnder, checkLayout, chooseScrim, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, describeInventoryForPrompt, describePlanData, describeShapeKey, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, frameWords, isActiveBuild, isNonEmptyString, isPictureWorld, isPlainObject, isRtlLocale, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutLookChanges, layoutLookOf, layoutMotionOf, layoutNodeClass, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutTextWidthEm, layoutToWire, layoutWireJsonSchema, luminanceOf, measureLayout, mendLayout, modelCanDo, moveBarItem, navPages, navShapeBreakpoint, navShapeOf, nextSourceOf, nodeBindPaths, orientationOfRatio, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pixelsUnder, placeFilm, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, publishRefusal, publishVerdict, recipeListBinds, recomposeAsks, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionEntrances, sectionPatternIds, sectionToWire, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, shownTogether, signatureOf, siteNavPages, slotBudget, splitSide, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, withDerivedSources, wordPattern, wordsOverPhotos, wordsOverPicture, writtenTexts };
|
|
22376
22463
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|