@vectoriox/iox-ui 5.178.0 → 5.179.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 +358 -336
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +29 -16
- package/package.json +1 -1
- package/src/generation-core/opening-mix.ts +16 -5
- package/src/generation-core/patterns.ts +12 -0
- package/src/generation-core/site-spec.generated.ts +3 -0
- package/src/generation-core/type-led.ts +111 -101
|
@@ -1472,6 +1472,7 @@ declare const SPEC_SITE_PATTERNS: {
|
|
|
1472
1472
|
readonly lay: {
|
|
1473
1473
|
readonly textAlign: "center";
|
|
1474
1474
|
};
|
|
1475
|
+
readonly optional: "eyebrow";
|
|
1475
1476
|
readonly textHe: "מה אתם עושים · איפה";
|
|
1476
1477
|
}, {
|
|
1477
1478
|
readonly t: "Heading";
|
|
@@ -1518,6 +1519,7 @@ declare const SPEC_SITE_PATTERNS: {
|
|
|
1518
1519
|
readonly slot: "secondary";
|
|
1519
1520
|
readonly max: 24;
|
|
1520
1521
|
readonly text: "See our work";
|
|
1522
|
+
readonly optional: "secondary";
|
|
1521
1523
|
readonly textHe: "לעבודות שלנו";
|
|
1522
1524
|
}];
|
|
1523
1525
|
}];
|
|
@@ -2973,6 +2975,7 @@ declare const SPEC_SITE_PATTERNS: {
|
|
|
2973
2975
|
readonly ph: "copy";
|
|
2974
2976
|
readonly text: "Our story";
|
|
2975
2977
|
readonly enter: "heading";
|
|
2978
|
+
readonly optional: "eyebrow";
|
|
2976
2979
|
readonly textHe: "הסיפור שלנו";
|
|
2977
2980
|
}, {
|
|
2978
2981
|
readonly t: "Heading";
|
|
@@ -11366,6 +11369,9 @@ declare function patternNodes(pattern: SitePattern): PatternNode[];
|
|
|
11366
11369
|
declare function patternSlots(pattern: SitePattern): string[];
|
|
11367
11370
|
/** The optional parts a plan section may leave out. */
|
|
11368
11371
|
declare function patternOptionalParts(pattern: SitePattern): string[];
|
|
11372
|
+
/** Each optional part's slots — every slot the part holds, its own and its children's (a part inside a part is counted in
|
|
11373
|
+
* both). A part with no slot (a picture, a bound line) maps to `[]`. */
|
|
11374
|
+
declare function patternPartSlots(pattern: SitePattern): Record<string, string[]>;
|
|
11369
11375
|
/** True when the pattern has a Repeater iterating the section's `binding`. */
|
|
11370
11376
|
declare function patternNeedsBinding(pattern: SitePattern): boolean;
|
|
11371
11377
|
/** True when the pattern may take a section `binding` — it needs one, or names `$binding?` (CC2). */
|
|
@@ -13737,10 +13743,11 @@ declare const PROOF_FINGERPRINTS: ReadonlyArray<FingerprintedPage>;
|
|
|
13737
13743
|
* So, when the caller says which picture slots a picture fills (`PictureSupply`), a section whose picture stays empty is
|
|
13738
13744
|
* composed TYPE-LED instead: the same words in the library's type-led pattern for that place (`TYPE_LED_SWAPS` — every
|
|
13739
13745
|
* slot carried, never cut), an opening on a photo or film with nothing to show is left out (the page opens on its
|
|
13740
|
-
* type-led hero), a model-laid section
|
|
13741
|
-
*
|
|
13742
|
-
*
|
|
13743
|
-
* they were, so the caller's filled slots and its
|
|
13746
|
+
* type-led hero), a model-laid section's empty photo stands in its own place as a ground plate of the look's colour — a
|
|
13747
|
+
* composed page KEEPS its composition (2026-11-25, iox-ui#129 × #131): it is never handed back to ready-made sections —
|
|
13748
|
+
* and a list whose items have no picture at all shows its cards without the picture part. Nothing is dropped from a
|
|
13749
|
+
* page: plan indices, section ids and every other slot's node id stay as they were, so the caller's filled slots and its
|
|
13750
|
+
* placements still name the same nodes.
|
|
13744
13751
|
*
|
|
13745
13752
|
* Pure: `composeSite` runs it when `ComposeContext.pictures` is given — absent, the plan composes exactly as it says.
|
|
13746
13753
|
* The plan the caller stores is never rewritten: the picture-led choice stays in it, so a later build or redesign that
|
|
@@ -13773,13 +13780,11 @@ declare enum TypeLedChangeKind {
|
|
|
13773
13780
|
/** The home page's first screen had no picture to show: it opens type-led (`media:none`), a way no other site of the
|
|
13774
13781
|
* studio opens — or, when its first section cannot give its words slot by slot, on that section (the mix left out). */
|
|
13775
13782
|
Opening = "opening",
|
|
13776
|
-
/** A model-laid section
|
|
13777
|
-
|
|
13778
|
-
|
|
13779
|
-
*
|
|
13780
|
-
|
|
13781
|
-
/** A model-laid page that could not give its empty photos away section by section is made from its plan sections. */
|
|
13782
|
-
Layout = "layout",
|
|
13783
|
+
/** A model-laid section's empty photos (and an empty photo ground) are filled type-led in their own place: each a
|
|
13784
|
+
* ground plate of the look's colour at the same layer, cell and motion — the composition kept (2026-11-25). The
|
|
13785
|
+
* retired kinds `layout-section`, `layout-words` and `layout` handed composed sections or pages back to ready-made
|
|
13786
|
+
* sections; a stored run's words for them stay as they were said. */
|
|
13787
|
+
Plate = "plate",
|
|
13783
13788
|
/** A list's items have no picture at all: its cards show no picture part. */
|
|
13784
13789
|
List = "list"
|
|
13785
13790
|
}
|
|
@@ -13829,11 +13834,19 @@ declare function typeLedSection(section: PageSectionPlan, density: string | null
|
|
|
13829
13834
|
to: string;
|
|
13830
13835
|
} | null;
|
|
13831
13836
|
/**
|
|
13832
|
-
*
|
|
13833
|
-
*
|
|
13834
|
-
*
|
|
13837
|
+
* The colour a ground plate stands in, in a section on `ground`: under words laid over it, the ground those words read
|
|
13838
|
+
* on (light words → the ink, dark words → the soft — the ground when the section is soft); else the `nth` of the
|
|
13839
|
+
* ground's rotation. A calm look never takes the accent. Pure.
|
|
13840
|
+
*/
|
|
13841
|
+
declare function typeLedPlateColour(section: Pick<LayoutSection, 'layers'>, ground: string, plate: LayoutLayer, nth: number, calm: boolean): LayoutColour;
|
|
13842
|
+
/**
|
|
13843
|
+
* A model-laid section with its empty pictures filled type-led IN PLACE (2026-11-25, a composed page keeps its
|
|
13844
|
+
* composition): each layer in `plates` becomes a ground plate — a `shape` at the same index, cell, depth, entrance and
|
|
13845
|
+
* scroll motion (so every node id and the signature's mechanism stay), painted `typeLedPlateColour`; an empty photo
|
|
13846
|
+
* ground (`ground`) becomes a plain ground the section's words read on (the ink under light words, else the soft). On a
|
|
13847
|
+
* phone a shape is hidden, as every shape is: the words stack on the section's ground. Pure.
|
|
13835
13848
|
*/
|
|
13836
|
-
declare function
|
|
13849
|
+
declare function typeLedPlates(section: LayoutSection, plates: ReadonlySet<number>, ground: boolean, calm: boolean): LayoutSection;
|
|
13837
13850
|
/** What a type-led round needs of the build beyond the plan: its tier and the studio's memory. */
|
|
13838
13851
|
interface TypeLedRoundContext {
|
|
13839
13852
|
tier?: `${GenerationTier}`;
|
|
@@ -19734,5 +19747,5 @@ declare function siteTreeOf(studio: SiteStudio): SiteTree;
|
|
|
19734
19747
|
* its phone menu, the footer's copyright line. */
|
|
19735
19748
|
declare function siteGlobalsOf(globals: ReadonlyArray<SerializedNode>): SiteTreeGlobals | null;
|
|
19736
19749
|
|
|
19737
|
-
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, 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, footerCallWord, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, 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, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, 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, 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, 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, typeLedLayoutSection, typeLedNotices, 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 };
|
|
19750
|
+
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, 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, footerCallWord, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, 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, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, 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, 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 };
|
|
19738
19751
|
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, 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, 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 };
|
package/package.json
CHANGED
|
@@ -639,13 +639,23 @@ export function openingPhoneInset(): string {
|
|
|
639
639
|
|
|
640
640
|
const insetClip = (inset: string): string => `inset(${inset} round var(--iox-card-radius))`;
|
|
641
641
|
|
|
642
|
-
/** A display size that keeps `em` of text within the width (`side` px kept per side), never above `cap`. */
|
|
643
642
|
/** The frame's padding on a phone: an inset frame adds its inset. */
|
|
644
643
|
const phoneFramePad = (mix: OpeningMix): string =>
|
|
645
644
|
(mix.frame === OpeningFrame.Inset || mix.frame === OpeningFrame.Shrinks ? `calc(${openingPhoneInset()} + 20px)` : FRAME_PAD);
|
|
646
645
|
|
|
647
|
-
|
|
648
|
-
|
|
646
|
+
/** A display size that keeps `em` of text within the width (`side` kept per side — px, or a CSS length), never above `cap`. */
|
|
647
|
+
const sizedPx = (em: number, side: number | string, cap: string): string =>
|
|
648
|
+
`min(calc((100vw - ${typeof side === 'number' ? `${2 * side}px` : `2 * ${side}`}) * ${FIT} / ${Math.max(em, 1).toFixed(3)}), ${cap})`;
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* The name standing on the bottom edge (`words:on-edge`): ONE display line on a laptop AND on a phone (iox-ui#150) — a
|
|
652
|
+
* phone sizes it by the whole name across the room beside it (`phoneSide`), never by its longest word: sized by a word,
|
|
653
|
+
* a long name wrapped to four lines at 80 px, its lines touching, and pushed the page a screen down. A phone's line
|
|
654
|
+
* height leaves room should a face still break it.
|
|
655
|
+
*/
|
|
656
|
+
const edgeTitle = (line: number, phoneSide: number | string): PatternNode =>
|
|
657
|
+
title({ fontSize: sizedPx(line, LAPTOP_SIDE_PX, '50svh'), lineHeight: '0.82', margin: '0px', translateY: '0.16em' },
|
|
658
|
+
{ resp: { mobile: { fontSize: sizedPx(line, phoneSide, '22vw'), lineHeight: '0.9' } } });
|
|
649
659
|
|
|
650
660
|
function frameNode(mix: OpeningMix, children: PatternNode[]): PatternNode {
|
|
651
661
|
const inset = mix.frame === OpeningFrame.Inset || mix.frame === OpeningFrame.Shrinks;
|
|
@@ -790,7 +800,8 @@ function typeLedWordsNodes(mix: OpeningMix, ctx: OpeningContext): PatternNode[]
|
|
|
790
800
|
t: 'Container', es: 'box', role: OpeningRole.Words,
|
|
791
801
|
lay: { position: 'absolute', left: '0px', bottom: '0px', width: '100%', zIndex: '1', padding: `0px ${LAPTOP_SIDE_PX}px`, overflow: 'visible' },
|
|
792
802
|
resp: { mobile: { position: 'relative', left: 'auto', bottom: 'auto', padding: '0px', margin: `auto 0px calc(-1 * ${phoneFramePad(mix)}) 0px` } },
|
|
793
|
-
|
|
803
|
+
// The words sit inside the frame's own padding on a phone: the line is sized across what it leaves.
|
|
804
|
+
c: [edgeTitle(line, `max(${phoneFramePad(mix)}, ${LAYOUT_INSET})`)],
|
|
794
805
|
}];
|
|
795
806
|
case OpeningWords.Wordmark:
|
|
796
807
|
case OpeningWords.Behind:
|
|
@@ -829,7 +840,7 @@ function wordsNodes(mix: OpeningMix, ctx: OpeningContext): PatternNode[] {
|
|
|
829
840
|
t: 'Container', es: 'box', role: OpeningRole.Words,
|
|
830
841
|
lay: { position: 'absolute', left: '0px', bottom: '0px', width: '100%', zIndex: '1', padding: `0px ${LAPTOP_SIDE_PX}px`, overflow: 'visible' },
|
|
831
842
|
resp: { mobile: { padding: `0px ${PHONE_SIDE_PX}px` } },
|
|
832
|
-
c: [
|
|
843
|
+
c: [edgeTitle(line, PHONE_SIDE_PX)],
|
|
833
844
|
}];
|
|
834
845
|
case OpeningWords.Wordmark:
|
|
835
846
|
case OpeningWords.Behind:
|
|
@@ -272,6 +272,18 @@ export function patternOptionalParts(pattern: SitePattern): string[] {
|
|
|
272
272
|
return [...new Set(patternNodes(pattern).map(n => n.optional).filter((s): s is string => !!s))];
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
/** Each optional part's slots — every slot the part holds, its own and its children's (a part inside a part is counted in
|
|
276
|
+
* both). A part with no slot (a picture, a bound line) maps to `[]`. */
|
|
277
|
+
export function patternPartSlots(pattern: SitePattern): Record<string, string[]> {
|
|
278
|
+
const out: Record<string, string[]> = {};
|
|
279
|
+
walk(pattern.node, n => {
|
|
280
|
+
if (!n.optional) return;
|
|
281
|
+
const slots = out[n.optional] ?? (out[n.optional] = []);
|
|
282
|
+
walk(n, d => { if (d.slot && !slots.includes(d.slot)) slots.push(d.slot); });
|
|
283
|
+
});
|
|
284
|
+
return out;
|
|
285
|
+
}
|
|
286
|
+
|
|
275
287
|
/** True when the pattern has a Repeater iterating the section's `binding`. */
|
|
276
288
|
export function patternNeedsBinding(pattern: SitePattern): boolean {
|
|
277
289
|
return patternNodes(pattern).some(n => n.src === PatternDirective.Binding);
|
|
@@ -1942,6 +1942,7 @@ export const SPEC_SITE_PATTERNS = {
|
|
|
1942
1942
|
"lay": {
|
|
1943
1943
|
"textAlign": "center"
|
|
1944
1944
|
},
|
|
1945
|
+
"optional": "eyebrow",
|
|
1945
1946
|
"textHe": "מה אתם עושים · איפה"
|
|
1946
1947
|
},
|
|
1947
1948
|
{
|
|
@@ -1993,6 +1994,7 @@ export const SPEC_SITE_PATTERNS = {
|
|
|
1993
1994
|
"slot": "secondary",
|
|
1994
1995
|
"max": 24,
|
|
1995
1996
|
"text": "See our work",
|
|
1997
|
+
"optional": "secondary",
|
|
1996
1998
|
"textHe": "לעבודות שלנו"
|
|
1997
1999
|
}
|
|
1998
2000
|
]
|
|
@@ -3657,6 +3659,7 @@ export const SPEC_SITE_PATTERNS = {
|
|
|
3657
3659
|
"ph": "copy",
|
|
3658
3660
|
"text": "Our story",
|
|
3659
3661
|
"enter": "heading",
|
|
3662
|
+
"optional": "eyebrow",
|
|
3660
3663
|
"textHe": "הסיפור שלנו"
|
|
3661
3664
|
},
|
|
3662
3665
|
{
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ComposedItem, ComposedPlaceholder, ComposedSite, openingContextOf, PlaceholderKind } from './compose-site';
|
|
2
2
|
import { FingerprintedPage, wornOpenings } from './layout-fingerprint';
|
|
3
|
-
import {
|
|
4
|
-
import { fallBackBySection, SectionFallbackLastResort, SectionSwapAction } from './layout-section-fallback';
|
|
3
|
+
import { LAYOUT_TEXT_KINDS, LayoutColour, LayoutLayer, LayoutLayerKind, LayoutSection } from './layout-language';
|
|
5
4
|
import {
|
|
6
5
|
checkOpening, drawnOpeningMix, OPENING_MIX_PROP, OpeningGround, OpeningMedia, OpeningMix, openingMixOfPlan, openingMixWords, OpeningMotion,
|
|
7
6
|
openingTokenOf, openingTokenParts, typeLedGrounds, typeLedOpeningSection, typeLedOpeningWays,
|
|
8
7
|
} from './opening-mix';
|
|
9
8
|
import type { GenerationTier } from './site-plan.model';
|
|
10
|
-
import { patternById, patternLinkSlots, patternOptionalParts, patternSlots, slotBudget } from './patterns';
|
|
9
|
+
import { patternById, patternLinkSlots, patternOptionalParts, patternPartSlots, patternSlots, slotBudget } from './patterns';
|
|
11
10
|
import { SerializedNode, walkSerialized } from './serialized-node';
|
|
12
11
|
import { SHOP_ROLES } from './shop-plan';
|
|
13
12
|
import { ContentRole, PagePlan, PageSectionPlan, roleField, ShopResource, SitePlan } from './site-plan.model';
|
|
@@ -21,10 +20,11 @@ import { ContentRole, PagePlan, PageSectionPlan, roleField, ShopResource, SitePl
|
|
|
21
20
|
* So, when the caller says which picture slots a picture fills (`PictureSupply`), a section whose picture stays empty is
|
|
22
21
|
* composed TYPE-LED instead: the same words in the library's type-led pattern for that place (`TYPE_LED_SWAPS` — every
|
|
23
22
|
* slot carried, never cut), an opening on a photo or film with nothing to show is left out (the page opens on its
|
|
24
|
-
* type-led hero), a model-laid section
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* they were, so the caller's filled slots and its
|
|
23
|
+
* type-led hero), a model-laid section's empty photo stands in its own place as a ground plate of the look's colour — a
|
|
24
|
+
* composed page KEEPS its composition (2026-11-25, iox-ui#129 × #131): it is never handed back to ready-made sections —
|
|
25
|
+
* and a list whose items have no picture at all shows its cards without the picture part. Nothing is dropped from a
|
|
26
|
+
* page: plan indices, section ids and every other slot's node id stay as they were, so the caller's filled slots and its
|
|
27
|
+
* placements still name the same nodes.
|
|
28
28
|
*
|
|
29
29
|
* Pure: `composeSite` runs it when `ComposeContext.pictures` is given — absent, the plan composes exactly as it says.
|
|
30
30
|
* The plan the caller stores is never rewritten: the picture-led choice stays in it, so a later build or redesign that
|
|
@@ -77,13 +77,11 @@ export enum TypeLedChangeKind {
|
|
|
77
77
|
/** The home page's first screen had no picture to show: it opens type-led (`media:none`), a way no other site of the
|
|
78
78
|
* studio opens — or, when its first section cannot give its words slot by slot, on that section (the mix left out). */
|
|
79
79
|
Opening = 'opening',
|
|
80
|
-
/** A model-laid section
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
*
|
|
84
|
-
|
|
85
|
-
/** A model-laid page that could not give its empty photos away section by section is made from its plan sections. */
|
|
86
|
-
Layout = 'layout',
|
|
80
|
+
/** A model-laid section's empty photos (and an empty photo ground) are filled type-led in their own place: each a
|
|
81
|
+
* ground plate of the look's colour at the same layer, cell and motion — the composition kept (2026-11-25). The
|
|
82
|
+
* retired kinds `layout-section`, `layout-words` and `layout` handed composed sections or pages back to ready-made
|
|
83
|
+
* sections; a stored run's words for them stay as they were said. */
|
|
84
|
+
Plate = 'plate',
|
|
87
85
|
/** A list's items have no picture at all: its cards show no picture part. */
|
|
88
86
|
List = 'list',
|
|
89
87
|
}
|
|
@@ -171,7 +169,12 @@ export function typeLedSection(section: PageSectionPlan, density: string | null)
|
|
|
171
169
|
const linkSlots = new Set(patternLinkSlots(pattern));
|
|
172
170
|
const links = Object.fromEntries(Object.entries(section.links ?? {}).map(([slot, route]) => [target.slots[slot], route] as const).filter(([slot]) => !!slot && linkSlots.has(slot)));
|
|
173
171
|
const parts = new Set(patternOptionalParts(pattern));
|
|
174
|
-
|
|
172
|
+
// iox-ui#149: a part of the target that holds only slots the source has no place for would show the pattern's own
|
|
173
|
+
// sample ("The one sentence a reader should remember.") on the live site, words the picture-led section never
|
|
174
|
+
// showed — the swap leaves it out. (A slot the source has but left unsaid shows its sample either way.)
|
|
175
|
+
const mapped = new Set(Object.values(target.slots));
|
|
176
|
+
const unsaid = Object.entries(patternPartSlots(pattern)).filter(([, held]) => held.length && !held.some(s => mapped.has(s))).map(([part]) => part);
|
|
177
|
+
const without = [...new Set([...(section.without ?? []).filter(w => parts.has(w)), ...unsaid])];
|
|
175
178
|
const next: PageSectionPlan = {
|
|
176
179
|
pattern: target.pattern,
|
|
177
180
|
...(Object.keys(slots).length ? { slots } : {}),
|
|
@@ -225,56 +228,81 @@ function layerOf(nodeId: string): { section: number; layer: number } | null {
|
|
|
225
228
|
return m ? { section: Number(m[1]), layer: Number(m[2]) } : null;
|
|
226
229
|
}
|
|
227
230
|
|
|
228
|
-
/**
|
|
229
|
-
const
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
]);
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
231
|
+
/** A composed section's photo ground (`<page>-s<section>-ground`). */
|
|
232
|
+
const GROUND_NODE = /-s\d+-ground$/;
|
|
233
|
+
const PHOTO_GROUND = 'photo:';
|
|
234
|
+
/** The layer kinds whose picture a plate stands in for. */
|
|
235
|
+
const PICTURE_LAYERS: ReadonlySet<string> = new Set([LayoutLayerKind.Photo, LayoutLayerKind.Gallery]);
|
|
236
|
+
/** Word colours that read on a dark plate (the rest read on a light one). */
|
|
237
|
+
const LIGHT_WORDS: ReadonlySet<string> = new Set([LayoutColour.Ground, LayoutColour.Soft]);
|
|
238
|
+
|
|
239
|
+
/** The plates a section's ground takes, in order — the n-th plate of a section the n-th colour, so plates stacked in one
|
|
240
|
+
* cell still show their movement. Never the section's own ground. */
|
|
241
|
+
const PLATE_COLOURS: Readonly<Record<string, ReadonlyArray<LayoutColour>>> = {
|
|
242
|
+
[LayoutColour.Ground]: [LayoutColour.Soft, LayoutColour.Accent, LayoutColour.Ink],
|
|
243
|
+
[LayoutColour.Soft]: [LayoutColour.Ground, LayoutColour.Accent, LayoutColour.Ink],
|
|
244
|
+
[LayoutColour.Ink]: [LayoutColour.Accent, LayoutColour.Soft, LayoutColour.Ground],
|
|
245
|
+
[LayoutColour.Muted]: [LayoutColour.Soft, LayoutColour.Accent, LayoutColour.Ground],
|
|
246
|
+
[LayoutColour.Accent]: [LayoutColour.Ink, LayoutColour.Soft, LayoutColour.Ground],
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
const cellsMeet = (a: Pick<LayoutLayer, 'col' | 'row'>, b: Pick<LayoutLayer, 'col' | 'row'>) =>
|
|
250
|
+
a.col[0] < b.col[1] && b.col[0] < a.col[1] && a.row[0] < b.row[1] && b.row[0] < a.row[1];
|
|
251
|
+
const lightWords = (l: LayoutLayer) => LIGHT_WORDS.has(String(l.color ?? LayoutColour.Ink));
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* The colour a ground plate stands in, in a section on `ground`: under words laid over it, the ground those words read
|
|
255
|
+
* on (light words → the ink, dark words → the soft — the ground when the section is soft); else the `nth` of the
|
|
256
|
+
* ground's rotation. A calm look never takes the accent. Pure.
|
|
257
|
+
*/
|
|
258
|
+
export function typeLedPlateColour(section: Pick<LayoutSection, 'layers'>, ground: string, plate: LayoutLayer, nth: number, calm: boolean): LayoutColour {
|
|
259
|
+
const over = section.layers.filter(o => o !== plate && LAYOUT_TEXT_KINDS.has(o.kind) && (o.z ?? 0) > (plate.z ?? 0) && cellsMeet(o, plate));
|
|
260
|
+
if (over.length) return over.some(lightWords) ? LayoutColour.Ink : ground === LayoutColour.Soft ? LayoutColour.Ground : LayoutColour.Soft;
|
|
261
|
+
const rotation = (PLATE_COLOURS[ground] ?? PLATE_COLOURS[LayoutColour.Ground]).filter(c => !calm || c !== LayoutColour.Accent);
|
|
262
|
+
return rotation[nth % rotation.length];
|
|
263
|
+
}
|
|
238
264
|
|
|
239
265
|
/**
|
|
240
|
-
* A model-laid section with its empty
|
|
241
|
-
*
|
|
242
|
-
*
|
|
266
|
+
* A model-laid section with its empty pictures filled type-led IN PLACE (2026-11-25, a composed page keeps its
|
|
267
|
+
* composition): each layer in `plates` becomes a ground plate — a `shape` at the same index, cell, depth, entrance and
|
|
268
|
+
* scroll motion (so every node id and the signature's mechanism stay), painted `typeLedPlateColour`; an empty photo
|
|
269
|
+
* ground (`ground`) becomes a plain ground the section's words read on (the ink under light words, else the soft). On a
|
|
270
|
+
* phone a shape is hidden, as every shape is: the words stack on the section's ground. Pure.
|
|
243
271
|
*/
|
|
244
|
-
export function
|
|
245
|
-
const
|
|
246
|
-
|
|
247
|
-
const
|
|
248
|
-
const
|
|
249
|
-
|
|
250
|
-
const
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
const grown = beside ? Math.min(WORDS_MEASURE, GRID_COLUMNS, width + Math.max(...photos.map(p => p.col[1] - p.col[0]))) : width;
|
|
255
|
-
const start = beside ? 1 + Math.floor((GRID_COLUMNS - grown) / 2) : from;
|
|
256
|
-
const col = (c: number): number => (beside ? start + Math.round(((c - from) * grown) / width) : c);
|
|
257
|
-
const used = new Set<number>();
|
|
258
|
-
for (const { layer } of kept) for (let r = layer.row[0]; r < layer.row[1]; r++) used.add(r);
|
|
259
|
-
const line = (r: number): number => 1 + [...used].filter(u => u < r).length;
|
|
260
|
-
const rows = used.size;
|
|
261
|
-
const layers = kept.map(({ layer }) => {
|
|
262
|
-
const c0 = col(layer.col[0]);
|
|
263
|
-
return { ...layer, col: [c0, Math.max(c0 + 1, col(layer.col[1]))] as [number, number], row: [line(layer.row[0]), line(layer.row[1])] as [number, number] };
|
|
272
|
+
export function typeLedPlates(section: LayoutSection, plates: ReadonlySet<number>, ground: boolean, calm: boolean): LayoutSection {
|
|
273
|
+
const words = section.layers.filter(l => LAYOUT_TEXT_KINDS.has(l.kind));
|
|
274
|
+
const plain = words.some(lightWords) ? LayoutColour.Ink : LayoutColour.Soft;
|
|
275
|
+
const swapped = ground && String(section.ground ?? '').startsWith(PHOTO_GROUND);
|
|
276
|
+
const sectionGround = swapped ? plain : String(section.ground ?? LayoutColour.Ground);
|
|
277
|
+
let nth = 0;
|
|
278
|
+
const layers = section.layers.map((layer, i) => {
|
|
279
|
+
if (!plates.has(i) || !PICTURE_LAYERS.has(layer.kind)) return layer;
|
|
280
|
+
const { photo: _photo, gallery: _gallery, fit: _fit, inner: _inner, ...kept } = layer;
|
|
281
|
+
return { ...kept, kind: LayoutLayerKind.Shape, color: typeLedPlateColour(section, sectionGround, layer, nth++, calm) } as LayoutLayer;
|
|
264
282
|
});
|
|
265
|
-
|
|
266
|
-
const ground = section.ground?.startsWith(BOX_PHOTO) ? PLAIN_GROUND : section.ground;
|
|
267
|
-
const { phone, ...rest } = section;
|
|
268
|
-
const order = phone?.filter(i => index.has(i)).map(i => index.get(i)!);
|
|
269
|
-
return { ...rest, ...(ground !== undefined ? { ground } : {}), screens, rows, layers, ...(order?.length ? { phone: order } : {}) };
|
|
283
|
+
return { ...section, ...(swapped ? { ground: sectionGround } : {}), layers };
|
|
270
284
|
}
|
|
271
285
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
286
|
+
/** What a section of a model-laid page holds that nothing fills: its picture layers (every picture of each empty), its
|
|
287
|
+
* photo ground. */
|
|
288
|
+
interface LaidEmpty {
|
|
289
|
+
layers: Set<number>;
|
|
290
|
+
ground: boolean;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/** How many picture placeholders each layer of a model-laid page holds (`<section>:<layer>`), filled or not. */
|
|
294
|
+
function picturesByLayer(placeholders: ReadonlyArray<ComposedPlaceholder>, owner: string, roots: ReadonlyMap<string, RootOf>): Map<string, number> {
|
|
295
|
+
const out = new Map<string, number>();
|
|
296
|
+
for (const p of placeholders) {
|
|
297
|
+
if (p.owner !== owner || !isPictureKind(p.kind)) continue;
|
|
298
|
+
const laid = roots.get(p.nodeId)?.laid ?? -1;
|
|
299
|
+
const at = layerOf(p.nodeId);
|
|
300
|
+
if (laid < 0 || !at || at.section !== laid) continue;
|
|
301
|
+
const key = `${laid}:${at.layer}`;
|
|
302
|
+
out.set(key, (out.get(key) ?? 0) + 1);
|
|
303
|
+
}
|
|
304
|
+
return out;
|
|
305
|
+
}
|
|
278
306
|
|
|
279
307
|
/** What a type-led round needs of the build beyond the plan: its tier and the studio's memory. */
|
|
280
308
|
export interface TypeLedRoundContext {
|
|
@@ -348,14 +376,16 @@ export function typeLedRound(
|
|
|
348
376
|
changes.push({ kind: TypeLedChangeKind.Section, page: page.key, at: i, from: section.pattern, to: led.to, said: `${page.name}: ${section.pattern} has no picture — ${led.to} says its words` });
|
|
349
377
|
return true;
|
|
350
378
|
};
|
|
379
|
+
const calm = CALM_ANIMATE.has(String(plan.design?.animate ?? ''));
|
|
351
380
|
const pages = plan.pages.map((page, p) => {
|
|
352
381
|
const made = composed.pages.find(c => c.key === page.key) ?? composed.pages[p];
|
|
353
382
|
const mine = empty.filter(e => e.owner === page.key);
|
|
354
383
|
if (!made || !mine.length) return page;
|
|
355
384
|
const roots = rootsOf(page, made.layout);
|
|
356
|
-
const laid = new Map<number,
|
|
385
|
+
const laid = new Map<number, LaidEmpty>();
|
|
357
386
|
const planAt = new Set<number>();
|
|
358
387
|
let first = false;
|
|
388
|
+
const laidOf = (i: number): LaidEmpty => laid.get(i) ?? laid.set(i, { layers: new Set(), ground: false }).get(i)!;
|
|
359
389
|
for (const e of mine) {
|
|
360
390
|
const where = roots.get(e.nodeId);
|
|
361
391
|
if (!where) continue;
|
|
@@ -363,9 +393,8 @@ export function typeLedRound(
|
|
|
363
393
|
if (where.opening) continue;
|
|
364
394
|
if (where.laid >= 0) {
|
|
365
395
|
const at = layerOf(e.nodeId);
|
|
366
|
-
|
|
367
|
-
if (
|
|
368
|
-
laid.set(where.laid, layers);
|
|
396
|
+
if (at && at.section === where.laid) laidOf(where.laid).layers.add(at.layer);
|
|
397
|
+
else if (GROUND_NODE.test(e.nodeId)) laidOf(where.laid).ground = true;
|
|
369
398
|
} else if (where.planAt >= 0) planAt.add(where.planAt);
|
|
370
399
|
}
|
|
371
400
|
let next: PagePlan = page;
|
|
@@ -376,46 +405,27 @@ export function typeLedRound(
|
|
|
376
405
|
if (swapSection(page, copy, i)) sections = copy;
|
|
377
406
|
}
|
|
378
407
|
if (sections) next = { ...next, sections };
|
|
379
|
-
// A section the model laid with a
|
|
380
|
-
//
|
|
381
|
-
// whole page from its sections when no place can be given away.
|
|
408
|
+
// A composed page KEEPS its composition (2026-11-25): a section the model laid with a picture nothing fills is
|
|
409
|
+
// filled type-led in its own place — never handed to a ready-made section, the page never made from its sections.
|
|
382
410
|
if (page.layout && laid.size) {
|
|
383
|
-
const
|
|
384
|
-
const
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
:
|
|
396
|
-
|
|
397
|
-
const { layout: _laid, ...rest } = next;
|
|
398
|
-
next = rest as PagePlan;
|
|
399
|
-
} else {
|
|
400
|
-
for (const swap of fallback.swaps) {
|
|
401
|
-
const kept = words.get(swap.at);
|
|
402
|
-
changes.push({
|
|
403
|
-
kind: kept ? TypeLedChangeKind.LayoutWords : TypeLedChangeKind.LayoutSection, page: page.key, at: swap.at, ...(swap.readyMade ? { to: swap.readyMade.pattern } : {}),
|
|
404
|
-
said: `${page.name}: section ${swap.at + 1} ${SAID_LAYOUT} — ${swap.readyMade ? `the ready-made ${swap.readyMade.pattern} stands there` : kept ? 'its words stay, its photos left out' : 'left out (it says nothing without its photos)'}`,
|
|
405
|
-
});
|
|
406
|
-
}
|
|
407
|
-
// The dropped places that keep their words go back where the model laid them.
|
|
408
|
-
const swapped = new Set(fallback.swaps.filter(w => w.action === SectionSwapAction.Dropped).map(w => w.at));
|
|
409
|
-
const left = [...fallback.page.sections];
|
|
410
|
-
const sectionsBack: LayoutSection[] = [];
|
|
411
|
-
page.layout.sections.forEach((_, i) => {
|
|
412
|
-
if (words.has(i)) sectionsBack.push(words.get(i)!);
|
|
413
|
-
else if (!swapped.has(i)) sectionsBack.push(left.shift()!);
|
|
411
|
+
const pictured = picturesByLayer(composed.placeholders, page.key, roots);
|
|
412
|
+
const unfilled = picturesByLayer(mine, page.key, roots);
|
|
413
|
+
let plated = false;
|
|
414
|
+
const laidSections = page.layout.sections.map((section, i) => {
|
|
415
|
+
const at = laid.get(i);
|
|
416
|
+
if (!at) return section;
|
|
417
|
+
// A layer becomes a plate only when no picture of it is filled (a gallery with one filled slide stays).
|
|
418
|
+
const plates = new Set([...at.layers].filter(li => PICTURE_LAYERS.has(section.layers[li]?.kind) && pictured.get(`${i}:${li}`) === unfilled.get(`${i}:${li}`)));
|
|
419
|
+
if (!plates.size && !at.ground) return section;
|
|
420
|
+
plated = true;
|
|
421
|
+
const n = plates.size;
|
|
422
|
+
changes.push({
|
|
423
|
+
kind: TypeLedChangeKind.Plate, page: page.key, at: i,
|
|
424
|
+
said: `${page.name}: section ${i + 1} (${section.id}) ${n ? `holds ${n === 1 ? 'a photo' : `${n} photos`} nothing fills — ${n === 1 ? 'it stands' : 'each stands'} as a plate of the look's colour in its place` : 'stands on a photo nothing fills — it stands on a ground of the look'}${n && at.ground ? ', on a ground of the look' : ''}, the composition kept`,
|
|
414
425
|
});
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
}
|
|
426
|
+
return typeLedPlates(section, plates, at.ground, calm);
|
|
427
|
+
});
|
|
428
|
+
if (plated) next = { ...next, layout: { ...page.layout, sections: laidSections } };
|
|
419
429
|
}
|
|
420
430
|
if (first) { firstScreen = next; homeAt = p; }
|
|
421
431
|
return next;
|