@vectoriox/iox-ui 5.195.0 → 5.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/composite-core/index.d.ts +12 -2
- package/design-core/index.d.ts +353 -8
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +26 -4
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +711 -264
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +642 -498
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +221 -2
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-identity-core.mjs +11 -5
- package/fesm2022/vectoriox-iox-ui-identity-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +70 -17
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +183 -93
- package/harness-core/index.d.ts +165 -3
- package/identity-core/index.d.ts +8 -1
- package/index.d.ts +23 -2
- package/package.json +1 -1
- package/src/composite-core/account-runtime.ts +2 -2
- package/src/composite-core/header.ts +23 -1
- package/src/design-core/contrast-audit.ts +38 -0
- package/src/design-core/flavor-spec.generated.ts +275 -1
- package/src/design-core/header-behaviour.ts +172 -3
- package/src/design-core/node-classes.ts +9 -2
- package/src/generation-core/compose-site.ts +25 -8
- package/src/generation-core/header-mix.ts +165 -12
- package/src/generation-core/site-spec.generated.ts +41 -9
- package/src/harness-core/business-types.ts +11 -0
- package/src/harness-core/harness-spec.generated.ts +213 -0
- package/src/harness-core/run-compose-context.ts +9 -3
- package/src/identity-core/site-auth-transport.ts +11 -4
- package/styles/iox-design.css +148 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { localeDirection, LocaleDirection, NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, SPEC_AXES, QUIET_MOVE, QUIET_LEVELS, EntranceParam, staggerDelay, ScrubId, isScrubId, columnWordOf, contentWidthOf, stylePresetOfChoices, resolveDesignChoices, presetModes, STYLE_PRESETS, presetChoices, textWidthEm, elementStyleFace, toHexColor, relativeLuminance, sectionEdgeClass, SECTION_EDGE_TYPES, colorSchemeOf, planSectionShape, SectionShape, setSectionShape, sectionShapeOf, setSectionEdge, resolveTokenValues, designTokenRows, parseCssColour, scrubOfChoices, parseHexColor, rgbToOklab, OpticalSize, FOOTER_MIX_PROP, SECTION_SHAPE_TRAIT, LinkType, MenuTrait, menuDialogProps, MenuButtonKind, menuButtonOf, menuButtonProps, HeaderTrait, menuFormOf, MenuForm, MenuPhoneForm, menuHoverOf, menuRevealOf, decomposeCssFunctions, FILTER_FUNCTIONS,
|
|
1
|
+
import { localeDirection, LocaleDirection, NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, SPEC_AXES, QUIET_MOVE, QUIET_LEVELS, EntranceParam, staggerDelay, ScrubId, isScrubId, columnWordOf, contentWidthOf, stylePresetOfChoices, resolveDesignChoices, presetModes, STYLE_PRESETS, presetChoices, textWidthEm, elementStyleFace, toHexColor, relativeLuminance, sectionEdgeClass, SECTION_EDGE_TYPES, colorSchemeOf, planSectionShape, SectionShape, setSectionShape, sectionShapeOf, setSectionEdge, resolveTokenValues, designTokenRows, parseCssColour, scrubOfChoices, parseHexColor, rgbToOklab, OpticalSize, FOOTER_MIX_PROP, SECTION_SHAPE_TRAIT, LinkType, MenuTrait, menuDialogProps, MenuButtonKind, menuButtonOf, menuButtonProps, HeaderTrait, headerGroundIsOver, HeaderGround, headerGroundIsGlass, wcagContrastRatio, menuFormOf, MenuForm, MenuPhoneForm, menuHoverOf, menuRevealOf, decomposeCssFunctions, FILTER_FUNCTIONS, flavorPackById, ARRIVE_IDS, MOVE_IDS, PRELOADER_IDS, SCRUB_IDS, setColorScheme, LIST_MIX_PROP, ColorScheme, COLOR_SCHEMES, motionLanguageForPlan, headerInkOf, headerGroundOf, DEFAULT_MENU_LOOK, COLOR_SCHEME_TRAIT, colorSchemeClass, readDesignConfig, ANIMATE_IDS, auditDesignContrast, compositeOver, HeaderBehaviour, headerBehaviourOf, headerEdgeOf, COLUMN_IDS, COLUMN_SETTING } from '@vectoriox/iox-ui/design-core';
|
|
2
2
|
export { HeaderInk } from '@vectoriox/iox-ui/design-core';
|
|
3
|
-
import { SLIDER_TYPE, badgeToneOf, isAnyCompositeRoot, MarqueeRole, NO_ELEMENT_STYLE, ShopRole, AccountRole, PopupKind, PopupTrait, POPUP_KIND_MIX, PopupForm, popupWords, PopupArt, POPUP_BODY_MAX_CHARS, POPUP_TITLE_MAX_WORDS, buildPopupRecipe, findByRole, PopupRole, removeFromComposite, pickTabsAutoBinds, pickAccordionAutoBinds, CardPart, SceneRole, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, CardLayout, buildCardRecipe, CardRole, SHOP_RECIPES, ShopRecipe, bindShopPart, ShopBindTarget, MarqueeDirection, MarqueeSpeed, buildMarqueeRecipe, setMarqueeSettings, segmentedOptions, ITEM_OPEN_STATE, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, accordionWords, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, tabsWords, tabsTriggers, tabLabelNodeOf, TABS_LABEL_BIND_PROP, tabsPanels, tabPanelTextOf, TABS_TEXT_BIND_PROP, tabPanelImageOf, tabsListOf, tabsPanelsOf, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, ACCOUNT_RECIPES, AccountRecipe, carouselQuoteLabel, buildCarouselRecipe, SLIDE_TYPE, CAROUSEL_QUOTE_LABELS, pickCarouselAutoBinds, buildSlideshowRecipe, buildLightboxRecipe, LIGHTBOX_LABEL, SLIDE_TO_ROW, setHeaderBehaviour, setHeaderInk, buildConsentRecipe, ConsentActionType, PopupArrive, popupFormOf } from '@vectoriox/iox-ui/composite-core';
|
|
3
|
+
import { SLIDER_TYPE, badgeToneOf, isAnyCompositeRoot, MarqueeRole, NO_ELEMENT_STYLE, ShopRole, AccountRole, PopupKind, PopupTrait, POPUP_KIND_MIX, PopupForm, popupWords, PopupArt, POPUP_BODY_MAX_CHARS, POPUP_TITLE_MAX_WORDS, buildPopupRecipe, findByRole, PopupRole, removeFromComposite, pickTabsAutoBinds, pickAccordionAutoBinds, CardPart, SceneRole, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, CardLayout, buildCardRecipe, CardRole, SHOP_RECIPES, ShopRecipe, bindShopPart, ShopBindTarget, MarqueeDirection, MarqueeSpeed, buildMarqueeRecipe, setMarqueeSettings, segmentedOptions, ITEM_OPEN_STATE, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, accordionWords, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, tabsWords, tabsTriggers, tabLabelNodeOf, TABS_LABEL_BIND_PROP, tabsPanels, tabPanelTextOf, TABS_TEXT_BIND_PROP, tabPanelImageOf, tabsListOf, tabsPanelsOf, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, ACCOUNT_RECIPES, AccountRecipe, carouselQuoteLabel, buildCarouselRecipe, SLIDE_TYPE, CAROUSEL_QUOTE_LABELS, pickCarouselAutoBinds, buildSlideshowRecipe, buildLightboxRecipe, LIGHTBOX_LABEL, SLIDE_TO_ROW, setHeaderBehaviour, setHeaderInk, setHeaderGround, buildConsentRecipe, ConsentActionType, PopupArrive, popupFormOf } from '@vectoriox/iox-ui/composite-core';
|
|
4
4
|
import { formPresetById, ControlType, FIELD_NODE_TYPE, FORM_NODE_TYPE, FormPresetId, FormAfterSend, FORM_AFTER_SEND_TRAIT, busyWord, FORM_ACTIONS_ROLE, channelOpensNewTab, FORM_CHANNEL_ROLE, presetFormActions, planFormPresetIds, collectFormSpec, isChannelFilled } from '@vectoriox/iox-ui/forms-core';
|
|
5
5
|
import { normalizeFrameSequence, filmScreensFor, VideoMode, VideoSource, FILM_PREPARED_PICTURES, FrameExtension } from '@vectoriox/iox-ui/media-core';
|
|
6
6
|
import { SEO_DESCRIPTION_MAX, SEO_TITLE_MAX, SEO_ROBOTS_OPTIONS, fitSeoText, SEO_ROBOTS_NOINDEX, redirectPath } from '@vectoriox/iox-ui/seo-core';
|
|
@@ -8351,6 +8351,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8351
8351
|
"solid",
|
|
8352
8352
|
"over",
|
|
8353
8353
|
"glass",
|
|
8354
|
+
"over-glass",
|
|
8354
8355
|
"blend"
|
|
8355
8356
|
],
|
|
8356
8357
|
"shape": [
|
|
@@ -8439,6 +8440,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8439
8440
|
"ground.solid": "its own ground",
|
|
8440
8441
|
"ground.over": "over the opening, transparent until the page moves",
|
|
8441
8442
|
"ground.glass": "frosted glass (a look with a blur)",
|
|
8443
|
+
"ground.over-glass": "over the opening and clear at first; frosted glass once the page moves",
|
|
8442
8444
|
"ground.blend": "blends with what is under it, readable over any picture",
|
|
8443
8445
|
"shape.bar": "a full-width bar",
|
|
8444
8446
|
"shape.pill": "one floating rounded bar",
|
|
@@ -8504,6 +8506,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8504
8506
|
"ground.solid": "רקע משלו",
|
|
8505
8507
|
"ground.over": "מעל הפתיחה, שקוף עד שהדף זז",
|
|
8506
8508
|
"ground.glass": "זכוכית חלבית (מראה עם טשטוש)",
|
|
8509
|
+
"ground.over-glass": "מעל הפתיחה ושקופה בהתחלה; זכוכית חלבית ברגע שהדף זז",
|
|
8507
8510
|
"ground.blend": "נבלע במה שמתחתיו, קריא מעל כל תמונה",
|
|
8508
8511
|
"shape.bar": "פס ברוחב מלא",
|
|
8509
8512
|
"shape.pill": "פס מעוגל אחד שמרחף",
|
|
@@ -8559,14 +8562,6 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8559
8562
|
"phase": "HI6",
|
|
8560
8563
|
"drawnAs": "links"
|
|
8561
8564
|
},
|
|
8562
|
-
"ground.over": {
|
|
8563
|
-
"phase": "HI3",
|
|
8564
|
-
"drawnAs": "solid"
|
|
8565
|
-
},
|
|
8566
|
-
"ground.glass": {
|
|
8567
|
-
"phase": "HI3",
|
|
8568
|
-
"drawnAs": "solid"
|
|
8569
|
-
},
|
|
8570
8565
|
"ground.blend": {
|
|
8571
8566
|
"phase": "HI3",
|
|
8572
8567
|
"drawnAs": "solid"
|
|
@@ -8639,6 +8634,17 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8639
8634
|
"wordsHe": "שם ודפים · כפתור אחד · מגירה בטלפון",
|
|
8640
8635
|
"mix": {}
|
|
8641
8636
|
},
|
|
8637
|
+
{
|
|
8638
|
+
"id": "over-picture",
|
|
8639
|
+
"name": "Over the picture",
|
|
8640
|
+
"nameHe": "מעל התמונה",
|
|
8641
|
+
"words": "Over the opening, then glass · one button",
|
|
8642
|
+
"wordsHe": "מעל הפתיחה, ואז זכוכית · כפתור אחד",
|
|
8643
|
+
"mix": {
|
|
8644
|
+
"ground": "over-glass",
|
|
8645
|
+
"edge": "none"
|
|
8646
|
+
}
|
|
8647
|
+
},
|
|
8642
8648
|
{
|
|
8643
8649
|
"id": "card",
|
|
8644
8650
|
"name": "Card from the button",
|
|
@@ -8737,7 +8743,33 @@ const SPEC_SITE_LAYOUT = {
|
|
|
8737
8743
|
"pinnedMax": 1,
|
|
8738
8744
|
"inlineRoomPx": 1100,
|
|
8739
8745
|
"betweenNameEm": 7,
|
|
8740
|
-
"betweenMinPages": 2
|
|
8746
|
+
"betweenMinPages": 2,
|
|
8747
|
+
"overFrames": [
|
|
8748
|
+
"full",
|
|
8749
|
+
"shrinks",
|
|
8750
|
+
"grows"
|
|
8751
|
+
],
|
|
8752
|
+
"overMedia": [
|
|
8753
|
+
"photo",
|
|
8754
|
+
"film",
|
|
8755
|
+
"slideshow",
|
|
8756
|
+
"object",
|
|
8757
|
+
"material"
|
|
8758
|
+
],
|
|
8759
|
+
"glassFlavors": [
|
|
8760
|
+
"crisp",
|
|
8761
|
+
"linen",
|
|
8762
|
+
"midnight",
|
|
8763
|
+
"glass",
|
|
8764
|
+
"bloom"
|
|
8765
|
+
],
|
|
8766
|
+
"glassIsOwnBar": [
|
|
8767
|
+
"glass"
|
|
8768
|
+
],
|
|
8769
|
+
"noEdgeGrounds": [
|
|
8770
|
+
"glass",
|
|
8771
|
+
"over-glass"
|
|
8772
|
+
]
|
|
8741
8773
|
},
|
|
8742
8774
|
"references": [
|
|
8743
8775
|
{
|
|
@@ -19119,7 +19151,7 @@ function phoneGapBefore(prev, next) {
|
|
|
19119
19151
|
* columns (`LAYOUT_COLUMN_GAP`), and 12 columns. */
|
|
19120
19152
|
const GRID_VW = 92;
|
|
19121
19153
|
const COLUMN_GAP_VW = 1.2;
|
|
19122
|
-
const GRID_COLUMNS$
|
|
19154
|
+
const GRID_COLUMNS$2 = 12;
|
|
19123
19155
|
/** A `screen` word's smallest and largest size (px), and the share of its room it fills (the renderer's margin). */
|
|
19124
19156
|
const LAYOUT_SCREEN_PX = [36, 560];
|
|
19125
19157
|
const SCREEN_FILL = 0.98;
|
|
@@ -19127,7 +19159,7 @@ const round2 = (n) => Math.round(n * 100) / 100;
|
|
|
19127
19159
|
const round4 = (n) => Math.round(n * 10000) / 10000;
|
|
19128
19160
|
/** How wide `cols` columns of the laptop grid stand, in vw (12 columns: 92vw). */
|
|
19129
19161
|
function layoutColumnsVw(cols) {
|
|
19130
|
-
const column = (GRID_VW - (GRID_COLUMNS$
|
|
19162
|
+
const column = (GRID_VW - (GRID_COLUMNS$2 - 1) * COLUMN_GAP_VW) / GRID_COLUMNS$2;
|
|
19131
19163
|
return cols * column + Math.max(0, cols - 1) * COLUMN_GAP_VW;
|
|
19132
19164
|
}
|
|
19133
19165
|
const LEGACY_GUTTER_PX = 16;
|
|
@@ -19145,7 +19177,7 @@ function layoutRoomPx(cols, width, phone, page = {}) {
|
|
|
19145
19177
|
return vw;
|
|
19146
19178
|
const gap = (COLUMN_GAP_VW / 100) * width;
|
|
19147
19179
|
const grid = Math.min(width - 2 * Math.max(0.04 * width, gutter), page.columnPx);
|
|
19148
|
-
return Math.min(vw, (cols * (grid - (GRID_COLUMNS$
|
|
19180
|
+
return Math.min(vw, (cols * (grid - (GRID_COLUMNS$2 - 1) * gap)) / GRID_COLUMNS$2 + Math.max(0, cols - 1) * gap);
|
|
19149
19181
|
}
|
|
19150
19182
|
/** A `screen` word's width term at a column `columnPx` wide: the px its `cols` columns stand where the column binds
|
|
19151
19183
|
* (12 columns of the column, 11 gaps of 1.2vw), at `fill / em` — `A px − B vw`. */
|
|
@@ -19153,8 +19185,8 @@ function layoutRoomPx(cols, width, phone, page = {}) {
|
|
|
19153
19185
|
* read — re-declared by the page's word, iox-ui#117), the stamped column (`fallback`) where a studio's rows lack it. */
|
|
19154
19186
|
function columnCapCss(cols, widthEm, fallback) {
|
|
19155
19187
|
const k = SCREEN_FILL / Math.max(widthEm, 0.01);
|
|
19156
|
-
const share = round4((cols / GRID_COLUMNS$
|
|
19157
|
-
const vw = round2(COLUMN_GAP_VW * (1 - cols / GRID_COLUMNS$
|
|
19188
|
+
const share = round4((cols / GRID_COLUMNS$2) * k);
|
|
19189
|
+
const vw = round2(COLUMN_GAP_VW * (1 - cols / GRID_COLUMNS$2) * k);
|
|
19158
19190
|
const cap = `var(--iox-content-cap, ${fallback})`;
|
|
19159
19191
|
return vw > 0 ? `calc(${cap} * ${share} - ${vw}vw)` : `calc(${cap} * ${share})`;
|
|
19160
19192
|
}
|
|
@@ -19175,7 +19207,7 @@ function screenFontSize(widthEm, cols, rows, sectionRows, screens, columnPx = nu
|
|
|
19175
19207
|
// in wide, so a page set narrower than the site never sees it run past its column.
|
|
19176
19208
|
// CW2: a word across all twelve columns also keeps inside the one gutter (`space-gutter` is a px token, so font-size
|
|
19177
19209
|
// may read it): on a phone and wherever the gutter is wider than 4% of the window, 92vw is more than the room.
|
|
19178
|
-
const room = cols >= GRID_COLUMNS$
|
|
19210
|
+
const room = cols >= GRID_COLUMNS$2 ? [`calc((100vw - 2 * var(--iox-space-gutter, ${LEGACY_GUTTER_PX}px)) * ${round4(SCREEN_FILL / Math.max(widthEm, 0.01))})`] : [];
|
|
19179
19211
|
const capFallback = columnPx ? `${columnPx}px` : capAlways ? WIDE_CAP : null;
|
|
19180
19212
|
const width = [`${widthVw}vw`, ...(capFallback ? [columnCapCss(cols, widthEm, capFallback)] : []), ...room];
|
|
19181
19213
|
if (!rows || !sectionRows)
|
|
@@ -25937,465 +25969,6 @@ function moveBarItem(globals, from, to) {
|
|
|
25937
25969
|
return { globals: out, changed: true };
|
|
25938
25970
|
}
|
|
25939
25971
|
|
|
25940
|
-
/**
|
|
25941
|
-
* HEADER INGREDIENTS (header-ingredients-plan.md, HI0): a site's header is a MIX — one word per ingredient — never a
|
|
25942
|
-
* header pattern. Every word, its meaning, whether the product draws it yet, the named mixes stored plans use, what a CL2
|
|
25943
|
-
* `nav.kind` asks for, the fingerprint and Doron's references live in ONE table, the contract's `site.layout.header`
|
|
25944
|
-
* (layout.mjs `HEADER`). This module only reads it: adding an option is a row there, not a change here
|
|
25945
|
-
* (architecture/ai/ingredients.md). Pure.
|
|
25946
|
-
*/
|
|
25947
|
-
const H = SPEC_SITE_LAYOUT.header;
|
|
25948
|
-
const PARTS = SPEC_SITE_HEADER_PARTS;
|
|
25949
|
-
/** The ingredients, by the contract's keys (held equal to it by header-mix.spec). */
|
|
25950
|
-
var HeaderIngredient;
|
|
25951
|
-
(function (HeaderIngredient) {
|
|
25952
|
-
HeaderIngredient["Arrange"] = "arrange";
|
|
25953
|
-
HeaderIngredient["MenuSide"] = "menuSide";
|
|
25954
|
-
HeaderIngredient["Pages"] = "pages";
|
|
25955
|
-
HeaderIngredient["Menu"] = "menu";
|
|
25956
|
-
HeaderIngredient["MenuShows"] = "menuShows";
|
|
25957
|
-
HeaderIngredient["Action"] = "action";
|
|
25958
|
-
HeaderIngredient["Ground"] = "ground";
|
|
25959
|
-
HeaderIngredient["Shape"] = "shape";
|
|
25960
|
-
HeaderIngredient["Brand"] = "brand";
|
|
25961
|
-
HeaderIngredient["Scroll"] = "scroll";
|
|
25962
|
-
HeaderIngredient["Edge"] = "edge";
|
|
25963
|
-
HeaderIngredient["Phone"] = "phone";
|
|
25964
|
-
/** HB-D1 (HI2a): how the menu opens. */
|
|
25965
|
-
HeaderIngredient["Reveal"] = "reveal";
|
|
25966
|
-
/** HB-D1 (HI2a): the button that opens it. */
|
|
25967
|
-
HeaderIngredient["Button"] = "button";
|
|
25968
|
-
/** HB-D1 (HI2a): what the mouse does in it. */
|
|
25969
|
-
HeaderIngredient["MenuHover"] = "menuHover";
|
|
25970
|
-
/** HB-D1 (HI3): what sits above the bar. */
|
|
25971
|
-
HeaderIngredient["Above"] = "above";
|
|
25972
|
-
/** HB-D1 (HI3 / HI6): what more sits in the bar. */
|
|
25973
|
-
HeaderIngredient["InBar"] = "inBar";
|
|
25974
|
-
/** AW6: whose ground the header's ink follows — the opening's, or every section's as it passes under the bar. */
|
|
25975
|
-
HeaderIngredient["Ink"] = "ink";
|
|
25976
|
-
})(HeaderIngredient || (HeaderIngredient = {}));
|
|
25977
|
-
var HeaderArrange;
|
|
25978
|
-
(function (HeaderArrange) {
|
|
25979
|
-
HeaderArrange["Split"] = "split";
|
|
25980
|
-
HeaderArrange["Centred"] = "centred";
|
|
25981
|
-
HeaderArrange["Between"] = "between";
|
|
25982
|
-
HeaderArrange["NameOnly"] = "name-only";
|
|
25983
|
-
})(HeaderArrange || (HeaderArrange = {}));
|
|
25984
|
-
var HeaderPages;
|
|
25985
|
-
(function (HeaderPages) {
|
|
25986
|
-
HeaderPages["Inline"] = "inline";
|
|
25987
|
-
HeaderPages["Menu"] = "menu";
|
|
25988
|
-
HeaderPages["MenuPinned"] = "menu-pinned";
|
|
25989
|
-
})(HeaderPages || (HeaderPages = {}));
|
|
25990
|
-
var HeaderAction;
|
|
25991
|
-
(function (HeaderAction) {
|
|
25992
|
-
HeaderAction["None"] = "none";
|
|
25993
|
-
HeaderAction["Button"] = "button";
|
|
25994
|
-
HeaderAction["Link"] = "link";
|
|
25995
|
-
HeaderAction["Two"] = "two";
|
|
25996
|
-
})(HeaderAction || (HeaderAction = {}));
|
|
25997
|
-
class HeaderMixError extends Error {
|
|
25998
|
-
}
|
|
25999
|
-
/** The header pattern a plan names when it names none the table knows (the Studio header). */
|
|
26000
|
-
const DEFAULT_HEADER_PATTERN = 'nav.inline-cta';
|
|
26001
|
-
const INGREDIENTS$1 = H.ingredients;
|
|
26002
|
-
const WAITS$1 = H.waits;
|
|
26003
|
-
const MEANINGS = H.meanings;
|
|
26004
|
-
const MEANINGS_HE = (H.meaningsHe ?? {});
|
|
26005
|
-
const HEBREW$2 = 'he';
|
|
26006
|
-
/** The words an ingredient may take. */
|
|
26007
|
-
function headerWords(ingredient) {
|
|
26008
|
-
return INGREDIENTS$1[ingredient] ?? [];
|
|
26009
|
-
}
|
|
26010
|
-
/** What a word means, as the brief and the builder say it — in Hebrew when the builder speaks it (HI1b, board 4d). */
|
|
26011
|
-
function headerMeaning(ingredient, word, locale) {
|
|
26012
|
-
const key = `${ingredient}.${word}`;
|
|
26013
|
-
return (locale === HEBREW$2 ? MEANINGS_HE[key] : undefined) ?? MEANINGS[key] ?? word;
|
|
26014
|
-
}
|
|
26015
|
-
/** Whether the product draws a word today (a waiting word is never offered — HB-D9). */
|
|
26016
|
-
function headerWordDrawn(ingredient, word) {
|
|
26017
|
-
return headerWords(ingredient).includes(word) && !WAITS$1[`${ingredient}.${word}`];
|
|
26018
|
-
}
|
|
26019
|
-
const GALLERY = (H.gallery ?? []);
|
|
26020
|
-
/** The gallery, in the contract's order (Studio — the defaults — first), named in `locale` (English unless Hebrew). */
|
|
26021
|
-
function headerGallery(locale) {
|
|
26022
|
-
const he = locale === HEBREW$2;
|
|
26023
|
-
return GALLERY.map(g => ({ id: g.id, name: he ? g.nameHe : g.name, words: he ? g.wordsHe : g.words, mix: headerMix(g.mix) }));
|
|
26024
|
-
}
|
|
26025
|
-
/** The gallery mix a mix is exactly, or null. */
|
|
26026
|
-
function headerGalleryIdOf(mix) {
|
|
26027
|
-
const key = JSON.stringify(headerMixWords(mix));
|
|
26028
|
-
return GALLERY.find(g => JSON.stringify(headerMixWords(headerMix(g.mix))) === key)?.id ?? null;
|
|
26029
|
-
}
|
|
26030
|
-
// ── The mix a header stores (HI1b, HS-5) ───────────────────────────────────────────────────────────────────────────
|
|
26031
|
-
/** A mix as the header root stores it: its `<ingredient>:<word>` words, space-separated, in the table's order. */
|
|
26032
|
-
function headerMixValue(mix) {
|
|
26033
|
-
return headerMixWords(mix).join(' ');
|
|
26034
|
-
}
|
|
26035
|
-
/** Writes the mix on a header root (its props). */
|
|
26036
|
-
function stampHeaderMix(root, mix) {
|
|
26037
|
-
root.props = { ...root.props, [HeaderTrait.Mix]: headerMixValue(mix) };
|
|
26038
|
-
}
|
|
26039
|
-
/** The mix a header root stores, or null — none stored, or words the table no longer knows (read as unstamped). */
|
|
26040
|
-
function storedHeaderMix(root) {
|
|
26041
|
-
const value = root?.props?.[HeaderTrait.Mix];
|
|
26042
|
-
if (typeof value !== 'string' || !value.trim())
|
|
26043
|
-
return null;
|
|
26044
|
-
try {
|
|
26045
|
-
return headerMixFromWords(value.trim().split(/\s+/));
|
|
26046
|
-
}
|
|
26047
|
-
catch {
|
|
26048
|
-
return null;
|
|
26049
|
-
}
|
|
26050
|
-
}
|
|
26051
|
-
/** A whole mix from part of one: what is not named is the default (the Studio header). Refuses a word the table lacks. */
|
|
26052
|
-
function headerMix(partial = {}) {
|
|
26053
|
-
const mix = { ...H.defaults };
|
|
26054
|
-
for (const [k, w] of Object.entries(partial)) {
|
|
26055
|
-
if (w === undefined)
|
|
26056
|
-
continue;
|
|
26057
|
-
if (!INGREDIENTS$1[k])
|
|
26058
|
-
throw new HeaderMixError(`no header ingredient "${k}"`);
|
|
26059
|
-
if (!INGREDIENTS$1[k].includes(w))
|
|
26060
|
-
throw new HeaderMixError(`a header's ${k} cannot be "${w}" (${INGREDIENTS$1[k].join(' · ')})`);
|
|
26061
|
-
mix[k] = w;
|
|
26062
|
-
}
|
|
26063
|
-
return mix;
|
|
26064
|
-
}
|
|
26065
|
-
/** The mix a stored header pattern id stands for (`nav.inline-cta`, `nav.centered-logo`), or null for an unknown id. */
|
|
26066
|
-
function namedHeaderMix(patternId) {
|
|
26067
|
-
const named = H.named[patternId];
|
|
26068
|
-
return named ? headerMix(named) : null;
|
|
26069
|
-
}
|
|
26070
|
-
/** The mix a CL2 layout's `nav.kind` asks for (`bar` when it names none). */
|
|
26071
|
-
function headerMixOfNavKind(kind) {
|
|
26072
|
-
const asked = H.navKinds[kind ?? 'bar'];
|
|
26073
|
-
if (!asked)
|
|
26074
|
-
throw new HeaderMixError(`no nav kind "${kind}"`);
|
|
26075
|
-
return headerMix(asked);
|
|
26076
|
-
}
|
|
26077
|
-
/** The mix the product DRAWS today: every waiting word becomes its built stand-in, and each one is said as a gap. */
|
|
26078
|
-
function drawnHeaderMix(mix) {
|
|
26079
|
-
const drawn = { ...mix };
|
|
26080
|
-
const gaps = [];
|
|
26081
|
-
for (const k of Object.values(HeaderIngredient)) {
|
|
26082
|
-
const wait = WAITS$1[`${k}.${mix[k]}`];
|
|
26083
|
-
if (!wait)
|
|
26084
|
-
continue;
|
|
26085
|
-
gaps.push({ ingredient: k, word: mix[k], phase: wait.phase, drawnAs: wait.drawnAs });
|
|
26086
|
-
drawn[k] = wait.drawnAs;
|
|
26087
|
-
}
|
|
26088
|
-
return { drawn, gaps };
|
|
26089
|
-
}
|
|
26090
|
-
/** The fingerprint's prefix for a header. */
|
|
26091
|
-
const HEADER_TOKEN = 'header';
|
|
26092
|
-
/** A header as the fingerprint sees it (§7): `header:<arrange>/<pages>/<menu>/<ground>/<shape>` — what a visitor takes in
|
|
26093
|
-
* at once, in the contract's order. Two sites with the same token wear the same header. */
|
|
26094
|
-
function headerTokenOf(mix) {
|
|
26095
|
-
return `${HEADER_TOKEN}:${H.fingerprint.map(k => mix[k]).join('/')}`;
|
|
26096
|
-
}
|
|
26097
|
-
/** A header token in words: `header:name-only/menu/drawer/solid/bar` → "name-only · menu · drawer · solid · bar". */
|
|
26098
|
-
const headerTokenWords = (token) => token.replace(`${HEADER_TOKEN}:`, '').split('/').join(' · ');
|
|
26099
|
-
/** Doron's reference headers (§2b), each as a whole mix. */
|
|
26100
|
-
function headerReferences() {
|
|
26101
|
-
return H.references
|
|
26102
|
-
.map(r => ({ id: r.id, after: r.after, added: r.added, mix: headerMix(r.mix) }));
|
|
26103
|
-
}
|
|
26104
|
-
/** The site plan's header as a mix: its `mixes.header` when it has one (HI1), else its `globals.header` pattern read as a
|
|
26105
|
-
* named mix (HI-D4), else the Studio header. */
|
|
26106
|
-
function headerMixOfPlan(plan) {
|
|
26107
|
-
if (plan.mixes?.header?.length)
|
|
26108
|
-
return headerMixFromWords(plan.mixes.header);
|
|
26109
|
-
return namedHeaderMix(plan.globals?.['header'] ?? '') ?? headerMix();
|
|
26110
|
-
}
|
|
26111
|
-
// ── The wire: ONE list of <ingredient>:<word> words (the list and footer wires' encoding) ─────────────────────────
|
|
26112
|
-
/** A mix on the wire: one `<ingredient>:<word>` per ingredient, in the table's order. */
|
|
26113
|
-
function headerMixWords(mix) {
|
|
26114
|
-
return Object.values(HeaderIngredient).map(k => `${k}:${mix[k]}`);
|
|
26115
|
-
}
|
|
26116
|
-
/** Every `<ingredient>:<word>` the wire may carry: only the words the product DRAWS (ingredients.md §3) — a waiting word
|
|
26117
|
-
* is never offered, so the model never chooses what the site would show as something else. */
|
|
26118
|
-
function headerWireWords() {
|
|
26119
|
-
return Object.values(HeaderIngredient).flatMap(k => headerWords(k).filter(w => !WAITS$1[`${k}.${w}`]).map(w => `${k}:${w}`));
|
|
26120
|
-
}
|
|
26121
|
-
/** The words back into a mix: an ingredient not named is the default. Refuses an unknown word and two words for one
|
|
26122
|
-
* ingredient. */
|
|
26123
|
-
function headerMixFromWords(words) {
|
|
26124
|
-
const partial = {};
|
|
26125
|
-
for (const pair of words) {
|
|
26126
|
-
const [k, w] = String(pair).split(':');
|
|
26127
|
-
if (!INGREDIENTS$1[k] || !w)
|
|
26128
|
-
throw new HeaderMixError(`"${pair}" is no header word (<ingredient>:<word>)`);
|
|
26129
|
-
if (partial[k] !== undefined && partial[k] !== w)
|
|
26130
|
-
throw new HeaderMixError(`a header has one ${k} ("${partial[k]}" and "${w}")`);
|
|
26131
|
-
partial[k] = w;
|
|
26132
|
-
}
|
|
26133
|
-
return headerMix(partial);
|
|
26134
|
-
}
|
|
26135
|
-
/** The stored header pattern a mix is exactly (`nav.inline-cta`, `nav.centered-logo`), else null. */
|
|
26136
|
-
function headerPatternIdOf(mix) {
|
|
26137
|
-
const key = JSON.stringify(headerMixWords(mix));
|
|
26138
|
-
return Object.keys(H.named).find(id => JSON.stringify(headerMixWords(namedHeaderMix(id))) === key) ?? null;
|
|
26139
|
-
}
|
|
26140
|
-
// ── The check: any mix, judged against the site and mended (§3, §6 — the rules for the words HI1 draws) ──────────
|
|
26141
|
-
var HeaderRepairCode;
|
|
26142
|
-
(function (HeaderRepairCode) {
|
|
26143
|
-
/** A name-and-menu header has its pages behind the menu. */
|
|
26144
|
-
HeaderRepairCode["NameOnlyInline"] = "name-only-inline";
|
|
26145
|
-
/** The name at the start with the pages behind a menu IS the name-and-menu header. */
|
|
26146
|
-
HeaderRepairCode["SplitMenu"] = "split-menu";
|
|
26147
|
-
/** Pages either side of the name are pages in the bar: behind a menu the name is centred. */
|
|
26148
|
-
HeaderRepairCode["BetweenMenu"] = "between-menu";
|
|
26149
|
-
/** A menu for so few pages is a detour: they go in the bar. */
|
|
26150
|
-
HeaderRepairCode["FewPages"] = "few-pages";
|
|
26151
|
-
/** The pages do not fit beside the name on a laptop: they go behind a menu. */
|
|
26152
|
-
HeaderRepairCode["TooManyPages"] = "too-many-pages";
|
|
26153
|
-
/** The name is too long, or the pages too few, to sit between two halves: the name is centred above them. */
|
|
26154
|
-
HeaderRepairCode["BetweenUnbalanced"] = "between-unbalanced";
|
|
26155
|
-
/** Two actions need two destinations (the contact page and the shop): one button. */
|
|
26156
|
-
HeaderRepairCode["OneDestination"] = "one-destination";
|
|
26157
|
-
/** Another site already wears this header: the nearest free one (`distinctHeader`). */
|
|
26158
|
-
HeaderRepairCode["Worn"] = "worn";
|
|
26159
|
-
})(HeaderRepairCode || (HeaderRepairCode = {}));
|
|
26160
|
-
const RULES = H.rules;
|
|
26161
|
-
/** How a laptop's bar is measured (an estimate on the look's own faces — never a guess at a page's words): the name at
|
|
26162
|
-
* the brand's size, each page at the link's, the gap between them, and a button's padding around its words. */
|
|
26163
|
-
const BRAND_PX = 24;
|
|
26164
|
-
const LINK_PX = 16;
|
|
26165
|
-
const GAP_PX = 24;
|
|
26166
|
-
const BUTTON_PAD_PX = 48;
|
|
26167
|
-
const ACTION_WORDS = 'Get in touch';
|
|
26168
|
-
/** How wide the bar's words stand on a laptop: the pages and the action, and — beside them — the name. */
|
|
26169
|
-
function barWidthPx(mix, ctx) {
|
|
26170
|
-
const link = elementStyleFace(ctx.design, 'link');
|
|
26171
|
-
const pages = ctx.pages.reduce((w, p) => w + textWidthEm(p.name, link) * LINK_PX + GAP_PX, 0);
|
|
26172
|
-
const action = mix.action === HeaderAction.None ? 0 : textWidthEm(ACTION_WORDS, link) * LINK_PX + BUTTON_PAD_PX + GAP_PX;
|
|
26173
|
-
const name = mix.arrange === HeaderArrange.Centred ? 0 : textWidthEm(ctx.name, elementStyleFace(ctx.design, 'h3')) * BRAND_PX + GAP_PX;
|
|
26174
|
-
return pages + action * (mix.action === HeaderAction.Two ? 2 : 1) + name;
|
|
26175
|
-
}
|
|
26176
|
-
const behindMenu = (mix) => mix.pages !== HeaderPages.Inline;
|
|
26177
|
-
/**
|
|
26178
|
-
* The ONE judge of a header mix against the site (§3): what the site cannot carry is mended to the nearest mix that it
|
|
26179
|
-
* can, and each mend is said. Judges the mix as DRAWN (`drawnHeaderMix` first). Never throws on a well-formed mix. Pure.
|
|
26180
|
-
*/
|
|
26181
|
-
function checkHeader(mix, ctx) {
|
|
26182
|
-
const m = { ...mix };
|
|
26183
|
-
const repairs = [];
|
|
26184
|
-
const say = (code, said) => repairs.push({ code, said });
|
|
26185
|
-
const count = ctx.pages.length;
|
|
26186
|
-
if (m.arrange === HeaderArrange.NameOnly && !behindMenu(m)) {
|
|
26187
|
-
m.pages = HeaderPages.Menu;
|
|
26188
|
-
say(HeaderRepairCode.NameOnlyInline, 'a name-and-menu header keeps its pages behind the menu');
|
|
26189
|
-
}
|
|
26190
|
-
if (behindMenu(m) && count < RULES.menuMinLinks) {
|
|
26191
|
-
m.pages = HeaderPages.Inline;
|
|
26192
|
-
if (m.arrange === HeaderArrange.NameOnly)
|
|
26193
|
-
m.arrange = HeaderArrange.Split;
|
|
26194
|
-
say(HeaderRepairCode.FewPages, `a menu for ${count} page${count === 1 ? '' : 's'} is a detour: they stand in the bar`);
|
|
26195
|
-
}
|
|
26196
|
-
if (!behindMenu(m) && barWidthPx(m, ctx) > RULES.inlineRoomPx) {
|
|
26197
|
-
m.pages = HeaderPages.Menu;
|
|
26198
|
-
say(HeaderRepairCode.TooManyPages, `${count} pages do not fit in the bar on a laptop: they go behind the menu`);
|
|
26199
|
-
}
|
|
26200
|
-
if (m.arrange === HeaderArrange.Split && behindMenu(m)) {
|
|
26201
|
-
m.arrange = HeaderArrange.NameOnly;
|
|
26202
|
-
say(HeaderRepairCode.SplitMenu, 'the name at the start with the pages behind a menu is the name-and-menu header');
|
|
26203
|
-
}
|
|
26204
|
-
if (m.arrange === HeaderArrange.Between && behindMenu(m)) {
|
|
26205
|
-
m.arrange = HeaderArrange.Centred;
|
|
26206
|
-
say(HeaderRepairCode.BetweenMenu, 'with the pages behind a menu the name is centred');
|
|
26207
|
-
}
|
|
26208
|
-
if (m.arrange === HeaderArrange.Between) {
|
|
26209
|
-
const long = textWidthEm(ctx.name, elementStyleFace(ctx.design, 'h3')) > RULES.betweenNameEm;
|
|
26210
|
-
if (long || count < RULES.betweenMinPages) {
|
|
26211
|
-
m.arrange = HeaderArrange.Centred;
|
|
26212
|
-
say(HeaderRepairCode.BetweenUnbalanced, long ? `"${ctx.name}" is too long to sit between the pages: it is centred above them`
|
|
26213
|
-
: 'too few pages to share either side of the name: it is centred above them');
|
|
26214
|
-
}
|
|
26215
|
-
}
|
|
26216
|
-
if (m.action === HeaderAction.Two && !ctx.shop) {
|
|
26217
|
-
m.action = HeaderAction.Button;
|
|
26218
|
-
say(HeaderRepairCode.OneDestination, 'two actions need two places to go (the contact page and the shop): one button');
|
|
26219
|
-
}
|
|
26220
|
-
return { mix: m, repairs };
|
|
26221
|
-
}
|
|
26222
|
-
// ── The recipe: the mix arranged from the contract's parts (§4 — ONE recipe for the palette and the generator) ────
|
|
26223
|
-
const clone$3 = (v) => JSON.parse(JSON.stringify(v));
|
|
26224
|
-
const part$1 = (id) => clone$3(PARTS[id]);
|
|
26225
|
-
const laid = (node, lay) => ({ ...node, lay: { ...(node.lay ?? {}), ...lay } });
|
|
26226
|
-
const GAP = 'var(--iox-space-gap)';
|
|
26227
|
-
/** A side of a centred name: half the room each, so the name sits in the true middle (never nudged by what is beside it). */
|
|
26228
|
-
const cell = (side, c) => ({
|
|
26229
|
-
t: 'Container', es: 'box', role: NavRole.Cell, lay: { display: 'flex', flexWrap: 'nowrap', alignItems: 'center', gap: GAP, flexGrow: '1', flexShrink: '1', flexBasis: '0px', minWidth: '0px', justifyContent: side === 'start' ? 'flex-start' : 'flex-end' }, c,
|
|
26230
|
-
});
|
|
26231
|
-
/** A page as a plain link (a pinned page; a half of the pages either side of the name). */
|
|
26232
|
-
const pageLink = (p, role) => ({ t: 'Link', es: 'link', text: p.name, href: p.route, ...(role ? { role } : {}) });
|
|
26233
|
-
/** What a header asks for, in the order it shows them. */
|
|
26234
|
-
function actionsOf$1(mix, ctx) {
|
|
26235
|
-
switch (mix.action) {
|
|
26236
|
-
case HeaderAction.Button: return [part$1('button')];
|
|
26237
|
-
case HeaderAction.Link: return [part$1('quiet')];
|
|
26238
|
-
case HeaderAction.Two: return ctx.shop ? [part$1('button'), { ...part$1('outlined'), href: ctx.shop }] : [part$1('button')];
|
|
26239
|
-
default: return [];
|
|
26240
|
-
}
|
|
26241
|
-
}
|
|
26242
|
-
/** The page(s) a menu header keeps in the bar (HI-D16): a selling site's shop, else its first page. */
|
|
26243
|
-
function pinnedPagesOf(ctx) {
|
|
26244
|
-
const shop = ctx.shop ? ctx.pages.find(p => p.route === ctx.shop) : undefined;
|
|
26245
|
-
return (shop ? [shop, ...ctx.pages.filter(p => p !== shop)] : [...ctx.pages]).slice(0, RULES.pinnedMax);
|
|
26246
|
-
}
|
|
26247
|
-
/** A header's pieces once the menu takes its pages: the pinned pages and the actions, each kept in the bar. */
|
|
26248
|
-
function keptInBar(mix, ctx) {
|
|
26249
|
-
const pins = mix.pages === HeaderPages.MenuPinned ? pinnedPagesOf(ctx) : [];
|
|
26250
|
-
const acts = actionsOf$1(mix, ctx);
|
|
26251
|
-
const pinned = pins.length ? { ...part$1('pinned'), c: pins.map(p => pageLink(p)) } : null;
|
|
26252
|
-
const actions = acts.length ? { ...part$1('links'), role: NavRole.Actions, c: acts } : null;
|
|
26253
|
-
return { pinned, actions };
|
|
26254
|
-
}
|
|
26255
|
-
/** The root's children for the mix (the menu button is the phone shape's — `planNavShape` places it). */
|
|
26256
|
-
function bodyOf$1(mix, ctx) {
|
|
26257
|
-
const brand = part$1('brand');
|
|
26258
|
-
const links = (more, lay = {}) => ({ ...laid(part$1('links'), lay), c: [part$1('link'), ...more] });
|
|
26259
|
-
const flex = { display: 'flex', flexWrap: 'nowrap', justifyContent: 'space-between', alignItems: 'center', gap: GAP };
|
|
26260
|
-
if (!behindMenu(mix)) {
|
|
26261
|
-
switch (mix.arrange) {
|
|
26262
|
-
case HeaderArrange.Centred:
|
|
26263
|
-
return { lay: { display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '14px' }, resp: { mobile: { flexDirection: 'row', justifyContent: 'space-between' } },
|
|
26264
|
-
c: [brand, links(actionsOf$1(mix, ctx), { justifyContent: 'center' })] };
|
|
26265
|
-
case HeaderArrange.Between: {
|
|
26266
|
-
const half = Math.ceil(ctx.pages.length / 2);
|
|
26267
|
-
const row = (pages, more) => ({ ...part$1('links'), c: [...pages.map(p => pageLink(p, NavRole.Link)), ...more] });
|
|
26268
|
-
return { lay: flex, c: [cell('start', [row(ctx.pages.slice(0, half), [])]), brand, cell('end', [row(ctx.pages.slice(half), actionsOf$1(mix, ctx))])] };
|
|
26269
|
-
}
|
|
26270
|
-
default:
|
|
26271
|
-
return { lay: { display: 'flex', flexWrap: 'wrap', justifyContent: 'space-between', alignItems: 'center', gap: GAP }, c: [brand, links(actionsOf$1(mix, ctx))] };
|
|
26272
|
-
}
|
|
26273
|
-
}
|
|
26274
|
-
// Behind a menu: the links row stays (hidden at every width — the drawer lists its pages, and an author who brings the
|
|
26275
|
-
// pages back gets the row back); the pinned pages and the actions stay in the bar.
|
|
26276
|
-
const { pinned, actions } = keptInBar(mix, ctx);
|
|
26277
|
-
const kept = [pinned, actions].filter((n) => !!n);
|
|
26278
|
-
const start = mix.menuSide === MenuSide.Start;
|
|
26279
|
-
if (mix.arrange === HeaderArrange.Centred) {
|
|
26280
|
-
// The name in the middle; the menu button's side holds the pinned pages, the other side the actions.
|
|
26281
|
-
const menuSide = pinned ? [pinned] : [];
|
|
26282
|
-
const other = actions ? [actions] : [];
|
|
26283
|
-
return { lay: flex, c: [cell('start', start ? menuSide : other), brand, links([]), cell('end', start ? other : menuSide)] };
|
|
26284
|
-
}
|
|
26285
|
-
// The name and the menu. At the end: the name at the start, what the bar keeps by the button. At the start (Vonder):
|
|
26286
|
-
// the button and the pinned page at the start, the name in the middle, the actions at the end — two equal side cells.
|
|
26287
|
-
return { lay: flex, c: start ? [cell('start', pinned ? [pinned] : []), brand, links([]), cell('end', actions ? [actions] : [])] : [brand, links([]), cell('end', kept)] };
|
|
26288
|
-
}
|
|
26289
|
-
/** The menu's look for a mix (HI2a): with its pages behind the menu, the `menu` form at every width and the `phone`
|
|
26290
|
-
* ingredient's form on a phone; with its pages in the bar, the menu exists on a phone only, so its form IS the phone's
|
|
26291
|
-
* (the drawer, or the full screen). How it opens, its button and its hover come from their own ingredients. */
|
|
26292
|
-
function menuLookOf(mix) {
|
|
26293
|
-
const phoneFull = mix.phone === 'full';
|
|
26294
|
-
const form = behindMenu(mix) ? menuFormOf(mix.menu) : phoneFull ? MenuForm.Full : MenuForm.Drawer;
|
|
26295
|
-
return {
|
|
26296
|
-
form,
|
|
26297
|
-
reveal: menuRevealOf(mix.reveal),
|
|
26298
|
-
button: menuButtonOf(mix.button),
|
|
26299
|
-
hover: menuHoverOf(mix.menuHover),
|
|
26300
|
-
phone: phoneFull && form !== MenuForm.Full ? MenuPhoneForm.Full : MenuPhoneForm.Drawer,
|
|
26301
|
-
};
|
|
26302
|
-
}
|
|
26303
|
-
/** The phone ingredient as the phone menu's shape (`full` is the drawer's Dialog, dressed as the full screen — HI2a). */
|
|
26304
|
-
const PHONE_SHAPE = { drawer: NavShape.Drawer, bar: NavShape.Bar, both: NavShape.Both, full: NavShape.Drawer };
|
|
26305
|
-
/** A header mix as a pattern: what the composer stamps as the site's header (global, before the page). A mix that IS a
|
|
26306
|
-
* stored header (`nav.inline-cta`, `nav.centered-logo`) composes byte-identical to it (R-H4). Pure. */
|
|
26307
|
-
function headerRecipe(mix, ctx) {
|
|
26308
|
-
const everyWidth = behindMenu(mix);
|
|
26309
|
-
const menuSide = mix.menuSide === MenuSide.Start ? MenuSide.Start : MenuSide.End;
|
|
26310
|
-
const stored = SITE_PATTERNS[headerPatternIdOf(mix) ?? ''];
|
|
26311
|
-
const { lay, resp, c } = bodyOf$1(mix, ctx);
|
|
26312
|
-
const node = { ...part$1('root'), lay, ...(resp ? { resp } : {}), c };
|
|
26313
|
-
const pattern = {
|
|
26314
|
-
family: 'nav',
|
|
26315
|
-
label: stored?.label ?? `Header — ${headerTokenWords(headerTokenOf(mix))}`,
|
|
26316
|
-
intent: stored?.intent ?? [headerMeaning(HeaderIngredient.Arrange, mix.arrange), headerMeaning(HeaderIngredient.Pages, mix.pages), headerMeaning(HeaderIngredient.Action, mix.action)].join('; '),
|
|
26317
|
-
global: PatternGlobalPosition.Before,
|
|
26318
|
-
// A menu at every width is the drawer's (only a drawer shows at every width — planNavShape).
|
|
26319
|
-
phoneMenu: everyWidth ? NavShape.Drawer : PHONE_SHAPE[mix.phone] ?? NavShape.Drawer,
|
|
26320
|
-
header: { behaviour: mix.scroll, edge: mix.edge },
|
|
26321
|
-
node,
|
|
26322
|
-
};
|
|
26323
|
-
return { mix, pattern, everyWidth, menuSide, menu: menuLookOf(mix) };
|
|
26324
|
-
}
|
|
26325
|
-
// ── No sameness: another site's header is never worn again (§7, R-H2) ──────────────────────────────────────────────
|
|
26326
|
-
/** The ingredients `distinctHeader` may change, in the order it tries them: how the pages are reached before where the
|
|
26327
|
-
* name sits (the model chose the arrangement; the fingerprint sees both). */
|
|
26328
|
-
const MEND_ORDER = [
|
|
26329
|
-
HeaderIngredient.Pages, HeaderIngredient.Arrange,
|
|
26330
|
-
// HB-D6: how the menu opens and its button are in the fingerprint — the least visible change of all, tried after the
|
|
26331
|
-
// two the model chose with the site in mind.
|
|
26332
|
-
HeaderIngredient.Reveal, HeaderIngredient.Button,
|
|
26333
|
-
];
|
|
26334
|
-
/** The words of an ingredient the product draws. */
|
|
26335
|
-
const drawnWords = (k) => headerWords(k).filter(w => !WAITS$1[`${k}.${w}`]);
|
|
26336
|
-
/**
|
|
26337
|
-
* A header no other site wears: the mix when its token is free, else the nearest mix whose token is — one changed
|
|
26338
|
-
* ingredient before two, in `MEND_ORDER` — that the site can carry as it is (`checkHeader` mends nothing), and said. When
|
|
26339
|
-
* every header is worn, the mix as it is. Pure, deterministic.
|
|
26340
|
-
*/
|
|
26341
|
-
function distinctHeader(mix, taken, ctx) {
|
|
26342
|
-
const used = new Set(taken);
|
|
26343
|
-
if (!used.has(headerTokenOf(mix)))
|
|
26344
|
-
return { mix, repairs: [] };
|
|
26345
|
-
const tries = [];
|
|
26346
|
-
for (const k of MEND_ORDER)
|
|
26347
|
-
for (const w of drawnWords(k))
|
|
26348
|
-
tries.push({ ...mix, [k]: w });
|
|
26349
|
-
for (const w of drawnWords(HeaderIngredient.Pages))
|
|
26350
|
-
for (const a of drawnWords(HeaderIngredient.Arrange))
|
|
26351
|
-
tries.push({ ...mix, pages: w, arrange: a });
|
|
26352
|
-
for (const t of tries) {
|
|
26353
|
-
const checked = checkHeader(t, ctx);
|
|
26354
|
-
if (checked.repairs.length || used.has(headerTokenOf(checked.mix)))
|
|
26355
|
-
continue;
|
|
26356
|
-
return { mix: checked.mix, repairs: [{ code: HeaderRepairCode.Worn, said: `another site wears ${headerTokenWords(headerTokenOf(mix))}: this one is ${headerTokenWords(headerTokenOf(checked.mix))}` }] };
|
|
26357
|
-
}
|
|
26358
|
-
return { mix, repairs: [] };
|
|
26359
|
-
}
|
|
26360
|
-
/** The shop's page of a selling plan: the page in the navigation that lists the store's products (else null). */
|
|
26361
|
-
function shopPageOfPlan(plan) {
|
|
26362
|
-
if (!planSells(plan))
|
|
26363
|
-
return null;
|
|
26364
|
-
const list = shopSourceAliases(plan)[ShopSourceRole.List];
|
|
26365
|
-
return plan.pages.find(p => p.inNav && list && (p.sections ?? []).some(s => s.binding === list))?.route ?? null;
|
|
26366
|
-
}
|
|
26367
|
-
/** The header context of a plan: its name, its look, its pages in the navigation and its shop page (found in the plan
|
|
26368
|
-
* when not given). */
|
|
26369
|
-
function headerContextOfPlan(plan, shop) {
|
|
26370
|
-
return {
|
|
26371
|
-
name: plan.business.name,
|
|
26372
|
-
design: resolveDesignChoices(JSON.parse(JSON.stringify(plan.design ?? {}))),
|
|
26373
|
-
pages: plan.pages.filter(p => p.inNav && !p.isHome && p.route !== '/').map(p => ({ name: p.name, route: p.route })),
|
|
26374
|
-
shop: shop === undefined ? shopPageOfPlan(plan) : shop,
|
|
26375
|
-
};
|
|
26376
|
-
}
|
|
26377
|
-
/**
|
|
26378
|
-
* The header a plan's site WEARS (ONE rule for the composer, the fingerprint and the distinct check): its mix as the
|
|
26379
|
-
* product draws it, judged against the site when the mix was chosen (`mixes.header`) — a stored header pattern (no mix)
|
|
26380
|
-
* is worn as it always was (R-H4). With what was drawn as something else or mended, in words. Pure.
|
|
26381
|
-
*/
|
|
26382
|
-
function wornHeaderOfPlan(plan) {
|
|
26383
|
-
const context = headerContextOfPlan(plan);
|
|
26384
|
-
const { drawn, gaps } = drawnHeaderMix(headerMixOfPlan(plan));
|
|
26385
|
-
const checked = plan.mixes?.header?.length ? checkHeader(drawn, context) : { mix: drawn, repairs: [] };
|
|
26386
|
-
const said = [...gaps.map(g => `the header's ${g.ingredient} "${g.word}" is drawn as "${g.drawnAs}" until ${g.phase}`), ...checked.repairs.map(r => r.said)];
|
|
26387
|
-
return { mix: checked.mix, context, said };
|
|
26388
|
-
}
|
|
26389
|
-
/** A plan's header made distinct (R-H2): `distinctHeader` over the plan's own mix as drawn and checked; the plan unchanged
|
|
26390
|
-
* when nothing was mended, else with the new mix in `mixes.header`. Pure. */
|
|
26391
|
-
function withDistinctHeader(plan, taken) {
|
|
26392
|
-
const worn = wornHeaderOfPlan(plan);
|
|
26393
|
-
const done = distinctHeader(worn.mix, taken, worn.context);
|
|
26394
|
-
if (!done.repairs.length)
|
|
26395
|
-
return { plan, repairs: [] };
|
|
26396
|
-
return { plan: { ...plan, mixes: { ...(plan.mixes ?? {}), header: headerMixWords(done.mix) } }, repairs: done.repairs };
|
|
26397
|
-
}
|
|
26398
|
-
|
|
26399
25972
|
/**
|
|
26400
25973
|
* THE OPENING (award-ingredients-plan §3.3, AW8; board award-opening, OB-1…OB-7): a page's first screen is a MIX — its
|
|
26401
25974
|
* frame, what fills it, how its words sit, small extras and its own motion — never one hero pattern. Every word, its
|
|
@@ -26516,28 +26089,28 @@ var OpeningRole;
|
|
|
26516
26089
|
})(OpeningRole || (OpeningRole = {}));
|
|
26517
26090
|
/** The props key an opening root stores its mix under (OB-5, as `HeaderTrait.Mix`). */
|
|
26518
26091
|
const OPENING_MIX_PROP = 'openingMix';
|
|
26519
|
-
const HEBREW$
|
|
26520
|
-
const INGREDIENTS = O.ingredients;
|
|
26092
|
+
const HEBREW$2 = 'he';
|
|
26093
|
+
const INGREDIENTS$1 = O.ingredients;
|
|
26521
26094
|
const MANY$1 = new Set(O.many);
|
|
26522
|
-
const WAITS = O.waits;
|
|
26095
|
+
const WAITS$1 = O.waits;
|
|
26523
26096
|
const ORDER = Object.values(OpeningIngredient);
|
|
26524
26097
|
const isMany = (k) => MANY$1.has(k);
|
|
26525
26098
|
/** The words an ingredient may take, in the table's order. */
|
|
26526
26099
|
function openingWords$1(ingredient) {
|
|
26527
|
-
return INGREDIENTS[ingredient] ?? [];
|
|
26100
|
+
return INGREDIENTS$1[ingredient] ?? [];
|
|
26528
26101
|
}
|
|
26529
26102
|
/** What a word means — in Hebrew when the builder speaks it. */
|
|
26530
26103
|
function openingMeaning(ingredient, word, locale) {
|
|
26531
26104
|
const key = `${ingredient}.${word}`;
|
|
26532
|
-
return (locale === HEBREW$
|
|
26105
|
+
return (locale === HEBREW$2 ? O.meaningsHe?.[key] : undefined) ?? O.meanings[key] ?? word;
|
|
26533
26106
|
}
|
|
26534
26107
|
/** Whether the product draws a word today (OB-7: a waiting word is listed with its phase, drawn as its stand-in). */
|
|
26535
26108
|
function openingWordDrawn(ingredient, word) {
|
|
26536
|
-
return openingWords$1(ingredient).includes(word) && !WAITS[`${ingredient}.${word}`];
|
|
26109
|
+
return openingWords$1(ingredient).includes(word) && !WAITS$1[`${ingredient}.${word}`];
|
|
26537
26110
|
}
|
|
26538
26111
|
/** The phase a waiting word waits for, or null. */
|
|
26539
26112
|
function openingWordWaits(ingredient, word) {
|
|
26540
|
-
return WAITS[`${ingredient}.${word}`]?.phase ?? null;
|
|
26113
|
+
return WAITS$1[`${ingredient}.${word}`]?.phase ?? null;
|
|
26541
26114
|
}
|
|
26542
26115
|
/** AW-D23: a word every plan wears (`all`) or one the award tier alone is offered (`pro`). */
|
|
26543
26116
|
function openingWordTier(ingredient, word) {
|
|
@@ -26560,12 +26133,12 @@ function openingMix(partial = {}) {
|
|
|
26560
26133
|
for (const [k, v] of Object.entries(partial)) {
|
|
26561
26134
|
if (v === undefined)
|
|
26562
26135
|
continue;
|
|
26563
|
-
if (!INGREDIENTS[k])
|
|
26136
|
+
if (!INGREDIENTS$1[k])
|
|
26564
26137
|
throw new OpeningMixError(`no opening ingredient "${k}"`);
|
|
26565
26138
|
const words = listOf(v);
|
|
26566
26139
|
for (const w of words)
|
|
26567
|
-
if (!INGREDIENTS[k].includes(w))
|
|
26568
|
-
throw new OpeningMixError(`an opening's ${k} cannot be "${w}" (${INGREDIENTS[k].join(' · ')})`);
|
|
26140
|
+
if (!INGREDIENTS$1[k].includes(w))
|
|
26141
|
+
throw new OpeningMixError(`an opening's ${k} cannot be "${w}" (${INGREDIENTS$1[k].join(' · ')})`);
|
|
26569
26142
|
if (k === OpeningIngredient.Ground && words.length > 1)
|
|
26570
26143
|
throw new OpeningMixError(`an opening stands on one ground ("${words.join('" and "')}")`);
|
|
26571
26144
|
if (isMany(k))
|
|
@@ -26593,7 +26166,7 @@ function openingMixFromWords(words) {
|
|
|
26593
26166
|
const partial = {};
|
|
26594
26167
|
for (const pair of words) {
|
|
26595
26168
|
const [k, w] = String(pair).split(':');
|
|
26596
|
-
if (!INGREDIENTS[k] || !w)
|
|
26169
|
+
if (!INGREDIENTS$1[k] || !w)
|
|
26597
26170
|
throw new OpeningMixError(`"${pair}" is no opening word (<ingredient>:<word>)`);
|
|
26598
26171
|
const got = (partial[k] ??= []);
|
|
26599
26172
|
if (!isMany(k) && got.length && got[0] !== w)
|
|
@@ -26727,7 +26300,7 @@ function openingPatternIdOf(mix) {
|
|
|
26727
26300
|
}
|
|
26728
26301
|
/** The gallery, in the contract's order (the defaults first), named in `locale` (English unless Hebrew). */
|
|
26729
26302
|
function openingGallery(locale) {
|
|
26730
|
-
const he = locale === HEBREW$
|
|
26303
|
+
const he = locale === HEBREW$2;
|
|
26731
26304
|
return (O.gallery ?? []).map(g => ({ id: g.id, name: he ? g.nameHe : g.name, words: he ? g.wordsHe : g.words, mix: openingMix(g.mix) }));
|
|
26732
26305
|
}
|
|
26733
26306
|
/** The gallery mix a mix is exactly, or null. */
|
|
@@ -26746,7 +26319,7 @@ function drawnOpeningMix(mix) {
|
|
|
26746
26319
|
for (const k of ORDER) {
|
|
26747
26320
|
if (isMany(k)) {
|
|
26748
26321
|
drawn[k] = mix[k].filter(w => {
|
|
26749
|
-
const wait = WAITS[`${k}.${w}`];
|
|
26322
|
+
const wait = WAITS$1[`${k}.${w}`];
|
|
26750
26323
|
if (wait)
|
|
26751
26324
|
gaps.push({ ingredient: k, word: w, phase: wait.phase, drawnAs: wait.drawnAs });
|
|
26752
26325
|
return !wait;
|
|
@@ -26754,7 +26327,7 @@ function drawnOpeningMix(mix) {
|
|
|
26754
26327
|
continue;
|
|
26755
26328
|
}
|
|
26756
26329
|
const word = mix[k];
|
|
26757
|
-
const wait = WAITS[`${k}.${word}`];
|
|
26330
|
+
const wait = WAITS$1[`${k}.${word}`];
|
|
26758
26331
|
if (!wait)
|
|
26759
26332
|
continue;
|
|
26760
26333
|
gaps.push({ ingredient: k, word, phase: wait.phase, drawnAs: wait.drawnAs });
|
|
@@ -27232,7 +26805,7 @@ function extrasNodes(mix) {
|
|
|
27232
26805
|
return out;
|
|
27233
26806
|
}
|
|
27234
26807
|
/** The words and what sits beside them: a working form first stands beside the words (the words above it on a phone). */
|
|
27235
|
-
function bodyOf(mix, ctx) {
|
|
26808
|
+
function bodyOf$1(mix, ctx) {
|
|
27236
26809
|
const words = wordsNodes(mix, ctx);
|
|
27237
26810
|
const cutout = mix.words === OpeningWords.Behind
|
|
27238
26811
|
? [picture(OpeningRole.Cutout, { position: 'absolute', bottom: '0px', left: '20%', width: '60%', height: '86%', zIndex: '2', aspectRatio: 'auto', objectFit: 'contain', borderRadius: '0px' })]
|
|
@@ -27249,7 +26822,7 @@ function bodyOf(mix, ctx) {
|
|
|
27249
26822
|
/** The opening mix as a pattern — the page's first section. Check it first (`checkOpening` on the drawn mix). Pure. */
|
|
27250
26823
|
function openingRecipe(mix, ctx) {
|
|
27251
26824
|
const { drawn } = drawnOpeningMix(mix);
|
|
27252
|
-
const frame = frameNode(drawn, [...mediaNodes(drawn), ...bodyOf(drawn, ctx), ...extrasNodes(drawn)]);
|
|
26825
|
+
const frame = frameNode(drawn, [...mediaNodes(drawn), ...bodyOf$1(drawn, ctx), ...extrasNodes(drawn)]);
|
|
27253
26826
|
const node = { t: 'Section', es: 'section', role: OpeningRole.Root, lay: { position: 'relative', padding: '0px', overflow: 'hidden' }, c: [frame] };
|
|
27254
26827
|
const words = [openingMeaning(OpeningIngredient.Frame, drawn.frame), openingMeaning(OpeningIngredient.Media, drawn.media), openingMeaning(OpeningIngredient.Words, drawn.words)];
|
|
27255
26828
|
return {
|
|
@@ -27258,6 +26831,569 @@ function openingRecipe(mix, ctx) {
|
|
|
27258
26831
|
};
|
|
27259
26832
|
}
|
|
27260
26833
|
|
|
26834
|
+
/**
|
|
26835
|
+
* HEADER INGREDIENTS (header-ingredients-plan.md, HI0): a site's header is a MIX — one word per ingredient — never a
|
|
26836
|
+
* header pattern. Every word, its meaning, whether the product draws it yet, the named mixes stored plans use, what a CL2
|
|
26837
|
+
* `nav.kind` asks for, the fingerprint and Doron's references live in ONE table, the contract's `site.layout.header`
|
|
26838
|
+
* (layout.mjs `HEADER`). This module only reads it: adding an option is a row there, not a change here
|
|
26839
|
+
* (architecture/ai/ingredients.md). Pure.
|
|
26840
|
+
*/
|
|
26841
|
+
const H = SPEC_SITE_LAYOUT.header;
|
|
26842
|
+
const PARTS = SPEC_SITE_HEADER_PARTS;
|
|
26843
|
+
/** The ingredients, by the contract's keys (held equal to it by header-mix.spec). */
|
|
26844
|
+
var HeaderIngredient;
|
|
26845
|
+
(function (HeaderIngredient) {
|
|
26846
|
+
HeaderIngredient["Arrange"] = "arrange";
|
|
26847
|
+
HeaderIngredient["MenuSide"] = "menuSide";
|
|
26848
|
+
HeaderIngredient["Pages"] = "pages";
|
|
26849
|
+
HeaderIngredient["Menu"] = "menu";
|
|
26850
|
+
HeaderIngredient["MenuShows"] = "menuShows";
|
|
26851
|
+
HeaderIngredient["Action"] = "action";
|
|
26852
|
+
HeaderIngredient["Ground"] = "ground";
|
|
26853
|
+
HeaderIngredient["Shape"] = "shape";
|
|
26854
|
+
HeaderIngredient["Brand"] = "brand";
|
|
26855
|
+
HeaderIngredient["Scroll"] = "scroll";
|
|
26856
|
+
HeaderIngredient["Edge"] = "edge";
|
|
26857
|
+
HeaderIngredient["Phone"] = "phone";
|
|
26858
|
+
/** HB-D1 (HI2a): how the menu opens. */
|
|
26859
|
+
HeaderIngredient["Reveal"] = "reveal";
|
|
26860
|
+
/** HB-D1 (HI2a): the button that opens it. */
|
|
26861
|
+
HeaderIngredient["Button"] = "button";
|
|
26862
|
+
/** HB-D1 (HI2a): what the mouse does in it. */
|
|
26863
|
+
HeaderIngredient["MenuHover"] = "menuHover";
|
|
26864
|
+
/** HB-D1 (HI3): what sits above the bar. */
|
|
26865
|
+
HeaderIngredient["Above"] = "above";
|
|
26866
|
+
/** HB-D1 (HI3 / HI6): what more sits in the bar. */
|
|
26867
|
+
HeaderIngredient["InBar"] = "inBar";
|
|
26868
|
+
/** AW6: whose ground the header's ink follows — the opening's, or every section's as it passes under the bar. */
|
|
26869
|
+
HeaderIngredient["Ink"] = "ink";
|
|
26870
|
+
})(HeaderIngredient || (HeaderIngredient = {}));
|
|
26871
|
+
var HeaderArrange;
|
|
26872
|
+
(function (HeaderArrange) {
|
|
26873
|
+
HeaderArrange["Split"] = "split";
|
|
26874
|
+
HeaderArrange["Centred"] = "centred";
|
|
26875
|
+
HeaderArrange["Between"] = "between";
|
|
26876
|
+
HeaderArrange["NameOnly"] = "name-only";
|
|
26877
|
+
})(HeaderArrange || (HeaderArrange = {}));
|
|
26878
|
+
var HeaderPages;
|
|
26879
|
+
(function (HeaderPages) {
|
|
26880
|
+
HeaderPages["Inline"] = "inline";
|
|
26881
|
+
HeaderPages["Menu"] = "menu";
|
|
26882
|
+
HeaderPages["MenuPinned"] = "menu-pinned";
|
|
26883
|
+
})(HeaderPages || (HeaderPages = {}));
|
|
26884
|
+
var HeaderAction;
|
|
26885
|
+
(function (HeaderAction) {
|
|
26886
|
+
HeaderAction["None"] = "none";
|
|
26887
|
+
HeaderAction["Button"] = "button";
|
|
26888
|
+
HeaderAction["Link"] = "link";
|
|
26889
|
+
HeaderAction["Two"] = "two";
|
|
26890
|
+
})(HeaderAction || (HeaderAction = {}));
|
|
26891
|
+
class HeaderMixError extends Error {
|
|
26892
|
+
}
|
|
26893
|
+
/** The header pattern a plan names when it names none the table knows (the Studio header). */
|
|
26894
|
+
const DEFAULT_HEADER_PATTERN = 'nav.inline-cta';
|
|
26895
|
+
const INGREDIENTS = H.ingredients;
|
|
26896
|
+
const WAITS = H.waits;
|
|
26897
|
+
const MEANINGS = H.meanings;
|
|
26898
|
+
const MEANINGS_HE = (H.meaningsHe ?? {});
|
|
26899
|
+
const HEBREW$1 = 'he';
|
|
26900
|
+
/** The words an ingredient may take. */
|
|
26901
|
+
function headerWords(ingredient) {
|
|
26902
|
+
return INGREDIENTS[ingredient] ?? [];
|
|
26903
|
+
}
|
|
26904
|
+
/** What a word means, as the brief and the builder say it — in Hebrew when the builder speaks it (HI1b, board 4d). */
|
|
26905
|
+
function headerMeaning(ingredient, word, locale) {
|
|
26906
|
+
const key = `${ingredient}.${word}`;
|
|
26907
|
+
return (locale === HEBREW$1 ? MEANINGS_HE[key] : undefined) ?? MEANINGS[key] ?? word;
|
|
26908
|
+
}
|
|
26909
|
+
/** Whether the product draws a word today (a waiting word is never offered — HB-D9). */
|
|
26910
|
+
function headerWordDrawn(ingredient, word) {
|
|
26911
|
+
return headerWords(ingredient).includes(word) && !WAITS[`${ingredient}.${word}`];
|
|
26912
|
+
}
|
|
26913
|
+
const GALLERY = (H.gallery ?? []);
|
|
26914
|
+
/** The gallery, in the contract's order (Studio — the defaults — first), named in `locale` (English unless Hebrew). */
|
|
26915
|
+
function headerGallery(locale) {
|
|
26916
|
+
const he = locale === HEBREW$1;
|
|
26917
|
+
return GALLERY.map(g => ({ id: g.id, name: he ? g.nameHe : g.name, words: he ? g.wordsHe : g.words, mix: headerMix(g.mix) }));
|
|
26918
|
+
}
|
|
26919
|
+
/** The gallery mix a mix is exactly, or null. */
|
|
26920
|
+
function headerGalleryIdOf(mix) {
|
|
26921
|
+
const key = JSON.stringify(headerMixWords(mix));
|
|
26922
|
+
return GALLERY.find(g => JSON.stringify(headerMixWords(headerMix(g.mix))) === key)?.id ?? null;
|
|
26923
|
+
}
|
|
26924
|
+
// ── The mix a header stores (HI1b, HS-5) ───────────────────────────────────────────────────────────────────────────
|
|
26925
|
+
/** A mix as the header root stores it: its `<ingredient>:<word>` words, space-separated, in the table's order. */
|
|
26926
|
+
function headerMixValue(mix) {
|
|
26927
|
+
return headerMixWords(mix).join(' ');
|
|
26928
|
+
}
|
|
26929
|
+
/** Writes the mix on a header root (its props). */
|
|
26930
|
+
function stampHeaderMix(root, mix) {
|
|
26931
|
+
root.props = { ...root.props, [HeaderTrait.Mix]: headerMixValue(mix) };
|
|
26932
|
+
}
|
|
26933
|
+
/** The mix a header root stores, or null — none stored, or words the table no longer knows (read as unstamped). */
|
|
26934
|
+
function storedHeaderMix(root) {
|
|
26935
|
+
const value = root?.props?.[HeaderTrait.Mix];
|
|
26936
|
+
if (typeof value !== 'string' || !value.trim())
|
|
26937
|
+
return null;
|
|
26938
|
+
try {
|
|
26939
|
+
return headerMixFromWords(value.trim().split(/\s+/));
|
|
26940
|
+
}
|
|
26941
|
+
catch {
|
|
26942
|
+
return null;
|
|
26943
|
+
}
|
|
26944
|
+
}
|
|
26945
|
+
/** A whole mix from part of one: what is not named is the default (the Studio header). Refuses a word the table lacks. */
|
|
26946
|
+
function headerMix(partial = {}) {
|
|
26947
|
+
const mix = { ...H.defaults };
|
|
26948
|
+
for (const [k, w] of Object.entries(partial)) {
|
|
26949
|
+
if (w === undefined)
|
|
26950
|
+
continue;
|
|
26951
|
+
if (!INGREDIENTS[k])
|
|
26952
|
+
throw new HeaderMixError(`no header ingredient "${k}"`);
|
|
26953
|
+
if (!INGREDIENTS[k].includes(w))
|
|
26954
|
+
throw new HeaderMixError(`a header's ${k} cannot be "${w}" (${INGREDIENTS[k].join(' · ')})`);
|
|
26955
|
+
mix[k] = w;
|
|
26956
|
+
}
|
|
26957
|
+
return mix;
|
|
26958
|
+
}
|
|
26959
|
+
/** The mix a stored header pattern id stands for (`nav.inline-cta`, `nav.centered-logo`), or null for an unknown id. */
|
|
26960
|
+
function namedHeaderMix(patternId) {
|
|
26961
|
+
const named = H.named[patternId];
|
|
26962
|
+
return named ? headerMix(named) : null;
|
|
26963
|
+
}
|
|
26964
|
+
/** The mix a CL2 layout's `nav.kind` asks for (`bar` when it names none). */
|
|
26965
|
+
function headerMixOfNavKind(kind) {
|
|
26966
|
+
const asked = H.navKinds[kind ?? 'bar'];
|
|
26967
|
+
if (!asked)
|
|
26968
|
+
throw new HeaderMixError(`no nav kind "${kind}"`);
|
|
26969
|
+
return headerMix(asked);
|
|
26970
|
+
}
|
|
26971
|
+
/** The mix the product DRAWS today: every waiting word becomes its built stand-in, and each one is said as a gap. */
|
|
26972
|
+
function drawnHeaderMix(mix) {
|
|
26973
|
+
const drawn = { ...mix };
|
|
26974
|
+
const gaps = [];
|
|
26975
|
+
for (const k of Object.values(HeaderIngredient)) {
|
|
26976
|
+
const wait = WAITS[`${k}.${mix[k]}`];
|
|
26977
|
+
if (!wait)
|
|
26978
|
+
continue;
|
|
26979
|
+
gaps.push({ ingredient: k, word: mix[k], phase: wait.phase, drawnAs: wait.drawnAs });
|
|
26980
|
+
drawn[k] = wait.drawnAs;
|
|
26981
|
+
}
|
|
26982
|
+
return { drawn, gaps };
|
|
26983
|
+
}
|
|
26984
|
+
/** The fingerprint's prefix for a header. */
|
|
26985
|
+
const HEADER_TOKEN = 'header';
|
|
26986
|
+
/** A header as the fingerprint sees it (§7): `header:<arrange>/<pages>/<menu>/<ground>/<shape>` — what a visitor takes in
|
|
26987
|
+
* at once, in the contract's order. Two sites with the same token wear the same header. */
|
|
26988
|
+
function headerTokenOf(mix) {
|
|
26989
|
+
return `${HEADER_TOKEN}:${H.fingerprint.map(k => mix[k]).join('/')}`;
|
|
26990
|
+
}
|
|
26991
|
+
/** A header token in words: `header:name-only/menu/drawer/solid/bar` → "name-only · menu · drawer · solid · bar". */
|
|
26992
|
+
const headerTokenWords = (token) => token.replace(`${HEADER_TOKEN}:`, '').split('/').join(' · ');
|
|
26993
|
+
/** Doron's reference headers (§2b), each as a whole mix. */
|
|
26994
|
+
function headerReferences() {
|
|
26995
|
+
return H.references
|
|
26996
|
+
.map(r => ({ id: r.id, after: r.after, added: r.added, mix: headerMix(r.mix) }));
|
|
26997
|
+
}
|
|
26998
|
+
/** The site plan's header as a mix: its `mixes.header` when it has one (HI1), else its `globals.header` pattern read as a
|
|
26999
|
+
* named mix (HI-D4), else the Studio header. */
|
|
27000
|
+
function headerMixOfPlan(plan) {
|
|
27001
|
+
if (plan.mixes?.header?.length)
|
|
27002
|
+
return headerMixFromWords(plan.mixes.header);
|
|
27003
|
+
return namedHeaderMix(plan.globals?.['header'] ?? '') ?? headerMix();
|
|
27004
|
+
}
|
|
27005
|
+
// ── The wire: ONE list of <ingredient>:<word> words (the list and footer wires' encoding) ─────────────────────────
|
|
27006
|
+
/** A mix on the wire: one `<ingredient>:<word>` per ingredient, in the table's order. */
|
|
27007
|
+
function headerMixWords(mix) {
|
|
27008
|
+
return Object.values(HeaderIngredient).map(k => `${k}:${mix[k]}`);
|
|
27009
|
+
}
|
|
27010
|
+
/** Every `<ingredient>:<word>` the wire may carry: only the words the product DRAWS (ingredients.md §3) — a waiting word
|
|
27011
|
+
* is never offered, so the model never chooses what the site would show as something else. */
|
|
27012
|
+
function headerWireWords() {
|
|
27013
|
+
return Object.values(HeaderIngredient).flatMap(k => headerWords(k).filter(w => !WAITS[`${k}.${w}`]).map(w => `${k}:${w}`));
|
|
27014
|
+
}
|
|
27015
|
+
/** The words back into a mix: an ingredient not named is the default. Refuses an unknown word and two words for one
|
|
27016
|
+
* ingredient. */
|
|
27017
|
+
function headerMixFromWords(words) {
|
|
27018
|
+
const partial = {};
|
|
27019
|
+
for (const pair of words) {
|
|
27020
|
+
const [k, w] = String(pair).split(':');
|
|
27021
|
+
if (!INGREDIENTS[k] || !w)
|
|
27022
|
+
throw new HeaderMixError(`"${pair}" is no header word (<ingredient>:<word>)`);
|
|
27023
|
+
if (partial[k] !== undefined && partial[k] !== w)
|
|
27024
|
+
throw new HeaderMixError(`a header has one ${k} ("${partial[k]}" and "${w}")`);
|
|
27025
|
+
partial[k] = w;
|
|
27026
|
+
}
|
|
27027
|
+
return headerMix(partial);
|
|
27028
|
+
}
|
|
27029
|
+
/** The stored header pattern a mix is exactly (`nav.inline-cta`, `nav.centered-logo`), else null. */
|
|
27030
|
+
function headerPatternIdOf(mix) {
|
|
27031
|
+
const key = JSON.stringify(headerMixWords(mix));
|
|
27032
|
+
return Object.keys(H.named).find(id => JSON.stringify(headerMixWords(namedHeaderMix(id))) === key) ?? null;
|
|
27033
|
+
}
|
|
27034
|
+
// ── The check: any mix, judged against the site and mended (§3, §6 — the rules for the words HI1 draws) ──────────
|
|
27035
|
+
var HeaderRepairCode;
|
|
27036
|
+
(function (HeaderRepairCode) {
|
|
27037
|
+
/** A name-and-menu header has its pages behind the menu. */
|
|
27038
|
+
HeaderRepairCode["NameOnlyInline"] = "name-only-inline";
|
|
27039
|
+
/** The name at the start with the pages behind a menu IS the name-and-menu header. */
|
|
27040
|
+
HeaderRepairCode["SplitMenu"] = "split-menu";
|
|
27041
|
+
/** Pages either side of the name are pages in the bar: behind a menu the name is centred. */
|
|
27042
|
+
HeaderRepairCode["BetweenMenu"] = "between-menu";
|
|
27043
|
+
/** A menu for so few pages is a detour: they go in the bar. */
|
|
27044
|
+
HeaderRepairCode["FewPages"] = "few-pages";
|
|
27045
|
+
/** The pages do not fit beside the name on a laptop: they go behind a menu. */
|
|
27046
|
+
HeaderRepairCode["TooManyPages"] = "too-many-pages";
|
|
27047
|
+
/** The name is too long, or the pages too few, to sit between two halves: the name is centred above them. */
|
|
27048
|
+
HeaderRepairCode["BetweenUnbalanced"] = "between-unbalanced";
|
|
27049
|
+
/** Two actions need two destinations (the contact page and the shop): one button. */
|
|
27050
|
+
HeaderRepairCode["OneDestination"] = "one-destination";
|
|
27051
|
+
/** Another site already wears this header: the nearest free one (`distinctHeader`). */
|
|
27052
|
+
HeaderRepairCode["Worn"] = "worn";
|
|
27053
|
+
/** HI3-D12: this kind of business never stands its header over the opening (harness HEADER_NEVER): its own ground. */
|
|
27054
|
+
HeaderRepairCode["TypeNever"] = "type-never";
|
|
27055
|
+
/** HI3-D10 / D12: the home page does not open on a picture the header can stand over: its own ground. */
|
|
27056
|
+
HeaderRepairCode["OverPlain"] = "over-plain";
|
|
27057
|
+
/** HI3-D5: the header's words do not read over the opening's picture at rest: glass from the top (its own ground in a
|
|
27058
|
+
* look with no glass). */
|
|
27059
|
+
HeaderRepairCode["OverUnreadable"] = "over-unreadable";
|
|
27060
|
+
/** HI3-D2: the look has no glass (Pop): glass is its own solid bar, over-then-glass is over. */
|
|
27061
|
+
HeaderRepairCode["NoGlass"] = "no-glass";
|
|
27062
|
+
/** HI3-D12: in a look whose own bar is glass (Glass), over is over-then-glass. */
|
|
27063
|
+
HeaderRepairCode["GlassOwnBar"] = "glass-own-bar";
|
|
27064
|
+
/** HI3-D9: glass carries its own hairline and shadow: no scroll edge. */
|
|
27065
|
+
HeaderRepairCode["GlassEdge"] = "glass-edge";
|
|
27066
|
+
})(HeaderRepairCode || (HeaderRepairCode = {}));
|
|
27067
|
+
const RULES = H.rules;
|
|
27068
|
+
/** How a laptop's bar is measured (an estimate on the look's own faces — never a guess at a page's words): the name at
|
|
27069
|
+
* the brand's size, each page at the link's, the gap between them, and a button's padding around its words. */
|
|
27070
|
+
const BRAND_PX = 24;
|
|
27071
|
+
const LINK_PX = 16;
|
|
27072
|
+
const GAP_PX = 24;
|
|
27073
|
+
const BUTTON_PAD_PX = 48;
|
|
27074
|
+
const ACTION_WORDS = 'Get in touch';
|
|
27075
|
+
/** How wide the bar's words stand on a laptop: the pages and the action, and — beside them — the name. */
|
|
27076
|
+
function barWidthPx(mix, ctx) {
|
|
27077
|
+
const link = elementStyleFace(ctx.design, 'link');
|
|
27078
|
+
const pages = ctx.pages.reduce((w, p) => w + textWidthEm(p.name, link) * LINK_PX + GAP_PX, 0);
|
|
27079
|
+
const action = mix.action === HeaderAction.None ? 0 : textWidthEm(ACTION_WORDS, link) * LINK_PX + BUTTON_PAD_PX + GAP_PX;
|
|
27080
|
+
const name = mix.arrange === HeaderArrange.Centred ? 0 : textWidthEm(ctx.name, elementStyleFace(ctx.design, 'h3')) * BRAND_PX + GAP_PX;
|
|
27081
|
+
return pages + action * (mix.action === HeaderAction.Two ? 2 : 1) + name;
|
|
27082
|
+
}
|
|
27083
|
+
const behindMenu = (mix) => mix.pages !== HeaderPages.Inline;
|
|
27084
|
+
/**
|
|
27085
|
+
* The ONE judge of a header mix against the site (§3): what the site cannot carry is mended to the nearest mix that it
|
|
27086
|
+
* can, and each mend is said. Judges the mix as DRAWN (`drawnHeaderMix` first). Never throws on a well-formed mix. Pure.
|
|
27087
|
+
*/
|
|
27088
|
+
function checkHeader(mix, ctx) {
|
|
27089
|
+
const m = { ...mix };
|
|
27090
|
+
const repairs = [];
|
|
27091
|
+
const say = (code, said) => repairs.push({ code, said });
|
|
27092
|
+
const count = ctx.pages.length;
|
|
27093
|
+
if (m.arrange === HeaderArrange.NameOnly && !behindMenu(m)) {
|
|
27094
|
+
m.pages = HeaderPages.Menu;
|
|
27095
|
+
say(HeaderRepairCode.NameOnlyInline, 'a name-and-menu header keeps its pages behind the menu');
|
|
27096
|
+
}
|
|
27097
|
+
if (behindMenu(m) && count < RULES.menuMinLinks) {
|
|
27098
|
+
m.pages = HeaderPages.Inline;
|
|
27099
|
+
if (m.arrange === HeaderArrange.NameOnly)
|
|
27100
|
+
m.arrange = HeaderArrange.Split;
|
|
27101
|
+
say(HeaderRepairCode.FewPages, `a menu for ${count} page${count === 1 ? '' : 's'} is a detour: they stand in the bar`);
|
|
27102
|
+
}
|
|
27103
|
+
if (!behindMenu(m) && barWidthPx(m, ctx) > RULES.inlineRoomPx) {
|
|
27104
|
+
m.pages = HeaderPages.Menu;
|
|
27105
|
+
say(HeaderRepairCode.TooManyPages, `${count} pages do not fit in the bar on a laptop: they go behind the menu`);
|
|
27106
|
+
}
|
|
27107
|
+
if (m.arrange === HeaderArrange.Split && behindMenu(m)) {
|
|
27108
|
+
m.arrange = HeaderArrange.NameOnly;
|
|
27109
|
+
say(HeaderRepairCode.SplitMenu, 'the name at the start with the pages behind a menu is the name-and-menu header');
|
|
27110
|
+
}
|
|
27111
|
+
if (m.arrange === HeaderArrange.Between && behindMenu(m)) {
|
|
27112
|
+
m.arrange = HeaderArrange.Centred;
|
|
27113
|
+
say(HeaderRepairCode.BetweenMenu, 'with the pages behind a menu the name is centred');
|
|
27114
|
+
}
|
|
27115
|
+
if (m.arrange === HeaderArrange.Between) {
|
|
27116
|
+
const long = textWidthEm(ctx.name, elementStyleFace(ctx.design, 'h3')) > RULES.betweenNameEm;
|
|
27117
|
+
if (long || count < RULES.betweenMinPages) {
|
|
27118
|
+
m.arrange = HeaderArrange.Centred;
|
|
27119
|
+
say(HeaderRepairCode.BetweenUnbalanced, long ? `"${ctx.name}" is too long to sit between the pages: it is centred above them`
|
|
27120
|
+
: 'too few pages to share either side of the name: it is centred above them');
|
|
27121
|
+
}
|
|
27122
|
+
}
|
|
27123
|
+
if (m.action === HeaderAction.Two && !ctx.shop) {
|
|
27124
|
+
m.action = HeaderAction.Button;
|
|
27125
|
+
say(HeaderRepairCode.OneDestination, 'two actions need two places to go (the contact page and the shop): one button');
|
|
27126
|
+
}
|
|
27127
|
+
mendGround(m, ctx, say);
|
|
27128
|
+
return { mix: m, repairs };
|
|
27129
|
+
}
|
|
27130
|
+
/** HI3-D12: does the home page open on a picture the header can stand over — the contract's frames and media. */
|
|
27131
|
+
function opensOnPicture(opening) {
|
|
27132
|
+
return !!opening && RULES.overFrames.includes(opening.frame) && RULES.overMedia.includes(opening.media);
|
|
27133
|
+
}
|
|
27134
|
+
/** HI3-D2: does the look carry a header glass set (Pop draws its own solid bar). */
|
|
27135
|
+
function lookHasGlass(design) {
|
|
27136
|
+
return RULES.glassFlavors.includes(design.flavorId);
|
|
27137
|
+
}
|
|
27138
|
+
/** The ground rules (HI3-D2, D5, D9, D12), in order: the kind of business, the opening, the words at rest, the look's
|
|
27139
|
+
* glass, then the edge glass does not draw. */
|
|
27140
|
+
function mendGround(m, ctx, say) {
|
|
27141
|
+
const glass = lookHasGlass(ctx.design);
|
|
27142
|
+
if (headerGroundIsOver(m.ground) && ctx.never?.grounds.includes(m.ground)) {
|
|
27143
|
+
const why = ctx.never.say?.length ? ` — ${ctx.never.say.join(' ')}` : '';
|
|
27144
|
+
m.ground = HeaderGround.Solid;
|
|
27145
|
+
say(HeaderRepairCode.TypeNever, `this kind of business keeps its header on its own ground, never over the opening's picture${why}`);
|
|
27146
|
+
}
|
|
27147
|
+
if (headerGroundIsOver(m.ground) && ctx.opening !== undefined && !opensOnPicture(ctx.opening)) {
|
|
27148
|
+
m.ground = HeaderGround.Solid;
|
|
27149
|
+
say(HeaderRepairCode.OverPlain, 'the home page does not open on a full picture the header can stand over: it keeps its own ground');
|
|
27150
|
+
}
|
|
27151
|
+
if (headerGroundIsOver(m.ground) && ctx.readableAtRest === false) {
|
|
27152
|
+
m.ground = glass ? HeaderGround.Glass : HeaderGround.Solid;
|
|
27153
|
+
say(HeaderRepairCode.OverUnreadable, glass ? "the header's words do not read over the opening's picture: it stands on its glass from the top"
|
|
27154
|
+
: "the header's words do not read over the opening's picture: it keeps its own ground");
|
|
27155
|
+
}
|
|
27156
|
+
if (headerGroundIsGlass(m.ground) && !glass) {
|
|
27157
|
+
m.ground = m.ground === HeaderGround.OverGlass ? HeaderGround.Over : HeaderGround.Solid;
|
|
27158
|
+
say(HeaderRepairCode.NoGlass, m.ground === HeaderGround.Over ? 'this look has no glass: over the opening, then its own solid bar'
|
|
27159
|
+
: 'this look has no glass: the header keeps its own solid bar');
|
|
27160
|
+
}
|
|
27161
|
+
if (m.ground === HeaderGround.Over && RULES.glassIsOwnBar.includes(ctx.design.flavorId)) {
|
|
27162
|
+
m.ground = HeaderGround.OverGlass;
|
|
27163
|
+
say(HeaderRepairCode.GlassOwnBar, "in this look the header's own bar is glass: over the opening, then glass");
|
|
27164
|
+
}
|
|
27165
|
+
if (RULES.noEdgeGrounds.includes(m.ground) && m.edge !== 'none') {
|
|
27166
|
+
m.edge = 'none';
|
|
27167
|
+
say(HeaderRepairCode.GlassEdge, 'glass carries its own hairline and shadow: no scroll edge');
|
|
27168
|
+
}
|
|
27169
|
+
}
|
|
27170
|
+
// ── The words at rest over the opening (HI3-D5) ─────────────────────────────────────────────────────────────────────
|
|
27171
|
+
/** The bar's height on a laptop, and the veil (`nav-over-veil`): the opening's ground at 32 % at the bar's top, clear 24px
|
|
27172
|
+
* under it — read at the words' line, the bar's middle (the board's measure, hi3-glass.build.mjs). */
|
|
27173
|
+
const HEADER_BAR_PX = 80;
|
|
27174
|
+
const HEADER_VEIL = Object.freeze({ top: 0.32, extendPx: 24 });
|
|
27175
|
+
/** WCAG AA for the bar's words (small text). */
|
|
27176
|
+
const AA_TEXT = 4.5;
|
|
27177
|
+
const GRID_COLUMNS$1 = 12;
|
|
27178
|
+
/** The veil's alpha at the words' line of a `barPx` bar. */
|
|
27179
|
+
function headerVeilAt(barPx = HEADER_BAR_PX) {
|
|
27180
|
+
return HEADER_VEIL.top * (1 - (barPx / 2) / (barPx + HEADER_VEIL.extendPx));
|
|
27181
|
+
}
|
|
27182
|
+
const toGamma = (linear) => (linear <= 0.0031308 ? 12.92 * linear : 1.055 * Math.pow(linear, 1 / 2.4) - 0.055);
|
|
27183
|
+
/**
|
|
27184
|
+
* HI3-D5: whether the header's words read at rest over the top of the opening's picture — the band the bar covers, as the
|
|
27185
|
+
* frame crops the picture (`calmUnder`), column by column across the bar, each read as its mean light with the veil laid
|
|
27186
|
+
* over it — in EVERY mode the look offers (`inks`, one per mode; a film is judged on its poster). The weakest column
|
|
27187
|
+
* decides. Pure.
|
|
27188
|
+
*/
|
|
27189
|
+
function headerReadsAtRest(inv, frame, inks, barPx = HEADER_BAR_PX) {
|
|
27190
|
+
const veil = headerVeilAt(barPx);
|
|
27191
|
+
const band = Math.min(1, Math.max(0, barPx / Math.max(1, frame.h)));
|
|
27192
|
+
for (const { ink, veilGround } of inks) {
|
|
27193
|
+
const v = parseHexColor(veilGround);
|
|
27194
|
+
if (!v || !parseHexColor(ink))
|
|
27195
|
+
return false;
|
|
27196
|
+
for (let i = 0; i < GRID_COLUMNS$1; i++) {
|
|
27197
|
+
const grey = toGamma(calmUnder(inv, frame, { x0: i / GRID_COLUMNS$1, x1: (i + 1) / GRID_COLUMNS$1, y0: 0, y1: band }).luminance);
|
|
27198
|
+
const under = { r: veil * v.r + (1 - veil) * grey, g: veil * v.g + (1 - veil) * grey, b: veil * v.b + (1 - veil) * grey };
|
|
27199
|
+
if (wcagContrastRatio(ink, under) < AA_TEXT)
|
|
27200
|
+
return false;
|
|
27201
|
+
}
|
|
27202
|
+
}
|
|
27203
|
+
return true;
|
|
27204
|
+
}
|
|
27205
|
+
// ── The recipe: the mix arranged from the contract's parts (§4 — ONE recipe for the palette and the generator) ────
|
|
27206
|
+
const clone$3 = (v) => JSON.parse(JSON.stringify(v));
|
|
27207
|
+
const part$1 = (id) => clone$3(PARTS[id]);
|
|
27208
|
+
const laid = (node, lay) => ({ ...node, lay: { ...(node.lay ?? {}), ...lay } });
|
|
27209
|
+
const GAP = 'var(--iox-space-gap)';
|
|
27210
|
+
/** A side of a centred name: half the room each, so the name sits in the true middle (never nudged by what is beside it). */
|
|
27211
|
+
const cell = (side, c) => ({
|
|
27212
|
+
t: 'Container', es: 'box', role: NavRole.Cell, lay: { display: 'flex', flexWrap: 'nowrap', alignItems: 'center', gap: GAP, flexGrow: '1', flexShrink: '1', flexBasis: '0px', minWidth: '0px', justifyContent: side === 'start' ? 'flex-start' : 'flex-end' }, c,
|
|
27213
|
+
});
|
|
27214
|
+
/** A page as a plain link (a pinned page; a half of the pages either side of the name). */
|
|
27215
|
+
const pageLink = (p, role) => ({ t: 'Link', es: 'link', text: p.name, href: p.route, ...(role ? { role } : {}) });
|
|
27216
|
+
/** What a header asks for, in the order it shows them. */
|
|
27217
|
+
function actionsOf$1(mix, ctx) {
|
|
27218
|
+
switch (mix.action) {
|
|
27219
|
+
case HeaderAction.Button: return [part$1('button')];
|
|
27220
|
+
case HeaderAction.Link: return [part$1('quiet')];
|
|
27221
|
+
case HeaderAction.Two: return ctx.shop ? [part$1('button'), { ...part$1('outlined'), href: ctx.shop }] : [part$1('button')];
|
|
27222
|
+
default: return [];
|
|
27223
|
+
}
|
|
27224
|
+
}
|
|
27225
|
+
/** The page(s) a menu header keeps in the bar (HI-D16): a selling site's shop, else its first page. */
|
|
27226
|
+
function pinnedPagesOf(ctx) {
|
|
27227
|
+
const shop = ctx.shop ? ctx.pages.find(p => p.route === ctx.shop) : undefined;
|
|
27228
|
+
return (shop ? [shop, ...ctx.pages.filter(p => p !== shop)] : [...ctx.pages]).slice(0, RULES.pinnedMax);
|
|
27229
|
+
}
|
|
27230
|
+
/** A header's pieces once the menu takes its pages: the pinned pages and the actions, each kept in the bar. */
|
|
27231
|
+
function keptInBar(mix, ctx) {
|
|
27232
|
+
const pins = mix.pages === HeaderPages.MenuPinned ? pinnedPagesOf(ctx) : [];
|
|
27233
|
+
const acts = actionsOf$1(mix, ctx);
|
|
27234
|
+
const pinned = pins.length ? { ...part$1('pinned'), c: pins.map(p => pageLink(p)) } : null;
|
|
27235
|
+
const actions = acts.length ? { ...part$1('links'), role: NavRole.Actions, c: acts } : null;
|
|
27236
|
+
return { pinned, actions };
|
|
27237
|
+
}
|
|
27238
|
+
/** The root's children for the mix (the menu button is the phone shape's — `planNavShape` places it). */
|
|
27239
|
+
function bodyOf(mix, ctx) {
|
|
27240
|
+
const brand = part$1('brand');
|
|
27241
|
+
const links = (more, lay = {}) => ({ ...laid(part$1('links'), lay), c: [part$1('link'), ...more] });
|
|
27242
|
+
const flex = { display: 'flex', flexWrap: 'nowrap', justifyContent: 'space-between', alignItems: 'center', gap: GAP };
|
|
27243
|
+
if (!behindMenu(mix)) {
|
|
27244
|
+
switch (mix.arrange) {
|
|
27245
|
+
case HeaderArrange.Centred:
|
|
27246
|
+
return { lay: { display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '14px' }, resp: { mobile: { flexDirection: 'row', justifyContent: 'space-between' } },
|
|
27247
|
+
c: [brand, links(actionsOf$1(mix, ctx), { justifyContent: 'center' })] };
|
|
27248
|
+
case HeaderArrange.Between: {
|
|
27249
|
+
const half = Math.ceil(ctx.pages.length / 2);
|
|
27250
|
+
const row = (pages, more) => ({ ...part$1('links'), c: [...pages.map(p => pageLink(p, NavRole.Link)), ...more] });
|
|
27251
|
+
return { lay: flex, c: [cell('start', [row(ctx.pages.slice(0, half), [])]), brand, cell('end', [row(ctx.pages.slice(half), actionsOf$1(mix, ctx))])] };
|
|
27252
|
+
}
|
|
27253
|
+
default:
|
|
27254
|
+
return { lay: { display: 'flex', flexWrap: 'wrap', justifyContent: 'space-between', alignItems: 'center', gap: GAP }, c: [brand, links(actionsOf$1(mix, ctx))] };
|
|
27255
|
+
}
|
|
27256
|
+
}
|
|
27257
|
+
// Behind a menu: the links row stays (hidden at every width — the drawer lists its pages, and an author who brings the
|
|
27258
|
+
// pages back gets the row back); the pinned pages and the actions stay in the bar.
|
|
27259
|
+
const { pinned, actions } = keptInBar(mix, ctx);
|
|
27260
|
+
const kept = [pinned, actions].filter((n) => !!n);
|
|
27261
|
+
const start = mix.menuSide === MenuSide.Start;
|
|
27262
|
+
if (mix.arrange === HeaderArrange.Centred) {
|
|
27263
|
+
// The name in the middle; the menu button's side holds the pinned pages, the other side the actions.
|
|
27264
|
+
const menuSide = pinned ? [pinned] : [];
|
|
27265
|
+
const other = actions ? [actions] : [];
|
|
27266
|
+
return { lay: flex, c: [cell('start', start ? menuSide : other), brand, links([]), cell('end', start ? other : menuSide)] };
|
|
27267
|
+
}
|
|
27268
|
+
// The name and the menu. At the end: the name at the start, what the bar keeps by the button. At the start (Vonder):
|
|
27269
|
+
// the button and the pinned page at the start, the name in the middle, the actions at the end — two equal side cells.
|
|
27270
|
+
return { lay: flex, c: start ? [cell('start', pinned ? [pinned] : []), brand, links([]), cell('end', actions ? [actions] : [])] : [brand, links([]), cell('end', kept)] };
|
|
27271
|
+
}
|
|
27272
|
+
/** The menu's look for a mix (HI2a): with its pages behind the menu, the `menu` form at every width and the `phone`
|
|
27273
|
+
* ingredient's form on a phone; with its pages in the bar, the menu exists on a phone only, so its form IS the phone's
|
|
27274
|
+
* (the drawer, or the full screen). How it opens, its button and its hover come from their own ingredients. */
|
|
27275
|
+
function menuLookOf(mix) {
|
|
27276
|
+
const phoneFull = mix.phone === 'full';
|
|
27277
|
+
const form = behindMenu(mix) ? menuFormOf(mix.menu) : phoneFull ? MenuForm.Full : MenuForm.Drawer;
|
|
27278
|
+
return {
|
|
27279
|
+
form,
|
|
27280
|
+
reveal: menuRevealOf(mix.reveal),
|
|
27281
|
+
button: menuButtonOf(mix.button),
|
|
27282
|
+
hover: menuHoverOf(mix.menuHover),
|
|
27283
|
+
phone: phoneFull && form !== MenuForm.Full ? MenuPhoneForm.Full : MenuPhoneForm.Drawer,
|
|
27284
|
+
};
|
|
27285
|
+
}
|
|
27286
|
+
/** The phone ingredient as the phone menu's shape (`full` is the drawer's Dialog, dressed as the full screen — HI2a). */
|
|
27287
|
+
const PHONE_SHAPE = { drawer: NavShape.Drawer, bar: NavShape.Bar, both: NavShape.Both, full: NavShape.Drawer };
|
|
27288
|
+
/** A header mix as a pattern: what the composer stamps as the site's header (global, before the page). A mix that IS a
|
|
27289
|
+
* stored header (`nav.inline-cta`, `nav.centered-logo`) composes byte-identical to it (R-H4). Pure. */
|
|
27290
|
+
function headerRecipe(mix, ctx) {
|
|
27291
|
+
const everyWidth = behindMenu(mix);
|
|
27292
|
+
const menuSide = mix.menuSide === MenuSide.Start ? MenuSide.Start : MenuSide.End;
|
|
27293
|
+
const stored = SITE_PATTERNS[headerPatternIdOf(mix) ?? ''];
|
|
27294
|
+
const { lay, resp, c } = bodyOf(mix, ctx);
|
|
27295
|
+
const node = { ...part$1('root'), lay, ...(resp ? { resp } : {}), c };
|
|
27296
|
+
const pattern = {
|
|
27297
|
+
family: 'nav',
|
|
27298
|
+
label: stored?.label ?? `Header — ${headerTokenWords(headerTokenOf(mix))}`,
|
|
27299
|
+
intent: stored?.intent ?? [headerMeaning(HeaderIngredient.Arrange, mix.arrange), headerMeaning(HeaderIngredient.Pages, mix.pages), headerMeaning(HeaderIngredient.Action, mix.action)].join('; '),
|
|
27300
|
+
global: PatternGlobalPosition.Before,
|
|
27301
|
+
// A menu at every width is the drawer's (only a drawer shows at every width — planNavShape).
|
|
27302
|
+
phoneMenu: everyWidth ? NavShape.Drawer : PHONE_SHAPE[mix.phone] ?? NavShape.Drawer,
|
|
27303
|
+
header: { behaviour: mix.scroll, edge: mix.edge },
|
|
27304
|
+
node,
|
|
27305
|
+
};
|
|
27306
|
+
return { mix, pattern, everyWidth, menuSide, menu: menuLookOf(mix) };
|
|
27307
|
+
}
|
|
27308
|
+
// ── No sameness: another site's header is never worn again (§7, R-H2) ──────────────────────────────────────────────
|
|
27309
|
+
/** The ingredients `distinctHeader` may change, in the order it tries them: how the pages are reached before where the
|
|
27310
|
+
* name sits (the model chose the arrangement; the fingerprint sees both). */
|
|
27311
|
+
const MEND_ORDER = [
|
|
27312
|
+
HeaderIngredient.Pages, HeaderIngredient.Arrange,
|
|
27313
|
+
// HB-D6: how the menu opens and its button are in the fingerprint — the least visible change of all, tried after the
|
|
27314
|
+
// two the model chose with the site in mind.
|
|
27315
|
+
HeaderIngredient.Reveal, HeaderIngredient.Button,
|
|
27316
|
+
];
|
|
27317
|
+
/** The words of an ingredient the product draws. */
|
|
27318
|
+
const drawnWords = (k) => headerWords(k).filter(w => !WAITS[`${k}.${w}`]);
|
|
27319
|
+
/**
|
|
27320
|
+
* A header no other site wears: the mix when its token is free, else the nearest mix whose token is — one changed
|
|
27321
|
+
* ingredient before two, in `MEND_ORDER` — that the site can carry as it is (`checkHeader` mends nothing), and said. When
|
|
27322
|
+
* every header is worn, the mix as it is. Pure, deterministic.
|
|
27323
|
+
*/
|
|
27324
|
+
function distinctHeader(mix, taken, ctx) {
|
|
27325
|
+
const used = new Set(taken);
|
|
27326
|
+
if (!used.has(headerTokenOf(mix)))
|
|
27327
|
+
return { mix, repairs: [] };
|
|
27328
|
+
const tries = [];
|
|
27329
|
+
for (const k of MEND_ORDER)
|
|
27330
|
+
for (const w of drawnWords(k))
|
|
27331
|
+
tries.push({ ...mix, [k]: w });
|
|
27332
|
+
for (const w of drawnWords(HeaderIngredient.Pages))
|
|
27333
|
+
for (const a of drawnWords(HeaderIngredient.Arrange))
|
|
27334
|
+
tries.push({ ...mix, pages: w, arrange: a });
|
|
27335
|
+
for (const t of tries) {
|
|
27336
|
+
const checked = checkHeader(t, ctx);
|
|
27337
|
+
if (checked.repairs.length || used.has(headerTokenOf(checked.mix)))
|
|
27338
|
+
continue;
|
|
27339
|
+
return { mix: checked.mix, repairs: [{ code: HeaderRepairCode.Worn, said: `another site wears ${headerTokenWords(headerTokenOf(mix))}: this one is ${headerTokenWords(headerTokenOf(checked.mix))}` }] };
|
|
27340
|
+
}
|
|
27341
|
+
return { mix, repairs: [] };
|
|
27342
|
+
}
|
|
27343
|
+
/** The shop's page of a selling plan: the page in the navigation that lists the store's products (else null). */
|
|
27344
|
+
function shopPageOfPlan(plan) {
|
|
27345
|
+
if (!planSells(plan))
|
|
27346
|
+
return null;
|
|
27347
|
+
const list = shopSourceAliases(plan)[ShopSourceRole.List];
|
|
27348
|
+
return plan.pages.find(p => p.inNav && list && (p.sections ?? []).some(s => s.binding === list))?.route ?? null;
|
|
27349
|
+
}
|
|
27350
|
+
/** HI3-D12: the plan's home opening as the header reads it — null when the plan names none (or one the table lacks). */
|
|
27351
|
+
function headerOpeningOfPlan(plan) {
|
|
27352
|
+
try {
|
|
27353
|
+
const mix = openingMixOfPlan(plan);
|
|
27354
|
+
return mix ? { frame: mix.frame, media: mix.media } : null;
|
|
27355
|
+
}
|
|
27356
|
+
catch (e) {
|
|
27357
|
+
if (e instanceof OpeningMixError)
|
|
27358
|
+
return null;
|
|
27359
|
+
throw e;
|
|
27360
|
+
}
|
|
27361
|
+
}
|
|
27362
|
+
/** The header context of a plan: its name, its look, its pages in the navigation, its shop page (found in the plan when
|
|
27363
|
+
* not given), its home opening, and the site's facts. */
|
|
27364
|
+
function headerContextOfPlan(plan, shop, facts = {}) {
|
|
27365
|
+
return {
|
|
27366
|
+
name: plan.business.name,
|
|
27367
|
+
design: resolveDesignChoices(JSON.parse(JSON.stringify(plan.design ?? {}))),
|
|
27368
|
+
pages: plan.pages.filter(p => p.inNav && !p.isHome && p.route !== '/').map(p => ({ name: p.name, route: p.route })),
|
|
27369
|
+
shop: shop === undefined ? shopPageOfPlan(plan) : shop,
|
|
27370
|
+
opening: headerOpeningOfPlan(plan),
|
|
27371
|
+
...(facts.never ? { never: facts.never } : {}),
|
|
27372
|
+
...(facts.readableAtRest !== undefined && facts.readableAtRest !== null ? { readableAtRest: facts.readableAtRest } : {}),
|
|
27373
|
+
};
|
|
27374
|
+
}
|
|
27375
|
+
/**
|
|
27376
|
+
* The header a plan's site WEARS (ONE rule for the composer, the fingerprint and the distinct check): its mix as the
|
|
27377
|
+
* product draws it, judged against the site when the mix was chosen (`mixes.header`) — a stored header pattern (no mix)
|
|
27378
|
+
* is worn as it always was (R-H4). With what was drawn as something else or mended, in words. Pure.
|
|
27379
|
+
*/
|
|
27380
|
+
function wornHeaderOfPlan(plan, facts = {}) {
|
|
27381
|
+
const context = headerContextOfPlan(plan, undefined, facts);
|
|
27382
|
+
const { drawn, gaps } = drawnHeaderMix(headerMixOfPlan(plan));
|
|
27383
|
+
const checked = plan.mixes?.header?.length ? checkHeader(drawn, context) : { mix: drawn, repairs: [] };
|
|
27384
|
+
const said = [...gaps.map(g => `the header's ${g.ingredient} "${g.word}" is drawn as "${g.drawnAs}" until ${g.phase}`), ...checked.repairs.map(r => r.said)];
|
|
27385
|
+
return { mix: checked.mix, context, said };
|
|
27386
|
+
}
|
|
27387
|
+
/** A plan's header made distinct (R-H2): `distinctHeader` over the plan's own mix as drawn and checked; the plan unchanged
|
|
27388
|
+
* when nothing was mended, else with the new mix in `mixes.header`. Pure. */
|
|
27389
|
+
function withDistinctHeader(plan, taken, facts = {}) {
|
|
27390
|
+
const worn = wornHeaderOfPlan(plan, facts);
|
|
27391
|
+
const done = distinctHeader(worn.mix, taken, worn.context);
|
|
27392
|
+
if (!done.repairs.length)
|
|
27393
|
+
return { plan, repairs: [] };
|
|
27394
|
+
return { plan: { ...plan, mixes: { ...(plan.mixes ?? {}), header: headerMixWords(done.mix) } }, repairs: done.repairs };
|
|
27395
|
+
}
|
|
27396
|
+
|
|
27261
27397
|
const P = SPEC_SITE_LAYOUT.popup;
|
|
27262
27398
|
/** The wire's link word (`link:<page key>`) — a page of the plan, never an ingredient of the table. */
|
|
27263
27399
|
const POPUP_LINK_WORD = P.wire.link;
|
|
@@ -34868,7 +35004,10 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
34868
35004
|
issues.push({ code: ComposeIssueCode.FooterMended, nodeId: GlobalSlot.Footer, owner: GlobalSlot.Footer, detail: r.said });
|
|
34869
35005
|
// HI1: the header is the plan's header MIX (a stored pattern id is read as one), drawn as the product draws it, checked
|
|
34870
35006
|
// against the site and arranged from the contract's header parts; each mend is said.
|
|
34871
|
-
const header = planHeader(plan
|
|
35007
|
+
const header = planHeader(plan, {
|
|
35008
|
+
...(context?.headerNever ? { never: context.headerNever } : {}),
|
|
35009
|
+
...(context?.headerReadable !== undefined ? { readableAtRest: context.headerReadable } : {}),
|
|
35010
|
+
});
|
|
34872
35011
|
for (const said of header.said)
|
|
34873
35012
|
issues.push({ code: ComposeIssueCode.HeaderMended, nodeId: GlobalSlot.Header, owner: GlobalSlot.Header, detail: said });
|
|
34874
35013
|
const patternOf = (slot) => slot === GlobalSlot.Footer
|
|
@@ -34902,6 +35041,9 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
34902
35041
|
// AW6 (AW6-D10): a header whose ink follows the sections says so (the renderers' header ink runtime reads it).
|
|
34903
35042
|
if (headerRoot)
|
|
34904
35043
|
setHeaderInk(headerRoot, headerInkOf(header.recipe.mix[HeaderIngredient.Ink]));
|
|
35044
|
+
// HI3 (HI3-D1): what the header stands on — over the opening, glass, or its own ground — the same edit the Header section makes.
|
|
35045
|
+
if (headerRoot)
|
|
35046
|
+
setHeaderGround(headerRoot, headerGroundOf(header.recipe.mix[HeaderIngredient.Ground]));
|
|
34905
35047
|
// AW12: the footer root says the mix it was composed as (the classes iox-design.css draws from); an inset one is a card.
|
|
34906
35048
|
const footerRoot = globals.find(g => g.id === GlobalSlot.Footer);
|
|
34907
35049
|
if (footerRoot)
|
|
@@ -35137,8 +35279,8 @@ function composeLegal(plan, context, pages, globals, footerArrange, placeholders
|
|
|
35137
35279
|
}
|
|
35138
35280
|
/** A plan's header (HI1): its mix as the product draws it, checked against the site, and the recipe to stamp — with what
|
|
35139
35281
|
* was mended or drawn as something else, in words. */
|
|
35140
|
-
function planHeader(plan) {
|
|
35141
|
-
const { mix, context, said } = wornHeaderOfPlan(plan);
|
|
35282
|
+
function planHeader(plan, facts = {}) {
|
|
35283
|
+
const { mix, context, said } = wornHeaderOfPlan(plan, facts);
|
|
35142
35284
|
return { recipe: headerRecipe(mix, context), context, said };
|
|
35143
35285
|
}
|
|
35144
35286
|
/** The phone-menu options a header recipe asks for: its menu at every width and on its side (none for the defaults, so a
|
|
@@ -35228,7 +35370,8 @@ function navHeaderPlan(input) {
|
|
|
35228
35370
|
}
|
|
35229
35371
|
/** What a studio's header is judged against (`checkHeader`) — the same context `composeNavHeader` checks with. */
|
|
35230
35372
|
function navHeaderContext(input) {
|
|
35231
|
-
|
|
35373
|
+
const { opening: _plan, ...context } = headerContextOfPlan(navHeaderPlan(input), input.shop ?? null);
|
|
35374
|
+
return input.opening === undefined ? context : { ...context, opening: input.opening };
|
|
35232
35375
|
}
|
|
35233
35376
|
function composeNavHeader(input, options) {
|
|
35234
35377
|
if (!nonEmpty$1(options?.id))
|
|
@@ -35238,7 +35381,7 @@ function composeNavHeader(input, options) {
|
|
|
35238
35381
|
const email = nonEmpty$1(input.business.facts?.email) ? input.business.facts.email.trim() : null;
|
|
35239
35382
|
const issues = [];
|
|
35240
35383
|
// HI1: ONE recipe with composeSite — the mix drawn as the product draws it, checked against this studio, arranged.
|
|
35241
|
-
const context =
|
|
35384
|
+
const context = navHeaderContext(input);
|
|
35242
35385
|
const { drawn, gaps } = drawnHeaderMix(input.mix ?? headerMix());
|
|
35243
35386
|
// R-H4: the Studio header (no mix asked) composes as it always did; a chosen mix is judged against the studio.
|
|
35244
35387
|
const checked = input.mix && !input.asAsked ? checkHeader(drawn, context) : { mix: drawn, repairs: [] };
|
|
@@ -35260,6 +35403,7 @@ function composeNavHeader(input, options) {
|
|
|
35260
35403
|
setHeaderBehaviour(header, pattern.header.behaviour, pattern.header.edge ?? null);
|
|
35261
35404
|
stampHeaderMix(header, recipe.mix);
|
|
35262
35405
|
setHeaderInk(header, headerInkOf(recipe.mix[HeaderIngredient.Ink]));
|
|
35406
|
+
setHeaderGround(header, headerGroundOf(recipe.mix[HeaderIngredient.Ground]));
|
|
35263
35407
|
if (input.storeSlots)
|
|
35264
35408
|
withStoreSlots(header, input.locale ?? DEFAULT_SITE_LOCALE);
|
|
35265
35409
|
return { header, issues, mix: checked.mix, companions };
|
|
@@ -42597,5 +42741,5 @@ function siteGlobalsOf(globals) {
|
|
|
42597
42741
|
* Generated bundle index. Do not edit.
|
|
42598
42742
|
*/
|
|
42599
42743
|
|
|
42600
|
-
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAID_CONTACT_FAMILY, LAID_FIRST_FAMILY, LAID_PLAIN_FAMILY, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_DISSOLVE, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningGround, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_TOKENS_UNKNOWN_MAKER, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PopupMixError, PopupRefusal, PreflightRefusalCode, PriceBindTarget, PromptLimit, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRIM_WORDS_PAD, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_FIT_ANY, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MAX_SEARCHES, STOCK_MIN_KEPT, STOCK_NEVER_PHRASES, STOCK_NEVER_WORDS, STOCK_OPENING_TYPE_WORDS, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STOCK_TRADE_NEVER_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TEMPLATE_TYPE_WORDS, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, YIELD_MIN_COLUMNS, YIELD_MIN_ROW_SHARE, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, checkPopup, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePopup, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contactFactsOf, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, figuresNotIn, fillContactFacts, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerAtTier, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPeopleContentType, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, joinPageHeader, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, luminanceOf, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternPartSlots, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureSlotPage, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planStockSearch, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, plateYields, popupKeptNotices, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionPictureFamily, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampFooterMix, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFitFor, stockFits, stockGroupOf, stockItemSlots, stockKept, stockMayFill, stockPhotoFits, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSearchFocus, stockSearchQuery, stockSearchTerm, stockSlotFamily, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, typeLedRound, typeLedSection, typeLedYield, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
42744
|
+
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_BAR_PX, HEADER_TOKEN, HEADER_VEIL, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAID_CONTACT_FAMILY, LAID_FIRST_FAMILY, LAID_PLAIN_FAMILY, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_DISSOLVE, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningGround, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_TOKENS_UNKNOWN_MAKER, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PopupMixError, PopupRefusal, PreflightRefusalCode, PriceBindTarget, PromptLimit, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRIM_WORDS_PAD, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_FIT_ANY, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MAX_SEARCHES, STOCK_MIN_KEPT, STOCK_NEVER_PHRASES, STOCK_NEVER_WORDS, STOCK_OPENING_TYPE_WORDS, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STOCK_TRADE_NEVER_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TEMPLATE_TYPE_WORDS, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, YIELD_MIN_COLUMNS, YIELD_MIN_ROW_SHARE, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, checkPopup, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePopup, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contactFactsOf, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, figuresNotIn, fillContactFacts, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerAtTier, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerReadsAtRest, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerVeilAt, headerWireWords, headerWordDrawn, headerWords, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPeopleContentType, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, joinPageHeader, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, lookHasGlass, luminanceOf, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, opensOnPicture, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternPartSlots, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureSlotPage, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planStockSearch, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, plateYields, popupKeptNotices, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionPictureFamily, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampFooterMix, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFitFor, stockFits, stockGroupOf, stockItemSlots, stockKept, stockMayFill, stockPhotoFits, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSearchFocus, stockSearchQuery, stockSearchTerm, stockSlotFamily, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, typeLedRound, typeLedSection, typeLedYield, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
42601
42745
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|