@vectoriox/iox-ui 5.109.1 → 5.110.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.
@@ -5588,6 +5588,205 @@ declare const SPEC_SITE_LAYOUT: {
5588
5588
  readonly neverSwipe: readonly ["grid", "masonry"];
5589
5589
  };
5590
5590
  };
5591
+ readonly header: {
5592
+ readonly ingredients: {
5593
+ readonly arrange: readonly ["split", "centred", "between", "name-only"];
5594
+ readonly menuSide: readonly ["end", "start"];
5595
+ readonly pages: readonly ["inline", "menu", "menu-pinned"];
5596
+ readonly menu: readonly ["drawer", "full", "panel"];
5597
+ readonly menuShows: readonly ["links", "pictures"];
5598
+ readonly action: readonly ["none", "button", "link", "two"];
5599
+ readonly ground: readonly ["solid", "over", "glass"];
5600
+ readonly shape: readonly ["bar", "pill", "islands"];
5601
+ readonly brand: readonly ["fits", "hangs", "later"];
5602
+ readonly scroll: readonly ["stays", "hides", "away"];
5603
+ readonly edge: readonly ["fade", "line", "none"];
5604
+ readonly phone: readonly ["drawer", "bar", "both", "full"];
5605
+ };
5606
+ readonly meanings: {
5607
+ readonly "arrange.split": "the name at the start, the pages at the end";
5608
+ readonly "arrange.centred": "the name centred, the pages under it";
5609
+ readonly "arrange.between": "the pages either side of a centred name";
5610
+ readonly "arrange.name-only": "only the name and a menu button, at every width";
5611
+ readonly "menuSide.end": "the menu button at the end";
5612
+ readonly "menuSide.start": "the menu button at the start";
5613
+ readonly "pages.inline": "every page in the bar";
5614
+ readonly "pages.menu": "the pages behind the menu";
5615
+ readonly "pages.menu-pinned": "the pages behind the menu, one or two key pages kept in the bar";
5616
+ readonly "menu.drawer": "a sheet from the end edge";
5617
+ readonly "menu.full": "a full-screen index of the page names, large";
5618
+ readonly "menu.panel": "a panel that drops from the top, as tall as its content";
5619
+ readonly "menuShows.links": "the page names";
5620
+ readonly "menuShows.pictures": "pictured cards for the main collections beside the page names";
5621
+ readonly "action.none": "no call to action";
5622
+ readonly "action.button": "one button";
5623
+ readonly "action.link": "one quiet link";
5624
+ readonly "action.two": "a filled and an outlined button";
5625
+ readonly "ground.solid": "its own ground";
5626
+ readonly "ground.over": "over the opening, transparent until the page moves";
5627
+ readonly "ground.glass": "frosted glass (a look with a blur)";
5628
+ readonly "shape.bar": "a full-width bar";
5629
+ readonly "shape.pill": "one floating rounded bar";
5630
+ readonly "shape.islands": "separate floating pills";
5631
+ readonly "brand.fits": "the name fits the bar";
5632
+ readonly "brand.hangs": "a logo larger than the bar, hanging below it";
5633
+ readonly "brand.later": "the name arrives once the page moves";
5634
+ readonly "scroll.stays": "always there";
5635
+ readonly "scroll.hides": "hides scrolling down, back scrolling up";
5636
+ readonly "scroll.away": "scrolls away with the page";
5637
+ readonly "edge.fade": "a soft shadow under it once the page moves";
5638
+ readonly "edge.line": "a hairline under it once the page moves";
5639
+ readonly "edge.none": "no edge";
5640
+ readonly "phone.drawer": "a drawer on a phone";
5641
+ readonly "phone.bar": "a bottom bar on a phone";
5642
+ readonly "phone.both": "a bottom bar and a drawer on a phone";
5643
+ readonly "phone.full": "a full-screen index on a phone";
5644
+ };
5645
+ readonly waits: {
5646
+ readonly "arrange.between": {
5647
+ readonly phase: "HI1";
5648
+ readonly drawnAs: "centred";
5649
+ };
5650
+ readonly "menuSide.start": {
5651
+ readonly phase: "HI1";
5652
+ readonly drawnAs: "end";
5653
+ };
5654
+ readonly "pages.menu-pinned": {
5655
+ readonly phase: "HI1";
5656
+ readonly drawnAs: "menu";
5657
+ };
5658
+ readonly "action.link": {
5659
+ readonly phase: "HI1";
5660
+ readonly drawnAs: "button";
5661
+ };
5662
+ readonly "action.two": {
5663
+ readonly phase: "HI1";
5664
+ readonly drawnAs: "button";
5665
+ };
5666
+ readonly "menu.full": {
5667
+ readonly phase: "HI2";
5668
+ readonly drawnAs: "drawer";
5669
+ };
5670
+ readonly "menu.panel": {
5671
+ readonly phase: "HI2";
5672
+ readonly drawnAs: "drawer";
5673
+ };
5674
+ readonly "menuShows.pictures": {
5675
+ readonly phase: "HI2";
5676
+ readonly drawnAs: "links";
5677
+ };
5678
+ readonly "phone.full": {
5679
+ readonly phase: "HI2";
5680
+ readonly drawnAs: "drawer";
5681
+ };
5682
+ readonly "ground.over": {
5683
+ readonly phase: "HI3";
5684
+ readonly drawnAs: "solid";
5685
+ };
5686
+ readonly "ground.glass": {
5687
+ readonly phase: "HI3";
5688
+ readonly drawnAs: "solid";
5689
+ };
5690
+ readonly "shape.pill": {
5691
+ readonly phase: "HI3";
5692
+ readonly drawnAs: "bar";
5693
+ };
5694
+ readonly "shape.islands": {
5695
+ readonly phase: "HI3";
5696
+ readonly drawnAs: "bar";
5697
+ };
5698
+ readonly "brand.hangs": {
5699
+ readonly phase: "HI3";
5700
+ readonly drawnAs: "fits";
5701
+ };
5702
+ readonly "brand.later": {
5703
+ readonly phase: "HI3";
5704
+ readonly drawnAs: "fits";
5705
+ };
5706
+ };
5707
+ readonly defaults: {
5708
+ readonly arrange: "split";
5709
+ readonly menuSide: "end";
5710
+ readonly pages: "inline";
5711
+ readonly menu: "drawer";
5712
+ readonly menuShows: "links";
5713
+ readonly action: "button";
5714
+ readonly ground: "solid";
5715
+ readonly shape: "bar";
5716
+ readonly brand: "fits";
5717
+ readonly scroll: "hides";
5718
+ readonly edge: "fade";
5719
+ readonly phone: "drawer";
5720
+ };
5721
+ readonly named: {
5722
+ readonly "nav.inline-cta": {};
5723
+ readonly "nav.centered-logo": {
5724
+ readonly arrange: "centred";
5725
+ readonly action: "none";
5726
+ };
5727
+ };
5728
+ readonly navKinds: {
5729
+ readonly bar: {};
5730
+ readonly corner: {
5731
+ readonly arrange: "name-only";
5732
+ readonly pages: "menu";
5733
+ readonly action: "none";
5734
+ };
5735
+ readonly index: {
5736
+ readonly arrange: "name-only";
5737
+ readonly pages: "menu";
5738
+ readonly menu: "full";
5739
+ readonly action: "none";
5740
+ readonly phone: "full";
5741
+ };
5742
+ readonly side: {
5743
+ readonly arrange: "name-only";
5744
+ readonly pages: "menu";
5745
+ readonly menu: "full";
5746
+ readonly action: "none";
5747
+ readonly phone: "full";
5748
+ };
5749
+ };
5750
+ readonly fingerprint: readonly ["arrange", "pages", "menu", "ground", "shape"];
5751
+ readonly references: readonly [{
5752
+ readonly id: "islands-hanging-logo";
5753
+ readonly after: "Delta Cafés";
5754
+ readonly added: "2026-11-19";
5755
+ readonly mix: {
5756
+ readonly arrange: "between";
5757
+ readonly ground: "over";
5758
+ readonly shape: "islands";
5759
+ readonly brand: "hangs";
5760
+ readonly action: "none";
5761
+ readonly edge: "none";
5762
+ };
5763
+ }, {
5764
+ readonly id: "start-menu-top-panel";
5765
+ readonly after: "Vonder (closed + open)";
5766
+ readonly added: "2026-11-19";
5767
+ readonly mix: {
5768
+ readonly arrange: "name-only";
5769
+ readonly menuSide: "start";
5770
+ readonly pages: "menu-pinned";
5771
+ readonly menu: "panel";
5772
+ readonly menuShows: "pictures";
5773
+ readonly action: "none";
5774
+ readonly ground: "over";
5775
+ readonly brand: "later";
5776
+ readonly edge: "none";
5777
+ readonly phone: "full";
5778
+ };
5779
+ }, {
5780
+ readonly id: "directory-two-actions";
5781
+ readonly after: "a design directory (the \"w.\" site)";
5782
+ readonly added: "2026-11-19";
5783
+ readonly mix: {
5784
+ readonly action: "two";
5785
+ readonly scroll: "stays";
5786
+ readonly edge: "line";
5787
+ };
5788
+ }];
5789
+ };
5591
5790
  };
5592
5791
 
5593
5792
  /** What an untouched node of one registered type saves as (`NODE_BASELINES`, generated from the live
@@ -7741,12 +7940,18 @@ interface NavShapeOptions {
7741
7940
  newId?: (suffix: string) => string;
7742
7941
  /** The studio's pages, for a header that links to none (a hand-built one): its menu lists these. */
7743
7942
  pages?: ReadonlyArray<NavPage>;
7943
+ /** Header ingredients (header-ingredients-plan.md HI-D8): the menu button and its drawer at EVERY width — the header's
7944
+ * links and call to action are hidden at every width and the pages live in the drawer (a "name and menu" header).
7945
+ * Drawer only. Default: what the header already does (`menuAtEveryWidth`), else phone widths only. */
7946
+ everyWidth?: boolean;
7744
7947
  }
7745
7948
  interface NavShapeResult {
7746
7949
  /** The globals after the edit (the Navigation bar edited in place, the drawer/bar added or removed). */
7747
7950
  globals: SerializedNode[];
7748
7951
  shape: NavShape;
7749
7952
  at: PhoneMenuBreakpoint;
7953
+ /** The menu button shows at every width (`NavShapeOptions.everyWidth`). */
7954
+ everyWidth: boolean;
7750
7955
  }
7751
7956
  declare class NavShapeError extends Error {
7752
7957
  }
@@ -7785,6 +7990,9 @@ declare function phoneMenuPages(root: SerializedNode, sitePages?: ReadonlyArray<
7785
7990
  pages: NavPage[];
7786
7991
  source: NavPagesSource;
7787
7992
  };
7993
+ /** Does the header show its menu button at every width (a "name and menu" header)? Read from the button itself, so a
7994
+ * later change of shape or breakpoint keeps it. */
7995
+ declare function menuAtEveryWidth(globals: ReadonlyArray<SerializedNode>, navId?: string | null): boolean;
7788
7996
  /**
7789
7997
  * Put a site's header into `shape`. The Navigation bar is `navId` or the global carrying the root role
7790
7998
  * (else the first Container wearing `nav`, which this then marks with roles). Returns new globals;
@@ -10279,6 +10487,67 @@ declare function layoutOpeningDisplayMend(page: Pick<LayoutPage, 'sections'>): {
10279
10487
  size?: `${LayoutSize}`;
10280
10488
  } | null;
10281
10489
 
10490
+ /** The ingredients, by the contract's keys (held equal to it by header-mix.spec). */
10491
+ declare enum HeaderIngredient {
10492
+ Arrange = "arrange",
10493
+ MenuSide = "menuSide",
10494
+ Pages = "pages",
10495
+ Menu = "menu",
10496
+ MenuShows = "menuShows",
10497
+ Action = "action",
10498
+ Ground = "ground",
10499
+ Shape = "shape",
10500
+ Brand = "brand",
10501
+ Scroll = "scroll",
10502
+ Edge = "edge",
10503
+ Phone = "phone"
10504
+ }
10505
+ /** One word per ingredient. */
10506
+ type HeaderMix = Record<`${HeaderIngredient}`, string>;
10507
+ declare class HeaderMixError extends Error {
10508
+ }
10509
+ /** The words an ingredient may take. */
10510
+ declare function headerWords(ingredient: `${HeaderIngredient}`): ReadonlyArray<string>;
10511
+ /** What a word means, as the brief and the builder say it. */
10512
+ declare function headerMeaning(ingredient: `${HeaderIngredient}`, word: string): string;
10513
+ /** A whole mix from part of one: what is not named is the default (the Studio header). Refuses a word the table lacks. */
10514
+ declare function headerMix(partial?: Partial<HeaderMix>): HeaderMix;
10515
+ /** The mix a stored header pattern id stands for (`nav.inline-cta`, `nav.centered-logo`), or null for an unknown id. */
10516
+ declare function namedHeaderMix(patternId: string): HeaderMix | null;
10517
+ /** The mix a CL2 layout's `nav.kind` asks for (`bar` when it names none). */
10518
+ declare function headerMixOfNavKind(kind: string | undefined): HeaderMix;
10519
+ /** A word the product does not draw yet, with the phase it waits for and what is drawn instead. */
10520
+ interface HeaderGap {
10521
+ ingredient: `${HeaderIngredient}`;
10522
+ word: string;
10523
+ phase: string;
10524
+ drawnAs: string;
10525
+ }
10526
+ /** The mix the product DRAWS today: every waiting word becomes its built stand-in, and each one is said as a gap. */
10527
+ declare function drawnHeaderMix(mix: HeaderMix): {
10528
+ drawn: HeaderMix;
10529
+ gaps: HeaderGap[];
10530
+ };
10531
+ /** The fingerprint's prefix for a header. */
10532
+ declare const HEADER_TOKEN = "header";
10533
+ /** A header as the fingerprint sees it (§7): `header:<arrange>/<pages>/<menu>/<ground>/<shape>` — what a visitor takes in
10534
+ * at once, in the contract's order. Two sites with the same token wear the same header. */
10535
+ declare function headerTokenOf(mix: HeaderMix): string;
10536
+ /** A header token in words: `header:name-only/menu/drawer/solid/bar` → "name-only · menu · drawer · solid · bar". */
10537
+ declare const headerTokenWords: (token: string) => string;
10538
+ /** Doron's reference headers (§2b), each as a whole mix. */
10539
+ declare function headerReferences(): ReadonlyArray<{
10540
+ id: string;
10541
+ after: string;
10542
+ added: string;
10543
+ mix: HeaderMix;
10544
+ }>;
10545
+ /** The site plan's header as a mix: its `globals.header` pattern read as a named mix (HI-D4), the Studio header when it
10546
+ * names none or one the table does not know. */
10547
+ declare function headerMixOfPlan(plan: {
10548
+ readonly globals?: Readonly<Record<string, string>>;
10549
+ }): HeaderMix;
10550
+
10282
10551
  /**
10283
10552
  * THE CROSS-SITE FINGERPRINT (premium components M8 gate 2, M8-G2-D7; the prototype's `fingerprint` + `sameness`,
10284
10553
  * `code/cl2.mjs`): what makes two composed pages read as the same — how the page opens, the sequence of its sections, the
@@ -10319,6 +10588,10 @@ interface LayoutFingerprint {
10319
10588
  preset: string;
10320
10589
  /** Every list mix the page shows (`listTokenOf`); absent on a fingerprint stored before LI2. */
10321
10590
  lists?: string[];
10591
+ /** The site's header (`headerTokenOf`, header ingredients HI0); absent on a fingerprint stored before it. Recorded and
10592
+ * named in the brief, never a refusal until the model chooses the header (HI1) — a refusal it cannot answer by
10593
+ * changing its page would only spend a repair. */
10594
+ header?: string;
10322
10595
  }
10323
10596
  interface FingerprintedPage {
10324
10597
  name: string;
@@ -10344,8 +10617,9 @@ declare function listTokensOf(page: LayoutPage): string[];
10344
10617
  declare function signatureOf(s: LayoutSection | undefined): LayoutSignatureId;
10345
10618
  /** A place given to the plan's ready-made section (silent section fallback): its token in the sequence and the opening. */
10346
10619
  declare const LAYOUT_READY_MADE_TOKEN = "ready-made";
10347
- /** A page's fingerprint, worn in `preset` and `mode`. A photo ground opens on the page's own ground colour. */
10348
- declare function fingerprintOf(page: LayoutPage, preset: string, mode: 'light' | 'dark'): LayoutFingerprint;
10620
+ /** A page's fingerprint, worn in `preset` and `mode`, under the site's `header` when it is known. A photo ground opens on
10621
+ * the page's own ground colour. */
10622
+ declare function fingerprintOf(page: LayoutPage, preset: string, mode: 'light' | 'dark', header?: HeaderMix): LayoutFingerprint;
10349
10623
  /** The share of the longer sequence two pages have in common. */
10350
10624
  declare function sequenceShare(a: ReadonlyArray<string>, b: ReadonlyArray<string>): number;
10351
10625
  /** A list token in words: `list:row/middle-raised/arrows` → "row · middle raised · arrows". */
@@ -10390,5 +10664,5 @@ declare function applyLayoutEdits(page: LayoutPage, edits: ReadonlyArray<LayoutE
10390
10664
  /** The strict format a repair is asked in: `{ edits: [{ op, path, value }] }`, every key required. */
10391
10665
  declare function layoutRepairJsonSchema(): JsonSchema;
10392
10666
 
10393
- export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, 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, FilmUnplaced, GRAMMAR_TOO_LARGE_MESSAGE, GlobalSlot, HEBREW_PREFIXES, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, 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_WORDS, LAYOUT_OPERATED, 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, LIST_CARD_PART, LIST_LONG_WORDS, LIST_ROLE_WORDS, 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, MAX_SITE_PICTURES, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, 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, 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, RENDER_CHECK, REQUIRED_CONTENT_ROLES, 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_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, 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, ScrimLevel, SectionFallbackLastResort, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, aiRefusalNext, aiStepParts, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, checkLayout, checkList, chooseScrim, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, frameWords, isActiveBuild, isLayoutRule, isNonEmptyString, isPictureWorld, isPlainObject, isRtlLocale, isShopResource, 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, layoutLookChanges, layoutLookOf, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, listTokenOf, listTokensOf, listWords, luminanceOf, measureLayout, mendLayout, modelCanDo, moveBarItem, navPages, navShapeBreakpoint, navShapeOf, nextSourceOf, nodeBindPaths, orientationOfRatio, ownPhotoFit, 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, pixelsUnder, placeFilm, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, pricesIn, publishRefusal, publishVerdict, readyMadeColumn, recipeListBinds, recomposeAsks, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionEntrances, sectionPatternIds, sectionToWire, sectionTokenOf, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteNavPages, siteSells, slotBudget, splitSide, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withDerivedSources, wordPattern, wordsOverPhotos, wordsOverPicture, writtenTexts };
10394
- export type { AddBarItemResult, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, 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, FrameRegion, JsonSchema, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutListBinding, LayoutListMix, LayoutListShape, LayoutLook, LayoutMend, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, MeasuredLayer, MeasuredLayout, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, 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, PlanWireContext, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, RecipeListBinds, RelativeDataSourcePlan, ScrimChoice, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, 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, SiteTemplate, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
10667
+ export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BUILD_STEPS, BaselineRole, BindScope, BuildNoticeCode, BuildStep, CONTENT_ROLE_MEANINGS, CREDITS_PER_USD, CardBindTarget, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, 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, FilmUnplaced, GRAMMAR_TOO_LARGE_MESSAGE, GlobalSlot, HEADER_TOKEN, HEBREW_PREFIXES, HeaderIngredient, HeaderMixError, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, 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_WORDS, LAYOUT_OPERATED, 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, LIST_CARD_PART, LIST_LONG_WORDS, LIST_ROLE_WORDS, 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, MAX_SITE_PICTURES, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, PAGE_ARCHETYPES, 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, 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, RENDER_CHECK, REQUIRED_CONTENT_ROLES, 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_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, 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, ScrimLevel, SectionFallbackLastResort, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, aiRefusalNext, aiStepParts, applyLayoutEdits, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, blocksPublish, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, checkLayout, checkList, chooseScrim, composeContextOf, composeLayout, composeNavHeader, composePresetForm, composeSection, composeSite, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, costUsd, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, drawnHeaderMix, driftAt, driftOverlap, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, fingerprintOf, frameWords, headerMeaning, headerMix, headerMixOfNavKind, headerMixOfPlan, headerReferences, headerTokenOf, headerTokenWords, headerWords, isActiveBuild, isLayoutRule, isNonEmptyString, isPictureWorld, isPlainObject, isRtlLocale, isShopResource, 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, layoutLookChanges, layoutLookOf, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, listTokenOf, listTokensOf, listWords, luminanceOf, measureLayout, mendLayout, menuAtEveryWidth, modelCanDo, moveBarItem, namedHeaderMix, navPages, navShapeBreakpoint, navShapeOf, nextSourceOf, nodeBindPaths, orientationOfRatio, ownPhotoFit, 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, pixelsUnder, placeFilm, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWordIssues, pricesIn, publishRefusal, publishVerdict, readyMadeColumn, recipeListBinds, recomposeAsks, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, sectionEntrances, sectionPatternIds, sectionToWire, sectionTokenOf, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteNavPages, siteSells, slotBudget, splitSide, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, strictSchemaComplexity, strictSchemaRefusal, toneOf, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withDerivedSources, wordPattern, wordsOverPhotos, wordsOverPicture, writtenTexts };
10668
+ export type { AddBarItemResult, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, 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, FrameRegion, HeaderGap, HeaderMix, JsonSchema, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutListBinding, LayoutListMix, LayoutListShape, LayoutLook, LayoutMend, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, MeasuredLayer, MeasuredLayout, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, 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, PlanWireContext, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, RecipeListBinds, RelativeDataSourcePlan, ScrimChoice, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, 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, SiteTemplate, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-ui",
3
- "version": "5.109.1",
3
+ "version": "5.110.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -6,6 +6,8 @@ import {
6
6
  import { ColorScheme, DesignChoices, LinkType, setColorScheme } from '@vectoriox/iox-ui/design-core';
7
7
  import { FORM_AFTER_SEND_TRAIT, FormAfterSend, FormPresetId } from '@vectoriox/iox-ui/forms-core';
8
8
  import { composeNavHeader, composePresetForm } from './compose-site';
9
+ import { drawnHeaderMix, HeaderIngredient, headerMixOfNavKind } from './header-mix';
10
+ import { NavShape, planNavShape } from './nav-shape';
9
11
  import {
10
12
  LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_EASING, LAYOUT_GUTTER, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHOTO_ASPECT, LAYOUT_TOOLTIP_TRAIT,
11
13
  LAYOUT_PHONE_PADDING, LAYOUT_RISE, LAYOUT_TEXT_KINDS, LayoutBleed, LayoutColour, LayoutEase, LayoutEnter, LayoutForm, LayoutGallery, LayoutLayer,
@@ -1089,16 +1091,24 @@ const NAV_ROUTE = '/';
1089
1091
  const PAGE_ROUTE_MARK = '/';
1090
1092
 
1091
1093
  /** The product's site header (composeNavHeader) with the layout's section links: each one scrolls to its section; in the
1092
- * phone menu it closes the drawer first. */
1094
+ * phone menu it closes the drawer first. The layout's `nav.kind` is read as a header MIX (header-mix.ts, HI0): a `corner`
1095
+ * or `index` header is the name and a menu at every width; a word the product does not draw yet is drawn as its built
1096
+ * stand-in and said as a gap. */
1093
1097
  function composeHeader(ctx: Ctx): SerializedNode | null {
1094
1098
  const links = ctx.site.nav?.links ?? [];
1095
1099
  if (!links.length) return null;
1096
1100
  const kind = ctx.site.nav?.kind ?? LayoutNavKind.Bar;
1097
- if (kind !== LayoutNavKind.Bar) gap(ctx, LayoutGapCode.NavKind, 'nav', `a ${kind} menu is drawn as the product's bar`);
1101
+ const { drawn, gaps } = drawnHeaderMix(headerMixOfNavKind(kind));
1102
+ // ONE gap for the header (gaps keep one per place): every word it waits for, its stand-in and the phase.
1103
+ if (gaps.length) gap(ctx, LayoutGapCode.NavKind, 'nav', `${/^[aeiou]/.test(kind) ? 'an' : 'a'} ${kind} header is drawn with `
1104
+ + gaps.map(g => `${g.ingredient} "${g.drawnAs}" for "${g.word}" (until ${g.phase})`).join(', '));
1098
1105
  gap(ctx, LayoutGapCode.SectionLink, 'nav', 'section links scroll by an action, with no #address');
1099
1106
  const pages = [{ name: ctx.site.name, route: NAV_ROUTE, isHome: true }, ...links.map(link => ({ name: link.label, route: `/${link.to}` }))];
1100
1107
  let n = 0;
1101
- const { header } = composeNavHeader({ business: { name: ctx.site.name } as never, pages, locale: ctx.site.locale }, { id: `${ctx.p}-nav`, newId: suffix => `${ctx.p}-nav-${++n}-${suffix}` });
1108
+ const newId = (suffix: string) => `${ctx.p}-nav-${++n}-${suffix}`;
1109
+ let { header } = composeNavHeader({ business: { name: ctx.site.name } as never, pages, locale: ctx.site.locale }, { id: `${ctx.p}-nav`, newId });
1110
+ // The pages behind a menu: the menu button and its drawer at every width (HI-D8).
1111
+ if (drawn[HeaderIngredient.Pages] !== 'inline') header = planNavShape([header], NavShape.Drawer, { everyWidth: true, newId }, header.id).globals[0];
1102
1112
  if (ctx.rtl) setStyleProps(header, { textDirection: 'rtl' });
1103
1113
  let drawer: string | undefined;
1104
1114
  walkSerialized([header], node => { if (node.role === 'nav.drawer') drawer = node.id; });
@@ -0,0 +1,116 @@
1
+ import { SPEC_SITE_LAYOUT } from './site-spec.generated';
2
+
3
+ /**
4
+ * HEADER INGREDIENTS (header-ingredients-plan.md, HI0): a site's header is a MIX — one word per ingredient — never a
5
+ * header pattern. Every word, its meaning, whether the product draws it yet, the named mixes stored plans use, what a CL2
6
+ * `nav.kind` asks for, the fingerprint and Doron's references live in ONE table, the contract's `site.layout.header`
7
+ * (layout.mjs `HEADER`). This module only reads it: adding an option is a row there, not a change here
8
+ * (architecture/ai/ingredients.md). Pure.
9
+ */
10
+
11
+ const H = SPEC_SITE_LAYOUT.header;
12
+
13
+ /** The ingredients, by the contract's keys (held equal to it by header-mix.spec). */
14
+ export enum HeaderIngredient {
15
+ Arrange = 'arrange',
16
+ MenuSide = 'menuSide',
17
+ Pages = 'pages',
18
+ Menu = 'menu',
19
+ MenuShows = 'menuShows',
20
+ Action = 'action',
21
+ Ground = 'ground',
22
+ Shape = 'shape',
23
+ Brand = 'brand',
24
+ Scroll = 'scroll',
25
+ Edge = 'edge',
26
+ Phone = 'phone',
27
+ }
28
+
29
+ /** One word per ingredient. */
30
+ export type HeaderMix = Record<`${HeaderIngredient}`, string>;
31
+
32
+ export class HeaderMixError extends Error {}
33
+
34
+ const INGREDIENTS = H.ingredients as Readonly<Record<string, ReadonlyArray<string>>>;
35
+ const WAITS = H.waits as Readonly<Record<string, { phase: string; drawnAs: string }>>;
36
+ const MEANINGS = H.meanings as Readonly<Record<string, string>>;
37
+
38
+ /** The words an ingredient may take. */
39
+ export function headerWords(ingredient: `${HeaderIngredient}`): ReadonlyArray<string> {
40
+ return INGREDIENTS[ingredient] ?? [];
41
+ }
42
+
43
+ /** What a word means, as the brief and the builder say it. */
44
+ export function headerMeaning(ingredient: `${HeaderIngredient}`, word: string): string {
45
+ return MEANINGS[`${ingredient}.${word}`] ?? word;
46
+ }
47
+
48
+ /** A whole mix from part of one: what is not named is the default (the Studio header). Refuses a word the table lacks. */
49
+ export function headerMix(partial: Partial<HeaderMix> = {}): HeaderMix {
50
+ const mix = { ...(H.defaults as HeaderMix) };
51
+ for (const [k, w] of Object.entries(partial)) {
52
+ if (w === undefined) continue;
53
+ if (!INGREDIENTS[k]) throw new HeaderMixError(`no header ingredient "${k}"`);
54
+ if (!INGREDIENTS[k].includes(w)) throw new HeaderMixError(`a header's ${k} cannot be "${w}" (${INGREDIENTS[k].join(' · ')})`);
55
+ mix[k as HeaderIngredient] = w;
56
+ }
57
+ return mix;
58
+ }
59
+
60
+ /** The mix a stored header pattern id stands for (`nav.inline-cta`, `nav.centered-logo`), or null for an unknown id. */
61
+ export function namedHeaderMix(patternId: string): HeaderMix | null {
62
+ const named = (H.named as Readonly<Record<string, Partial<HeaderMix>>>)[patternId];
63
+ return named ? headerMix(named) : null;
64
+ }
65
+
66
+ /** The mix a CL2 layout's `nav.kind` asks for (`bar` when it names none). */
67
+ export function headerMixOfNavKind(kind: string | undefined): HeaderMix {
68
+ const asked = (H.navKinds as Readonly<Record<string, Partial<HeaderMix>>>)[kind ?? 'bar'];
69
+ if (!asked) throw new HeaderMixError(`no nav kind "${kind}"`);
70
+ return headerMix(asked);
71
+ }
72
+
73
+ /** A word the product does not draw yet, with the phase it waits for and what is drawn instead. */
74
+ export interface HeaderGap {
75
+ ingredient: `${HeaderIngredient}`;
76
+ word: string;
77
+ phase: string;
78
+ drawnAs: string;
79
+ }
80
+
81
+ /** The mix the product DRAWS today: every waiting word becomes its built stand-in, and each one is said as a gap. */
82
+ export function drawnHeaderMix(mix: HeaderMix): { drawn: HeaderMix; gaps: HeaderGap[] } {
83
+ const drawn = { ...mix };
84
+ const gaps: HeaderGap[] = [];
85
+ for (const k of Object.values(HeaderIngredient)) {
86
+ const wait = WAITS[`${k}.${mix[k]}`];
87
+ if (!wait) continue;
88
+ gaps.push({ ingredient: k, word: mix[k], phase: wait.phase, drawnAs: wait.drawnAs });
89
+ drawn[k] = wait.drawnAs;
90
+ }
91
+ return { drawn, gaps };
92
+ }
93
+
94
+ /** The fingerprint's prefix for a header. */
95
+ export const HEADER_TOKEN = 'header';
96
+
97
+ /** A header as the fingerprint sees it (§7): `header:<arrange>/<pages>/<menu>/<ground>/<shape>` — what a visitor takes in
98
+ * at once, in the contract's order. Two sites with the same token wear the same header. */
99
+ export function headerTokenOf(mix: HeaderMix): string {
100
+ return `${HEADER_TOKEN}:${(H.fingerprint as ReadonlyArray<`${HeaderIngredient}`>).map(k => mix[k]).join('/')}`;
101
+ }
102
+
103
+ /** A header token in words: `header:name-only/menu/drawer/solid/bar` → "name-only · menu · drawer · solid · bar". */
104
+ export const headerTokenWords = (token: string): string => token.replace(`${HEADER_TOKEN}:`, '').split('/').join(' · ');
105
+
106
+ /** Doron's reference headers (§2b), each as a whole mix. */
107
+ export function headerReferences(): ReadonlyArray<{ id: string; after: string; added: string; mix: HeaderMix }> {
108
+ return (H.references as ReadonlyArray<{ id: string; after: string; added: string; mix: Partial<HeaderMix> }>)
109
+ .map(r => ({ id: r.id, after: r.after, added: r.added, mix: headerMix(r.mix) }));
110
+ }
111
+
112
+ /** The site plan's header as a mix: its `globals.header` pattern read as a named mix (HI-D4), the Studio header when it
113
+ * names none or one the table does not know. */
114
+ export function headerMixOfPlan(plan: { readonly globals?: Readonly<Record<string, string>> }): HeaderMix {
115
+ return namedHeaderMix(plan.globals?.['header'] ?? '') ?? headerMix();
116
+ }
@@ -2,6 +2,7 @@ import { parseCssColour, relativeLuminance } from '@vectoriox/iox-ui/design-core
2
2
 
3
3
  import { layoutPresetColours, splitSide } from './check-layout';
4
4
  import { LayoutColour, LayoutIssue, LayoutIssueCode, LayoutLayerKind, LayoutListMix, LayoutListWho, LayoutPage, LayoutRole, LayoutSection, LayoutSectionKind, LayoutSize, LayoutTrackProp } from './layout-language';
5
+ import { HeaderMix, headerTokenOf } from './header-mix';
5
6
  import { PHOTO_LIGHT_LUMINANCE, PhotoTone } from './photo-inventory';
6
7
  import { SPEC_SITE_LAYOUT } from './site-spec.generated';
7
8
 
@@ -48,6 +49,10 @@ export interface LayoutFingerprint {
48
49
  preset: string;
49
50
  /** Every list mix the page shows (`listTokenOf`); absent on a fingerprint stored before LI2. */
50
51
  lists?: string[];
52
+ /** The site's header (`headerTokenOf`, header ingredients HI0); absent on a fingerprint stored before it. Recorded and
53
+ * named in the brief, never a refusal until the model chooses the header (HI1) — a refusal it cannot answer by
54
+ * changing its page would only spend a repair. */
55
+ header?: string;
51
56
  }
52
57
 
53
58
  export interface FingerprintedPage {
@@ -132,8 +137,9 @@ function openingOf(s: LayoutSection | undefined): string {
132
137
  return lead.size ? `${lead.size}-${lead.kind}` : lead.kind;
133
138
  }
134
139
 
135
- /** A page's fingerprint, worn in `preset` and `mode`. A photo ground opens on the page's own ground colour. */
136
- export function fingerprintOf(page: LayoutPage, preset: string, mode: 'light' | 'dark'): LayoutFingerprint {
140
+ /** A page's fingerprint, worn in `preset` and `mode`, under the site's `header` when it is known. A photo ground opens on
141
+ * the page's own ground colour. */
142
+ export function fingerprintOf(page: LayoutPage, preset: string, mode: 'light' | 'dark', header?: HeaderMix): LayoutFingerprint {
137
143
  const sections = page.sections ?? [];
138
144
  const lists = listTokensOf(page);
139
145
  const first = sections[0];
@@ -148,6 +154,7 @@ export function fingerprintOf(page: LayoutPage, preset: string, mode: 'light' |
148
154
  ground: light ? PhotoTone.Light : PhotoTone.Dark,
149
155
  preset,
150
156
  ...(lists.length ? { lists } : {}),
157
+ ...(header ? { header: headerTokenOf(header) } : {}),
151
158
  };
152
159
  }
153
160