@vectoriox/iox-ui 5.188.0 → 5.190.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 +213 -57
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +62 -5
- package/package.json +1 -1
- package/src/generation-core/pictures.ts +8 -21
- package/src/generation-core/stock-photos.ts +82 -13
- package/src/generation-core/type-led.ts +120 -4
|
@@ -13845,6 +13845,10 @@ declare enum TypeLedChangeKind {
|
|
|
13845
13845
|
* retired kinds `layout-section`, `layout-words` and `layout` handed composed sections or pages back to ready-made
|
|
13846
13846
|
* sections; a stored run's words for them stay as they were said. */
|
|
13847
13847
|
Plate = "plate",
|
|
13848
|
+
/** iox-ui#129 round 3 (J10 2026-11-26, "plates read as empty halves"): a still plate as large as a half of its section,
|
|
13849
|
+
* beside the section's words, gives its place to them — the lead takes the whole width, the words under
|
|
13850
|
+
* it move into the plate's columns, and the plate stays (same index) as the look's rule above the words. */
|
|
13851
|
+
Yield = "yield",
|
|
13848
13852
|
/** A list's items have no picture at all: its cards show no picture part. */
|
|
13849
13853
|
List = "list"
|
|
13850
13854
|
}
|
|
@@ -13907,6 +13911,25 @@ declare function typeLedPlateColour(section: Pick<LayoutSection, 'layers'>, grou
|
|
|
13907
13911
|
* phone a shape is hidden, as every shape is: the words stack on the section's ground. Pure.
|
|
13908
13912
|
*/
|
|
13909
13913
|
declare function typeLedPlates(section: LayoutSection, plates: ReadonlySet<number>, ground: boolean, calm: boolean): LayoutSection;
|
|
13914
|
+
/** The least share of a screen's 12 columns, and of its section's rows, a still plate covers to read as a missing half. */
|
|
13915
|
+
declare const YIELD_MIN_COLUMNS = 4;
|
|
13916
|
+
declare const YIELD_MIN_ROW_SHARE = 0.6;
|
|
13917
|
+
/**
|
|
13918
|
+
* Does the plate at `li` read as an empty HALF (J10 2026-11-26: "a small block of words on the left, the right half a pale
|
|
13919
|
+
* plate")? A still picture layer (no scroll motion — a moving plate is the signature's body, it stays), in a section that is
|
|
13920
|
+
* not held or sideways, at least `YIELD_MIN_COLUMNS` wide and `YIELD_MIN_ROW_SHARE` of the rows tall, no words over it, and
|
|
13921
|
+
* words BESIDE it — rows shared, columns not — all on one side. Pure.
|
|
13922
|
+
*/
|
|
13923
|
+
declare function plateYields(section: LayoutSection, li: number): boolean;
|
|
13924
|
+
/**
|
|
13925
|
+
* The section re-laid TYPE-LED around a plate that yields (`plateYields`), every layer at its index (so every node id, the
|
|
13926
|
+
* phone order and the rows stay): the lead (role lead, else the largest heading or word) takes the width the words and the
|
|
13927
|
+
* plate shared (its size stays the look's: a heading wears its element style); the words under the lead move together
|
|
13928
|
+
* into the plate's columns (an editorial split — type on both halves); the plate becomes the look's RULE (`isLayoutRule`:
|
|
13929
|
+
* one row, no words on it, `yieldRuleCell`); with no free row it stands in the section's own ground. A calm look's rule is
|
|
13930
|
+
* the ink, else the accent. Columns are logical: RTL mirrors as every layer does. Pure.
|
|
13931
|
+
*/
|
|
13932
|
+
declare function typeLedYield(section: LayoutSection, li: number, calm: boolean): LayoutSection;
|
|
13910
13933
|
/** What a type-led round needs of the build beyond the plan: its tier and the studio's memory. */
|
|
13911
13934
|
interface TypeLedRoundContext {
|
|
13912
13935
|
tier?: `${GenerationTier}`;
|
|
@@ -17326,7 +17349,17 @@ interface StockSlot extends StockNeed {
|
|
|
17326
17349
|
nodeId: string;
|
|
17327
17350
|
/** The page key it lives on. */
|
|
17328
17351
|
owner: string;
|
|
17329
|
-
|
|
17352
|
+
/**
|
|
17353
|
+
* The section family it is in (`hero`, `story`…), read from the section root's own stamp (`sectionPictureFamily`,
|
|
17354
|
+
* iox-ui#160). Absent on a slot written before #160 — read from `pattern` then.
|
|
17355
|
+
*/
|
|
17356
|
+
family?: string;
|
|
17357
|
+
/** The library pattern the section was stamped from; absent for a section a model laid out (`layout`). */
|
|
17358
|
+
pattern?: string;
|
|
17359
|
+
/** A model-laid (or free) section's id — its stamp's `composed.layout`. */
|
|
17360
|
+
layout?: string;
|
|
17361
|
+
/** What the section says — its plan section's slots, or a laid section's own words — cut to a prompt's length. */
|
|
17362
|
+
about?: string;
|
|
17330
17363
|
}
|
|
17331
17364
|
/** The image field of a sample item (a product, a service, a dish) a stock photo may fill. */
|
|
17332
17365
|
interface StockItemSlot extends StockNeed {
|
|
@@ -17373,12 +17406,36 @@ declare function planOwnPhotos(slots: ReadonlyArray<StockTarget>, photos: Readon
|
|
|
17373
17406
|
declare function applyOwnPhotoGalleries(plan: Pick<SitePlan, 'contentTypes'>, items: Readonly<Record<string, ReadonlyArray<Record<string, unknown>>>>, photos: ReadonlyArray<string | OwnPhoto>): number;
|
|
17374
17407
|
/** Where a photo may not appear twice: one page; one content type's samples (a list shows them together). */
|
|
17375
17408
|
declare function stockGroupOf(target: StockTarget): string;
|
|
17409
|
+
/** The family a model-laid section stands as for its pictures (iox-ui#160): the page's first section opens it… */
|
|
17410
|
+
declare const LAID_FIRST_FAMILY = "hero";
|
|
17411
|
+
/** …a section holding a form, or any section of a contact page, is where to find the business… */
|
|
17412
|
+
declare const LAID_CONTACT_FAMILY = "contact";
|
|
17413
|
+
/** …and any other is a detail of the work. */
|
|
17414
|
+
declare const LAID_PLAIN_FAMILY = "feature";
|
|
17415
|
+
/** What a composed section root is, for the pictures it may take: its family, and where it came from. */
|
|
17416
|
+
interface SectionPictureFamily {
|
|
17417
|
+
family: string;
|
|
17418
|
+
pattern?: string;
|
|
17419
|
+
layout?: string;
|
|
17420
|
+
}
|
|
17421
|
+
/**
|
|
17422
|
+
* A composed section root's family, read from its OWN stamp (`composed`, section-stamp.ts) — never from its index in the
|
|
17423
|
+
* plan's sections (iox-ui#160: on a page a model laid out the roots are the LAYOUT's sections, more of them than the
|
|
17424
|
+
* plan's, so 33 of 61 J10 photos were never offered to any picture source). A library pattern (a pattern page, a
|
|
17425
|
+
* ready-made place, an opening that took a ready-made place) is its pattern's family. A model-laid section (`layout`,
|
|
17426
|
+
* and the free stamp's) is `hero` when it opens the page, `contact` when it holds a Form or its page is a contact page,
|
|
17427
|
+
* else `feature`. An unstamped root (an owner's kept section, a legal page's) is none: the build never fills it.
|
|
17428
|
+
*/
|
|
17429
|
+
declare function sectionPictureFamily(root: SerializedNode, index: number, page: Pick<PagePlan, 'archetype'> | undefined): SectionPictureFamily | null;
|
|
17376
17430
|
/**
|
|
17377
17431
|
* The empty picture slots of a composed site a stock photo may fill, in page and section order — each with its intent
|
|
17378
|
-
* (the section's family), its aspect, and the words around it: the text beside
|
|
17379
|
-
* the page's name and
|
|
17432
|
+
* (the section's family, from its stamp: `sectionPictureFamily`), its aspect, and the words around it: the text beside
|
|
17433
|
+
* it (its row), what the section says (its plan section's slots, or a laid section's own words) and the page's name and
|
|
17434
|
+
* search words.
|
|
17380
17435
|
*/
|
|
17381
17436
|
declare function stockSlots(plan: SitePlan, composed: Pick<ComposedSite, 'pages' | 'placeholders'>): StockSlot[];
|
|
17437
|
+
/** A section slot's family: its stamp's (`family`), else — a slot written before iox-ui#160 — its pattern's. */
|
|
17438
|
+
declare function stockSlotFamily(slot: Pick<StockSlot, 'family' | 'pattern'>): string;
|
|
17382
17439
|
/**
|
|
17383
17440
|
* The sample items' pictures a stock photo may fill: per content type with an `image` role, each MARKED sample whose
|
|
17384
17441
|
* image is still a bundled sample (`{sampleImage:k}`), with the type's and the item's own words.
|
|
@@ -19884,5 +19941,5 @@ declare function siteTreeOf(studio: SiteStudio): SiteTree;
|
|
|
19884
19941
|
* its phone menu, the footer's copyright line. */
|
|
19885
19942
|
declare function siteGlobalsOf(globals: ReadonlyArray<SerializedNode>): SiteTreeGlobals | null;
|
|
19886
19943
|
|
|
19887
|
-
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_PICTURE_MAKERS, 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, AiPictureMaker, 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, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, 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_INSET_STYLES, 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, FooterNameStyle, 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, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, 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_DISSOLVE, 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_TOKENS_UNKNOWN_MAKER, 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, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, 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, PopupMixError, PopupRefusal, 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, SCRIM_WORDS_PAD, 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, TEMPLATE_TYPE_WORDS, 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, boxSides, 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, checkPopup, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePopup, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contactFactsOf, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, 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, figuresNotIn, fillContactFacts, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerAtTier, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, 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, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, joinPageHeader, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, 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, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, 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, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, 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, patternPartSlots, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, popupKeptNotices, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, 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, stampFooterMix, 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, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, 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 };
|
|
19888
|
-
export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiPictureMakerRow, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildComposeDecisions, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeFreeOptions, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContactBusiness, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DistinctFallback, DrawersTiming, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, ExpandedFreeWire, FactKey, FilmPlacement, FilmTarget, FindingParams, FindingSentence, FingerprintedPage, FooterContext, FooterMix, FooterNever, FooterRepair, FooterWait, FrameRegion, FreeFallback, FreeFallbackPrompt, FreeIssue, FreeJudgeContext, FreeMove, FreeNode, FreePage, FreeRead, FreeSlotOffer, FreeSlotOptions, FreeStamped, FreeStyle, FreeWalked, FreeWire, FreeWireFault, FreeWireNode, FreeWireOptions, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, ImportPlan, ImportPlanInput, ImportReading, ImportRedirect, ImportedHome, ImportedItem, ImportedList, ImportedPage, JsonSchema, KeptPageRefusal, LayerMetrics, 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, PlanPopupLines, PlanStatedFact, PlanWireContext, PlanWireOptions, PlanWireParts, PlanWordContext, PlanWordIssue, PlannedPopup, PopupCheck, PopupMixWords, 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, SectionFallbackOptions, 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 };
|
|
19944
|
+
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_PICTURE_MAKERS, 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, AiPictureMaker, 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, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, 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_INSET_STYLES, 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, FooterNameStyle, 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, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAID_CONTACT_FAMILY, LAID_FIRST_FAMILY, LAID_PLAIN_FAMILY, 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_DISSOLVE, 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_TOKENS_UNKNOWN_MAKER, 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, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, 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, PopupMixError, PopupRefusal, 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, SCRIM_WORDS_PAD, 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, TEMPLATE_TYPE_WORDS, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, YIELD_MIN_COLUMNS, YIELD_MIN_ROW_SHARE, 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, boxSides, 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, checkPopup, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePopup, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contactFactsOf, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, 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, figuresNotIn, fillContactFacts, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerAtTier, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, 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, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, joinPageHeader, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, 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, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, 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, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, 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, patternPartSlots, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, plateYields, popupKeptNotices, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, 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, sectionPictureFamily, 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, stampFooterMix, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlotFamily, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, typeLedRound, typeLedSection, typeLedYield, 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 };
|
|
19945
|
+
export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiPictureMakerRow, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildComposeDecisions, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeFreeOptions, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContactBusiness, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DistinctFallback, DrawersTiming, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, ExpandedFreeWire, FactKey, FilmPlacement, FilmTarget, FindingParams, FindingSentence, FingerprintedPage, FooterContext, FooterMix, FooterNever, FooterRepair, FooterWait, FrameRegion, FreeFallback, FreeFallbackPrompt, FreeIssue, FreeJudgeContext, FreeMove, FreeNode, FreePage, FreeRead, FreeSlotOffer, FreeSlotOptions, FreeStamped, FreeStyle, FreeWalked, FreeWire, FreeWireFault, FreeWireNode, FreeWireOptions, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, ImportPlan, ImportPlanInput, ImportReading, ImportRedirect, ImportedHome, ImportedItem, ImportedList, ImportedPage, JsonSchema, KeptPageRefusal, LayerMetrics, 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, PlanPopupLines, PlanStatedFact, PlanWireContext, PlanWireOptions, PlanWireParts, PlanWordContext, PlanWordIssue, PlannedPopup, PopupCheck, PopupMixWords, 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, SectionFallbackOptions, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionPictureFamily, 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
|
@@ -4,11 +4,10 @@ import { AiStep, AiTokenPrice, creditsOfUsd, estimateStepCredits, typicalStepTok
|
|
|
4
4
|
import { ArtDirection, artDirectionPreamble } from './art-direction';
|
|
5
5
|
import { ComposedSite } from './compose-site';
|
|
6
6
|
import { jsonBoolean, jsonClosedObject, JsonSchema, jsonText } from './json-schema';
|
|
7
|
-
import { patternById } from './patterns';
|
|
8
7
|
import { SerializedNode, walkSerialized } from './serialized-node';
|
|
9
8
|
import { SitePlan } from './site-plan.model';
|
|
10
9
|
import { STOCK_INTENT_ORDER, StockIntent } from './stock-match';
|
|
11
|
-
import { OwnPhoto, OwnPhotoPlacement, planOwnPhotos, stockItemSlots, StockSlotKind, stockSlots, StockTarget } from './stock-photos';
|
|
10
|
+
import { OwnPhoto, OwnPhotoPlacement, planOwnPhotos, stockItemSlots, StockSlotKind, stockSlotFamily, stockSlots, StockTarget } from './stock-photos';
|
|
12
11
|
|
|
13
12
|
/**
|
|
14
13
|
* Pictures MADE for a site (premium-components M7, AI plan I3, premium sites PS4) — pure and deterministic: which picture
|
|
@@ -126,13 +125,11 @@ export function pictureAspect(aspect: number | undefined): string {
|
|
|
126
125
|
return best;
|
|
127
126
|
}
|
|
128
127
|
|
|
129
|
-
interface NodeAt { node: SerializedNode; parent?: SerializedNode
|
|
128
|
+
interface NodeAt { node: SerializedNode; parent?: SerializedNode }
|
|
130
129
|
|
|
131
130
|
function indexNodes(composed: Pick<ComposedSite, 'pages'>): Map<string, NodeAt> {
|
|
132
131
|
const at = new Map<string, NodeAt>();
|
|
133
|
-
composed.pages.
|
|
134
|
-
walkSerialized([root], (node, ancestors) => at.set(node.id, { node, parent: ancestors[ancestors.length - 1], section: s, page: p }));
|
|
135
|
-
}));
|
|
132
|
+
walkSerialized(composed.pages.flatMap(page => page.layout), (node, ancestors) => at.set(node.id, { node, parent: ancestors[ancestors.length - 1] }));
|
|
136
133
|
return at;
|
|
137
134
|
}
|
|
138
135
|
|
|
@@ -153,21 +150,11 @@ export function wordsOverPicture(node: SerializedNode, parent: SerializedNode |
|
|
|
153
150
|
return { area: { edge, share }, scrimNodeId: scrim.id };
|
|
154
151
|
}
|
|
155
152
|
|
|
156
|
-
const SECTION_TEXT_MAX = 160;
|
|
157
|
-
|
|
158
|
-
/** What a section says (its slots, in the plan's words), cut to a prompt's length. */
|
|
159
|
-
function sectionText(plan: SitePlan, page: number, section: number): string {
|
|
160
|
-
const slots = plan.pages[page]?.sections[section]?.slots ?? {};
|
|
161
|
-
const text = Object.values(slots).filter((v): v is string => typeof v === 'string' && !!v.trim()).join(' — ').replace(/<[^>]*>/g, ' ').replace(/\s+/g, ' ').trim();
|
|
162
|
-
return text.length > SECTION_TEXT_MAX ? `${text.slice(0, SECTION_TEXT_MAX - 1).trimEnd()}…` : text;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
153
|
/** Why `target` never gets a made picture, or null. */
|
|
166
154
|
export function pictureRefusalOf(target: StockTarget, stockAllowed: boolean): PictureRefusal | null {
|
|
167
155
|
if (!stockAllowed) return PictureRefusal.OwnWork;
|
|
168
156
|
if (target.kind === StockSlotKind.Item) return PictureRefusal.Product;
|
|
169
|
-
|
|
170
|
-
return PICTURE_REAL_PLACE_FAMILIES.has(family) ? PictureRefusal.RealPlace : null;
|
|
157
|
+
return PICTURE_REAL_PLACE_FAMILIES.has(stockSlotFamily(target)) ? PictureRefusal.RealPlace : null;
|
|
171
158
|
}
|
|
172
159
|
|
|
173
160
|
const intentRank = (intent: string) => STOCK_INTENT_ORDER.indexOf(intent as StockIntent);
|
|
@@ -188,20 +175,20 @@ export function planPictures(plan: SitePlan, composed: Pick<ComposedSite, 'pages
|
|
|
188
175
|
const key = pictureSlotKey(target);
|
|
189
176
|
const reason = pictureRefusalOf(target, opts.stockAllowed) ?? (make.length >= max ? PictureRefusal.Limit : null);
|
|
190
177
|
if (reason) { refused.push({ key, reason }); continue; }
|
|
191
|
-
make.push(pictureSlotOf(
|
|
178
|
+
make.push(pictureSlotOf(target, key, nodes));
|
|
192
179
|
}
|
|
193
180
|
return { own, make, refused };
|
|
194
181
|
}
|
|
195
182
|
|
|
196
|
-
function pictureSlotOf(
|
|
183
|
+
function pictureSlotOf(target: StockTarget, key: string, nodes: Map<string, NodeAt>): PictureSlot {
|
|
197
184
|
const base = { key, target, intent: target.intent, ratio: pictureAspect(target.aspect) };
|
|
198
185
|
if (target.kind !== StockSlotKind.Section) return { ...base, family: '', text: '' };
|
|
199
186
|
const at = nodes.get(target.nodeId);
|
|
200
187
|
const over = at ? wordsOverPicture(at.node, at.parent) : null;
|
|
201
188
|
return {
|
|
202
189
|
...base,
|
|
203
|
-
family:
|
|
204
|
-
text:
|
|
190
|
+
family: stockSlotFamily(target),
|
|
191
|
+
text: target.about ?? '',
|
|
205
192
|
...(over ? { wordsArea: over.area, scrimNodeId: over.scrimNodeId } : {}),
|
|
206
193
|
};
|
|
207
194
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComposedSite, parseSampleImageRef, PlaceholderKind } from './compose-site';
|
|
2
2
|
import { patternById } from './patterns';
|
|
3
3
|
import { createSerializedNode, SerializedNode, walkSerialized } from './serialized-node';
|
|
4
|
-
import { ContentRole, roleField, ShopResource, SitePlan } from './site-plan.model';
|
|
4
|
+
import { ContentRole, PagePlan, PageSectionPlan, roleField, ShopResource, SitePlan } from './site-plan.model';
|
|
5
5
|
import { SHOP_ROLES } from './shop-plan';
|
|
6
6
|
import {
|
|
7
7
|
aspectRatioOf, scoreStockPhoto, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, StockIntent, StockNeed, stockFits, StockPhotoTraits, stockPhotoUsable,
|
|
@@ -108,7 +108,17 @@ export interface StockSlot extends StockNeed {
|
|
|
108
108
|
nodeId: string;
|
|
109
109
|
/** The page key it lives on. */
|
|
110
110
|
owner: string;
|
|
111
|
-
|
|
111
|
+
/**
|
|
112
|
+
* The section family it is in (`hero`, `story`…), read from the section root's own stamp (`sectionPictureFamily`,
|
|
113
|
+
* iox-ui#160). Absent on a slot written before #160 — read from `pattern` then.
|
|
114
|
+
*/
|
|
115
|
+
family?: string;
|
|
116
|
+
/** The library pattern the section was stamped from; absent for a section a model laid out (`layout`). */
|
|
117
|
+
pattern?: string;
|
|
118
|
+
/** A model-laid (or free) section's id — its stamp's `composed.layout`. */
|
|
119
|
+
layout?: string;
|
|
120
|
+
/** What the section says — its plan section's slots, or a laid section's own words — cut to a prompt's length. */
|
|
121
|
+
about?: string;
|
|
112
122
|
}
|
|
113
123
|
|
|
114
124
|
/** The image field of a sample item (a product, a service, a dish) a stock photo may fill. */
|
|
@@ -241,28 +251,82 @@ function textOf(nodes: ReadonlyArray<SerializedNode>, skip: string): string[] {
|
|
|
241
251
|
return out;
|
|
242
252
|
}
|
|
243
253
|
|
|
254
|
+
/** The family a model-laid section stands as for its pictures (iox-ui#160): the page's first section opens it… */
|
|
255
|
+
export const LAID_FIRST_FAMILY = 'hero';
|
|
256
|
+
/** …a section holding a form, or any section of a contact page, is where to find the business… */
|
|
257
|
+
export const LAID_CONTACT_FAMILY = 'contact';
|
|
258
|
+
/** …and any other is a detail of the work. */
|
|
259
|
+
export const LAID_PLAIN_FAMILY = 'feature';
|
|
260
|
+
const CONTACT_ARCHETYPE = 'contact';
|
|
261
|
+
const FORM = 'Form';
|
|
262
|
+
|
|
263
|
+
/** What a composed section root is, for the pictures it may take: its family, and where it came from. */
|
|
264
|
+
export interface SectionPictureFamily {
|
|
265
|
+
family: string;
|
|
266
|
+
pattern?: string;
|
|
267
|
+
layout?: string;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* A composed section root's family, read from its OWN stamp (`composed`, section-stamp.ts) — never from its index in the
|
|
272
|
+
* plan's sections (iox-ui#160: on a page a model laid out the roots are the LAYOUT's sections, more of them than the
|
|
273
|
+
* plan's, so 33 of 61 J10 photos were never offered to any picture source). A library pattern (a pattern page, a
|
|
274
|
+
* ready-made place, an opening that took a ready-made place) is its pattern's family. A model-laid section (`layout`,
|
|
275
|
+
* and the free stamp's) is `hero` when it opens the page, `contact` when it holds a Form or its page is a contact page,
|
|
276
|
+
* else `feature`. An unstamped root (an owner's kept section, a legal page's) is none: the build never fills it.
|
|
277
|
+
*/
|
|
278
|
+
export function sectionPictureFamily(root: SerializedNode, index: number, page: Pick<PagePlan, 'archetype'> | undefined): SectionPictureFamily | null {
|
|
279
|
+
const stamp = root.composed;
|
|
280
|
+
if (stamp?.pattern) {
|
|
281
|
+
const family = patternById(stamp.pattern)?.family;
|
|
282
|
+
return family ? { family, pattern: stamp.pattern } : null;
|
|
283
|
+
}
|
|
284
|
+
if (!stamp?.layout) return null;
|
|
285
|
+
if (index === 0) return { family: LAID_FIRST_FAMILY, layout: stamp.layout };
|
|
286
|
+
let form = false;
|
|
287
|
+
walkSerialized([root], n => { if (n.type === FORM) form = true; });
|
|
288
|
+
return { family: form || page?.archetype === CONTACT_ARCHETYPE ? LAID_CONTACT_FAMILY : LAID_PLAIN_FAMILY, layout: stamp.layout };
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/** A pattern root's plan section: the one at its place on a page of patterns (an opening put first shifts them), else the
|
|
292
|
+
* page's section of that pattern (a ready-made place of a laid or free page). */
|
|
293
|
+
function planSectionOf(page: PagePlan, roots: number, index: number, pattern: string): PageSectionPlan | undefined {
|
|
294
|
+
const aligned = !page.layout && !page.free ? page.sections[index - (roots - page.sections.length)] : undefined;
|
|
295
|
+
return aligned?.pattern === pattern ? aligned : page.sections.find(s => s.pattern === pattern);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
const SECTION_ABOUT_MAX = 160;
|
|
299
|
+
|
|
300
|
+
/** Words as a prompt carries them: the non-empty ones joined, markup gone, cut to a prompt's length. */
|
|
301
|
+
function aboutOf(values: ReadonlyArray<unknown>): string {
|
|
302
|
+
const text = values.filter((v): v is string => typeof v === 'string' && !!v.trim()).join(' — ').replace(/<[^>]*>/g, ' ').replace(/\s+/g, ' ').trim();
|
|
303
|
+
return text.length > SECTION_ABOUT_MAX ? `${text.slice(0, SECTION_ABOUT_MAX - 1).trimEnd()}…` : text;
|
|
304
|
+
}
|
|
305
|
+
|
|
244
306
|
/**
|
|
245
307
|
* The empty picture slots of a composed site a stock photo may fill, in page and section order — each with its intent
|
|
246
|
-
* (the section's family), its aspect, and the words around it: the text beside
|
|
247
|
-
* the page's name and
|
|
308
|
+
* (the section's family, from its stamp: `sectionPictureFamily`), its aspect, and the words around it: the text beside
|
|
309
|
+
* it (its row), what the section says (its plan section's slots, or a laid section's own words) and the page's name and
|
|
310
|
+
* search words.
|
|
248
311
|
*/
|
|
249
312
|
export function stockSlots(plan: SitePlan, composed: Pick<ComposedSite, 'pages' | 'placeholders'>): StockSlot[] {
|
|
250
313
|
const empty = new Set(composed.placeholders.filter(p => p.kind === PlaceholderKind.Image).map(p => p.nodeId));
|
|
251
314
|
const out: StockSlot[] = [];
|
|
252
|
-
composed.pages.forEach(
|
|
253
|
-
const pagePlan = plan.pages
|
|
315
|
+
composed.pages.forEach(page => {
|
|
316
|
+
const pagePlan = plan.pages.find(p => p.key === page.key);
|
|
317
|
+
if (!pagePlan) return;
|
|
254
318
|
page.layout.forEach((root, s) => {
|
|
255
|
-
const
|
|
256
|
-
const
|
|
257
|
-
|
|
258
|
-
const
|
|
259
|
-
|
|
260
|
-
const
|
|
319
|
+
const read = sectionPictureFamily(root, s, pagePlan);
|
|
320
|
+
const intent = read ? STOCK_FAMILY_INTENTS[read.family] : undefined;
|
|
321
|
+
if (!read || !intent) return;
|
|
322
|
+
const said = read.pattern ? Object.values(planSectionOf(pagePlan, page.layout.length, s, read.pattern)?.slots ?? {}) : textOf([root], '');
|
|
323
|
+
const sectionWords = [...said, pagePlan.name, pagePlan.seo?.title, pagePlan.seo?.description];
|
|
324
|
+
const about = aboutOf(said);
|
|
261
325
|
walkSerialized([root], (n, ancestors) => {
|
|
262
326
|
if (n.type !== 'Image' || !empty.has(n.id) || n.bindings.length) return;
|
|
263
327
|
const row = ancestors[ancestors.length - 1];
|
|
264
328
|
out.push({
|
|
265
|
-
kind: StockSlotKind.Section, nodeId: n.id, owner: page.key,
|
|
329
|
+
kind: StockSlotKind.Section, nodeId: n.id, owner: page.key, ...read, intent, about,
|
|
266
330
|
aspect: aspectRatioOf(n.styleProps['aspectRatio']),
|
|
267
331
|
words: stockWords(...(row ? textOf([row], n.id) : []), ...sectionWords),
|
|
268
332
|
});
|
|
@@ -272,6 +336,11 @@ export function stockSlots(plan: SitePlan, composed: Pick<ComposedSite, 'pages'
|
|
|
272
336
|
return out;
|
|
273
337
|
}
|
|
274
338
|
|
|
339
|
+
/** A section slot's family: its stamp's (`family`), else — a slot written before iox-ui#160 — its pattern's. */
|
|
340
|
+
export function stockSlotFamily(slot: Pick<StockSlot, 'family' | 'pattern'>): string {
|
|
341
|
+
return slot.family ?? patternById(slot.pattern)?.family ?? '';
|
|
342
|
+
}
|
|
343
|
+
|
|
275
344
|
/**
|
|
276
345
|
* The sample items' pictures a stock photo may fill: per content type with an `image` role, each MARKED sample whose
|
|
277
346
|
* image is still a bundled sample (`{sampleImage:k}`), with the type's and the item's own words.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComposedItem, ComposedPlaceholder, ComposedSite, openingContextOf, PlaceholderKind } from './compose-site';
|
|
2
2
|
import { FingerprintedPage, wornOpenings } from './layout-fingerprint';
|
|
3
|
-
import { LAYOUT_TEXT_KINDS, LayoutColour, LayoutLayer, LayoutLayerKind, LayoutSection } from './layout-language';
|
|
3
|
+
import { LAYOUT_TEXT_KINDS, LayoutColour, LayoutLayer, LayoutLayerKind, LayoutRole, LayoutSection, LayoutSize } from './layout-language';
|
|
4
4
|
import {
|
|
5
5
|
checkOpening, drawnOpeningMix, OPENING_MIX_PROP, OpeningGround, OpeningMedia, OpeningMix, openingMixOfPlan, openingMixWords, OpeningMotion,
|
|
6
6
|
openingTokenOf, openingTokenParts, typeLedGrounds, typeLedOpeningSection, typeLedOpeningWays,
|
|
@@ -82,6 +82,10 @@ export enum TypeLedChangeKind {
|
|
|
82
82
|
* retired kinds `layout-section`, `layout-words` and `layout` handed composed sections or pages back to ready-made
|
|
83
83
|
* sections; a stored run's words for them stay as they were said. */
|
|
84
84
|
Plate = 'plate',
|
|
85
|
+
/** iox-ui#129 round 3 (J10 2026-11-26, "plates read as empty halves"): a still plate as large as a half of its section,
|
|
86
|
+
* beside the section's words, gives its place to them — the lead takes the whole width, the words under
|
|
87
|
+
* it move into the plate's columns, and the plate stays (same index) as the look's rule above the words. */
|
|
88
|
+
Yield = 'yield',
|
|
85
89
|
/** A list's items have no picture at all: its cards show no picture part. */
|
|
86
90
|
List = 'list',
|
|
87
91
|
}
|
|
@@ -262,6 +266,17 @@ export function typeLedPlateColour(section: Pick<LayoutSection, 'layers'>, groun
|
|
|
262
266
|
return rotation[nth % rotation.length];
|
|
263
267
|
}
|
|
264
268
|
|
|
269
|
+
/** The plain ground a section's words read on when its photo ground is empty: the ink under light words, else the soft. */
|
|
270
|
+
function plainGroundOf(section: Pick<LayoutSection, 'layers'>): LayoutColour {
|
|
271
|
+
return section.layers.filter(l => LAYOUT_TEXT_KINDS.has(l.kind)).some(lightWords) ? LayoutColour.Ink : LayoutColour.Soft;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/** The ground a section stands on as a colour of the look (a photo ground: the plain ground its words read on). */
|
|
275
|
+
function sectionGroundOf(section: Pick<LayoutSection, 'layers' | 'ground'>): LayoutColour {
|
|
276
|
+
const ground = String(section.ground ?? LayoutColour.Ground);
|
|
277
|
+
return ground.startsWith(PHOTO_GROUND) ? plainGroundOf(section) : ground as LayoutColour;
|
|
278
|
+
}
|
|
279
|
+
|
|
265
280
|
/**
|
|
266
281
|
* A model-laid section with its empty pictures filled type-led IN PLACE (2026-11-25, a composed page keeps its
|
|
267
282
|
* composition): each layer in `plates` becomes a ground plate — a `shape` at the same index, cell, depth, entrance and
|
|
@@ -270,8 +285,7 @@ export function typeLedPlateColour(section: Pick<LayoutSection, 'layers'>, groun
|
|
|
270
285
|
* phone a shape is hidden, as every shape is: the words stack on the section's ground. Pure.
|
|
271
286
|
*/
|
|
272
287
|
export function typeLedPlates(section: LayoutSection, plates: ReadonlySet<number>, ground: boolean, calm: boolean): LayoutSection {
|
|
273
|
-
const
|
|
274
|
-
const plain = words.some(lightWords) ? LayoutColour.Ink : LayoutColour.Soft;
|
|
288
|
+
const plain = plainGroundOf(section);
|
|
275
289
|
const swapped = ground && String(section.ground ?? '').startsWith(PHOTO_GROUND);
|
|
276
290
|
const sectionGround = swapped ? plain : String(section.ground ?? LayoutColour.Ground);
|
|
277
291
|
let nth = 0;
|
|
@@ -283,6 +297,96 @@ export function typeLedPlates(section: LayoutSection, plates: ReadonlySet<number
|
|
|
283
297
|
return { ...section, ...(swapped ? { ground: sectionGround } : {}), layers };
|
|
284
298
|
}
|
|
285
299
|
|
|
300
|
+
/** The least share of a screen's 12 columns, and of its section's rows, a still plate covers to read as a missing half. */
|
|
301
|
+
export const YIELD_MIN_COLUMNS = 4;
|
|
302
|
+
export const YIELD_MIN_ROW_SHARE = 0.6;
|
|
303
|
+
/** The rule a yielded plate leaves: this many columns from the words' start edge. */
|
|
304
|
+
const YIELD_RULE_COLUMNS = 2;
|
|
305
|
+
const SCREEN_COLUMNS = 12;
|
|
306
|
+
/** The sizes, small to large — the largest heading or word leads when no layer is the lead. */
|
|
307
|
+
const LEAD_SIZES: ReadonlyArray<LayoutSize> = [LayoutSize.Xs, LayoutSize.S, LayoutSize.M, LayoutSize.L, LayoutSize.Xl, LayoutSize.Xxl, LayoutSize.Screen];
|
|
308
|
+
const LAST_LINE = SCREEN_COLUMNS + 1;
|
|
309
|
+
|
|
310
|
+
const isWords = (l: LayoutLayer) => LAYOUT_TEXT_KINDS.has(l.kind) || l.kind === LayoutLayerKind.Button;
|
|
311
|
+
const span = (r: readonly [number, number]) => r[1] - r[0];
|
|
312
|
+
const rowsMeet = (a: Pick<LayoutLayer, 'row'>, b: Pick<LayoutLayer, 'row'>) => a.row[0] < b.row[1] && b.row[0] < a.row[1];
|
|
313
|
+
const colsMeet = (a: Pick<LayoutLayer, 'col'>, b: Pick<LayoutLayer, 'col'>) => a.col[0] < b.col[1] && b.col[0] < a.col[1];
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Does the plate at `li` read as an empty HALF (J10 2026-11-26: "a small block of words on the left, the right half a pale
|
|
317
|
+
* plate")? A still picture layer (no scroll motion — a moving plate is the signature's body, it stays), in a section that is
|
|
318
|
+
* not held or sideways, at least `YIELD_MIN_COLUMNS` wide and `YIELD_MIN_ROW_SHARE` of the rows tall, no words over it, and
|
|
319
|
+
* words BESIDE it — rows shared, columns not — all on one side. Pure.
|
|
320
|
+
*/
|
|
321
|
+
export function plateYields(section: LayoutSection, li: number): boolean {
|
|
322
|
+
const plate = section.layers[li];
|
|
323
|
+
if (!plate || !PICTURE_LAYERS.has(plate.kind) || plate.motion?.length) return false;
|
|
324
|
+
if (section.pin || (section.track ?? 1) > 1) return false;
|
|
325
|
+
if (span(plate.col) < YIELD_MIN_COLUMNS || span(plate.row) < YIELD_MIN_ROW_SHARE * section.rows) return false;
|
|
326
|
+
const words = section.layers.filter((l, i) => i !== li && isWords(l));
|
|
327
|
+
if (!words.length || words.some(w => colsMeet(w, plate) && rowsMeet(w, plate))) return false;
|
|
328
|
+
const beside = words.filter(w => rowsMeet(w, plate));
|
|
329
|
+
if (!beside.length) return false;
|
|
330
|
+
const before = beside.every(w => w.col[1] <= plate.col[0]);
|
|
331
|
+
const after = beside.every(w => w.col[0] >= plate.col[1]);
|
|
332
|
+
return before || after;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
const clampCols = (col: readonly [number, number]): [number, number] => {
|
|
336
|
+
const w = span(col);
|
|
337
|
+
const start = Math.max(1, Math.min(col[0], LAST_LINE - w));
|
|
338
|
+
return [start, start + w];
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* The section re-laid TYPE-LED around a plate that yields (`plateYields`), every layer at its index (so every node id, the
|
|
343
|
+
* phone order and the rows stay): the lead (role lead, else the largest heading or word) takes the width the words and the
|
|
344
|
+
* plate shared (its size stays the look's: a heading wears its element style); the words under the lead move together
|
|
345
|
+
* into the plate's columns (an editorial split — type on both halves); the plate becomes the look's RULE (`isLayoutRule`:
|
|
346
|
+
* one row, no words on it, `yieldRuleCell`); with no free row it stands in the section's own ground. A calm look's rule is
|
|
347
|
+
* the ink, else the accent. Columns are logical: RTL mirrors as every layer does. Pure.
|
|
348
|
+
*/
|
|
349
|
+
export function typeLedYield(section: LayoutSection, li: number, calm: boolean): LayoutSection {
|
|
350
|
+
const plate = section.layers[li];
|
|
351
|
+
const words = section.layers.map((l, i) => ({ l, i })).filter(({ l, i }) => i !== li && isWords(l));
|
|
352
|
+
const rank = (l: LayoutLayer) => (l.role === LayoutRole.Lead ? 100 : 0) + (l.kind === LayoutLayerKind.Word || l.kind === LayoutLayerKind.Heading ? 10 : 0) + LEAD_SIZES.indexOf((l.size ?? LayoutSize.M) as LayoutSize);
|
|
353
|
+
const lead = [...words].sort((a, b) => rank(b.l) - rank(a.l) || a.i - b.i)[0];
|
|
354
|
+
const plateAfter = words.filter(({ l }) => rowsMeet(l, plate)).every(({ l }) => l.col[0] < plate.col[0]);
|
|
355
|
+
// The whole width the two halves shared, inside the screen's columns (a bleed never carries words off the column).
|
|
356
|
+
const leadCol: [number, number] = plateAfter ? [lead.l.col[0], Math.min(plate.col[1], LAST_LINE)] : [Math.max(plate.col[0], 1), lead.l.col[1]];
|
|
357
|
+
const followers = words.filter(({ l, i }) => i !== lead.i && l.row[0] >= lead.l.row[1]);
|
|
358
|
+
// The words under the lead move together (their spacing kept), as far into the plate's columns as the screen allows.
|
|
359
|
+
const shift = followers.length
|
|
360
|
+
? Math.min(Math.max(plate.col[0], 1) - Math.min(...followers.map(({ l }) => l.col[0])), LAST_LINE - Math.max(...followers.map(({ l }) => l.col[1])))
|
|
361
|
+
: 0;
|
|
362
|
+
const layers = section.layers.map((l, i): LayoutLayer => {
|
|
363
|
+
if (i === lead.i) return { ...l, col: leadCol };
|
|
364
|
+
if (followers.some(f => f.i === i)) return { ...l, col: clampCols([l.col[0] + shift, l.col[1] + shift]) };
|
|
365
|
+
return l;
|
|
366
|
+
});
|
|
367
|
+
const rule = yieldRuleCell(section.rows, layers, li, words.map(({ i }) => i), lead.i);
|
|
368
|
+
const { photo: _photo, gallery: _gallery, fit: _fit, inner: _inner, bleed: _bleed, depth: _depth, ...kept } = plate;
|
|
369
|
+
layers[li] = rule
|
|
370
|
+
? { ...kept, kind: LayoutLayerKind.Shape, ...rule, color: calm ? LayoutColour.Ink : LayoutColour.Accent } as LayoutLayer
|
|
371
|
+
: { ...kept, kind: LayoutLayerKind.Shape, color: sectionGroundOf(section) } as LayoutLayer;
|
|
372
|
+
return { ...section, layers };
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Where a yielded plate's rule stands: `YIELD_RULE_COLUMNS` from the words' start, in a row no other layer shares in those
|
|
377
|
+
* columns — right above the lead, else right above (then under) the words in its columns, top first. Null: no row is free.
|
|
378
|
+
*/
|
|
379
|
+
function yieldRuleCell(rows: number, layers: ReadonlyArray<LayoutLayer>, li: number, words: ReadonlyArray<number>, lead: number): Pick<LayoutLayer, 'col' | 'row'> | null {
|
|
380
|
+
const start = Math.min(...words.map(i => layers[i].col[0]));
|
|
381
|
+
const col: [number, number] = [start, Math.min(start + YIELD_RULE_COLUMNS, LAST_LINE)];
|
|
382
|
+
const free = (row: [number, number]) => row[0] >= 1 && row[1] <= rows + 1 && !layers.some((o, oi) => oi !== li && colsMeet(o, { col }) && rowsMeet(o, { row }));
|
|
383
|
+
const near = words.map(i => layers[i]).filter(l => colsMeet(l, { col })).sort((a, b) => a.row[0] - b.row[0]);
|
|
384
|
+
const above = (l: LayoutLayer): [number, number] => [l.row[0] - 1, l.row[0]];
|
|
385
|
+
const under = (l: LayoutLayer): [number, number] => [l.row[1], l.row[1] + 1];
|
|
386
|
+
const row = [above(layers[lead]), ...near.map(above), ...[...near].reverse().map(under)].find(free);
|
|
387
|
+
return row ? { col, row } : null;
|
|
388
|
+
}
|
|
389
|
+
|
|
286
390
|
/** What a section of a model-laid page holds that nothing fills: its picture layers (every picture of each empty), its
|
|
287
391
|
* photo ground. */
|
|
288
392
|
interface LaidEmpty {
|
|
@@ -411,13 +515,25 @@ export function typeLedRound(
|
|
|
411
515
|
const pictured = picturesByLayer(composed.placeholders, page.key, roots);
|
|
412
516
|
const unfilled = picturesByLayer(mine, page.key, roots);
|
|
413
517
|
let plated = false;
|
|
414
|
-
const laidSections = page.layout.sections.map((
|
|
518
|
+
const laidSections = page.layout.sections.map((laidSection, i) => {
|
|
519
|
+
let section = laidSection;
|
|
415
520
|
const at = laid.get(i);
|
|
416
521
|
if (!at) return section;
|
|
417
522
|
// A layer becomes a plate only when no picture of it is filled (a gallery with one filled slide stays).
|
|
418
523
|
const plates = new Set([...at.layers].filter(li => PICTURE_LAYERS.has(section.layers[li]?.kind) && pictured.get(`${i}:${li}`) === unfilled.get(`${i}:${li}`)));
|
|
419
524
|
if (!plates.size && !at.ground) return section;
|
|
420
525
|
plated = true;
|
|
526
|
+
// Round 3: a still plate that reads as an empty half gives its place to the words (one per section).
|
|
527
|
+
const yielding = [...plates].sort((a, b) => a - b).find(li => plateYields(section, li));
|
|
528
|
+
if (yielding !== undefined) {
|
|
529
|
+
plates.delete(yielding);
|
|
530
|
+
changes.push({
|
|
531
|
+
kind: TypeLedChangeKind.Yield, page: page.key, at: i,
|
|
532
|
+
said: `${page.name}: section ${i + 1} (${section.id}) has no picture for its half — its words take the width, the composition kept`,
|
|
533
|
+
});
|
|
534
|
+
section = typeLedYield(section, yielding, calm);
|
|
535
|
+
if (!plates.size && !at.ground) return section;
|
|
536
|
+
}
|
|
421
537
|
const n = plates.size;
|
|
422
538
|
changes.push({
|
|
423
539
|
kind: TypeLedChangeKind.Plate, page: page.key, at: i,
|