@vectoriox/iox-ui 5.139.0 → 5.141.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assist-core/index.d.ts +19 -2
- package/composite-core/index.d.ts +3 -1
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs +29 -3
- package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +3 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +813 -595
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs +32 -9
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +17 -1
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +63 -2
- package/index.d.ts +22 -1
- package/package.json +1 -1
- package/scene-core/index.d.ts +17 -1
- package/src/assist-core/assist-turn.ts +34 -2
- package/src/composite-core/consent.ts +4 -2
- package/src/generation-core/check-layout.ts +19 -0
- package/src/generation-core/compose-layout.ts +51 -7
- package/src/generation-core/compose-site.ts +6 -0
- package/src/generation-core/header-edit.ts +15 -11
- package/src/generation-core/layout-language.ts +5 -0
- package/src/generation-core/list-space.ts +152 -0
- package/src/generation-core/public-api.ts +1 -0
- package/src/scene-core/split-text.ts +31 -7
- package/styles/iox-design.css +62 -4
|
@@ -17951,6 +17951,10 @@ var LayoutMendKind;
|
|
|
17951
17951
|
/** A list section's mix that breaks a list rule the composer can settle (list-ingredients §6, `checkList`): the layer
|
|
17952
17952
|
* takes the repaired mix — every repair of one list carries the same one. */
|
|
17953
17953
|
LayoutMendKind["List"] = "list";
|
|
17954
|
+
/** LI7: a list section that reads empty — the list beside an empty side of its section, or on its own with nothing that
|
|
17955
|
+
* reads (`layoutListBare`): its words are set beside it, the list's own name as its heading where none reads
|
|
17956
|
+
* (`layoutListPair`). Places change, words never (the name is the plan's). */
|
|
17957
|
+
LayoutMendKind["ListWords"] = "list-words";
|
|
17954
17958
|
/** A carried part whose action points at a node the new page no longer has (RD1 — a scroll link to a section that
|
|
17955
17959
|
* left): the action is dropped from the carry and the drop is said (`mendCarry`), never refused. */
|
|
17956
17960
|
LayoutMendKind["Link"] = "link";
|
|
@@ -19785,634 +19789,777 @@ function pageListIssues(page) {
|
|
|
19785
19789
|
}
|
|
19786
19790
|
|
|
19787
19791
|
/**
|
|
19788
|
-
*
|
|
19789
|
-
*
|
|
19790
|
-
*
|
|
19791
|
-
*
|
|
19792
|
-
* cannot carry (`checkBody`) and judges a composed page's grounds against its rhythm (`rhythmIssues`, run by
|
|
19793
|
-
* `checkLayout`). Pure.
|
|
19794
|
-
*
|
|
19795
|
-
* A seam is PAINTED, never laid out (`rules.seamPaintsOnly`): the LOWER section's ground rises into the one above it as a
|
|
19796
|
-
* shape `depth` px tall, under the words; the upper section keeps its words clear of it (`rules.seamKeepsClear`). `rounded`
|
|
19797
|
-
* instead lays the upper section over the next with its lower corners at `radius`. A Hebrew page mirrors an asymmetric
|
|
19798
|
-
* shape (`mirrors`).
|
|
19792
|
+
* Space on a composed page (the M8 demo, the bar's live page 2026-11-10): what the static check can read off the grid
|
|
19793
|
+
* about stillness and emptiness — a held section where nothing moves, a shape that is there for nothing, a stretch of the
|
|
19794
|
+
* laptop's screen with nothing on it, an opening with no display. Estimates on the check's laptop (1440 × 900), the
|
|
19795
|
+
* render check measures the real page. Pure.
|
|
19799
19796
|
*/
|
|
19800
|
-
const
|
|
19801
|
-
|
|
19802
|
-
|
|
19803
|
-
(
|
|
19804
|
-
|
|
19805
|
-
|
|
19806
|
-
|
|
19807
|
-
|
|
19808
|
-
|
|
19809
|
-
|
|
19810
|
-
|
|
19811
|
-
|
|
19812
|
-
|
|
19813
|
-
|
|
19814
|
-
|
|
19815
|
-
|
|
19816
|
-
|
|
19817
|
-
|
|
19818
|
-
|
|
19819
|
-
|
|
19820
|
-
|
|
19821
|
-
|
|
19822
|
-
|
|
19823
|
-
|
|
19824
|
-
|
|
19825
|
-
|
|
19826
|
-
(
|
|
19827
|
-
|
|
19828
|
-
|
|
19829
|
-
|
|
19830
|
-
|
|
19831
|
-
|
|
19832
|
-
|
|
19833
|
-
|
|
19834
|
-
|
|
19835
|
-
(
|
|
19836
|
-
BodySectionWord["InsetCard"] = "inset-card";
|
|
19837
|
-
BodySectionWord["StickyTitle"] = "sticky-title";
|
|
19838
|
-
BodySectionWord["TabsNav"] = "tabs-nav";
|
|
19839
|
-
BodySectionWord["Promises"] = "promises";
|
|
19840
|
-
BodySectionWord["Table"] = "table";
|
|
19841
|
-
BodySectionWord["Timeline"] = "timeline";
|
|
19842
|
-
BodySectionWord["Hotspots"] = "hotspots";
|
|
19843
|
-
})(BodySectionWord || (BodySectionWord = {}));
|
|
19844
|
-
class BodyMixError extends Error {
|
|
19797
|
+
const L$2 = SPEC_SITE_LAYOUT;
|
|
19798
|
+
const LIM$1 = L$2.limits;
|
|
19799
|
+
/**
|
|
19800
|
+
* The laptop the estimates are made on (the render check's 1440 × 900). A grid column is taken as 1440 / 12 px and a row
|
|
19801
|
+
* as its section's screens × 900 / rows (a held section's grid is its one-screen stage): the gutter and the column gaps
|
|
19802
|
+
* are left out, so a box reads about a fifth wider than it renders — the render check measures the real one.
|
|
19803
|
+
*/
|
|
19804
|
+
const LAYOUT_CHECK_VIEWPORT = { width: 1440, height: 900 };
|
|
19805
|
+
const GRID$2 = 12;
|
|
19806
|
+
const COLUMN_PX$2 = LAYOUT_CHECK_VIEWPORT.width / GRID$2;
|
|
19807
|
+
/** A line of words stands its size × this tall. */
|
|
19808
|
+
const LAYOUT_LINE_HEIGHT = 1.2;
|
|
19809
|
+
const HEBREW$4 = /[-]/;
|
|
19810
|
+
/** A button's ink, as tall as its padding and one line. */
|
|
19811
|
+
const BUTTON_PX = 56;
|
|
19812
|
+
/** How far the screens mend lowers a section at a time, and how often it tries. */
|
|
19813
|
+
const SCREENS_STEP = 0.25;
|
|
19814
|
+
const SCREENS_TRIES = 40;
|
|
19815
|
+
/** The kinds the composer stretches over their whole cell (`place`); every other kind sits in its cell's middle. */
|
|
19816
|
+
const FULL_CELL = new Set([LayoutLayerKind.Photo, LayoutLayerKind.Shape, LayoutLayerKind.Gallery, LayoutLayerKind.Form, LayoutLayerKind.Marquee]);
|
|
19817
|
+
/** The kinds a held section's line may be lit by the scroll (`kinetic`). */
|
|
19818
|
+
const LAYOUT_KINETIC_KINDS = new Set([LayoutLayerKind.Word, LayoutLayerKind.Heading, LayoutLayerKind.Text]);
|
|
19819
|
+
const span$2 = (r) => (r ? r[1] - r[0] : 0);
|
|
19820
|
+
const isText$1 = (l) => LAYOUT_TEXT_KINDS.has(l.kind);
|
|
19821
|
+
const isPictured$1 = (l) => l.kind === LayoutLayerKind.Photo || l.kind === LayoutLayerKind.Gallery;
|
|
19822
|
+
const wordsOf$4 = (t) => String(t ?? '').trim().split(/\s+/).filter(Boolean).length;
|
|
19823
|
+
const meets = (a, b) => {
|
|
19824
|
+
const ov = (p, q) => p[0] < q[1] && q[0] < p[1];
|
|
19825
|
+
return ov(a.col ?? [0, 0], b.col ?? [0, 0]) && ov(a.row ?? [0, 0], b.row ?? [0, 0]);
|
|
19826
|
+
};
|
|
19827
|
+
const textOf$3 = (l) => String(l.text ?? (l.items ?? []).join(' '));
|
|
19828
|
+
const advanceOf = (text) => (HEBREW$4.test(text) ? LIM$1.advance.hebrew : LIM$1.advance.latin);
|
|
19829
|
+
/** A grid box's size in px on the laptop. */
|
|
19830
|
+
function layoutBoxPx(col, row, s) {
|
|
19831
|
+
const height = (s.pin ? 1 : s.screens) * LAYOUT_CHECK_VIEWPORT.height;
|
|
19832
|
+
return { w: span$2(col) * COLUMN_PX$2, h: (span$2(row) * height) / Math.max(1, s.rows) };
|
|
19845
19833
|
}
|
|
19846
|
-
|
|
19847
|
-
|
|
19848
|
-
const
|
|
19849
|
-
|
|
19850
|
-
|
|
19851
|
-
const
|
|
19852
|
-
const
|
|
19853
|
-
const
|
|
19854
|
-
|
|
19855
|
-
|
|
19856
|
-
return INGREDIENTS$3[ingredient] ?? [];
|
|
19834
|
+
/** Whether a sized text layer's words fit its box at its size (the check's estimate; a `screen` word is sized to fit). */
|
|
19835
|
+
function layoutTextFits(l, s, size = l.size) {
|
|
19836
|
+
const text = textOf$3(l);
|
|
19837
|
+
if (!isText$1(l) || !size || size === LayoutSize.Screen || !text)
|
|
19838
|
+
return true;
|
|
19839
|
+
const px = L$2.sizePx[size];
|
|
19840
|
+
const box = layoutBoxPx(l.col, l.row, s);
|
|
19841
|
+
const lines = Math.floor(box.h / (px * LAYOUT_LINE_HEIGHT));
|
|
19842
|
+
const items = l.kind === LayoutLayerKind.List ? Math.max(1, l.items?.length ?? 1) : 1;
|
|
19843
|
+
return lines >= items && (text.length * px * advanceOf(text)) / Math.max(1, lines) <= box.w * LIM$1.textFitSlack;
|
|
19857
19844
|
}
|
|
19858
|
-
/**
|
|
19859
|
-
function
|
|
19860
|
-
const
|
|
19861
|
-
return (
|
|
19845
|
+
/** Words or a button drawn over a layer (above it, meeting it). */
|
|
19846
|
+
function wordsOver(s, li) {
|
|
19847
|
+
const l = s.layers[li];
|
|
19848
|
+
return s.layers.some((o, oi) => oi !== li && (isText$1(o) || o.kind === LayoutLayerKind.Button) && (o.z ?? 0) > (l.z ?? 0) && meets(o, l));
|
|
19862
19849
|
}
|
|
19863
|
-
/**
|
|
19864
|
-
|
|
19865
|
-
|
|
19850
|
+
/**
|
|
19851
|
+
* A rule: a shape one row high with no words on it — the looks' hairline ("a shape one row high"). The composer draws it
|
|
19852
|
+
* as a line, never as the row's full height (the bar's grey boxes: a 150–180 px block where a hairline was meant).
|
|
19853
|
+
*/
|
|
19854
|
+
function isLayoutRule(s, li) {
|
|
19855
|
+
const l = s.layers?.[li];
|
|
19856
|
+
return !!l && l.kind === LayoutLayerKind.Shape && span$2(l.row) === 1 && !wordsOver(s, li);
|
|
19866
19857
|
}
|
|
19867
|
-
/**
|
|
19868
|
-
function
|
|
19869
|
-
|
|
19858
|
+
/** Where a rule's line sits in its row: against the words it belongs to (above it → its top, below it → its bottom). */
|
|
19859
|
+
function layoutRuleEdge(s, li) {
|
|
19860
|
+
const l = s.layers[li];
|
|
19861
|
+
const beside = (o) => isText$1(o) && (o.col?.[0] ?? 0) < (l.col?.[1] ?? 0) && (l.col?.[0] ?? 0) < (o.col?.[1] ?? 0);
|
|
19862
|
+
if (s.layers.some((o, oi) => oi !== li && beside(o) && o.row?.[1] === l.row[0]))
|
|
19863
|
+
return 'start';
|
|
19864
|
+
if (s.layers.some((o, oi) => oi !== li && beside(o) && o.row?.[0] === l.row[1]))
|
|
19865
|
+
return 'end';
|
|
19866
|
+
return 'center';
|
|
19870
19867
|
}
|
|
19871
|
-
/**
|
|
19872
|
-
|
|
19873
|
-
|
|
19868
|
+
/**
|
|
19869
|
+
* A shape is there for something: a rule, a band of colour (wide, or off an edge), a backdrop to words, a frame meeting
|
|
19870
|
+
* a picture, or it moves (tracks, a depth). Anything else is an empty box on the page.
|
|
19871
|
+
*/
|
|
19872
|
+
function layoutShapeHasPurpose(s, li) {
|
|
19873
|
+
const l = s.layers?.[li];
|
|
19874
|
+
if (!l || l.kind !== LayoutLayerKind.Shape)
|
|
19875
|
+
return true;
|
|
19876
|
+
if (isLayoutRule(s, li) || wordsOver(s, li))
|
|
19877
|
+
return true;
|
|
19878
|
+
if (span$2(l.col) >= LIM$1.bandColumns || (l.bleed && l.bleed !== 'none'))
|
|
19879
|
+
return true;
|
|
19880
|
+
if (s.layers.some((o, oi) => oi !== li && isPictured$1(o) && meets(o, l)))
|
|
19881
|
+
return true;
|
|
19882
|
+
return !!l.motion?.length || (!!l.depth && l.depth !== LayoutDepth.Mid);
|
|
19874
19883
|
}
|
|
19875
|
-
/**
|
|
19876
|
-
function
|
|
19877
|
-
|
|
19884
|
+
/** A held section where nothing moves by the scroll: no track, no kinetic line, no gallery the scroll turns. */
|
|
19885
|
+
function layoutHeldStill(s) {
|
|
19886
|
+
if (!s.pin || (s.track ?? 1) > 1 || s.readyMade || s.carry)
|
|
19887
|
+
return false;
|
|
19888
|
+
return !(s.layers ?? []).some(l => !!l.motion?.length || !!l.kinetic || (l.kind === LayoutLayerKind.Gallery && !!l.gallery?.scroll));
|
|
19878
19889
|
}
|
|
19879
|
-
/**
|
|
19880
|
-
*
|
|
19881
|
-
|
|
19882
|
-
|
|
19883
|
-
|
|
19884
|
-
|
|
19885
|
-
|
|
19886
|
-
|
|
19887
|
-
|
|
19888
|
-
|
|
19889
|
-
|
|
19890
|
-
|
|
19891
|
-
const words = listOf$2(v);
|
|
19892
|
-
for (const w of words)
|
|
19893
|
-
if (!INGREDIENTS$3[k].includes(w))
|
|
19894
|
-
throw new BodyMixError(`a body's ${k} cannot be "${w}" (${INGREDIENTS$3[k].join(' · ')})`);
|
|
19895
|
-
if (isMany$1(k))
|
|
19896
|
-
mix[k] = ordered$1(k, words);
|
|
19897
|
-
else if (words.length !== 1)
|
|
19898
|
-
throw new BodyMixError(`a body has one ${k}`);
|
|
19899
|
-
else
|
|
19900
|
-
mix[k] = words[0];
|
|
19901
|
-
}
|
|
19902
|
-
return mix;
|
|
19890
|
+
/**
|
|
19891
|
+
* The line a still hold can light word by word: a word, heading or text of 2 to the kinetic words, never over a picture —
|
|
19892
|
+
* the lead first, then by size. -1: none.
|
|
19893
|
+
*/
|
|
19894
|
+
function layoutStillLine(s) {
|
|
19895
|
+
const sizes = Object.keys(L$2.sizePx);
|
|
19896
|
+
const found = (s.layers ?? [])
|
|
19897
|
+
.map((l, li) => ({ l, li }))
|
|
19898
|
+
.filter(({ l }) => LAYOUT_KINETIC_KINDS.has(l.kind) && wordsOf$4(l.text) >= 2 && wordsOf$4(l.text) <= LIM$1.kineticWords)
|
|
19899
|
+
.filter(({ l }) => !(s.layers ?? []).some(o => o !== l && isPictured$1(o) && meets(o, l)))
|
|
19900
|
+
.sort((a, b) => Number(b.l.role === LayoutRole.Lead) - Number(a.l.role === LayoutRole.Lead) || sizes.indexOf(b.l.size ?? 'm') - sizes.indexOf(a.l.size ?? 'm') || a.li - b.li);
|
|
19901
|
+
return found[0]?.li ?? -1;
|
|
19903
19902
|
}
|
|
19904
|
-
/** A
|
|
19905
|
-
|
|
19906
|
-
|
|
19903
|
+
/** A held section's largest photo that may move (not decoration — decoration only fades), for a still hold that cannot
|
|
19904
|
+
* let go of the page: -1, none. */
|
|
19905
|
+
function layoutDriftPhoto(s) {
|
|
19906
|
+
const area = (l) => span$2(l.col) * span$2(l.row);
|
|
19907
|
+
const found = (s.layers ?? []).map((l, li) => ({ l, li }))
|
|
19908
|
+
.filter(({ l }) => l.kind === LayoutLayerKind.Photo && l.role !== LayoutRole.Decoration && Array.isArray(l.col) && Array.isArray(l.row))
|
|
19909
|
+
.sort((a, b) => area(b.l) - area(a.l) || a.li - b.li);
|
|
19910
|
+
return found[0]?.li ?? -1;
|
|
19907
19911
|
}
|
|
19908
|
-
/** The
|
|
19909
|
-
|
|
19910
|
-
|
|
19911
|
-
|
|
19912
|
-
|
|
19913
|
-
|
|
19914
|
-
|
|
19915
|
-
|
|
19916
|
-
|
|
19917
|
-
|
|
19918
|
-
|
|
19919
|
-
|
|
19912
|
+
/** The drift a still hold's photo takes: a slow scale over the whole hold — transform only, inside the track's bounds. */
|
|
19913
|
+
const LAYOUT_DRIFT = { prop: LayoutTrackProp.Scale, from: 1, to: 1.08, at: [0, 1] };
|
|
19914
|
+
/** A section whose screen is spoken for: what is on it never leaves it (held, sideways, a photo ground, ready-made), or
|
|
19915
|
+
* its space is the point (an inhale — the page's one breath, a word in the quiet). */
|
|
19916
|
+
const filled = (s) => !!s.pin || (s.track ?? 1) > 1 || !!s.readyMade || !!s.carry || String(s.ground ?? '').startsWith('photo:')
|
|
19917
|
+
|| s.kind === LayoutSectionKind.Inhale;
|
|
19918
|
+
/** Where a layer's ink is in its section (px from the section's top): its cell for what stretches, its words' lines in the
|
|
19919
|
+
* cell's middle for the rest, the line of a rule. */
|
|
19920
|
+
function inkOf(s, li, rowPx) {
|
|
19921
|
+
const l = s.layers[li];
|
|
19922
|
+
const t = (l.row[0] - 1) * rowPx;
|
|
19923
|
+
const b = (l.row[1] - 1) * rowPx;
|
|
19924
|
+
const mid = (t + b) / 2;
|
|
19925
|
+
if (l.kind === LayoutLayerKind.Shape && isLayoutRule(s, li)) {
|
|
19926
|
+
const edge = layoutRuleEdge(s, li);
|
|
19927
|
+
const at = edge === 'start' ? t : edge === 'end' ? b : mid;
|
|
19928
|
+
return [at, at];
|
|
19920
19929
|
}
|
|
19921
|
-
|
|
19922
|
-
|
|
19923
|
-
|
|
19924
|
-
|
|
19925
|
-
|
|
19926
|
-
|
|
19930
|
+
if (FULL_CELL.has(l.kind) || l.size === LayoutSize.Screen)
|
|
19931
|
+
return [t, b];
|
|
19932
|
+
let h = BUTTON_PX;
|
|
19933
|
+
if (isText$1(l)) {
|
|
19934
|
+
const text = textOf$3(l);
|
|
19935
|
+
const px = L$2.sizePx[(l.size ?? LayoutSize.M)] ?? L$2.sizePx.m;
|
|
19936
|
+
const w = Math.max(1, span$2(l.col) * COLUMN_PX$2);
|
|
19937
|
+
const items = l.kind === LayoutLayerKind.List ? Math.max(1, l.items?.length ?? 1) : 1;
|
|
19938
|
+
const lines = Math.max(items, Math.ceil((text.length * px * advanceOf(text)) / (w * LIM$1.textFitSlack)));
|
|
19939
|
+
h = lines * px * LAYOUT_LINE_HEIGHT;
|
|
19940
|
+
}
|
|
19941
|
+
h = Math.min(b - t, h);
|
|
19942
|
+
return [mid - h / 2, mid + h / 2];
|
|
19927
19943
|
}
|
|
19928
|
-
/**
|
|
19929
|
-
|
|
19930
|
-
|
|
19931
|
-
|
|
19932
|
-
|
|
19933
|
-
|
|
19934
|
-
|
|
19935
|
-
|
|
19936
|
-
|
|
19937
|
-
|
|
19938
|
-
|
|
19944
|
+
/**
|
|
19945
|
+
* Every stretch more than `voidScreen` of a screen tall with nothing on it, top to bottom. A section that holds (or is a
|
|
19946
|
+
* photo, or ready-made) fills its height; one that flows has its layers' ink (`inkOf`). Judged across the sections, as a
|
|
19947
|
+
* visitor scrolls them; the end of the page counts (the footer is not the page's).
|
|
19948
|
+
*/
|
|
19949
|
+
function layoutVoids(sections) {
|
|
19950
|
+
const ink = [];
|
|
19951
|
+
const bounds = [];
|
|
19952
|
+
let top = 0;
|
|
19953
|
+
for (const s of sections) {
|
|
19954
|
+
const height = Math.max(1, Number(s.screens) || 1) * LAYOUT_CHECK_VIEWPORT.height;
|
|
19955
|
+
bounds.push([top, top + height]);
|
|
19956
|
+
if (filled(s))
|
|
19957
|
+
ink.push([top, top + height]);
|
|
19958
|
+
else {
|
|
19959
|
+
const rowPx = height / Math.max(1, s.rows);
|
|
19960
|
+
(s.layers ?? []).forEach((l, li) => {
|
|
19961
|
+
if (!Array.isArray(l.row) || !Array.isArray(l.col))
|
|
19962
|
+
return;
|
|
19963
|
+
const [a, b] = inkOf(s, li, rowPx);
|
|
19964
|
+
ink.push([top + a, top + b]);
|
|
19939
19965
|
});
|
|
19940
|
-
continue;
|
|
19941
19966
|
}
|
|
19942
|
-
|
|
19943
|
-
const wait = WAITS$3[`${k}.${word}`];
|
|
19944
|
-
if (!wait)
|
|
19945
|
-
continue;
|
|
19946
|
-
gaps.push({ ingredient: k, word, phase: wait.phase, drawnAs: wait.drawnAs });
|
|
19947
|
-
drawn[k] = wait.drawnAs ?? B.defaults[k];
|
|
19967
|
+
top += height;
|
|
19948
19968
|
}
|
|
19949
|
-
|
|
19950
|
-
|
|
19951
|
-
|
|
19952
|
-
|
|
19953
|
-
|
|
19954
|
-
|
|
19955
|
-
|
|
19956
|
-
|
|
19957
|
-
|
|
19958
|
-
|
|
19959
|
-
|
|
19960
|
-
|
|
19961
|
-
|
|
19962
|
-
|
|
19963
|
-
|
|
19964
|
-
|
|
19965
|
-
return { depth: g.depth[at], radius: g.radius?.[at] ?? 0, mirrored: !!opts.rtl && g.mirrors };
|
|
19966
|
-
}
|
|
19967
|
-
/** The class a section wears for its seam (`iox-seam-<word>`); the straight seam wears none. design-core's
|
|
19968
|
-
* `sectionEdgeClass` is the one writer (the renderers' node-class helper); this reads the table's words through it. */
|
|
19969
|
-
function bodySeamClass(word) {
|
|
19970
|
-
return word && B.seams[word] ? sectionEdgeClass(word) : null;
|
|
19971
|
-
}
|
|
19972
|
-
// ── The body worn by a composed page (H4: the composer stamps what the palette's Section edge writes) ─────────────────
|
|
19973
|
-
const SCENE_ROLE$1 = 'scene';
|
|
19974
|
-
function holdsScene(node) {
|
|
19975
|
-
let found = false;
|
|
19976
|
-
walkSerialized([node], n => { if (n.role === SCENE_ROLE$1)
|
|
19977
|
-
found = true; });
|
|
19978
|
-
return found;
|
|
19969
|
+
ink.sort((a, b) => a[0] - b[0]);
|
|
19970
|
+
const voids = [];
|
|
19971
|
+
const least = LIM$1.voidScreen * LAYOUT_CHECK_VIEWPORT.height;
|
|
19972
|
+
let end = 0;
|
|
19973
|
+
const push = (from, to) => {
|
|
19974
|
+
if (to - from <= least)
|
|
19975
|
+
return;
|
|
19976
|
+
const within = bounds.map((b, i) => (b[0] < to && from < b[1] ? i : -1)).filter(i => i >= 0);
|
|
19977
|
+
voids.push({ from: Math.round(from), to: Math.round(to), sections: within });
|
|
19978
|
+
};
|
|
19979
|
+
for (const [a, b] of ink) {
|
|
19980
|
+
push(end, a);
|
|
19981
|
+
end = Math.max(end, b);
|
|
19982
|
+
}
|
|
19983
|
+
push(end, top);
|
|
19984
|
+
return voids;
|
|
19979
19985
|
}
|
|
19980
|
-
/**
|
|
19981
|
-
|
|
19982
|
-
|
|
19983
|
-
|
|
19984
|
-
|
|
19985
|
-
|
|
19986
|
-
|
|
19987
|
-
|
|
19988
|
-
|
|
19989
|
-
|
|
19990
|
-
if (
|
|
19991
|
-
|
|
19992
|
-
out.push(cur);
|
|
19993
|
-
cur = '';
|
|
19994
|
-
continue;
|
|
19986
|
+
/**
|
|
19987
|
+
* The heights that close every void: the sections a void lies in that flow come down a quarter screen at a time (never
|
|
19988
|
+
* under one screen; their rows keep their share, and each of their words still fits) until no void is left. Null when
|
|
19989
|
+
* that cannot close them — then the model is asked.
|
|
19990
|
+
*/
|
|
19991
|
+
function layoutVoidScreens(sections) {
|
|
19992
|
+
const next = sections.map(s => ({ ...s }));
|
|
19993
|
+
const stuck = new Set();
|
|
19994
|
+
for (let tries = 0; tries < SCREENS_TRIES; tries++) {
|
|
19995
|
+
const voids = layoutVoids(next);
|
|
19996
|
+
if (!voids.length) {
|
|
19997
|
+
return next.map((s, i) => ({ section: i, screens: s.screens })).filter(({ section, screens }) => screens !== sections[section].screens);
|
|
19995
19998
|
}
|
|
19996
|
-
|
|
19999
|
+
const free = [...new Set(voids.flatMap(v => v.sections))]
|
|
20000
|
+
.filter(i => !filled(next[i]) && !stuck.has(i) && next[i].screens > 1)
|
|
20001
|
+
.sort((a, b) => next[b].screens - next[a].screens || a - b);
|
|
20002
|
+
if (!free.length)
|
|
20003
|
+
return null;
|
|
20004
|
+
const i = free[0];
|
|
20005
|
+
const lower = { ...next[i], screens: Math.max(1, Math.round((next[i].screens - SCREENS_STEP) * 100) / 100) };
|
|
20006
|
+
if ((lower.layers ?? []).every(l => layoutTextFits(l, lower)))
|
|
20007
|
+
next[i] = lower;
|
|
20008
|
+
else
|
|
20009
|
+
stuck.add(i);
|
|
19997
20010
|
}
|
|
19998
|
-
|
|
19999
|
-
out.push(cur);
|
|
20000
|
-
return out;
|
|
20011
|
+
return null;
|
|
20001
20012
|
}
|
|
20002
|
-
/** The
|
|
20003
|
-
function
|
|
20004
|
-
const
|
|
20005
|
-
|
|
20006
|
-
|
|
20007
|
-
|
|
20008
|
-
|
|
20013
|
+
/** The layers that make an opening's display: a word (set in the display face), or words at xxl or screen size. */
|
|
20014
|
+
function layoutOpeningDisplays(page) {
|
|
20015
|
+
const first = page.sections?.[0];
|
|
20016
|
+
if (!first || first.readyMade || first.carry)
|
|
20017
|
+
return [];
|
|
20018
|
+
return (first.layers ?? []).map((l, li) => ({ l, li }))
|
|
20019
|
+
.filter(({ l }) => isText$1(l) && (l.kind === LayoutLayerKind.Word || l.size === LayoutSize.Screen || l.size === LayoutSize.Xxl))
|
|
20020
|
+
.map(({ li }) => li);
|
|
20009
20021
|
}
|
|
20010
20022
|
/**
|
|
20011
|
-
*
|
|
20012
|
-
*
|
|
20013
|
-
* upper's bottom space raised to the seam's depth so its words stay clear (R-H17); `inset-card` makes every later
|
|
20014
|
-
* section that wears a scheme a rounded card on the page's ground. A mix with nothing drawn returns the layout as it was
|
|
20015
|
-
* (the same array — byte-identical, R-H4). Pure: touched nodes are copied.
|
|
20023
|
+
* The opening's lead set as its display (a word) where it can be: a heading of at most `xl`'s characters. Its size goes
|
|
20024
|
+
* up to xl where it still fits there. Null: no such lead.
|
|
20016
20025
|
*/
|
|
20017
|
-
function
|
|
20018
|
-
|
|
20019
|
-
|
|
20020
|
-
|
|
20021
|
-
const
|
|
20022
|
-
|
|
20023
|
-
|
|
20024
|
-
|
|
20025
|
-
|
|
20026
|
-
|
|
20027
|
-
|
|
20028
|
-
|
|
20029
|
-
|
|
20030
|
-
|
|
20031
|
-
|
|
20032
|
-
|
|
20033
|
-
|
|
20034
|
-
|
|
20035
|
-
|
|
20036
|
-
|
|
20037
|
-
|
|
20038
|
-
|
|
20026
|
+
function layoutOpeningDisplayMend(page) {
|
|
20027
|
+
const first = page.sections?.[0];
|
|
20028
|
+
if (!first || first.readyMade || first.carry)
|
|
20029
|
+
return null;
|
|
20030
|
+
const li = (first.layers ?? []).findIndex(l => l.role === LayoutRole.Lead && l.kind === LayoutLayerKind.Heading);
|
|
20031
|
+
if (li < 0)
|
|
20032
|
+
return null;
|
|
20033
|
+
const lead = first.layers[li];
|
|
20034
|
+
if (textOf$3(lead).length > L$2.maxChars.xl)
|
|
20035
|
+
return null;
|
|
20036
|
+
const small = lead.size !== LayoutSize.Xl && lead.size !== LayoutSize.Xxl;
|
|
20037
|
+
return small && layoutTextFits(lead, first, LayoutSize.Xl) ? { layer: li, size: LayoutSize.Xl } : { layer: li };
|
|
20038
|
+
}
|
|
20039
|
+
|
|
20040
|
+
/**
|
|
20041
|
+
* Where a list sits in its section (list-ingredients-plan.md LI7, Doron 2026-11-22: "the page looks very empty"): a list
|
|
20042
|
+
* whose items take less than its section's width — a deck is one card wide, any list can be set in a few columns — leaves
|
|
20043
|
+
* a stretch of the section with nothing on it unless its words stand beside it. The judge reads the grid on the check's
|
|
20044
|
+
* laptop (`LAYOUT_CHECK_VIEWPORT`); the pairing sets the section's words beside the list. Pure.
|
|
20045
|
+
*/
|
|
20046
|
+
/** A deck is one card wide (LI4): at most this many px, and this share of its cell (the composer draws exactly this). */
|
|
20047
|
+
const LIST_DECK_MAX_PX = 440;
|
|
20048
|
+
const LIST_DECK_SHARE = 0.8;
|
|
20049
|
+
/** The prompt's line for it (the layout brief reads it — one sentence, said once). */
|
|
20050
|
+
const LIST_WORDS_BESIDE_RULE = 'a list that takes part of its section (a deck is one card wide) has its words beside it — a heading, a line, the link to all of it — or is centred under them; never a list beside an empty half';
|
|
20051
|
+
/** The side of the section a list leaves empty: towards grid line 1 (`start`) or line 13 (`end`). */
|
|
20052
|
+
var LayoutListSide;
|
|
20053
|
+
(function (LayoutListSide) {
|
|
20054
|
+
LayoutListSide["Start"] = "start";
|
|
20055
|
+
LayoutListSide["End"] = "end";
|
|
20056
|
+
})(LayoutListSide || (LayoutListSide = {}));
|
|
20057
|
+
const GRID$1 = 12;
|
|
20058
|
+
const COLUMN_PX$1 = LAYOUT_CHECK_VIEWPORT.width / GRID$1;
|
|
20059
|
+
/** Columns with nothing on them at a list's rows, on one side, before the section reads empty (more than a third)… */
|
|
20060
|
+
const BARE_COLUMNS = 5;
|
|
20061
|
+
/** …unless the other side is as empty (a list centred under its words is a composition, not a gap). */
|
|
20062
|
+
const BARE_SKEW = 2;
|
|
20063
|
+
/** A list this many columns wide or fewer, with no words in its section, is a list on its own in the middle of nothing. */
|
|
20064
|
+
const NARROW_COLUMNS = GRID$1 / 2;
|
|
20065
|
+
/** Paired: the words take the empty side's five columns, one column apart from the list's six. */
|
|
20066
|
+
const PAIR_WORDS = { [LayoutListSide.Start]: [1, 6], [LayoutListSide.End]: [8, 13] };
|
|
20067
|
+
const PAIR_LIST = { [LayoutListSide.Start]: [7, 13], [LayoutListSide.End]: [1, 7] };
|
|
20068
|
+
/** The size a heading the pairing writes (the list's own name) is set at. */
|
|
20069
|
+
const PAIR_HEADING_SIZE = LayoutSize.L;
|
|
20070
|
+
const isList = (l) => l.kind === LayoutLayerKind.Gallery && !!l.gallery?.list && !!l.gallery?.source;
|
|
20071
|
+
/** Words that read: a word, a heading, a line of text, a label, a number, a list of lines. */
|
|
20072
|
+
const reads = (l) => LAYOUT_TEXT_KINDS.has(l.kind);
|
|
20073
|
+
/** The section's words: what reads, and its buttons (the link to all of it). */
|
|
20074
|
+
const isWords = (l) => reads(l) || l.kind === LayoutLayerKind.Button;
|
|
20075
|
+
const placed = (l) => Array.isArray(l.col) && Array.isArray(l.row);
|
|
20076
|
+
const overlaps$1 = (p, q) => p[0] < q[1] && q[0] < p[1];
|
|
20077
|
+
/** The columns a list's items take on the laptop (grid lines, fractional): a deck a card wide in its cell's middle, any
|
|
20078
|
+
* other arrangement its cell. */
|
|
20079
|
+
function layoutListDrawnCols(l) {
|
|
20080
|
+
const [a, b] = l.col;
|
|
20081
|
+
if (l.gallery?.list?.arrange !== LayoutListArrange.Deck)
|
|
20082
|
+
return [a, b];
|
|
20083
|
+
const cols = Math.min((b - a) * LIST_DECK_SHARE, LIST_DECK_MAX_PX / COLUMN_PX$1);
|
|
20084
|
+
const mid = (a + b) / 2;
|
|
20085
|
+
return [mid - cols / 2, mid + cols / 2];
|
|
20086
|
+
}
|
|
20087
|
+
/**
|
|
20088
|
+
* The first list layer of a section that reads empty on the laptop, or null: at the list's rows, one side of the section
|
|
20089
|
+
* has more than a third of its columns with nothing on them and the other side is not as empty, or the list is half the
|
|
20090
|
+
* width or less and nothing in the section reads. A section that is not a grid of its own (ready-made, carried,
|
|
20091
|
+
* sideways) is never judged.
|
|
20092
|
+
*/
|
|
20093
|
+
function layoutListBare(s) {
|
|
20094
|
+
if (s.readyMade || s.carry || (s.track ?? 1) > 1 || !Array.isArray(s.layers))
|
|
20095
|
+
return null;
|
|
20096
|
+
const anyReads = s.layers.some(l => reads(l) && !!String(l.text ?? (l.items ?? []).join('')).trim());
|
|
20097
|
+
for (let li = 0; li < s.layers.length; li++) {
|
|
20098
|
+
const l = s.layers[li];
|
|
20099
|
+
if (!isList(l) || !placed(l))
|
|
20039
20100
|
continue;
|
|
20040
|
-
|
|
20041
|
-
|
|
20042
|
-
|
|
20101
|
+
const [d0, d1] = layoutListDrawnCols(l);
|
|
20102
|
+
const covered = Array.from({ length: GRID$1 }, (_, k) => {
|
|
20103
|
+
const centre = k + 1.5;
|
|
20104
|
+
if (centre > d0 && centre < d1)
|
|
20105
|
+
return true;
|
|
20106
|
+
return s.layers.some((o, oi) => oi !== li && placed(o) && overlaps$1(o.row, l.row) && centre > o.col[0] && centre < o.col[1]);
|
|
20107
|
+
});
|
|
20108
|
+
const start = covered.findIndex(c => c);
|
|
20109
|
+
if (start < 0)
|
|
20043
20110
|
continue;
|
|
20044
|
-
|
|
20045
|
-
|
|
20046
|
-
|
|
20047
|
-
|
|
20048
|
-
|
|
20049
|
-
|
|
20111
|
+
const end = GRID$1 - 1 - [...covered].reverse().findIndex(c => c);
|
|
20112
|
+
const startRun = start;
|
|
20113
|
+
const endRun = GRID$1 - 1 - end;
|
|
20114
|
+
const lopsided = Math.max(startRun, endRun) >= BARE_COLUMNS && Math.abs(startRun - endRun) >= BARE_SKEW;
|
|
20115
|
+
const alone = !anyReads && d1 - d0 <= NARROW_COLUMNS;
|
|
20116
|
+
if (lopsided || alone)
|
|
20117
|
+
return { layer: li, side: startRun >= endRun ? LayoutListSide.Start : LayoutListSide.End, reads: anyReads };
|
|
20050
20118
|
}
|
|
20051
|
-
return
|
|
20119
|
+
return null;
|
|
20052
20120
|
}
|
|
20053
|
-
|
|
20054
|
-
|
|
20055
|
-
|
|
20056
|
-
|
|
20057
|
-
|
|
20058
|
-
|
|
20059
|
-
|
|
20060
|
-
|
|
20061
|
-
|
|
20062
|
-
const
|
|
20063
|
-
|
|
20064
|
-
|
|
20065
|
-
|
|
20066
|
-
const
|
|
20067
|
-
const
|
|
20068
|
-
|
|
20069
|
-
|
|
20070
|
-
|
|
20071
|
-
|
|
20072
|
-
|
|
20073
|
-
|
|
20074
|
-
|
|
20075
|
-
|
|
20076
|
-
|
|
20077
|
-
|
|
20078
|
-
|
|
20079
|
-
|
|
20080
|
-
|
|
20081
|
-
|
|
20082
|
-
|
|
20083
|
-
|
|
20084
|
-
|
|
20085
|
-
|
|
20086
|
-
|
|
20087
|
-
|
|
20088
|
-
|
|
20089
|
-
|
|
20090
|
-
|
|
20091
|
-
//
|
|
20092
|
-
|
|
20093
|
-
|
|
20094
|
-
(
|
|
20095
|
-
|
|
20096
|
-
|
|
20097
|
-
|
|
20098
|
-
|
|
20099
|
-
|
|
20100
|
-
|
|
20101
|
-
|
|
20102
|
-
|
|
20103
|
-
|
|
20104
|
-
|
|
20105
|
-
|
|
20106
|
-
|
|
20107
|
-
|
|
20108
|
-
|
|
20109
|
-
const
|
|
20110
|
-
const
|
|
20111
|
-
|
|
20112
|
-
|
|
20113
|
-
* so the layout request is asked again with it. `free` (and an unknown word) asks nothing. A photo ground is free in
|
|
20114
|
-
* `alternate`, `chapters` and `tail`. Pure.
|
|
20115
|
-
*/
|
|
20116
|
-
function rhythmIssues(sections, rhythm, ctx) {
|
|
20117
|
-
const issues = [];
|
|
20118
|
-
const add = (path, message) => issues.push({ code: LayoutIssueCode.Structure, path, message });
|
|
20119
|
-
const tones = sections.map(s => ctx.toneOf(s));
|
|
20120
|
-
const R = B.rhythms;
|
|
20121
|
-
switch (rhythm) {
|
|
20122
|
-
case BodyRhythm.Alternate:
|
|
20123
|
-
for (let i = 1; i < sections.length; i++) {
|
|
20124
|
-
if (tones[i] !== GroundTone.Photo && tones[i] === tones[i - 1]) {
|
|
20125
|
-
add(`sections[${i}].ground`, `grounds alternate dark and light — "${sections[i].id}" is ${tones[i]} like the section before it`);
|
|
20126
|
-
}
|
|
20127
|
-
}
|
|
20128
|
-
break;
|
|
20129
|
-
case BodyRhythm.LoudQuiet: {
|
|
20130
|
-
const { pairs, quietCols } = R['loud-quiet'];
|
|
20131
|
-
let found = 0;
|
|
20132
|
-
for (let i = 1; i < sections.length; i++)
|
|
20133
|
-
if (pictured(sections[i - 1]) && quiet(sections[i], quietCols))
|
|
20134
|
-
found++;
|
|
20135
|
-
if (found < pairs) {
|
|
20136
|
-
add('sections', `${found} picture section(s) followed by a quiet one — the loud-quiet rhythm asks at least ${pairs}: a picture section, then words only, centred, within ${quietCols} of the 12 columns`);
|
|
20137
|
-
}
|
|
20138
|
-
break;
|
|
20139
|
-
}
|
|
20140
|
-
case BodyRhythm.Chapters: {
|
|
20141
|
-
const at = R.chapters.changesAt;
|
|
20142
|
-
let last = null;
|
|
20143
|
-
sections.forEach((s, i) => {
|
|
20144
|
-
const tone = tones[i];
|
|
20145
|
-
if (tone === GroundTone.Photo)
|
|
20146
|
-
return;
|
|
20147
|
-
if (last !== null && tone !== last && !startsChapter(s, at)) {
|
|
20148
|
-
add(`sections[${i}].ground`, `the ground changes only where a chapter starts (an inhale or the signature) — "${s.id}" changes it`);
|
|
20149
|
-
}
|
|
20150
|
-
last = tone;
|
|
20151
|
-
});
|
|
20152
|
-
break;
|
|
20153
|
-
}
|
|
20154
|
-
case BodyRhythm.Tail: {
|
|
20155
|
-
if (!ctx.footerTone || ctx.footerTone === GroundTone.Photo)
|
|
20156
|
-
break;
|
|
20157
|
-
const from = Math.max(0, sections.length - R.tail.last);
|
|
20158
|
-
for (let i = from; i < sections.length; i++) {
|
|
20159
|
-
if (tones[i] !== GroundTone.Photo && tones[i] !== ctx.footerTone) {
|
|
20160
|
-
add(`sections[${i}].ground`, `the last ${R.tail.last} sections wear the footer's ${ctx.footerTone} ground — "${sections[i].id}" is ${tones[i]}`);
|
|
20161
|
-
}
|
|
20162
|
-
}
|
|
20163
|
-
break;
|
|
20164
|
-
}
|
|
20165
|
-
}
|
|
20166
|
-
return issues;
|
|
20121
|
+
/**
|
|
20122
|
+
* The pairing (LI7): the list takes six columns on its own side, the section's words — every word, heading, line and
|
|
20123
|
+
* button, in reading order — the other five, stacked in the middle of the rows the list and its words spanned, each as
|
|
20124
|
+
* tall as its words need. A section where nothing reads gets the list's own name as its heading (`heading` — the plan's
|
|
20125
|
+
* name for the list, never a word made up). On a phone the words come first, then the list, then the rest as they were.
|
|
20126
|
+
* Null when it cannot: another layer (a photo, a shape) stands where the words or the list would go, no words and no
|
|
20127
|
+
* name, or more words than rows.
|
|
20128
|
+
*/
|
|
20129
|
+
function layoutListPair(s, li, side, heading) {
|
|
20130
|
+
const list = s.layers?.[li];
|
|
20131
|
+
if (!list || !isList(list) || !placed(list))
|
|
20132
|
+
return null;
|
|
20133
|
+
const next = structuredClone(s);
|
|
20134
|
+
const name = String(heading ?? '').trim();
|
|
20135
|
+
const anyReads = next.layers.some(l => reads(l) && !!String(l.text ?? (l.items ?? []).join('')).trim());
|
|
20136
|
+
// What the words spanned before (the list's rows and theirs) is the pairing's height; a heading it writes has no place yet.
|
|
20137
|
+
const before = next.layers.filter((l, i) => i !== li && isWords(l) && placed(l));
|
|
20138
|
+
const r0 = Math.min(list.row[0], ...before.map(l => l.row[0]));
|
|
20139
|
+
const r1 = Math.max(list.row[1], ...before.map(l => l.row[1]));
|
|
20140
|
+
const rows = r1 - r0;
|
|
20141
|
+
const added = anyReads ? -1 : next.layers.length;
|
|
20142
|
+
if (!anyReads) {
|
|
20143
|
+
if (!name)
|
|
20144
|
+
return null;
|
|
20145
|
+
next.layers.push({ kind: LayoutLayerKind.Heading, role: LayoutRole.Support, text: name, size: PAIR_HEADING_SIZE, col: [1, 2], row: [r0, r0 + 1] });
|
|
20146
|
+
}
|
|
20147
|
+
const words = next.layers
|
|
20148
|
+
.map((l, i) => ({ l, i }))
|
|
20149
|
+
.filter(({ l, i }) => i !== li && isWords(l) && placed(l))
|
|
20150
|
+
// The list's name it writes leads; the rest in reading order.
|
|
20151
|
+
.sort((a, b) => Number(b.i === added) - Number(a.i === added) || a.l.row[0] - b.l.row[0] || a.l.col[0] - b.l.col[0] || a.i - b.i);
|
|
20152
|
+
if (words.length > rows)
|
|
20153
|
+
return null;
|
|
20154
|
+
const wordsCol = PAIR_WORDS[side];
|
|
20155
|
+
const listCol = PAIR_LIST[side];
|
|
20156
|
+
const others = next.layers.filter((l, i) => i !== li && !isWords(l) && placed(l));
|
|
20157
|
+
if (others.some(o => overlaps$1(o.row, [r0, r1]) && (overlaps$1(o.col, wordsCol) || overlaps$1(o.col, listCol))))
|
|
20158
|
+
return null;
|
|
20159
|
+
// Each word as tall as its words need (one row at least), the block in the middle of the span.
|
|
20160
|
+
const heights = words.map(() => 1);
|
|
20161
|
+
const fits = (k) => layoutTextFits({ ...words[k].l, col: wordsCol, row: [0, heights[k]] }, next);
|
|
20162
|
+
for (let grow = true; grow && heights.reduce((a, b) => a + b, 0) < rows;) {
|
|
20163
|
+
const k = words.findIndex((_, j) => !fits(j));
|
|
20164
|
+
grow = k >= 0;
|
|
20165
|
+
if (grow)
|
|
20166
|
+
heights[k]++;
|
|
20167
|
+
}
|
|
20168
|
+
let at = r0 + Math.floor((rows - heights.reduce((a, b) => a + b, 0)) / 2);
|
|
20169
|
+
words.forEach((w, k) => {
|
|
20170
|
+
w.l.col = [...wordsCol];
|
|
20171
|
+
w.l.row = [at, at + heights[k]];
|
|
20172
|
+
at += heights[k];
|
|
20173
|
+
});
|
|
20174
|
+
next.layers[li].col = [...listCol];
|
|
20175
|
+
next.layers[li].row = [r0, r1];
|
|
20176
|
+
// A phone reads the words, then the list, then the rest in the order it had.
|
|
20177
|
+
const was = Array.isArray(s.phone) && s.phone.length === s.layers.length ? s.phone : s.layers.map((_, i) => i);
|
|
20178
|
+
const first = [...words.map(w => w.i), li];
|
|
20179
|
+
next.phone = [...first, ...was.filter(i => !first.includes(i)), ...next.layers.map((_, i) => i).filter(i => !first.includes(i) && !was.includes(i))];
|
|
20180
|
+
return next;
|
|
20167
20181
|
}
|
|
20168
20182
|
|
|
20169
20183
|
/**
|
|
20170
|
-
*
|
|
20171
|
-
*
|
|
20172
|
-
*
|
|
20173
|
-
*
|
|
20174
|
-
|
|
20175
|
-
|
|
20176
|
-
|
|
20177
|
-
|
|
20178
|
-
*
|
|
20179
|
-
*
|
|
20180
|
-
*
|
|
20184
|
+
* THE BODY (award-ingredients-plan §3.4, AW6; board award-body): how a site's sections meet (the seam), how their grounds
|
|
20185
|
+
* follow one another (the rhythm), the texture laid on a ground (AW7) and the extra kinds of section a site may hold. Every
|
|
20186
|
+
* word, its meaning in both languages, whether the product draws it, its tier, each seam's geometry and each rhythm's rule
|
|
20187
|
+
* live in ONE table, the contract's `site.layout.body` (layout.mjs `BODY`). This module reads it, mends a mix the site
|
|
20188
|
+
* cannot carry (`checkBody`) and judges a composed page's grounds against its rhythm (`rhythmIssues`, run by
|
|
20189
|
+
* `checkLayout`). Pure.
|
|
20190
|
+
*
|
|
20191
|
+
* A seam is PAINTED, never laid out (`rules.seamPaintsOnly`): the LOWER section's ground rises into the one above it as a
|
|
20192
|
+
* shape `depth` px tall, under the words; the upper section keeps its words clear of it (`rules.seamKeepsClear`). `rounded`
|
|
20193
|
+
* instead lays the upper section over the next with its lower corners at `radius`. A Hebrew page mirrors an asymmetric
|
|
20194
|
+
* shape (`mirrors`).
|
|
20181
20195
|
*/
|
|
20182
|
-
const
|
|
20183
|
-
|
|
20184
|
-
|
|
20185
|
-
|
|
20186
|
-
|
|
20187
|
-
|
|
20188
|
-
|
|
20189
|
-
|
|
20190
|
-
|
|
20191
|
-
|
|
20192
|
-
|
|
20193
|
-
|
|
20194
|
-
|
|
20195
|
-
|
|
20196
|
-
|
|
20197
|
-
|
|
20198
|
-
|
|
20199
|
-
|
|
20200
|
-
|
|
20201
|
-
|
|
20202
|
-
|
|
20203
|
-
|
|
20204
|
-
|
|
20205
|
-
|
|
20206
|
-
|
|
20207
|
-
|
|
20208
|
-
function
|
|
20209
|
-
|
|
20210
|
-
|
|
20196
|
+
const B = SPEC_SITE_LAYOUT.body;
|
|
20197
|
+
/** The ingredients, by the contract's keys (held equal to it by body-mix.spec). */
|
|
20198
|
+
var BodyIngredient;
|
|
20199
|
+
(function (BodyIngredient) {
|
|
20200
|
+
BodyIngredient["Seam"] = "seam";
|
|
20201
|
+
BodyIngredient["Rhythm"] = "rhythm";
|
|
20202
|
+
BodyIngredient["Texture"] = "texture";
|
|
20203
|
+
BodyIngredient["Sections"] = "sections";
|
|
20204
|
+
})(BodyIngredient || (BodyIngredient = {}));
|
|
20205
|
+
var BodySeam;
|
|
20206
|
+
(function (BodySeam) {
|
|
20207
|
+
BodySeam["Straight"] = "straight";
|
|
20208
|
+
BodySeam["Wave"] = "wave";
|
|
20209
|
+
BodySeam["Drip"] = "drip";
|
|
20210
|
+
BodySeam["Torn"] = "torn";
|
|
20211
|
+
BodySeam["Rounded"] = "rounded";
|
|
20212
|
+
})(BodySeam || (BodySeam = {}));
|
|
20213
|
+
var BodyRhythm;
|
|
20214
|
+
(function (BodyRhythm) {
|
|
20215
|
+
BodyRhythm["Free"] = "free";
|
|
20216
|
+
BodyRhythm["Alternate"] = "alternate";
|
|
20217
|
+
BodyRhythm["LoudQuiet"] = "loud-quiet";
|
|
20218
|
+
BodyRhythm["Chapters"] = "chapters";
|
|
20219
|
+
BodyRhythm["Tail"] = "tail";
|
|
20220
|
+
})(BodyRhythm || (BodyRhythm = {}));
|
|
20221
|
+
var BodyTexture;
|
|
20222
|
+
(function (BodyTexture) {
|
|
20223
|
+
BodyTexture["None"] = "none";
|
|
20224
|
+
BodyTexture["Pattern"] = "pattern";
|
|
20225
|
+
BodyTexture["Light"] = "light";
|
|
20226
|
+
BodyTexture["Material"] = "material";
|
|
20227
|
+
BodyTexture["Grain"] = "grain";
|
|
20228
|
+
BodyTexture["Lanes"] = "lanes";
|
|
20229
|
+
})(BodyTexture || (BodyTexture = {}));
|
|
20230
|
+
var BodySectionWord;
|
|
20231
|
+
(function (BodySectionWord) {
|
|
20232
|
+
BodySectionWord["InsetCard"] = "inset-card";
|
|
20233
|
+
BodySectionWord["StickyTitle"] = "sticky-title";
|
|
20234
|
+
BodySectionWord["TabsNav"] = "tabs-nav";
|
|
20235
|
+
BodySectionWord["Promises"] = "promises";
|
|
20236
|
+
BodySectionWord["Table"] = "table";
|
|
20237
|
+
BodySectionWord["Timeline"] = "timeline";
|
|
20238
|
+
BodySectionWord["Hotspots"] = "hotspots";
|
|
20239
|
+
})(BodySectionWord || (BodySectionWord = {}));
|
|
20240
|
+
class BodyMixError extends Error {
|
|
20211
20241
|
}
|
|
20212
|
-
|
|
20213
|
-
|
|
20214
|
-
|
|
20215
|
-
|
|
20216
|
-
|
|
20217
|
-
|
|
20218
|
-
|
|
20219
|
-
|
|
20220
|
-
|
|
20221
|
-
|
|
20242
|
+
const HEBREW$3 = 'he';
|
|
20243
|
+
const INGREDIENTS$3 = B.ingredients;
|
|
20244
|
+
const MANY$2 = new Set(B.many);
|
|
20245
|
+
const WAITS$3 = B.waits;
|
|
20246
|
+
const ORDER$1 = Object.values(BodyIngredient);
|
|
20247
|
+
const isMany$1 = (k) => MANY$2.has(k);
|
|
20248
|
+
const listOf$2 = (v) => (v === undefined ? [] : Array.isArray(v) ? [...v] : [v]);
|
|
20249
|
+
const ordered$1 = (k, words) => bodyWords(k).filter(w => words.includes(w));
|
|
20250
|
+
/** The words an ingredient may take, in the table's order. */
|
|
20251
|
+
function bodyWords(ingredient) {
|
|
20252
|
+
return INGREDIENTS$3[ingredient] ?? [];
|
|
20222
20253
|
}
|
|
20223
|
-
/**
|
|
20224
|
-
function
|
|
20225
|
-
const
|
|
20226
|
-
return
|
|
20254
|
+
/** What a word means — in Hebrew when the builder speaks it. */
|
|
20255
|
+
function bodyMeaning(ingredient, word, locale) {
|
|
20256
|
+
const key = `${ingredient}.${word}`;
|
|
20257
|
+
return (locale === HEBREW$3 ? B.meaningsHe?.[key] : undefined) ?? B.meanings[key] ?? word;
|
|
20227
20258
|
}
|
|
20228
|
-
/**
|
|
20229
|
-
|
|
20230
|
-
|
|
20231
|
-
*/
|
|
20232
|
-
function isLayoutRule(s, li) {
|
|
20233
|
-
const l = s.layers?.[li];
|
|
20234
|
-
return !!l && l.kind === LayoutLayerKind.Shape && span$1(l.row) === 1 && !wordsOver(s, li);
|
|
20259
|
+
/** Whether the product draws a word today (a waiting word is listed with its phase, drawn as its stand-in). */
|
|
20260
|
+
function bodyWordDrawn(ingredient, word) {
|
|
20261
|
+
return bodyWords(ingredient).includes(word) && !WAITS$3[`${ingredient}.${word}`];
|
|
20235
20262
|
}
|
|
20236
|
-
/**
|
|
20237
|
-
function
|
|
20238
|
-
|
|
20239
|
-
const beside = (o) => isText$1(o) && (o.col?.[0] ?? 0) < (l.col?.[1] ?? 0) && (l.col?.[0] ?? 0) < (o.col?.[1] ?? 0);
|
|
20240
|
-
if (s.layers.some((o, oi) => oi !== li && beside(o) && o.row?.[1] === l.row[0]))
|
|
20241
|
-
return 'start';
|
|
20242
|
-
if (s.layers.some((o, oi) => oi !== li && beside(o) && o.row?.[0] === l.row[1]))
|
|
20243
|
-
return 'end';
|
|
20244
|
-
return 'center';
|
|
20263
|
+
/** The phase a waiting word waits for, or null. */
|
|
20264
|
+
function bodyWordWaits(ingredient, word) {
|
|
20265
|
+
return WAITS$3[`${ingredient}.${word}`]?.phase ?? null;
|
|
20245
20266
|
}
|
|
20246
|
-
/**
|
|
20247
|
-
|
|
20248
|
-
|
|
20249
|
-
*/
|
|
20250
|
-
function layoutShapeHasPurpose(s, li) {
|
|
20251
|
-
const l = s.layers?.[li];
|
|
20252
|
-
if (!l || l.kind !== LayoutLayerKind.Shape)
|
|
20253
|
-
return true;
|
|
20254
|
-
if (isLayoutRule(s, li) || wordsOver(s, li))
|
|
20255
|
-
return true;
|
|
20256
|
-
if (span$1(l.col) >= LIM$1.bandColumns || (l.bleed && l.bleed !== 'none'))
|
|
20257
|
-
return true;
|
|
20258
|
-
if (s.layers.some((o, oi) => oi !== li && isPictured$1(o) && meets(o, l)))
|
|
20259
|
-
return true;
|
|
20260
|
-
return !!l.motion?.length || (!!l.depth && l.depth !== LayoutDepth.Mid);
|
|
20267
|
+
/** AW-D23: a word every plan wears (`all`) or one the award tier alone is offered (`pro`). */
|
|
20268
|
+
function bodyWordTier(ingredient, word) {
|
|
20269
|
+
return B.tiers[`${ingredient}.${word}`] === 'pro' ? 'pro' : 'all';
|
|
20261
20270
|
}
|
|
20262
|
-
/**
|
|
20263
|
-
function
|
|
20264
|
-
|
|
20265
|
-
return false;
|
|
20266
|
-
return !(s.layers ?? []).some(l => !!l.motion?.length || !!l.kinetic || (l.kind === LayoutLayerKind.Gallery && !!l.gallery?.scroll));
|
|
20271
|
+
/** May a build at `tier` wear this word? */
|
|
20272
|
+
function bodyWordOffered(ingredient, word, tier) {
|
|
20273
|
+
return bodyWordTier(ingredient, word) === 'all' || tier === GenerationTier.Award;
|
|
20267
20274
|
}
|
|
20268
|
-
/**
|
|
20269
|
-
*
|
|
20270
|
-
|
|
20271
|
-
|
|
20272
|
-
|
|
20273
|
-
|
|
20274
|
-
|
|
20275
|
-
|
|
20276
|
-
|
|
20277
|
-
|
|
20278
|
-
|
|
20279
|
-
|
|
20275
|
+
/** A whole mix from part of one: what is not named is the default (straight, free, no texture). Refuses a word the table
|
|
20276
|
+
* lacks. */
|
|
20277
|
+
function bodyMix(partial = {}) {
|
|
20278
|
+
const mix = {
|
|
20279
|
+
seam: B.defaults['seam'], rhythm: B.defaults['rhythm'], texture: B.defaults['texture'],
|
|
20280
|
+
sections: listOf$2(B.defaults['sections']),
|
|
20281
|
+
};
|
|
20282
|
+
for (const [k, v] of Object.entries(partial)) {
|
|
20283
|
+
if (v === undefined)
|
|
20284
|
+
continue;
|
|
20285
|
+
if (!INGREDIENTS$3[k])
|
|
20286
|
+
throw new BodyMixError(`no body ingredient "${k}"`);
|
|
20287
|
+
const words = listOf$2(v);
|
|
20288
|
+
for (const w of words)
|
|
20289
|
+
if (!INGREDIENTS$3[k].includes(w))
|
|
20290
|
+
throw new BodyMixError(`a body's ${k} cannot be "${w}" (${INGREDIENTS$3[k].join(' · ')})`);
|
|
20291
|
+
if (isMany$1(k))
|
|
20292
|
+
mix[k] = ordered$1(k, words);
|
|
20293
|
+
else if (words.length !== 1)
|
|
20294
|
+
throw new BodyMixError(`a body has one ${k}`);
|
|
20295
|
+
else
|
|
20296
|
+
mix[k] = words[0];
|
|
20297
|
+
}
|
|
20298
|
+
return mix;
|
|
20280
20299
|
}
|
|
20281
|
-
/** A
|
|
20282
|
-
|
|
20283
|
-
|
|
20284
|
-
const area = (l) => span$1(l.col) * span$1(l.row);
|
|
20285
|
-
const found = (s.layers ?? []).map((l, li) => ({ l, li }))
|
|
20286
|
-
.filter(({ l }) => l.kind === LayoutLayerKind.Photo && l.role !== LayoutRole.Decoration && Array.isArray(l.col) && Array.isArray(l.row))
|
|
20287
|
-
.sort((a, b) => area(b.l) - area(a.l) || a.li - b.li);
|
|
20288
|
-
return found[0]?.li ?? -1;
|
|
20300
|
+
/** A mix on the wire: one `<ingredient>:<word>` per word, in the table's order. */
|
|
20301
|
+
function bodyMixWords(mix) {
|
|
20302
|
+
return ORDER$1.flatMap(k => listOf$2(mix[k]).map(w => `${k}:${w}`));
|
|
20289
20303
|
}
|
|
20290
|
-
/** The
|
|
20291
|
-
|
|
20292
|
-
|
|
20293
|
-
|
|
20294
|
-
const
|
|
20295
|
-
|
|
20296
|
-
|
|
20297
|
-
|
|
20298
|
-
|
|
20299
|
-
|
|
20300
|
-
|
|
20301
|
-
|
|
20302
|
-
const mid = (t + b) / 2;
|
|
20303
|
-
if (l.kind === LayoutLayerKind.Shape && isLayoutRule(s, li)) {
|
|
20304
|
-
const edge = layoutRuleEdge(s, li);
|
|
20305
|
-
const at = edge === 'start' ? t : edge === 'end' ? b : mid;
|
|
20306
|
-
return [at, at];
|
|
20304
|
+
/** The words back into a mix. Refuses an unknown word and two words for a one-word ingredient. */
|
|
20305
|
+
function bodyMixFromWords(words) {
|
|
20306
|
+
const partial = {};
|
|
20307
|
+
for (const pair of words) {
|
|
20308
|
+
const [k, w] = String(pair).split(':');
|
|
20309
|
+
if (!INGREDIENTS$3[k] || !w)
|
|
20310
|
+
throw new BodyMixError(`"${pair}" is no body word (<ingredient>:<word>)`);
|
|
20311
|
+
const got = (partial[k] ??= []);
|
|
20312
|
+
if (!isMany$1(k) && got.length && got[0] !== w)
|
|
20313
|
+
throw new BodyMixError(`a body has one ${k} ("${got[0]}" and "${w}")`);
|
|
20314
|
+
if (!got.includes(w))
|
|
20315
|
+
got.push(w);
|
|
20307
20316
|
}
|
|
20308
|
-
|
|
20309
|
-
|
|
20310
|
-
|
|
20311
|
-
|
|
20312
|
-
|
|
20313
|
-
|
|
20314
|
-
|
|
20315
|
-
|
|
20316
|
-
|
|
20317
|
-
|
|
20317
|
+
return bodyMix(Object.fromEntries(Object.entries(partial).map(([k, v]) => [k, isMany$1(k) ? v : v[0]])));
|
|
20318
|
+
}
|
|
20319
|
+
/** A site plan's body (AW6): its `mixes.body` as a mix, or null — absent or empty, straight seams and free grounds. */
|
|
20320
|
+
function bodyMixOfPlan(plan) {
|
|
20321
|
+
const words = plan.mixes?.body;
|
|
20322
|
+
return words?.length ? bodyMixFromWords(words) : null;
|
|
20323
|
+
}
|
|
20324
|
+
/** The mix the product DRAWS today: a waiting word becomes its stand-in (a waiting kind of section is left out), each said. */
|
|
20325
|
+
function drawnBodyMix(mix) {
|
|
20326
|
+
const drawn = { ...mix, sections: [...mix.sections] };
|
|
20327
|
+
const gaps = [];
|
|
20328
|
+
for (const k of ORDER$1) {
|
|
20329
|
+
if (isMany$1(k)) {
|
|
20330
|
+
drawn[k] = mix[k].filter(w => {
|
|
20331
|
+
const wait = WAITS$3[`${k}.${w}`];
|
|
20332
|
+
if (wait)
|
|
20333
|
+
gaps.push({ ingredient: k, word: w, phase: wait.phase, drawnAs: wait.drawnAs });
|
|
20334
|
+
return !wait;
|
|
20335
|
+
});
|
|
20336
|
+
continue;
|
|
20337
|
+
}
|
|
20338
|
+
const word = mix[k];
|
|
20339
|
+
const wait = WAITS$3[`${k}.${word}`];
|
|
20340
|
+
if (!wait)
|
|
20341
|
+
continue;
|
|
20342
|
+
gaps.push({ ingredient: k, word, phase: wait.phase, drawnAs: wait.drawnAs });
|
|
20343
|
+
drawn[k] = wait.drawnAs ?? B.defaults[k];
|
|
20344
|
+
}
|
|
20345
|
+
return { drawn, gaps };
|
|
20346
|
+
}
|
|
20347
|
+
/** The fingerprint's prefix for a body. */
|
|
20348
|
+
const BODY_TOKEN = 'body';
|
|
20349
|
+
/** A body as the fingerprint sees it: `body:<seam>/<rhythm>/<texture>`. */
|
|
20350
|
+
function bodyTokenOf(mix) {
|
|
20351
|
+
return `${BODY_TOKEN}:${B.fingerprint.map(k => mix[k]).join('/')}`;
|
|
20352
|
+
}
|
|
20353
|
+
/** Every `<ingredient>:<word>` the generator's wire may carry at `tier`: drawn words only, the award tier's only there. */
|
|
20354
|
+
function bodyWireWords(tier = GenerationTier.Basic) {
|
|
20355
|
+
return ORDER$1.flatMap(k => bodyWords(k).filter(w => bodyWordDrawn(k, w) && bodyWordOffered(k, w, tier)).map(w => `${k}:${w}`));
|
|
20356
|
+
}
|
|
20357
|
+
/** How a seam is drawn at a width and in a direction. An unknown word is the straight seam. */
|
|
20358
|
+
function bodySeamShape(word, opts = {}) {
|
|
20359
|
+
const g = B.seams[word] ?? B.seams[BodySeam.Straight];
|
|
20360
|
+
const at = opts.phone ? 1 : 0;
|
|
20361
|
+
return { depth: g.depth[at], radius: g.radius?.[at] ?? 0, mirrored: !!opts.rtl && g.mirrors };
|
|
20362
|
+
}
|
|
20363
|
+
/** The class a section wears for its seam (`iox-seam-<word>`); the straight seam wears none. design-core's
|
|
20364
|
+
* `sectionEdgeClass` is the one writer (the renderers' node-class helper); this reads the table's words through it. */
|
|
20365
|
+
function bodySeamClass(word) {
|
|
20366
|
+
return word && B.seams[word] ? sectionEdgeClass(word) : null;
|
|
20367
|
+
}
|
|
20368
|
+
// ── The body worn by a composed page (H4: the composer stamps what the palette's Section edge writes) ─────────────────
|
|
20369
|
+
const SCENE_ROLE$1 = 'scene';
|
|
20370
|
+
function holdsScene(node) {
|
|
20371
|
+
let found = false;
|
|
20372
|
+
walkSerialized([node], n => { if (n.role === SCENE_ROLE$1)
|
|
20373
|
+
found = true; });
|
|
20374
|
+
return found;
|
|
20375
|
+
}
|
|
20376
|
+
/** Split a CSS shorthand at its top-level spaces (a `calc()` / `var()` stays whole). */
|
|
20377
|
+
function shorthandParts(value) {
|
|
20378
|
+
const out = [];
|
|
20379
|
+
let depth = 0;
|
|
20380
|
+
let cur = '';
|
|
20381
|
+
for (const ch of value.trim()) {
|
|
20382
|
+
if (ch === '(')
|
|
20383
|
+
depth++;
|
|
20384
|
+
if (ch === ')')
|
|
20385
|
+
depth--;
|
|
20386
|
+
if (/\s/.test(ch) && depth === 0) {
|
|
20387
|
+
if (cur)
|
|
20388
|
+
out.push(cur);
|
|
20389
|
+
cur = '';
|
|
20390
|
+
continue;
|
|
20391
|
+
}
|
|
20392
|
+
cur += ch;
|
|
20318
20393
|
}
|
|
20319
|
-
|
|
20320
|
-
|
|
20394
|
+
if (cur)
|
|
20395
|
+
out.push(cur);
|
|
20396
|
+
return out;
|
|
20397
|
+
}
|
|
20398
|
+
/** The padding with its bottom at least `px` (`rules.seamKeepsClear`): `a b max(c, 48px) d`, a px value raised in place. */
|
|
20399
|
+
function paddingKeepingClear(padding, px) {
|
|
20400
|
+
const parts = shorthandParts(typeof padding === 'string' && padding.trim() ? padding : '0px');
|
|
20401
|
+
const [top, right = top, bottom = top, left = right] = parts;
|
|
20402
|
+
const m = /^(-?\d*\.?\d+)px$/.exec(bottom);
|
|
20403
|
+
const kept = m ? (Number(m[1]) >= px ? bottom : `${px}px`) : (bottom.startsWith('max(') && bottom.endsWith(`, ${px}px)`) ? bottom : `max(${bottom}, ${px}px)`);
|
|
20404
|
+
return `${top} ${right} ${kept} ${left}`;
|
|
20321
20405
|
}
|
|
20322
20406
|
/**
|
|
20323
|
-
*
|
|
20324
|
-
*
|
|
20325
|
-
*
|
|
20407
|
+
* A composed page wearing the body mix (AW6, H4): the plan's seam on every Section whose ground differs from the one
|
|
20408
|
+
* above it (never the first, a Scene or a section holding one — AW6-D11; two equal grounds would draw nothing), the
|
|
20409
|
+
* upper's bottom space raised to the seam's depth so its words stay clear (R-H17); `inset-card` makes every later
|
|
20410
|
+
* section that wears a scheme a rounded card on the page's ground. A mix with nothing drawn returns the layout as it was
|
|
20411
|
+
* (the same array — byte-identical, R-H4). Pure: touched nodes are copied.
|
|
20326
20412
|
*/
|
|
20327
|
-
function
|
|
20328
|
-
|
|
20329
|
-
|
|
20330
|
-
|
|
20331
|
-
|
|
20332
|
-
|
|
20333
|
-
|
|
20334
|
-
|
|
20335
|
-
|
|
20336
|
-
|
|
20337
|
-
|
|
20338
|
-
|
|
20339
|
-
|
|
20340
|
-
|
|
20341
|
-
|
|
20342
|
-
|
|
20343
|
-
|
|
20413
|
+
function wearBodyMix(layout, mix) {
|
|
20414
|
+
if (!mix)
|
|
20415
|
+
return layout;
|
|
20416
|
+
const drawn = drawnBodyMix(mix).drawn;
|
|
20417
|
+
const cards = drawn.sections.includes(BodySectionWord.InsetCard);
|
|
20418
|
+
const seam = drawn.seam;
|
|
20419
|
+
if (seam === BodySeam.Straight && !cards)
|
|
20420
|
+
return layout;
|
|
20421
|
+
const out = layout.map(n => n);
|
|
20422
|
+
const depth = bodySeamShape(seam).depth;
|
|
20423
|
+
for (let i = 1; i < out.length; i++) {
|
|
20424
|
+
const node = out[i];
|
|
20425
|
+
if (!SECTION_EDGE_TYPES.includes(node.type) || holdsScene(node))
|
|
20426
|
+
continue;
|
|
20427
|
+
const scheme = colorSchemeOf(node) ?? 'default';
|
|
20428
|
+
const above = colorSchemeOf(out[i - 1]) ?? 'default';
|
|
20429
|
+
const copy = { ...node, props: { ...(node.props ?? {}) }, styleProps: { ...(node.styleProps ?? {}) } };
|
|
20430
|
+
if (cards && scheme !== 'default') {
|
|
20431
|
+
const plan = planSectionShape(SectionShape.Card, copy.styleProps);
|
|
20432
|
+
setSectionShape(copy, SectionShape.Card);
|
|
20433
|
+
Object.assign(copy.styleProps, plan?.styles ?? {});
|
|
20434
|
+
out[i] = copy;
|
|
20435
|
+
continue;
|
|
20436
|
+
}
|
|
20437
|
+
// A card stands inset on the page's ground: the section under it meets that ground, never the card (D11).
|
|
20438
|
+
if (seam === BodySeam.Straight || scheme === above || holdsScene(out[i - 1]) || sectionShapeOf(out[i - 1]) === SectionShape.Card)
|
|
20439
|
+
continue;
|
|
20440
|
+
setSectionEdge(copy, seam);
|
|
20441
|
+
out[i] = copy;
|
|
20442
|
+
if (depth > 0) {
|
|
20443
|
+
const upper = out[i - 1];
|
|
20444
|
+
out[i - 1] = { ...upper, styleProps: { ...(upper.styleProps ?? {}), padding: paddingKeepingClear(upper.styleProps?.['padding'], depth) } };
|
|
20344
20445
|
}
|
|
20345
|
-
top += height;
|
|
20346
|
-
}
|
|
20347
|
-
ink.sort((a, b) => a[0] - b[0]);
|
|
20348
|
-
const voids = [];
|
|
20349
|
-
const least = LIM$1.voidScreen * LAYOUT_CHECK_VIEWPORT.height;
|
|
20350
|
-
let end = 0;
|
|
20351
|
-
const push = (from, to) => {
|
|
20352
|
-
if (to - from <= least)
|
|
20353
|
-
return;
|
|
20354
|
-
const within = bounds.map((b, i) => (b[0] < to && from < b[1] ? i : -1)).filter(i => i >= 0);
|
|
20355
|
-
voids.push({ from: Math.round(from), to: Math.round(to), sections: within });
|
|
20356
|
-
};
|
|
20357
|
-
for (const [a, b] of ink) {
|
|
20358
|
-
push(end, a);
|
|
20359
|
-
end = Math.max(end, b);
|
|
20360
20446
|
}
|
|
20361
|
-
|
|
20362
|
-
return voids;
|
|
20447
|
+
return out;
|
|
20363
20448
|
}
|
|
20364
|
-
|
|
20365
|
-
|
|
20366
|
-
|
|
20367
|
-
|
|
20368
|
-
|
|
20369
|
-
|
|
20370
|
-
|
|
20371
|
-
|
|
20372
|
-
|
|
20373
|
-
|
|
20374
|
-
|
|
20375
|
-
|
|
20449
|
+
// ── The check: a mix judged against the site, mended where the site cannot carry it, each mend said ──────────────────
|
|
20450
|
+
var BodyRepairCode;
|
|
20451
|
+
(function (BodyRepairCode) {
|
|
20452
|
+
/** A word the award tier alone wears, on a site built below it. */
|
|
20453
|
+
BodyRepairCode["ProOnly"] = "pro-only";
|
|
20454
|
+
/** A trust or care business (harness `MOTION_CEILINGS.subtle`) never wears a torn or dripping edge: a soft hill. */
|
|
20455
|
+
BodyRepairCode["CalmSeam"] = "calm-seam";
|
|
20456
|
+
})(BodyRepairCode || (BodyRepairCode = {}));
|
|
20457
|
+
/** The seams a calm business never wears (award plan H1), and the one it wears instead. */
|
|
20458
|
+
const LOUD_SEAMS = new Set([BodySeam.Torn, BodySeam.Drip]);
|
|
20459
|
+
const CALM_SEAM = BodySeam.Wave;
|
|
20460
|
+
/** The ONE judge of a body mix against the site. Judges the mix as DRAWN (`drawnBodyMix` first). Never throws. Pure. */
|
|
20461
|
+
function checkBody(mix, ctx = {}) {
|
|
20462
|
+
const m = { ...mix, sections: [...mix.sections] };
|
|
20463
|
+
const repairs = [];
|
|
20464
|
+
if (ctx.tier && ctx.tier !== GenerationTier.Award) {
|
|
20465
|
+
for (const k of ORDER$1) {
|
|
20466
|
+
if (isMany$1(k)) {
|
|
20467
|
+
const kept = m[k].filter(w => bodyWordTier(k, w) === 'all');
|
|
20468
|
+
for (const w of m[k].filter(x => !kept.includes(x)))
|
|
20469
|
+
repairs.push({ code: BodyRepairCode.ProOnly, said: `"${bodyMeaning(k, w)}" comes with the award plan: left out` });
|
|
20470
|
+
m[k] = kept;
|
|
20471
|
+
continue;
|
|
20472
|
+
}
|
|
20473
|
+
const word = m[k];
|
|
20474
|
+
if (bodyWordTier(k, word) === 'all')
|
|
20475
|
+
continue;
|
|
20476
|
+
const standIn = B.defaults[k];
|
|
20477
|
+
m[k] = standIn;
|
|
20478
|
+
repairs.push({ code: BodyRepairCode.ProOnly, said: `"${bodyMeaning(k, word)}" comes with the award plan: ${bodyMeaning(k, standIn)} instead` });
|
|
20376
20479
|
}
|
|
20377
|
-
const free = [...new Set(voids.flatMap(v => v.sections))]
|
|
20378
|
-
.filter(i => !filled(next[i]) && !stuck.has(i) && next[i].screens > 1)
|
|
20379
|
-
.sort((a, b) => next[b].screens - next[a].screens || a - b);
|
|
20380
|
-
if (!free.length)
|
|
20381
|
-
return null;
|
|
20382
|
-
const i = free[0];
|
|
20383
|
-
const lower = { ...next[i], screens: Math.max(1, Math.round((next[i].screens - SCREENS_STEP) * 100) / 100) };
|
|
20384
|
-
if ((lower.layers ?? []).every(l => layoutTextFits(l, lower)))
|
|
20385
|
-
next[i] = lower;
|
|
20386
|
-
else
|
|
20387
|
-
stuck.add(i);
|
|
20388
20480
|
}
|
|
20389
|
-
|
|
20481
|
+
if (ctx.calm && LOUD_SEAMS.has(m.seam)) {
|
|
20482
|
+
repairs.push({ code: BodyRepairCode.CalmSeam, said: `a calm business never wears "${bodyMeaning(BodyIngredient.Seam, m.seam)}": ${bodyMeaning(BodyIngredient.Seam, CALM_SEAM)} instead` });
|
|
20483
|
+
m.seam = CALM_SEAM;
|
|
20484
|
+
}
|
|
20485
|
+
return { mix: m, repairs };
|
|
20390
20486
|
}
|
|
20391
|
-
|
|
20392
|
-
|
|
20393
|
-
|
|
20394
|
-
|
|
20395
|
-
|
|
20396
|
-
|
|
20397
|
-
|
|
20398
|
-
|
|
20487
|
+
// ── The rhythm: a composed page's grounds against the body's rhythm ──────────────────────────────────────────────────
|
|
20488
|
+
/** How a section's ground reads: dark or light (by its colour's luminance), or a photo (free in every rhythm). */
|
|
20489
|
+
var GroundTone;
|
|
20490
|
+
(function (GroundTone) {
|
|
20491
|
+
GroundTone["Dark"] = "dark";
|
|
20492
|
+
GroundTone["Light"] = "light";
|
|
20493
|
+
GroundTone["Photo"] = "photo";
|
|
20494
|
+
})(GroundTone || (GroundTone = {}));
|
|
20495
|
+
/** The luminance where black and white words read equally on a ground (≈ 0.179): above it the ground is light. */
|
|
20496
|
+
const TONE_SPLIT = Math.sqrt(1.05 * 0.05) - 0.05;
|
|
20497
|
+
/** A ground's tone from its relative luminance. */
|
|
20498
|
+
function groundToneOf(luminance) {
|
|
20499
|
+
return luminance > TONE_SPLIT ? GroundTone.Light : GroundTone.Dark;
|
|
20399
20500
|
}
|
|
20501
|
+
const PICTURED = new Set([LayoutLayerKind.Photo, LayoutLayerKind.Gallery, LayoutLayerKind.List, LayoutLayerKind.Marquee]);
|
|
20502
|
+
const span$1 = (l) => (Array.isArray(l.col) ? l.col[1] - l.col[0] : 0);
|
|
20503
|
+
const pictured = (s) => String(s.ground ?? '').startsWith('photo:') || (s.layers ?? []).some(l => PICTURED.has(l.kind));
|
|
20504
|
+
/** A quiet section: words only, centred, every layer within `cols` of the twelve. */
|
|
20505
|
+
const quiet = (s, cols) => !pictured(s) && !!(s.layers ?? []).length && (s.layers ?? []).every(l => l.kind === LayoutLayerKind.Shape || (span$1(l) <= cols && (l.align ?? 'start') === 'center'));
|
|
20506
|
+
const startsChapter = (s, at) => (at.includes('inhale') && s.kind === LayoutSectionKind.Inhale) || (at.includes('signature') && !!s.signature);
|
|
20400
20507
|
/**
|
|
20401
|
-
*
|
|
20402
|
-
*
|
|
20508
|
+
* A composed page's grounds judged against the body's rhythm (`BODY.rhythms`): each issue a `Structure` issue on the page,
|
|
20509
|
+
* so the layout request is asked again with it. `free` (and an unknown word) asks nothing. A photo ground is free in
|
|
20510
|
+
* `alternate`, `chapters` and `tail`. Pure.
|
|
20403
20511
|
*/
|
|
20404
|
-
function
|
|
20405
|
-
const
|
|
20406
|
-
|
|
20407
|
-
|
|
20408
|
-
const
|
|
20409
|
-
|
|
20410
|
-
|
|
20411
|
-
|
|
20412
|
-
|
|
20413
|
-
|
|
20414
|
-
|
|
20415
|
-
|
|
20512
|
+
function rhythmIssues(sections, rhythm, ctx) {
|
|
20513
|
+
const issues = [];
|
|
20514
|
+
const add = (path, message) => issues.push({ code: LayoutIssueCode.Structure, path, message });
|
|
20515
|
+
const tones = sections.map(s => ctx.toneOf(s));
|
|
20516
|
+
const R = B.rhythms;
|
|
20517
|
+
switch (rhythm) {
|
|
20518
|
+
case BodyRhythm.Alternate:
|
|
20519
|
+
for (let i = 1; i < sections.length; i++) {
|
|
20520
|
+
if (tones[i] !== GroundTone.Photo && tones[i] === tones[i - 1]) {
|
|
20521
|
+
add(`sections[${i}].ground`, `grounds alternate dark and light — "${sections[i].id}" is ${tones[i]} like the section before it`);
|
|
20522
|
+
}
|
|
20523
|
+
}
|
|
20524
|
+
break;
|
|
20525
|
+
case BodyRhythm.LoudQuiet: {
|
|
20526
|
+
const { pairs, quietCols } = R['loud-quiet'];
|
|
20527
|
+
let found = 0;
|
|
20528
|
+
for (let i = 1; i < sections.length; i++)
|
|
20529
|
+
if (pictured(sections[i - 1]) && quiet(sections[i], quietCols))
|
|
20530
|
+
found++;
|
|
20531
|
+
if (found < pairs) {
|
|
20532
|
+
add('sections', `${found} picture section(s) followed by a quiet one — the loud-quiet rhythm asks at least ${pairs}: a picture section, then words only, centred, within ${quietCols} of the 12 columns`);
|
|
20533
|
+
}
|
|
20534
|
+
break;
|
|
20535
|
+
}
|
|
20536
|
+
case BodyRhythm.Chapters: {
|
|
20537
|
+
const at = R.chapters.changesAt;
|
|
20538
|
+
let last = null;
|
|
20539
|
+
sections.forEach((s, i) => {
|
|
20540
|
+
const tone = tones[i];
|
|
20541
|
+
if (tone === GroundTone.Photo)
|
|
20542
|
+
return;
|
|
20543
|
+
if (last !== null && tone !== last && !startsChapter(s, at)) {
|
|
20544
|
+
add(`sections[${i}].ground`, `the ground changes only where a chapter starts (an inhale or the signature) — "${s.id}" changes it`);
|
|
20545
|
+
}
|
|
20546
|
+
last = tone;
|
|
20547
|
+
});
|
|
20548
|
+
break;
|
|
20549
|
+
}
|
|
20550
|
+
case BodyRhythm.Tail: {
|
|
20551
|
+
if (!ctx.footerTone || ctx.footerTone === GroundTone.Photo)
|
|
20552
|
+
break;
|
|
20553
|
+
const from = Math.max(0, sections.length - R.tail.last);
|
|
20554
|
+
for (let i = from; i < sections.length; i++) {
|
|
20555
|
+
if (tones[i] !== GroundTone.Photo && tones[i] !== ctx.footerTone) {
|
|
20556
|
+
add(`sections[${i}].ground`, `the last ${R.tail.last} sections wear the footer's ${ctx.footerTone} ground — "${sections[i].id}" is ${tones[i]}`);
|
|
20557
|
+
}
|
|
20558
|
+
}
|
|
20559
|
+
break;
|
|
20560
|
+
}
|
|
20561
|
+
}
|
|
20562
|
+
return issues;
|
|
20416
20563
|
}
|
|
20417
20564
|
|
|
20418
20565
|
/**
|
|
@@ -21139,6 +21286,17 @@ function examineLayout(page, ctx, carried, given) {
|
|
|
21139
21286
|
for (const v of voids) {
|
|
21140
21287
|
add(LayoutIssueCode.Look, `sections[${v.sections[0]}]`, `${Math.round(v.to - v.from)}px of the laptop's screen with nothing on it (${v.sections.map(i => sections[i].id).join(' → ')}) — a section that flows fills its screens: fewer screens, or layers where the eye would land`, voidScreens ? { kind: LayoutMendKind.Screens, sections: voidScreens } : undefined);
|
|
21141
21288
|
}
|
|
21289
|
+
// LI7: a list section never reads empty — its words beside the list, or the list centred under them.
|
|
21290
|
+
sections.forEach((s, i) => {
|
|
21291
|
+
const bare = layoutListBare(s);
|
|
21292
|
+
if (!bare)
|
|
21293
|
+
return;
|
|
21294
|
+
const source = s.layers[bare.layer].gallery?.source;
|
|
21295
|
+
const heading = ctx.listShapes?.find(x => x.alias === source)?.label;
|
|
21296
|
+
const paired = layoutListPair(s, bare.layer, bare.side, heading);
|
|
21297
|
+
add(LayoutIssueCode.Look, `sections[${i}].layers[${bare.layer}].col`, bare.reads ? `the list leaves the ${bare.side === LayoutListSide.Start ? 'first' : 'last'} columns of its section empty — ${LIST_WORDS_BESIDE_RULE}`
|
|
21298
|
+
: `the list stands alone, nothing in its section reads — ${LIST_WORDS_BESIDE_RULE}`, paired ? { kind: LayoutMendKind.ListWords, section: i, layer: bare.layer, side: bare.side, ...(heading && !bare.reads ? { heading } : {}) } : undefined);
|
|
21299
|
+
});
|
|
21142
21300
|
const opening = layoutOpeningDisplays(page);
|
|
21143
21301
|
if ((daring || ctx.design?.animate === SCENE_LEVEL) && sections[0] && !sections[0].readyMade) {
|
|
21144
21302
|
if (!opening.length) {
|
|
@@ -21555,6 +21713,14 @@ function mendLayout(page, issues) {
|
|
|
21555
21713
|
layer.gallery.list = structuredClone(mend.mix);
|
|
21556
21714
|
mended.push(issue);
|
|
21557
21715
|
}
|
|
21716
|
+
else if (mend?.kind === LayoutMendKind.ListWords) {
|
|
21717
|
+
const section = next.sections?.[mend.section];
|
|
21718
|
+
const paired = section ? layoutListPair(section, mend.layer, mend.side, mend.heading) : null;
|
|
21719
|
+
if (!paired)
|
|
21720
|
+
continue;
|
|
21721
|
+
next.sections[mend.section] = paired;
|
|
21722
|
+
mended.push(issue);
|
|
21723
|
+
}
|
|
21558
21724
|
else if (mend?.kind === LayoutMendKind.Words) {
|
|
21559
21725
|
const layer = layerAt(mend.layer);
|
|
21560
21726
|
if (!layer)
|
|
@@ -25748,8 +25914,16 @@ function galleryLayer(id, l, lc, ctx) {
|
|
|
25748
25914
|
/** The width a row's card takes: three across a laptop, most of a phone's width with the next one peeking. */
|
|
25749
25915
|
const LIST_ROW_SLIDE = `calc((100% - ${2 * SLIDE_GAP}px) / 3)`;
|
|
25750
25916
|
const LIST_ROW_SLIDE_PHONE = '82%';
|
|
25751
|
-
/** A deck is one card wide (LI4): a laptop's card, most of a phone. */
|
|
25752
|
-
const LIST_DECK_WIDTH =
|
|
25917
|
+
/** A deck is one card wide (LI4): a laptop's card, most of a phone — the width the list judge reads (list-space). */
|
|
25918
|
+
const LIST_DECK_WIDTH = `min(${LIST_DECK_MAX_PX}px, ${LIST_DECK_SHARE * 100}%)`;
|
|
25919
|
+
/** LI7: a deck's card turns in this share of the look's pace (Normal 650ms → 455ms): a card thrown, never a slide crawling. */
|
|
25920
|
+
const LIST_DECK_TURN = 0.7;
|
|
25921
|
+
/** LI7: the corner a list item wears — a card's the look's card radius, a picture's its image radius; a deck's slide and a
|
|
25922
|
+
* strip wear it too, so a peeking card, its shading and a closed strip keep the item's own corners. */
|
|
25923
|
+
const LIST_CARD_RADIUS = 'var(--iox-card-radius)';
|
|
25924
|
+
const LIST_PHOTO_RADIUS = 'var(--iox-image-radius)';
|
|
25925
|
+
/** A picture's deck slide carries the look's card shadow (a card carries its own). */
|
|
25926
|
+
const LIST_PHOTO_SHADOW = 'var(--iox-card-shadow)';
|
|
25753
25927
|
const LIST_GAP = 'var(--iox-space-gap)';
|
|
25754
25928
|
const LIST_PHOTO_ASPECT = '4 / 3';
|
|
25755
25929
|
/** A row or a deck turns by itself this often (the wire's autoplay). */
|
|
@@ -25807,6 +25981,9 @@ function listCard(id, mix, source, list, masonry, path, ctx, layout = CardLayout
|
|
|
25807
25981
|
return part;
|
|
25808
25982
|
const node = role === CardRole.Media ? part.children?.find(c => c.type === T.Image) : part;
|
|
25809
25983
|
node?.bindings.push({ prop, source, path: f });
|
|
25984
|
+
// iox-ui#111: bound words are the row's — never the recipe's own ("Category"), which a row with no value showed live.
|
|
25985
|
+
if (node && prop === 'content')
|
|
25986
|
+
node.props['content'] = '';
|
|
25810
25987
|
return node;
|
|
25811
25988
|
};
|
|
25812
25989
|
const title = list.roles['title'];
|
|
@@ -25903,7 +26080,7 @@ function composeList(id, l, mix, source, list, lc, ctx) {
|
|
|
25903
26080
|
? listCard(`${id}-item`, mix, source, list, masonry, lc.path, ctx, strips ? CardLayout.Overlay : CardLayout.Top)
|
|
25904
26081
|
: listPhoto(`${id}-item`, source, list, masonry);
|
|
25905
26082
|
if (strips)
|
|
25906
|
-
return composeStrips(id, frame, item, mix, source, ctx);
|
|
26083
|
+
return composeStrips(id, frame, item, mix, source, ctx, listItemRadius(mix));
|
|
25907
26084
|
item.interactions = [...item.interactions, listArriveInteraction(item.id, mix.arrive, ctx)];
|
|
25908
26085
|
// LI4: the one that stands out — a deck's top card IS its standing out; strips draw their own (wider).
|
|
25909
26086
|
const shown = standout && !standWait && !deck ? standWrap(`${id}-stand`, item, standout) : item;
|
|
@@ -25915,7 +26092,7 @@ function composeList(id, l, mix, source, list, lc, ctx) {
|
|
|
25915
26092
|
// A deck (LI4) is Swiper's cards: one card on top, the rest waiting behind, dragged away or stepped.
|
|
25916
26093
|
dir: ctx.rtl ? 'rtl' : 'ltr', effect: deck ? 'cards' : 'slide', slidesPerView: deck ? 1 : 'auto', spaceBetween: deck ? 0 : SLIDE_GAP,
|
|
25917
26094
|
centeredSlides: !deck && standout?.who === LayoutListWho.Middle, loop: 'off', freeMode: !deck && drag && !played, grabCursor: drag && !played,
|
|
25918
|
-
speed: GALLERY_SPEED, enableParallax: false, enableAutoplay: mix.move.includes(LayoutListMove.Auto) && !played,
|
|
26095
|
+
speed: deck ? Math.round(ctx.pace.support * LIST_DECK_TURN) : GALLERY_SPEED, enableParallax: false, enableAutoplay: mix.move.includes(LayoutListMove.Auto) && !played,
|
|
25919
26096
|
autoplayDelay: LIST_AUTOPLAY_MS, autoplayDisableOnInteraction: true, enableKeyboard: true, scrollPlays,
|
|
25920
26097
|
enableCaption: false, enableCount: false, enableNavigation: mix.move.includes(LayoutListMove.Arrows) && !played,
|
|
25921
26098
|
[SLIDER_PLACEMENT_TRAIT]: SliderPlacement.Under, ariaLabel: l.text ?? '',
|
|
@@ -25937,6 +26114,10 @@ function composeList(id, l, mix, source, list, lc, ctx) {
|
|
|
25937
26114
|
gap(ctx, LayoutGapCode.ListLater, `${lc.path}.gallery.list.phone`, `a ${arrange} stays one you swipe on a phone (${mix.phone} is a grid's)`);
|
|
25938
26115
|
const slide = create$1(`${id}-slide`, T.Slide, { caption: '' }, NO_ELEMENT_STYLE);
|
|
25939
26116
|
setStyleProps(slide, { width: deck ? FULL : LIST_ROW_SLIDE, height: FULL, display: 'flex', aspectRatio: 'auto' });
|
|
26117
|
+
// LI7: a deck's peeking cards and Swiper's shading over them wear the item's corner (the shared CSS rounds the
|
|
26118
|
+
// shading to the slide's), and a picture's card the look's shadow.
|
|
26119
|
+
if (deck)
|
|
26120
|
+
setStyleProps(slide, { borderRadius: listItemRadius(mix), ...(mix.item !== LayoutListItem.Card ? { boxShadow: LIST_PHOTO_SHADOW } : {}) });
|
|
25940
26121
|
if (!deck)
|
|
25941
26122
|
phone(slide, { width: LIST_ROW_SLIDE_PHONE });
|
|
25942
26123
|
slide.children = [shown];
|
|
@@ -25968,6 +26149,10 @@ function composeList(id, l, mix, source, list, lc, ctx) {
|
|
|
25968
26149
|
frame.children = [items];
|
|
25969
26150
|
return frame;
|
|
25970
26151
|
}
|
|
26152
|
+
/** The corner a list's items wear (LI7). */
|
|
26153
|
+
function listItemRadius(mix) {
|
|
26154
|
+
return mix.item === LayoutListItem.Card ? LIST_CARD_RADIUS : LIST_PHOTO_RADIUS;
|
|
26155
|
+
}
|
|
25971
26156
|
/**
|
|
25972
26157
|
* A deck (LI4) is a card wide, centred in its cell. The width sits on a holder, never the slider: the slider's own
|
|
25973
26158
|
* scoped `.swiper { width: 100% }` out-ranks a node's width class. On a phone the holder is the cell's width and the
|
|
@@ -26002,10 +26187,11 @@ function standWrap(id, item, standout) {
|
|
|
26002
26187
|
* the scrim) or the picture. Everything strips DO — the open one wider, pointing and focus, the phone — is the shared
|
|
26003
26188
|
* CSS's (iox-design.css, by the Repeater's role), so the canvas and the live site draw the same strips with no runtime.
|
|
26004
26189
|
*/
|
|
26005
|
-
function composeStrips(id, frame, item, mix, source, ctx) {
|
|
26190
|
+
function composeStrips(id, frame, item, mix, source, ctx, radius) {
|
|
26006
26191
|
const strip = create$1(`${id}-strip`, T.Container, {}, NO_ELEMENT_STYLE);
|
|
26007
26192
|
strip.role = LayoutListRole.StripItem;
|
|
26008
|
-
|
|
26193
|
+
// LI7: the strip's clip is the item's own corner — a closed strip is a rounded strip, never a square cut of a card.
|
|
26194
|
+
setStyleProps(strip, { position: 'relative', display: 'block', width: FULL, height: FULL, minHeight: ZERO$1, overflow: 'hidden', borderRadius: radius });
|
|
26009
26195
|
setStyleProps(item, { width: FULL, height: FULL, minHeight: ZERO$1 });
|
|
26010
26196
|
if (item.role === LayoutListRole.Item) {
|
|
26011
26197
|
const image = item.children?.[0];
|
|
@@ -26402,6 +26588,8 @@ const PATTERN_SECTION_PAD = 'var(--iox-section-pad)';
|
|
|
26402
26588
|
const PATTERN_SECTION_SPACE = 'var(--iox-space-section)';
|
|
26403
26589
|
/** The furthest in a ready-made section's words start: the column grid keeps at least eight columns for them. */
|
|
26404
26590
|
const READY_MADE_MAX_COLUMN = 3;
|
|
26591
|
+
/** A carried whole's cell per screen its section place asks for: a screen less the section's padding above and below. */
|
|
26592
|
+
const CARRIED_CELL_SCREEN = 80;
|
|
26405
26593
|
/** The ground a section paints, by name (a photo ground reads as the ink: its words are light). */
|
|
26406
26594
|
function groundOf(s) {
|
|
26407
26595
|
const ground = String(s.ground ?? LayoutColour.Ground);
|
|
@@ -26473,9 +26661,29 @@ function carriedSection(s, si, ctx) {
|
|
|
26473
26661
|
const root = create$1(`${ctx.p}-s${si}`, T.Section, {}, NO_ELEMENT_STYLE);
|
|
26474
26662
|
root.label = s.id;
|
|
26475
26663
|
setStyleProps(root, { padding: PATTERN_SECTION_PAD, margin: ZERO$1, ...(ctx.rtl ? { textDirection: 'rtl' } : {}) });
|
|
26476
|
-
root.children = [node];
|
|
26664
|
+
root.children = [fillsItsCell(node) ? carriedCell(`${root.id}-cell`, node, s) : node];
|
|
26477
26665
|
return root;
|
|
26478
26666
|
}
|
|
26667
|
+
/** Does this node fill the cell it was placed in (absolutely, at the full size of its old layer's frame)? A gallery's
|
|
26668
|
+
* slider and a list's row are (`composeGallery` / `composeList`). */
|
|
26669
|
+
function fillsItsCell(node) {
|
|
26670
|
+
const position = String(node.styleProps?.['position'] ?? '');
|
|
26671
|
+
return position === 'absolute' || position === 'fixed';
|
|
26672
|
+
}
|
|
26673
|
+
/**
|
|
26674
|
+
* vectoriox/iox-ui#105: a whole carried out of a layer that FILLED its cell. Its old frame (positioned, sized by the
|
|
26675
|
+
* grid) was what it was placed against; a bare Section is neither, so the slider measured itself against the page and
|
|
26676
|
+
* drew at its top. The cell comes with it: the old frame's shape, the section place's height on a laptop (at most a screen), its own
|
|
26677
|
+
* shape on a phone (where the node is in flow already).
|
|
26678
|
+
*/
|
|
26679
|
+
function carriedCell(id, node, s) {
|
|
26680
|
+
const cell = create$1(id, T.Container, {}, NO_ELEMENT_STYLE);
|
|
26681
|
+
cell.label = 'Cell';
|
|
26682
|
+
setStyleProps(cell, { position: 'relative', width: FULL, minHeight: ZERO$1, height: `${Math.min(1, Math.max(0.5, s.screens || 1)) * CARRIED_CELL_SCREEN}svh` });
|
|
26683
|
+
phone(cell, { height: 'auto' });
|
|
26684
|
+
cell.children = [node];
|
|
26685
|
+
return cell;
|
|
26686
|
+
}
|
|
26479
26687
|
/**
|
|
26480
26688
|
* A layout-language page → its layout and header. Deterministic: the same layout composes to byte-identical nodes.
|
|
26481
26689
|
* Refuses (ComposeError) a link to a section the layout does not have; everything the product cannot say comes back in
|
|
@@ -26895,12 +27103,18 @@ function layoutListsContext(page, plan) {
|
|
|
26895
27103
|
function layoutGallerySources(plan) {
|
|
26896
27104
|
return layoutGalleryLists(plan).filter(l => l.pictures).map(l => l.alias);
|
|
26897
27105
|
}
|
|
27106
|
+
/** The prop a node's words live in (iox-ui#111: emptied when it is bound). */
|
|
27107
|
+
const BOUND_WORDS_PROP = 'content';
|
|
26898
27108
|
function addBinding(node, binding) {
|
|
26899
27109
|
const declared = NODE_BASELINES[node.type]?.traits ?? [];
|
|
26900
27110
|
if (!declared.includes(binding.prop) && !binding.prop.startsWith('routeParam:')) {
|
|
26901
27111
|
throw new ComposeError(`${node.type} has no trait "${binding.prop}" to bind`);
|
|
26902
27112
|
}
|
|
26903
27113
|
node.bindings.push(binding);
|
|
27114
|
+
// iox-ui#111: bound words are the row's — never the recipe's or the type's own ("Category", "Card title", "Enter text
|
|
27115
|
+
// here"): a renderer keeps the static words when the row has no value there, and they reached the live site.
|
|
27116
|
+
if (binding.prop === BOUND_WORDS_PROP)
|
|
27117
|
+
node.props[BOUND_WORDS_PROP] = '';
|
|
26904
27118
|
}
|
|
26905
27119
|
function assertTraits(type, names) {
|
|
26906
27120
|
const declared = NODE_BASELINES[type]?.traits ?? [];
|
|
@@ -33793,8 +34007,8 @@ const PROOF_FINGERPRINTS = [
|
|
|
33793
34007
|
const STORE_SLOT_ROLES = new Set([ShopRole.CartButton, AccountRole.Entry]);
|
|
33794
34008
|
/** The roles that link to one of the site's pages (the bar's row, the drawer's list, the bottom bar's items). */
|
|
33795
34009
|
const PAGE_LINK_ROLES = new Set([NavRole.Link, NavRole.DrawerLink, NavRole.BarItem]);
|
|
33796
|
-
/** The pages a header and its companions link to, in their order, once each — what the header is recomposed with
|
|
33797
|
-
*
|
|
34010
|
+
/** The pages a header and its companions link to, in their order, once each — what the header is recomposed with: a mix
|
|
34011
|
+
* change never takes the owner's links away, nor adds the studio's other pages (CC1's `phoneMenuPages`; iox-cms-client#82). */
|
|
33798
34012
|
function pagesOfHeader(current, companions) {
|
|
33799
34013
|
const out = [];
|
|
33800
34014
|
const walk = (n) => {
|
|
@@ -33806,15 +34020,19 @@ function pagesOfHeader(current, companions) {
|
|
|
33806
34020
|
[current, ...companions].forEach(walk);
|
|
33807
34021
|
return out;
|
|
33808
34022
|
}
|
|
33809
|
-
/**
|
|
33810
|
-
*
|
|
33811
|
-
|
|
34023
|
+
/**
|
|
34024
|
+
* The site a header is read, recomposed and advised for (`readHeader`, `applyHeaderMix`, and the studio's `headerAdvice`):
|
|
34025
|
+
* the pages are the ones the header links to — every ingredient is HOW the header shows its pages, never WHICH (the
|
|
34026
|
+
* Pages word is inline / menu / menu-pinned), so an Apply keeps the bar's links exactly (iox-cms-client#82: changing only
|
|
34027
|
+
* "Its colours follow" re-made the bar with every page the studio ever had — drafts, archived `-previous` copies, legal
|
|
34028
|
+
* pages). Only a header that links to no page takes the studio's. A header that holds the bag or the account entry is a
|
|
34029
|
+
* selling site's (unless the site says). Pure.
|
|
34030
|
+
*/
|
|
34031
|
+
function headerSiteFor(site, current, companions = []) {
|
|
33812
34032
|
let at = site;
|
|
33813
|
-
|
|
33814
|
-
|
|
33815
|
-
|
|
33816
|
-
at = { ...at, pages: own };
|
|
33817
|
-
}
|
|
34033
|
+
const own = pagesOfHeader(current, companions);
|
|
34034
|
+
if (own.length)
|
|
34035
|
+
at = { ...at, pages: own };
|
|
33818
34036
|
if (at.storeSlots !== undefined)
|
|
33819
34037
|
return at;
|
|
33820
34038
|
let sells = false;
|
|
@@ -33928,7 +34146,7 @@ function compose$1(mix, site, id, options) {
|
|
|
33928
34146
|
function readHeader(root, site, options = {}) {
|
|
33929
34147
|
const stored = storedHeaderMix(root);
|
|
33930
34148
|
const mix = stored ?? nearestHeaderMix(root, options.companions ?? []);
|
|
33931
|
-
const custom = headerShape(root) !== headerShape(compose$1(mix,
|
|
34149
|
+
const custom = headerShape(root) !== headerShape(compose$1(mix, headerSiteFor(site, root, options.companions), root.id, options).header);
|
|
33932
34150
|
return { mix, stored: !!stored, custom, galleryId: headerGalleryIdOf(mix) };
|
|
33933
34151
|
}
|
|
33934
34152
|
var HeaderReplacedKind;
|
|
@@ -33961,7 +34179,7 @@ function wordsOf$1(n) {
|
|
|
33961
34179
|
function applyHeaderMix(current, next, site, options = {}) {
|
|
33962
34180
|
const curCompanions = options.companions ?? [];
|
|
33963
34181
|
const baseMix = storedHeaderMix(current) ?? nearestHeaderMix(current, curCompanions);
|
|
33964
|
-
const at =
|
|
34182
|
+
const at = headerSiteFor(site, current, curCompanions);
|
|
33965
34183
|
const baseComposed = compose$1(baseMix, at, current.id, options);
|
|
33966
34184
|
const composed = compose$1(next, at, current.id, options);
|
|
33967
34185
|
const freshGroup = clone(grouped(composed.header, composed.companions));
|
|
@@ -34761,5 +34979,5 @@ function siteGlobalsOf(globals) {
|
|
|
34761
34979
|
* Generated bundle index. Do not edit.
|
|
34762
34980
|
*/
|
|
34763
34981
|
|
|
34764
|
-
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkBody, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, groundToneOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBuiltWords, listIngredientWords, listMeaning, listNeverIsEmpty, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
|
|
34982
|
+
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkBody, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, groundToneOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBuiltWords, listIngredientWords, listMeaning, listNeverIsEmpty, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
|
|
34765
34983
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|