@vectoriox/iox-ui 5.136.0 → 5.137.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.
@@ -1,5 +1,5 @@
1
1
  import { FrameSequence } from '@vectoriox/iox-ui/media-core';
2
- import { DesignChoices, AnimateId, MoveId, MenuLook, ColorScheme, DesignTokenLike, StylePreset } from '@vectoriox/iox-ui/design-core';
2
+ import { DesignChoices, AnimateId, MoveId, MenuLook, ColorScheme, DesignConfigEntry, DesignRevertSnapshot, DesignTokenLike, StylePreset } from '@vectoriox/iox-ui/design-core';
3
3
  import { SeoRawDoc } from '@vectoriox/iox-ui/seo-core';
4
4
  import { ConsentCategory } from '@vectoriox/iox-ui/consent-core';
5
5
  import { CardPart, ContentFieldLike } from '@vectoriox/iox-ui/composite-core';
@@ -8016,34 +8016,6 @@ declare const SPEC_SITE_LAYOUT: {
8016
8016
  readonly "micro.odometer": "a price's digits roll when the period changes";
8017
8017
  };
8018
8018
  readonly waits: {
8019
- readonly "preloader.mark": {
8020
- readonly phase: "AW5";
8021
- readonly drawnAs: "none";
8022
- };
8023
- readonly "preloader.counter": {
8024
- readonly phase: "AW5";
8025
- readonly drawnAs: "none";
8026
- };
8027
- readonly "preloader.letters": {
8028
- readonly phase: "AW5";
8029
- readonly drawnAs: "none";
8030
- };
8031
- readonly "preloaderExit.fade": {
8032
- readonly phase: "AW5";
8033
- readonly drawnAs: "none";
8034
- };
8035
- readonly "preloaderExit.sweep": {
8036
- readonly phase: "AW5";
8037
- readonly drawnAs: "none";
8038
- };
8039
- readonly "preloaderExit.window": {
8040
- readonly phase: "AW5";
8041
- readonly drawnAs: "none";
8042
- };
8043
- readonly "preloaderExit.lift": {
8044
- readonly phase: "AW5";
8045
- readonly drawnAs: "none";
8046
- };
8047
8019
  readonly "scrub.words": {
8048
8020
  readonly phase: "AW10";
8049
8021
  readonly drawnAs: "never";
@@ -12662,7 +12634,10 @@ declare enum BuildNoticeCode {
12662
12634
  HeaderMended = "header-mended",
12663
12635
  /** AW8: the opening the plan asked for was mended (an award word on a basic build, a part the site cannot carry) —
12664
12636
  * said, so the owner knows the home page opens a little differently and where to change it. */
12665
- OpeningMended = "opening-mended"
12637
+ OpeningMended = "opening-mended",
12638
+ /** LI5: the footer the plan asked for was mended (a word that waits drawn as its stand-in, a one-line footer that
12639
+ * holds only some parts) — said like the header's and the opening's. */
12640
+ FooterMended = "footer-mended"
12666
12641
  }
12667
12642
  /** RD3-D3 (a): what a build does with a page an earlier Undo kept at an address its plan builds — the header and footer's
12668
12643
  * pair (`replaceGlobals`), for pages. */
@@ -13182,6 +13157,31 @@ interface RedesignBack {
13182
13157
  finishedAt?: Date | string;
13183
13158
  error?: BuildStepError;
13184
13159
  }
13160
+ /**
13161
+ * The look a run replaced, as iox-cms takes it BEFORE any token is written — a site build's Look step (its Undo) and a
13162
+ * redesign's Switch (its Back) store the same shape: the studio's `settings.design` row VERBATIM and the revert snapshot
13163
+ * the Apply stores (design-core `designApplySnapshot`).
13164
+ */
13165
+ interface LookBefore {
13166
+ /** The org's `settings.design` row, or null when the studio had never stored a look. */
13167
+ rowId: string | null;
13168
+ /** That row's config VERBATIM (its own revert snapshot included), or null. */
13169
+ config: DesignConfigEntry[] | null;
13170
+ /** The pre-apply tokens and what the apply wrote into each row (null: nothing to revert). */
13171
+ snapshot: DesignRevertSnapshot | null;
13172
+ /** False when the look was already the one asked for: the apply wrote no token, so a revert reverts none. */
13173
+ wroteTokens: boolean;
13174
+ }
13175
+ /** A redesign's look: the one the Switch replaced (stored before its first write) and the one it wrote. */
13176
+ interface RedesignLook {
13177
+ before: LookBefore;
13178
+ /** The identity fingerprint of the design row the Switch wrote (absent: its apply stopped part-way — Back reverts
13179
+ * its token writes regardless). */
13180
+ applied?: string;
13181
+ }
13182
+ /** The choices of the look a Switch replaced — what Back returns to ("Linen · Warm") — or null when the run does not
13183
+ * say (not switched yet, or a run stored before the look was). A studio with no design row wore its defaults. */
13184
+ declare function redesignPreviousChoices(run: Pick<RedesignRun, 'look'> | null | undefined): DesignChoices | null;
13185
13185
  /** The run as `GET …/site-builds/:id` answers a redesign. */
13186
13186
  interface RedesignRun {
13187
13187
  _id: string;
@@ -13196,6 +13196,8 @@ interface RedesignRun {
13196
13196
  snapshot?: RedesignSnapshot;
13197
13197
  staged?: RedesignStaged;
13198
13198
  switch?: RedesignSwitch;
13199
+ /** The look the Switch replaced and wrote (absent until the Switch reaches the look). */
13200
+ look?: RedesignLook;
13199
13201
  back?: RedesignBack;
13200
13202
  requestedBy: string;
13201
13203
  startedAt: Date | string;
@@ -13206,12 +13208,17 @@ interface RedesignBackPreview {
13206
13208
  open: boolean;
13207
13209
  until: string | null;
13208
13210
  restores: string[];
13209
- /** Pages edited since the switch: Back leaves them unless the owner names them. */
13211
+ /** Pages edited since the switch: Back leaves them unless the owner names them. `editedAt` = the page's last edit
13212
+ * (ISO; null when the page does not say) — "Your changes from 23 Nov are lost". */
13210
13213
  editedSince: Array<{
13211
13214
  pageId: string;
13212
13215
  name: string;
13216
+ editedAt: string | null;
13213
13217
  }>;
13214
13218
  revertsLook: boolean;
13219
+ /** Look tokens the author edited since the switch that Back would keep (DS8.1) — said BEFORE Back, named. Empty when
13220
+ * the look does not go back. */
13221
+ keptTokens: string[];
13215
13222
  }
13216
13223
  /** `GET …/redesign/:id/switch` — what a Switch would do NOW, before the owner clicks it (RD3): each staged page's result as
13217
13224
  * the Switch would judge it (a page changed since the harvest is `stale` — Compare offers Redo this page), and the gate's
@@ -16329,5 +16336,5 @@ declare function siteTreeOf(studio: SiteStudio): SiteTree;
16329
16336
  * its phone menu, the footer's copyright line. */
16330
16337
  declare function siteGlobalsOf(globals: ReadonlyArray<SerializedNode>): SiteTreeGlobals | null;
16331
16338
 
16332
- 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, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, 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, 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, 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, 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, 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, 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, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, 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, 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, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, 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, 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, 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, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, 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, 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, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
16333
- export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, 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, 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, RedesignPageOutcome, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, ScrimChoice, 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, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
16339
+ 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, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, 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, 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, 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, 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, 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, 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, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, 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, 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, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBinding, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, 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, 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, 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, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, 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, 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, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
16340
+ export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, 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, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, ScrimChoice, 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, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
package/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { AfterViewInit, EventEmitter, ElementRef, SimpleChanges, OnDestroy, OnIn
3
3
  import { AnimationPlayer, AnimationBuilder } from '@angular/animations';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i3 from '@angular/platform-browser/animations';
6
- import { ScrollId } from '@vectoriox/iox-ui/design-core';
6
+ import { ScrollId, PreloaderPlan } from '@vectoriox/iox-ui/design-core';
7
7
  export * from '@vectoriox/iox-ui/design-core';
8
8
  import Lenis, { LenisOptions } from 'lenis';
9
9
  import * as i2 from '@angular/common';
@@ -3021,6 +3021,108 @@ declare function interactionMarkerAttributes(node: MarkedNode | null | undefined
3021
3021
  /** Make an element carry its node's markers: the canvas's live sync and the component path's stamp. */
3022
3022
  declare function syncInteractionMarkers(el: Element | null | undefined, node: MarkedNode | null | undefined): void;
3023
3023
 
3024
+ /**
3025
+ * THE FIRST-VISIT PRELOADER, DRAWN (award plan §5.3, AW5; Preloader board PL-D1…PL-D9) — the ONE runtime both renderers
3026
+ * use. The decision is design-core's (`planPreloader`, `designPreloaderOf`); this module draws it:
3027
+ *
3028
+ * - `buildPreloaderLayer` — the layer, from what the page already has (`preloaderContentOf`: the header's brand, the
3029
+ * opening heading). The engine builds it at SSR time into the raw HTML (hidden); the builder builds it for Play.
3030
+ * - `preloaderHeadScript` + `PRELOADER_CSS` — the inline head pair (PL-D7): the script decides before first paint
3031
+ * (reduced motion, a first visit — PL-D5) and shows the layer by one attribute on `<html>`; with no script the layer is
3032
+ * never seen. If the app has not taken over by the cap — or a scroll / key / tap comes first — the script fades it
3033
+ * itself, so the cap holds even when the bundle is slow.
3034
+ * - `runPreloader` — the app takes over: its entrance, the counter's REAL loading (first-screen pictures + fonts), the
3035
+ * leave at readiness or the cap (never before its own entrance is seen), a scroll / key / tap ends it at once (PL-D4),
3036
+ * the look's exit (PL-D3) on the look's `ease-exit`; `onLeave` fires as it starts to leave (the page's entrances wait
3037
+ * under it — the AW4 hold — and the consent banner waits for `afterPreloader`, PL-D9).
3038
+ * - `playPreloaderPreview` — the builder's Play: the same layer and timeline over a stage, once (PL-D8).
3039
+ *
3040
+ * Emil: transform / opacity / clip-path only; exits ≤ 500 ms and faster than the entrance's whole stay; nothing under
3041
+ * reduced motion. The layer is `aria-hidden` decoration and never takes a pointer — the page under it is always there.
3042
+ */
3043
+ declare const PRELOADER_CLASS = "iox-preloader";
3044
+ /** On `<html>` while a first visit's preloader shows: `""` showing, `"leaving"` the head script's own fade. */
3045
+ declare const PRELOADING_ATTRIBUTE = "data-iox-preloading";
3046
+ /** On `<html>` once the app has taken the preloader over — the head script's fallback steps back. */
3047
+ declare const PRELOADER_RUN_ATTRIBUTE = "data-iox-preloader-run";
3048
+ /**
3049
+ * On `<html>`: when the head script opened the layer (ms on the page's clock). The 1.5 s cap counts from HERE — the
3050
+ * preloader "plays 1.5 s at most" (the board's hint); the wait for the server before it is not the preloader's, and
3051
+ * counting it would turn a slow first byte into a flash.
3052
+ */
3053
+ declare const PRELOADER_AT_ATTRIBUTE = "data-iox-preloader-at";
3054
+ /** Dispatched on the window when a preloader has gone (by the app or by the head script). */
3055
+ declare const PRELOADER_END_EVENT = "iox-preloader-end";
3056
+ /** What the layer shows — read off the page (PL-D2). */
3057
+ interface PreloaderContent {
3058
+ /** Mark: the header's logo (its source), else null. */
3059
+ readonly logo: string | null;
3060
+ /** Mark without a logo: the business name (the header's brand words). */
3061
+ readonly name: string;
3062
+ /** Letters: the opening heading while short enough, else the name (`preloaderWords`). */
3063
+ readonly letters: string;
3064
+ }
3065
+ /**
3066
+ * The page's own words and mark (PL-D2): the header's brand (`nav.brand` — its picture, else its words; a site with no
3067
+ * header brand says the document's title) and the opening heading (the first `h1`, else `h2`). One reader for the
3068
+ * engine's SSR DOM and the builder's canvas — both render the brand's role class.
3069
+ */
3070
+ declare function preloaderContentOf(root: ParentNode, title?: string | null): PreloaderContent;
3071
+ /** The layer (PL-D1): never a node of the page — decoration over it, built from the plan and the page's content. */
3072
+ declare function buildPreloaderLayer(doc: Document, plan: PreloaderPlan, content: PreloaderContent): HTMLElement;
3073
+ /**
3074
+ * The layer's styles — inline in the `<head>` beside the script (first paint must know them; the engine's stylesheet may
3075
+ * not have arrived). Colours and faces are the look's tokens only (R-H10); the layer shows only by the `<html>` attribute
3076
+ * (the site) or `data-playing` (a preview).
3077
+ */
3078
+ declare const PRELOADER_CSS: string;
3079
+ /**
3080
+ * The inline head script (PL-D7, PL-D5): remembers the visit for the tab, and — when this is the first page of the
3081
+ * session, not reached from another page of the site, and the visitor did not ask for reduced motion — shows the layer
3082
+ * before first paint. Its fallback ends it at the cap or at a scroll / key / tap while the app has not taken over.
3083
+ * `scope` keeps sites sharing a host apart (the org). `isFirstVisit` is the SAME function the tests exercise — inlined.
3084
+ */
3085
+ declare function preloaderHeadScript(scope: string, capMs?: number): string;
3086
+ /** A first visit's preloader is showing (or fading) on this document. */
3087
+ declare function isPreloading(doc: Document | null | undefined): boolean;
3088
+ /** Resolves once no preloader shows (at once when none does) — what waits behind it waits on this (PL-D9: the banner). */
3089
+ declare function afterPreloader(doc: Document | null | undefined): Promise<void>;
3090
+ /**
3091
+ * The counter's real loading (PL-D2): the first screen's pictures (every `<img>` whose box is in the first viewport)
3092
+ * and the fonts; a number that only goes up; resolves when all have loaded (or failed — a broken picture is done
3093
+ * loading). Nothing to load reads 100 at once.
3094
+ */
3095
+ declare function firstScreenReadiness(doc: Document, win: Window, progress: (percent: number) => void): Promise<void>;
3096
+ interface PreloaderRunOptions {
3097
+ /** Fired once as the preloader starts to leave — or at once when none shows: the page's entrances may play. */
3098
+ onLeave?: () => void;
3099
+ }
3100
+ /**
3101
+ * The app takes a first visit's preloader over (the engine, in the browser): when the head script showed it, play it
3102
+ * (entrance, real loading, the look's exit) and remove it; when it did not (a return visit, reduced motion, no script),
3103
+ * remove the hidden layer. Resolves when no preloader is left.
3104
+ */
3105
+ declare function runPreloader(doc: Document, opts?: PreloaderRunOptions): Promise<void>;
3106
+ interface PreloaderPreviewOptions {
3107
+ /** A class declaring the look's tokens on the layer (the builder's `.iox-token-scope`). */
3108
+ scopeClass?: string | null;
3109
+ /** Fired once as the layer starts to leave — a host replays its entrances here, as the site does. */
3110
+ onLeave?: () => void;
3111
+ }
3112
+ /**
3113
+ * The builder's Play (PL-D8): the same layer and timeline, once, over `stage` (absolute, inside it), then gone. A preview
3114
+ * has nothing loading, so a counter reads its real 100 % and the layer stays its entrance's minimum. Reduced motion
3115
+ * plays nothing.
3116
+ */
3117
+ declare function playPreloaderPreview(stage: HTMLElement, plan: PreloaderPlan, content: PreloaderContent, opts?: PreloaderPreviewOptions): Promise<void>;
3118
+ /** The layer's styles in a document that did not get the head pair (the builder's): once. */
3119
+ declare function ensurePreloaderStyles(doc: Document): void;
3120
+ /**
3121
+ * The SSR side (PL-D7): the hidden layer into `<body>` (outside the app's root, so hydration never touches it) and the
3122
+ * head pair (style + script). Idempotent. `scope` = the site's scope for the tab's memory (the org).
3123
+ */
3124
+ declare function mountPreloader(doc: Document, plan: PreloaderPlan, content: PreloaderContent, scope: string): void;
3125
+
3024
3126
  /**
3025
3127
  * page-style — the ONE compiler that turns a page's style settings into CSS.
3026
3128
  *
@@ -4676,5 +4778,5 @@ declare function formToastsOnSend(form: Element | null | undefined): boolean;
4676
4778
  /** Raise the form's Sent toast (from the form — its scope and its look). */
4677
4779
  declare function raiseFormToast(form: Element): ToastHandle | null;
4678
4780
 
4679
- export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ELEMENT_STYLE_TRANSITION_EXTRAS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderRuntime, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_CLOSE_WORDS, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, animateAction, applyBindingPipes, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, entrancePreStateStyle, entranceStartsHidden, feelFor, fieldLanguage, finalKeyframe, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerShouldHide, hideFromTopLayer, hidingHeadersIn, initialSlotValues, interactionMarkerAttributes, isActionEnabled, isBoundProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playsOnScroll, popoverPanelAttributes, popoverSide, prefersReducedMotion, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, safeSetInput, scrollActionKind, scrollMotionEnv, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastCloseWord, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, viewportTransitionContext, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
4680
- export type { A11yNodeSource, AnimateActionOptions, BoundValueSpec, BreakpointDef, ContextActionEffect, ContextActionLike, ContextItemRef, ContextSlotDefault, ContextValueSpec, ContextWriteScope, CountTarget, CoverPanelContext, CurrentLinkOptions, DatePickerOptions, FloatingLayerOptions, FloatingOptions, FloatingPlacement, FloatingRect, FloatingSize, FloatingViewport, FormMessageResolver, GalleryBoundSource, GalleryDurations, GalleryEffect, GalleryEffectDescriptor, GalleryImage, GalleryLoopOptions, GalleryLoopScheduler, GalleryLoopState, GallerySlideState, HeaderRuntimeOptions, IBuilderEventEmitter, InlineEditableNode, InputMap, InteractionKeyframe, IoxContextSlot, IoxPipe, LayerFrame, MatchMediaHost, NodeA11yContext, OverrideBreakpoint, PageCoverSpec, PageScrollStart, PageStyleFieldState, PageStyleOptions, PageStyleSettings, PageTransitionCategory, PageTransitionCategoryMeta, PageTransitionContext, PageTransitionOptions, PageTransitionPreset, PipeArgSpec, PipeContext, PipeDescriptor, PlannedPageTransition, PopoverCloseOptions, PopoverOpenOptions, PressAction, RegisteredField, ResolvedPageCover, ResolvedPageTransition, ResponsiveLayer, ResponsiveOverrides, ResponsiveRuleSet, RouteAnimationLike, ScrollPlanContext, ScrollProgressAction, ScrollProgressHost, ScrollProgressInteraction, ScrollSource, SeoDerivedContent, SeoFieldSource, SeoFieldState, SeoResolveContext, SetContextParams, SettleOptions, SliderBootOptions, SliderControlElements, SliderInputs, StateRulePlan, StateScope, StateStyleMap, StringFormOptions, StyleMap, StyleTreeNode, SwiperBreakpointMap, SwiperModuleFlags, SwiperPlan, SwiperPlanContext, ToastHandle, ToastOptions, ToggleableAction, TooltipRuntimeOptions, TooltipTimingState, TransitionFeel, TransitionPhase, TransitionPreviewLayers, TransitionTimelineInput, TransitionViewport, ValueSource, VirtualTraitGroup };
4781
+ export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ELEMENT_STYLE_TRANSITION_EXTRAS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderRuntime, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_CLOSE_WORDS, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerShouldHide, hideFromTopLayer, hidingHeadersIn, initialSlotValues, interactionMarkerAttributes, isActionEnabled, isBoundProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastCloseWord, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, viewportTransitionContext, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
4782
+ export type { A11yNodeSource, AnimateActionOptions, BoundValueSpec, BreakpointDef, ContextActionEffect, ContextActionLike, ContextItemRef, ContextSlotDefault, ContextValueSpec, ContextWriteScope, CountTarget, CoverPanelContext, CurrentLinkOptions, DatePickerOptions, FloatingLayerOptions, FloatingOptions, FloatingPlacement, FloatingRect, FloatingSize, FloatingViewport, FormMessageResolver, GalleryBoundSource, GalleryDurations, GalleryEffect, GalleryEffectDescriptor, GalleryImage, GalleryLoopOptions, GalleryLoopScheduler, GalleryLoopState, GallerySlideState, HeaderRuntimeOptions, IBuilderEventEmitter, InlineEditableNode, InputMap, InteractionKeyframe, IoxContextSlot, IoxPipe, LayerFrame, MatchMediaHost, NodeA11yContext, OverrideBreakpoint, PageCoverSpec, PageScrollStart, PageStyleFieldState, PageStyleOptions, PageStyleSettings, PageTransitionCategory, PageTransitionCategoryMeta, PageTransitionContext, PageTransitionOptions, PageTransitionPreset, PipeArgSpec, PipeContext, PipeDescriptor, PlannedPageTransition, PopoverCloseOptions, PopoverOpenOptions, PreloaderContent, PreloaderPreviewOptions, PreloaderRunOptions, PressAction, RegisteredField, ResolvedPageCover, ResolvedPageTransition, ResponsiveLayer, ResponsiveOverrides, ResponsiveRuleSet, RouteAnimationLike, ScrollPlanContext, ScrollProgressAction, ScrollProgressHost, ScrollProgressInteraction, ScrollSource, SeoDerivedContent, SeoFieldSource, SeoFieldState, SeoResolveContext, SetContextParams, SettleOptions, SliderBootOptions, SliderControlElements, SliderInputs, StateRulePlan, StateScope, StateStyleMap, StringFormOptions, StyleMap, StyleTreeNode, SwiperBreakpointMap, SwiperModuleFlags, SwiperPlan, SwiperPlanContext, ToastHandle, ToastOptions, ToggleableAction, TooltipRuntimeOptions, TooltipTimingState, TransitionFeel, TransitionPhase, TransitionPreviewLayers, TransitionTimelineInput, TransitionViewport, ValueSource, VirtualTraitGroup };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-ui",
3
- "version": "5.136.0",
3
+ "version": "5.137.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -0,0 +1,26 @@
1
+ import { DesignConfigEntry, readDesignConfig } from './design-settings';
2
+ import type { DesignChoices } from './design-token.model';
3
+ import { planPreloader, PreloaderPlan } from './preloader';
4
+ import { stylePresetOfChoices } from './style-presets';
5
+
6
+ /**
7
+ * What a look opens a visitor's first page with (AW5, PL-D1/D3/D6): the kind is the look's word, the exit the style
8
+ * preset it is (`stylePresetOfChoices`; a customised look fades), the cap the contract's. A built site keeps its word
9
+ * (AW-D23: the plan clamp happened when the look was chosen), so this asks as Pro unless told otherwise; the visitor's
10
+ * side — reduced motion, a first visit — is the browser's to say (`preloaderHeadScript`). Null when it opens with nothing.
11
+ */
12
+ export function preloaderOfChoices(choices: Pick<DesignChoices, 'preloader' | 'animate'> & Partial<DesignChoices> | null | undefined, pro = true): PreloaderPlan | null {
13
+ if (!choices?.preloader) return null;
14
+ return planPreloader({
15
+ preloader: choices.preloader, animate: choices.animate,
16
+ presetId: stylePresetOfChoices(choices as DesignChoices)?.id ?? null,
17
+ pro, reducedMotion: false, firstVisit: true,
18
+ });
19
+ }
20
+
21
+ /** A STORED design's preloader — what the public page read hands the engine (`designPreloader`), beside
22
+ * `designMode` / `designMotion`. */
23
+ export function designPreloaderOf(config: ReadonlyArray<DesignConfigEntry> | null | undefined): PreloaderPlan | null {
24
+ const { choices, hasRow } = readDesignConfig(config);
25
+ return hasRow ? preloaderOfChoices(choices) : null;
26
+ }
@@ -47,6 +47,14 @@ export const PRELOADER_LEVELS: ReadonlyArray<string> = L.preloaderLevels;
47
47
  export const PRELOADER_EXIT_MAX_MS = 500;
48
48
  /** Letters shows the opening heading only while it is this short (PL-D2); a longer one shows the business name. */
49
49
  export const PRELOADER_LETTERS_MAX = 24;
50
+ /** A preloader never leaves before its own entrance is seen (board 2) — still never past the cap. */
51
+ export const PRELOADER_MIN_SHOW_MS: Readonly<Record<Exclude<PreloaderKind, PreloaderKind.None>, number>> = {
52
+ [PreloaderKind.Mark]: 450, [PreloaderKind.Counter]: 450, [PreloaderKind.Letters]: 700,
53
+ };
54
+ /** The fast ease-out a preloader leaves on when the look names no `ease-exit` (MB-D1's quart-out). */
55
+ export const PRELOADER_EXIT_EASE = 'cubic-bezier(0.25, 1, 0.5, 1)';
56
+ /** The ease-out its content arrives on when the look names no `ease-enter` (expo-out). */
57
+ export const PRELOADER_ENTER_EASE = 'cubic-bezier(0.16, 1, 0.3, 1)';
50
58
 
51
59
  export const isPreloaderKind = (v: unknown): v is `${PreloaderKind}` => typeof v === 'string' && PRELOADER_IDS.includes(v);
52
60
 
@@ -90,10 +98,47 @@ export function preloaderExitOf(presetId: string | null | undefined): PreloaderP
90
98
  return own && own !== PreloaderExit.None && PRELOADER_EXIT_IDS.includes(own) ? (own as PreloaderPlan['exit']) : PreloaderExit.Fade;
91
99
  }
92
100
 
93
- /** When it leaves (PL-D4): at the page's readiness, never past the cap; a reading not yet known waits for the cap. */
94
- export function preloaderLeaveAt(readyMs: number | null | undefined, capMs: number = PRELOADER_CAP_MS): number {
101
+ /**
102
+ * When it leaves (PL-D4): at the page's readiness — never before its own entrance is seen (`minMs`), never past the cap;
103
+ * a readiness not yet known waits for the cap.
104
+ */
105
+ export function preloaderLeaveAt(readyMs: number | null | undefined, capMs: number = PRELOADER_CAP_MS, minMs = 0): number {
95
106
  if (typeof readyMs !== 'number' || !Number.isFinite(readyMs) || readyMs < 0) return capMs;
96
- return Math.min(readyMs, capMs);
107
+ return Math.min(Math.max(readyMs, minMs), capMs);
108
+ }
109
+
110
+ /** How a preloader leaves — frames (transform / opacity / clip-path only), a duration ≤ `PRELOADER_EXIT_MAX_MS`, and
111
+ * whether the layer turns the accent panel first (Sweep). */
112
+ export interface PreloaderExitMotion {
113
+ readonly frames: ReadonlyArray<Readonly<Record<string, string | number>>>;
114
+ readonly duration: number;
115
+ readonly accent: boolean;
116
+ }
117
+
118
+ /** Window's frame: the layer with a centred rectangular hole `x`% / `y`% in from each edge (even-odd). */
119
+ const windowHole = (x: number, y: number) =>
120
+ `polygon(evenodd, 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, ${x}% ${y}%, ${100 - x}% ${y}%, ${100 - x}% ${100 - y}%, ${x}% ${100 - y}%, ${x}% ${y}%)`;
121
+
122
+ const EXIT_MOTION: Readonly<Record<PreloaderPlan['exit'], PreloaderExitMotion>> = {
123
+ [PreloaderExit.Fade]: { frames: [{ opacity: 1 }, { opacity: 0 }], duration: 300, accent: false },
124
+ [PreloaderExit.Lift]: { frames: [{ transform: 'translateY(0)' }, { transform: 'translateY(-100%)' }], duration: 450, accent: false },
125
+ [PreloaderExit.Sweep]: { frames: [{ clipPath: 'inset(0% 0% 0% 0%)' }, { clipPath: 'inset(0% 0% 100% 0%)' }], duration: 420, accent: true },
126
+ [PreloaderExit.Window]: {
127
+ frames: [{ clipPath: windowHole(50, 50) }, { clipPath: windowHole(38, 40), offset: 0.25 }, { clipPath: windowHole(-1, -1) }],
128
+ duration: 480, accent: false,
129
+ },
130
+ };
131
+
132
+ /** The ONE description of each exit (PL-D3; Emil: transform / opacity / clip-path, ≤ 500 ms, on the look's ease-exit). */
133
+ export function preloaderExitMotion(exit: string | null | undefined): PreloaderExitMotion {
134
+ return EXIT_MOTION[exit as PreloaderPlan['exit']] ?? EXIT_MOTION[PreloaderExit.Fade];
135
+ }
136
+
137
+ /** A text as a reader sees its letters — a Hebrew letter keeps its points, an emoji its joiners (`Intl.Segmenter`). */
138
+ export function preloaderGraphemes(text: string): string[] {
139
+ const Seg = (Intl as unknown as { Segmenter?: new (l?: string, o?: { granularity: string }) => { segment(s: string): Iterable<{ segment: string }> } }).Segmenter;
140
+ if (!Seg) return Array.from(text);
141
+ return Array.from(new Seg(undefined, { granularity: 'grapheme' }).segment(text), s => s.segment);
97
142
  }
98
143
 
99
144
  /**
@@ -124,6 +169,6 @@ export function preloaderPercent(loaded: number, total: number, previous = 0): n
124
169
  /** PL-D2: what Letters spells — the opening heading while it is short enough, else the business name. */
125
170
  export function preloaderWords(heading: string | null | undefined, businessName: string | null | undefined): string {
126
171
  const h = String(heading ?? '').replace(/\s+/g, ' ').trim();
127
- if (h && Array.from(h).length <= PRELOADER_LETTERS_MAX) return h;
128
- return String(businessName ?? '').replace(/\s+/g, ' ').trim() || Array.from(h).slice(0, PRELOADER_LETTERS_MAX).join('');
172
+ if (h && preloaderGraphemes(h).length <= PRELOADER_LETTERS_MAX) return h;
173
+ return String(businessName ?? '').replace(/\s+/g, ' ').trim() || preloaderGraphemes(h).slice(0, PRELOADER_LETTERS_MAX).join('');
129
174
  }
@@ -38,3 +38,4 @@ export * from './design-apply';
38
38
  export * from './style-presets';
39
39
  export * from './motion-language';
40
40
  export * from './preloader';
41
+ export * from './preloader-of';
@@ -1,3 +1,5 @@
1
+ import { DesignChoices, DesignConfigEntry, DesignRevertSnapshot, readDesignConfig } from '@vectoriox/iox-ui/design-core';
2
+
1
3
  import type { ComposedPlaceholder } from './compose-site';
2
4
  import type { LayoutIssue } from './layout-language';
3
5
  import type { SerializedNode } from './serialized-node';
@@ -264,6 +266,38 @@ export interface RedesignBack {
264
266
  error?: BuildStepError;
265
267
  }
266
268
 
269
+ /**
270
+ * The look a run replaced, as iox-cms takes it BEFORE any token is written — a site build's Look step (its Undo) and a
271
+ * redesign's Switch (its Back) store the same shape: the studio's `settings.design` row VERBATIM and the revert snapshot
272
+ * the Apply stores (design-core `designApplySnapshot`).
273
+ */
274
+ export interface LookBefore {
275
+ /** The org's `settings.design` row, or null when the studio had never stored a look. */
276
+ rowId: string | null;
277
+ /** That row's config VERBATIM (its own revert snapshot included), or null. */
278
+ config: DesignConfigEntry[] | null;
279
+ /** The pre-apply tokens and what the apply wrote into each row (null: nothing to revert). */
280
+ snapshot: DesignRevertSnapshot | null;
281
+ /** False when the look was already the one asked for: the apply wrote no token, so a revert reverts none. */
282
+ wroteTokens: boolean;
283
+ }
284
+
285
+ /** A redesign's look: the one the Switch replaced (stored before its first write) and the one it wrote. */
286
+ export interface RedesignLook {
287
+ before: LookBefore;
288
+ /** The identity fingerprint of the design row the Switch wrote (absent: its apply stopped part-way — Back reverts
289
+ * its token writes regardless). */
290
+ applied?: string;
291
+ }
292
+
293
+ /** The choices of the look a Switch replaced — what Back returns to ("Linen · Warm") — or null when the run does not
294
+ * say (not switched yet, or a run stored before the look was). A studio with no design row wore its defaults. */
295
+ export function redesignPreviousChoices(run: Pick<RedesignRun, 'look'> | null | undefined): DesignChoices | null {
296
+ const before = run?.look?.before;
297
+ if (!before) return null;
298
+ return readDesignConfig(before.config, !!before.config).choices;
299
+ }
300
+
267
301
  /** The run as `GET …/site-builds/:id` answers a redesign. */
268
302
  export interface RedesignRun {
269
303
  _id: string;
@@ -278,6 +312,8 @@ export interface RedesignRun {
278
312
  snapshot?: RedesignSnapshot;
279
313
  staged?: RedesignStaged;
280
314
  switch?: RedesignSwitch;
315
+ /** The look the Switch replaced and wrote (absent until the Switch reaches the look). */
316
+ look?: RedesignLook;
281
317
  back?: RedesignBack;
282
318
  requestedBy: string;
283
319
  startedAt: Date | string;
@@ -289,9 +325,13 @@ export interface RedesignBackPreview {
289
325
  open: boolean;
290
326
  until: string | null;
291
327
  restores: string[];
292
- /** Pages edited since the switch: Back leaves them unless the owner names them. */
293
- editedSince: Array<{ pageId: string; name: string }>;
328
+ /** Pages edited since the switch: Back leaves them unless the owner names them. `editedAt` = the page's last edit
329
+ * (ISO; null when the page does not say) — "Your changes from 23 Nov are lost". */
330
+ editedSince: Array<{ pageId: string; name: string; editedAt: string | null }>;
294
331
  revertsLook: boolean;
332
+ /** Look tokens the author edited since the switch that Back would keep (DS8.1) — said BEFORE Back, named. Empty when
333
+ * the look does not go back. */
334
+ keptTokens: string[];
295
335
  }
296
336
 
297
337
  /** `GET …/redesign/:id/switch` — what a Switch would do NOW, before the owner clicks it (RD3): each staged page's result as
@@ -182,6 +182,9 @@ export enum BuildNoticeCode {
182
182
  /** AW8: the opening the plan asked for was mended (an award word on a basic build, a part the site cannot carry) —
183
183
  * said, so the owner knows the home page opens a little differently and where to change it. */
184
184
  OpeningMended = 'opening-mended',
185
+ /** LI5: the footer the plan asked for was mended (a word that waits drawn as its stand-in, a one-line footer that
186
+ * holds only some parts) — said like the header's and the opening's. */
187
+ FooterMended = 'footer-mended',
185
188
  }
186
189
 
187
190
  /** RD3-D3 (a): what a build does with a page an earlier Undo kept at an address its plan builds — the header and footer's
@@ -207,12 +210,13 @@ export function previousRoute(route: string, taken: ReadonlyArray<string>): stri
207
210
  return candidate;
208
211
  }
209
212
 
210
- /** The compose issues the run SAYS, each kind once (the wizard tracks a notice by its code): the words of every mend of
213
+ /** The compose issues the run SAYS (header, opening, footer), each kind once (the wizard tracks a notice by its code): the words of every mend of
211
214
  * that kind joined, for the log and the API; the screen shows the code's own sentence. An opening that only found no
212
215
  * place for a word it carried is not a mend of the mix, so it is not said. */
213
216
  const MEND_NOTICES: ReadonlyArray<readonly [ComposeIssueCode, BuildNoticeCode]> = [
214
217
  [ComposeIssueCode.HeaderMended, BuildNoticeCode.HeaderMended],
215
218
  [ComposeIssueCode.OpeningMended, BuildNoticeCode.OpeningMended],
219
+ [ComposeIssueCode.FooterMended, BuildNoticeCode.FooterMended],
216
220
  ];
217
221
  const CARRY_ONLY = /^the opening found no place for /;
218
222
 
@@ -10204,34 +10204,6 @@ export const SPEC_SITE_LAYOUT = {
10204
10204
  "micro.odometer": "a price's digits roll when the period changes"
10205
10205
  },
10206
10206
  "waits": {
10207
- "preloader.mark": {
10208
- "phase": "AW5",
10209
- "drawnAs": "none"
10210
- },
10211
- "preloader.counter": {
10212
- "phase": "AW5",
10213
- "drawnAs": "none"
10214
- },
10215
- "preloader.letters": {
10216
- "phase": "AW5",
10217
- "drawnAs": "none"
10218
- },
10219
- "preloaderExit.fade": {
10220
- "phase": "AW5",
10221
- "drawnAs": "none"
10222
- },
10223
- "preloaderExit.sweep": {
10224
- "phase": "AW5",
10225
- "drawnAs": "none"
10226
- },
10227
- "preloaderExit.window": {
10228
- "phase": "AW5",
10229
- "drawnAs": "none"
10230
- },
10231
- "preloaderExit.lift": {
10232
- "phase": "AW5",
10233
- "drawnAs": "none"
10234
- },
10235
10207
  "scrub.words": {
10236
10208
  "phase": "AW10",
10237
10209
  "drawnAs": "never"