@vectoriox/iox-ui 5.90.0 → 5.90.2
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/design-core/index.d.ts +32 -2
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +31 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +258 -62
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +53 -10
- package/package.json +1 -1
- package/src/design-core/flavor-spec.generated.ts +28 -0
- package/src/design-core/node-classes.ts +3 -1
- package/src/generation-core/check-layout.ts +70 -16
- package/src/generation-core/compose-layout.ts +95 -14
- package/src/generation-core/compose-site.ts +9 -2
- 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 +55 -10
- package/src/generation-core/patterns.ts +2 -0
- package/src/generation-core/site-spec.generated.ts +30 -15
- 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"
|
|
@@ -598,7 +599,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
598
599
|
]
|
|
599
600
|
]
|
|
600
601
|
}
|
|
601
|
-
]
|
|
602
|
+
],
|
|
603
|
+
"textHe": "צרו קשר"
|
|
602
604
|
}
|
|
603
605
|
]
|
|
604
606
|
}
|
|
@@ -749,7 +751,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
749
751
|
]
|
|
750
752
|
]
|
|
751
753
|
}
|
|
752
|
-
]
|
|
754
|
+
],
|
|
755
|
+
"textHe": "צרו קשר"
|
|
753
756
|
}
|
|
754
757
|
]
|
|
755
758
|
}
|
|
@@ -1221,7 +1224,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1221
1224
|
"slot": "cta",
|
|
1222
1225
|
"max": 24,
|
|
1223
1226
|
"text": "Get in touch",
|
|
1224
|
-
"role": "nav.cta"
|
|
1227
|
+
"role": "nav.cta",
|
|
1228
|
+
"textHe": "צרו קשר"
|
|
1225
1229
|
}
|
|
1226
1230
|
]
|
|
1227
1231
|
}
|
|
@@ -1300,7 +1304,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1300
1304
|
"slot": "cta",
|
|
1301
1305
|
"max": 24,
|
|
1302
1306
|
"text": "Get in touch",
|
|
1303
|
-
"role": "nav.cta"
|
|
1307
|
+
"role": "nav.cta",
|
|
1308
|
+
"textHe": "צרו קשר"
|
|
1304
1309
|
}
|
|
1305
1310
|
]
|
|
1306
1311
|
}
|
|
@@ -1373,7 +1378,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1373
1378
|
"level": "h4",
|
|
1374
1379
|
"slot": "pagesLabel",
|
|
1375
1380
|
"max": 40,
|
|
1376
|
-
"text": "Pages"
|
|
1381
|
+
"text": "Pages",
|
|
1382
|
+
"textHe": "עמודים"
|
|
1377
1383
|
},
|
|
1378
1384
|
{
|
|
1379
1385
|
"t": "Link",
|
|
@@ -1399,7 +1405,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1399
1405
|
"level": "h4",
|
|
1400
1406
|
"slot": "contactLabel",
|
|
1401
1407
|
"max": 40,
|
|
1402
|
-
"text": "Contact"
|
|
1408
|
+
"text": "Contact",
|
|
1409
|
+
"textHe": "יצירת קשר"
|
|
1403
1410
|
},
|
|
1404
1411
|
{
|
|
1405
1412
|
"t": "Text",
|
|
@@ -1508,7 +1515,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1508
1515
|
"level": "h4",
|
|
1509
1516
|
"slot": "pagesLabel",
|
|
1510
1517
|
"max": 40,
|
|
1511
|
-
"text": "Pages"
|
|
1518
|
+
"text": "Pages",
|
|
1519
|
+
"textHe": "עמודים"
|
|
1512
1520
|
},
|
|
1513
1521
|
{
|
|
1514
1522
|
"t": "Link",
|
|
@@ -1534,7 +1542,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1534
1542
|
"level": "h4",
|
|
1535
1543
|
"slot": "visitLabel",
|
|
1536
1544
|
"max": 40,
|
|
1537
|
-
"text": "Visit"
|
|
1545
|
+
"text": "Visit",
|
|
1546
|
+
"textHe": "ביקור"
|
|
1538
1547
|
},
|
|
1539
1548
|
{
|
|
1540
1549
|
"t": "Text",
|
|
@@ -1563,7 +1572,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1563
1572
|
"level": "h4",
|
|
1564
1573
|
"slot": "contactLabel",
|
|
1565
1574
|
"max": 40,
|
|
1566
|
-
"text": "Contact"
|
|
1575
|
+
"text": "Contact",
|
|
1576
|
+
"textHe": "יצירת קשר"
|
|
1567
1577
|
},
|
|
1568
1578
|
{
|
|
1569
1579
|
"t": "Text",
|
|
@@ -1744,7 +1754,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1744
1754
|
"href": "/contact",
|
|
1745
1755
|
"slot": "secondary",
|
|
1746
1756
|
"max": 24,
|
|
1747
|
-
"text": "Get in touch"
|
|
1757
|
+
"text": "Get in touch",
|
|
1758
|
+
"textHe": "צרו קשר"
|
|
1748
1759
|
}
|
|
1749
1760
|
]
|
|
1750
1761
|
}
|
|
@@ -1834,7 +1845,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1834
1845
|
"href": "/contact",
|
|
1835
1846
|
"slot": "primary",
|
|
1836
1847
|
"max": 24,
|
|
1837
|
-
"text": "Get in touch"
|
|
1848
|
+
"text": "Get in touch",
|
|
1849
|
+
"textHe": "צרו קשר"
|
|
1838
1850
|
},
|
|
1839
1851
|
{
|
|
1840
1852
|
"t": "ButtonBlock",
|
|
@@ -2768,7 +2780,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
2768
2780
|
"href": "/contact",
|
|
2769
2781
|
"slot": "action",
|
|
2770
2782
|
"max": 24,
|
|
2771
|
-
"text": "Get in touch"
|
|
2783
|
+
"text": "Get in touch",
|
|
2784
|
+
"textHe": "צרו קשר"
|
|
2772
2785
|
}
|
|
2773
2786
|
]
|
|
2774
2787
|
}
|
|
@@ -3514,7 +3527,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
3514
3527
|
"slot": "title",
|
|
3515
3528
|
"max": 44,
|
|
3516
3529
|
"text": "Get in touch",
|
|
3517
|
-
"enter": "heading"
|
|
3530
|
+
"enter": "heading",
|
|
3531
|
+
"textHe": "צרו קשר"
|
|
3518
3532
|
},
|
|
3519
3533
|
{
|
|
3520
3534
|
"t": "Text",
|
|
@@ -4535,7 +4549,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
4535
4549
|
"href": "/contact",
|
|
4536
4550
|
"slot": "cta",
|
|
4537
4551
|
"max": 24,
|
|
4538
|
-
"text": "Get in touch"
|
|
4552
|
+
"text": "Get in touch",
|
|
4553
|
+
"textHe": "צרו קשר"
|
|
4539
4554
|
}
|
|
4540
4555
|
]
|
|
4541
4556
|
}
|
|
@@ -15276,6 +15291,9 @@ function galleryLayer(id, l, lc, ctx) {
|
|
|
15276
15291
|
const frame = create$1(id, T.Container, {}, NO_ELEMENT_STYLE);
|
|
15277
15292
|
setStyleProps(frame, { position: 'relative' });
|
|
15278
15293
|
phone(frame, { height: 'auto' });
|
|
15294
|
+
const scheme = layoutBandScheme(lc.section.ground);
|
|
15295
|
+
if (scheme)
|
|
15296
|
+
setColorScheme(frame, scheme);
|
|
15279
15297
|
const effect = g.effect ?? 'slide';
|
|
15280
15298
|
const stacked = STACKED_EFFECTS.has(effect);
|
|
15281
15299
|
const per = stacked ? 1 : g.perView === 'auto' ? 'auto' : Number(g.perView ?? 1);
|
|
@@ -15367,23 +15385,34 @@ function buttonLayer(id, l, ctx) {
|
|
|
15367
15385
|
ctx.links.push({ node: button, to: l.to });
|
|
15368
15386
|
return button;
|
|
15369
15387
|
}
|
|
15370
|
-
/** The colour scheme a form wears on each band (iox-ui#58
|
|
15371
|
-
*
|
|
15372
|
-
*
|
|
15373
|
-
|
|
15388
|
+
/** 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,
|
|
15389
|
+
* fields, buttons, caption, count and arrows are drawn by element styles that read the page's tokens, so on a band
|
|
15390
|
+
* painted with the ink (or the accent) they would vanish into it — a gallery's arrows were empty circles on the ink. The
|
|
15391
|
+
* scheme re-declares those tokens for that band; on the page's own ground (or the soft one) they wear none. */
|
|
15392
|
+
const BAND_SCHEME_ON = {
|
|
15374
15393
|
[LayoutColour.Ink]: ColorScheme.Inverse,
|
|
15375
|
-
[LayoutColour.Muted]: ColorScheme.
|
|
15394
|
+
[LayoutColour.Muted]: ColorScheme.Muted,
|
|
15376
15395
|
[LayoutColour.Accent]: ColorScheme.Accent,
|
|
15377
15396
|
};
|
|
15378
|
-
/**
|
|
15379
|
-
|
|
15380
|
-
|
|
15397
|
+
/** A wrapper that adds no box (`display: contents` — its children keep their place in the grid) and re-declares the band's
|
|
15398
|
+
* tokens for them: a ready-made section's content, a button on a band. */
|
|
15399
|
+
function bandColours(id, scheme, children) {
|
|
15400
|
+
const band = create$1(id, T.Container, {}, NO_ELEMENT_STYLE);
|
|
15401
|
+
band.label = 'band colours';
|
|
15402
|
+
setStyleProps(band, { display: 'contents' });
|
|
15403
|
+
setColorScheme(band, scheme);
|
|
15404
|
+
band.children = children;
|
|
15405
|
+
return band;
|
|
15406
|
+
}
|
|
15407
|
+
/** The scheme a form, a gallery, a button or a ready-made section's content on this section ground wears, or null on the page's own ground. */
|
|
15408
|
+
function layoutBandScheme(ground) {
|
|
15409
|
+
return BAND_SCHEME_ON[(ground ?? LayoutColour.Ground)] ?? null;
|
|
15381
15410
|
}
|
|
15382
15411
|
/** A form layer: its title and intro, and the product's preset form — the layout's options become the preset's choices. */
|
|
15383
15412
|
function formLayer(id, l, lc, ctx, path) {
|
|
15384
15413
|
const f = l.form ?? { preset: 'contact' };
|
|
15385
15414
|
const frame = create$1(id, T.Container, {}, NO_ELEMENT_STYLE);
|
|
15386
|
-
const scheme =
|
|
15415
|
+
const scheme = layoutBandScheme(lc.section.ground);
|
|
15387
15416
|
if (scheme)
|
|
15388
15417
|
setColorScheme(frame, scheme);
|
|
15389
15418
|
setStyleProps(frame, { display: 'flex', flexDirection: 'column', gap: '12px', color: 'var(--iox-text)' });
|
|
@@ -15504,7 +15533,10 @@ function composeLayer(l, lc, ctx) {
|
|
|
15504
15533
|
}
|
|
15505
15534
|
if (interactions.length)
|
|
15506
15535
|
outer.interactions = [...outer.interactions, ...interactions];
|
|
15507
|
-
|
|
15536
|
+
// A button draws its ink from the page's button tokens: on a band they must be the band's, or a text button on the ink
|
|
15537
|
+
// (or the muted) band is the ground's own colour — the bar's "See the whole menu" (M8 gate 2, iox-ui#70).
|
|
15538
|
+
const scheme = l.kind === LayoutLayerKind.Button ? layoutBandScheme(lc.section.ground) : null;
|
|
15539
|
+
return scheme ? bandColours(`${outer.id}-band`, scheme, [outer]) : outer;
|
|
15508
15540
|
}
|
|
15509
15541
|
// ── Sections ────────────────────────────────────────────────────────────────────────────────────────────
|
|
15510
15542
|
function transitionOf(s, prev, ctx, si) {
|
|
@@ -15630,7 +15662,7 @@ function composeHeader(ctx) {
|
|
|
15630
15662
|
gap(ctx, LayoutGapCode.SectionLink, 'nav', 'section links scroll by an action, with no #address');
|
|
15631
15663
|
const pages = [{ name: ctx.site.name, route: NAV_ROUTE, isHome: true }, ...links.map(link => ({ name: link.label, route: `/${link.to}` }))];
|
|
15632
15664
|
let n = 0;
|
|
15633
|
-
const { header } = composeNavHeader({ business: { name: ctx.site.name }, pages }, { id: `${ctx.p}-nav`, newId: suffix => `${ctx.p}-nav-${++n}-${suffix}` });
|
|
15665
|
+
const { header } = composeNavHeader({ business: { name: ctx.site.name }, pages, locale: ctx.site.locale }, { id: `${ctx.p}-nav`, newId: suffix => `${ctx.p}-nav-${++n}-${suffix}` });
|
|
15634
15666
|
if (ctx.rtl)
|
|
15635
15667
|
setStyleProps(header, { textDirection: 'rtl' });
|
|
15636
15668
|
let drawer;
|
|
@@ -15663,6 +15695,67 @@ function wireLinks(ctx) {
|
|
|
15663
15695
|
node.interactions = [...node.interactions, { id: `${node.id}-to`, trigger: 'click', actions }];
|
|
15664
15696
|
}
|
|
15665
15697
|
}
|
|
15698
|
+
// ── A ready-made section among composed ones (vectoriox/iox-ui#69) ───────────────────────────────────────
|
|
15699
|
+
/** The pattern's own section padding: its ground's rhythm above and below, the pattern's gutter at the sides. */
|
|
15700
|
+
const PATTERN_SECTION_PAD = 'var(--iox-section-pad)';
|
|
15701
|
+
const PATTERN_SECTION_SPACE = 'var(--iox-space-section)';
|
|
15702
|
+
/** The furthest in a ready-made section's words start: the column grid keeps at least eight columns for them. */
|
|
15703
|
+
const READY_MADE_MAX_COLUMN = 3;
|
|
15704
|
+
/** The ground a section paints, by name (a photo ground reads as the ink: its words are light). */
|
|
15705
|
+
function groundOf(s) {
|
|
15706
|
+
const ground = String(s.ground ?? LayoutColour.Ground);
|
|
15707
|
+
return ground.startsWith('photo:') ? LayoutColour.Ink : ground;
|
|
15708
|
+
}
|
|
15709
|
+
/** The composed section a ready-made place stands beside: the one it follows, or for an opening the one after it; null
|
|
15710
|
+
* when the page has no composed section. */
|
|
15711
|
+
function readyMadeNeighbour(sections, si) {
|
|
15712
|
+
for (let i = si - 1; i >= 0; i--)
|
|
15713
|
+
if (!sections[i].readyMade)
|
|
15714
|
+
return sections[i];
|
|
15715
|
+
for (let i = si + 1; i < sections.length; i++)
|
|
15716
|
+
if (!sections[i].readyMade)
|
|
15717
|
+
return sections[i];
|
|
15718
|
+
return null;
|
|
15719
|
+
}
|
|
15720
|
+
/** The column a ready-made section's words start on: where its neighbour's words start (their first column), so the two
|
|
15721
|
+
* share an edge; at most READY_MADE_MAX_COLUMN; 1 (the gutter) when the neighbour has no words. */
|
|
15722
|
+
function readyMadeColumn(neighbour) {
|
|
15723
|
+
const starts = (neighbour?.layers ?? []).filter(l => LAYOUT_TEXT_KINDS.has(l.kind) && Array.isArray(l.col)).map(l => l.col[0]);
|
|
15724
|
+
return Math.min(READY_MADE_MAX_COLUMN, Math.max(1, starts.length ? Math.min(...starts) : 1));
|
|
15725
|
+
}
|
|
15726
|
+
/** Where column `n` starts from the page's edge, on the composed sections' own grid (`gridLayout`): the gutter, then
|
|
15727
|
+
* n - 1 columns and their gaps. */
|
|
15728
|
+
function columnInset(n) {
|
|
15729
|
+
if (n <= 1)
|
|
15730
|
+
return LAYOUT_GUTTER;
|
|
15731
|
+
const column = `((100% - 2 * ${LAYOUT_GUTTER} - ${GRID_COLUMNS - 1} * ${LAYOUT_COLUMN_GAP}) / ${GRID_COLUMNS} + ${LAYOUT_COLUMN_GAP})`;
|
|
15732
|
+
return `calc(${LAYOUT_GUTTER} + ${n - 1} * ${column})`;
|
|
15733
|
+
}
|
|
15734
|
+
/** A pattern that paints its own ground — a Scene, or a picture behind its words — keeps its colours. */
|
|
15735
|
+
function paintsItsOwnGround(root) {
|
|
15736
|
+
return root.role === SceneRole.Scene || (root.children ?? []).some(c => c.styleProps?.['position'] === 'absolute');
|
|
15737
|
+
}
|
|
15738
|
+
/**
|
|
15739
|
+
* iox-ui#69: a ready-made section reads as the same hand as the composed sections around it. It paints the ground it
|
|
15740
|
+
* follows with the composed sections' own paint (the page's tokens on the section), its content wears that band's
|
|
15741
|
+
* colour scheme in a wrapper that adds no box (`display: contents` — the pattern's layout is untouched, its tokens
|
|
15742
|
+
* re-resolve), and its words start on the layout's column instead of the pattern's gutter; on a phone, the composed
|
|
15743
|
+
* sections' gutter. A pattern that paints its own ground keeps its colours.
|
|
15744
|
+
*/
|
|
15745
|
+
function dressReadyMade(root, ground, column) {
|
|
15746
|
+
if (root.styleProps?.['padding'] === PATTERN_SECTION_PAD) {
|
|
15747
|
+
setStyleProps(root, { padding: `${PATTERN_SECTION_SPACE} ${columnInset(column)}` });
|
|
15748
|
+
phone(root, { padding: `${PATTERN_SECTION_SPACE} ${LAYOUT_GUTTER}` });
|
|
15749
|
+
}
|
|
15750
|
+
if (ground === null || paintsItsOwnGround(root))
|
|
15751
|
+
return;
|
|
15752
|
+
setColorScheme(root, ColorScheme.Default);
|
|
15753
|
+
setStyleProps(root, { backgroundColor: groundPaint(ground) });
|
|
15754
|
+
const scheme = layoutBandScheme(ground);
|
|
15755
|
+
if (!scheme || !root.children?.length)
|
|
15756
|
+
return;
|
|
15757
|
+
root.children = [bandColours(`${root.id}-band`, scheme, root.children)];
|
|
15758
|
+
}
|
|
15666
15759
|
/**
|
|
15667
15760
|
* A layout-language page → its layout and header. Deterministic: the same layout composes to byte-identical nodes.
|
|
15668
15761
|
* Refuses (ComposeError) a link to a section the layout does not have; everything the product cannot say comes back in
|
|
@@ -15695,13 +15788,15 @@ function composeLayout(site, options) {
|
|
|
15695
15788
|
if (!options.readyMade)
|
|
15696
15789
|
throw new ComposeError(`sections[${si}]: a ready-made place needs its plan section stamped (options.readyMade)`);
|
|
15697
15790
|
const node = options.readyMade(s, `${ctx.p}-s${si}`);
|
|
15791
|
+
const neighbour = readyMadeNeighbour(site.sections, si);
|
|
15792
|
+
const ground = neighbour ? groundOf(neighbour) : null;
|
|
15793
|
+
dressReadyMade(node, ground, readyMadeColumn(neighbour));
|
|
15698
15794
|
ctx.sections[s.id] = node.id;
|
|
15699
|
-
prev = LayoutColour.Ground;
|
|
15795
|
+
prev = paintsItsOwnGround(node) || ground === null ? LayoutColour.Ground : ground;
|
|
15700
15796
|
return node;
|
|
15701
15797
|
}
|
|
15702
15798
|
const node = composeSection$1(s, si, prev, ctx);
|
|
15703
|
-
|
|
15704
|
-
prev = ground.startsWith('photo:') ? LayoutColour.Ink : ground;
|
|
15799
|
+
prev = groundOf(s);
|
|
15705
15800
|
return node;
|
|
15706
15801
|
});
|
|
15707
15802
|
const header = composeHeader(ctx);
|
|
@@ -15910,6 +16005,10 @@ function nonEmpty$2(v) {
|
|
|
15910
16005
|
function fillVariables(text, ctx) {
|
|
15911
16006
|
return text.replace(TEXT_VARIABLE, (_m, name) => (name === 'year' ? String(ctx.year) : ctx.plan.business.name));
|
|
15912
16007
|
}
|
|
16008
|
+
/** A pattern node's own words in the site's language: its Hebrew on a Hebrew site when the contract gives one. */
|
|
16009
|
+
function ownWords(pn, locale) {
|
|
16010
|
+
return locale === SiteLocale.He && pn.textHe ? pn.textHe : pn.text;
|
|
16011
|
+
}
|
|
15913
16012
|
/** Where a node's words come from: the plan's slot → the business → the customer's fact → the pattern's
|
|
15914
16013
|
* own text. A missing fact shows its label and is a placeholder; nothing is ever made up. */
|
|
15915
16014
|
function chooseText(pn, ctx) {
|
|
@@ -15926,7 +16025,7 @@ function chooseText(pn, ctx) {
|
|
|
15926
16025
|
const given = ctx.plan.business.facts?.[fact];
|
|
15927
16026
|
return nonEmpty$2(given) ? { value: given } : { value: SITE_FACT_LABELS[fact], placeholder: { kind: PlaceholderKind.Fact, fact } };
|
|
15928
16027
|
}
|
|
15929
|
-
const own = pn.text === undefined ? undefined : fillVariables(pn.
|
|
16028
|
+
const own = pn.text === undefined ? undefined : fillVariables(ownWords(pn, ctx.plan.locale), ctx);
|
|
15930
16029
|
if (pn.ph === PatternPlaceholder.Copy)
|
|
15931
16030
|
return { value: own, placeholder: { kind: PlaceholderKind.Copy } };
|
|
15932
16031
|
if (pn.ph === PatternPlaceholder.Price)
|
|
@@ -17018,7 +17117,7 @@ function composeNavHeader(input, options) {
|
|
|
17018
17117
|
const all = navPagePlans(input.pages);
|
|
17019
17118
|
const navRoutes = new Set(siteNavPages(input.pages).map(p => p.route));
|
|
17020
17119
|
const pages = all.map(p => ({ ...p, inNav: navRoutes.has(p.route) }));
|
|
17021
|
-
const plan = { business: input.business, pages, dataSources: [], contentTypes: [] };
|
|
17120
|
+
const plan = { business: input.business, pages, dataSources: [], contentTypes: [], locale: input.locale };
|
|
17022
17121
|
const email = nonEmpty$2(input.business.facts?.email) ? input.business.facts.email.trim() : null;
|
|
17023
17122
|
const issues = [];
|
|
17024
17123
|
const ctx = {
|
|
@@ -19353,6 +19452,21 @@ function publishVerdict(audit, acknowledged = []) {
|
|
|
19353
19452
|
return { ok: !blocked && missing.length === 0, blocked, missing };
|
|
19354
19453
|
}
|
|
19355
19454
|
|
|
19455
|
+
/**
|
|
19456
|
+
* The words that carry no subject in the languages a site is written in (English, Hebrew): "the", "with", "our", "כמו",
|
|
19457
|
+
* "שלנו"… Shared by every comparison of meaning by words — a stock photo against a slot (`stockWords`), a model's section
|
|
19458
|
+
* against a ready-made one (silent section fallback). Lower case; only words of three letters or more (shorter ones never
|
|
19459
|
+
* count anywhere).
|
|
19460
|
+
*/
|
|
19461
|
+
const FUNCTION_WORDS = new Set([
|
|
19462
|
+
'the', 'and', 'with', 'for', 'your', 'our', 'you', 'from', 'into', 'this', 'that', 'here', 'there', 'about', 'how', 'what',
|
|
19463
|
+
'who', 'are', 'all', 'but', 'not', 'was', 'were', 'has', 'have', 'had', 'its', 'they', 'them', 'their', 'then', 'than',
|
|
19464
|
+
'when', 'where', 'which', 'will', 'can', 'just', 'out', 'over', 'under', 'onto', 'each', 'every', 'some', 'any', 'one', 'also',
|
|
19465
|
+
'too', 'very', 'more', 'most', 'less', 'only', 'own', 'yours', 'ours', 'these', 'those',
|
|
19466
|
+
'אנחנו', 'אני', 'הוא', 'היא', 'אתם', 'אתן', 'שלנו', 'שלכם', 'שלך', 'שלו', 'שלה', 'אצלנו', 'כמו', 'אבל', 'זאת', 'כאן', 'יותר',
|
|
19467
|
+
'מאוד', 'כבר', 'עוד', 'אחרי', 'לפני', 'בין', 'כדי', 'איך',
|
|
19468
|
+
]);
|
|
19469
|
+
|
|
19356
19470
|
/**
|
|
19357
19471
|
* How a stock photo is judged against a picture slot (AI plan §3g, I2.1) — pure and deterministic, so the same plan and
|
|
19358
19472
|
* the same library always place the same photos. A photo is described by what the library's manifest carries (the
|
|
@@ -19437,9 +19551,8 @@ const STOCK_SUBJECT_WORDS = {
|
|
|
19437
19551
|
};
|
|
19438
19552
|
/** Words that say nothing about what a picture shows (the plan's sample and placeholder words among them). */
|
|
19439
19553
|
const STOP_WORDS = new Set([
|
|
19440
|
-
|
|
19441
|
-
'
|
|
19442
|
-
'three', 'more', 'less', 'very', 'tell', 'story', 'item', 'service', 'project',
|
|
19554
|
+
...FUNCTION_WORDS, 'page', 'section', 'sample', 'replace', 'image', 'photo', 'picture', 'sentence', 'words', 'two', 'three',
|
|
19555
|
+
'tell', 'story', 'item', 'service', 'project',
|
|
19443
19556
|
]);
|
|
19444
19557
|
const MIN_WORD = 3;
|
|
19445
19558
|
const HTML_TAG = /<[^>]*>/g;
|
|
@@ -20717,9 +20830,12 @@ function judgeLayoutRender(measured, pixels = []) {
|
|
|
20717
20830
|
* A composed page that still fails after the mends and its one repair — or after the browser's check — no longer falls
|
|
20718
20831
|
* back whole: each section an issue names is given to the plan's READY-MADE section for the same place (the pattern the
|
|
20719
20832
|
* 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
|
-
*
|
|
20833
|
+
* opening and its close. Then the page is judged again, once, exactly like any composed page — its MINIMUMS on the model's
|
|
20834
|
+
* own remaining sections (the given-away ones ride on `page.givenAway`; iox-ui#67, Doron 2026-11-09), its maximums on the
|
|
20835
|
+
* whole page. A ready-made section that would say again what a section the model kept already says (its title, its text —
|
|
20836
|
+
* 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
|
|
20837
|
+
* fails — an issue that names no section, a place with nothing to give it, a swap that
|
|
20838
|
+
* 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
20839
|
* Pure: the service and `ai:replay` run this one function.
|
|
20724
20840
|
*/
|
|
20725
20841
|
/** What became of one place of the model's page. */
|
|
@@ -20739,7 +20855,7 @@ var SectionSwapRule;
|
|
|
20739
20855
|
SectionSwapRule["Close"] = "close";
|
|
20740
20856
|
/** A middle section: the ready-made section that shows the same list, holds the form, or says most of its words. */
|
|
20741
20857
|
SectionSwapRule["Fit"] = "fit";
|
|
20742
|
-
/** A middle section no ready-made section fits: dropped. */
|
|
20858
|
+
/** A middle section no ready-made section fits (or every one that does would repeat a kept section, iox-ui#68): dropped. */
|
|
20743
20859
|
SectionSwapRule["NoFit"] = "no-fit";
|
|
20744
20860
|
})(SectionSwapRule || (SectionSwapRule = {}));
|
|
20745
20861
|
/** Why a page fell back whole after all (the last resort). */
|
|
@@ -20747,7 +20863,8 @@ var SectionFallbackLastResort;
|
|
|
20747
20863
|
(function (SectionFallbackLastResort) {
|
|
20748
20864
|
/** Nothing left names a section (a count, a share, the order of sections), or after the swaps only such an issue is. */
|
|
20749
20865
|
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
|
|
20866
|
+
/** The place named is the opening or the close, and the plan has no ready-made section left for it — or only one that
|
|
20867
|
+
* would repeat what a kept section says (iox-ui#68). */
|
|
20751
20868
|
SectionFallbackLastResort["NoReadyMade"] = "no-ready-made";
|
|
20752
20869
|
/** It names a section already given to a ready-made one. */
|
|
20753
20870
|
SectionFallbackLastResort["ReadyMadeNamed"] = "ready-made-named";
|
|
@@ -20764,8 +20881,42 @@ function sectionsNamed(issue) {
|
|
|
20764
20881
|
return [...at].sort((a, b) => a - b);
|
|
20765
20882
|
}
|
|
20766
20883
|
const WORD = /[\p{L}\p{N}]{3,}/gu;
|
|
20767
|
-
|
|
20768
|
-
const
|
|
20884
|
+
/** The words that can make a fit: three letters or more, never a function word (iox-ui#68: "the" made one). */
|
|
20885
|
+
const wordsOf$1 = (text) => (String(text ?? '').toLowerCase().match(WORD) ?? []).filter(w => !FUNCTION_WORDS.has(w));
|
|
20886
|
+
const layerTexts = (l) => [l.text ?? '', ...(l.items ?? []), ...(l.gallery?.slides ?? []).map(s => s.caption ?? ''), l.form?.title ?? '', l.form?.intro ?? ''];
|
|
20887
|
+
const layerWords = (l) => layerTexts(l).flatMap(wordsOf$1);
|
|
20888
|
+
/** Every word of a text, in order, as a phrase that can be found inside another (` a small room kept slow `). */
|
|
20889
|
+
const PHRASE_WORD = /[\p{L}\p{N}]+/gu;
|
|
20890
|
+
const phraseOf = (text) => {
|
|
20891
|
+
const words = String(text ?? '').toLowerCase().match(PHRASE_WORD) ?? [];
|
|
20892
|
+
return { phrase: ` ${words.join(' ')} `, words: words.length };
|
|
20893
|
+
};
|
|
20894
|
+
/** The fewest words a text needs to count as said twice — a two-word label ("The room") may well appear twice. */
|
|
20895
|
+
const REPEAT_MIN_WORDS = 3;
|
|
20896
|
+
/** The share of the shorter text's words the longer one holds for the two to be the same sentence said twice: one word
|
|
20897
|
+
* changed is still a repeat (the café's quote, "…וחברים צריכים שולחן" and "…וחברים טובים צריכים שולחן"). */
|
|
20898
|
+
const REPEAT_SHARED = 0.8;
|
|
20899
|
+
/** Whether two texts say the same thing: one inside the other, or the shorter's words (function words aside) nearly all
|
|
20900
|
+
* in the longer. */
|
|
20901
|
+
function sameSaying(a, b) {
|
|
20902
|
+
if (a.phrase.includes(b.phrase) || b.phrase.includes(a.phrase))
|
|
20903
|
+
return true;
|
|
20904
|
+
const [short, long] = [new Set(wordsOf$1(a.text)), new Set(wordsOf$1(b.text))].sort((x, y) => x.size - y.size);
|
|
20905
|
+
if (short.size < REPEAT_MIN_WORDS)
|
|
20906
|
+
return false;
|
|
20907
|
+
return [...short].filter(w => long.has(w)).length / short.size >= REPEAT_SHARED;
|
|
20908
|
+
}
|
|
20909
|
+
/**
|
|
20910
|
+
* Whether the plan section would say again what the sections the model kept already say (iox-ui#68): a title or a text of
|
|
20911
|
+
* its slots found inside a kept layer's words, or a kept layer's words found inside it, or the two the same sentence
|
|
20912
|
+
* with a word changed — each of three words or more.
|
|
20913
|
+
*/
|
|
20914
|
+
function repeatsKept(plan, kept) {
|
|
20915
|
+
const long = (text) => ({ ...phraseOf(text), text });
|
|
20916
|
+
const said = kept.flatMap(s => (s.layers ?? []).flatMap(layerTexts)).map(long).filter(p => p.words >= REPEAT_MIN_WORDS);
|
|
20917
|
+
return Object.values(plan.slots ?? {}).map(long).filter(p => p.words >= REPEAT_MIN_WORDS)
|
|
20918
|
+
.some(slot => said.some(k => sameSaying(slot, k)));
|
|
20919
|
+
}
|
|
20769
20920
|
/** How well a ready-made section stands for a model's section: the same list, the form, the words they share. */
|
|
20770
20921
|
function fitScore(section, plan) {
|
|
20771
20922
|
const layers = section.layers ?? [];
|
|
@@ -20805,6 +20956,8 @@ function fallBackBySection(page, plan, issues, judge) {
|
|
|
20805
20956
|
if ([...named.keys()].some(i => current.sections[i].readyMade))
|
|
20806
20957
|
return last(SectionFallbackLastResort.ReadyMadeNamed, [...issues]);
|
|
20807
20958
|
const used = new Set(current.sections.map(s => s.readyMade?.at).filter((n) => n !== undefined));
|
|
20959
|
+
// The sections the model composed and keeps: a ready-made section must not say again what they say.
|
|
20960
|
+
const keptSections = current.sections.filter((s, i) => !s.readyMade && !named.has(i));
|
|
20808
20961
|
const lastAt = current.sections.length - 1;
|
|
20809
20962
|
const next = [...current.sections];
|
|
20810
20963
|
const drop = new Set();
|
|
@@ -20813,7 +20966,7 @@ function fallBackBySection(page, plan, issues, judge) {
|
|
|
20813
20966
|
const record = (action, rule, readyMade) => swaps.push({ id: s.id, at: i, action, rule, ...(readyMade ? { readyMade } : {}), why, original: structuredClone(s) });
|
|
20814
20967
|
if (i === 0 || i === lastAt) {
|
|
20815
20968
|
const at = i === 0 ? 0 : plan.length - 1;
|
|
20816
|
-
if (!plan[at] || used.has(at))
|
|
20969
|
+
if (!plan[at] || used.has(at) || repeatsKept(plan[at], keptSections))
|
|
20817
20970
|
return last(SectionFallbackLastResort.NoReadyMade, [...issues]);
|
|
20818
20971
|
used.add(at);
|
|
20819
20972
|
next[i] = readyMadeSection(s, at, plan[at]);
|
|
@@ -20821,7 +20974,7 @@ function fallBackBySection(page, plan, issues, judge) {
|
|
|
20821
20974
|
continue;
|
|
20822
20975
|
}
|
|
20823
20976
|
const best = plan
|
|
20824
|
-
.map((p, at) => ({ at, score: at > 0 && at < plan.length - 1 && !used.has(at) ? fitScore(s, p) : -1 }))
|
|
20977
|
+
.map((p, at) => ({ at, score: at > 0 && at < plan.length - 1 && !used.has(at) && !repeatsKept(p, keptSections) ? fitScore(s, p) : -1 }))
|
|
20825
20978
|
.filter(c => c.score >= FIT_MIN)
|
|
20826
20979
|
.sort((a, b) => b.score - a.score || a.at - b.at)[0];
|
|
20827
20980
|
if (best) {
|
|
@@ -20834,7 +20987,10 @@ function fallBackBySection(page, plan, issues, judge) {
|
|
|
20834
20987
|
record(SectionSwapAction.Dropped, SectionSwapRule.NoFit);
|
|
20835
20988
|
}
|
|
20836
20989
|
}
|
|
20837
|
-
|
|
20990
|
+
// What the given-away sections carried toward the page's minimums goes with the page (checkLayout forgives exactly
|
|
20991
|
+
// that, iox-ui#67); its maximums stay the whole page's.
|
|
20992
|
+
const givenAway = [...(current.givenAway ?? []), ...swaps.map(w => ({ at: w.at, section: w.original }))];
|
|
20993
|
+
const judged = judge({ ...current, sections: next.filter((_, i) => !drop.has(i)), givenAway });
|
|
20838
20994
|
if (!judged.issues.length)
|
|
20839
20995
|
return { page: judged.page, swaps, left: [] };
|
|
20840
20996
|
const kept = judged.issues.flatMap(sectionsNamed).filter(i => !judged.page.sections[i]?.readyMade);
|
|
@@ -21130,6 +21286,8 @@ const FACT_TOKEN = /\{fact:([^}]*)\}/g;
|
|
|
21130
21286
|
const PHOTO_GROUND = 'photo:';
|
|
21131
21287
|
/** An accent ground counts as this many accent uses (a band of colour weighs more than a word). */
|
|
21132
21288
|
const ACCENT_GROUND_USES = 2;
|
|
21289
|
+
/** The entrance type that only fades (`entrances` levels): it does not count as a section entering. */
|
|
21290
|
+
const FADE_ENTRANCE = 'fadeIn';
|
|
21133
21291
|
const inList = (list, v) => typeof v === 'string' && list.includes(v);
|
|
21134
21292
|
const wordsOf = (t) => String(t ?? '').trim().split(/\s+/).filter(Boolean).length;
|
|
21135
21293
|
const span = (r) => (r ? r[1] - r[0] : 0);
|
|
@@ -21222,15 +21380,38 @@ function wordsOfLayer(l) {
|
|
|
21222
21380
|
...(f ? [f.title, f.intro, f.submit, f.successTitle, f.successText, f.channel?.label].map(t => t ?? '') : []),
|
|
21223
21381
|
].filter(Boolean);
|
|
21224
21382
|
}
|
|
21225
|
-
|
|
21383
|
+
const NOTHING_CARRIED = { signatures: 0, galleries: 0, swappable: 0, layered: 0, bleeds: 0, screenWords: 0, wordsOnPhoto: 0, holds: 0 };
|
|
21384
|
+
/** The model's page in its own order: the sections as they stand, the dropped ones back at their places. */
|
|
21385
|
+
function originalOrder(sections, given) {
|
|
21386
|
+
const kept = new Set(sections.map(s => s.id));
|
|
21387
|
+
const dropped = given.filter(g => !kept.has(g.section.id)).sort((a, b) => a.at - b.at);
|
|
21388
|
+
const order = [...sections];
|
|
21389
|
+
for (const g of dropped)
|
|
21390
|
+
order.splice(Math.min(g.at, order.length), 0, g.section);
|
|
21391
|
+
return order;
|
|
21392
|
+
}
|
|
21393
|
+
/**
|
|
21394
|
+
* Every rule a composed page keeps, each refused with a path. Empty means it passes.
|
|
21395
|
+
*
|
|
21396
|
+
* A page silent section fallback gave sections away (`page.givenAway`, iox-ui#67 — Doron, 2026-11-09): its MINIMUMS — the
|
|
21397
|
+
* one signature and the inhale before it, the glide floor, galleries, the daring minimums, the number of sections — are
|
|
21398
|
+
* judged on the model's own remaining sections, so what a removed section carried no longer fails the page. Its
|
|
21399
|
+
* MAXIMUMS are judged on the whole page, ready-made places included (a ready-made section that enters counts toward the
|
|
21400
|
+
* entrances), and reading, contrast and sameness are untouched.
|
|
21401
|
+
*/
|
|
21226
21402
|
function checkLayout(page, ctx) {
|
|
21403
|
+
const given = Array.isArray(page?.givenAway) ? page.givenAway : [];
|
|
21404
|
+
const carried = given.length ? examineLayout({ dial: page.dial, sections: given.map(g => g.section) }, ctx, NOTHING_CARRIED, []).tally : NOTHING_CARRIED;
|
|
21405
|
+
return examineLayout(page, ctx, carried, given).issues;
|
|
21406
|
+
}
|
|
21407
|
+
function examineLayout(page, ctx, carried, given) {
|
|
21227
21408
|
const issues = [];
|
|
21228
21409
|
const add = (code, path, message, mend) => {
|
|
21229
21410
|
issues.push({ code, path, message, ...(mend ? { mend } : {}) });
|
|
21230
21411
|
};
|
|
21231
21412
|
if (!page || !Array.isArray(page.sections)) {
|
|
21232
21413
|
add(LayoutIssueCode.Shape, 'sections', 'the page has no sections');
|
|
21233
|
-
return issues;
|
|
21414
|
+
return { issues, tally: NOTHING_CARRIED };
|
|
21234
21415
|
}
|
|
21235
21416
|
const look = L.presetLook[ctx.presetId] ? layoutLookOf(ctx.presetId) : null;
|
|
21236
21417
|
const paint = presetPaint(ctx.presetId, ctx.mode);
|
|
@@ -21260,16 +21441,21 @@ function checkLayout(page, ctx) {
|
|
|
21260
21441
|
// ── the sections ──
|
|
21261
21442
|
const sections = page.sections;
|
|
21262
21443
|
const [minSections, maxSections] = LIM.sections;
|
|
21263
|
-
|
|
21444
|
+
const dropped = given.filter(g => !sections.some(s => s.id === g.section.id)).length;
|
|
21445
|
+
if (sections.length + dropped < minSections || sections.length > maxSections)
|
|
21264
21446
|
add(LayoutIssueCode.Structure, 'sections', `${sections.length} sections — ${minSections} to ${maxSections}`);
|
|
21265
21447
|
const ids = new Set(sections.map(s => s.id));
|
|
21266
21448
|
if (ids.size !== sections.length)
|
|
21267
21449
|
add(LayoutIssueCode.Structure, 'sections', 'every section id is different');
|
|
21268
21450
|
const signatures = sections.map((s, i) => (s.signature ? i : -1)).filter(i => i >= 0);
|
|
21269
|
-
if (signatures.length
|
|
21451
|
+
if (signatures.length > 1 || (!signatures.length && !carried.signatures))
|
|
21270
21452
|
add(LayoutIssueCode.Structure, 'sections', `${signatures.length} signature sections — exactly one`);
|
|
21271
21453
|
if (daring && signatures.length === 1 && sections[signatures[0] - 1]?.kind !== LayoutSectionKind.Inhale) {
|
|
21272
|
-
|
|
21454
|
+
const order = originalOrder(sections, given);
|
|
21455
|
+
const before = order[order.indexOf(sections[signatures[0]]) - 1];
|
|
21456
|
+
const givenInhale = !!before && given.some(g => g.section.id === before.id && g.section.kind === LayoutSectionKind.Inhale);
|
|
21457
|
+
if (!givenInhale)
|
|
21458
|
+
add(LayoutIssueCode.Daring, `sections[${signatures[0]}]`, 'on daring the section right before the signature is an inhale');
|
|
21273
21459
|
}
|
|
21274
21460
|
const formSections = new Set(sections.filter(s => s.layers?.some(l => l.kind === LayoutLayerKind.Form)).map(s => s.id));
|
|
21275
21461
|
let reachable = false;
|
|
@@ -21298,6 +21484,7 @@ function checkLayout(page, ctx) {
|
|
|
21298
21484
|
const composedCount = sections.filter(s => !s.readyMade).length;
|
|
21299
21485
|
if (sections.some(s => s.readyMade && READY_MADE_REACH.has(patternById(s.readyMade.pattern)?.family ?? '')))
|
|
21300
21486
|
reachable = true;
|
|
21487
|
+
const readyMadeEntering = sections.filter(s => s.readyMade && readyMadeEnters(s.readyMade.pattern, ctx.design?.animate)).length;
|
|
21301
21488
|
sections.forEach((s, i) => {
|
|
21302
21489
|
if (s.readyMade)
|
|
21303
21490
|
return;
|
|
@@ -21713,26 +21900,26 @@ function checkLayout(page, ctx) {
|
|
|
21713
21900
|
});
|
|
21714
21901
|
if (ctx.first && !reachable)
|
|
21715
21902
|
add(LayoutIssueCode.Content, 'sections', 'nothing lets people reach the business — a form, or a button to one');
|
|
21716
|
-
if (galleries < LIM.galleriesMin)
|
|
21903
|
+
if (galleries < LIM.galleriesMin - carried.galleries)
|
|
21717
21904
|
add(LayoutIssueCode.Structure, 'sections', `${galleries} galleries — at least ${LIM.galleriesMin}`);
|
|
21718
|
-
if (LIM.galleriesMin > 0 && galleries && !swappable)
|
|
21905
|
+
if (LIM.galleriesMin > 0 && galleries && !swappable && !carried.swappable)
|
|
21719
21906
|
add(LayoutIssueCode.Structure, 'sections', 'no gallery can be dragged or swiped — at least one without "scroll"');
|
|
21720
21907
|
if (marquees > LIM.marquees)
|
|
21721
21908
|
add(LayoutIssueCode.Structure, 'sections', `${marquees} marquees — at most ${LIM.marquees}`);
|
|
21722
|
-
const minDepth = look && inList(LIM.calmLooks, look.id) ? LIM.depthLayersCalm : LIM.depthLayers;
|
|
21909
|
+
const minDepth = Math.max(0, (look && inList(LIM.calmLooks, look.id) ? LIM.depthLayersCalm : LIM.depthLayers) - carried.layered);
|
|
21723
21910
|
if (layered < minDepth) {
|
|
21724
21911
|
const glide = glideChoice(sections, minDepth - layered);
|
|
21725
21912
|
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
21913
|
}
|
|
21727
21914
|
if (daring) {
|
|
21728
21915
|
const d = LIM.daring;
|
|
21729
|
-
if (bleeds < d.bleeds)
|
|
21916
|
+
if (bleeds < d.bleeds - carried.bleeds)
|
|
21730
21917
|
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)
|
|
21918
|
+
if (screenWords < d.screenWords - carried.screenWords)
|
|
21732
21919
|
add(LayoutIssueCode.Daring, 'sections', 'no word at "screen" size — a daring page lets one thing be enormous');
|
|
21733
|
-
if (wordsOnPhoto < d.wordsOnPhoto && !limits.noTextOnPhoto)
|
|
21920
|
+
if (wordsOnPhoto < d.wordsOnPhoto - carried.wordsOnPhoto && !limits.noTextOnPhoto)
|
|
21734
21921
|
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)
|
|
21922
|
+
if (holds < d.holds - carried.holds)
|
|
21736
21923
|
add(LayoutIssueCode.Daring, 'sections', `${holds} section(s) hold the page — a daring page holds at least ${d.holds} (held 2+ screens, or sideways)`);
|
|
21737
21924
|
}
|
|
21738
21925
|
else if (pinned > LIM.distinct.holdsMax) {
|
|
@@ -21740,9 +21927,10 @@ function checkLayout(page, ctx) {
|
|
|
21740
21927
|
}
|
|
21741
21928
|
if (photos.size + boxes > LIM.maxPhotos)
|
|
21742
21929
|
add(LayoutIssueCode.Content, 'sections', `${photos.size + boxes} photos — at most ${LIM.maxPhotos}`);
|
|
21743
|
-
const enteringMax = Math.floor(
|
|
21744
|
-
|
|
21745
|
-
|
|
21930
|
+
const enteringMax = Math.floor(sections.length * LIM.enteringSections) + 1;
|
|
21931
|
+
const entering = sectionsWithEnters + readyMadeEntering;
|
|
21932
|
+
if (entering > enteringMax)
|
|
21933
|
+
add(LayoutIssueCode.Motion, 'sections', `${entering} sections have entrances — at most ${enteringMax}; let the others glide`);
|
|
21746
21934
|
if (eyebrows > composedCount * EYEBROW_SHARE)
|
|
21747
21935
|
add(LayoutIssueCode.Look, 'sections', `${eyebrows} headings carry a small label right above them — the AI-site cliché; keep it to a few`);
|
|
21748
21936
|
if (look) {
|
|
@@ -21758,7 +21946,15 @@ function checkLayout(page, ctx) {
|
|
|
21758
21946
|
if (limits.lightGroundsMax !== undefined && lightGrounds > limits.lightGroundsMax)
|
|
21759
21947
|
add(LayoutIssueCode.Look, 'sections', `${lightGrounds} sections on a light ground — the ${look.id} look allows ${limits.lightGroundsMax}`);
|
|
21760
21948
|
}
|
|
21761
|
-
return uniqueIssues(issues);
|
|
21949
|
+
return { issues: uniqueIssues(issues), tally: { signatures: signatures.length, galleries, swappable, layered, bleeds, screenWords, wordsOnPhoto, holds } };
|
|
21950
|
+
}
|
|
21951
|
+
/** A ready-made section enters when the look's entrance level moves something of its family (a fade alone is not an entrance). */
|
|
21952
|
+
function readyMadeEnters(pattern, level) {
|
|
21953
|
+
const family = patternById(pattern)?.family;
|
|
21954
|
+
if (!family)
|
|
21955
|
+
return false;
|
|
21956
|
+
const plan = sectionEntrances(level, family);
|
|
21957
|
+
return [plan.content, ...Object.values(plan.parts)].some(spec => !!spec && spec.type !== FADE_ENTRANCE);
|
|
21762
21958
|
}
|
|
21763
21959
|
/**
|
|
21764
21960
|
* 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 +22568,5 @@ function layoutRepairJsonSchema() {
|
|
|
22372
22568
|
* Generated bundle index. Do not edit.
|
|
22373
22569
|
*/
|
|
22374
22570
|
|
|
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,
|
|
22571
|
+
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, readyMadeColumn, recipeListBinds, recomposeAsks, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionEntrances, sectionPatternIds, sectionToWire, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, 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
22572
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|