@vectoriox/iox-ui 5.157.0 → 5.158.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +247 -35
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +94 -9
- package/package.json +1 -1
- package/src/generation-core/check-layout.ts +123 -14
- package/src/generation-core/layout-fingerprint.ts +28 -3
- package/src/generation-core/layout-language.ts +11 -2
- package/src/generation-core/opening-edit.ts +2 -0
- package/src/generation-core/opening-mix.ts +39 -8
- package/src/generation-core/site-spec.generated.ts +24 -5
- package/src/generation-core/type-led.ts +31 -9
|
@@ -7067,8 +7067,9 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7067
7067
|
readonly words: readonly ["headline", "on-edge", "apart", "wordmark", "behind", "none"];
|
|
7068
7068
|
readonly extras: readonly ["card", "badge", "cue"];
|
|
7069
7069
|
readonly motion: readonly ["slow-zoom", "copy-out", "pinned-covered"];
|
|
7070
|
+
readonly ground: readonly ["accent", "subtle"];
|
|
7070
7071
|
};
|
|
7071
|
-
readonly many: readonly ["extras", "motion"];
|
|
7072
|
+
readonly many: readonly ["extras", "motion", "ground"];
|
|
7072
7073
|
readonly meanings: {
|
|
7073
7074
|
readonly "frame.full": "edge to edge";
|
|
7074
7075
|
readonly "frame.inset": "a rounded card inset from the window, the page's ground around it";
|
|
@@ -7094,6 +7095,8 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7094
7095
|
readonly "motion.slow-zoom": "the picture slowly zooms (15 s or longer), still under reduced motion";
|
|
7095
7096
|
readonly "motion.copy-out": "the first screen's words fade as the page leaves it, following the scroll";
|
|
7096
7097
|
readonly "motion.pinned-covered": "the first screen holds while the next section slides over it";
|
|
7098
|
+
readonly "ground.accent": "a type-led first screen on the look's accent";
|
|
7099
|
+
readonly "ground.subtle": "a type-led first screen on the look's quiet tint";
|
|
7097
7100
|
};
|
|
7098
7101
|
readonly meaningsHe: {
|
|
7099
7102
|
readonly "frame.full": "מקצה לקצה";
|
|
@@ -7120,6 +7123,8 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7120
7123
|
readonly "motion.slow-zoom": "התמונה מתקרבת לאט (15 שניות ויותר), ונשארת דוממת כשמבקשים פחות תנועה";
|
|
7121
7124
|
readonly "motion.copy-out": "המילים של המסך הראשון נמוגות כשהדף עוזב אותו, עם הגלילה";
|
|
7122
7125
|
readonly "motion.pinned-covered": "המסך הראשון נשאר במקומו והחלק הבא מחליק מעליו";
|
|
7126
|
+
readonly "ground.accent": "מסך ראשון של מילים, על צבע ההדגשה של המראה";
|
|
7127
|
+
readonly "ground.subtle": "מסך ראשון של מילים, על הגוון השקט של המראה";
|
|
7123
7128
|
};
|
|
7124
7129
|
readonly waits: {
|
|
7125
7130
|
readonly "frame.grows": {
|
|
@@ -7141,8 +7146,9 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7141
7146
|
readonly words: "headline";
|
|
7142
7147
|
readonly extras: readonly [];
|
|
7143
7148
|
readonly motion: readonly [];
|
|
7149
|
+
readonly ground: readonly [];
|
|
7144
7150
|
};
|
|
7145
|
-
readonly harness: readonly ["media.none"];
|
|
7151
|
+
readonly harness: readonly ["media.none", "ground.accent", "ground.subtle"];
|
|
7146
7152
|
readonly typeLed: readonly [{
|
|
7147
7153
|
readonly frame: "full";
|
|
7148
7154
|
readonly words: "wordmark";
|
|
@@ -7172,6 +7178,7 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7172
7178
|
readonly words: "headline";
|
|
7173
7179
|
}];
|
|
7174
7180
|
readonly typeLedEveryTier: true;
|
|
7181
|
+
readonly typeLedGrounds: readonly ["inverse", "subtle", "accent"];
|
|
7175
7182
|
readonly named: {
|
|
7176
7183
|
readonly "hero.split": {};
|
|
7177
7184
|
readonly "hero.full-bleed-media": {
|
|
@@ -7284,6 +7291,8 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7284
7291
|
readonly "media.object": "all";
|
|
7285
7292
|
readonly "media.none": "all";
|
|
7286
7293
|
readonly "words.headline": "all";
|
|
7294
|
+
readonly "ground.accent": "all";
|
|
7295
|
+
readonly "ground.subtle": "all";
|
|
7287
7296
|
readonly "rules.wordsNeverCut": "all";
|
|
7288
7297
|
readonly "rules.badgeOwnersOnly": "all";
|
|
7289
7298
|
readonly "rules.neverHoldsScroll": "all";
|
|
@@ -9595,7 +9604,9 @@ declare enum LayoutMendKind {
|
|
|
9595
9604
|
/** Words over a busy or too-light part of a photo, in a look that allows scrims: the layer gets one. */
|
|
9596
9605
|
Scrim = "scrim",
|
|
9597
9606
|
/** The accent on more layers than the look allows: the least important words go back to the ink, then — where words
|
|
9598
|
-
* cannot give enough back — the least important accent bands take the ground nearest the accent their words read on
|
|
9607
|
+
* cannot give enough back — the least important accent bands take the ground nearest the accent their words read on,
|
|
9608
|
+
* then the least important primary buttons step to secondary (never the main call to action — iox-ui#131: a page whose
|
|
9609
|
+
* accent was on its buttons fell back whole). */
|
|
9599
9610
|
Accent = "accent",
|
|
9600
9611
|
/** Words too faint on their ground, where the ink holds there: they go back to the ink. */
|
|
9601
9612
|
Ink = "ink",
|
|
@@ -9643,7 +9654,12 @@ declare enum LayoutMendKind {
|
|
|
9643
9654
|
/** Award §0c CW2 (AW-D34): a page asking a column word its business type never wears (a law firm's `wide`): it takes
|
|
9644
9655
|
* the column the type is offered first (`contained`) — said to the owner as `column-mended`. A word outside the
|
|
9645
9656
|
* axis is dropped (the page wears the site's). */
|
|
9646
|
-
Column = "column"
|
|
9657
|
+
Column = "column",
|
|
9658
|
+
/** iox-ui#131: words a few characters too many for their box (a near miss): one size step down, where they then fit
|
|
9659
|
+
* and the smaller size still holds them — never below a heading's reading size, never the opening's display. */
|
|
9660
|
+
Size = "size",
|
|
9661
|
+
/** iox-ui#131: a form a column or two narrower than a form needs: it widens into empty cells of its own rows. */
|
|
9662
|
+
Widen = "widen"
|
|
9647
9663
|
}
|
|
9648
9664
|
/** What the build says when the column a page asked for was mended (award §0c CW2). */
|
|
9649
9665
|
declare const LAYOUT_COLUMN_MENDED = "column-mended";
|
|
@@ -9703,6 +9719,15 @@ type LayoutMend = {
|
|
|
9703
9719
|
kind: LayoutMendKind.Accent;
|
|
9704
9720
|
over: number;
|
|
9705
9721
|
bands?: ReadonlyArray<LayoutBandMove>;
|
|
9722
|
+
buttons?: ReadonlyArray<string>;
|
|
9723
|
+
} | {
|
|
9724
|
+
kind: LayoutMendKind.Size;
|
|
9725
|
+
layer: string;
|
|
9726
|
+
size: `${LayoutSize}`;
|
|
9727
|
+
} | {
|
|
9728
|
+
kind: LayoutMendKind.Widen;
|
|
9729
|
+
layer: string;
|
|
9730
|
+
col: [number, number];
|
|
9706
9731
|
} | {
|
|
9707
9732
|
kind: LayoutMendKind.Depth;
|
|
9708
9733
|
layers: ReadonlyArray<string>;
|
|
@@ -11432,7 +11457,9 @@ declare enum OpeningIngredient {
|
|
|
11432
11457
|
Media = "media",
|
|
11433
11458
|
Words = "words",
|
|
11434
11459
|
Extras = "extras",
|
|
11435
|
-
Motion = "motion"
|
|
11460
|
+
Motion = "motion",
|
|
11461
|
+
/** iox-ui#131: what a type-led first screen stands on (none named: the inverse scheme). The harness's alone. */
|
|
11462
|
+
Ground = "ground"
|
|
11436
11463
|
}
|
|
11437
11464
|
declare enum OpeningFrame {
|
|
11438
11465
|
Full = "full",
|
|
@@ -11468,6 +11495,12 @@ declare enum OpeningMotion {
|
|
|
11468
11495
|
CopyOut = "copy-out",
|
|
11469
11496
|
PinnedCovered = "pinned-covered"
|
|
11470
11497
|
}
|
|
11498
|
+
/** iox-ui#131: a type-led first screen's ground — `inverse` is the default and no word (the contract's `typeLedGrounds`). */
|
|
11499
|
+
declare enum OpeningGround {
|
|
11500
|
+
Inverse = "inverse",
|
|
11501
|
+
Accent = "accent",
|
|
11502
|
+
Subtle = "subtle"
|
|
11503
|
+
}
|
|
11471
11504
|
/** One word for each of frame, media and words; a list (in the table's order) for extras and motion. */
|
|
11472
11505
|
interface OpeningMix {
|
|
11473
11506
|
frame: string;
|
|
@@ -11475,6 +11508,8 @@ interface OpeningMix {
|
|
|
11475
11508
|
words: string;
|
|
11476
11509
|
extras: string[];
|
|
11477
11510
|
motion: string[];
|
|
11511
|
+
/** iox-ui#131: at most one word; empty — the inverse scheme. Worn by a type-led first screen only. */
|
|
11512
|
+
ground: string[];
|
|
11478
11513
|
}
|
|
11479
11514
|
declare class OpeningMixError extends Error {
|
|
11480
11515
|
}
|
|
@@ -11595,8 +11630,16 @@ declare function drawnOpeningMix(mix: OpeningMix): {
|
|
|
11595
11630
|
};
|
|
11596
11631
|
/** The fingerprint's prefix for an opening. */
|
|
11597
11632
|
declare const OPENING_TOKEN = "opening";
|
|
11598
|
-
/** An opening as the fingerprint sees it: `opening:<frame>/<media>/<words>` — what a visitor takes in at once
|
|
11633
|
+
/** An opening as the fingerprint sees it: `opening:<frame>/<media>/<words>` — what a visitor takes in at once; a type-led
|
|
11634
|
+
* first screen on a ground other than the inverse adds it (`opening:full/none/wordmark+accent`, iox-ui#131). */
|
|
11599
11635
|
declare function openingTokenOf(mix: OpeningMix): string;
|
|
11636
|
+
/** iox-ui#131: a token's way (frame, media, words) and its ground — `inverse` when it names none. */
|
|
11637
|
+
declare function openingTokenParts(token: string): {
|
|
11638
|
+
way: string;
|
|
11639
|
+
ground: string;
|
|
11640
|
+
};
|
|
11641
|
+
/** iox-ui#131: the grounds a type-led first screen may stand on, in the order tried; a calm look never takes the accent. */
|
|
11642
|
+
declare function typeLedGrounds(calm?: boolean): OpeningGround[];
|
|
11600
11643
|
/** Every `<ingredient>:<word>` the generator's wire may carry at `tier`: drawn words only (a waiting word is never
|
|
11601
11644
|
* offered), and the award tier's only at the award tier. */
|
|
11602
11645
|
declare function openingWireWords(tier?: `${GenerationTier}`): string[];
|
|
@@ -12466,6 +12509,26 @@ declare function mendLayout(page: LayoutPage, issues: ReadonlyArray<LayoutIssue>
|
|
|
12466
12509
|
page: LayoutPage;
|
|
12467
12510
|
mended: LayoutIssue[];
|
|
12468
12511
|
};
|
|
12512
|
+
/** How many times the composer settles a page: a mend can make the next one possible (an accent band moved, then a
|
|
12513
|
+
* depth that no longer meets it), never more. */
|
|
12514
|
+
declare const LAYOUT_SETTLE_PASSES = 3;
|
|
12515
|
+
/**
|
|
12516
|
+
* iox-ui#131: settle a page as far as the composer can — the mends of what the gate finds, then the gate again on the
|
|
12517
|
+
* mended page, until nothing more is settled (at most `LAYOUT_SETTLE_PASSES`). `issuesOf` is the whole gate the page is
|
|
12518
|
+
* judged by (static + sameness). What is left after it is the model's, or the section fallback's. Pure.
|
|
12519
|
+
*/
|
|
12520
|
+
declare function settleLayoutPage(page: LayoutPage, issuesOf: (page: LayoutPage) => ReadonlyArray<LayoutIssue>): {
|
|
12521
|
+
page: LayoutPage;
|
|
12522
|
+
mended: LayoutIssue[];
|
|
12523
|
+
};
|
|
12524
|
+
/** iox-ui#131: at most this many things left after the one repair is a near miss — asked once more, not given away. */
|
|
12525
|
+
declare const LAYOUT_NEAR_MISS = 2;
|
|
12526
|
+
/**
|
|
12527
|
+
* iox-ui#131: a repaired page that came close — at most `LAYOUT_NEAR_MISS` things left, and fewer than the check found
|
|
12528
|
+
* before the repair (the model is converging, not wandering) — gets a second repair before its sections are given away.
|
|
12529
|
+
* Pure: the service and a replay ask the same question.
|
|
12530
|
+
*/
|
|
12531
|
+
declare function layoutNearMiss(before: ReadonlyArray<LayoutIssue>, after: ReadonlyArray<LayoutIssue>): boolean;
|
|
12469
12532
|
|
|
12470
12533
|
/** The ingredients, by the contract's keys (held equal to it by footer-mix.spec). */
|
|
12471
12534
|
declare enum FooterIngredient {
|
|
@@ -12713,6 +12776,9 @@ interface FingerprintedPage {
|
|
|
12713
12776
|
* by the "same kind of business" clauses — every page of a site is the same kind of business (m8-gate2 §16;
|
|
12714
12777
|
* vectoriox/iox-ui#96: an award site's pages fell back, each refused against the site's own Workshops page). */
|
|
12715
12778
|
sameSite?: boolean;
|
|
12779
|
+
/** The layout the owner asked to replace (Try another layout): its order of sections is judged by plain share — a new
|
|
12780
|
+
* layout must not be the same page with one section swapped (iox-ui#131 keeps `sequenceRepeats` for other sites). */
|
|
12781
|
+
replaced?: boolean;
|
|
12716
12782
|
}
|
|
12717
12783
|
/** A section's token in the page's sequence. */
|
|
12718
12784
|
declare function sequenceTokenOf(s: LayoutSection): LayoutSequenceToken;
|
|
@@ -12741,12 +12807,20 @@ declare function fingerprintOf(page: LayoutPage, preset: string, mode: 'light' |
|
|
|
12741
12807
|
declare function fingerprintOfPlanPage(page: LayoutPage, preset: string, mode: 'light' | 'dark', plan: Parameters<typeof wornHeaderOfPlan>[0] & Parameters<typeof footerMixOfPlan>[0]): LayoutFingerprint;
|
|
12742
12808
|
/** The share of the longer sequence two pages have in common. */
|
|
12743
12809
|
declare function sequenceShare(a: ReadonlyArray<string>, b: ReadonlyArray<string>): number;
|
|
12810
|
+
/**
|
|
12811
|
+
* iox-ui#131: a REAL repeat of a page's order of sections — most of the sequence shared (`SPEC_SITE_LAYOUT.sameness.sequence`)
|
|
12812
|
+
* AND as much of its distinctive sections (held, sideways, a photo ground, a gallery, a list mix…), in order. Two pages
|
|
12813
|
+
* that hold their story in different ways are not one page twice because both are mostly plain compositions (the hotel's
|
|
12814
|
+
* visit page was refused as "Boutique law firm · Contact": held vs held-words). Two pages of glue alone are a repeat.
|
|
12815
|
+
*/
|
|
12816
|
+
declare function sequenceRepeats(a: ReadonlyArray<string>, b: ReadonlyArray<string>): boolean;
|
|
12744
12817
|
/** A list token in words: `list:row/middle-raised/arrows` → "row · middle raised · arrows". */
|
|
12745
12818
|
declare const listWords: (token: string) => string;
|
|
12746
12819
|
/**
|
|
12747
12820
|
* Refuses a page that repeats one already made (M8-G2-D7): most of the same sequence (`SPEC_SITE_LAYOUT.sameness.sequence`,
|
|
12748
12821
|
* 6 of 7), or the same opening AND signature; against a page of the same business type, the same opening or the same
|
|
12749
|
-
* signature alone — never a page of THIS site (`sameSite
|
|
12822
|
+
* signature alone — never a page of THIS site (`sameSite`, iox-ui#131). The sequence is a repeat only when the distinctive
|
|
12823
|
+
* sections agree too (`sequenceRepeats`), and is compared with real pages only — never a
|
|
12750
12824
|
* demo's (Doron, 2026-11-09: the proof sites' order is the product's grammar, not someone's site). The look is the
|
|
12751
12825
|
* owner's pick and is never a reason.
|
|
12752
12826
|
*/
|
|
@@ -12835,8 +12909,10 @@ interface TypeLedChange {
|
|
|
12835
12909
|
interface TypeLedOpening {
|
|
12836
12910
|
/** The mix's words, as `plan.mixes.opening` holds them. */
|
|
12837
12911
|
words: string[];
|
|
12838
|
-
/** `opening:<frame>/none/<words
|
|
12912
|
+
/** `opening:<frame>/none/<words>[+<ground>]` — what the memory records and compares (`openingTokenOf`). */
|
|
12839
12913
|
token: string;
|
|
12914
|
+
/** iox-ui#131: what the first screen stands on (`inverse` when the token names none). */
|
|
12915
|
+
ground: `${OpeningGround}`;
|
|
12840
12916
|
/** Set when every way the site can carry is already another site's: it opens on the first of them anyway. */
|
|
12841
12917
|
worn?: true;
|
|
12842
12918
|
}
|
|
@@ -12880,7 +12956,16 @@ declare function chooseTypeLedOpening(plan: SitePlan, context?: TypeLedRoundCont
|
|
|
12880
12956
|
mix: OpeningMix;
|
|
12881
12957
|
token: string;
|
|
12882
12958
|
worn: boolean;
|
|
12959
|
+
ground: OpeningGround;
|
|
12883
12960
|
};
|
|
12961
|
+
/**
|
|
12962
|
+
* iox-ui#131: what a type-led first screen stands on — the ground the studio's OTHER type-led sites wear least (the
|
|
12963
|
+
* contract's `typeLedGrounds` order breaks a tie, `inverse` first), so six type-led Homes do not all open dark. A calm
|
|
12964
|
+
* look never takes the accent. Pure.
|
|
12965
|
+
*/
|
|
12966
|
+
declare function typeLedGroundFor(others: ReadonlyArray<{
|
|
12967
|
+
ground: string;
|
|
12968
|
+
}>, plan: Pick<SitePlan, 'design'>): OpeningGround;
|
|
12884
12969
|
/**
|
|
12885
12970
|
* One round: the plan a composition should have been composed from, given what fills its pictures — or no changes. The
|
|
12886
12971
|
* caller composes again and asks once more (an opening left out shows the first section's own picture, judged next).
|
|
@@ -18568,5 +18653,5 @@ declare function siteTreeOf(studio: SiteStudio): SiteTree;
|
|
|
18568
18653
|
* its phone menu, the footer's copyright line. */
|
|
18569
18654
|
declare function siteGlobalsOf(globals: ReadonlyArray<SerializedNode>): SiteTreeGlobals | null;
|
|
18570
18655
|
|
|
18571
|
-
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_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, 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_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_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, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PromptLimit, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, 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, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFallbackSections, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeMoveOf, freeMoveWord, freeMoveWords, freeSectionAsLayout, freeSignaturePage, freeStyleIssues, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, picturelessTypes, 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, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, 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, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedLayoutSection, typeLedOpeningSection, typeLedOpeningWays, typeLedRound, typeLedSection, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
18656
|
+
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_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, 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_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, 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_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_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, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningGround, 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, PromptLimit, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, 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, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFallbackSections, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeMoveOf, freeMoveWord, freeMoveWords, freeSectionAsLayout, freeSignaturePage, freeStyleIssues, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, picturelessTypes, 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, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, 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, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedLayoutSection, typeLedOpeningSection, typeLedOpeningWays, typeLedRound, typeLedSection, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
18572
18657
|
export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DistinctFallback, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, ExpandedFreeWire, FactKey, FilmPlacement, FilmTarget, FindingParams, FindingSentence, FingerprintedPage, FooterContext, FooterMix, FooterRepair, FooterWait, FrameRegion, FreeFallback, FreeFallbackPrompt, FreeIssue, FreeJudgeContext, FreeMove, FreeNode, FreePage, FreeRead, FreeSlotOffer, FreeStyle, FreeWalked, FreeWire, FreeWireFault, FreeWireNode, FreeWireOptions, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, JsonSchema, KeptPageRefusal, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutIssueWords, LayoutLayer, LayoutListBare, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutMixOfferOptions, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutRoomColumn, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LayoutWordRef, LayoutWordsValue, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListCheckOptions, ListFrame, ListFrameInput, ListHangStep, ListIngredient, ListOverhang, ListPanelContext, ListPanelRow, ListPanelWord, ListPartEdit, ListPartsKept, ListPick, ListSaid, ListSayParams, ListShapeReading, ListWait, ListWordNever, ListWordShape, LookBefore, MeasuredLayer, MeasuredLayout, MenuWords, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OpeningApplied, OpeningContext, OpeningGalleryEntry, OpeningGap, OpeningInput, OpeningMix, OpeningNotPlaced, OpeningReading, OpeningRecipe, OpeningRepair, OpeningSite, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageCarry, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureSupply, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanWireContext, PlanWireOptions, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PromptReading, PublishRefusal, QuoteRoute, RecipeListBinds, RedesignAdditions, RedesignAdditionsStaged, RedesignBack, RedesignBackPreview, RedesignLook, RedesignPageOutcome, RedesignPagePreflight, RedesignPageRefusal, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, RhythmContext, ScrimChoice, ScrubContext, ScrubbableStamp, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteFindingGroup, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StagedAddition, StagedPage, StampedAction, StampedInteraction, StartQuote, StartQuotePart, StartQuoteRoutes, StartQuoteTokens, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, TypeLed, TypeLedChange, TypeLedOpening, TypeLedRoundContext, TypeLedTarget, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
|
package/package.json
CHANGED
|
@@ -2,9 +2,9 @@ import { columnWordOf, DesignChoices, designTokenRows, parseCssColour, presetCho
|
|
|
2
2
|
import { ParallaxDepth } from '@vectoriox/iox-ui/scene-core';
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
|
-
LAYOUT_COLUMN_MENDED, LAYOUT_HIDDEN_OPACITY, LAYOUT_OPERATED, LAYOUT_TEXT_KINDS, LayoutBandMove, LayoutColour, LayoutDepth, LayoutDial, LayoutEnter, LayoutGalleryList, LayoutIssue, LayoutListShape, LayoutIssueCode, LayoutLayer, LayoutLayerKind, LayoutMend, LayoutMendKind,
|
|
5
|
+
LAYOUT_COLUMN_MENDED, LAYOUT_HIDDEN_OPACITY, LAYOUT_OPERATED, LAYOUT_TEXT_KINDS, LayoutBandMove, LayoutButtonVariant, LayoutColour, LayoutDepth, LayoutDial, LayoutEnter, LayoutGalleryList, LayoutIssue, LayoutListShape, LayoutIssueCode, LayoutLayer, LayoutLayerKind, LayoutMend, LayoutMendKind,
|
|
6
6
|
LayoutGivenAway, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListItem, LayoutListMix, LayoutListPhone, LayoutPage, LayoutPhotoSource,
|
|
7
|
-
LayoutRole, LayoutScrubRefusal, LayoutSection, LayoutSectionKind, LayoutSourceChoice, LayoutTrackProp, parseLayoutPhotoId,
|
|
7
|
+
LayoutRole, LayoutScrubRefusal, LayoutSection, LayoutSectionKind, LayoutSize, LayoutSourceChoice, LayoutTrackProp, parseLayoutPhotoId,
|
|
8
8
|
} from './layout-language';
|
|
9
9
|
import { layoutScrubTakes } from './text-scroll';
|
|
10
10
|
import { layoutColumnsOffered } from './layout-wire';
|
|
@@ -488,13 +488,16 @@ function examineLayout(page: LayoutPage, ctx: CheckLayoutContext, carried: Layou
|
|
|
488
488
|
else if (l.variant !== undefined && !inList(V.buttonVariants, l.variant)) add(LayoutIssueCode.Value, `${lp}.variant`, V.buttonVariants.join(' | '));
|
|
489
489
|
const text = String(l.text ?? (l.items ?? []).join(' '));
|
|
490
490
|
const maxChars = l.size ? L.maxChars[l.size] : undefined;
|
|
491
|
-
|
|
491
|
+
// iox-ui#131: a near miss — one size step down holds them — is the composer's to settle.
|
|
492
|
+
const smaller = placed ? sizeStepDown(l, s, i, judgeColumnPx, daring) : null;
|
|
493
|
+
const sizeMend = smaller ? { kind: LayoutMendKind.Size as const, layer: lp, size: smaller } : undefined;
|
|
494
|
+
if (maxChars !== undefined && text.length > maxChars) add(LayoutIssueCode.Reading, `${lp}.text`, `${text.length} characters is too long for size ${l.size} (≤ ${maxChars})`, sizeMend);
|
|
492
495
|
if ((l.size === 'm' || l.size === 's') && text.length > LIM.longTextChars && span(l.col) > LIM.longTextColumns) {
|
|
493
496
|
add(LayoutIssueCode.Reading, `${lp}.col`, `long text is never wider than ${LIM.longTextColumns} columns`);
|
|
494
497
|
}
|
|
495
498
|
if (placed && isText(l) && l.size && l.size !== 'screen' && text && !layoutTextFits(l, s, l.size, judgeColumnPx)) {
|
|
496
499
|
const lines = Math.floor(boxPx(l.col, l.row, s, judgeColumnPx).h / (L.sizePx[l.size] * LAYOUT_LINE_HEIGHT));
|
|
497
|
-
add(LayoutIssueCode.Reading, `${lp}.row`, `${text.length} characters at ${l.size} do not fit a box of ${span(l.col)} columns × ${span(l.row)} rows (about ${Math.max(0, lines)} line${lines === 1 ? '' : 's'}) — give it more rows or columns, or fewer words
|
|
500
|
+
add(LayoutIssueCode.Reading, `${lp}.row`, `${text.length} characters at ${l.size} do not fit a box of ${span(l.col)} columns × ${span(l.row)} rows (about ${Math.max(0, lines)} line${lines === 1 ? '' : 's'}) — give it more rows or columns, or fewer words`, sizeMend);
|
|
498
501
|
}
|
|
499
502
|
if (l.size === 'screen' || l.size === 'xxl') huge++;
|
|
500
503
|
if (l.size === 'screen') {
|
|
@@ -540,7 +543,8 @@ function examineLayout(page: LayoutPage, ctx: CheckLayoutContext, carried: Layou
|
|
|
540
543
|
add(LayoutIssueCode.Motion, `${lp}.enter`, 'decoration only fades ("fade" or "none")', { kind: LayoutMendKind.Fade, layer: lp });
|
|
541
544
|
}
|
|
542
545
|
if ((l.motion ?? []).some(m => m.prop !== LayoutTrackProp.Opacity)) add(LayoutIssueCode.Motion, `${lp}.motion`, 'decoration only fades — opacity tracks only');
|
|
543
|
-
|
|
546
|
+
// iox-ui#131: settled alone — a decoration sent back glides as the floor asks (the salon's and store's pages fell on it).
|
|
547
|
+
if (l.depth === 'front') add(LayoutIssueCode.Motion, `${lp}.depth`, 'decoration never runs ahead — back or mid', { kind: LayoutMendKind.Depth, layers: [lp] });
|
|
544
548
|
}
|
|
545
549
|
if (l.kind === LayoutLayerKind.Shape && !layoutShapeHasPurpose(s, j)) {
|
|
546
550
|
add(LayoutIssueCode.Look, lp, 'a shape that is there for nothing — not a rule (one row high), a band, a frame for a picture or a ground for words, and it does not move: an empty box on the page',
|
|
@@ -647,11 +651,15 @@ function examineLayout(page: LayoutPage, ctx: CheckLayoutContext, carried: Layou
|
|
|
647
651
|
if (preset === 'lead' && !ctx.takesLeads) add(LayoutIssueCode.Content, `${lp}.form.preset`, 'this business takes no leads — use contact or booking');
|
|
648
652
|
}
|
|
649
653
|
if (f?.channel?.href) add(LayoutIssueCode.Content, `${lp}.form.channel.href`, 'no link — the second channel is filled from the owner\'s facts');
|
|
650
|
-
if (span(l.col) < LIM.formColumns)
|
|
654
|
+
if (span(l.col) < LIM.formColumns) {
|
|
655
|
+
const col = formWidening(s, j, LIM.formColumns, lastCol);
|
|
656
|
+
add(LayoutIssueCode.Structure, `${lp}.col`, `a form needs at least ${LIM.formColumns} columns`, col ? { kind: LayoutMendKind.Widen, layer: lp, col } : undefined);
|
|
657
|
+
}
|
|
651
658
|
if (groundPhoto || layers.some(o => o !== l && isPictured(o) && overlaps(o, l))) add(LayoutIssueCode.Reading, lp, 'a form never sits on a photo');
|
|
652
659
|
}
|
|
653
660
|
if (l.kind === LayoutLayerKind.Button) {
|
|
654
|
-
|
|
661
|
+
// A secondary button wears the ink and a line, never the accent (iox-ui#131): it does not count.
|
|
662
|
+
if (l.variant !== LayoutButtonVariant.Secondary) accentUses++;
|
|
655
663
|
if (!l.to) add(LayoutIssueCode.Content, `${lp}.to`, 'a button leads somewhere: a section id or a page route');
|
|
656
664
|
else if (!ids.has(l.to) && !routes.includes(l.to)) {
|
|
657
665
|
add(LayoutIssueCode.Content, `${lp}.to`, `"${l.to}" is not a section id${routes.length ? ` or one of the routes ${routes.join(' | ')}` : ''}`);
|
|
@@ -792,9 +800,11 @@ function examineLayout(page: LayoutPage, ctx: CheckLayoutContext, carried: Layou
|
|
|
792
800
|
if (marquees > LIM.marquees) add(LayoutIssueCode.Structure, 'sections', `${marquees} marquees — at most ${LIM.marquees}`);
|
|
793
801
|
const minDepth = Math.max(0, (look && inList(LIM.calmLooks, look.id) ? LIM.depthLayersCalm : LIM.depthLayers) - carried.layered);
|
|
794
802
|
if (layered < minDepth) {
|
|
803
|
+
// iox-ui#131: the floor follows what the page can hold — every layer that may glide without its words meeting
|
|
804
|
+
// another's takes a depth; a page with none left to give is not refused for it (the salon's Home fell back whole on
|
|
805
|
+
// "4 layers glide — at least 6" with nothing more that could glide).
|
|
795
806
|
const glide = glideChoice(sections, minDepth - layered);
|
|
796
|
-
add(LayoutIssueCode.Motion, 'sections', `${layered} layers glide by depth or drift — at least ${minDepth}`,
|
|
797
|
-
glide.length === minDepth - layered ? { kind: LayoutMendKind.Depth, layers: glide } : undefined);
|
|
807
|
+
if (glide.length) add(LayoutIssueCode.Motion, 'sections', `${layered} layers glide by depth or drift — at least ${minDepth}`, { kind: LayoutMendKind.Depth, layers: glide });
|
|
798
808
|
}
|
|
799
809
|
if (daring) {
|
|
800
810
|
const d = LIM.daring;
|
|
@@ -813,8 +823,9 @@ function examineLayout(page: LayoutPage, ctx: CheckLayoutContext, carried: Layou
|
|
|
813
823
|
if (look) {
|
|
814
824
|
if (accentUses > look.accentMax) {
|
|
815
825
|
const bands = paint ? accentBandMoves(sections, ground => paint.colours[ground], (name, text) => colourHex(name, text)) : [];
|
|
826
|
+
const buttons = accentButtonSteps(sections);
|
|
816
827
|
add(LayoutIssueCode.Look, 'sections', `the accent is on ${accentUses} layers (a button counts, an accent ground twice) — the ${look.id} look allows ${look.accentMax}`,
|
|
817
|
-
{ kind: LayoutMendKind.Accent, over: accentUses - look.accentMax, ...(bands.length ? { bands } : {}) });
|
|
828
|
+
{ kind: LayoutMendKind.Accent, over: accentUses - look.accentMax, ...(bands.length ? { bands } : {}), ...(buttons.length ? { buttons } : {}) });
|
|
818
829
|
}
|
|
819
830
|
if (limits.hugeMax !== undefined && huge > limits.hugeMax) add(LayoutIssueCode.Look, 'sections', `${huge} xxl/screen layers — the ${look.id} look allows ${limits.hugeMax}`);
|
|
820
831
|
if (limits.centerMax !== undefined && textLayers && centered / textLayers > limits.centerMax) {
|
|
@@ -950,6 +961,52 @@ export function auditLayoutMotion(nodes: ReadonlyArray<SerializedNode>): LayoutI
|
|
|
950
961
|
return issues;
|
|
951
962
|
}
|
|
952
963
|
|
|
964
|
+
/** The sizes a near miss may step down from, and the step (iox-ui#131): one step, never below a heading's reading size. */
|
|
965
|
+
const SIZE_STEP_DOWN: Readonly<Partial<Record<`${LayoutSize}`, `${LayoutSize}`>>> = { [LayoutSize.Xxl]: LayoutSize.Xl, [LayoutSize.Xl]: LayoutSize.L, [LayoutSize.L]: LayoutSize.M };
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* iox-ui#131: the size one step down at which a text layer's words fit its box and the size still holds them — the near
|
|
969
|
+
* miss the composer settles. Never the opening's display (a daring page's one large thing — its own rule), never a word set
|
|
970
|
+
* to the screen. Null: the model's.
|
|
971
|
+
*/
|
|
972
|
+
function sizeStepDown(l: LayoutLayer, s: LayoutSection, si: number, columnPx: number, daring: boolean): `${LayoutSize}` | null {
|
|
973
|
+
if (!isText(l) || !l.size) return null;
|
|
974
|
+
const to = SIZE_STEP_DOWN[l.size as `${LayoutSize}`];
|
|
975
|
+
// A daring page's opening keeps its display (the daring rule asks one); any other opening's heading may step too.
|
|
976
|
+
if (!to || (daring && si === 0 && l.size === LayoutSize.Xxl) || l.kind === LayoutLayerKind.Word) return null;
|
|
977
|
+
const max = L.maxChars[to as keyof typeof L.maxChars];
|
|
978
|
+
if (max !== undefined && String(l.text ?? (l.items ?? []).join(" ")).length > max) return null;
|
|
979
|
+
return layoutTextFits(l, s, to, columnPx) ? to : null;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* iox-ui#131: the columns a form narrower than `need` takes by widening into empty cells of its own rows (toward the end,
|
|
984
|
+
* then the start; never over another layer, never past the grid). Null: no room — the model's.
|
|
985
|
+
*/
|
|
986
|
+
function formWidening(s: LayoutSection, li: number, need: number, lastCol: number): [number, number] | null {
|
|
987
|
+
const l = s.layers[li];
|
|
988
|
+
let [c0, c1] = l.col;
|
|
989
|
+
const free = (col: [number, number]) => s.layers.every((o, j) => j === li || !overlaps({ ...l, col }, o));
|
|
990
|
+
while (c1 - c0 < need && c1 + 1 <= lastCol && free([c0, c1 + 1])) c1++;
|
|
991
|
+
while (c1 - c0 < need && c0 - 1 >= 1 && free([c0 - 1, c1])) c0--;
|
|
992
|
+
return c1 - c0 >= need ? [c0, c1] : null;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* The primary buttons the accent mend may step to secondary (iox-ui#131), least important first: later sections first,
|
|
997
|
+
* never the main call to action (the first button that reaches the business — a form's section or a contact word — else
|
|
998
|
+
* the first button). A secondary one already paints no accent.
|
|
999
|
+
*/
|
|
1000
|
+
function accentButtonSteps(sections: ReadonlyArray<LayoutSection>): string[] {
|
|
1001
|
+
const buttons = sections.flatMap((s, si) => (s.layers ?? []).map((l, li) => ({ l, si, li })).filter(({ l }) => l.kind === LayoutLayerKind.Button));
|
|
1002
|
+
const formIds = new Set(sections.filter(s => s.layers?.some(l => l.kind === LayoutLayerKind.Form)).map(s => s.id));
|
|
1003
|
+
const main = buttons.find(({ l }) => formIds.has(String(l.to)) || CONTACT_WORDS.test(`${l.to ?? ''} ${l.text ?? ''}`)) ?? buttons[0];
|
|
1004
|
+
return buttons
|
|
1005
|
+
.filter(b => b !== main && b.l.variant !== LayoutButtonVariant.Secondary)
|
|
1006
|
+
.sort((a, b) => b.si - a.si || b.li - a.li)
|
|
1007
|
+
.map(({ si, li }) => `sections[${si}].layers[${li}]`);
|
|
1008
|
+
}
|
|
1009
|
+
|
|
953
1010
|
/** Most important first: which layers take a depth when too few glide (iox-ui#63). */
|
|
954
1011
|
const GLIDE_ROLE_ORDER: ReadonlyArray<`${LayoutRole}` | undefined> = [LayoutRole.Lead, LayoutRole.Support, undefined, LayoutRole.Decoration];
|
|
955
1012
|
|
|
@@ -1139,11 +1196,30 @@ export function mendLayout(page: LayoutPage, issues: ReadonlyArray<LayoutIssue>)
|
|
|
1139
1196
|
const accented = (next.sections ?? []).flatMap((s, si) => (s.layers ?? []).map(l => ({ l, si })))
|
|
1140
1197
|
.filter(({ l }) => isText(l) && l.color === LayoutColour.Accent)
|
|
1141
1198
|
.sort((a, b) => MEND_ROLE_ORDER.indexOf(a.l.role) - MEND_ROLE_ORDER.indexOf(b.l.role) || b.si - a.si);
|
|
1142
|
-
// words first; a band (an accent ground counts twice) only for what the words cannot give back
|
|
1143
|
-
|
|
1144
|
-
|
|
1199
|
+
// words first; a band (an accent ground counts twice) only for what the words cannot give back; then a primary
|
|
1200
|
+
// button that is not the main call to action steps to secondary (iox-ui#131)
|
|
1201
|
+
const available = mend.bands?.length ?? 0;
|
|
1202
|
+
let bands = accented.length >= mend.over ? 0 : Math.ceil((mend.over - accented.length) / ACCENT_GROUND_USES);
|
|
1203
|
+
let steps: LayoutLayer[] = [];
|
|
1204
|
+
if (bands > available) {
|
|
1205
|
+
bands = available;
|
|
1206
|
+
const need = mend.over - accented.length - available * ACCENT_GROUND_USES;
|
|
1207
|
+
steps = (mend.buttons ?? []).map(layerAt).filter((b): b is LayoutLayer => !!b).slice(0, need);
|
|
1208
|
+
if (steps.length < need) continue;
|
|
1209
|
+
}
|
|
1145
1210
|
for (const band of (mend.bands ?? []).slice(0, bands)) next.sections[band.section].ground = band.ground;
|
|
1146
|
-
for (const { l } of accented.slice(0, Math.max(0, mend.over - bands * ACCENT_GROUND_USES))) delete l.color;
|
|
1211
|
+
for (const { l } of accented.slice(0, Math.max(0, mend.over - bands * ACCENT_GROUND_USES - steps.length))) delete l.color;
|
|
1212
|
+
for (const b of steps) b.variant = LayoutButtonVariant.Secondary;
|
|
1213
|
+
mended.push(issue);
|
|
1214
|
+
} else if (mend?.kind === LayoutMendKind.Size) {
|
|
1215
|
+
const layer = layerAt(mend.layer);
|
|
1216
|
+
if (!layer) continue;
|
|
1217
|
+
layer.size = mend.size;
|
|
1218
|
+
mended.push(issue);
|
|
1219
|
+
} else if (mend?.kind === LayoutMendKind.Widen) {
|
|
1220
|
+
const layer = layerAt(mend.layer);
|
|
1221
|
+
if (!layer) continue;
|
|
1222
|
+
layer.col = [...mend.col] as [number, number];
|
|
1147
1223
|
mended.push(issue);
|
|
1148
1224
|
} else if (mend?.kind === LayoutMendKind.Depth) {
|
|
1149
1225
|
const layers = mend.layers.map(layerAt);
|
|
@@ -1220,3 +1296,36 @@ export function mendLayout(page: LayoutPage, issues: ReadonlyArray<LayoutIssue>)
|
|
|
1220
1296
|
}
|
|
1221
1297
|
return { page: mended.length ? next : page, mended };
|
|
1222
1298
|
}
|
|
1299
|
+
|
|
1300
|
+
/** How many times the composer settles a page: a mend can make the next one possible (an accent band moved, then a
|
|
1301
|
+
* depth that no longer meets it), never more. */
|
|
1302
|
+
export const LAYOUT_SETTLE_PASSES = 3;
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* iox-ui#131: settle a page as far as the composer can — the mends of what the gate finds, then the gate again on the
|
|
1306
|
+
* mended page, until nothing more is settled (at most `LAYOUT_SETTLE_PASSES`). `issuesOf` is the whole gate the page is
|
|
1307
|
+
* judged by (static + sameness). What is left after it is the model's, or the section fallback's. Pure.
|
|
1308
|
+
*/
|
|
1309
|
+
export function settleLayoutPage(page: LayoutPage, issuesOf: (page: LayoutPage) => ReadonlyArray<LayoutIssue>): { page: LayoutPage; mended: LayoutIssue[] } {
|
|
1310
|
+
let current = page;
|
|
1311
|
+
const mended: LayoutIssue[] = [];
|
|
1312
|
+
for (let pass = 0; pass < LAYOUT_SETTLE_PASSES; pass++) {
|
|
1313
|
+
const settled = mendLayout(current, issuesOf(current));
|
|
1314
|
+
if (!settled.mended.length) break;
|
|
1315
|
+
current = settled.page;
|
|
1316
|
+
mended.push(...settled.mended);
|
|
1317
|
+
}
|
|
1318
|
+
return { page: current, mended };
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
/** iox-ui#131: at most this many things left after the one repair is a near miss — asked once more, not given away. */
|
|
1322
|
+
export const LAYOUT_NEAR_MISS = 2;
|
|
1323
|
+
|
|
1324
|
+
/**
|
|
1325
|
+
* iox-ui#131: a repaired page that came close — at most `LAYOUT_NEAR_MISS` things left, and fewer than the check found
|
|
1326
|
+
* before the repair (the model is converging, not wandering) — gets a second repair before its sections are given away.
|
|
1327
|
+
* Pure: the service and a replay ask the same question.
|
|
1328
|
+
*/
|
|
1329
|
+
export function layoutNearMiss(before: ReadonlyArray<LayoutIssue>, after: ReadonlyArray<LayoutIssue>): boolean {
|
|
1330
|
+
return after.length > 0 && after.length <= LAYOUT_NEAR_MISS && after.length < before.length;
|
|
1331
|
+
}
|
|
@@ -73,6 +73,9 @@ export interface FingerprintedPage {
|
|
|
73
73
|
* by the "same kind of business" clauses — every page of a site is the same kind of business (m8-gate2 §16;
|
|
74
74
|
* vectoriox/iox-ui#96: an award site's pages fell back, each refused against the site's own Workshops page). */
|
|
75
75
|
sameSite?: boolean;
|
|
76
|
+
/** The layout the owner asked to replace (Try another layout): its order of sections is judged by plain share — a new
|
|
77
|
+
* layout must not be the same page with one section swapped (iox-ui#131 keeps `sequenceRepeats` for other sites). */
|
|
78
|
+
replaced?: boolean;
|
|
76
79
|
}
|
|
77
80
|
|
|
78
81
|
const OPENING_SCREEN_WORD = 'screen-word';
|
|
@@ -210,6 +213,23 @@ export function sequenceShare(a: ReadonlyArray<string>, b: ReadonlyArray<string>
|
|
|
210
213
|
return lcs(a, b) / Math.max(1, a.length, b.length);
|
|
211
214
|
}
|
|
212
215
|
|
|
216
|
+
/** The sections every page is built from — what two pages share without repeating each other (iox-ui#131): a plain
|
|
217
|
+
* composition, a split, an inhale. */
|
|
218
|
+
const GLUE_TOKENS: ReadonlySet<string> = new Set([LayoutSequenceToken.Composition, LayoutSequenceToken.Split, LayoutSequenceToken.Inhale]);
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* iox-ui#131: a REAL repeat of a page's order of sections — most of the sequence shared (`SPEC_SITE_LAYOUT.sameness.sequence`)
|
|
222
|
+
* AND as much of its distinctive sections (held, sideways, a photo ground, a gallery, a list mix…), in order. Two pages
|
|
223
|
+
* that hold their story in different ways are not one page twice because both are mostly plain compositions (the hotel's
|
|
224
|
+
* visit page was refused as "Boutique law firm · Contact": held vs held-words). Two pages of glue alone are a repeat.
|
|
225
|
+
*/
|
|
226
|
+
export function sequenceRepeats(a: ReadonlyArray<string>, b: ReadonlyArray<string>): boolean {
|
|
227
|
+
if (sequenceShare(a, b) < SPEC_SITE_LAYOUT.sameness.sequence) return false;
|
|
228
|
+
const marks = (s: ReadonlyArray<string>) => s.filter(t => !GLUE_TOKENS.has(t));
|
|
229
|
+
const [x, y] = [marks(a), marks(b)];
|
|
230
|
+
return (!x.length && !y.length) || sequenceShare(x, y) >= SPEC_SITE_LAYOUT.sameness.sequence;
|
|
231
|
+
}
|
|
232
|
+
|
|
213
233
|
/** #129: an opening mix's token (`opening:<frame>/<media>/<words>`, opening-mix `openingTokenOf`) — a type-led first
|
|
214
234
|
* screen's. Literal here: importing opening-mix from this module reorders the generation-core load (a cycle). */
|
|
215
235
|
const MIX_OPENING = 'opening:';
|
|
@@ -223,7 +243,8 @@ const signatureWords = (id: string) => SPEC_SITE_LAYOUT.signatures.find(s => s.i
|
|
|
223
243
|
/**
|
|
224
244
|
* Refuses a page that repeats one already made (M8-G2-D7): most of the same sequence (`SPEC_SITE_LAYOUT.sameness.sequence`,
|
|
225
245
|
* 6 of 7), or the same opening AND signature; against a page of the same business type, the same opening or the same
|
|
226
|
-
* signature alone — never a page of THIS site (`sameSite
|
|
246
|
+
* signature alone — never a page of THIS site (`sameSite`, iox-ui#131). The sequence is a repeat only when the distinctive
|
|
247
|
+
* sections agree too (`sequenceRepeats`), and is compared with real pages only — never a
|
|
227
248
|
* demo's (Doron, 2026-11-09: the proof sites' order is the product's grammar, not someone's site). The look is the
|
|
228
249
|
* owner's pick and is never a reason.
|
|
229
250
|
*/
|
|
@@ -233,8 +254,11 @@ export function samenessIssues(me: LayoutFingerprint, others: ReadonlyArray<Fing
|
|
|
233
254
|
issues.push({ code: LayoutIssueCode.Sameness, path, message });
|
|
234
255
|
};
|
|
235
256
|
for (const o of others) {
|
|
257
|
+
// iox-ui#131: sameness is judged against the studio's OTHER sites only — a page of this site is never a reason (it
|
|
258
|
+
// is named in the brief, never refused; m8-gate2 §16 reversed, the lead 2026-11-24).
|
|
259
|
+
if (o.sameSite) continue;
|
|
236
260
|
const them = o.fingerprint;
|
|
237
|
-
const sameType =
|
|
261
|
+
const sameType = !!businessType && o.businessType === businessType;
|
|
238
262
|
const opening = me.opening === them.opening;
|
|
239
263
|
const signature = me.signature === them.signature;
|
|
240
264
|
if (opening && (signature || sameType)) add('sections[0]', `"${o.name}" already opens on ${openingWords(them.opening)}${sameType ? ', and it is the same kind of business' : ` with ${signatureWords(them.signature)}`} — open another way`);
|
|
@@ -243,7 +267,8 @@ export function samenessIssues(me: LayoutFingerprint, others: ReadonlyArray<Fing
|
|
|
243
267
|
if (sameType) for (const token of (me.lists ?? []).filter(t => (them.lists ?? []).includes(t))) {
|
|
244
268
|
add('sections', `"${o.name}" already shows a list as ${listWords(token)}, and it is the same kind of business — mix this list another way`);
|
|
245
269
|
}
|
|
246
|
-
|
|
270
|
+
const repeats = o.replaced ? sequenceShare(me.sequence, them.sequence) >= SPEC_SITE_LAYOUT.sameness.sequence : sequenceRepeats(me.sequence, them.sequence);
|
|
271
|
+
if (!o.demo && repeats) {
|
|
247
272
|
add('sections', `your sequence (${me.sequence.join(' → ')}) repeats "${o.name}"'s (${them.sequence.join(' → ')}) — change the order and the kinds of sections`);
|
|
248
273
|
}
|
|
249
274
|
}
|