@vectoriox/iox-ui 5.199.0 → 5.201.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/design-core/index.d.ts +454 -52
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +640 -55
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs +5 -2
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +1062 -177
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +441 -63
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +5 -2
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +473 -124
- package/harness-core/index.d.ts +282 -6
- package/package.json +1 -1
- package/src/design-core/brand-neutrals.ts +125 -3
- package/src/design-core/colour-words.ts +48 -0
- package/src/design-core/design-settings.ts +24 -5
- package/src/design-core/design-token.model.ts +8 -0
- package/src/design-core/flavor-fixtures.generated.ts +272 -2
- package/src/design-core/flavor-spec.generated.ts +310 -40
- package/src/design-core/flavor-tokens.ts +5 -1
- package/src/design-core/public-api.ts +2 -0
- package/src/design-core/signature-move.ts +107 -0
- package/src/design-core/style-presets.ts +9 -3
- package/src/design-core/token-css.ts +59 -1
- package/src/forms-core/form-presets.ts +5 -2
- package/src/generation-core/body-mix.ts +41 -0
- package/src/generation-core/check-layout.ts +17 -7
- package/src/generation-core/colour-mix.ts +53 -3
- package/src/generation-core/compose-site.ts +136 -32
- package/src/generation-core/composition.ts +320 -0
- package/src/generation-core/footer-mix.ts +43 -3
- package/src/generation-core/footer-sign-up.ts +51 -0
- package/src/generation-core/header-edit.ts +15 -0
- package/src/generation-core/header-mix.ts +128 -19
- package/src/generation-core/opening-edit.ts +17 -3
- package/src/generation-core/opening-mix.ts +69 -5
- package/src/generation-core/plan-wire.ts +22 -5
- package/src/generation-core/public-api.ts +2 -0
- package/src/generation-core/site-build-run.ts +3 -0
- package/src/generation-core/site-plan.model.ts +3 -0
- package/src/generation-core/site-spec.generated.ts +250 -104
- package/src/generation-core/type-led.ts +4 -2
- package/src/generation-core/validate-site-plan.ts +2 -1
- package/src/harness-core/business-types.ts +27 -0
- package/src/harness-core/harness-spec.generated.ts +405 -56
- package/src/harness-core/motion.ts +19 -2
- package/src/harness-core/run-compose-context.ts +9 -3
- package/src/harness-core/starting-design.ts +15 -7
- package/styles/iox-design.css +10 -0
- package/styles/iox-forms.css +53 -0
|
@@ -1,4 +1,4 @@
|
|
|
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, COLOR_SCHEME_TYPES, schemeOfGround, LinkType, MenuShows, MenuTrait, menuDialogProps, menuShowsOf, MenuButtonKind, menuButtonOf, menuButtonProps, setColorScheme, LIST_MIX_PROP, ColorScheme, decomposeCssFunctions, FILTER_FUNCTIONS, COLOR_SCHEMES, motionLanguageForPlan, headerInkOf, headerGroundOf, headerShapeOf, headerBrandOf, DEFAULT_MENU_LOOK, COLOR_SCHEME_TRAIT, colorSchemeClass, HeaderTrait, headerShapeFloats, HeaderShape, HeaderBrand, HeaderGround, headerGroundIsOver, headerGroundIsGlass, wcagContrastRatio, resolveSchemeTokenValues, menuFormOf, MenuForm, MenuPhoneForm, menuHoverOf, menuRevealOf, schemeTokenResolver, flavorPackById, ARRIVE_IDS, MOVE_IDS, PRELOADER_IDS, SCRUB_IDS, readDesignConfig, ANIMATE_IDS, auditDesignContrast, compositeOver, HeaderBehaviour, headerBehaviourOf, headerEdgeOf, COLUMN_IDS, COLUMN_SETTING } from '@vectoriox/iox-ui/design-core';
|
|
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, resolveColourWords, resolveTokenValues, designTokenRows, parseCssColour, scrubOfChoices, parseHexColor, rgbToOklab, OpticalSize, FOOTER_MIX_PROP, SECTION_SHAPE_TRAIT, COLOR_SCHEME_TYPES, schemeOfGround, LinkType, MenuShows, MenuTrait, menuDialogProps, menuShowsOf, MenuButtonKind, menuButtonOf, menuButtonProps, setColorScheme, LIST_MIX_PROP, ColorScheme, decomposeCssFunctions, FILTER_FUNCTIONS, COLOR_SCHEMES, withSignatureMove, motionLanguageForPlan, headerInkOf, headerGroundOf, headerShapeOf, headerBrandOf, DEFAULT_MENU_LOOK, COLOR_SCHEME_TRAIT, colorSchemeClass, HeaderTrait, headerShapeFloats, HeaderShape, HeaderBrand, HeaderGround, headerGroundIsOver, headerGroundIsGlass, wcagContrastRatio, resolveSchemeTokenValues, menuFormOf, MenuForm, MenuPhoneForm, menuHoverOf, menuRevealOf, schemeTokenResolver, flavorPackById, ARRIVE_IDS, MOVE_IDS, PRELOADER_IDS, SCRUB_IDS, 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
3
|
import { SLIDER_TYPE, badgeToneOf, isAnyCompositeRoot, MarqueeRole, NO_ELEMENT_STYLE, PopupKind, PopupTrait, POPUP_KIND_MIX, PopupForm, popupWords, PopupArt, POPUP_BODY_MAX_CHARS, POPUP_TITLE_MAX_WORDS, buildPopupRecipe, findByRole, PopupRole, removeFromComposite, pickTabsAutoBinds, pickAccordionAutoBinds, ShopRole, AccountRole, 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, buildLightboxRecipe, canOpenAtClickedItem, SLIDE_TO_ROW, CAROUSEL_QUOTE_LABELS, pickCarouselAutoBinds, buildSlideshowRecipe, LIGHTBOX_LABEL, setHeaderBehaviour, setHeaderInk, setHeaderGround, setHeaderShape, setHeaderBrand, ConsentActionType, buildConsentRecipe, PopupArrive, popupFormOf } from '@vectoriox/iox-ui/composite-core';
|
|
4
4
|
import { ControlType, FIELD_NODE_TYPE, FORM_NODE_TYPE, FormPresetId, FormAfterSend, FORM_AFTER_SEND_TRAIT, busyWord, FORM_ACTIONS_ROLE, channelOpensNewTab, FORM_CHANNEL_ROLE, formPresetById, presetFormActions, planFormPresetIds, collectFormSpec, isChannelFilled } from '@vectoriox/iox-ui/forms-core';
|
|
@@ -29,7 +29,7 @@ const SPEC_SITE_PLAN_SHAPE = {
|
|
|
29
29
|
"film?": "film — the owner's film as pictures (SC6b), set by the build and placed by placeFilm; never a model's",
|
|
30
30
|
"artDirection?": "artDirection — what every picture made for the site shares (M7): set by the generation from the business type and the look (generation-core artDirectionFor); never a model's",
|
|
31
31
|
"direction?": "direction — what the site is built around (M8 gate 2): written with the pages, shown on the Plan step; every composed page serves it",
|
|
32
|
-
"mixes?": "mixes — the header, the footer, the home page's opening and the
|
|
32
|
+
"mixes?": "mixes — the header, the footer, the home page's opening, the body and the colours as mixes of ingredients (ingredients.md); a header or footer mix wins over its globals pattern",
|
|
33
33
|
"popup?": "popupLines — the owner's popup lines from the Plan step (popups PU-D12): their stated news (only while its line is ticked) and the newsletter tick. Set by the server from the reading and the ticks; never a model's"
|
|
34
34
|
},
|
|
35
35
|
"popupLines": {
|
|
@@ -45,6 +45,7 @@ const SPEC_SITE_PLAN_SHAPE = {
|
|
|
45
45
|
"footer?": "string[] — the footer as <ingredient>:<word> words (site.layout.footer; list ingredients LI5)",
|
|
46
46
|
"opening?": "string[] — the home page's opening (its first screen) as <ingredient>:<word> words (site.layout.opening; award ingredients AW8): it takes the place of the home page's first section when that is a hero, the hero's words and pictures carried in; absent or empty = the home page opens with its sections as written",
|
|
47
47
|
"body?": "string[] — the site's body as <ingredient>:<word> words (site.layout.body; award ingredients AW6): how sections meet (seam), the page's pace (pace), the texture and the extra kinds of section; absent or empty = straight seams, each section's ground its own",
|
|
48
|
+
"colour?": "string[] — the site's colours as <ingredient>:<word> words (site.layout.colour; colour v2 CV2): the page's ground, the dark band's colour, how much accent and where, the main button's paint, how the grounds follow one another and the bands' shape. They ride the wire's body list (+0 properties) and are split out here; absent or empty = the style preset's own row (site.layout.colour.presets)",
|
|
48
49
|
"popup?": "string[] — the site's popup as <ingredient>:<word> words (site.layout.popup.wire; popups PU3): its kind, where it sits, how it arrives and link:<page key>; absent or empty = no popup. Stamped only from the owner's popup lines (plan.popup)"
|
|
49
50
|
},
|
|
50
51
|
"direction": {
|
|
@@ -3140,6 +3141,7 @@ const SPEC_SITE_PATTERNS = {
|
|
|
3140
3141
|
"alignItems": "flex-start"
|
|
3141
3142
|
},
|
|
3142
3143
|
"enter": "items",
|
|
3144
|
+
"optional": "point4",
|
|
3143
3145
|
"c": [
|
|
3144
3146
|
{
|
|
3145
3147
|
"t": "Icon",
|
|
@@ -5956,6 +5958,62 @@ const SPEC_SITE_FOOTER_PARTS = {
|
|
|
5956
5958
|
}
|
|
5957
5959
|
]
|
|
5958
5960
|
},
|
|
5961
|
+
"newsletter": {
|
|
5962
|
+
"t": "Container",
|
|
5963
|
+
"es": "box",
|
|
5964
|
+
"role": "footer.newsletter",
|
|
5965
|
+
"lay": {
|
|
5966
|
+
"display": "flex",
|
|
5967
|
+
"flexDirection": "column",
|
|
5968
|
+
"gap": "12px"
|
|
5969
|
+
},
|
|
5970
|
+
"c": [
|
|
5971
|
+
{
|
|
5972
|
+
"t": "Heading",
|
|
5973
|
+
"es": "eyebrow",
|
|
5974
|
+
"level": "h4",
|
|
5975
|
+
"slot": "newsletterLabel",
|
|
5976
|
+
"max": 40,
|
|
5977
|
+
"text": "Newsletter",
|
|
5978
|
+
"textHe": "ניוזלטר"
|
|
5979
|
+
},
|
|
5980
|
+
{
|
|
5981
|
+
"t": "Form",
|
|
5982
|
+
"preset": "newsletter"
|
|
5983
|
+
}
|
|
5984
|
+
]
|
|
5985
|
+
},
|
|
5986
|
+
"newsletter-band": {
|
|
5987
|
+
"t": "Container",
|
|
5988
|
+
"es": "box",
|
|
5989
|
+
"role": "footer.newsletter",
|
|
5990
|
+
"lay": {
|
|
5991
|
+
"display": "grid",
|
|
5992
|
+
"gridTemplateColumns": "0.9fr 1.1fr",
|
|
5993
|
+
"gap": "48px",
|
|
5994
|
+
"alignItems": "start"
|
|
5995
|
+
},
|
|
5996
|
+
"resp": {
|
|
5997
|
+
"mobile": {
|
|
5998
|
+
"gridTemplateColumns": "minmax(0, 1fr)"
|
|
5999
|
+
}
|
|
6000
|
+
},
|
|
6001
|
+
"c": [
|
|
6002
|
+
{
|
|
6003
|
+
"t": "Heading",
|
|
6004
|
+
"es": "h2",
|
|
6005
|
+
"level": "h2",
|
|
6006
|
+
"slot": "newsletterTitle",
|
|
6007
|
+
"max": 44,
|
|
6008
|
+
"text": "Hear from us now and then.",
|
|
6009
|
+
"textHe": "עדכונים מאיתנו מדי פעם."
|
|
6010
|
+
},
|
|
6011
|
+
{
|
|
6012
|
+
"t": "Form",
|
|
6013
|
+
"preset": "newsletter"
|
|
6014
|
+
}
|
|
6015
|
+
]
|
|
6016
|
+
},
|
|
5959
6017
|
"rule": {
|
|
5960
6018
|
"t": "Divider",
|
|
5961
6019
|
"es": "rule"
|
|
@@ -9061,10 +9119,6 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9061
9119
|
"phone.first": "the sign-up comes first"
|
|
9062
9120
|
},
|
|
9063
9121
|
"waits": {
|
|
9064
|
-
"holds.newsletter": {
|
|
9065
|
-
"phase": "AW12",
|
|
9066
|
-
"drawnAs": null
|
|
9067
|
-
},
|
|
9068
9122
|
"holds.payments": {
|
|
9069
9123
|
"phase": "commerce",
|
|
9070
9124
|
"drawnAs": null
|
|
@@ -9089,10 +9143,6 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9089
9143
|
"phase": "HI6",
|
|
9090
9144
|
"drawnAs": null
|
|
9091
9145
|
},
|
|
9092
|
-
"closing.newsletter": {
|
|
9093
|
-
"phase": "AW12",
|
|
9094
|
-
"drawnAs": "call"
|
|
9095
|
-
},
|
|
9096
9146
|
"ground.film": {
|
|
9097
9147
|
"phase": "AW12",
|
|
9098
9148
|
"drawnAs": "inverse"
|
|
@@ -9113,18 +9163,10 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9113
9163
|
"phase": "FV1",
|
|
9114
9164
|
"drawnAs": null
|
|
9115
9165
|
},
|
|
9116
|
-
"before.newsletter-band": {
|
|
9117
|
-
"phase": "AW12",
|
|
9118
|
-
"drawnAs": "none"
|
|
9119
|
-
},
|
|
9120
9166
|
"phone.accordion": {
|
|
9121
9167
|
"phase": "FV1",
|
|
9122
9168
|
"drawnAs": "stack"
|
|
9123
9169
|
},
|
|
9124
|
-
"phone.first": {
|
|
9125
|
-
"phase": "AW12",
|
|
9126
|
-
"drawnAs": "stack"
|
|
9127
|
-
},
|
|
9128
9170
|
"closing.behind": {
|
|
9129
9171
|
"phase": "FV3",
|
|
9130
9172
|
"drawnAs": "name"
|
|
@@ -9188,7 +9230,25 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9188
9230
|
"listBigLarge": 5,
|
|
9189
9231
|
"statementPhoneLines": 3,
|
|
9190
9232
|
"legalAlways": true,
|
|
9191
|
-
"socialMax": 6
|
|
9233
|
+
"socialMax": 6,
|
|
9234
|
+
"writesWords": [
|
|
9235
|
+
"journal",
|
|
9236
|
+
"blog",
|
|
9237
|
+
"news",
|
|
9238
|
+
"events",
|
|
9239
|
+
"event",
|
|
9240
|
+
"stories",
|
|
9241
|
+
"articles",
|
|
9242
|
+
"posts",
|
|
9243
|
+
"updates",
|
|
9244
|
+
"magazine",
|
|
9245
|
+
"יומן",
|
|
9246
|
+
"בלוג",
|
|
9247
|
+
"חדשות",
|
|
9248
|
+
"אירועים",
|
|
9249
|
+
"כתבות",
|
|
9250
|
+
"מגזין"
|
|
9251
|
+
]
|
|
9192
9252
|
},
|
|
9193
9253
|
"socialNetworks": [
|
|
9194
9254
|
{
|
|
@@ -9361,6 +9421,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
9361
9421
|
"rules.statementPhoneLines": "all",
|
|
9362
9422
|
"rules.legalAlways": "all",
|
|
9363
9423
|
"rules.socialMax": "all",
|
|
9424
|
+
"rules.writesWords": "all",
|
|
9364
9425
|
"arrange.free": "all",
|
|
9365
9426
|
"holds.social": "all",
|
|
9366
9427
|
"holds.top": "all",
|
|
@@ -10126,6 +10187,15 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10126
10187
|
"grow": 1.5,
|
|
10127
10188
|
"wordsGrow": 1.1,
|
|
10128
10189
|
"wordsUntil": 0.5
|
|
10190
|
+
},
|
|
10191
|
+
"display": {
|
|
10192
|
+
"capBody": 13,
|
|
10193
|
+
"lines": 3,
|
|
10194
|
+
"phoneLines": 4,
|
|
10195
|
+
"roomPx": 1120,
|
|
10196
|
+
"fill": 0.82,
|
|
10197
|
+
"screenShare": 0.5,
|
|
10198
|
+
"phoneScreenShare": 0.36
|
|
10129
10199
|
}
|
|
10130
10200
|
},
|
|
10131
10201
|
"tiers": {
|
|
@@ -10141,6 +10211,7 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10141
10211
|
"rules.wordsNeverCut": "all",
|
|
10142
10212
|
"rules.badgeOwnersOnly": "all",
|
|
10143
10213
|
"rules.neverHoldsScroll": "all",
|
|
10214
|
+
"rules.display": "all",
|
|
10144
10215
|
"frame.inset": "pro",
|
|
10145
10216
|
"frame.shrinks": "pro",
|
|
10146
10217
|
"frame.grows": "pro",
|
|
@@ -11449,8 +11520,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
11449
11520
|
"bands.full": "a coloured section spans the window",
|
|
11450
11521
|
"bands.inset": "a coloured section is a rounded card on the page's ground",
|
|
11451
11522
|
"wash.flat": "flat grounds",
|
|
11452
|
-
"wash.gradient": "
|
|
11453
|
-
"wash.glow": "soft glows of the brand
|
|
11523
|
+
"wash.gradient": "the page fades toward its dark colour at its foot",
|
|
11524
|
+
"wash.glow": "soft glows of the brand at the head and the foot of the page",
|
|
11454
11525
|
"wash.photo-dim": "a full photo, dimmed, as a ground",
|
|
11455
11526
|
"pictures.natural": "pictures as taken",
|
|
11456
11527
|
"pictures.warm": "pictures warmed a little",
|
|
@@ -11487,8 +11558,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
11487
11558
|
"bands.full": "אזור צבעוני שנפרש לכל רוחב החלון",
|
|
11488
11559
|
"bands.inset": "אזור צבעוני ככרטיס מעוגל על רקע הדף",
|
|
11489
11560
|
"wash.flat": "רקעים אחידים",
|
|
11490
|
-
"wash.gradient": "
|
|
11491
|
-
"wash.glow": "זוהר רך של צבע המותג
|
|
11561
|
+
"wash.gradient": "הדף דוהה לעבר הצבע הכהה שלו בתחתיתו",
|
|
11562
|
+
"wash.glow": "זוהר רך של צבע המותג בראש הדף ובתחתיתו",
|
|
11492
11563
|
"wash.photo-dim": "תמונה מלאה, מעומעמת, כרקע",
|
|
11493
11564
|
"pictures.natural": "התמונות כפי שצולמו",
|
|
11494
11565
|
"pictures.warm": "התמונות מחוממות מעט",
|
|
@@ -11499,92 +11570,12 @@ const SPEC_SITE_LAYOUT = {
|
|
|
11499
11570
|
"source.look": "הצבע של העיצוב עצמו"
|
|
11500
11571
|
},
|
|
11501
11572
|
"waits": {
|
|
11502
|
-
"ground.paper": {
|
|
11503
|
-
"phase": "CV2",
|
|
11504
|
-
"drawnAs": "look"
|
|
11505
|
-
},
|
|
11506
|
-
"ground.white": {
|
|
11507
|
-
"phase": "CV2",
|
|
11508
|
-
"drawnAs": "look"
|
|
11509
|
-
},
|
|
11510
|
-
"ground.cool": {
|
|
11511
|
-
"phase": "CV2",
|
|
11512
|
-
"drawnAs": "look"
|
|
11513
|
-
},
|
|
11514
|
-
"dark.brand-deep": {
|
|
11515
|
-
"phase": "CV2",
|
|
11516
|
-
"drawnAs": "ink"
|
|
11517
|
-
},
|
|
11518
|
-
"dark.earth": {
|
|
11519
|
-
"phase": "CV2",
|
|
11520
|
-
"drawnAs": "ink"
|
|
11521
|
-
},
|
|
11522
|
-
"accent.one-place": {
|
|
11523
|
-
"phase": "CV2",
|
|
11524
|
-
"drawnAs": "signal"
|
|
11525
|
-
},
|
|
11526
|
-
"accent.none": {
|
|
11527
|
-
"phase": "CV2",
|
|
11528
|
-
"drawnAs": "signal"
|
|
11529
|
-
},
|
|
11530
|
-
"accent.flood": {
|
|
11531
|
-
"phase": "CV2",
|
|
11532
|
-
"drawnAs": "signal"
|
|
11533
|
-
},
|
|
11534
|
-
"action.ink": {
|
|
11535
|
-
"phase": "CV2",
|
|
11536
|
-
"drawnAs": "accent"
|
|
11537
|
-
},
|
|
11538
|
-
"action.deep": {
|
|
11539
|
-
"phase": "CV2",
|
|
11540
|
-
"drawnAs": "accent"
|
|
11541
|
-
},
|
|
11542
|
-
"rhythm.one-ground": {
|
|
11543
|
-
"phase": "CV2",
|
|
11544
|
-
"drawnAs": "free"
|
|
11545
|
-
},
|
|
11546
|
-
"rhythm.long-runs": {
|
|
11547
|
-
"phase": "CV2",
|
|
11548
|
-
"drawnAs": "free"
|
|
11549
|
-
},
|
|
11550
|
-
"rhythm.alternate": {
|
|
11551
|
-
"phase": "CV2",
|
|
11552
|
-
"drawnAs": "free"
|
|
11553
|
-
},
|
|
11554
|
-
"rhythm.paper-picture": {
|
|
11555
|
-
"phase": "CV2",
|
|
11556
|
-
"drawnAs": "free"
|
|
11557
|
-
},
|
|
11558
|
-
"rhythm.chapters": {
|
|
11559
|
-
"phase": "CV2",
|
|
11560
|
-
"drawnAs": "free"
|
|
11561
|
-
},
|
|
11562
|
-
"rhythm.tail": {
|
|
11563
|
-
"phase": "CV2",
|
|
11564
|
-
"drawnAs": "free"
|
|
11565
|
-
},
|
|
11566
|
-
"rhythm.flood": {
|
|
11567
|
-
"phase": "CV2",
|
|
11568
|
-
"drawnAs": "free"
|
|
11569
|
-
},
|
|
11570
11573
|
"rhythm.flow": {
|
|
11571
11574
|
"phase": "CV5",
|
|
11572
|
-
"drawnAs": "
|
|
11573
|
-
},
|
|
11574
|
-
"bands.inset": {
|
|
11575
|
-
"phase": "CV2",
|
|
11576
|
-
"drawnAs": "full"
|
|
11577
|
-
},
|
|
11578
|
-
"wash.gradient": {
|
|
11579
|
-
"phase": "CV3",
|
|
11580
|
-
"drawnAs": "flat"
|
|
11581
|
-
},
|
|
11582
|
-
"wash.glow": {
|
|
11583
|
-
"phase": "CV3",
|
|
11584
|
-
"drawnAs": "flat"
|
|
11575
|
+
"drawnAs": "long-runs"
|
|
11585
11576
|
},
|
|
11586
11577
|
"wash.photo-dim": {
|
|
11587
|
-
"phase": "
|
|
11578
|
+
"phase": "CV3b",
|
|
11588
11579
|
"drawnAs": "flat"
|
|
11589
11580
|
},
|
|
11590
11581
|
"pictures.warm": {
|
|
@@ -12506,6 +12497,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
12506
12497
|
"leaveShare": 0.5,
|
|
12507
12498
|
"preloaderCapMs": 1500,
|
|
12508
12499
|
"preloaderLevels": [
|
|
12500
|
+
"subtle",
|
|
12501
|
+
"standard",
|
|
12509
12502
|
"lively",
|
|
12510
12503
|
"expressive"
|
|
12511
12504
|
],
|
|
@@ -12514,6 +12507,8 @@ const SPEC_SITE_LAYOUT = {
|
|
|
12514
12507
|
"expressive"
|
|
12515
12508
|
],
|
|
12516
12509
|
"scrubLevels": [
|
|
12510
|
+
"subtle",
|
|
12511
|
+
"standard",
|
|
12517
12512
|
"lively",
|
|
12518
12513
|
"expressive"
|
|
12519
12514
|
],
|
|
@@ -13325,6 +13320,157 @@ const SPEC_SITE_LAYOUT = {
|
|
|
13325
13320
|
"accent"
|
|
13326
13321
|
]
|
|
13327
13322
|
}
|
|
13323
|
+
},
|
|
13324
|
+
"composition": {
|
|
13325
|
+
"skeletons": {
|
|
13326
|
+
"hero.split": "split",
|
|
13327
|
+
"hero.centered": "centred",
|
|
13328
|
+
"hero.stacked-editorial": "stacked",
|
|
13329
|
+
"hero.full-bleed-media": "full-bleed",
|
|
13330
|
+
"hero.scene-depth": "full-bleed",
|
|
13331
|
+
"hero.scene-object": "full-bleed",
|
|
13332
|
+
"story.scene-chapters": "scene",
|
|
13333
|
+
"proof.scene-words": "statement",
|
|
13334
|
+
"collection.card-grid": "three-across",
|
|
13335
|
+
"collection.list-detail": "rows",
|
|
13336
|
+
"commerce.product-grid": "three-across",
|
|
13337
|
+
"commerce.featured": "split",
|
|
13338
|
+
"commerce.product-detail": "item",
|
|
13339
|
+
"collection.masonry-gallery": "gallery",
|
|
13340
|
+
"feature.triad": "three-across",
|
|
13341
|
+
"feature.alternating-rows": "alternating",
|
|
13342
|
+
"feature.icon-list": "two-across",
|
|
13343
|
+
"feature.tabbed": "tabs",
|
|
13344
|
+
"pricing.tiers": "three-across",
|
|
13345
|
+
"cta.banner": "band",
|
|
13346
|
+
"cta.split-form": "split",
|
|
13347
|
+
"page-header.simple": "heading",
|
|
13348
|
+
"project.hero": "full-bleed",
|
|
13349
|
+
"project.gallery": "gallery",
|
|
13350
|
+
"project.next": "band",
|
|
13351
|
+
"item.body": "column",
|
|
13352
|
+
"about.story": "split",
|
|
13353
|
+
"story.long-form": "column",
|
|
13354
|
+
"story.timeline": "steps",
|
|
13355
|
+
"story.quote-break": "statement",
|
|
13356
|
+
"contact.split": "split",
|
|
13357
|
+
"contact.simple": "facts",
|
|
13358
|
+
"faq.accordion": "accordion",
|
|
13359
|
+
"proof.testimonial-carousel": "carousel",
|
|
13360
|
+
"proof.testimonial-single": "statement",
|
|
13361
|
+
"proof.stat-row": "numbers",
|
|
13362
|
+
"proof.logo-strip": "strip"
|
|
13363
|
+
},
|
|
13364
|
+
"neighbours": "differ",
|
|
13365
|
+
"distinct": {
|
|
13366
|
+
"home": 5,
|
|
13367
|
+
"collection": 3,
|
|
13368
|
+
"services": 3,
|
|
13369
|
+
"about": 3
|
|
13370
|
+
},
|
|
13371
|
+
"maxSections": {
|
|
13372
|
+
"home": 8,
|
|
13373
|
+
"collection": 5,
|
|
13374
|
+
"services": 5,
|
|
13375
|
+
"about": 5
|
|
13376
|
+
},
|
|
13377
|
+
"borrows": {
|
|
13378
|
+
"home": [
|
|
13379
|
+
{
|
|
13380
|
+
"kind": "list",
|
|
13381
|
+
"families": [
|
|
13382
|
+
"collection"
|
|
13383
|
+
],
|
|
13384
|
+
"limit": 3
|
|
13385
|
+
},
|
|
13386
|
+
{
|
|
13387
|
+
"kind": "section",
|
|
13388
|
+
"pattern": "story.quote-break"
|
|
13389
|
+
},
|
|
13390
|
+
{
|
|
13391
|
+
"kind": "section",
|
|
13392
|
+
"pattern": "faq.accordion",
|
|
13393
|
+
"limit": 4
|
|
13394
|
+
}
|
|
13395
|
+
],
|
|
13396
|
+
"collection": [
|
|
13397
|
+
{
|
|
13398
|
+
"kind": "ask",
|
|
13399
|
+
"pattern": "cta.banner"
|
|
13400
|
+
},
|
|
13401
|
+
{
|
|
13402
|
+
"kind": "section",
|
|
13403
|
+
"pattern": "faq.accordion",
|
|
13404
|
+
"limit": 4
|
|
13405
|
+
},
|
|
13406
|
+
{
|
|
13407
|
+
"kind": "section",
|
|
13408
|
+
"pattern": "feature.triad"
|
|
13409
|
+
}
|
|
13410
|
+
],
|
|
13411
|
+
"services": [
|
|
13412
|
+
{
|
|
13413
|
+
"kind": "ask",
|
|
13414
|
+
"pattern": "cta.banner"
|
|
13415
|
+
},
|
|
13416
|
+
{
|
|
13417
|
+
"kind": "section",
|
|
13418
|
+
"pattern": "faq.accordion",
|
|
13419
|
+
"limit": 4
|
|
13420
|
+
}
|
|
13421
|
+
],
|
|
13422
|
+
"about": [
|
|
13423
|
+
{
|
|
13424
|
+
"kind": "ask",
|
|
13425
|
+
"pattern": "cta.banner"
|
|
13426
|
+
},
|
|
13427
|
+
{
|
|
13428
|
+
"kind": "section",
|
|
13429
|
+
"pattern": "story.quote-break"
|
|
13430
|
+
},
|
|
13431
|
+
{
|
|
13432
|
+
"kind": "section",
|
|
13433
|
+
"pattern": "faq.accordion",
|
|
13434
|
+
"limit": 4
|
|
13435
|
+
}
|
|
13436
|
+
]
|
|
13437
|
+
},
|
|
13438
|
+
"words": {
|
|
13439
|
+
"more": {
|
|
13440
|
+
"en": "See all",
|
|
13441
|
+
"he": "הצגת הכול"
|
|
13442
|
+
}
|
|
13443
|
+
},
|
|
13444
|
+
"air": {
|
|
13445
|
+
"section": {
|
|
13446
|
+
"compact": 48,
|
|
13447
|
+
"regular": 72,
|
|
13448
|
+
"airy": 112
|
|
13449
|
+
},
|
|
13450
|
+
"join": "same-ground",
|
|
13451
|
+
"phone": {
|
|
13452
|
+
"maxWidth": 767,
|
|
13453
|
+
"toward": 64,
|
|
13454
|
+
"share": 0.5
|
|
13455
|
+
}
|
|
13456
|
+
},
|
|
13457
|
+
"swaps": {
|
|
13458
|
+
"feature.triad": {
|
|
13459
|
+
"pattern": "feature.icon-list",
|
|
13460
|
+
"without": [
|
|
13461
|
+
"point4"
|
|
13462
|
+
],
|
|
13463
|
+
"slots": {
|
|
13464
|
+
"title": "title",
|
|
13465
|
+
"item1": "item1",
|
|
13466
|
+
"item1Text": "item1Text",
|
|
13467
|
+
"item2": "item2",
|
|
13468
|
+
"item2Text": "item2Text",
|
|
13469
|
+
"item3": "item3",
|
|
13470
|
+
"item3Text": "item3Text"
|
|
13471
|
+
}
|
|
13472
|
+
}
|
|
13473
|
+
}
|
|
13328
13474
|
}
|
|
13329
13475
|
};
|
|
13330
13476
|
|
|
@@ -19515,6 +19661,279 @@ function sectionOrigin(root, ctx = {}) {
|
|
|
19515
19661
|
return { maker: SectionMaker.Owner };
|
|
19516
19662
|
}
|
|
19517
19663
|
|
|
19664
|
+
const COMPOSITION = SPEC_SITE_LAYOUT.composition;
|
|
19665
|
+
var BorrowKind;
|
|
19666
|
+
(function (BorrowKind) {
|
|
19667
|
+
BorrowKind["List"] = "list";
|
|
19668
|
+
BorrowKind["Section"] = "section";
|
|
19669
|
+
BorrowKind["Ask"] = "ask";
|
|
19670
|
+
})(BorrowKind || (BorrowKind = {}));
|
|
19671
|
+
const HOME_KIND = 'home';
|
|
19672
|
+
const ASK_FAMILY = 'cta';
|
|
19673
|
+
const FREE_SKELETON = 'free';
|
|
19674
|
+
/** The middle a page reorders whole (8! orders); a longer page keeps the archetype's order. */
|
|
19675
|
+
const MAX_REORDERED = 8;
|
|
19676
|
+
const FAULT_COST = 1000;
|
|
19677
|
+
/** A pattern's skeleton (`skeletons`); a pattern the table does not know reads as its own. */
|
|
19678
|
+
function skeletonOf(pattern) {
|
|
19679
|
+
return COMPOSITION.skeletons[pattern] ?? pattern;
|
|
19680
|
+
}
|
|
19681
|
+
/** The skeleton a plan section reads as: a free signature section is its own (never the same as a neighbour). */
|
|
19682
|
+
function sectionSkeleton(section, at) {
|
|
19683
|
+
return section.free ? `${FREE_SKELETON}:${at}` : skeletonOf(section.pattern);
|
|
19684
|
+
}
|
|
19685
|
+
/** The page kind the composition table is keyed by: the Home, else the page's archetype. */
|
|
19686
|
+
function pageKindOf(page) {
|
|
19687
|
+
return page.isHome ? HOME_KIND : page.archetype ?? null;
|
|
19688
|
+
}
|
|
19689
|
+
/** A page the composition table arranges: a pattern page (never model-laid, free, or a template's item page) of a kind
|
|
19690
|
+
* the table names a minimum for. */
|
|
19691
|
+
function composesPage(page) {
|
|
19692
|
+
const kind = pageKindOf(page);
|
|
19693
|
+
return !!kind && kind in COMPOSITION.distinct && !page.layout && !page.free && !page.routeSource && !page.template;
|
|
19694
|
+
}
|
|
19695
|
+
/** Two neighbours on one skeleton, counted along a page. */
|
|
19696
|
+
function neighbourFaults(skeletons) {
|
|
19697
|
+
let n = 0;
|
|
19698
|
+
for (let i = 1; i < skeletons.length; i++)
|
|
19699
|
+
if (skeletons[i] === skeletons[i - 1])
|
|
19700
|
+
n++;
|
|
19701
|
+
return n;
|
|
19702
|
+
}
|
|
19703
|
+
function typeKeyOf(ds) {
|
|
19704
|
+
if (!ds || ds.type === PlanDataSourceType.Relative || ds.mode !== PlanDataSourceMode.Query)
|
|
19705
|
+
return null;
|
|
19706
|
+
return ds.type === PlanDataSourceType.Cms ? `cms:${ds.contentType}` : `shop:${ds.resource}`;
|
|
19707
|
+
}
|
|
19708
|
+
const familyOf = (pattern) => patternById(pattern)?.family ?? null;
|
|
19709
|
+
/** The words a list page is titled by: its page header's title, else its name. */
|
|
19710
|
+
function listTitleOf(page) {
|
|
19711
|
+
const header = page.sections.find(s => familyOf(s.pattern) === 'header' && s.slots?.['title']?.trim());
|
|
19712
|
+
return header?.slots?.['title']?.trim() || page.name;
|
|
19713
|
+
}
|
|
19714
|
+
/** Every candidate a page may borrow, in the table's order (the caller takes what fits). Pure. */
|
|
19715
|
+
function candidatesFor(page, plan, borrow) {
|
|
19716
|
+
const others = plan.pages.filter(p => p.key !== page.key && !p.free);
|
|
19717
|
+
const own = new Set(page.sections.map(s => s.pattern));
|
|
19718
|
+
if (borrow.kind === BorrowKind.List) {
|
|
19719
|
+
const aliasOf = new Map(plan.dataSources.map(d => [d.alias, d]));
|
|
19720
|
+
const shown = new Set(page.sections.map(s => typeKeyOf(s.binding ? aliasOf.get(s.binding) : undefined)).filter(Boolean));
|
|
19721
|
+
const out = [];
|
|
19722
|
+
for (const list of others) {
|
|
19723
|
+
// A list page: one that lists a type (never a template page showing one item).
|
|
19724
|
+
if (list.routeSource || list.template || list.isHome)
|
|
19725
|
+
continue;
|
|
19726
|
+
for (const s of list.sections) {
|
|
19727
|
+
const pattern = patternById(s.pattern);
|
|
19728
|
+
if (s.free || !s.binding || !pattern || !(borrow.families ?? []).includes(pattern.family) || !patternNeedsBinding(pattern))
|
|
19729
|
+
continue;
|
|
19730
|
+
const type = typeKeyOf(aliasOf.get(s.binding));
|
|
19731
|
+
if (!type || shown.has(type))
|
|
19732
|
+
continue;
|
|
19733
|
+
// The plan's own short source of that type (a "latest three") is the preview the model meant.
|
|
19734
|
+
const short = plan.dataSources.find(d => typeKeyOf(d) === type && 'limit' in d && d.limit !== undefined && d.limit <= 6);
|
|
19735
|
+
const title = listTitleOf(list);
|
|
19736
|
+
const more = COMPOSITION.words.more[plan.locale ?? DEFAULT_SITE_LOCALE] ?? COMPOSITION.words.more[DEFAULT_SITE_LOCALE];
|
|
19737
|
+
out.push({
|
|
19738
|
+
kind: BorrowKind.List,
|
|
19739
|
+
section: { pattern: s.pattern, slots: { title, more }, links: { more: list.route }, binding: short?.alias ?? s.binding },
|
|
19740
|
+
...(short ? {} : borrow.limit ? { limit: borrow.limit } : {}),
|
|
19741
|
+
from: list.key,
|
|
19742
|
+
skeleton: skeletonOf(s.pattern),
|
|
19743
|
+
said: `${page.name} shows the first of ${list.name} ("${title}"), linked to ${list.route}`,
|
|
19744
|
+
});
|
|
19745
|
+
shown.add(type);
|
|
19746
|
+
}
|
|
19747
|
+
}
|
|
19748
|
+
return out;
|
|
19749
|
+
}
|
|
19750
|
+
if (borrow.kind === BorrowKind.Section) {
|
|
19751
|
+
if (!borrow.pattern || own.has(borrow.pattern))
|
|
19752
|
+
return [];
|
|
19753
|
+
for (const other of others) {
|
|
19754
|
+
const s = other.sections.find(x => x.pattern === borrow.pattern && !x.free);
|
|
19755
|
+
if (!s)
|
|
19756
|
+
continue;
|
|
19757
|
+
const { free: _free, ...section } = s;
|
|
19758
|
+
return [{
|
|
19759
|
+
kind: BorrowKind.Section, section, ...(borrow.limit ? { limit: borrow.limit } : {}), from: other.key,
|
|
19760
|
+
skeleton: skeletonOf(s.pattern), said: `${page.name} shows ${other.name}'s ${patternById(s.pattern)?.label ?? s.pattern}`,
|
|
19761
|
+
}];
|
|
19762
|
+
}
|
|
19763
|
+
return [];
|
|
19764
|
+
}
|
|
19765
|
+
// The Ask: the Home's closing band, unless the page already asks or the band asks for this very page.
|
|
19766
|
+
const home = plan.pages.find(p => p.isHome);
|
|
19767
|
+
if (!borrow.pattern || !home || home.key === page.key || page.sections.some(s => familyOf(s.pattern) === ASK_FAMILY))
|
|
19768
|
+
return [];
|
|
19769
|
+
const last = home.sections[home.sections.length - 1];
|
|
19770
|
+
if (!last || last.pattern !== borrow.pattern || last.free)
|
|
19771
|
+
return [];
|
|
19772
|
+
if (Object.values(last.links ?? {}).includes(page.route))
|
|
19773
|
+
return [];
|
|
19774
|
+
const { free: _free, ...section } = last;
|
|
19775
|
+
return [{ kind: BorrowKind.Ask, section, from: home.key, skeleton: skeletonOf(last.pattern), said: `${page.name} closes on the Home's Ask` }];
|
|
19776
|
+
}
|
|
19777
|
+
/**
|
|
19778
|
+
* What a pattern page borrows: candidates in the table's order, each taken only while the page is below its kind's
|
|
19779
|
+
* `distinct` skeletons and `maxSections`, only when its skeleton is not on the page yet, and only when `fits` (the
|
|
19780
|
+
* caller: it stamps without a placeholder). A model-laid page, a free page or a kind the table names no borrows for
|
|
19781
|
+
* borrows nothing. Pure.
|
|
19782
|
+
*/
|
|
19783
|
+
function compositionBorrows(page, plan, fits = () => true) {
|
|
19784
|
+
const kind = pageKindOf(page);
|
|
19785
|
+
if (!kind || !composesPage(page))
|
|
19786
|
+
return [];
|
|
19787
|
+
const borrows = COMPOSITION.borrows[kind] ?? [];
|
|
19788
|
+
const target = COMPOSITION.distinct[kind] ?? 0;
|
|
19789
|
+
const max = COMPOSITION.maxSections[kind] ?? 0;
|
|
19790
|
+
const skeletons = new Set(page.sections.map(sectionSkeleton));
|
|
19791
|
+
let count = page.sections.length;
|
|
19792
|
+
const taken = [];
|
|
19793
|
+
for (const borrow of borrows) {
|
|
19794
|
+
for (const found of candidatesFor(page, plan, borrow)) {
|
|
19795
|
+
if (skeletons.size >= target || count >= max)
|
|
19796
|
+
return taken;
|
|
19797
|
+
// CO4b: a borrow on a skeleton the page already shows may wear its swap (every slot carried).
|
|
19798
|
+
const swapped = skeletons.has(found.skeleton) ? swapOf(found.section) : null;
|
|
19799
|
+
const c = swapped ? { ...found, section: swapped, skeleton: skeletonOf(swapped.pattern), said: `${found.said}, worn as ${patternById(swapped.pattern)?.label ?? swapped.pattern}` } : found;
|
|
19800
|
+
if (skeletons.has(c.skeleton) || !fits(c))
|
|
19801
|
+
continue;
|
|
19802
|
+
taken.push(c);
|
|
19803
|
+
skeletons.add(c.skeleton);
|
|
19804
|
+
count++;
|
|
19805
|
+
}
|
|
19806
|
+
}
|
|
19807
|
+
return taken;
|
|
19808
|
+
}
|
|
19809
|
+
/** A family's rank on a page kind: the first archetype slot that allows it (absent: the middle). */
|
|
19810
|
+
function archetypeRank(kind, pattern) {
|
|
19811
|
+
const slots = kind ? PAGE_ARCHETYPES[kind]?.slots ?? [] : [];
|
|
19812
|
+
const family = familyOf(pattern);
|
|
19813
|
+
const at = slots.findIndex(s => family !== null && s.families.includes(family));
|
|
19814
|
+
return at >= 0 ? at : slots.length / 2;
|
|
19815
|
+
}
|
|
19816
|
+
/** Where borrowed places stand among a page's own: each after the last own place of a rank at most its own (never after
|
|
19817
|
+
* a closing Ask; an Ask itself goes last). Returns the base order as indices into `[...own, ...borrowed]`. Pure. */
|
|
19818
|
+
function baseOrder(own, borrowed) {
|
|
19819
|
+
const order = own.map((_, i) => i);
|
|
19820
|
+
const closing = own.length > 1 && own[own.length - 1].ask;
|
|
19821
|
+
borrowed.forEach((b, j) => {
|
|
19822
|
+
const index = own.length + j;
|
|
19823
|
+
if (b.ask) {
|
|
19824
|
+
order.push(index);
|
|
19825
|
+
return;
|
|
19826
|
+
}
|
|
19827
|
+
const end = closing ? order.length - 1 : order.length;
|
|
19828
|
+
let at = 1;
|
|
19829
|
+
for (let k = 1; k < end; k++) {
|
|
19830
|
+
const place = order[k] < own.length ? own[order[k]] : borrowed[order[k] - own.length];
|
|
19831
|
+
if (place.rank <= b.rank)
|
|
19832
|
+
at = k + 1;
|
|
19833
|
+
}
|
|
19834
|
+
order.splice(Math.min(Math.max(at, 1), end), 0, index);
|
|
19835
|
+
});
|
|
19836
|
+
return order;
|
|
19837
|
+
}
|
|
19838
|
+
/**
|
|
19839
|
+
* The order of a page's places nearest `base` in which no two neighbours share a skeleton: the first place stays first,
|
|
19840
|
+
* a held last place (a closing Ask) stays last, and among the orders with the fewest such pairs the one with the fewest
|
|
19841
|
+
* swapped pairs against `base` wins (ties: the earliest found, so `base` itself when it has no fault). A middle longer
|
|
19842
|
+
* than eight keeps `base`. Pure.
|
|
19843
|
+
*/
|
|
19844
|
+
function orderPlaces(places, base, holdLast) {
|
|
19845
|
+
const sk = (i) => places[i].skeleton;
|
|
19846
|
+
const faultsOf = (order) => neighbourFaults(order.map(sk));
|
|
19847
|
+
if (faultsOf(base) === 0 || base.length < 3)
|
|
19848
|
+
return [...base];
|
|
19849
|
+
const head = base[0];
|
|
19850
|
+
const tail = holdLast ? base[base.length - 1] : null;
|
|
19851
|
+
const middle = base.slice(1, holdLast ? -1 : undefined);
|
|
19852
|
+
if (middle.length > MAX_REORDERED)
|
|
19853
|
+
return [...base];
|
|
19854
|
+
const pos = new Map(base.map((v, i) => [v, i]));
|
|
19855
|
+
const inversions = (order) => {
|
|
19856
|
+
let n = 0;
|
|
19857
|
+
for (let i = 0; i < order.length; i++)
|
|
19858
|
+
for (let j = i + 1; j < order.length; j++)
|
|
19859
|
+
if (pos.get(order[i]) > pos.get(order[j]))
|
|
19860
|
+
n++;
|
|
19861
|
+
return n;
|
|
19862
|
+
};
|
|
19863
|
+
let best = [...base];
|
|
19864
|
+
let bestCost = faultsOf(base) * FAULT_COST;
|
|
19865
|
+
const used = new Array(middle.length).fill(false);
|
|
19866
|
+
const current = [head];
|
|
19867
|
+
const walk = () => {
|
|
19868
|
+
if (current.length === middle.length + 1) {
|
|
19869
|
+
const order = tail === null ? [...current] : [...current, tail];
|
|
19870
|
+
const cost = faultsOf(order) * FAULT_COST + inversions(order);
|
|
19871
|
+
if (cost < bestCost) {
|
|
19872
|
+
best = order;
|
|
19873
|
+
bestCost = cost;
|
|
19874
|
+
}
|
|
19875
|
+
return;
|
|
19876
|
+
}
|
|
19877
|
+
for (let i = 0; i < middle.length; i++) {
|
|
19878
|
+
if (used[i])
|
|
19879
|
+
continue;
|
|
19880
|
+
// Prune: a neighbour pair already laid costs a fault the best may not afford.
|
|
19881
|
+
const prev = current[current.length - 1];
|
|
19882
|
+
const added = sk(prev) === sk(middle[i]) ? 1 : 0;
|
|
19883
|
+
const partial = neighbourFaults(current.map(sk)) + added;
|
|
19884
|
+
if (partial * FAULT_COST >= bestCost)
|
|
19885
|
+
continue;
|
|
19886
|
+
used[i] = true;
|
|
19887
|
+
current.push(middle[i]);
|
|
19888
|
+
walk();
|
|
19889
|
+
current.pop();
|
|
19890
|
+
used[i] = false;
|
|
19891
|
+
}
|
|
19892
|
+
};
|
|
19893
|
+
walk();
|
|
19894
|
+
return best;
|
|
19895
|
+
}
|
|
19896
|
+
/** A section worn as its `swaps` sibling — every slot and link carried to the sibling's slot, the sibling's `without`
|
|
19897
|
+
* left out — or null when the table names none. Pure. */
|
|
19898
|
+
function swapOf(section) {
|
|
19899
|
+
const swap = section.free ? undefined : COMPOSITION.swaps[section.pattern];
|
|
19900
|
+
if (!swap)
|
|
19901
|
+
return null;
|
|
19902
|
+
const carry = (from) => Object.fromEntries(Object.entries(from ?? {}).filter(([k]) => swap.slots[k]).map(([k, v]) => [swap.slots[k], v]));
|
|
19903
|
+
const links = carry(section.links);
|
|
19904
|
+
return {
|
|
19905
|
+
pattern: swap.pattern, slots: carry(section.slots), ...(Object.keys(links).length ? { links } : {}),
|
|
19906
|
+
...(swap.without?.length ? { without: [...swap.without] } : {}), ...(section.enter ? { enter: section.enter } : {}),
|
|
19907
|
+
};
|
|
19908
|
+
}
|
|
19909
|
+
/**
|
|
19910
|
+
* The last mend: for each pair of neighbours still on one skeleton, a movable place of the pair (never the first, never a
|
|
19911
|
+
* held last) whose plan section has a `swaps` row, worn as that sibling when its skeleton differs from both neighbours.
|
|
19912
|
+
* Returns the plan section index → the swapped section (every slot carried, the sibling's `without` left out); the
|
|
19913
|
+
* caller stamps it and keeps it only when it stamps clean. Pure.
|
|
19914
|
+
*/
|
|
19915
|
+
function compositionSwaps(sections, order, skeletons, holdLast) {
|
|
19916
|
+
const out = new Map();
|
|
19917
|
+
const sk = order.map(i => skeletons[i]);
|
|
19918
|
+
for (let k = 1; k < order.length; k++) {
|
|
19919
|
+
if (sk[k] !== sk[k - 1])
|
|
19920
|
+
continue;
|
|
19921
|
+
for (const at of [k, k - 1]) {
|
|
19922
|
+
const index = order[at];
|
|
19923
|
+
if (at === 0 || (holdLast && at === order.length - 1) || index >= sections.length || out.has(index))
|
|
19924
|
+
continue;
|
|
19925
|
+
const swapped = swapOf(sections[index]);
|
|
19926
|
+
const next = swapped ? skeletonOf(swapped.pattern) : null;
|
|
19927
|
+
if (!swapped || !next || next === sk[at - 1] || next === sk[at + 1])
|
|
19928
|
+
continue;
|
|
19929
|
+
out.set(index, swapped);
|
|
19930
|
+
sk[at] = next;
|
|
19931
|
+
break;
|
|
19932
|
+
}
|
|
19933
|
+
}
|
|
19934
|
+
return out;
|
|
19935
|
+
}
|
|
19936
|
+
|
|
19518
19937
|
/**
|
|
19519
19938
|
* THE CARRY (site-redesign plan §3b, RD1): what on a page is the owner's — the ONE owner-content rule. A redesign harvests
|
|
19520
19939
|
* it, the new layout places it by handle, `checkCarry` makes sure nothing is dropped silently (R-H3); Ask's section swap
|
|
@@ -21031,11 +21450,11 @@ const HEBREW$6 = /[-]/;
|
|
|
21031
21450
|
/** Hebrew joins up to two one-letter words (and, the, in, to, from, that, as) to the next: "והטוב" holds "טוב". The
|
|
21032
21451
|
* ONE rule — the intake's keyword match (harness-core) uses it too. */
|
|
21033
21452
|
const HEBREW_PREFIXES = '[והבלמשכ]{0,2}';
|
|
21034
|
-
const escape = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
21453
|
+
const escape$1 = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
21035
21454
|
const normalise = (s) => s.normalize('NFKC').toLowerCase();
|
|
21036
21455
|
/** A word (or phrase) as a whole-word pattern; Hebrew allows its one-letter prefixes. */
|
|
21037
21456
|
function wordPattern(word) {
|
|
21038
|
-
const w = escape(normalise(word.trim())).replace(/\s+/g, '\\s+');
|
|
21457
|
+
const w = escape$1(normalise(word.trim())).replace(/\s+/g, '\\s+');
|
|
21039
21458
|
const prefix = HEBREW$6.test(word) ? HEBREW_PREFIXES : '';
|
|
21040
21459
|
return new RegExp(`(?<![\\p{L}\\p{N}])${prefix}${w}(?![\\p{L}\\p{N}])`, 'u');
|
|
21041
21460
|
}
|
|
@@ -24114,6 +24533,48 @@ function joinPageHeader(layout) {
|
|
|
24114
24533
|
}
|
|
24115
24534
|
return out ?? layout;
|
|
24116
24535
|
}
|
|
24536
|
+
/** The style props a section's own block space may be written in — a section carrying any other (a step's `paddingBlock`,
|
|
24537
|
+
* a held screen's height) keeps its space as it is. */
|
|
24538
|
+
const HELD_SPACE_PROPS = ['paddingBlock', 'paddingTop', 'paddingBottom', 'paddingBlockEnd', 'minHeight', 'height'];
|
|
24539
|
+
const UNHELD_VALUES = new Set(['', 'auto', '0px', '0']);
|
|
24540
|
+
/** True for a section root stamped from a pattern (never one the model laid, never a free section). */
|
|
24541
|
+
function isPatternSection(node) {
|
|
24542
|
+
return !!(node.composed && 'pattern' in node.composed && node.composed.pattern);
|
|
24543
|
+
}
|
|
24544
|
+
/**
|
|
24545
|
+
* Composition CO4 (composition-plan.md, contract `COMPOSITION.air.join: 'same-ground'`): two neighbouring PATTERN sections
|
|
24546
|
+
* on one ground are ONE section space apart — the upper gives its bottom space up (iox-ui#130's page-header rule, for
|
|
24547
|
+
* every pair of pattern sections; a free or model-laid neighbour keeps the space it was written with). Before, each padded its rhythm on both sides, so two sections on one ground stood two section spaces apart
|
|
24548
|
+
* (288px on an airy look) — the J10 reading's "mostly empty bands". A ground change pads itself on both sides (the band
|
|
24549
|
+
* reads as a band); nothing joins across a card, a Scene, a seam, a held screen or a section carrying a spacing step of
|
|
24550
|
+
* its own. Pure: copies only what it changes.
|
|
24551
|
+
*/
|
|
24552
|
+
function joinSameGround(layout) {
|
|
24553
|
+
let out = null;
|
|
24554
|
+
for (let i = 0; i + 1 < layout.length; i++) {
|
|
24555
|
+
const upper = layout[i];
|
|
24556
|
+
const next = layout[i + 1];
|
|
24557
|
+
// Both stamped from patterns: a free or model-laid section below pads itself as it was written (its top may be 0).
|
|
24558
|
+
if (!isPatternSection(upper) || !isPatternSection(next) || !SECTION_EDGE_TYPES.includes(upper.type) || !SECTION_EDGE_TYPES.includes(next.type))
|
|
24559
|
+
continue;
|
|
24560
|
+
if ((colorSchemeOf(upper) ?? 'default') !== (colorSchemeOf(next) ?? 'default'))
|
|
24561
|
+
continue;
|
|
24562
|
+
if (sectionShapeOf(upper) === SectionShape.Card || sectionShapeOf(next) === SectionShape.Card || holdsScene(upper) || holdsScene(next))
|
|
24563
|
+
continue;
|
|
24564
|
+
if (sectionEdgeClass(next.props?.['seam']))
|
|
24565
|
+
continue;
|
|
24566
|
+
// A value the type's baseline stamps (`height: auto`, `minHeight: 200px`) or an `auto` / `0px` is no hold of its own.
|
|
24567
|
+
const baseline = (NODE_BASELINES[upper.type]?.styleProps ?? {});
|
|
24568
|
+
if (HELD_SPACE_PROPS.some(p => { const v = upper.styleProps?.[p]; return v !== undefined && !UNHELD_VALUES.has(String(v)) && v !== baseline[p]; }))
|
|
24569
|
+
continue;
|
|
24570
|
+
const own = upper.styleProps?.['padding'];
|
|
24571
|
+
const parts = typeof own === 'string' && own.trim() && own.trim() !== SECTION_PAD$1 ? shorthandParts(own) : [...SECTION_PAD_SIDES];
|
|
24572
|
+
const [top, right = top, , left = right] = parts;
|
|
24573
|
+
out ??= layout.map(n => n);
|
|
24574
|
+
out[i] = { ...upper, styleProps: { ...(upper.styleProps ?? {}), padding: `${top} ${right} ${NO_SPACE} ${left}` } };
|
|
24575
|
+
}
|
|
24576
|
+
return out ?? layout;
|
|
24577
|
+
}
|
|
24117
24578
|
// ── The check: a mix judged against the site, mended where the site cannot carry it, each mend said ──────────────────
|
|
24118
24579
|
var BodyRepairCode;
|
|
24119
24580
|
(function (BodyRepairCode) {
|
|
@@ -24296,12 +24757,40 @@ function colourMix(partial = {}) {
|
|
|
24296
24757
|
function presetColourMix(presetId) {
|
|
24297
24758
|
return colourMix(C.presets[presetId ?? ''] ?? {});
|
|
24298
24759
|
}
|
|
24760
|
+
/** CV2: the colour mix a plan wears — its style preset's §6 row (CV-D13) with the plan's own words (`mixes.colour`) over
|
|
24761
|
+
* it: an ingredient the plan leaves out is the preset's. A plan whose words do not read wears its preset's row (the
|
|
24762
|
+
* validator names the word). Pure. */
|
|
24763
|
+
function colourMixOfPlan(plan) {
|
|
24764
|
+
const presetId = layoutPresetOf(resolveDesignChoices(JSON.parse(JSON.stringify(plan.design ?? {})))).id;
|
|
24765
|
+
const row = C.presets[presetId] ?? {};
|
|
24766
|
+
try {
|
|
24767
|
+
return colourMix({ ...row, ...colourWordsPartial(plan.mixes?.colour ?? []) });
|
|
24768
|
+
}
|
|
24769
|
+
catch {
|
|
24770
|
+
return colourMix(row); // the validator names the word
|
|
24771
|
+
}
|
|
24772
|
+
}
|
|
24773
|
+
/** CV2 + CV3: the colour words a look carries as TOKENS (ground · dark · button · wash), as drawn — the rest are judged,
|
|
24774
|
+
* never painted. */
|
|
24775
|
+
function colourDesignWords(mix) {
|
|
24776
|
+
const { drawn } = drawnColourMix(mix);
|
|
24777
|
+
return resolveColourWords({ ground: drawn.ground, dark: drawn.dark, action: drawn.action, wash: drawn.wash });
|
|
24778
|
+
}
|
|
24779
|
+
/** CV2: the ONE design a plan is built and composed with — its design and its colour words (the build's Look step writes
|
|
24780
|
+
* these; every compose of the plan judges against them). Pure. */
|
|
24781
|
+
function planDesignChoices(plan) {
|
|
24782
|
+
return resolveDesignChoices({ ...JSON.parse(JSON.stringify(plan.design ?? {})), ...colourDesignWords(colourMixOfPlan(plan)) });
|
|
24783
|
+
}
|
|
24299
24784
|
/** A mix on the wire: one `<ingredient>:<word>` per ingredient, in the table's order. */
|
|
24300
24785
|
function colourMixWords(mix) {
|
|
24301
24786
|
return ORDER$1.map(k => `${k}:${mix[k]}`);
|
|
24302
24787
|
}
|
|
24303
24788
|
/** The words back into a mix. Refuses an unknown word and two words for one ingredient. */
|
|
24304
24789
|
function colourMixFromWords(words) {
|
|
24790
|
+
return colourMix(colourWordsPartial(words));
|
|
24791
|
+
}
|
|
24792
|
+
/** The ingredients the words name, and only those. Refuses an unknown word and two words for one ingredient. */
|
|
24793
|
+
function colourWordsPartial(words) {
|
|
24305
24794
|
const partial = {};
|
|
24306
24795
|
for (const pair of words) {
|
|
24307
24796
|
const [k, w] = String(pair).split(':');
|
|
@@ -24311,7 +24800,7 @@ function colourMixFromWords(words) {
|
|
|
24311
24800
|
throw new ColourMixError(`a site has one colour ${k} ("${partial[k]}" and "${w}")`);
|
|
24312
24801
|
partial[k] = w;
|
|
24313
24802
|
}
|
|
24314
|
-
return
|
|
24803
|
+
return partial;
|
|
24315
24804
|
}
|
|
24316
24805
|
/** The mix the product DRAWS today: a waiting word becomes its stand-in, each said. */
|
|
24317
24806
|
function drawnColourMix(mix) {
|
|
@@ -24326,6 +24815,22 @@ function drawnColourMix(mix) {
|
|
|
24326
24815
|
}
|
|
24327
24816
|
return { drawn: drawn, gaps };
|
|
24328
24817
|
}
|
|
24818
|
+
/** CV2: the colour words `checkLayout` judges, as DRAWN — spread into its context (`{ ...checkContext, ...colourCheckOf(plan) }`)
|
|
24819
|
+
* so the accent word's budget, the grounds cap and the rhythm read the plan's own words (else its preset's row, CV-D13). */
|
|
24820
|
+
function colourCheckOf(plan) {
|
|
24821
|
+
const { drawn } = drawnColourMix(colourMixOfPlan(plan));
|
|
24822
|
+
return { accent: drawn.accent, rhythm: drawn.rhythm };
|
|
24823
|
+
}
|
|
24824
|
+
/** CV-D9: `bands.inset` reuses AW6's inset card — the body the site wears with the colour's bands folded in (`inset`
|
|
24825
|
+
* adds `sections:inset-card`, so every section that wears a scheme stands as a rounded card on the page's ground). The
|
|
24826
|
+
* same body back when the bands are `full` or the card is already asked. Pure. */
|
|
24827
|
+
function bodyWithColourBands(body, mix) {
|
|
24828
|
+
if (drawnColourMix(mix).drawn.bands !== ColourBands.Inset)
|
|
24829
|
+
return body;
|
|
24830
|
+
if (body?.sections.includes(BodySectionWord.InsetCard))
|
|
24831
|
+
return body;
|
|
24832
|
+
return bodyMix({ ...(body ?? {}), sections: [...(body?.sections ?? []), BodySectionWord.InsetCard] });
|
|
24833
|
+
}
|
|
24329
24834
|
/** The fingerprint's prefix for a site's colour. */
|
|
24330
24835
|
const COLOUR_TOKEN$1 = 'colour';
|
|
24331
24836
|
/** A site's colour as the fingerprint sees it: `colour:<ground>/<dark>/<accent>/<rhythm>` — what a visitor takes in at once. */
|
|
@@ -24746,6 +25251,7 @@ function examineLayout(page, ctx, carried, given) {
|
|
|
24746
25251
|
let eyebrows = 0;
|
|
24747
25252
|
let splitRun = 0;
|
|
24748
25253
|
let lightGrounds = 0;
|
|
25254
|
+
const colourGrounds = new Set();
|
|
24749
25255
|
let bleeds = 0;
|
|
24750
25256
|
let screenWords = 0;
|
|
24751
25257
|
let wordsOnPhoto = 0;
|
|
@@ -24801,6 +25307,8 @@ function examineLayout(page, ctx, carried, given) {
|
|
|
24801
25307
|
lightGrounds++;
|
|
24802
25308
|
if (ground === LayoutColour.Accent)
|
|
24803
25309
|
accentUses += ACCENT_GROUND_USES;
|
|
25310
|
+
if (inList(V.colours, ground))
|
|
25311
|
+
colourGrounds.add(ground);
|
|
24804
25312
|
const layers = Array.isArray(s.layers) ? s.layers : [];
|
|
24805
25313
|
if (!layers.length)
|
|
24806
25314
|
add(LayoutIssueCode.Structure, `${at}.layers`, 'at least one layer');
|
|
@@ -25285,12 +25793,16 @@ function examineLayout(page, ctx, carried, given) {
|
|
|
25285
25793
|
add(LayoutIssueCode.Motion, 'sections', `${entering} sections have entrances — at most ${enteringMax}; let the others glide`);
|
|
25286
25794
|
if (eyebrows > composedCount * EYEBROW_SHARE)
|
|
25287
25795
|
add(LayoutIssueCode.Look, 'sections', `${eyebrows} headings carry a small label right above them — the AI-site cliché; keep it to a few`);
|
|
25796
|
+
const accentBudget = ctx.accent ? { max: colourAccentMax(ctx.accent), by: `the "${ctx.accent}" accent` } : look ? { max: look.accentMax, by: `the ${look.id} look` } : null;
|
|
25797
|
+
if (accentBudget && accentUses > accentBudget.max) {
|
|
25798
|
+
const bands = paint ? accentBandMoves(sections, ground => paint.colours[ground], (name, text) => colourHex(name, text)) : [];
|
|
25799
|
+
const buttons = accentButtonSteps(sections);
|
|
25800
|
+
add(LayoutIssueCode.Look, 'sections', `the accent is on ${accentUses} layers (a button counts, an accent ground twice) — ${accentBudget.by} allows ${accentBudget.max}`, { kind: LayoutMendKind.Accent, over: accentUses - accentBudget.max, ...(bands.length ? { bands } : {}), ...(buttons.length ? { buttons } : {}) });
|
|
25801
|
+
}
|
|
25802
|
+
if (ctx.accent && colourGrounds.size > colourGroundsMax(ctx.accent)) {
|
|
25803
|
+
add(LayoutIssueCode.Look, 'sections', `${colourGrounds.size} different grounds (${[...colourGrounds].join(', ')}) — the "${ctx.accent}" accent allows ${colourGroundsMax(ctx.accent)}, photos excepted`);
|
|
25804
|
+
}
|
|
25288
25805
|
if (look) {
|
|
25289
|
-
if (accentUses > look.accentMax) {
|
|
25290
|
-
const bands = paint ? accentBandMoves(sections, ground => paint.colours[ground], (name, text) => colourHex(name, text)) : [];
|
|
25291
|
-
const buttons = accentButtonSteps(sections);
|
|
25292
|
-
add(LayoutIssueCode.Look, 'sections', `the accent is on ${accentUses} layers (a button counts, an accent ground twice) — the ${look.id} look allows ${look.accentMax}`, { kind: LayoutMendKind.Accent, over: accentUses - look.accentMax, ...(bands.length ? { bands } : {}), ...(buttons.length ? { buttons } : {}) });
|
|
25293
|
-
}
|
|
25294
25806
|
if (limits.hugeMax !== undefined && huge > limits.hugeMax)
|
|
25295
25807
|
add(LayoutIssueCode.Look, 'sections', `${huge} xxl/screen layers — the ${look.id} look allows ${limits.hugeMax}`);
|
|
25296
25808
|
if (limits.centerMax !== undefined && textLayers && centered / textLayers > limits.centerMax) {
|
|
@@ -26025,7 +26537,7 @@ var FooterBefore;
|
|
|
26025
26537
|
FooterBefore["None"] = "none";
|
|
26026
26538
|
/** A contact-form area (FV-D11, mdscollective · mooov). */
|
|
26027
26539
|
FooterBefore["ContactForm"] = "contact-form";
|
|
26028
|
-
/** A sign-up band (cancan;
|
|
26540
|
+
/** A sign-up band (cancan; AW12 newsletter). */
|
|
26029
26541
|
FooterBefore["NewsletterBand"] = "newsletter-band";
|
|
26030
26542
|
/** Where and when to visit, as a band. */
|
|
26031
26543
|
FooterBefore["Visit"] = "visit";
|
|
@@ -26036,7 +26548,7 @@ var FooterPhone;
|
|
|
26036
26548
|
FooterPhone["Stack"] = "stack";
|
|
26037
26549
|
/** The link columns fold into accordions (stroms, schlosshotel; waits — a fold only a phone wears). */
|
|
26038
26550
|
FooterPhone["Accordion"] = "accordion";
|
|
26039
|
-
/** The sign-up comes first (8pm;
|
|
26551
|
+
/** The sign-up comes first on a phone (8pm; AW12 newsletter). */
|
|
26040
26552
|
FooterPhone["First"] = "first";
|
|
26041
26553
|
})(FooterPhone || (FooterPhone = {}));
|
|
26042
26554
|
/** The roles a footer's parts carry — the contract's (`site.footerParts` and the stored footers), written to the node's
|
|
@@ -26071,6 +26583,8 @@ var FooterRole;
|
|
|
26071
26583
|
FooterRole["Top"] = "footer.top";
|
|
26072
26584
|
/** FV1b `before`: the block that opens the footer (the contact-form area, the visit band). */
|
|
26073
26585
|
FooterRole["Before"] = "footer.before";
|
|
26586
|
+
/** AW12 newsletter: the sign-up block, the band and the closing — the forms-core `newsletter` preset beside its words. */
|
|
26587
|
+
FooterRole["Newsletter"] = "footer.newsletter";
|
|
26074
26588
|
})(FooterRole || (FooterRole = {}));
|
|
26075
26589
|
class FooterMixError extends Error {
|
|
26076
26590
|
}
|
|
@@ -26285,6 +26799,13 @@ var FooterRepairCode;
|
|
|
26285
26799
|
FooterRepairCode["SocialLeftOut"] = "social-left-out";
|
|
26286
26800
|
/** FV1b: a visit band before the footer says where and when — the visit block is not said twice. */
|
|
26287
26801
|
FooterRepairCode["VisitBeforeTwice"] = "visit-before-twice";
|
|
26802
|
+
/** AW12-D6 (H1): a sign-up only where the site has a reason to write (a journal, events, a shop, a kind of business
|
|
26803
|
+
* whose references close with one, the owner's newsletter tick) — none: the sign-up is left out, said. */
|
|
26804
|
+
FooterRepairCode["NoReasonToWrite"] = "no-reason-to-write";
|
|
26805
|
+
/** AW12 newsletter: one sign-up per footer — the band before it, else the closing, else the block it holds. */
|
|
26806
|
+
FooterRepairCode["SignUpTwice"] = "sign-up-twice";
|
|
26807
|
+
/** AW12 newsletter: the sign-up first on a phone needs a sign-up block — none held: the blocks stack. */
|
|
26808
|
+
FooterRepairCode["FirstWithoutSignUp"] = "first-without-sign-up";
|
|
26288
26809
|
})(FooterRepairCode || (FooterRepairCode = {}));
|
|
26289
26810
|
/** The phone the closing name must fit (the render check's). */
|
|
26290
26811
|
const PHONE_WIDTH = 390;
|
|
@@ -26486,6 +27007,31 @@ function checkFooter(given, ctx) {
|
|
|
26486
27007
|
say(FooterRepairCode.VisitBeforeTwice, 'the band before the footer says where and when: the visit block is not said twice');
|
|
26487
27008
|
holds = holds.filter(h => h !== FooterHold.Visit);
|
|
26488
27009
|
}
|
|
27010
|
+
// AW12 newsletter: a sign-up only with a reason to write (AW12-D6), and one per footer — the band before it first.
|
|
27011
|
+
let before = beforeOf(mix);
|
|
27012
|
+
let phone = phoneOf(mix);
|
|
27013
|
+
const signsUp = () => before === FooterBefore.NewsletterBand || closing === FooterClosing.Newsletter || holds.includes(FooterHold.Newsletter);
|
|
27014
|
+
if (ctx.writes === false && signsUp()) {
|
|
27015
|
+
say(FooterRepairCode.NoReasonToWrite, 'a sign-up asks people to hear from the business, and this site has nothing to write about yet (no journal, events or shop): left out');
|
|
27016
|
+
if (before === FooterBefore.NewsletterBand)
|
|
27017
|
+
before = FooterBefore.None;
|
|
27018
|
+
if (closing === FooterClosing.Newsletter)
|
|
27019
|
+
closing = FooterClosing.Call;
|
|
27020
|
+
holds = holds.filter(h => h !== FooterHold.Newsletter);
|
|
27021
|
+
}
|
|
27022
|
+
const twice = [before === FooterBefore.NewsletterBand, closing === FooterClosing.Newsletter, holds.includes(FooterHold.Newsletter)].filter(Boolean).length > 1;
|
|
27023
|
+
if (twice) {
|
|
27024
|
+
say(FooterRepairCode.SignUpTwice, `a footer asks people to sign up once: the sign-up ${before === FooterBefore.NewsletterBand ? 'band before it' : 'it opens on'} stays`);
|
|
27025
|
+
if (before === FooterBefore.NewsletterBand && closing === FooterClosing.Newsletter)
|
|
27026
|
+
closing = FooterClosing.Call;
|
|
27027
|
+
holds = holds.filter(h => h !== FooterHold.Newsletter);
|
|
27028
|
+
}
|
|
27029
|
+
if (phone === FooterPhone.First && !holds.includes(FooterHold.Newsletter)) {
|
|
27030
|
+
// The band and the closing already come first; only a held block is moved, so without one the blocks stack.
|
|
27031
|
+
if (!signsUp())
|
|
27032
|
+
say(FooterRepairCode.FirstWithoutSignUp, 'the sign-up first on a phone needs a sign-up, and this footer holds none: the blocks stack');
|
|
27033
|
+
phone = FooterPhone.Stack;
|
|
27034
|
+
}
|
|
26489
27035
|
if (arrange === FooterArrange.Halves && !partHolds(holds).length) {
|
|
26490
27036
|
say(FooterRepairCode.HalvesEmpty, 'halves need a block beside the name and the footer holds none: drawn as columns');
|
|
26491
27037
|
arrange = FooterArrange.Columns;
|
|
@@ -26494,7 +27040,7 @@ function checkFooter(given, ctx) {
|
|
|
26494
27040
|
say(FooterRepairCode.Empty, 'a footer that holds nothing holds the pages');
|
|
26495
27041
|
holds = inOrder(FooterIngredient.Holds, [FooterHold.Pages, ...holds]);
|
|
26496
27042
|
}
|
|
26497
|
-
return { mix: { ...mix, holds, closing, arrange, nameStyle, ground }, repairs };
|
|
27043
|
+
return { mix: { ...mix, holds, closing, arrange, nameStyle, ground, before, phone }, repairs };
|
|
26498
27044
|
}
|
|
26499
27045
|
// ── The recipe: the mix arranged from the contract's parts ─────────────────────────────────────────────────────────
|
|
26500
27046
|
const clone$5 = (v) => JSON.parse(JSON.stringify(v));
|
|
@@ -26576,6 +27122,9 @@ function holdPart(hold, mix, ctx) {
|
|
|
26576
27122
|
if (hold === FooterHold.Social)
|
|
26577
27123
|
return socialPart(ctx);
|
|
26578
27124
|
const node = part$3(hold);
|
|
27125
|
+
// AW12 `phone.first` (8pm): on a phone the sign-up stands before the footer's other blocks — an order, never a copy.
|
|
27126
|
+
if (hold === FooterHold.Newsletter)
|
|
27127
|
+
return phoneOf(mix) === FooterPhone.First ? { ...node, resp: { ...(node.resp ?? {}), mobile: { ...(node.resp?.['mobile'] ?? {}), order: '-1' } } } : node;
|
|
26579
27128
|
if (hold !== FooterHold.Contact || !mix.holds.includes(FooterHold.Visit))
|
|
26580
27129
|
return node;
|
|
26581
27130
|
return { ...node, c: (node.c ?? []).filter(n => n.ph !== 'city') };
|
|
@@ -26611,6 +27160,9 @@ function beforeBlock(mix, ctx) {
|
|
|
26611
27160
|
const c = (node.c ?? []).map(n => (n.slot === 'beforeTitle' && line ? { ...n, text: line, ...(lineHe ? { textHe: lineHe } : {}) } : n));
|
|
26612
27161
|
return [{ ...node, c }, part$3('rule')];
|
|
26613
27162
|
}
|
|
27163
|
+
case FooterBefore.NewsletterBand:
|
|
27164
|
+
// AW12 newsletter (cancan): the sign-up as a band that opens the footer, a rule under it.
|
|
27165
|
+
return [part$3('newsletter-band'), part$3('rule')];
|
|
26614
27166
|
case FooterBefore.Visit:
|
|
26615
27167
|
return [{ t: 'Container', es: 'box', role: FooterRole.Before, lay: { display: 'flex', flexWrap: 'wrap', alignItems: 'baseline', justifyContent: 'space-between', gap: GAP$1 },
|
|
26616
27168
|
c: part$3(FooterHold.Visit).c ?? [] }, part$3('rule')];
|
|
@@ -26696,6 +27248,8 @@ function footerPattern(given, ctx) {
|
|
|
26696
27248
|
[FooterClosing.Statement]: () => [part$3('statement')],
|
|
26697
27249
|
[FooterClosing.Word]: () => [callWord(ctx)],
|
|
26698
27250
|
[FooterClosing.Email]: () => (ctx.email?.trim() ? [emailLine(ctx.email.trim(), ctx)] : []),
|
|
27251
|
+
// AW12 `closing.newsletter` (enigma): the footer opens on the sign-up, in the call's place.
|
|
27252
|
+
[FooterClosing.Newsletter]: () => [mix.arrange === FooterArrange.Centred ? centred(part$3('newsletter-band')) : part$3('newsletter-band')],
|
|
26699
27253
|
};
|
|
26700
27254
|
const before = opens[mix.closing]?.() ?? [];
|
|
26701
27255
|
const body = mix.closing === FooterClosing.NameAndAction ? endOf(mix, ctx) : bodyOf$2(mix, ctx);
|
|
@@ -26873,6 +27427,46 @@ function filmOfPlan(plan) {
|
|
|
26873
27427
|
return sequence && screens !== null ? { sequence, heightVh: Math.round((screens + 1) * 100) } : null;
|
|
26874
27428
|
}
|
|
26875
27429
|
|
|
27430
|
+
/**
|
|
27431
|
+
* AW12 newsletter (award-ingredients-plan §7.1g, AW12-D6): a footer asks people to sign up only where the site has a reason
|
|
27432
|
+
* to write, and a kind of business whose references close with a sign-up gets one when its plan's footer has none — the
|
|
27433
|
+
* same plan composes the same footer, so a rebuild from a kept plan picks the sign-up up with no model call. The sign-up is
|
|
27434
|
+
* the forms-core `newsletter` preset: stored, sent nowhere (no third-party list, AW12-D6). Pure.
|
|
27435
|
+
*/
|
|
27436
|
+
const WRITES_WORDS = SPEC_SITE_LAYOUT.footer.rules.writesWords;
|
|
27437
|
+
/** A Hebrew word may carry one prefix letter before its stem (ו ה ב ל מ ש כ). */
|
|
27438
|
+
const HE_PREFIX = '[והבלמשכ]?';
|
|
27439
|
+
const escape = (w) => w.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
27440
|
+
const WRITES_RE = new RegExp(`(?:^|[^\\p{L}])${HE_PREFIX}(?:${WRITES_WORDS.map(escape).join('|')})`, 'iu');
|
|
27441
|
+
/**
|
|
27442
|
+
* AW12-D6: whether the site has a reason to write — it sells (a shop's new pieces), its kind of business closes with a
|
|
27443
|
+
* sign-up (`typeSignUp`, harness FOOTER_SIGNUP: a hotel's seasons, a salon's offers), the owner ticked the newsletter popup,
|
|
27444
|
+
* or one of its content types is a journal, events or news (the contract's `FOOTER.rules.writesWords`, at a word's start).
|
|
27445
|
+
*/
|
|
27446
|
+
function planWrites(plan, typeSignUp) {
|
|
27447
|
+
if (typeSignUp || plan.popup?.newsletter === true || planSells(plan))
|
|
27448
|
+
return true;
|
|
27449
|
+
return (plan.contentTypes ?? []).some(t => WRITES_RE.test(t.name) || WRITES_RE.test(t.label ?? ''));
|
|
27450
|
+
}
|
|
27451
|
+
/** True when a mix asks people to sign up anywhere — the band before it, the closing, or a block it holds. */
|
|
27452
|
+
function footerSignsUp(mix) {
|
|
27453
|
+
return beforeOf(mix) === FooterBefore.NewsletterBand || mix.closing === FooterClosing.Newsletter || mix.holds.includes(FooterHold.Newsletter);
|
|
27454
|
+
}
|
|
27455
|
+
/**
|
|
27456
|
+
* The type's sign-up (team/reference-cards row 6: hotel 3/3, store 3/3, ceramics 2/3, salon 2/3): a footer that asks for no
|
|
27457
|
+
* sign-up holds one when the kind of business closes with one AND the site has a reason to write. A footer that already
|
|
27458
|
+
* signs up keeps its own; a one-line footer and a name-and-action footer have no place for a block (`checkFooter` would
|
|
27459
|
+
* leave it out), so they are left as the plan wrote them. Pure: the same mix when nothing changes.
|
|
27460
|
+
*/
|
|
27461
|
+
function withTypeSignUp(mix, given) {
|
|
27462
|
+
if (!given.signUp || given.writes === false || footerSignsUp(mix))
|
|
27463
|
+
return mix;
|
|
27464
|
+
if (mix.arrange === FooterArrange.Line || mix.closing === FooterClosing.NameAndAction)
|
|
27465
|
+
return mix;
|
|
27466
|
+
const holds = footerTableWords(FooterIngredient.Holds).filter(h => h === FooterHold.Newsletter || mix.holds.includes(h));
|
|
27467
|
+
return { ...mix, holds };
|
|
27468
|
+
}
|
|
27469
|
+
|
|
26876
27470
|
/**
|
|
26877
27471
|
* THE LEGAL PAGES (award-ingredients-plan §4.3, AW1; consent plan C5) — read from ONE table, the contract's
|
|
26878
27472
|
* `site.layout.legal` (layout.mjs `LEGAL`): which legal page KINDS a site needs follows from facts the site and the
|
|
@@ -27501,6 +28095,56 @@ function nameFits(ctx, oneLine) {
|
|
|
27501
28095
|
const laptopOk = !oneLine || (LAPTOP_PX - 2 * LAPTOP_SIDE_PX) / line >= MIN_LAPTOP_DISPLAY_PX;
|
|
27502
28096
|
return laptopOk && (PHONE_PX - 2 * PHONE_SIDE_PX) / longest >= MIN_PHONE_DISPLAY_PX;
|
|
27503
28097
|
}
|
|
28098
|
+
/** The laptop and phone the opening's display is set for (the reference cards' screens). */
|
|
28099
|
+
const LAPTOP_SCREEN_H = 900;
|
|
28100
|
+
const PHONE_SCREEN_H = 844;
|
|
28101
|
+
/** The phone's frame padding beside the words (FRAME_PAD at 375) and a panel's padding when the look names none (px). */
|
|
28102
|
+
const PHONE_FRAME_PX = 20;
|
|
28103
|
+
const PANEL_PAD_PX = 32;
|
|
28104
|
+
const PX = /^(\d+(?:\.\d+)?)px$/;
|
|
28105
|
+
const CLAMP_PX = /^clamp\((\d+(?:\.\d+)?)px,.*?,\s*(\d+(?:\.\d+)?)px\)$/;
|
|
28106
|
+
/**
|
|
28107
|
+
* Type scale (the 2026-11-28 reference baseline, gap #3): the opening's headline, set to ITS words on the look's own face
|
|
28108
|
+
* rather than the look's one display size — so a short headline stands as the references' do (9–22× the body) and a long
|
|
28109
|
+
* one stays inside its lines. The largest size that keeps (contract `rules.display`): ≤ `capBody` × body; ≤ `lines` lines
|
|
28110
|
+
* across the words' room (a wrapped line filled to `fill`); the longest word on one line; the lines within `screenShare`
|
|
28111
|
+
* of the screen — on a 1440 × 900 laptop, and with the phone's own lines and share on a 375 × 844 phone; fluid between
|
|
28112
|
+
* (`cqi`, as the look's display token: the builder canvas reads its simulated width). Never below the look's display token
|
|
28113
|
+
* on either screen: null when the words would stand no larger than it (the token stays). `panel` — the words stand in a
|
|
28114
|
+
* scrim panel (its padding leaves less room). Pure.
|
|
28115
|
+
*/
|
|
28116
|
+
function openingDisplaySize(ctx, panel) {
|
|
28117
|
+
const R = O.rules.display;
|
|
28118
|
+
const { line, longest } = nameEm(ctx);
|
|
28119
|
+
if (!line || !longest)
|
|
28120
|
+
return null;
|
|
28121
|
+
const rows = new Map(designTokenRows(ctx.design ?? resolveDesignChoices({})).map(r => [r.name, r.value]));
|
|
28122
|
+
const body = Number(PX.exec(rows.get('size-body') ?? '')?.[1] ?? 16);
|
|
28123
|
+
const token = CLAMP_PX.exec(rows.get('size-display') ?? '');
|
|
28124
|
+
if (!token)
|
|
28125
|
+
return null;
|
|
28126
|
+
const [tokenPhone, tokenLaptop] = [Number(token[1]), Number(token[2])];
|
|
28127
|
+
const pad = panel ? Number(PX.exec(rows.get('space-pad') ?? '')?.[1] ?? PANEL_PAD_PX) : 0;
|
|
28128
|
+
/** The largest size that keeps the words within `lines` lines of `room`, their longest word on one, the lines within
|
|
28129
|
+
* `screen` px — never above the cap. */
|
|
28130
|
+
const fitted = (room, lines, screen) => {
|
|
28131
|
+
let size = 0;
|
|
28132
|
+
for (let n = 1; n <= lines; n++) {
|
|
28133
|
+
const across = (room * n * (n === 1 ? FIT : R.fill)) / line;
|
|
28134
|
+
size = Math.max(size, Math.min(R.capBody * body, across, (room * FIT) / longest, screen / n));
|
|
28135
|
+
}
|
|
28136
|
+
return Math.floor(size);
|
|
28137
|
+
};
|
|
28138
|
+
const laptop = fitted(Math.min(R.roomPx, LAPTOP_PX - 2 * LAPTOP_SIDE_PX) - 2 * pad, R.lines, R.screenShare * LAPTOP_SCREEN_H);
|
|
28139
|
+
const phone = Math.min(laptop, fitted(PHONE_PX - 2 * PHONE_FRAME_PX - 2 * pad, R.phoneLines, R.phoneScreenShare * PHONE_SCREEN_H));
|
|
28140
|
+
if (laptop <= tokenLaptop)
|
|
28141
|
+
return null;
|
|
28142
|
+
// Never smaller than the token on a phone either: where the words would want less, the token's own size stands.
|
|
28143
|
+
const phonePx = Math.max(phone, Math.min(tokenPhone, laptop));
|
|
28144
|
+
const slope = ((laptop - phonePx) / (LAPTOP_PX - PHONE_PX)) * 100;
|
|
28145
|
+
const intercept = phonePx - (slope / 100) * PHONE_PX;
|
|
28146
|
+
return { laptopPx: laptop, phonePx, fontSize: `clamp(${phonePx}px, ${slope.toFixed(2)}cqi + ${intercept.toFixed(1)}px, ${laptop}px)` };
|
|
28147
|
+
}
|
|
27504
28148
|
/**
|
|
27505
28149
|
* The ONE judge of an opening mix against the site: what the site cannot carry is mended to the nearest mix it can, and
|
|
27506
28150
|
* each mend is said. Judges the mix as DRAWN (`drawnOpeningMix` first). Never throws on a well-formed mix. Pure.
|
|
@@ -27592,6 +28236,8 @@ const SCRIM_WORDS_PAD = 'var(--iox-space-pad)';
|
|
|
27592
28236
|
/** iox-ui#133 (AW-D41, one edge): a frame's words start on the content column every other section starts on — its inline
|
|
27593
28237
|
* padding is never less than `space-inline`; the frame itself may bleed, its words do not. */
|
|
27594
28238
|
const framePadding = (block) => `${block} max(${block}, ${LAYOUT_INSET})`;
|
|
28239
|
+
/** The opening's words column at the look's display size, and the reading measure of the line under a larger one. */
|
|
28240
|
+
const WORDS_MAX = '760px';
|
|
27595
28241
|
/** A display line is sized a little under its measured width, so a rounding never wraps it. */
|
|
27596
28242
|
const FIT = 0.95;
|
|
27597
28243
|
/** The phone's inset: within the contract's 8–16 px at every phone width. */
|
|
@@ -27766,11 +28412,12 @@ function typeLedWordsNodes(mix, ctx) {
|
|
|
27766
28412
|
return [apart, typeLedAside('bottom')];
|
|
27767
28413
|
}
|
|
27768
28414
|
default:
|
|
28415
|
+
const sized = openingDisplaySize(ctx, false);
|
|
27769
28416
|
return [{
|
|
27770
28417
|
t: 'Container', es: 'box', role: OpeningRole.Words,
|
|
27771
|
-
lay: { ...OVER(1), display: 'flex', flexDirection: 'column', gap: '14px', maxWidth:
|
|
28418
|
+
lay: { ...OVER(1), display: 'flex', flexDirection: 'column', gap: '14px', maxWidth: sized ? `${O.rules.display.roomPx}px` : WORDS_MAX },
|
|
27772
28419
|
enter: 'heroText',
|
|
27773
|
-
c: [eyebrowPart(), title({}), typeLedLead(), actionsPart()],
|
|
28420
|
+
c: [eyebrowPart(), title(sized ? { fontSize: sized.fontSize } : {}), typeLedLead(sized ? { maxWidth: WORDS_MAX } : {}), actionsPart()],
|
|
27774
28421
|
}];
|
|
27775
28422
|
}
|
|
27776
28423
|
}
|
|
@@ -27827,11 +28474,14 @@ function wordsNodes(mix, ctx) {
|
|
|
27827
28474
|
// iox-ui#157: the words stand IN a scrim panel (its fill is the scrim the picture made asks for), so the panel
|
|
27828
28475
|
// keeps its inner space on every side — the look's own panel padding — and its button its own width (the
|
|
27829
28476
|
// asides' rule): the heading, the line and the button touched the panel's edges, the button ran across it.
|
|
28477
|
+
// Type scale: the headline set to its words (`openingDisplaySize`); the panel then makes room for it, and the line
|
|
28478
|
+
// under it keeps a reading measure.
|
|
28479
|
+
const sized = openingDisplaySize(ctx, true);
|
|
27830
28480
|
return [{
|
|
27831
28481
|
t: 'Container', es: 'media-scrim', role: OpeningRole.Words,
|
|
27832
|
-
lay: { ...OVER(1), display: 'flex', flexDirection: 'column', alignItems: 'flex-start', gap: '14px', maxWidth:
|
|
28482
|
+
lay: { ...OVER(1), display: 'flex', flexDirection: 'column', alignItems: 'flex-start', gap: '14px', maxWidth: sized ? `min(${O.rules.display.roomPx}px, 100%)` : WORDS_MAX, padding: SCRIM_WORDS_PAD },
|
|
27833
28483
|
enter: 'heroText',
|
|
27834
|
-
c: [title({}), lead(), action()],
|
|
28484
|
+
c: [title(sized ? { fontSize: sized.fontSize } : {}), lead(sized ? { maxWidth: WORDS_MAX } : {}), action()],
|
|
27835
28485
|
}];
|
|
27836
28486
|
}
|
|
27837
28487
|
}
|
|
@@ -33086,6 +33736,9 @@ var ComposeIssueCode;
|
|
|
33086
33736
|
ComposeIssueCode["PopupMended"] = "popup-mended";
|
|
33087
33737
|
/** Popups PU3: the owner's popup line made no popup (a figure the owner's words do not hold, news too long): the detail says why. */
|
|
33088
33738
|
ComposeIssueCode["PopupRefused"] = "popup-refused";
|
|
33739
|
+
/** Composition (composition-plan.md): a pattern page borrowed a section the plan wrote on another page, or was reordered
|
|
33740
|
+
* so no two neighbours share a skeleton (`composePlaces`): the detail says what. */
|
|
33741
|
+
ComposeIssueCode["CompositionMended"] = "composition-mended";
|
|
33089
33742
|
})(ComposeIssueCode || (ComposeIssueCode = {}));
|
|
33090
33743
|
/** The issues that are a dangling link (a route the plan has no page for) and what was done about it. */
|
|
33091
33744
|
const DANGLING_LINK_CODES = new Set([
|
|
@@ -33259,9 +33912,9 @@ function resolveScopedPath(path, repeater, ctx, nodeId) {
|
|
|
33259
33912
|
if (!parsed.role)
|
|
33260
33913
|
return { source, path: parsed.field || ITEM_VALUE_PATH };
|
|
33261
33914
|
const type = typeSource ? contentTypeOfSource(typeSource, ctx.plan) : undefined;
|
|
33262
|
-
// #129: a list whose items have no picture
|
|
33263
|
-
|
|
33264
|
-
|
|
33915
|
+
// #129 × iox-ui#191: a list whose items have no picture KEEPS its picture part, bound — the shared CSS draws a card
|
|
33916
|
+
// without it wherever its own item has none (iox-design.css "A row's card with no picture"), so the owner's photos,
|
|
33917
|
+
// added after the build, show the moment they are saved. Never decided here, at build time.
|
|
33265
33918
|
const field = roleField(type, parsed.role);
|
|
33266
33919
|
if (field)
|
|
33267
33920
|
return { source, path: field };
|
|
@@ -34513,6 +35166,85 @@ function composePageSeo(page, plan) {
|
|
|
34513
35166
|
const robots = nonEmpty$1(page.seo?.robots) ? page.seo.robots : undefined;
|
|
34514
35167
|
return { ...(title ? { title } : {}), ...(description ? { description } : {}), ...(robots ? { robots } : {}) };
|
|
34515
35168
|
}
|
|
35169
|
+
/** A borrowed list shows its first `limit` items: the first Repeater (or a recipe holding a `limit`, the accordion's). */
|
|
35170
|
+
function cutList(root, limit) {
|
|
35171
|
+
let done = false;
|
|
35172
|
+
walkSerialized([root], n => {
|
|
35173
|
+
if (done)
|
|
35174
|
+
return;
|
|
35175
|
+
const held = n.props?.['limit'];
|
|
35176
|
+
if (n.type !== REPEATER && held === undefined)
|
|
35177
|
+
return;
|
|
35178
|
+
setProp(n, 'limit', typeof held === 'number' ? Math.min(held, limit) : limit);
|
|
35179
|
+
done = true;
|
|
35180
|
+
});
|
|
35181
|
+
}
|
|
35182
|
+
/**
|
|
35183
|
+
* Composition (composition-plan.md): a pattern page's places — its own sections, then what it borrows from the plan's
|
|
35184
|
+
* other pages (`compositionBorrows`, each stamped without a placeholder or an issue, its list cut to the borrow's
|
|
35185
|
+
* `limit`), in the order nearest the archetype's in which no two neighbours share a skeleton (`orderPlaces`). Plan
|
|
35186
|
+
* sections keep their node ids (`<page>-<i>`); a borrowed one is `<page>-borrowed-<n>`. Every borrow and reorder is said.
|
|
35187
|
+
*/
|
|
35188
|
+
function composePlaces(page, plan, own, stamp, issues) {
|
|
35189
|
+
// A template's item page, a page kind the table names no minimum for: its plan's order as written.
|
|
35190
|
+
if (!composesPage(page))
|
|
35191
|
+
return own;
|
|
35192
|
+
const kind = pageKindOf(page);
|
|
35193
|
+
const stamped = [];
|
|
35194
|
+
const borrowed = compositionBorrows(page, plan, (b) => {
|
|
35195
|
+
const sink = { placeholders: [], issues: [] };
|
|
35196
|
+
let root;
|
|
35197
|
+
try {
|
|
35198
|
+
root = stampSection(stamp(b.section, `${page.key}-borrowed-${stamped.length}`, sink), { pattern: b.section.pattern });
|
|
35199
|
+
}
|
|
35200
|
+
catch {
|
|
35201
|
+
return false;
|
|
35202
|
+
}
|
|
35203
|
+
if (sink.placeholders.length || sink.issues.length)
|
|
35204
|
+
return false;
|
|
35205
|
+
if (b.limit)
|
|
35206
|
+
cutList(root, b.limit);
|
|
35207
|
+
stamped.push(root);
|
|
35208
|
+
return true;
|
|
35209
|
+
});
|
|
35210
|
+
const last = page.sections.length - 1;
|
|
35211
|
+
const ownPlaces = page.sections.map((s, i) => ({
|
|
35212
|
+
skeleton: sectionSkeleton(s, i), rank: archetypeRank(kind, s.pattern), ask: i === last && patternById(s.pattern)?.family === 'cta',
|
|
35213
|
+
}));
|
|
35214
|
+
const borrowedPlaces = borrowed.map(b => ({ skeleton: b.skeleton, rank: archetypeRank(kind, b.section.pattern), ask: b.kind === BorrowKind.Ask }));
|
|
35215
|
+
const places = [...ownPlaces, ...borrowedPlaces];
|
|
35216
|
+
const base = baseOrder(ownPlaces, borrowedPlaces);
|
|
35217
|
+
const holdLast = places[base[base.length - 1]]?.ask === true;
|
|
35218
|
+
const order = orderPlaces(places, base, holdLast);
|
|
35219
|
+
const nodes = [...own, ...stamped];
|
|
35220
|
+
// The last mend: a sibling carrying every slot, for a pair no order clears — kept only when it stamps clean.
|
|
35221
|
+
for (const [i, swapped] of compositionSwaps(page.sections, order, places.map(p => p.skeleton), holdLast)) {
|
|
35222
|
+
const sink = { placeholders: [], issues: [] };
|
|
35223
|
+
let root;
|
|
35224
|
+
try {
|
|
35225
|
+
root = stampSection(stamp(swapped, nodes[i].id, sink), { pattern: swapped.pattern });
|
|
35226
|
+
}
|
|
35227
|
+
catch {
|
|
35228
|
+
continue;
|
|
35229
|
+
}
|
|
35230
|
+
if (sink.placeholders.length || sink.issues.length)
|
|
35231
|
+
continue;
|
|
35232
|
+
nodes[i] = root;
|
|
35233
|
+
places[i] = { ...places[i], skeleton: skeletonOf(swapped.pattern) };
|
|
35234
|
+
issues.push({
|
|
35235
|
+
code: ComposeIssueCode.CompositionMended, nodeId: root.id, owner: page.key,
|
|
35236
|
+
detail: `${page.name}: ${patternById(page.sections[i].pattern)?.label ?? page.sections[i].pattern} is worn as ${patternById(swapped.pattern)?.label ?? swapped.pattern} so no two neighbours share a skeleton`,
|
|
35237
|
+
});
|
|
35238
|
+
}
|
|
35239
|
+
borrowed.forEach((b, j) => issues.push({ code: ComposeIssueCode.CompositionMended, nodeId: stamped[j].id, owner: page.key, detail: b.said }));
|
|
35240
|
+
if (order.some((v, i) => v !== base[i])) {
|
|
35241
|
+
issues.push({
|
|
35242
|
+
code: ComposeIssueCode.CompositionMended, nodeId: page.key, owner: page.key,
|
|
35243
|
+
detail: `${page.name}'s sections were reordered so no two neighbours share a skeleton (${order.map(i => places[i].skeleton).join(' · ')})`,
|
|
35244
|
+
});
|
|
35245
|
+
}
|
|
35246
|
+
return order.map(i => nodes[i]);
|
|
35247
|
+
}
|
|
34516
35248
|
function composeDataSource(ds) {
|
|
34517
35249
|
const id = `ds-${ds.alias}`;
|
|
34518
35250
|
if (ds.type === PlanDataSourceType.Cms) {
|
|
@@ -34626,39 +35358,29 @@ function composeLayoutPage(page, layout, plan, context, design, placeholders, re
|
|
|
34626
35358
|
const image = type && pictureless.has(type.name) ? undefined : roleField(type, 'image');
|
|
34627
35359
|
return image ? { image, ...(roleField(type, 'title') ? { title: roleField(type, 'title') } : {}) } : null;
|
|
34628
35360
|
},
|
|
34629
|
-
listOf: alias =>
|
|
35361
|
+
listOf: alias => layoutListBinding(alias, plan),
|
|
34630
35362
|
...(context.carry?.[page.key] ? { carry: context.carry[page.key] } : {}),
|
|
34631
35363
|
});
|
|
34632
35364
|
fillPageFacts(nodes, page, plan, placeholders);
|
|
34633
35365
|
return nodes;
|
|
34634
35366
|
}
|
|
34635
|
-
/** How a model-laid page reads one list (`layoutListBinding`) — #129: a list whose items have no picture is read as a list
|
|
34636
|
-
* without one (its cards draw no picture part). */
|
|
34637
|
-
function pageListOf(alias, plan, pictureless) {
|
|
34638
|
-
const binding = layoutListBinding(alias, plan);
|
|
34639
|
-
const type = contentTypeOfSource(alias, plan);
|
|
34640
|
-
if (!binding || !type || !pictureless.has(type.name) || !binding.roles[ContentRole.Image])
|
|
34641
|
-
return binding;
|
|
34642
|
-
const { [ContentRole.Image]: _none, ...roles } = binding.roles;
|
|
34643
|
-
return { ...binding, roles };
|
|
34644
|
-
}
|
|
34645
35367
|
/**
|
|
34646
35368
|
* FS3: a free page — the model's own nodes, stamped by `composeFreePage` in the look's pace — with the site's facts
|
|
34647
35369
|
* written in as on a composed page; a section the fall back gave back is the plan's ready-made one.
|
|
34648
35370
|
*/
|
|
34649
|
-
function composeFreePlanPage(page, free, plan, context, placeholders,
|
|
34650
|
-
const nodes = composeFreePage(free, freeOptionsOf(page, plan, context,
|
|
35371
|
+
function composeFreePlanPage(page, free, plan, context, placeholders, readyMade) {
|
|
35372
|
+
const nodes = composeFreePage(free, freeOptionsOf(page, plan, context, readyMade));
|
|
34651
35373
|
fillPageFacts(nodes, page, plan, placeholders);
|
|
34652
35374
|
return nodes;
|
|
34653
35375
|
}
|
|
34654
35376
|
/** What the free stamp reads of the site: its language, the look's pace, the owner's pictures, the plan's lists. */
|
|
34655
|
-
function freeOptionsOf(page, plan, context,
|
|
35377
|
+
function freeOptionsOf(page, plan, context, readyMade) {
|
|
34656
35378
|
const locale = plan.locale ?? DEFAULT_SITE_LOCALE;
|
|
34657
35379
|
return {
|
|
34658
35380
|
owner: page.key, locale, rtl: isRtlLocale(locale), motion: layoutMotionOf(layoutPresetOf(plan.design).id),
|
|
34659
35381
|
// iox-ui#180: a picture box is an empty picture (the build fills it), never an address.
|
|
34660
35382
|
photoSrc: id => (isFreeBox(id) ? '' : context.photoSrc?.(id) ?? ''), photoAlt: id => (isFreeBox(id) ? '' : context.photoAlt?.(id) ?? ''),
|
|
34661
|
-
listOf: alias =>
|
|
35383
|
+
listOf: alias => layoutListBinding(alias, plan),
|
|
34662
35384
|
listFields: alias => fieldsOf(listedContentType(alias, plan)),
|
|
34663
35385
|
quotes: quoteListOf(plan),
|
|
34664
35386
|
...(readyMade ? {
|
|
@@ -34815,13 +35537,16 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
34815
35537
|
const routes = new Set(plan.pages.map(p => p.route));
|
|
34816
35538
|
const relatives = new Map(plan.dataSources.map(d => [d.alias, d.type === PlanDataSourceType.Relative ? { type: d.type, of: d.of, op: d.op } : { type: d.type }]));
|
|
34817
35539
|
const email = nonEmpty$1(plan.business.facts?.email) ? plan.business.facts.email.trim() : null;
|
|
34818
|
-
const base = { plan, placeholders, issues, routes, year: context.year, email, navPage: null
|
|
35540
|
+
const base = { plan, placeholders, issues, routes, year: context.year, email, navPage: null };
|
|
34819
35541
|
// AW-D42: every plan wears the look's whole motion language (a lower plan's Pro words were drawn as its own, AW-D23).
|
|
34820
|
-
|
|
35542
|
+
// CV2: the plan's design with its colour words (`planDesignChoices`) — what the build's Look step writes; MR-D1: signed
|
|
35543
|
+
// by its kind of business (a preloader or By the scroll; a Still start lifted) — the build applies it.
|
|
35544
|
+
const design = withSignatureMove(motionLanguageForPlan(planDesignChoices(plan)), context?.signature).design;
|
|
34821
35545
|
const locale = plan.locale ?? DEFAULT_SITE_LOCALE;
|
|
34822
35546
|
const rtl = isRtlLocale(locale);
|
|
34823
35547
|
// AW6: the plan's body (seams, inset cards) as the site may carry it — every mend said (`body-mended`).
|
|
34824
|
-
|
|
35548
|
+
// CV-D9: the colour's `bands.inset` is AW6's inset card, folded into the body before it is judged.
|
|
35549
|
+
const bodyMixAsked = bodyWithColourBands(bodyMixOfPlan(plan), colourMixOfPlan(plan));
|
|
34825
35550
|
const bodyChecked = bodyMixAsked ? checkBody(drawnBodyMix(bodyMixAsked).drawn, { calm: !!context?.calm }) : null;
|
|
34826
35551
|
for (const r of bodyChecked?.repairs ?? [])
|
|
34827
35552
|
issues.push({ code: ComposeIssueCode.BodyMended, nodeId: 'body', owner: 'body', detail: r.said });
|
|
@@ -34832,7 +35557,7 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
34832
35557
|
// FS3: the model's own page. Its opening is its own (the plan's opening is never worn over it) — but a ready-made
|
|
34833
35558
|
// opening (the fall back's, or the type-led round's when nothing fills its picture, iox-ui#180) is the plan's
|
|
34834
35559
|
// section, worn as every Home's is.
|
|
34835
|
-
const stamped = composeFreePlanPage(page, page.free, plan, context, placeholders,
|
|
35560
|
+
const stamped = composeFreePlanPage(page, page.free, plan, context, placeholders, (section, id, at) => composePattern(patternById(section.pattern), id, { ...base, owner: page.key, page, section, nextAlias }, { level: section.enter ?? design.animate ?? null, rtl, move: design.headings ?? null, scrub: design.scrub ?? null, opening: at === 0 }));
|
|
34836
35561
|
const readyOpening = page.free.sections[0]?.readyMade;
|
|
34837
35562
|
const nodes = readyOpening ? wearPlanOpening(page, stamped, plan, context, design, placeholders, issues, false, page.sections[readyOpening.at]) : stamped;
|
|
34838
35563
|
const opening = schemeOfFirst(nodes);
|
|
@@ -34845,7 +35570,11 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
34845
35570
|
if (page.layout) {
|
|
34846
35571
|
// vectoriox/iox-ui#99: a composed page that is where the site lists the shop lists it (a stored layout too).
|
|
34847
35572
|
const layout = withShownList(page.layout, layoutListsContext(page, plan)) ?? page.layout;
|
|
34848
|
-
|
|
35573
|
+
// A ready-made band on a composed page wears the look's By the scroll as the same pattern on a pattern page does
|
|
35574
|
+
// (found by AW-D42); the page's first screen plays on time (AW10-D8).
|
|
35575
|
+
const openingAt = layout.sections[0]?.readyMade?.at;
|
|
35576
|
+
const stamped = stampLayoutSections(page, layout, composeLayoutPage(page, layout, plan, context, design, placeholders, (section, id) => composePattern(patternById(section.pattern), id, { ...base, owner: page.key, page, section, nextAlias }, { level: section.enter ?? design.animate ?? null, rtl, move: design.headings ?? null, scrub: design.scrub ?? null,
|
|
35577
|
+
opening: openingAt !== undefined && page.sections[openingAt] === section }), pictureless));
|
|
34849
35578
|
// AW8: the plan's opening is the home page's first screen; a pinned or kept first place is never replaced.
|
|
34850
35579
|
const first = layout.sections[0];
|
|
34851
35580
|
const worn = wearPlanOpening(page, stamped, plan, context, design, placeholders, issues, !!(first?.pin || first?.carry), first?.readyMade ? page.sections[first.readyMade.at] : undefined);
|
|
@@ -34858,17 +35587,20 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
34858
35587
|
layout: joinPageHeader(wearBodyMix(worn, body)),
|
|
34859
35588
|
};
|
|
34860
35589
|
}
|
|
34861
|
-
const
|
|
35590
|
+
const own = page.sections.map((section, i) => {
|
|
34862
35591
|
const pattern = patternById(section.pattern);
|
|
34863
35592
|
const motion = { level: section.enter ?? design.animate ?? null, rtl, move: design.headings ?? null, scrub: design.scrub ?? null, opening: i === 0 };
|
|
34864
35593
|
// FS-D19: a free signature section stands in its place; its fall back is this pattern.
|
|
34865
35594
|
if (section.free) {
|
|
34866
|
-
const root = composeFreeSection(section.free, `${page.key}-${i}`, freeOptionsOf(page, plan, context
|
|
35595
|
+
const root = composeFreeSection(section.free, `${page.key}-${i}`, freeOptionsOf(page, plan, context));
|
|
34867
35596
|
fillPageFacts([root], page, plan, placeholders);
|
|
34868
35597
|
return root;
|
|
34869
35598
|
}
|
|
34870
35599
|
return stampSection(composePattern(pattern, `${page.key}-${i}`, { ...base, owner: page.key, page, section, nextAlias }, motion), { pattern: section.pattern });
|
|
34871
|
-
})
|
|
35600
|
+
});
|
|
35601
|
+
// Composition: what the page borrows from the plan's other pages, and the order no two neighbours share a skeleton in.
|
|
35602
|
+
const placed = composePlaces(page, plan, own, (section, id, sink) => composePattern(patternById(section.pattern), id, { ...base, ...sink, owner: page.key, page, section, nextAlias }, { level: section.enter ?? design.animate ?? null, rtl, move: design.headings ?? null, scrub: design.scrub ?? null, opening: false }), issues);
|
|
35603
|
+
const layout = wearPlanOpening(page, placed, plan, context, design, placeholders, issues, false, page.sections[0]);
|
|
34872
35604
|
const opening = schemeOfFirst(layout);
|
|
34873
35605
|
return {
|
|
34874
35606
|
key: page.key,
|
|
@@ -34879,7 +35611,9 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
34879
35611
|
locale,
|
|
34880
35612
|
pageSettings: { designSystem: true, ...(opening ? { opening } : {}) },
|
|
34881
35613
|
seo: composePageSeo(page, plan),
|
|
34882
|
-
|
|
35614
|
+
// CO4: on a pattern page every two neighbours on one ground are one section space apart (the page header's join
|
|
35615
|
+
// is one case of it).
|
|
35616
|
+
layout: joinSameGround(wearBodyMix(layout, body)),
|
|
34883
35617
|
};
|
|
34884
35618
|
});
|
|
34885
35619
|
// LI5: the footer is the plan's footer MIX (a stored pattern id is read as one), checked and arranged from the
|
|
@@ -34895,8 +35629,11 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
34895
35629
|
...(context?.businessType ? { type: context.businessType } : {}), ...(context?.footerNever ? { never: context.footerNever } : {}),
|
|
34896
35630
|
// AW12-D13 (iox-ui#153): the build's tier — absent, Basic, as the body's — never wears an award word.
|
|
34897
35631
|
tier: context?.tier ?? GenerationTier.Basic,
|
|
35632
|
+
// AW12-D6: a sign-up only where the site has a reason to write (a journal, events, a shop, the type, the owner's tick).
|
|
35633
|
+
writes: planWrites(plan, context?.footerSignUp),
|
|
34898
35634
|
};
|
|
34899
|
-
|
|
35635
|
+
// AW12 newsletter: the kind of business's sign-up when the plan's footer asks for none — the same plan, the same footer.
|
|
35636
|
+
const footer = checkFooter(withTypeSignUp(footerMixOfPlan(plan), { signUp: context?.footerSignUp, writes: footerContext.writes }), footerContext);
|
|
34900
35637
|
for (const r of footer.repairs)
|
|
34901
35638
|
issues.push({ code: ComposeIssueCode.FooterMended, nodeId: GlobalSlot.Footer, owner: GlobalSlot.Footer, detail: r.said });
|
|
34902
35639
|
// HI1: the header is the plan's header MIX (a stored pattern id is read as one), drawn as the product draws it, checked
|
|
@@ -34904,6 +35641,8 @@ function composeSiteOnce(plan, context, pictureless) {
|
|
|
34904
35641
|
const header = planHeader(plan, {
|
|
34905
35642
|
...(context?.headerNever ? { never: context.headerNever } : {}),
|
|
34906
35643
|
...(context?.headerReadable !== undefined ? { readableAtRest: context.headerReadable } : {}),
|
|
35644
|
+
// HI-D Pro: a Pro site's header floats and its phone has the bottom bar (`proHeader`).
|
|
35645
|
+
...(context?.tier ? { tier: context.tier } : {}),
|
|
34907
35646
|
});
|
|
34908
35647
|
for (const said of header.said)
|
|
34909
35648
|
issues.push({ code: ComposeIssueCode.HeaderMended, nodeId: GlobalSlot.Header, owner: GlobalSlot.Header, detail: said });
|
|
@@ -35317,7 +36056,9 @@ function navHeaderPlan(input) {
|
|
|
35317
36056
|
/** What a studio's header is judged against (`checkHeader`) — the same context `composeNavHeader` checks with. */
|
|
35318
36057
|
function navHeaderContext(input) {
|
|
35319
36058
|
const { opening: _plan, ...context } = headerContextOfPlan(navHeaderPlan(input), input.shop ?? null);
|
|
35320
|
-
|
|
36059
|
+
const withTier = input.tier ? { ...context, tier: input.tier } : context;
|
|
36060
|
+
const withLogo = input.logo === undefined || input.logo === null ? withTier : { ...withTier, logo: input.logo };
|
|
36061
|
+
return input.opening === undefined ? withLogo : { ...withLogo, opening: input.opening };
|
|
35321
36062
|
}
|
|
35322
36063
|
function composeNavHeader(input, options) {
|
|
35323
36064
|
if (!nonEmpty$1(options?.id))
|
|
@@ -36823,6 +37564,14 @@ var HeaderRepairCode;
|
|
|
36823
37564
|
HeaderRepairCode["NoLogo"] = "no-logo";
|
|
36824
37565
|
/** HI3-D25: a kind of business that keeps its header plain never takes islands or a late name. */
|
|
36825
37566
|
HeaderRepairCode["TypeNeverShape"] = "type-never-shape";
|
|
37567
|
+
/** HI-D Pro (Doron 2026-11-29): a Pro site's header floats — a pill or islands on the look's glass (`proHeader`). */
|
|
37568
|
+
HeaderRepairCode["ProFloats"] = "pro-floats";
|
|
37569
|
+
/** HI-D Pro: a Pro site's phone has the bottom bar (`both` — the bar and a More — when its pages outnumber the bar). */
|
|
37570
|
+
HeaderRepairCode["ProPhoneBar"] = "pro-phone-bar";
|
|
37571
|
+
/** HI-D Pro: a Pro site keeps the drawer on a phone only for a stated reason (a shelf menu, pages too many for the bar). */
|
|
37572
|
+
HeaderRepairCode["ProPhoneMenu"] = "pro-phone-menu";
|
|
37573
|
+
/** HI-D Pro: a floating header carries one button where the site has a contact page to send it to. */
|
|
37574
|
+
HeaderRepairCode["ProButton"] = "pro-button";
|
|
36826
37575
|
/** HI2: pictured cards stand in a top panel, a full screen or a mega panel — never a drawer or a card: the page names. */
|
|
36827
37576
|
HeaderRepairCode["PicturesForm"] = "pictures-form";
|
|
36828
37577
|
/** HI2: pictured cards need the site's main collections with pictures (`menuPicturesMin`): the page names. */
|
|
@@ -36904,11 +37653,15 @@ function mendShape(m, ctx, say) {
|
|
|
36904
37653
|
m.brand = HeaderBrand.Fits;
|
|
36905
37654
|
say(HeaderRepairCode.TypeNeverShape, 'this kind of business keeps its header plain: one bar, the name always in it');
|
|
36906
37655
|
}
|
|
36907
|
-
|
|
36908
|
-
|
|
37656
|
+
// HI-D Pro: on Pro a floating header needs no picture under it (it always stands on its ground, R-H-S1); a late name does.
|
|
37657
|
+
const floatNeedsPicture = floats() && ctx.tier !== GenerationTier.Award;
|
|
37658
|
+
if ((floatNeedsPicture || m.brand === HeaderBrand.Later) && ctx.opening !== undefined && !opensOnPicture(ctx.opening)) {
|
|
37659
|
+
if (floatNeedsPicture)
|
|
37660
|
+
m.shape = HeaderShape.Bar;
|
|
36909
37661
|
if (m.brand === HeaderBrand.Later)
|
|
36910
37662
|
m.brand = HeaderBrand.Fits;
|
|
36911
|
-
say(HeaderRepairCode.FloatPlain, 'the home page does not open on a full picture: the header is a bar, its name in it from the top'
|
|
37663
|
+
say(HeaderRepairCode.FloatPlain, floatNeedsPicture ? 'the home page does not open on a full picture: the header is a bar, its name in it from the top'
|
|
37664
|
+
: 'the home page does not open on a full picture: the name is in the bar from the top');
|
|
36912
37665
|
}
|
|
36913
37666
|
if (m.shape === HeaderShape.Islands && (m.arrange === HeaderArrange.Centred || m.arrange === HeaderArrange.Between)) {
|
|
36914
37667
|
m.shape = HeaderShape.Pill;
|
|
@@ -36944,6 +37697,56 @@ function mendShelf(m, ctx, say) {
|
|
|
36944
37697
|
function opensOnPicture(opening) {
|
|
36945
37698
|
return !!opening && RULES.overFrames.includes(opening.frame) && RULES.overMedia.includes(opening.media);
|
|
36946
37699
|
}
|
|
37700
|
+
// ── HI-D Pro: a Pro site's header floats, and its phone has the bottom bar ──────────────────────────────────────────────
|
|
37701
|
+
const CONTACT_ROUTE = '/contact';
|
|
37702
|
+
/**
|
|
37703
|
+
* HI-D Pro (Doron, 2026-11-29: "solid header is not for PRO, the floating header with the nice design shall be almost part
|
|
37704
|
+
* of every generated pro site" + "I didn't see yet bottom bar navigation on mobile"). A Pro site's header, from its plan's
|
|
37705
|
+
* mix (or its stored header), made into a FLOATING one at compose time — so a rebuild from a kept plan wears it, no model
|
|
37706
|
+
* call:
|
|
37707
|
+
* - the outline: a full-width bar becomes islands where the name stands at the start (split, name-and-menu — daylight's
|
|
37708
|
+
* logo tile + pill) and one pill where it is centred (allerstudio's floating pill); a chosen pill or islands is kept;
|
|
37709
|
+
* `checkHeader` then makes islands a pill for a kind of business that keeps its header plain (HI3-D18/D25);
|
|
37710
|
+
* - the ground: the look's glass (its own outlined bar in Pop, HI3-D2), no scroll edge (HI3-D20) — over a picture opening
|
|
37711
|
+
* it gives its height back, so the picture starts at the top of the page (HI3-D7/D17);
|
|
37712
|
+
* - one button where the site has a contact page to send it to;
|
|
37713
|
+
* - the phone: the BOTTOM BAR — its pages come out of the menu into the bar when they fit on a laptop, the bar holds Home
|
|
37714
|
+
* and up to four pages (`bar`) or four and a More (`both`). The drawer alone stays only with its reason said: the menu
|
|
37715
|
+
* is a shelf (pictures, big names, words and a card — HI2), or the pages are too many for the bar on a laptop.
|
|
37716
|
+
* Each change is said. The Basic tier never asks it (its bar stays the full-width solid one). Pure.
|
|
37717
|
+
*/
|
|
37718
|
+
function proHeader(mix, ctx) {
|
|
37719
|
+
const m = { ...mix };
|
|
37720
|
+
const repairs = [];
|
|
37721
|
+
const say = (code, said) => repairs.push({ code, said });
|
|
37722
|
+
if (!headerShapeFloats(m.shape)) {
|
|
37723
|
+
m.shape = m.arrange === HeaderArrange.Split || m.arrange === HeaderArrange.NameOnly ? HeaderShape.Islands : HeaderShape.Pill;
|
|
37724
|
+
if (m.ground === HeaderGround.Solid)
|
|
37725
|
+
m.ground = lookHasGlass(ctx.design) ? HeaderGround.Glass : HeaderGround.Solid;
|
|
37726
|
+
m.edge = 'none';
|
|
37727
|
+
say(HeaderRepairCode.ProFloats, `a Pro site's header floats: ${m.shape === HeaderShape.Islands ? 'its parts as islands' : 'one pill'} on the look's ${lookHasGlass(ctx.design) ? 'glass' : 'own bar'}`);
|
|
37728
|
+
}
|
|
37729
|
+
if (m.action === HeaderAction.None && ctx.pages.some(p => p.route === CONTACT_ROUTE)) {
|
|
37730
|
+
m.action = HeaderAction.Button;
|
|
37731
|
+
say(HeaderRepairCode.ProButton, 'a floating header carries one button, to the contact page');
|
|
37732
|
+
}
|
|
37733
|
+
if (behindMenu(m) && menuShowsOf(m.menuShows) !== MenuShows.Links) {
|
|
37734
|
+
say(HeaderRepairCode.ProPhoneMenu, 'the menu is a shelf: the phone opens it from the menu button');
|
|
37735
|
+
return { mix: m, repairs };
|
|
37736
|
+
}
|
|
37737
|
+
if (behindMenu(m)) {
|
|
37738
|
+
const inline = { ...m, pages: HeaderPages.Inline, arrange: m.arrange === HeaderArrange.NameOnly ? HeaderArrange.Split : m.arrange };
|
|
37739
|
+
if (barWidthPx(inline, ctx) > RULES.inlineRoomPx) {
|
|
37740
|
+
say(HeaderRepairCode.ProPhoneMenu, `${ctx.pages.length} pages do not fit in the bar on a laptop: the phone opens them from the menu`);
|
|
37741
|
+
return { mix: m, repairs };
|
|
37742
|
+
}
|
|
37743
|
+
Object.assign(m, { pages: inline.pages, arrange: inline.arrange });
|
|
37744
|
+
}
|
|
37745
|
+
// Home and the pages: a bar holds them all, or four and a More (nav-shape BAR_ITEMS_MAX).
|
|
37746
|
+
m.phone = ctx.pages.length + 1 <= BAR_ITEMS_MAX ? 'bar' : 'both';
|
|
37747
|
+
say(HeaderRepairCode.ProPhoneBar, m.phone === 'bar' ? 'on a phone the pages stand in the bottom bar' : 'on a phone the bottom bar holds four pages and a More');
|
|
37748
|
+
return { mix: m, repairs };
|
|
37749
|
+
}
|
|
36947
37750
|
/** HI3-D5: what an over header stands on when its words do not read over the opening — the look's glass from the top,
|
|
36948
37751
|
* or its own solid bar in a look with no glass (Pop). The ONE answer `checkHeader` and a build's late mend share. */
|
|
36949
37752
|
function headerGroundWhenUnreadable(design) {
|
|
@@ -37184,13 +37987,36 @@ function headerRecipe(mix, ctx) {
|
|
|
37184
37987
|
}
|
|
37185
37988
|
// ── No sameness: another site's header is never worn again (§7, R-H2) ──────────────────────────────────────────────
|
|
37186
37989
|
/** The ingredients `distinctHeader` may change, in the order it tries them: how the pages are reached before where the
|
|
37187
|
-
* name sits (the model chose the arrangement; the fingerprint sees both)
|
|
37990
|
+
* name sits (the model chose the arrangement; the fingerprint sees both), then the bar's outline, its ground and its menu
|
|
37991
|
+
* (the J10 header proof, 2026-11-29: with only those two before the menu's opening and button, seven of twelve sites came
|
|
37992
|
+
* out the same bar at rest, "distinct" by a reveal nobody sees until the menu opens). */
|
|
37188
37993
|
const MEND_ORDER = [
|
|
37189
37994
|
HeaderIngredient.Pages, HeaderIngredient.Arrange,
|
|
37190
|
-
//
|
|
37191
|
-
//
|
|
37995
|
+
// What a visitor sees at rest or on the first tap: the outline (bar · pill · islands), the ground (over the opening,
|
|
37996
|
+
// glass) and the menu's form (a full screen, a top panel, a card — a shelf). Each is judged by `checkHeader` as any
|
|
37997
|
+
// other: a float only over a full picture, a ground the kind of business allows, glass only in a look that has it.
|
|
37998
|
+
HeaderIngredient.Shape, HeaderIngredient.Ground, HeaderIngredient.Menu,
|
|
37999
|
+
// HB-D6: how the menu opens and its button are in the fingerprint — the least visible change of all, tried last.
|
|
37192
38000
|
HeaderIngredient.Reveal, HeaderIngredient.Button,
|
|
37193
38001
|
];
|
|
38002
|
+
/** The fingerprint's ingredients a visitor sees only once the menu opens — two headers that differ in these alone are the
|
|
38003
|
+
* same header at rest. */
|
|
38004
|
+
const UNSEEN_AT_REST = new Set([HeaderIngredient.Reveal, HeaderIngredient.Button]);
|
|
38005
|
+
/** A header token without what is unseen at rest: `header:centred/menu/drawer/solid/bar/none` for every reveal and
|
|
38006
|
+
* button — and with its pages in the bar, no menu either (the menu's form is never seen on a laptop). */
|
|
38007
|
+
function headerRestTokenOf(mix) {
|
|
38008
|
+
return restOfToken(headerTokenOf(mix));
|
|
38009
|
+
}
|
|
38010
|
+
/** A token read back at rest (`headerRestTokenOf` on a taken token). */
|
|
38011
|
+
function restOfToken(token) {
|
|
38012
|
+
const keys = H.fingerprint;
|
|
38013
|
+
const words = token.replace(`${HEADER_TOKEN}:`, '').split('/');
|
|
38014
|
+
const inline = words[keys.indexOf(HeaderIngredient.Pages)] === HeaderPages.Inline;
|
|
38015
|
+
return `${HEADER_TOKEN}:${words.map((w, i) => (inline && keys[i] === HeaderIngredient.Menu ? '-' : w)).filter((_, i) => !UNSEEN_AT_REST.has(keys[i])).join('/')}`;
|
|
38016
|
+
}
|
|
38017
|
+
/** What a mend may bring with it and still be the mend it was: a floating or glass header draws no edge under it, and a
|
|
38018
|
+
* look whose own bar is glass stands on glass — consequences of the outline or ground chosen, said by `checkHeader`. */
|
|
38019
|
+
const MEND_CONSEQUENCES = new Set([HeaderRepairCode.FloatEdge, HeaderRepairCode.GlassEdge, HeaderRepairCode.GlassOwnBar]);
|
|
37194
38020
|
/** The words of an ingredient the product draws. */
|
|
37195
38021
|
const drawnWords = (k) => headerWords(k).filter(w => !WAITS[`${k}.${w}`]);
|
|
37196
38022
|
/**
|
|
@@ -37198,9 +38024,12 @@ const drawnWords = (k) => headerWords(k).filter(w => !WAITS[`${k}.${w}`]);
|
|
|
37198
38024
|
* ingredient before two, in `MEND_ORDER` — that the site can carry as it is (`checkHeader` mends nothing), and said. When
|
|
37199
38025
|
* every header is worn, the mix as it is. Pure, deterministic.
|
|
37200
38026
|
*/
|
|
37201
|
-
function distinctHeader(mix, taken, ctx) {
|
|
38027
|
+
function distinctHeader(mix, taken, ctx, accept = () => true) {
|
|
37202
38028
|
const used = new Set(taken);
|
|
37203
|
-
|
|
38029
|
+
const usedAtRest = new Set(taken.map(restOfToken));
|
|
38030
|
+
const free = (m) => !used.has(headerTokenOf(m));
|
|
38031
|
+
const freeAtRest = (m) => free(m) && !usedAtRest.has(headerRestTokenOf(m));
|
|
38032
|
+
if (freeAtRest(mix))
|
|
37204
38033
|
return { mix, repairs: [] };
|
|
37205
38034
|
const tries = [];
|
|
37206
38035
|
for (const k of MEND_ORDER)
|
|
@@ -37209,13 +38038,13 @@ function distinctHeader(mix, taken, ctx) {
|
|
|
37209
38038
|
for (const w of drawnWords(HeaderIngredient.Pages))
|
|
37210
38039
|
for (const a of drawnWords(HeaderIngredient.Arrange))
|
|
37211
38040
|
tries.push({ ...mix, pages: w, arrange: a });
|
|
37212
|
-
|
|
37213
|
-
|
|
37214
|
-
|
|
37215
|
-
|
|
37216
|
-
|
|
37217
|
-
|
|
37218
|
-
return { mix, repairs: [] };
|
|
38041
|
+
const carried = tries.map(t => checkHeader(t, ctx)).filter(c => c.repairs.every(r => MEND_CONSEQUENCES.has(r.code)) && accept(c.mix)).map(c => c.mix);
|
|
38042
|
+
// A header no other site wears AT REST first; when every such one is taken (or the site carries none), one that differs
|
|
38043
|
+
// at least in how its menu opens — and a mix already free that way stays as the model chose it.
|
|
38044
|
+
const found = carried.find(freeAtRest) ?? (free(mix) ? null : carried.find(free));
|
|
38045
|
+
if (!found)
|
|
38046
|
+
return { mix, repairs: [] };
|
|
38047
|
+
return { mix: found, repairs: [{ code: HeaderRepairCode.Worn, said: `another site wears ${headerTokenWords(headerTokenOf(mix))}: this one is ${headerTokenWords(headerTokenOf(found))}` }] };
|
|
37219
38048
|
}
|
|
37220
38049
|
/** The shop's page of a selling plan: the page in the navigation that lists the store's products (else null). */
|
|
37221
38050
|
function shopPageOfPlan(plan) {
|
|
@@ -37248,6 +38077,7 @@ function headerContextOfPlan(plan, shop, facts = {}) {
|
|
|
37248
38077
|
collections: menuCollectionsOfPlan(plan).map(c => ({ name: c.label, route: c.route })),
|
|
37249
38078
|
...(facts.never ? { never: facts.never } : {}),
|
|
37250
38079
|
...(facts.readableAtRest !== undefined && facts.readableAtRest !== null ? { readableAtRest: facts.readableAtRest } : {}),
|
|
38080
|
+
...(facts.tier ? { tier: facts.tier } : {}),
|
|
37251
38081
|
};
|
|
37252
38082
|
}
|
|
37253
38083
|
/**
|
|
@@ -37258,15 +38088,22 @@ function headerContextOfPlan(plan, shop, facts = {}) {
|
|
|
37258
38088
|
function wornHeaderOfPlan(plan, facts = {}) {
|
|
37259
38089
|
const context = headerContextOfPlan(plan, undefined, facts);
|
|
37260
38090
|
const { drawn, gaps } = drawnHeaderMix(headerMixOfPlan(plan));
|
|
37261
|
-
|
|
37262
|
-
const
|
|
38091
|
+
// HI-D Pro: a Pro site's header is a floating mix with the phone's bottom bar — its plan's mix (or stored header) made so.
|
|
38092
|
+
const pro = context.tier === GenerationTier.Award ? proHeader(drawn, context) : null;
|
|
38093
|
+
const checked = plan.mixes?.header?.length || pro ? checkHeader(pro?.mix ?? drawn, context) : { mix: drawn, repairs: [] };
|
|
38094
|
+
const said = [...gaps.map(g => `the header's ${g.ingredient} "${g.word}" is drawn as "${g.drawnAs}" until ${g.phase}`),
|
|
38095
|
+
...(pro?.repairs ?? []).map(r => r.said), ...checked.repairs.map(r => r.said)];
|
|
37263
38096
|
return { mix: checked.mix, context, said };
|
|
37264
38097
|
}
|
|
37265
38098
|
/** A plan's header made distinct (R-H2): `distinctHeader` over the plan's own mix as drawn and checked; the plan unchanged
|
|
37266
38099
|
* when nothing was mended, else with the new mix in `mixes.header`. Pure. */
|
|
37267
38100
|
function withDistinctHeader(plan, taken, facts = {}) {
|
|
37268
38101
|
const worn = wornHeaderOfPlan(plan, facts);
|
|
37269
|
-
|
|
38102
|
+
// HI-D Pro: a Pro site's header is mended within the floating ones — only to a mix the Pro rule wears as it is (so the
|
|
38103
|
+
// composer, which asks `proHeader` again, keeps the mend).
|
|
38104
|
+
const ctx = worn.context;
|
|
38105
|
+
const keptByPro = (m) => headerTokenOf(checkHeader(proHeader(m, ctx).mix, ctx).mix) === headerTokenOf(m);
|
|
38106
|
+
const done = distinctHeader(worn.mix, taken, ctx, ctx.tier === GenerationTier.Award ? keptByPro : undefined);
|
|
37270
38107
|
if (!done.repairs.length)
|
|
37271
38108
|
return { plan, repairs: [] };
|
|
37272
38109
|
return { plan: { ...plan, mixes: { ...(plan.mixes ?? {}), header: headerMixWords(done.mix) } }, repairs: done.repairs };
|
|
@@ -38578,7 +39415,7 @@ function validateGlobals(c, globals) {
|
|
|
38578
39415
|
}
|
|
38579
39416
|
/** The parts a plan may carry as a mix, and how each reads its words (only the footer until header ingredients HI1). */
|
|
38580
39417
|
const MIX_READERS = { header: headerMixFromWords, footer: footerMixFromWords, opening: openingMixFromWords, body: bodyMixFromWords,
|
|
38581
|
-
popup: popupMixFromWords };
|
|
39418
|
+
popup: popupMixFromWords, colour: colourMixFromWords };
|
|
38582
39419
|
/** `mixes`: each part's words parse in its table (list ingredients LI5); absent is fine. */
|
|
38583
39420
|
function validateMixes(c, mixes) {
|
|
38584
39421
|
if (mixes === undefined)
|
|
@@ -40263,6 +41100,8 @@ const HEADER_WIRE_TEXT = 'string[] — the header as ONE list of <ingredient>:<w
|
|
|
40263
41100
|
+ Object.values(HeaderIngredient).map(k => `${k}: ${headerWireWords().filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1)).map(w => `${w} (${headerMeaning(k, w)})`).join(' | ')}`).join('; ');
|
|
40264
41101
|
/** The wire's `globals` key the site's body travels in (AW6) — every tier's since AW-D42. */
|
|
40265
41102
|
const BODY_WIRE_KEY = 'body';
|
|
41103
|
+
/** The plan's `mixes` key the body list's colour words go to (CV2). */
|
|
41104
|
+
const COLOUR_MIX_KEY = 'colour';
|
|
40266
41105
|
/** The body's words as the model reads them (AW6): each ingredient, the words a build may wear today and their meanings,
|
|
40267
41106
|
* from the contract's body table. */
|
|
40268
41107
|
const BODY_WIRE_TEXT = "string[] — the site's body as ONE list of <ingredient>:<word> words: how its sections meet and how their grounds "
|
|
@@ -40271,7 +41110,16 @@ const BODY_WIRE_TEXT = "string[] — the site's body as ONE list of <ingredient>
|
|
|
40271
41110
|
+ 'sections wear different grounds; a calm business (care, advice) never wears a torn or dripping edge. '
|
|
40272
41111
|
+ Object.values(BodyIngredient).map(k => [k, bodyWireWords().filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))])
|
|
40273
41112
|
.filter(([, words]) => words.length)
|
|
40274
|
-
.map(([k, words]) => `${k}: ${words.map(w => `${w} (${bodyMeaning(k, w)})`).join(' | ')}`).join('; ')
|
|
41113
|
+
.map(([k, words]) => `${k}: ${words.map(w => `${w} (${bodyMeaning(k, w)})`).join(' | ')}`).join('; ')
|
|
41114
|
+
// Colour v2 CV2: the site's colours ride the same list (+0 properties) and are split out into `mixes.colour`; one word per
|
|
41115
|
+
// ingredient, an ingredient left out is the style preset's own.
|
|
41116
|
+
+ '. The same list carries the site\'s colours: '
|
|
41117
|
+
+ Object.values(ColourIngredient).map(k => [k, colourWireWords(GenerationTier.Award).filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))])
|
|
41118
|
+
.filter(([, words]) => words.length)
|
|
41119
|
+
.map(([k, words]) => `${k}: ${words.map(w => `${w} (${colourMeaning(k, w)})`).join(' | ')}`).join('; ');
|
|
41120
|
+
/** The ingredients whose words ride the body list but are the site's colours (CV2): split out into `mixes.colour`. */
|
|
41121
|
+
const COLOUR_INGREDIENTS = new Set(Object.values(ColourIngredient));
|
|
41122
|
+
const isColourWord = (word) => typeof word === 'string' && COLOUR_INGREDIENTS.has(word.split(':')[0]);
|
|
40275
41123
|
/** The wire's `globals` key the site's popup travels in (popups PU3) — a mix beside the others; [] = no popup. */
|
|
40276
41124
|
const POPUP_WIRE_KEY = 'popup';
|
|
40277
41125
|
/** The popup's words as the model reads them (PU3): each ingredient the wire carries, its words and their meanings, from the
|
|
@@ -40389,7 +41237,7 @@ const WIRE_KEYS = {
|
|
|
40389
41237
|
opening: { refs: ['plan.mixes', 'mixes.opening'], text: OPENING_WIRE_TEXT },
|
|
40390
41238
|
// AW6: the site's body travels as its MIX, ONE list of `<ingredient>:<word>` words (body-mix.ts); [] = none. Every
|
|
40391
41239
|
// tier's request carries it since AW-D42 (it was the award tier's alone, AW-D23).
|
|
40392
|
-
body: { refs: ['plan.mixes', 'mixes.body'], text: BODY_WIRE_TEXT },
|
|
41240
|
+
body: { refs: ['plan.mixes', 'mixes.body', 'mixes.colour'], text: BODY_WIRE_TEXT },
|
|
40393
41241
|
// PU3: the popup travels as its words, ONE list (popup-plan.ts); [] = none. Stamped only from the owner's lines (plan.popup).
|
|
40394
41242
|
popup: { refs: ['plan.mixes', 'mixes.popup'], text: POPUP_WIRE_TEXT },
|
|
40395
41243
|
},
|
|
@@ -40566,7 +41414,8 @@ const PLAN_TOP_SCHEMAS = {
|
|
|
40566
41414
|
[GlobalSlot.Header]: jsonListOf(jsonOneOf(headerWireWords())),
|
|
40567
41415
|
[GlobalSlot.Footer]: jsonListOf(jsonOneOf(footerWireWords())),
|
|
40568
41416
|
[OPENING_WIRE_KEY]: jsonListOf(jsonOneOf(openingWireWords())),
|
|
40569
|
-
|
|
41417
|
+
// AW-D42: every tier's request is the award request — the colour's Pro words ride it too.
|
|
41418
|
+
[BODY_WIRE_KEY]: jsonListOf(jsonOneOf([...bodyWireWords(), ...colourWireWords(GenerationTier.Award)])),
|
|
40570
41419
|
[POPUP_WIRE_KEY]: jsonListOf(jsonText()),
|
|
40571
41420
|
}, `wire ${PlanWireEntry.Globals}`),
|
|
40572
41421
|
direction: () => shaped(PlanWireEntry.Direction, { idea: jsonText(), cliche: jsonText(), flip: jsonText(), rules: jsonListOf(jsonText()) }),
|
|
@@ -40752,7 +41601,10 @@ function expandWireGlobals(globals) {
|
|
|
40752
41601
|
// AW8: the opening is a mix only (no stored pattern stands for it on the wire); [] = none. Not a list: the validator says so.
|
|
40753
41602
|
// AW6: so is the body (the award tier's wire alone writes it); [] = none.
|
|
40754
41603
|
// PU3: so is the popup ([] = none).
|
|
40755
|
-
|
|
41604
|
+
// CV2: the body list's colour words are the site's colours (`mixes.colour`); the rest its body.
|
|
41605
|
+
const bodyWords = Array.isArray(body) ? body.filter(w => !isColourWord(w)) : body;
|
|
41606
|
+
const colour = Array.isArray(body) ? body.filter(isColourWord) : undefined;
|
|
41607
|
+
for (const [name, words] of [[OPENING_WIRE_KEY, opening], [BODY_WIRE_KEY, bodyWords], [POPUP_WIRE_KEY, popup], [COLOUR_MIX_KEY, colour]]) {
|
|
40756
41608
|
if (words !== undefined && (!Array.isArray(words) || words.length))
|
|
40757
41609
|
mixes[name] = Array.isArray(words) ? [...words] : words;
|
|
40758
41610
|
}
|
|
@@ -40828,7 +41680,7 @@ const PLAN_TO_WIRE = {
|
|
|
40828
41680
|
...plan.globals, [GlobalSlot.Header]: headerMixWords(headerMixOfPlan(plan)), [GlobalSlot.Footer]: footerMixWords(footerMixOfPlan(plan)),
|
|
40829
41681
|
[OPENING_WIRE_KEY]: [...(plan.mixes?.opening ?? [])],
|
|
40830
41682
|
// AW6: the wire writes the body ([] = none) — at every tier since AW-D42.
|
|
40831
|
-
[BODY_WIRE_KEY]: [...(plan.mixes?.body ?? [])],
|
|
41683
|
+
[BODY_WIRE_KEY]: [...(plan.mixes?.body ?? []), ...(plan.mixes?.colour ?? [])],
|
|
40832
41684
|
[POPUP_WIRE_KEY]: [...(plan.mixes?.popup ?? [])],
|
|
40833
41685
|
}),
|
|
40834
41686
|
direction: plan => ({ idea: plan.direction?.idea ?? NONE, cliche: plan.direction?.cliche ?? NONE, flip: plan.direction?.flip ?? NONE, rules: [...(plan.direction?.rules ?? [])] }),
|
|
@@ -44248,11 +45100,30 @@ function pagesOfHeader(current, companions) {
|
|
|
44248
45100
|
* pages). Only a header that links to no page takes the studio's. A header that holds the bag or the account entry is a
|
|
44249
45101
|
* selling site's (unless the site says). Pure.
|
|
44250
45102
|
*/
|
|
45103
|
+
/** Whether the header's brand shows a picture (an Image with an address) — the logo a hanging name needs (HI3-D21). */
|
|
45104
|
+
function brandHasPicture(current) {
|
|
45105
|
+
let found = false;
|
|
45106
|
+
const walk = (n, inBrand) => {
|
|
45107
|
+
if (found)
|
|
45108
|
+
return;
|
|
45109
|
+
const here = inBrand || n.role === NavRole.Brand;
|
|
45110
|
+
if (here && n.type === 'Image' && typeof n.props?.['src'] === 'string' && n.props['src'].trim()) {
|
|
45111
|
+
found = true;
|
|
45112
|
+
return;
|
|
45113
|
+
}
|
|
45114
|
+
(n.children ?? []).forEach(c => walk(c, here));
|
|
45115
|
+
};
|
|
45116
|
+
walk(current, false);
|
|
45117
|
+
return found;
|
|
45118
|
+
}
|
|
44251
45119
|
function headerSiteFor(site, current, companions = []) {
|
|
44252
45120
|
let at = site;
|
|
44253
45121
|
const own = pagesOfHeader(current, companions);
|
|
44254
45122
|
if (own.length)
|
|
44255
45123
|
at = { ...at, pages: own };
|
|
45124
|
+
// HI3-D21: a hanging name needs a logo picture — the header's own brand says whether it has one.
|
|
45125
|
+
if (at.logo === undefined)
|
|
45126
|
+
at = { ...at, logo: brandHasPicture(current) };
|
|
44256
45127
|
if (at.storeSlots !== undefined)
|
|
44257
45128
|
return at;
|
|
44258
45129
|
let sells = false;
|
|
@@ -44485,11 +45356,25 @@ const ROW_ROLES = {
|
|
|
44485
45356
|
};
|
|
44486
45357
|
/** The props that are the owner's CONTENT (words, pictures, a film, a form's identity) — never a sign of a hand edit. */
|
|
44487
45358
|
const CONTENT_PROPS = [OPENING_MIX_PROP, 'src', 'poster', 'frames', 'formId', 'name'];
|
|
45359
|
+
/** A title the composer sets to its words (type scale `openingDisplaySize`, a display name's fit) wears a size the words
|
|
45360
|
+
* decide: re-typed words are content, so that size is never a sign of a hand edit. A title at the look's token is read. */
|
|
45361
|
+
const WORD_SIZED = /^(clamp|min)\(/;
|
|
45362
|
+
function withoutWordSize(n) {
|
|
45363
|
+
if (n.role !== OpeningRole.Title || !WORD_SIZED.test(String(n.styleProps?.['fontSize'] ?? '')))
|
|
45364
|
+
return n;
|
|
45365
|
+
const { fontSize: _size, ...styleProps } = n.styleProps;
|
|
45366
|
+
const mobile = n.responsive?.['mobile'];
|
|
45367
|
+
const responsive = mobile?.styleProps && 'fontSize' in mobile.styleProps
|
|
45368
|
+
? { ...n.responsive, mobile: { ...mobile, styleProps: Object.fromEntries(Object.entries(mobile.styleProps).filter(([k]) => k !== 'fontSize')) } }
|
|
45369
|
+
: n.responsive;
|
|
45370
|
+
return { ...n, styleProps, ...(responsive ? { responsive } : {}) };
|
|
45371
|
+
}
|
|
44488
45372
|
/** A part's shape without its content: what it is made of and what it wears. */
|
|
44489
45373
|
function partShape(node) {
|
|
44490
|
-
const strip = (n) =>
|
|
44491
|
-
|
|
44492
|
-
|
|
45374
|
+
const strip = (n) => {
|
|
45375
|
+
const own = withoutWordSize(n);
|
|
45376
|
+
return { ...own, props: Object.fromEntries(Object.entries(own.props ?? {}).filter(([k]) => !CONTENT_PROPS.includes(k))), children: (own.children ?? []).map(strip) };
|
|
45377
|
+
};
|
|
44493
45378
|
return headerShape(strip(node));
|
|
44494
45379
|
}
|
|
44495
45380
|
/** Every part with a role in `roles`, by role, in reading order (the frame is read as its own props, not its children). */
|
|
@@ -45227,5 +46112,5 @@ function siteGlobalsOf(globals) {
|
|
|
45227
46112
|
* Generated bundle index. Do not edit.
|
|
45228
46113
|
*/
|
|
45229
46114
|
|
|
45230
|
-
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, BodyPace, BodyRepairCode, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, COLOUR_TOKEN$1 as COLOUR_TOKEN, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ColourAccent, ColourAction, ColourBands, ColourDark, ColourGround, ColourIngredient, ColourMixError, ColourPictures, ColourRhythm, ColourSource, ColourWash, 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_FRAMED_STYLES, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_ROW_HOLDS, FOOTER_SOCIAL_NETWORKS, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_FORM_PRESET, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_OPENING_BOXES, FREE_OPEN_LIGHTBOX, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_SLOT_SEPARATOR, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterBefore, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterPhone, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeSlotKind, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_BAR_PX, HEADER_REST_FRAMES, 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_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, LEGACY_BODY_INGREDIENTS, 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, MENU_SHELF_RULES, 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, PatternScrolls, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PicturesRefused, 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_PLACE_TYPE_WORDS, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STOCK_TRADE_NEVER_WORDS, STOCK_TRADE_PLACE_WORDS, STOCK_TRADE_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, beforeOf, 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, colourAccentMax, colourGroundsMax, colourMeaning, colourMix, colourMixFromWords, colourMixWords, colourRhythmIssues, colourTokenOf, colourWireWords, colourWordDrawn, colourWordOffered, colourWordTier, colourWordWaits, colourWords, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListAccordion, composeListFrame, composeListLightbox, composeListTabs, composeNavHeader, composeOpening, composePopup, composePresetForm, composeQuoteCarousel, 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, drawnColourMix, drawnFooterMix, drawnHeaderMix, drawnMenuShows, drawnOpeningMix, dressMenuPictures, 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, fieldsOf, figuresNotIn, fillContactFacts, filledItemNumbers, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerSocialLinks, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeOpeningOffer, freeSchemeOf, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeSlotLine, freeSlotOf, freeSlotOffers, freeSlotWord, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerGroundWhenUnreadable, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerReadableOfSite, headerReadsAtRest, headerRecipe, headerReferences, headerRestInks, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerVeilAt, headerWireWords, headerWordDrawn, headerWords, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isFilledItem, isFreeBox, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPeopleContentType, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, itemFillApplies, 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, 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, listedContentType, lookHasGlass, luminanceOf, measureFree, measureLayout, measuredCategories, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuCardPicture, menuCollectionsOfPlan, 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, openingPictureSrc, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, opensOnPicture, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paceIssues, 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, phoneOf, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureSlotPage, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, picturesRefusedOf, pinnedPagesOf, pixelsUnder, placeFilm, placeholderContentTypes, 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, presetColourMix, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, refusesStock, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionPictureFamily, sectionPictured, 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, siteMeasures, 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, withConsentBanner, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withTypeOpening, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
46115
|
+
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, BodyPace, BodyRepairCode, BodySeam, BodySectionWord, BodyTexture, BorrowKind, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, COLOUR_TOKEN$1 as COLOUR_TOKEN, COMPOSITION, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ColourAccent, ColourAction, ColourBands, ColourDark, ColourGround, ColourIngredient, ColourMixError, ColourPictures, ColourRhythm, ColourSource, ColourWash, 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_FRAMED_STYLES, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_ROW_HOLDS, FOOTER_SOCIAL_NETWORKS, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_FORM_PRESET, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_OPENING_BOXES, FREE_OPEN_LIGHTBOX, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_SLOT_SEPARATOR, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterBefore, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterPhone, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeSlotKind, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_BAR_PX, HEADER_REST_FRAMES, 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_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, LEGACY_BODY_INGREDIENTS, 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, MENU_SHELF_RULES, 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, PatternScrolls, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PicturesRefused, 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_PLACE_TYPE_WORDS, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STOCK_TRADE_NEVER_WORDS, STOCK_TRADE_PLACE_WORDS, STOCK_TRADE_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, archetypeRank, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, baseOrder, beforeOf, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWithColourBands, 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, colourAccentMax, colourCheckOf, colourDesignWords, colourGroundsMax, colourMeaning, colourMix, colourMixFromWords, colourMixOfPlan, colourMixWords, colourRhythmIssues, colourTokenOf, colourWireWords, colourWordDrawn, colourWordOffered, colourWordTier, colourWordWaits, colourWords, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListAccordion, composeListFrame, composeListLightbox, composeListTabs, composeNavHeader, composeOpening, composePopup, composePresetForm, composeQuoteCarousel, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composesPage, composingShare, compositionBorrows, compositionSwaps, 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, drawnColourMix, drawnFooterMix, drawnHeaderMix, drawnMenuShows, drawnOpeningMix, dressMenuPictures, 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, fieldsOf, figuresNotIn, fillContactFacts, filledItemNumbers, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerCallLine, footerCallWord, footerFaceOf, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPattern, footerPatternIdOf, footerReferences, footerSignsUp, footerSocialLinks, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeOpeningOffer, freeSchemeOf, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeSlotLine, freeSlotOf, freeSlotOffers, freeSlotWord, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerGroundWhenUnreadable, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerReadableOfSite, headerReadsAtRest, headerRecipe, headerReferences, headerRestInks, headerRestTokenOf, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerVeilAt, headerWireWords, headerWordDrawn, headerWords, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDrawers, isFilledItem, isFreeBox, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPeopleContentType, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, itemFillApplies, joinPageHeader, joinSameGround, 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, 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, listedContentType, lookHasGlass, luminanceOf, measureFree, measureLayout, measuredCategories, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuCardPicture, menuCollectionsOfPlan, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, neighbourFaults, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingDisplaySize, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingPictureSrc, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, opensOnPicture, orderPlaces, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paceIssues, paddingKeepingClear, pageBuildSource, pageKindOf, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternPartSlots, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneOf, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureSlotPage, pictureTargets, pictureTokensFor, pictureTryFits, picturelessTypes, picturesRefusedOf, pinnedPagesOf, pixelsUnder, placeFilm, placeholderContentTypes, plainCarryText, planDesignChoices, 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, planWrites, plateYields, popupKeptNotices, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, presetColourMix, previousRoute, pricesIn, proHeader, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, refusesStock, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionPictureFamily, sectionPictured, sectionSkeleton, 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, siteMeasures, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, skeletonOf, 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, swapOf, 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, withConsentBanner, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withTypeOpening, withTypeSignUp, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
45231
46116
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|