@vectoriox/iox-ui 5.138.0 → 5.140.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.
@@ -6240,8 +6240,8 @@ declare const SPEC_SITE_LAYOUT: {
6240
6240
  readonly "inBar.none": "nothing more in the bar";
6241
6241
  readonly "inBar.icons": "small icons (sound, theme, chat) in the bar";
6242
6242
  readonly "inBar.search": "a search field in the bar";
6243
- readonly "ink.opening": "the header's ink follows the page's opening ground";
6244
- readonly "ink.follows": "the header's ink follows the ground of every section that passes under it";
6243
+ readonly "ink.opening": "the header's colours follow the page's opening ground";
6244
+ readonly "ink.follows": "the header's colours follow the ground of every section that passes under it";
6245
6245
  };
6246
6246
  readonly meaningsHe: {
6247
6247
  readonly "arrange.split": "השם בתחילת הפס, הדפים בסופו";
@@ -6305,8 +6305,8 @@ declare const SPEC_SITE_LAYOUT: {
6305
6305
  readonly "inBar.none": "שום דבר נוסף בפס";
6306
6306
  readonly "inBar.icons": "אייקונים קטנים (צליל, ערכת צבע, צ׳אט) בפס";
6307
6307
  readonly "inBar.search": "שדה חיפוש בפס";
6308
- readonly "ink.opening": "צבע הכותרת העליונה הולך אחרי הרקע של פתיחת הדף";
6309
- readonly "ink.follows": "צבע הכותרת העליונה הולך אחרי הרקע של כל אזור שעובר מתחתיה";
6308
+ readonly "ink.opening": "צבעי הכותרת העליונה הולכים אחרי הרקע של פתיחת הדף";
6309
+ readonly "ink.follows": "צבעי הכותרת העליונה הולכים אחרי הרקע של כל אזור שעובר מתחתיה";
6310
6310
  };
6311
6311
  readonly waits: {
6312
6312
  readonly "menuShows.pictures": {
@@ -12297,6 +12297,10 @@ interface ComposeContext {
12297
12297
  photoShape?: (photoId: string) => `${LayoutPhotoShape}` | undefined;
12298
12298
  /** The tier the plan was made at (its generation's stored tier, AW-D23) — absent = Basic: at most two composed pages. */
12299
12299
  tier?: `${GenerationTier}`;
12300
+ /** AW6 (R-H19): a trust or care business — its type's motion ceiling is calm (harness-core `isCalmBusiness`), so the
12301
+ * body never wears a torn or dripping edge (`checkBody` mends it to a wave, said). The business type is the
12302
+ * generation's (the reading), never the plan's — the caller knows it. Absent = not calm. */
12303
+ calm?: boolean;
12300
12304
  /** AW1: what the studio holds that decides its legal pages and banner (country, trackers, its own legal pages, its
12301
12305
  * routes, a banner it keeps). Absent = only what the plan and the composed pages say (no tracker, no country). */
12302
12306
  legal?: LegalContext;
@@ -12311,7 +12315,7 @@ interface LayoutPhotoAddress {
12311
12315
  shape?: string;
12312
12316
  }
12313
12317
  /** The composer's context for a site whose layouts name photos: the year, and each photo's address, words and shape. */
12314
- declare function composeContextOf(year: number, photos?: Readonly<Record<string, LayoutPhotoAddress>>, tier?: `${GenerationTier}`, legal?: LegalContext | null): ComposeContext;
12318
+ declare function composeContextOf(year: number, photos?: Readonly<Record<string, LayoutPhotoAddress>>, tier?: `${GenerationTier}`, legal?: LegalContext | null, calm?: boolean): ComposeContext;
12315
12319
  interface ComposedPage {
12316
12320
  key: string;
12317
12321
  name: string;
@@ -13311,8 +13315,15 @@ declare enum PlanWireEntry {
13311
13315
  }
13312
13316
  /** The plan keys the model does not write, and where the expander takes each from. */
13313
13317
  declare const PLAN_WIRE_DERIVED: Readonly<Record<string, string>>;
13314
- /** The wire's shape table, in the plan table's words — what the model reads, and what the format is built from. */
13318
+ /** What a plan request is asked at: its generation's tier (AW-D23). Absent = Basic — the wire every tier but the award's reads. */
13319
+ interface PlanWireOptions {
13320
+ tier?: `${GenerationTier}`;
13321
+ }
13322
+ /** The wire's shape table, in the plan table's words — what the model reads, and what the format is built from. The
13323
+ * Basic tier's (every tier's but the award's); `planWireShape(options)` gives a tier's own. */
13315
13324
  declare const PLAN_WIRE_SHAPE: Readonly<Record<`${PlanWireEntry}`, ShapeEntry>>;
13325
+ /** The wire's shape table a request at `options` reads (AW6: the award tier's carries the body). Basic = `PLAN_WIRE_SHAPE`. */
13326
+ declare function planWireShape(options?: PlanWireOptions): Readonly<Record<`${PlanWireEntry}`, ShapeEntry>>;
13316
13327
  /** Each part's top-level keys, from the ONE wire table. */
13317
13328
  declare const PLAN_PART_KEYS: Readonly<Record<PlanPart, ReadonlyArray<string>>>;
13318
13329
  /**
@@ -13340,12 +13351,13 @@ declare function wirePageJsonSchema(options?: WireOptions): JsonSchema;
13340
13351
  /** Commerce C-D21: one product the business sells, as the structure writes it — never a price, stock or a fee. */
13341
13352
  declare function wireShopProductJsonSchema(): JsonSchema;
13342
13353
  /** The plan's top-level shape for one part (its keys only) — what that part's request shows and is built from. */
13343
- declare function planWirePartShape(part: PlanPart): ShapeEntry;
13354
+ declare function planWirePartShape(part: PlanPart, options?: PlanWireOptions): ShapeEntry;
13344
13355
  /**
13345
13356
  * The format a model writes one part of a plan in — one request each (vectoriox/iox-cms#47). The same for every studio
13346
- * and run: nothing in it is pinned, so the provider compiles each part's grammar once.
13357
+ * and run at a tier: nothing in it is pinned, so the provider compiles each part's grammar once per tier (AW6: the award
13358
+ * tier's Pages part adds `globals.body`; every other tier's is the format it always was, byte for byte).
13347
13359
  */
13348
- declare function planWirePartJsonSchema(part: PlanPart): JsonSchema;
13360
+ declare function planWirePartJsonSchema(part: PlanPart, options?: PlanWireOptions): JsonSchema;
13349
13361
  /** What the plan takes from the generation, not from the model. */
13350
13362
  interface PlanWireContext {
13351
13363
  design: DesignChoices;
@@ -13375,10 +13387,11 @@ declare function contentTypeToWire(type: ContentTypePlan, options?: WireOptions)
13375
13387
  declare function dataSourceToWire(source: DataSourcePlan): PlainObject;
13376
13388
  declare function sectionToWire(section: PageSectionPlan): PlainObject;
13377
13389
  declare function pageToWire(page: PagePlan, options?: WireOptions): PlainObject;
13378
- /** One part of the plan on the wire: what that part's request would have answered. */
13379
- declare function planPartToWire(plan: SitePlan, part: PlanPart): PlainObject;
13380
- /** The plan → the wire, by part: what a model would have written (the change prompt shows it; fakes and evals write it). */
13381
- declare function planToWire(plan: SitePlan): Record<PlanPart, PlainObject>;
13390
+ /** One part of the plan on the wire: what that part's request (asked at `options`' tier) would have answered. */
13391
+ declare function planPartToWire(plan: SitePlan, part: PlanPart, options?: PlanWireOptions): PlainObject;
13392
+ /** The plan → the wire, by part: what a model would have written (the change prompt shows it; fakes and evals write it).
13393
+ * At the award tier the body travels too (AW6); below it, a plan's body is not on the wire. */
13394
+ declare function planToWire(plan: SitePlan, options?: PlanWireOptions): Record<PlanPart, PlainObject>;
13382
13395
 
13383
13396
  /**
13384
13397
  * The AI pipeline's WIRE vocabulary (AI plan §3c, §3n, M0): what iox-cms's `ai` API answers and what every client
@@ -16715,5 +16728,5 @@ declare function siteTreeOf(studio: SiteStudio): SiteTree;
16715
16728
  * its phone menu, the footer's copyright line. */
16716
16729
  declare function siteGlobalsOf(globals: ReadonlyArray<SerializedNode>): SiteTreeGlobals | null;
16717
16730
 
16718
- export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkBody, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, groundToneOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBuiltWords, listIngredientWords, listMeaning, listNeverIsEmpty, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords, orientationOfRatio, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
16719
- export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, FactKey, FilmPlacement, FilmTarget, FingerprintedPage, FooterContext, FooterMix, FooterRepair, FooterWait, FrameRegion, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, JsonSchema, KeptPageRefusal, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListIngredient, ListWait, LookBefore, MeasuredLayer, MeasuredLayout, 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, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanWireContext, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, RecipeListBinds, RedesignAdditions, RedesignAdditionsStaged, RedesignBack, RedesignBackPreview, RedesignLook, RedesignPageOutcome, RedesignPagePreflight, RedesignPageRefusal, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, RhythmContext, ScrimChoice, ScrubContext, ScrubbableStamp, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StagedAddition, StagedPage, StampedAction, StampedInteraction, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
16731
+ export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_ROLE_WORDS, LIST_TABLE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkBody, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, groundToneOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBuiltWords, listIngredientWords, listMeaning, listNeverIsEmpty, listTokenOf, listTokensOf, listWait, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords, orientationOfRatio, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
16732
+ export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, FactKey, FilmPlacement, FilmTarget, FingerprintedPage, FooterContext, FooterMix, FooterRepair, FooterWait, FrameRegion, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, JsonSchema, KeptPageRefusal, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListIngredient, ListWait, LookBefore, MeasuredLayer, MeasuredLayout, 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, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanWireContext, PlanWireOptions, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, RecipeListBinds, RedesignAdditions, RedesignAdditionsStaged, RedesignBack, RedesignBackPreview, RedesignLook, RedesignPageOutcome, RedesignPagePreflight, RedesignPageRefusal, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, RhythmContext, ScrimChoice, ScrubContext, ScrubbableStamp, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StagedAddition, StagedPage, StampedAction, StampedInteraction, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
@@ -2997,6 +2997,11 @@ declare const LITTLE_MOVEMENT_CAP: Readonly<DesignMotion>;
2997
2997
  type Axis = keyof DesignMotion;
2998
2998
  /** The stiller of two choices on one axis (the axes are ordered stillest first). */
2999
2999
  declare function calmerChoice<A extends Axis>(axis: A, a: DesignMotion[A], b: DesignMotion[A]): DesignMotion[A];
3000
+ /** A calm business: its type goes no further than below Standard (harness `MOTION_CEILINGS.subtle` — care and advice). The
3001
+ * ONE reading of "calm" — Motion's start, the style's cover and the body's edges (AW6 `ComposeContext.calm`) ask it. */
3002
+ declare function isCalmBusiness(type: Pick<BusinessType, 'ceiling'> | null | undefined): boolean;
3003
+ /** A calm business, by its type's id (unknown or absent: not calm). */
3004
+ declare function isCalmBusinessType(id: string | null | undefined, types?: ReadonlyArray<BusinessType>): boolean;
3000
3005
  declare function motionFor(input: MotionInput, presetId: string, read?: StyleRead | null, types?: ReadonlyArray<BusinessType>, presets?: ReadonlyArray<StylePreset>): MotionStart;
3001
3006
 
3002
3007
  /** Who asked for a need: the owner named it, or the kind of business needs it ("we added"). */
@@ -3682,5 +3687,5 @@ type SiteAuditView = SiteAudit & {
3682
3687
  advice: LintFinding[];
3683
3688
  };
3684
3689
 
3685
- export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, ComposedPageState, CopyLength, GENERATION_LIMITS, HARNESS_SOURCE, LITTLE_MOVEMENT_AVOID, LITTLE_MOVEMENT_CAP, LintKind, MAX_ANALYSIS_MOODS, MAX_PIXEL_SAMPLES, MAX_READ_PICTURES, NEEDS, NEED_IDS, NeedSource, PALETTE_SIZE, PALETTE_THRESHOLDS, PRODUCTS_NEED, PictureRole, PicturesUnavailable, PlanChangeOutcome, PresetFit, RANK_WEIGHTS, READING_SHAPE, READ_ANIMATE, READ_WEIGHTS, RankReason, ReaderState, ReadingIssueCode, SITE_ANALYSIS_SCHEMA_NAME, SITE_READING_SCHEMA_NAME, SPEC_ANALYSIS_SHAPE, SPEC_BUSINESS_TYPES, SPEC_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STRUCTURES, SellingNeed, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessTypeById, calmerChoice, decodeSiteReading, inferNeeds, isLookRule, lintDesign, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, needsSell, normalizeAddress, offeredNeeds, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, userAvoidRule, validateSiteAnalysis, validateSiteReading, withSellingNeed, withoutAddress };
3690
+ export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, ComposedPageState, CopyLength, GENERATION_LIMITS, HARNESS_SOURCE, LITTLE_MOVEMENT_AVOID, LITTLE_MOVEMENT_CAP, LintKind, MAX_ANALYSIS_MOODS, MAX_PIXEL_SAMPLES, MAX_READ_PICTURES, NEEDS, NEED_IDS, NeedSource, PALETTE_SIZE, PALETTE_THRESHOLDS, PRODUCTS_NEED, PictureRole, PicturesUnavailable, PlanChangeOutcome, PresetFit, RANK_WEIGHTS, READING_SHAPE, READ_ANIMATE, READ_WEIGHTS, RankReason, ReaderState, ReadingIssueCode, SITE_ANALYSIS_SCHEMA_NAME, SITE_READING_SCHEMA_NAME, SPEC_ANALYSIS_SHAPE, SPEC_BUSINESS_TYPES, SPEC_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STRUCTURES, SellingNeed, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessTypeById, calmerChoice, decodeSiteReading, inferNeeds, isCalmBusiness, isCalmBusinessType, isLookRule, lintDesign, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, needsSell, normalizeAddress, offeredNeeds, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, userAvoidRule, validateSiteAnalysis, validateSiteReading, withSellingNeed, withoutAddress };
3686
3691
  export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeLists, BusinessTypeMatch, CheckRule, ColourSample, ComposedPageView, FactRead, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StructureChoice, StructureId, StyleHints, StyleRead, UserAvoidId };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-ui",
3
- "version": "5.138.0",
3
+ "version": "5.140.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -73,6 +73,7 @@ const CONSENT_WORDS = {
73
73
  title: 'Cookies on this site',
74
74
  body: 'Analytics and marketing cookies run only if you allow them. Necessary ones always run.',
75
75
  accept: 'Accept all', reject: 'Reject all', preferences: 'Preferences', settings: 'Cookie settings', done: 'Done',
76
+ privacy: 'Privacy policy',
76
77
  prefsTitle: 'Your privacy choices',
77
78
  prefsSub: 'Change these any time from “Cookie settings” at the foot of the site.',
78
79
  alwaysOn: 'Always on',
@@ -86,6 +87,7 @@ const CONSENT_WORDS = {
86
87
  title: 'עוגיות באתר הזה',
87
88
  body: 'עוגיות לסטטיסטיקה ולשיווק פועלות רק באישורך. עוגיות הכרחיות פועלות תמיד.',
88
89
  accept: 'לאשר הכול', reject: 'לדחות הכול', preferences: 'העדפות', settings: 'הגדרות עוגיות', done: 'סיום',
90
+ privacy: 'מדיניות פרטיות',
89
91
  prefsTitle: 'הבחירות שלך לפרטיות',
90
92
  prefsSub: 'אפשר לשנות בכל עת ב„הגדרות עוגיות” שבתחתית האתר.',
91
93
  alwaysOn: 'תמיד פועלות',
@@ -113,7 +115,7 @@ export interface ConsentRecipeOptions {
113
115
  categories?: ReadonlyArray<ConsentCategory>;
114
116
  /** The privacy page's route — linked from the banner when the site has one. */
115
117
  privacyRoute?: string | null;
116
- /** The privacy link's words (the page's title). */
118
+ /** The privacy link's words (the page's title; the site's language's "Privacy policy" when it has none). */
117
119
  privacyLabel?: string;
118
120
  }
119
121
 
@@ -207,7 +209,7 @@ export function buildConsentRecipe(create: CompositeNodeFactory, options: Consen
207
209
  ? [recipePart(create, 'consent-privacy', 'Link', ConsentRole.Privacy, Style.Link,
208
210
  // Hugs its words: the words column stretches its children, and a stretched link draws its underline the
209
211
  // column's whole width (AW1 Rule 0, 2026-11-21). `flex-start` is logical — the start side in Hebrew too.
210
- { label: options.privacyLabel || 'Privacy policy', linkType: 'page', pageRoute: options.privacyRoute }, 'Privacy policy',
212
+ { label: options.privacyLabel || t.privacy, linkType: 'page', pageRoute: options.privacyRoute }, 'Privacy policy',
211
213
  { ...WORDS, alignSelf: 'flex-start' })]
212
214
  : []),
213
215
  ];
@@ -1376,6 +1376,8 @@ const PATTERN_SECTION_PAD = 'var(--iox-section-pad)';
1376
1376
  const PATTERN_SECTION_SPACE = 'var(--iox-space-section)';
1377
1377
  /** The furthest in a ready-made section's words start: the column grid keeps at least eight columns for them. */
1378
1378
  const READY_MADE_MAX_COLUMN = 3;
1379
+ /** A carried whole's cell per screen its section place asks for: a screen less the section's padding above and below. */
1380
+ const CARRIED_CELL_SCREEN = 80;
1379
1381
 
1380
1382
  /** The ground a section paints, by name (a photo ground reads as the ink: its words are light). */
1381
1383
  function groundOf(s: LayoutSection): string {
@@ -1446,10 +1448,32 @@ function carriedSection(s: LayoutSection, si: number, ctx: Ctx): SerializedNode
1446
1448
  const root = create(`${ctx.p}-s${si}`, T.Section, {}, NO_ELEMENT_STYLE);
1447
1449
  root.label = s.id;
1448
1450
  setStyleProps(root, { padding: PATTERN_SECTION_PAD, margin: ZERO, ...(ctx.rtl ? { textDirection: 'rtl' } : {}) });
1449
- root.children = [node];
1451
+ root.children = [fillsItsCell(node) ? carriedCell(`${root.id}-cell`, node, s) : node];
1450
1452
  return root;
1451
1453
  }
1452
1454
 
1455
+ /** Does this node fill the cell it was placed in (absolutely, at the full size of its old layer's frame)? A gallery's
1456
+ * slider and a list's row are (`composeGallery` / `composeList`). */
1457
+ function fillsItsCell(node: SerializedNode): boolean {
1458
+ const position = String(node.styleProps?.['position'] ?? '');
1459
+ return position === 'absolute' || position === 'fixed';
1460
+ }
1461
+
1462
+ /**
1463
+ * vectoriox/iox-ui#105: a whole carried out of a layer that FILLED its cell. Its old frame (positioned, sized by the
1464
+ * grid) was what it was placed against; a bare Section is neither, so the slider measured itself against the page and
1465
+ * drew at its top. The cell comes with it: the old frame's shape, the section place's height on a laptop (at most a screen), its own
1466
+ * shape on a phone (where the node is in flow already).
1467
+ */
1468
+ function carriedCell(id: string, node: SerializedNode, s: LayoutSection): SerializedNode {
1469
+ const cell = create(id, T.Container, {}, NO_ELEMENT_STYLE);
1470
+ cell.label = 'Cell';
1471
+ setStyleProps(cell, { position: 'relative', width: FULL, minHeight: ZERO, height: `${Math.min(1, Math.max(0.5, s.screens || 1)) * CARRIED_CELL_SCREEN}svh` });
1472
+ phone(cell, { height: 'auto' });
1473
+ cell.children = [node];
1474
+ return cell;
1475
+ }
1476
+
1453
1477
  /**
1454
1478
  * A layout-language page → its layout and header. Deterministic: the same layout composes to byte-identical nodes.
1455
1479
  * Refuses (ComposeError) a link to a section the layout does not have; everything the product cannot say comes back in
@@ -153,6 +153,10 @@ export interface ComposeContext {
153
153
  photoShape?: (photoId: string) => `${LayoutPhotoShape}` | undefined;
154
154
  /** The tier the plan was made at (its generation's stored tier, AW-D23) — absent = Basic: at most two composed pages. */
155
155
  tier?: `${GenerationTier}`;
156
+ /** AW6 (R-H19): a trust or care business — its type's motion ceiling is calm (harness-core `isCalmBusiness`), so the
157
+ * body never wears a torn or dripping edge (`checkBody` mends it to a wave, said). The business type is the
158
+ * generation's (the reading), never the plan's — the caller knows it. Absent = not calm. */
159
+ calm?: boolean;
156
160
  /** AW1: what the studio holds that decides its legal pages and banner (country, trackers, its own legal pages, its
157
161
  * routes, a banner it keeps). Absent = only what the plan and the composed pages say (no tracker, no country). */
158
162
  legal?: LegalContext;
@@ -169,8 +173,10 @@ export interface LayoutPhotoAddress {
169
173
  }
170
174
 
171
175
  /** The composer's context for a site whose layouts name photos: the year, and each photo's address, words and shape. */
172
- export function composeContextOf(year: number, photos?: Readonly<Record<string, LayoutPhotoAddress>>, tier?: `${GenerationTier}`, legal?: LegalContext | null): ComposeContext {
173
- const tiered = { ...(tier ? { tier } : {}), ...(legal ? { legal } : {}) };
176
+ export function composeContextOf(
177
+ year: number, photos?: Readonly<Record<string, LayoutPhotoAddress>>, tier?: `${GenerationTier}`, legal?: LegalContext | null, calm?: boolean,
178
+ ): ComposeContext {
179
+ const tiered = { ...(tier ? { tier } : {}), ...(legal ? { legal } : {}), ...(calm ? { calm } : {}) };
174
180
  if (!photos) return { year, ...tiered };
175
181
  return {
176
182
  year,
@@ -1672,7 +1678,7 @@ export function composeSite(plan: SitePlan, context: ComposeContext): ComposedSi
1672
1678
  const rtl = isRtlLocale(locale);
1673
1679
  // AW6: the plan's body (seams, inset cards) as the build's tier may carry it — every mend said (`body-mended`).
1674
1680
  const bodyMixAsked = bodyMixOfPlan(plan);
1675
- const bodyChecked = bodyMixAsked ? checkBody(drawnBodyMix(bodyMixAsked).drawn, { tier: context?.tier ?? GenerationTier.Basic }) : null;
1681
+ const bodyChecked = bodyMixAsked ? checkBody(drawnBodyMix(bodyMixAsked).drawn, { tier: context?.tier ?? GenerationTier.Basic, calm: !!context?.calm }) : null;
1676
1682
  for (const r of bodyChecked?.repairs ?? []) issues.push({ code: ComposeIssueCode.BodyMended, nodeId: 'body', owner: 'body', detail: r.said });
1677
1683
  const body = bodyChecked?.mix ?? null;
1678
1684
  const pages: ComposedPage[] = plan.pages.map(page => {
@@ -7,6 +7,7 @@ import { withDerivedSources } from './plan-derived';
7
7
  import { DEFAULT_HEADER_PATTERN, HeaderIngredient, headerMeaning, headerMix, headerMixFromWords, headerMixOfPlan, headerMixWords, headerPatternIdOf, headerWireWords } from './header-mix';
8
8
  import { DEFAULT_FOOTER_PATTERN, FooterIngredient, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPatternIdOf, footerWireWords, footerWords } from './footer-mix';
9
9
  import { OpeningIngredient, openingMeaning, openingWireWords, openingWordTier } from './opening-mix';
10
+ import { BodyIngredient, bodyMeaning, bodyMix, bodyMixWords, bodyWireWords } from './body-mix';
10
11
  import { shopCategoriesOf } from './shop-plan';
11
12
  import { ContentFieldControl, FIELD_TYPE_OF_CONTROL,
12
13
  ContentFieldPlan, ContentTypePlan, DataSourcePlan, FactKey, GenerationTier, GlobalSlot, PAGE_ARCHETYPES, PagePlan, PageSectionPlan, PlanDataSourceMode, PlanDataSourceType,
@@ -91,6 +92,8 @@ interface WireKey {
91
92
  none?: string;
92
93
  /** The part a top-level key is written in. */
93
94
  part?: PlanPart;
95
+ /** AW-D23 (AW6 wire): a key only the award tier's request carries — every other tier's wire is without it, byte for byte. */
96
+ tier?: GenerationTier.Award;
94
97
  }
95
98
 
96
99
  const PLAN_SHAPE = SPEC_SITE_PLAN_SHAPE as unknown as Readonly<Record<string, ShapeEntry>>;
@@ -124,6 +127,19 @@ const HEADER_WIRE_TEXT = 'string[] — the header as ONE list of <ingredient>:<w
124
127
  + 'beside the name, pages either side of the name need a short name, two actions need a shop. '
125
128
  + Object.values(HeaderIngredient).map(k => `${k}: ${headerWireWords().filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1)).map(w => `${w} (${headerMeaning(k, w)})`).join(' | ')}`).join('; ');
126
129
 
130
+ /** The wire's `globals` key the site's body travels in (AW6) — the award tier's alone (AW-D23…D25). */
131
+ const BODY_WIRE_KEY = 'body';
132
+
133
+ /** The body's words as the model reads them (AW6): each ingredient, the words an award build may wear today and their
134
+ * meanings, from the contract's body table. */
135
+ const BODY_WIRE_TEXT = "string[] — the site's body as ONE list of <ingredient>:<word> words: how its sections meet and how their grounds "
136
+ + `follow one another; one word per ingredient but sections, which lists each extra kind it takes; an ingredient left out is the default `
137
+ + `(${bodyMixWords(bodyMix()).join(', ')}); [] = straight edges, each section's ground its own. An edge shows only where two neighbouring `
138
+ + 'sections wear different grounds; a calm business (care, advice) never wears a torn or dripping edge. '
139
+ + Object.values(BodyIngredient).map(k => [k, bodyWireWords(GenerationTier.Award).filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))] as const)
140
+ .filter(([, words]) => words.length)
141
+ .map(([k, words]) => `${k}: ${words.map(w => `${w} (${bodyMeaning(k, w)})`).join(' | ')}`).join('; ');
142
+
127
143
  const WIRE_KEYS: Readonly<Record<`${PlanWireEntry}`, Readonly<Record<string, WireKey>>>> = {
128
144
  plan: {
129
145
  business: inPart(PlanPart.Structure, key('plan.business')),
@@ -229,6 +245,9 @@ const WIRE_KEYS: Readonly<Record<`${PlanWireEntry}`, Readonly<Record<string, Wir
229
245
  footer: { refs: ['globals.footer', 'plan.mixes', 'mixes.footer'], text: FOOTER_WIRE_TEXT },
230
246
  // AW8: the home page's opening travels as its MIX, ONE list of `<ingredient>:<word>` words (opening-mix.ts); [] = none.
231
247
  opening: { refs: ['plan.mixes', 'mixes.opening'], text: OPENING_WIRE_TEXT },
248
+ // AW6: the site's body travels as its MIX, ONE list of `<ingredient>:<word>` words (body-mix.ts); [] = none. The award
249
+ // tier's request alone carries it (AW-D23…D25): a Basic wire is without the key, so its grammar is the one it was.
250
+ body: { refs: ['plan.mixes', 'mixes.body'], text: BODY_WIRE_TEXT, tier: GenerationTier.Award },
232
251
  },
233
252
  shopProduct: {
234
253
  name: key('shopProduct.name'),
@@ -262,7 +281,6 @@ export const PLAN_WIRE_DERIVED: Readonly<Record<string, string>> = {
262
281
  'page.layout': 'the layout step: one request per composed page, after the pages (M8 gate 2)',
263
282
  'shop.categories': "the products' own categories, in order (shopCategoriesOf)",
264
283
  layoutPage: 'the layout step: one request per composed page, after the pages (M8 gate 2)',
265
- 'mixes.body': 'not asked yet: every body word but the defaults waits for AW6 (bodyWireWords); absent = straight edges, free grounds',
266
284
  };
267
285
 
268
286
  const wireText = (spec: WireKey): string => {
@@ -271,11 +289,30 @@ const wireText = (spec: WireKey): string => {
271
289
  return spec.none === undefined ? base : `${base} — ${spec.none} = none`;
272
290
  };
273
291
 
274
- /** The wire's shape table, in the plan table's words — what the model reads, and what the format is built from. */
275
- export const PLAN_WIRE_SHAPE: Readonly<Record<`${PlanWireEntry}`, ShapeEntry>> = Object.fromEntries(
276
- Object.entries(WIRE_KEYS).map(([entry, keys]) => [entry, Object.fromEntries(Object.entries(keys).map(([k, spec]) => [k, wireText(spec)]))]),
292
+ /** What a plan request is asked at: its generation's tier (AW-D23). Absent = Basic — the wire every tier but the award's reads. */
293
+ export interface PlanWireOptions {
294
+ tier?: `${GenerationTier}`;
295
+ }
296
+
297
+ const isAward = (options: PlanWireOptions) => options.tier === GenerationTier.Award;
298
+ /** Is a wire key on the request asked at `options`? (A key with no tier is on every request.) */
299
+ const asked = (spec: WireKey, options: PlanWireOptions) => !spec.tier || (spec.tier === GenerationTier.Award && isAward(options));
300
+
301
+ const wireShapeAt = (options: PlanWireOptions): Record<`${PlanWireEntry}`, ShapeEntry> => Object.fromEntries(
302
+ Object.entries(WIRE_KEYS).map(([entry, keys]) => [entry, Object.fromEntries(Object.entries(keys).filter(([, spec]) => asked(spec, options)).map(([k, spec]) => [k, wireText(spec)]))]),
277
303
  ) as Record<`${PlanWireEntry}`, ShapeEntry>;
278
304
 
305
+ /** The wire's shape table, in the plan table's words — what the model reads, and what the format is built from. The
306
+ * Basic tier's (every tier's but the award's); `planWireShape(options)` gives a tier's own. */
307
+ export const PLAN_WIRE_SHAPE: Readonly<Record<`${PlanWireEntry}`, ShapeEntry>> = wireShapeAt({});
308
+
309
+ const AWARD_WIRE_SHAPE: Readonly<Record<`${PlanWireEntry}`, ShapeEntry>> = wireShapeAt({ tier: GenerationTier.Award });
310
+
311
+ /** The wire's shape table a request at `options` reads (AW6: the award tier's carries the body). Basic = `PLAN_WIRE_SHAPE`. */
312
+ export function planWireShape(options: PlanWireOptions = {}): Readonly<Record<`${PlanWireEntry}`, ShapeEntry>> {
313
+ return isAward(options) ? AWARD_WIRE_SHAPE : PLAN_WIRE_SHAPE;
314
+ }
315
+
279
316
  /** Each part's top-level keys, from the ONE wire table. */
280
317
  export const PLAN_PART_KEYS: Readonly<Record<PlanPart, ReadonlyArray<string>>> = Object.fromEntries(
281
318
  PLAN_PARTS.map(part => [part, Object.entries(WIRE_KEYS.plan).filter(([, spec]) => spec.part === part).map(([k]) => k)]),
@@ -405,16 +442,17 @@ export function wirePageJsonSchema(options: WireOptions = {}): JsonSchema {
405
442
  });
406
443
  }
407
444
 
408
- const PLAN_TOP_SCHEMAS: Readonly<Record<string, () => JsonSchema>> = {
445
+ const PLAN_TOP_SCHEMAS: Readonly<Record<string, (options: PlanWireOptions) => JsonSchema>> = {
409
446
  business: () => shaped(PlanWireEntry.Business, { name: jsonText(), tagline: jsonText() }),
410
447
  contentTypes: () => jsonListOf(wireContentTypeJsonSchema()),
411
448
  dataSources: () => jsonListOf(wireDataSourceJsonSchema()),
412
449
  pages: () => jsonListOf(wirePageJsonSchema()),
413
- globals: () => shaped(PlanWireEntry.Globals, {
450
+ globals: options => jsonShapedObject(planWireShape(options).globals, {
414
451
  [GlobalSlot.Header]: jsonListOf(jsonOneOf(headerWireWords())),
415
452
  [GlobalSlot.Footer]: jsonListOf(jsonOneOf(footerWireWords())),
416
453
  [OPENING_WIRE_KEY]: jsonListOf(jsonOneOf(openingWireWords(GenerationTier.Award))),
417
- }),
454
+ ...(isAward(options) ? { [BODY_WIRE_KEY]: jsonListOf(jsonOneOf(bodyWireWords(GenerationTier.Award))) } : {}),
455
+ }, `wire ${PlanWireEntry.Globals}`),
418
456
  direction: () => shaped(PlanWireEntry.Direction, { idea: jsonText(), cliche: jsonText(), flip: jsonText(), rules: jsonListOf(jsonText()) }),
419
457
  shop: () => jsonListOf(wireShopProductJsonSchema()),
420
458
  };
@@ -428,20 +466,21 @@ export function wireShopProductJsonSchema(): JsonSchema {
428
466
  }
429
467
 
430
468
  /** The plan's top-level shape for one part (its keys only) — what that part's request shows and is built from. */
431
- export function planWirePartShape(part: PlanPart): ShapeEntry {
432
- return Object.fromEntries(Object.entries(PLAN_WIRE_SHAPE.plan).filter(([k]) => PLAN_PART_KEYS[part].includes(k)));
469
+ export function planWirePartShape(part: PlanPart, options: PlanWireOptions = {}): ShapeEntry {
470
+ return Object.fromEntries(Object.entries(planWireShape(options).plan).filter(([k]) => PLAN_PART_KEYS[part].includes(k)));
433
471
  }
434
472
 
435
473
  /**
436
474
  * The format a model writes one part of a plan in — one request each (vectoriox/iox-cms#47). The same for every studio
437
- * and run: nothing in it is pinned, so the provider compiles each part's grammar once.
475
+ * and run at a tier: nothing in it is pinned, so the provider compiles each part's grammar once per tier (AW6: the award
476
+ * tier's Pages part adds `globals.body`; every other tier's is the format it always was, byte for byte).
438
477
  */
439
- export function planWirePartJsonSchema(part: PlanPart): JsonSchema {
478
+ export function planWirePartJsonSchema(part: PlanPart, options: PlanWireOptions = {}): JsonSchema {
440
479
  const gaps = planWireGaps();
441
480
  if (gaps.length) throw new PlanWireShapeError(`the plan wire neither carries nor derives ${gaps.join(', ')}`);
442
481
  const missing = Object.keys(WIRE_KEYS.plan).filter(k => !PLAN_TOP_SCHEMAS[k] || !WIRE_KEYS.plan[k].part);
443
482
  if (missing.length) throw new PlanWireShapeError(`the plan wire's ${missing.join(', ')} has no part or no format`);
444
- return jsonShapedObject(planWirePartShape(part), Object.fromEntries(PLAN_PART_KEYS[part].map(k => [k, PLAN_TOP_SCHEMAS[k]()])), `wire plan ${part}`);
483
+ return jsonShapedObject(planWirePartShape(part, options), Object.fromEntries(PLAN_PART_KEYS[part].map(k => [k, PLAN_TOP_SCHEMAS[k](options)])), `wire plan ${part}`);
445
484
  }
446
485
 
447
486
  // ── The wire → the plan ────────────────────────────────────────────────────────────────────────────────────────────
@@ -601,11 +640,14 @@ export function expandPlanWire(parts: PlanWireParts, context: PlanWireContext):
601
640
  function expandWireGlobals(globals: unknown): PlainObject {
602
641
  if (globals === undefined) return {};
603
642
  if (!isPlainObject(globals)) return { globals };
604
- const { [OPENING_WIRE_KEY]: opening, ...rest } = globals;
643
+ const { [OPENING_WIRE_KEY]: opening, [BODY_WIRE_KEY]: body, ...rest } = globals;
605
644
  const out: PlainObject = { ...rest };
606
645
  const mixes: Record<string, unknown> = {};
607
646
  // AW8: the opening is a mix only (no stored pattern stands for it on the wire); [] = none. Not a list: the validator says so.
608
- if (opening !== undefined && (!Array.isArray(opening) || opening.length)) mixes[OPENING_WIRE_KEY] = Array.isArray(opening) ? [...opening] : opening;
647
+ // AW6: so is the body (the award tier's wire alone writes it); [] = none.
648
+ for (const [name, words] of [[OPENING_WIRE_KEY, opening], [BODY_WIRE_KEY, body]] as const) {
649
+ if (words !== undefined && (!Array.isArray(words) || words.length)) mixes[name] = Array.isArray(words) ? [...words] : words;
650
+ }
609
651
  for (const [slot, readId, fallback] of [
610
652
  [GlobalSlot.Header, (w: string[]) => headerPatternIdOf(headerMixFromWords(w)), DEFAULT_HEADER_PATTERN],
611
653
  [GlobalSlot.Footer, (w: string[]) => footerPatternIdOf(footerMixFromWords(w)), DEFAULT_FOOTER_PATTERN],
@@ -669,25 +711,28 @@ export function pageToWire(page: PagePlan, options: WireOptions = {}): PlainObje
669
711
  };
670
712
  }
671
713
 
672
- const PLAN_TO_WIRE: Readonly<Record<string, (plan: SitePlan) => unknown>> = {
714
+ const PLAN_TO_WIRE: Readonly<Record<string, (plan: SitePlan, options: PlanWireOptions) => unknown>> = {
673
715
  business: plan => ({ name: plan.business.name, tagline: plan.business.tagline ?? NONE }),
674
716
  contentTypes: plan => plan.contentTypes.map(type => contentTypeToWire(type)),
675
717
  dataSources: plan => plan.dataSources.map(dataSourceToWire),
676
718
  pages: plan => plan.pages.map(page => pageToWire(page)),
677
- globals: plan => ({
719
+ globals: (plan, options) => ({
678
720
  ...plan.globals, [GlobalSlot.Header]: headerMixWords(headerMixOfPlan(plan)), [GlobalSlot.Footer]: footerMixWords(footerMixOfPlan(plan)),
679
721
  [OPENING_WIRE_KEY]: [...(plan.mixes?.opening ?? [])],
722
+ // AW6: the award tier's wire writes the body ([] = none); every other tier's has no such key (its plan wears none).
723
+ ...(isAward(options) ? { [BODY_WIRE_KEY]: [...(plan.mixes?.body ?? [])] } : {}),
680
724
  }),
681
725
  direction: plan => ({ idea: plan.direction?.idea ?? NONE, cliche: plan.direction?.cliche ?? NONE, flip: plan.direction?.flip ?? NONE, rules: [...(plan.direction?.rules ?? [])] }),
682
726
  shop: plan => (plan.shop?.products ?? []).map(p => ({ name: p.name, category: p.category, description: p.description, options: p.options.map(o => ({ name: o.name, values: [...o.values] })) })),
683
727
  };
684
728
 
685
- /** One part of the plan on the wire: what that part's request would have answered. */
686
- export function planPartToWire(plan: SitePlan, part: PlanPart): PlainObject {
687
- return Object.fromEntries(PLAN_PART_KEYS[part].map(k => [k, PLAN_TO_WIRE[k](plan)]));
729
+ /** One part of the plan on the wire: what that part's request (asked at `options`' tier) would have answered. */
730
+ export function planPartToWire(plan: SitePlan, part: PlanPart, options: PlanWireOptions = {}): PlainObject {
731
+ return Object.fromEntries(PLAN_PART_KEYS[part].map(k => [k, PLAN_TO_WIRE[k](plan, options)]));
688
732
  }
689
733
 
690
- /** The plan → the wire, by part: what a model would have written (the change prompt shows it; fakes and evals write it). */
691
- export function planToWire(plan: SitePlan): Record<PlanPart, PlainObject> {
692
- return Object.fromEntries(PLAN_PARTS.map(part => [part, planPartToWire(plan, part)])) as Record<PlanPart, PlainObject>;
734
+ /** The plan → the wire, by part: what a model would have written (the change prompt shows it; fakes and evals write it).
735
+ * At the award tier the body travels too (AW6); below it, a plan's body is not on the wire. */
736
+ export function planToWire(plan: SitePlan, options: PlanWireOptions = {}): Record<PlanPart, PlainObject> {
737
+ return Object.fromEntries(PLAN_PARTS.map(part => [part, planPartToWire(plan, part, options)])) as Record<PlanPart, PlainObject>;
693
738
  }
@@ -7948,8 +7948,8 @@ export const SPEC_SITE_LAYOUT = {
7948
7948
  "inBar.none": "nothing more in the bar",
7949
7949
  "inBar.icons": "small icons (sound, theme, chat) in the bar",
7950
7950
  "inBar.search": "a search field in the bar",
7951
- "ink.opening": "the header's ink follows the page's opening ground",
7952
- "ink.follows": "the header's ink follows the ground of every section that passes under it"
7951
+ "ink.opening": "the header's colours follow the page's opening ground",
7952
+ "ink.follows": "the header's colours follow the ground of every section that passes under it"
7953
7953
  },
7954
7954
  "meaningsHe": {
7955
7955
  "arrange.split": "השם בתחילת הפס, הדפים בסופו",
@@ -8013,8 +8013,8 @@ export const SPEC_SITE_LAYOUT = {
8013
8013
  "inBar.none": "שום דבר נוסף בפס",
8014
8014
  "inBar.icons": "אייקונים קטנים (צליל, ערכת צבע, צ׳אט) בפס",
8015
8015
  "inBar.search": "שדה חיפוש בפס",
8016
- "ink.opening": "צבע הכותרת העליונה הולך אחרי הרקע של פתיחת הדף",
8017
- "ink.follows": "צבע הכותרת העליונה הולך אחרי הרקע של כל אזור שעובר מתחתיה"
8016
+ "ink.opening": "צבעי הכותרת העליונה הולכים אחרי הרקע של פתיחת הדף",
8017
+ "ink.follows": "צבעי הכותרת העליונה הולכים אחרי הרקע של כל אזור שעובר מתחתיה"
8018
8018
  },
8019
8019
  "waits": {
8020
8020
  "menuShows.pictures": {
@@ -57,6 +57,17 @@ export function calmerChoice<A extends Axis>(axis: A, a: DesignMotion[A], b: Des
57
57
  return ORDER[axis].indexOf(a) <= ORDER[axis].indexOf(b) ? a : b;
58
58
  }
59
59
 
60
+ /** A calm business: its type goes no further than below Standard (harness `MOTION_CEILINGS.subtle` — care and advice). The
61
+ * ONE reading of "calm" — Motion's start, the style's cover and the body's edges (AW6 `ComposeContext.calm`) ask it. */
62
+ export function isCalmBusiness(type: Pick<BusinessType, 'ceiling'> | null | undefined): boolean {
63
+ return !!type && calmerChoice('animate', type.ceiling, STANDARD) !== STANDARD;
64
+ }
65
+
66
+ /** A calm business, by its type's id (unknown or absent: not calm). */
67
+ export function isCalmBusinessType(id: string | null | undefined, types: ReadonlyArray<BusinessType> = BUSINESS_TYPES): boolean {
68
+ return isCalmBusiness(id ? types.find(t => t.id === id) : undefined);
69
+ }
70
+
60
71
  const label = (axis: Axis, id: string) => (TABLES[axis] as Readonly<Record<string, { label: string }>>)[id]?.label ?? id;
61
72
  const triple = (m: DesignMotion) => `${label('scroll', m.scroll)} · ${label('animate', m.animate)} · ${label('between', m.between)}`;
62
73
 
@@ -72,7 +83,7 @@ export function motionFor(
72
83
  const base = type ? type.moves : preset.moves;
73
84
  const ref = read?.motion ? READ_ANIMATE[read.motion] : null;
74
85
  const wanted = ref ?? base.animate;
75
- const calmType = !!type && calmerChoice('animate', type.ceiling, STANDARD) !== STANDARD;
86
+ const calmType = isCalmBusiness(type);
76
87
  const styleCover = !!type && !calmType && preset.moves.between !== base.between
77
88
  && motionWordTier('cover', preset.moves.between) === MotionWordTier.Pro;
78
89
  let out: DesignMotion = { scroll: base.scroll, animate: calmerChoice('animate', wanted, preset.moves.animate), between: styleCover ? preset.moves.between : base.between };