@vectoriox/iox-ui 5.160.0 → 5.162.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 +130 -0
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +152 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +554 -232
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs +241 -40
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
- package/generation-core/index.d.ts +239 -3
- package/package.json +1 -1
- package/scene-core/index.d.ts +98 -10
- package/src/design-core/flavor-spec.generated.ts +152 -1
- package/src/generation-core/compose-free.ts +2 -1
- package/src/generation-core/compose-layout.ts +11 -5
- package/src/generation-core/free-render-check.ts +88 -0
- package/src/generation-core/layout-render-check.ts +48 -21
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/site-spec.generated.ts +235 -0
- package/src/scene-core/scene-edit.ts +12 -8
- package/src/scene-core/scene.ts +131 -21
- package/src/scene-core/scroll-driver.ts +130 -16
- package/styles/iox-design.css +12 -7
|
@@ -5,7 +5,7 @@ import { formPresetById, ControlType, FIELD_NODE_TYPE, FORM_NODE_TYPE, FormPrese
|
|
|
5
5
|
import { normalizeFrameSequence, filmScreensFor, VideoMode, VideoSource, FILM_PREPARED_PICTURES, FrameExtension } from '@vectoriox/iox-ui/media-core';
|
|
6
6
|
import { SEO_DESCRIPTION_MAX, SEO_TITLE_MAX } from '@vectoriox/iox-ui/seo-core';
|
|
7
7
|
import { VARIANT_NAME_SEPARATOR, commerceLanguage, CommerceLanguage, CHECKOUT_GATE_RULES, labelIn, CheckoutGateCode } from '@vectoriox/iox-ui/commerce-core';
|
|
8
|
-
import { ParallaxDepth, parallaxShift, rangeDistance, ScrollRange, normalizeParallaxPhone, parallaxRest, rangeProgress, parallaxOffset, TextRevealBy } from '@vectoriox/iox-ui/scene-core';
|
|
8
|
+
import { ParallaxDepth, parallaxShift, rangeDistance, ScrollRange, normalizeParallaxPhone, parallaxRest, rangeProgress, parallaxOffset, TextRevealBy, SceneEase, SCENE_TRACK_EASE } from '@vectoriox/iox-ui/scene-core';
|
|
9
9
|
import { SCROLL_PROGRESS_TRIGGER, ELEMENT_ACTION_DESCRIPTORS, actionOfferedUnder, resolveActionAvailability } from '@vectoriox/iox-ui/actions-core';
|
|
10
10
|
import { ConsentCategory } from '@vectoriox/iox-ui/consent-core';
|
|
11
11
|
|
|
@@ -10570,6 +10570,241 @@ const SPEC_SITE_LAYOUT = {
|
|
|
10570
10570
|
}
|
|
10571
10571
|
]
|
|
10572
10572
|
},
|
|
10573
|
+
"popup": {
|
|
10574
|
+
"ingredients": {
|
|
10575
|
+
"kind": [
|
|
10576
|
+
"announcement",
|
|
10577
|
+
"offer",
|
|
10578
|
+
"newsletter"
|
|
10579
|
+
],
|
|
10580
|
+
"form": [
|
|
10581
|
+
"corner",
|
|
10582
|
+
"bar",
|
|
10583
|
+
"centred"
|
|
10584
|
+
],
|
|
10585
|
+
"arrive": [
|
|
10586
|
+
"scroll",
|
|
10587
|
+
"time",
|
|
10588
|
+
"scrollOrTime",
|
|
10589
|
+
"leaving",
|
|
10590
|
+
"button"
|
|
10591
|
+
],
|
|
10592
|
+
"again": [
|
|
10593
|
+
"days",
|
|
10594
|
+
"visit",
|
|
10595
|
+
"once"
|
|
10596
|
+
],
|
|
10597
|
+
"art": [
|
|
10598
|
+
"none",
|
|
10599
|
+
"picture"
|
|
10600
|
+
]
|
|
10601
|
+
},
|
|
10602
|
+
"meanings": {
|
|
10603
|
+
"kind.announcement": "news the owner states: an opening, a new branch, holiday hours — one line and, if any, a link to the page that says more",
|
|
10604
|
+
"kind.offer": "an offer the owner states, in the owner's words — a picture, a short line and a link to the offer's page",
|
|
10605
|
+
"kind.newsletter": "an invitation to the owner's newsletter — a short line and the newsletter form",
|
|
10606
|
+
"form.corner": "a card at the bottom end corner (the start corner on a right-to-left site), 360–560 px wide; on a phone a bottom card at most 30% of the screen high",
|
|
10607
|
+
"form.bar": "a strip along the bottom edge, one line: at most 64 px high on a laptop, 88 px on a phone",
|
|
10608
|
+
"form.centred": "a centred card over the look's scrim — a newsletter on a laptop only; on a phone it shows as the corner card",
|
|
10609
|
+
"arrive.scroll": "once the visitor has scrolled half of the first screen — the visitor's own scroll, never a programmatic one",
|
|
10610
|
+
"arrive.time": "after a number of seconds on the page (at least 3), counted only while the tab is visible",
|
|
10611
|
+
"arrive.scrollOrTime": "whichever comes first: the scroll or the time",
|
|
10612
|
+
"arrive.leaving": "on a laptop, when a mouse leaves through the top of the window after 10 seconds on the page; a phone gets the time instead",
|
|
10613
|
+
"arrive.button": "never by itself — only when a button opens it",
|
|
10614
|
+
"again.days": "after the visitor closes it, not again for a number of days (30 unless the owner says otherwise)",
|
|
10615
|
+
"again.visit": "once per visit",
|
|
10616
|
+
"again.once": "once, ever — until the owner changes it",
|
|
10617
|
+
"art.none": "no picture",
|
|
10618
|
+
"art.picture": "the owner's picture at the start of the card"
|
|
10619
|
+
},
|
|
10620
|
+
"meaningsHe": {
|
|
10621
|
+
"kind.announcement": "חדשות שהבעלים מספרים: פתיחה, סניף חדש, שעות חג — שורה אחת, ואם יש, קישור לעמוד שמספר עוד",
|
|
10622
|
+
"kind.offer": "הצעה שהבעלים מספרים, במילים שלהם — תמונה, שורה קצרה וקישור לעמוד ההצעה",
|
|
10623
|
+
"kind.newsletter": "הזמנה לניוזלטר של העסק — שורה קצרה וטופס ההרשמה",
|
|
10624
|
+
"form.corner": "כרטיס בפינה התחתונה בסוף השורה (בפינת ההתחלה באתר מימין לשמאל), ברוחב 360–560 פיקסלים; בטלפון כרטיס תחתון בגובה של עד 30% מהמסך",
|
|
10625
|
+
"form.bar": "פס לאורך תחתית המסך, שורה אחת: עד 64 פיקסלים במחשב, 88 בטלפון",
|
|
10626
|
+
"form.centred": "כרטיס במרכז המסך מעל רקע מעומעם — רק לניוזלטר ורק במחשב; בטלפון הוא מוצג ככרטיס בפינה",
|
|
10627
|
+
"arrive.scroll": "אחרי שהמבקר גלל חצי מהמסך הראשון — גלילה של המבקר עצמו, אף פעם לא גלילה של הקוד",
|
|
10628
|
+
"arrive.time": "אחרי מספר שניות בעמוד (לפחות 3), נספרות רק כשהלשונית גלויה",
|
|
10629
|
+
"arrive.scrollOrTime": "המוקדם מבין השניים: הגלילה או הזמן",
|
|
10630
|
+
"arrive.leaving": "במחשב, כשהעכבר יוצא מראש החלון אחרי 10 שניות בעמוד; בטלפון — לפי זמן",
|
|
10631
|
+
"arrive.button": "אף פעם לא מעצמו — רק כשכפתור פותח אותו",
|
|
10632
|
+
"again.days": "אחרי שהמבקר סוגר אותו, לא שוב במשך מספר ימים (30, אלא אם הבעלים קובעים אחרת)",
|
|
10633
|
+
"again.visit": "פעם אחת בכל ביקור",
|
|
10634
|
+
"again.once": "פעם אחת בלבד — עד שהבעלים משנים אותו",
|
|
10635
|
+
"art.none": "בלי תמונה",
|
|
10636
|
+
"art.picture": "התמונה של העסק בתחילת הכרטיס"
|
|
10637
|
+
},
|
|
10638
|
+
"waits": {
|
|
10639
|
+
"arrive.leaving": {
|
|
10640
|
+
"phase": "PU2b",
|
|
10641
|
+
"drawnAs": "time"
|
|
10642
|
+
}
|
|
10643
|
+
},
|
|
10644
|
+
"defaults": {
|
|
10645
|
+
"kind": "offer",
|
|
10646
|
+
"form": "corner",
|
|
10647
|
+
"arrive": "scrollOrTime",
|
|
10648
|
+
"again": "days",
|
|
10649
|
+
"art": "picture"
|
|
10650
|
+
},
|
|
10651
|
+
"named": {
|
|
10652
|
+
"announcement": {
|
|
10653
|
+
"kind": "announcement",
|
|
10654
|
+
"form": "bar",
|
|
10655
|
+
"arrive": "scroll",
|
|
10656
|
+
"again": "visit",
|
|
10657
|
+
"art": "none"
|
|
10658
|
+
},
|
|
10659
|
+
"offer": {
|
|
10660
|
+
"kind": "offer",
|
|
10661
|
+
"form": "corner",
|
|
10662
|
+
"arrive": "scrollOrTime",
|
|
10663
|
+
"again": "days",
|
|
10664
|
+
"art": "picture"
|
|
10665
|
+
},
|
|
10666
|
+
"newsletter": {
|
|
10667
|
+
"kind": "newsletter",
|
|
10668
|
+
"form": "corner",
|
|
10669
|
+
"arrive": "scrollOrTime",
|
|
10670
|
+
"again": "days",
|
|
10671
|
+
"art": "none"
|
|
10672
|
+
}
|
|
10673
|
+
},
|
|
10674
|
+
"arrival": {
|
|
10675
|
+
"announcement": {
|
|
10676
|
+
"screens": 0.5
|
|
10677
|
+
},
|
|
10678
|
+
"offer": {
|
|
10679
|
+
"screens": 0.5,
|
|
10680
|
+
"seconds": 8
|
|
10681
|
+
},
|
|
10682
|
+
"newsletter": {
|
|
10683
|
+
"pageShare": 0.4,
|
|
10684
|
+
"seconds": 25
|
|
10685
|
+
}
|
|
10686
|
+
},
|
|
10687
|
+
"generatedForms": [
|
|
10688
|
+
"corner",
|
|
10689
|
+
"bar"
|
|
10690
|
+
],
|
|
10691
|
+
"fingerprint": [
|
|
10692
|
+
"form"
|
|
10693
|
+
],
|
|
10694
|
+
"refused": {
|
|
10695
|
+
"again.every-view": "every page view is the nag: the visitor closed it",
|
|
10696
|
+
"arrive.load": "at load it is an interstitial: the landing view is always the page (minimum 3 s or a real scroll)",
|
|
10697
|
+
"form.fullscreen": "a popup that covers the page hides the content the visitor came for",
|
|
10698
|
+
"kind.countdown": "a countdown is pressure, never news the owner stated (AW-D16)"
|
|
10699
|
+
},
|
|
10700
|
+
"rules": {
|
|
10701
|
+
"oneOverlay": true,
|
|
10702
|
+
"onePerPageView": true,
|
|
10703
|
+
"minSeconds": 3,
|
|
10704
|
+
"scrollScreens": 0.5,
|
|
10705
|
+
"timeSeconds": 8,
|
|
10706
|
+
"leavingLaptopOnly": true,
|
|
10707
|
+
"leavingAfterSeconds": 10,
|
|
10708
|
+
"phoneLeavingSeconds": 25,
|
|
10709
|
+
"phoneMaxHeight": 0.3,
|
|
10710
|
+
"barMaxPx": {
|
|
10711
|
+
"laptop": 64,
|
|
10712
|
+
"phone": 88
|
|
10713
|
+
},
|
|
10714
|
+
"cornerWidthPx": [
|
|
10715
|
+
360,
|
|
10716
|
+
560
|
|
10717
|
+
],
|
|
10718
|
+
"centredNewsletterOnly": true,
|
|
10719
|
+
"centredLaptopOnly": true,
|
|
10720
|
+
"quietRoutes": [
|
|
10721
|
+
"checkout",
|
|
10722
|
+
"order",
|
|
10723
|
+
"account",
|
|
10724
|
+
"sign-in",
|
|
10725
|
+
"legal",
|
|
10726
|
+
"not-found",
|
|
10727
|
+
"recover",
|
|
10728
|
+
"unsubscribe"
|
|
10729
|
+
],
|
|
10730
|
+
"memoryDays": 30,
|
|
10731
|
+
"neverAfterActed": true,
|
|
10732
|
+
"memoryCategory": "necessary",
|
|
10733
|
+
"endedLeftOut": true,
|
|
10734
|
+
"durationByAnimated": {
|
|
10735
|
+
"still": 200,
|
|
10736
|
+
"subtle": 350,
|
|
10737
|
+
"standard": 450,
|
|
10738
|
+
"lively": 550,
|
|
10739
|
+
"expressive": 600
|
|
10740
|
+
},
|
|
10741
|
+
"exitRatio": 0.55,
|
|
10742
|
+
"reducedFadeMs": 200,
|
|
10743
|
+
"phoneRisePx": 24,
|
|
10744
|
+
"phoneInsetMaxPx": 12,
|
|
10745
|
+
"closeTargetPx": 44,
|
|
10746
|
+
"focusStays": true,
|
|
10747
|
+
"noSnippet": true
|
|
10748
|
+
},
|
|
10749
|
+
"tiers": {
|
|
10750
|
+
"kind.announcement": "all",
|
|
10751
|
+
"kind.offer": "all",
|
|
10752
|
+
"kind.newsletter": "all",
|
|
10753
|
+
"form.corner": "all",
|
|
10754
|
+
"form.bar": "all",
|
|
10755
|
+
"form.centred": "all",
|
|
10756
|
+
"arrive.scroll": "all",
|
|
10757
|
+
"arrive.time": "all",
|
|
10758
|
+
"arrive.scrollOrTime": "all",
|
|
10759
|
+
"arrive.leaving": "all",
|
|
10760
|
+
"arrive.button": "all",
|
|
10761
|
+
"again.days": "all",
|
|
10762
|
+
"again.visit": "all",
|
|
10763
|
+
"again.once": "all",
|
|
10764
|
+
"art.none": "all",
|
|
10765
|
+
"art.picture": "all",
|
|
10766
|
+
"rules.oneOverlay": "all",
|
|
10767
|
+
"rules.onePerPageView": "all",
|
|
10768
|
+
"rules.minSeconds": "all",
|
|
10769
|
+
"rules.scrollScreens": "all",
|
|
10770
|
+
"rules.timeSeconds": "all",
|
|
10771
|
+
"rules.leavingLaptopOnly": "all",
|
|
10772
|
+
"rules.leavingAfterSeconds": "all",
|
|
10773
|
+
"rules.phoneLeavingSeconds": "all",
|
|
10774
|
+
"rules.phoneMaxHeight": "all",
|
|
10775
|
+
"rules.barMaxPx": "all",
|
|
10776
|
+
"rules.cornerWidthPx": "all",
|
|
10777
|
+
"rules.centredNewsletterOnly": "all",
|
|
10778
|
+
"rules.centredLaptopOnly": "all",
|
|
10779
|
+
"rules.quietRoutes": "all",
|
|
10780
|
+
"rules.memoryDays": "all",
|
|
10781
|
+
"rules.neverAfterActed": "all",
|
|
10782
|
+
"rules.memoryCategory": "all",
|
|
10783
|
+
"rules.endedLeftOut": "all",
|
|
10784
|
+
"rules.durationByAnimated": "all",
|
|
10785
|
+
"rules.exitRatio": "all",
|
|
10786
|
+
"rules.reducedFadeMs": "all",
|
|
10787
|
+
"rules.phoneRisePx": "all",
|
|
10788
|
+
"rules.phoneInsetMaxPx": "all",
|
|
10789
|
+
"rules.closeTargetPx": "all",
|
|
10790
|
+
"rules.focusStays": "all",
|
|
10791
|
+
"rules.noSnippet": "all"
|
|
10792
|
+
},
|
|
10793
|
+
"references": [
|
|
10794
|
+
{
|
|
10795
|
+
"id": "corner-offer-first-scroll",
|
|
10796
|
+
"after": "Doron pick 2026-11-24: vesuvio (popups-plan §1)",
|
|
10797
|
+
"added": "2026-11-24",
|
|
10798
|
+
"mix": {
|
|
10799
|
+
"kind": "offer",
|
|
10800
|
+
"form": "corner",
|
|
10801
|
+
"arrive": "scroll",
|
|
10802
|
+
"again": "days",
|
|
10803
|
+
"art": "picture"
|
|
10804
|
+
}
|
|
10805
|
+
}
|
|
10806
|
+
]
|
|
10807
|
+
},
|
|
10573
10808
|
"motion": {
|
|
10574
10809
|
"ingredients": {
|
|
10575
10810
|
"arrive": [
|
|
@@ -29378,7 +29613,8 @@ var LayoutGapCode;
|
|
|
29378
29613
|
LayoutGapCode["Blur"] = "blur";
|
|
29379
29614
|
/** M8-G3: `scaleIn` / `pop` start at the product's 0.8, not 0.95 / 0.9, and `pop` has no overshoot. */
|
|
29380
29615
|
LayoutGapCode["ScaleIn"] = "scale-in";
|
|
29381
|
-
/** M8-G4: a held layer's keys
|
|
29616
|
+
/** M8-G4: a held layer's keys run straight (travel) or smooth (a fade) — an `out` or `drawer` ease is drawn as its
|
|
29617
|
+
* property's (award plan "Reddottours", RT-D1: travel linear, fades smooth; `linear` / `inOut` are drawn as asked). */
|
|
29382
29618
|
LayoutGapCode["TrackEase"] = "track-ease";
|
|
29383
29619
|
/** M8-G5: a depth glides at the product's one speed (no per-look scale), and a picture's own drift inside its frame
|
|
29384
29620
|
* is a fixed over-scale. */
|
|
@@ -29756,6 +29992,8 @@ function depthInteraction(nodeId, depth) {
|
|
|
29756
29992
|
return { id: `${nodeId}-depth`, trigger: 'scrollProgress', range: 'cover', actions: [{ type: 'parallax', target: 'self', duration: 1000, delay: 0, easing: 'linear', params: { depth, phone: LAYOUT_DEPTH_ON_PHONE } }] };
|
|
29757
29993
|
}
|
|
29758
29994
|
const TRACK_REST = { x: 0, y: 0, scale: 1, rotate: 0, opacity: 1, clip: 100, words: 100 };
|
|
29995
|
+
/** The layout's eases the product's tracks can run (RT-D1); anything else is drawn as the property's own. */
|
|
29996
|
+
const TRACK_EASE = { [LayoutEase.Linear]: SceneEase.Linear, [LayoutEase.InOut]: SceneEase.Smooth };
|
|
29759
29997
|
/** A layout track as a scene-core track: lengths move from the layer's own box to the stage's (cqw / cqh). */
|
|
29760
29998
|
function sceneTrackOf(t, l, rows, ctx, path) {
|
|
29761
29999
|
const [a, b] = t.at ?? [0, 1];
|
|
@@ -29763,8 +30001,10 @@ function sceneTrackOf(t, l, rows, ctx, path) {
|
|
|
29763
30001
|
gap(ctx, LayoutGapCode.Blur, path, 'a blur track is dropped');
|
|
29764
30002
|
return null;
|
|
29765
30003
|
}
|
|
29766
|
-
|
|
29767
|
-
|
|
30004
|
+
const own = SCENE_TRACK_EASE[t.prop];
|
|
30005
|
+
const ease = t.ease ? TRACK_EASE[t.ease] : undefined;
|
|
30006
|
+
if (t.ease && !ease)
|
|
30007
|
+
gap(ctx, LayoutGapCode.TrackEase, path, `${t.prop} runs ${own === SceneEase.Linear ? 'straight' : 'smooth (smoothstep)'}, not ${t.ease}`);
|
|
29768
30008
|
let scale = 1;
|
|
29769
30009
|
if (t.prop === LayoutTrackProp.X)
|
|
29770
30010
|
scale = (l.col[1] - l.col[0]) / GRID_COLUMNS;
|
|
@@ -29774,6 +30014,8 @@ function sceneTrackOf(t, l, rows, ctx, path) {
|
|
|
29774
30014
|
const track = { prop: t.prop, keys: [[a, round(Number(t.from))], [b, round(Number(t.to))]] };
|
|
29775
30015
|
if (t.prop === LayoutTrackProp.Clip)
|
|
29776
30016
|
track.from = LayoutSide.Bottom;
|
|
30017
|
+
if (ease && ease !== own)
|
|
30018
|
+
track.ease = ease;
|
|
29777
30019
|
return track;
|
|
29778
30020
|
}
|
|
29779
30021
|
/** On a phone a held section stacks: each of its tracks stands at rest. */
|
|
@@ -30862,7 +31104,6 @@ function composeSection$1(s, si, prevGround, ctx) {
|
|
|
30862
31104
|
phone(wide, { width: FULL, ...phoneStack(si === 0) });
|
|
30863
31105
|
wide.sceneTracks = [{ prop: 'x', keys: [[0, 0], [1, -(track - 1) * 100]] }];
|
|
30864
31106
|
wide.scenePhoneTracks = [{ prop: 'x', keys: [[0, 0]] }];
|
|
30865
|
-
gap(ctx, LayoutGapCode.TrackEase, `sections[${si}]`, 'the sideways travel eases (smoothstep), not linear');
|
|
30866
31107
|
wide.children = layers;
|
|
30867
31108
|
stage.children = [wide];
|
|
30868
31109
|
}
|
|
@@ -31092,6 +31333,308 @@ function composeLayout(site, options) {
|
|
|
31092
31333
|
return { layout, header, sections: ctx.sections, gaps: ctx.gaps, keptArrangement: ctx.keptArrangement };
|
|
31093
31334
|
}
|
|
31094
31335
|
|
|
31336
|
+
/**
|
|
31337
|
+
* The render check of a composed page (M8-G2-D8), split where it can run. `measureLayout` runs in a BROWSER (the owner's,
|
|
31338
|
+
* on the Plan step — iox-cms has none): it reads the rendered boxes of the composed page's layers. `wordsOverPhotos` names
|
|
31339
|
+
* the photo behind each word box and the part of the frame it covers; iox-cms reads those pixels (`pixelsUnder`, on the
|
|
31340
|
+
* photo's own RGBA after `coverCrop`); `judgeLayoutRender` turns both into issues with a path, like `checkLayout`. The
|
|
31341
|
+
* rules are the prototype's (`prototypes/breaking-limits/code/render-check.cjs`); its Playwright run stays the harness's.
|
|
31342
|
+
*/
|
|
31343
|
+
var LayoutViewport;
|
|
31344
|
+
(function (LayoutViewport) {
|
|
31345
|
+
LayoutViewport["Desktop"] = "desktop";
|
|
31346
|
+
LayoutViewport["Phone"] = "phone";
|
|
31347
|
+
})(LayoutViewport || (LayoutViewport = {}));
|
|
31348
|
+
/** The two widths a composed page is checked at (the prototype's). */
|
|
31349
|
+
const LAYOUT_VIEWPORTS = {
|
|
31350
|
+
[LayoutViewport.Desktop]: { width: 1440, height: 900 },
|
|
31351
|
+
[LayoutViewport.Phone]: { width: 390, height: 844 },
|
|
31352
|
+
};
|
|
31353
|
+
const WORD_KINDS = new Set(['word', 'heading', 'text', 'label', 'number', 'list', 'button']);
|
|
31354
|
+
const textOf$1 = (el) => String(el.textContent ?? '').trim();
|
|
31355
|
+
/** A layer node's class (`iox-node-<id>`) — what both renderers put on every node. */
|
|
31356
|
+
const layoutNodeClass = (prefix, i, j) => `iox-node-${prefix}-s${i}${j === undefined ? '' : `-l${j}`}`;
|
|
31357
|
+
/** In the browser: the reader of the nodes rendered under `root`, in the root's own coordinates. */
|
|
31358
|
+
function layerMetricsOf(root) {
|
|
31359
|
+
const origin = root.getBoundingClientRect();
|
|
31360
|
+
const rel = (r) => ({ l: r.left - origin.left, t: r.top - origin.top, r: r.right - origin.left, b: r.bottom - origin.top });
|
|
31361
|
+
const doc = root.ownerDocument;
|
|
31362
|
+
const view = doc.defaultView;
|
|
31363
|
+
return {
|
|
31364
|
+
width: root.clientWidth || origin.width,
|
|
31365
|
+
scrollWidth: root.scrollWidth || origin.width,
|
|
31366
|
+
box: el => rel(el.getBoundingClientRect()),
|
|
31367
|
+
layer: (el, kind) => {
|
|
31368
|
+
const style = view?.getComputedStyle(el);
|
|
31369
|
+
const box = rel(el.getBoundingClientRect());
|
|
31370
|
+
let words = null;
|
|
31371
|
+
if (WORD_KINDS.has(kind) && textOf$1(el)) {
|
|
31372
|
+
if (kind === 'button')
|
|
31373
|
+
words = box;
|
|
31374
|
+
else {
|
|
31375
|
+
const range = doc.createRange();
|
|
31376
|
+
range.selectNodeContents(el);
|
|
31377
|
+
const tight = typeof range.getBoundingClientRect === 'function' ? range.getBoundingClientRect() : null;
|
|
31378
|
+
words = tight && tight.width > 0 ? rel(tight) : box;
|
|
31379
|
+
}
|
|
31380
|
+
}
|
|
31381
|
+
return {
|
|
31382
|
+
kind, z: Number(style?.zIndex) || 0, box, words,
|
|
31383
|
+
size: parseFloat(style?.fontSize ?? '') || 16, weight: Number(style?.fontWeight) || 400, color: style?.color ?? '',
|
|
31384
|
+
};
|
|
31385
|
+
},
|
|
31386
|
+
};
|
|
31387
|
+
}
|
|
31388
|
+
/**
|
|
31389
|
+
* In the browser: the composed page's layers as rendered under `root` (the offscreen render, `prefix` its node id prefix),
|
|
31390
|
+
* in the root's own coordinates. Run with the page at rest (scrolled to its top, entrances settled).
|
|
31391
|
+
*/
|
|
31392
|
+
function measureLayout(root, page, prefix, viewport) {
|
|
31393
|
+
const metrics = layerMetricsOf(root);
|
|
31394
|
+
const find = (cls) => root.querySelector(`.${cls}`);
|
|
31395
|
+
const sections = page.sections.map((s, i) => {
|
|
31396
|
+
const el = find(layoutNodeClass(prefix, i));
|
|
31397
|
+
const r = el ? metrics.box(el) : { l: 0, t: 0, r: 0, b: 0 };
|
|
31398
|
+
return { top: r.t, height: r.b - r.t, held: !!s.pin };
|
|
31399
|
+
});
|
|
31400
|
+
const layers = [];
|
|
31401
|
+
page.sections.forEach((s, i) => s.layers.forEach((l, j) => {
|
|
31402
|
+
const el = find(layoutNodeClass(prefix, i, j));
|
|
31403
|
+
if (!el)
|
|
31404
|
+
return;
|
|
31405
|
+
const depth = layoutGlideDepth(s, l);
|
|
31406
|
+
const spans = s.pin && viewport === LayoutViewport.Desktop ? layerShownSpans(l) : null;
|
|
31407
|
+
const shown = spans && !(spans.length === 1 && spans[0][0] === 0 && spans[0][1] === 1) ? spans : null;
|
|
31408
|
+
layers.push({
|
|
31409
|
+
...metrics.layer(el, l.kind),
|
|
31410
|
+
path: `sections[${i}].layers[${j}]`, section: i, role: l.role ?? '', bleed: !!l.bleed && l.bleed !== 'none', scrim: !!l.scrim,
|
|
31411
|
+
track: (s.track ?? 0) > 1,
|
|
31412
|
+
...(l.kind === 'photo' && l.photo?.id ? { photo: l.photo.id } : {}),
|
|
31413
|
+
...(depth ? { depth } : {}),
|
|
31414
|
+
...(shown ? { shown } : {}),
|
|
31415
|
+
});
|
|
31416
|
+
}));
|
|
31417
|
+
return { viewport, width: metrics.width, height: LAYOUT_VIEWPORTS[viewport].height, scrollWidth: metrics.scrollWidth, sections, layers };
|
|
31418
|
+
}
|
|
31419
|
+
const area = (r) => Math.max(0, r.r - r.l) * Math.max(0, r.b - r.t);
|
|
31420
|
+
const meet = (a, b) => ({ l: Math.max(a.l, b.l), t: Math.max(a.t, b.t), r: Math.min(a.r, b.r), b: Math.min(a.b, b.b) });
|
|
31421
|
+
/** Where the letters are: a line box is the font's ascent + descent, taller than the ink — most of all for display faces. */
|
|
31422
|
+
function ink(layer) {
|
|
31423
|
+
const w = layer.words;
|
|
31424
|
+
if (layer.kind === 'button')
|
|
31425
|
+
return w;
|
|
31426
|
+
const [up, down] = layer.size >= 40 ? [0.2, 0.15] : [0.12, 0.08];
|
|
31427
|
+
return { l: w.l, r: w.r, t: w.t + up * layer.size, b: w.b - down * layer.size };
|
|
31428
|
+
}
|
|
31429
|
+
/** The word boxes that sit on a photo — what iox-cms reads the pixels under. */
|
|
31430
|
+
function wordsOverPhotos(measured) {
|
|
31431
|
+
const out = [];
|
|
31432
|
+
for (const m of measured) {
|
|
31433
|
+
const photos = m.layers.filter(l => l.photo);
|
|
31434
|
+
for (const w of m.layers) {
|
|
31435
|
+
if (!w.words || w.kind === 'button' || w.photo)
|
|
31436
|
+
continue;
|
|
31437
|
+
const behind = photos
|
|
31438
|
+
.filter(p => p.section === w.section && p.z <= w.z && area(meet(p.box, w.words)) >= 0.5 * area(w.words))
|
|
31439
|
+
.sort((a, b) => b.z - a.z)[0];
|
|
31440
|
+
if (!behind)
|
|
31441
|
+
continue;
|
|
31442
|
+
const fw = Math.max(1, behind.box.r - behind.box.l);
|
|
31443
|
+
const fh = Math.max(1, behind.box.b - behind.box.t);
|
|
31444
|
+
const clamp = (v) => Math.min(1, Math.max(0, v));
|
|
31445
|
+
out.push({
|
|
31446
|
+
path: w.path, viewport: m.viewport, photo: behind.photo, frame: { w: fw, h: fh },
|
|
31447
|
+
region: { x0: clamp((w.words.l - behind.box.l) / fw), x1: clamp((w.words.r - behind.box.l) / fw), y0: clamp((w.words.t - behind.box.t) / fh), y1: clamp((w.words.b - behind.box.t) / fh) },
|
|
31448
|
+
});
|
|
31449
|
+
}
|
|
31450
|
+
}
|
|
31451
|
+
return out;
|
|
31452
|
+
}
|
|
31453
|
+
const srgbToLinear$1 = (v) => (v <= 0.04045 ? v / 12.92 : ((v + 0.055) / 1.055) ** 2.4);
|
|
31454
|
+
const SAMPLES = 6000;
|
|
31455
|
+
/** The light of a part of a photo (fractions of the PHOTO, RGBA bytes row by row) — what the server reads for each area. */
|
|
31456
|
+
function pixelsUnder(rgba, width, height, part) {
|
|
31457
|
+
const x0 = Math.max(0, Math.floor(part.x0 * width)), x1 = Math.min(width, Math.ceil(part.x1 * width));
|
|
31458
|
+
const y0 = Math.max(0, Math.floor(part.y0 * height)), y1 = Math.min(height, Math.ceil(part.y1 * height));
|
|
31459
|
+
const count = Math.max(0, x1 - x0) * Math.max(0, y1 - y0);
|
|
31460
|
+
if (!count)
|
|
31461
|
+
return { luminance: 0, spread: 0 };
|
|
31462
|
+
const step = Math.max(1, Math.floor(count / SAMPLES));
|
|
31463
|
+
let s = 0, s2 = 0, n = 0, k = 0;
|
|
31464
|
+
for (let y = y0; y < y1; y++)
|
|
31465
|
+
for (let x = x0; x < x1; x++, k++) {
|
|
31466
|
+
if (k % step)
|
|
31467
|
+
continue;
|
|
31468
|
+
const i = (y * width + x) * 4;
|
|
31469
|
+
const L = 0.2126 * srgbToLinear$1(rgba[i] / 255) + 0.7152 * srgbToLinear$1(rgba[i + 1] / 255) + 0.0722 * srgbToLinear$1(rgba[i + 2] / 255);
|
|
31470
|
+
s += L;
|
|
31471
|
+
s2 += L * L;
|
|
31472
|
+
n++;
|
|
31473
|
+
}
|
|
31474
|
+
const mean = s / n;
|
|
31475
|
+
return { luminance: mean, spread: Math.sqrt(Math.max(0, s2 / n - mean * mean)) };
|
|
31476
|
+
}
|
|
31477
|
+
/** The prototype's thresholds. */
|
|
31478
|
+
const RENDER_CHECK = {
|
|
31479
|
+
/** Overlap counted when it covers more than this many px² AND this share of the smaller word box. */
|
|
31480
|
+
overlapPx: 80,
|
|
31481
|
+
overlapShare: 0.12,
|
|
31482
|
+
/** px past its rows (desktop) before words count as spilling; px past its columns. */
|
|
31483
|
+
spillDown: 10,
|
|
31484
|
+
spillSide: 12,
|
|
31485
|
+
/** The share of the first section's lead the first screen must show. */
|
|
31486
|
+
firstScreen: 0.6,
|
|
31487
|
+
/** WCAG: large words, other words. */
|
|
31488
|
+
contrastLarge: 3,
|
|
31489
|
+
contrastBody: 4.5,
|
|
31490
|
+
/** The light's spread over which a part of a photo is busy. */
|
|
31491
|
+
busy: 0.11,
|
|
31492
|
+
};
|
|
31493
|
+
const ratio = (a, b) => (Math.max(a, b) + 0.05) / (Math.min(a, b) + 0.05);
|
|
31494
|
+
/** Measured boxes (each viewport) + the pixels under the words on photos → the render issues, by path, said once each. */
|
|
31495
|
+
function judgeLayoutRender(measured, pixels = []) {
|
|
31496
|
+
const issues = new Map();
|
|
31497
|
+
const say = (key, path, message) => { if (!issues.has(key))
|
|
31498
|
+
issues.set(key, { code: LayoutIssueCode.Render, path, message }); };
|
|
31499
|
+
for (const m of measured) {
|
|
31500
|
+
const on = m.viewport;
|
|
31501
|
+
const seen = m.layers.filter(l => l.words && !l.track);
|
|
31502
|
+
for (let a = 0; a < seen.length; a++)
|
|
31503
|
+
for (let b = a + 1; b < seen.length; b++) {
|
|
31504
|
+
const A = seen[a], B = seen[b];
|
|
31505
|
+
if (A.section !== B.section || !shownTogether(A.shown, B.shown))
|
|
31506
|
+
continue;
|
|
31507
|
+
const m2 = meet(ink(A), ink(B));
|
|
31508
|
+
const ov = area(m2);
|
|
31509
|
+
if (ov > RENDER_CHECK.overlapPx && ov > RENDER_CHECK.overlapShare * Math.min(area(ink(A)), area(ink(B)))) {
|
|
31510
|
+
const what = A.kind === 'button' || B.kind === 'button' ? 'run into a button' : 'overlap';
|
|
31511
|
+
say(`ov:${A.path}:${B.path}:${on}`, A.path, `${A.path} and ${B.path}: their words ${what} on the ${on} (${Math.round(m2.r - m2.l)}×${Math.round(m2.b - m2.t)}px) — move one, or give them more rows`);
|
|
31512
|
+
}
|
|
31513
|
+
}
|
|
31514
|
+
// Motion on (iox-ui#65): two word boxes at different depths move toward each other as the page scrolls.
|
|
31515
|
+
const pageHeight = Math.max(m.height, ...m.sections.map(s => s.top + s.height));
|
|
31516
|
+
for (let a = 0; a < seen.length; a++)
|
|
31517
|
+
for (let b = a + 1; b < seen.length; b++) {
|
|
31518
|
+
const A = seen[a], B = seen[b];
|
|
31519
|
+
if (A.section !== B.section || (!A.depth && !B.depth))
|
|
31520
|
+
continue;
|
|
31521
|
+
const sec = m.sections[A.section];
|
|
31522
|
+
const clip = sec ? { l: -Infinity, r: Infinity, t: sec.top, b: sec.top + sec.height } : undefined;
|
|
31523
|
+
const met = driftOverlap({ box: ink(A), depth: A.depth ?? null }, { box: ink(B), depth: B.depth ?? null }, { width: m.width, height: m.height, pageHeight, phone: on === LayoutViewport.Phone }, clip);
|
|
31524
|
+
if (met && met.area > RENDER_CHECK.overlapPx && met.area > RENDER_CHECK.overlapShare * Math.min(area(ink(A)), area(ink(B)))) {
|
|
31525
|
+
const what = A.kind === 'button' || B.kind === 'button' ? 'run into a button' : 'run into each other';
|
|
31526
|
+
const how = (l) => l.depth ?? 'with the page';
|
|
31527
|
+
say(`drift:${A.path}:${B.path}:${on}`, A.depth ? A.path : B.path, `${A.path} (${how(A)}) and ${B.path} (${how(B)}): their words ${what} as the page scrolls on the ${on} (${Math.round(met.overlap.r - met.overlap.l)}×${Math.round(met.overlap.b - met.overlap.t)}px, ${Math.round(met.scroll)}px down) — give them the same depth, or more rows apart`);
|
|
31528
|
+
}
|
|
31529
|
+
}
|
|
31530
|
+
for (const l of seen) {
|
|
31531
|
+
const w = ink(l);
|
|
31532
|
+
if (on === LayoutViewport.Desktop && l.kind !== 'button') {
|
|
31533
|
+
const down = Math.max(w.b - l.box.b, l.box.t - w.t);
|
|
31534
|
+
const side = Math.max(l.words.r - l.box.r, l.box.l - l.words.l);
|
|
31535
|
+
if (down > RENDER_CHECK.spillDown)
|
|
31536
|
+
say(`spill:${l.path}`, l.path, `${l.path}: its words are ${Math.round(down)}px taller than its rows — more rows, fewer words or a smaller size`);
|
|
31537
|
+
else if (side > RENDER_CHECK.spillSide && !l.bleed)
|
|
31538
|
+
say(`spillx:${l.path}`, l.path, `${l.path}: its words are ${Math.round(side)}px wider than its columns — more columns or a smaller size`);
|
|
31539
|
+
}
|
|
31540
|
+
if (!l.bleed && (l.words.l < -2 || l.words.r > m.width + 2))
|
|
31541
|
+
say(`off:${l.path}:${on}`, l.path, `${l.path}: its words run off the ${on} screen`);
|
|
31542
|
+
}
|
|
31543
|
+
if (on === LayoutViewport.Desktop) {
|
|
31544
|
+
for (const lead of m.layers.filter(l => l.section === 0 && l.role === 'lead')) {
|
|
31545
|
+
const h = Math.max(1, lead.box.b - lead.box.t);
|
|
31546
|
+
const shown = Math.max(0, Math.min(lead.box.b, m.height) - Math.max(lead.box.t, 0)) / h;
|
|
31547
|
+
if (shown < RENDER_CHECK.firstScreen)
|
|
31548
|
+
say('first', lead.path, `${lead.path}: the first screen shows ${Math.round(shown * 100)}% of the lead before anyone scrolls — move it up into the first screen`);
|
|
31549
|
+
}
|
|
31550
|
+
}
|
|
31551
|
+
if (on === LayoutViewport.Phone && m.scrollWidth > m.width + 1)
|
|
31552
|
+
say('sideways', 'sections', `the page scrolls sideways on a phone (${m.scrollWidth - m.width}px too wide)`);
|
|
31553
|
+
}
|
|
31554
|
+
const layerAt = new Map(measured.flatMap(m => m.layers.map(l => [`${m.viewport}:${l.path}`, l])));
|
|
31555
|
+
for (const px of pixels) {
|
|
31556
|
+
const l = layerAt.get(`${px.viewport}:${px.path}`);
|
|
31557
|
+
const colour = l ? parseCssColour(l.color) : null;
|
|
31558
|
+
// Under a scrim the build chooses the scrim's strength from these same pixels (M7 `chooseScrim`).
|
|
31559
|
+
if (!l || !colour || l.scrim)
|
|
31560
|
+
continue;
|
|
31561
|
+
const big = l.size >= 24 || (l.size >= 18.6 && l.weight >= 700);
|
|
31562
|
+
const need = big ? RENDER_CHECK.contrastLarge : RENDER_CHECK.contrastBody;
|
|
31563
|
+
const r = ratio(relativeLuminance(colour), px.luminance);
|
|
31564
|
+
if (r < need)
|
|
31565
|
+
say(`contrast:${px.path}`, px.path, `${px.path}: ${r.toFixed(1)}:1 against the photo behind it on the ${px.viewport} (needs ${need}) — another colour, a calm part, or off the photo`);
|
|
31566
|
+
else if (px.spread > RENDER_CHECK.busy)
|
|
31567
|
+
say(`busy:${px.path}`, px.path, `${px.path}: sits on a busy part of a photo on the ${px.viewport} (light varies ${px.spread.toFixed(2)}) — move it to a calm part or onto the ground`);
|
|
31568
|
+
}
|
|
31569
|
+
return [...issues.values()];
|
|
31570
|
+
}
|
|
31571
|
+
|
|
31572
|
+
/** The id a free node is stamped under: `<owner>-<the answer's id>` (unique on the site). */
|
|
31573
|
+
const freeNodeId = (owner, id) => `${owner}-${id}`;
|
|
31574
|
+
/** The id a free node is stamped under, a signature section's root being its owner (`composeFreeSection`). */
|
|
31575
|
+
function freeStampedId(at, node, depth) {
|
|
31576
|
+
return at.section && depth === 0 && node.type === FreeNodeType.Section ? at.owner : freeNodeId(at.owner, node.id);
|
|
31577
|
+
}
|
|
31578
|
+
/** Where a signature section of page `pageKey` at plan place `at` is stamped (`composeSite`'s section id). */
|
|
31579
|
+
const freeSectionOwner = (pageKey, at) => ({ owner: `${pageKey}-${at}`, section: true });
|
|
31580
|
+
/** What the check calls each free node (a word kind where it carries words — the layout check's names). */
|
|
31581
|
+
const FREE_KIND = {
|
|
31582
|
+
[FreeNodeType.Section]: 'section',
|
|
31583
|
+
[FreeNodeType.Container]: 'container',
|
|
31584
|
+
[FreeNodeType.Heading]: 'heading',
|
|
31585
|
+
[FreeNodeType.Text]: 'text',
|
|
31586
|
+
[FreeNodeType.Button]: 'button',
|
|
31587
|
+
[FreeNodeType.Image]: 'photo',
|
|
31588
|
+
[FreeNodeType.Video]: 'video',
|
|
31589
|
+
[FreeNodeType.Slot]: 'slot',
|
|
31590
|
+
};
|
|
31591
|
+
const PARALLAX = 'parallax';
|
|
31592
|
+
const DEPTHS = ['back', 'front'];
|
|
31593
|
+
/** The depth a node glides at: its own parallax, else the nearest moving holder's (its words move with it). */
|
|
31594
|
+
function depthOf(w) {
|
|
31595
|
+
for (const n of [w.node, ...[...w.up].reverse()]) {
|
|
31596
|
+
const m = n.move;
|
|
31597
|
+
if (m?.trigger !== FreeTrigger.Scroll || m.action !== PARALLAX)
|
|
31598
|
+
continue;
|
|
31599
|
+
const d = m.params?.['depth'];
|
|
31600
|
+
return d && DEPTHS.includes(d) ? d : undefined;
|
|
31601
|
+
}
|
|
31602
|
+
return undefined;
|
|
31603
|
+
}
|
|
31604
|
+
/**
|
|
31605
|
+
* In the browser: a stamped free page's (or signature section's) nodes as rendered under `root`, in the root's own
|
|
31606
|
+
* coordinates — every node with a box, its words where it carries any. A place the fall back gave the plan back
|
|
31607
|
+
* (`readyMade`) is measured as a section and nothing in it (its nodes are the pattern's, judged where the pattern was).
|
|
31608
|
+
* Run with the page at rest (scrolled to its top, entrances settled).
|
|
31609
|
+
*/
|
|
31610
|
+
function measureFree(root, page, at, viewport) {
|
|
31611
|
+
const metrics = layerMetricsOf(root);
|
|
31612
|
+
const find = (id) => root.querySelector(`.iox-node-${id}`);
|
|
31613
|
+
const sections = page.sections.map(s => {
|
|
31614
|
+
const el = find(freeStampedId(at, s, 0));
|
|
31615
|
+
const r = el ? metrics.box(el) : { l: 0, t: 0, r: 0, b: 0 };
|
|
31616
|
+
return { top: r.t, height: r.b - r.t, held: false };
|
|
31617
|
+
});
|
|
31618
|
+
const layers = [];
|
|
31619
|
+
for (const w of walkFree(page.sections.filter(s => !s.readyMade))) {
|
|
31620
|
+
// A walk over the model's sections only: its section index is the answer's place among them, put back here.
|
|
31621
|
+
const place = page.sections.indexOf(w.up[0] ?? w.node);
|
|
31622
|
+
const path = w.path.replace(/^sections\[\d+\]/, `sections[${place}]`);
|
|
31623
|
+
const el = find(freeStampedId(at, w.node, w.up.length));
|
|
31624
|
+
if (!el)
|
|
31625
|
+
continue;
|
|
31626
|
+
const kind = FREE_KIND[w.node.type];
|
|
31627
|
+
const depth = depthOf(w);
|
|
31628
|
+
layers.push({
|
|
31629
|
+
// A signature section never opens its page (`signatureAt` skips the opening): the first screen is not its to hold.
|
|
31630
|
+
...metrics.layer(el, kind), path, section: place, role: at.section ? '' : w.node.role ?? '', bleed: false, scrim: false, track: false,
|
|
31631
|
+
...(w.node.type === FreeNodeType.Image && w.node.src ? { photo: w.node.src } : {}),
|
|
31632
|
+
...(depth ? { depth } : {}),
|
|
31633
|
+
});
|
|
31634
|
+
}
|
|
31635
|
+
return { viewport, width: metrics.width, height: LAYOUT_VIEWPORTS[viewport].height, scrollWidth: metrics.scrollWidth, sections, layers };
|
|
31636
|
+
}
|
|
31637
|
+
|
|
31095
31638
|
/**
|
|
31096
31639
|
* THE FREE STAMP (award-ingredients plan §11.4, FS3, R-H3): a free page — or one free signature section — that passed
|
|
31097
31640
|
* `checkFree` in, ordinary builder nodes out. Each free node is made by `createSerializedNode` (the builder's own
|
|
@@ -31109,7 +31652,7 @@ const LIST_SLOT = 'list:';
|
|
|
31109
31652
|
const FORM_SLOT = 'form:';
|
|
31110
31653
|
/** A list slot's mix when the answer names no option: cards of the list's parts, in a grid. */
|
|
31111
31654
|
const LIST_SLOT_WORDS = ['item:card', 'arrange:grid'];
|
|
31112
|
-
const idOf = (ctx, id) =>
|
|
31655
|
+
const idOf = (ctx, id) => freeNodeId(ctx.o.owner, id);
|
|
31113
31656
|
/** A free page's sections, one stamped root each (a ready-made place stamped with its pattern, the rest as model-laid). */
|
|
31114
31657
|
function composeFreePage(page, options) {
|
|
31115
31658
|
const ctx = contextOf(options, page.sections);
|
|
@@ -37438,7 +37981,7 @@ function stockGroupOf(target) {
|
|
|
37438
37981
|
}
|
|
37439
37982
|
const TEXT_PROPS = ['content', 'label'];
|
|
37440
37983
|
/** The words of a subtree's text (Headings, Text, Links), the given node left out. */
|
|
37441
|
-
function textOf
|
|
37984
|
+
function textOf(nodes, skip) {
|
|
37442
37985
|
const out = [];
|
|
37443
37986
|
walkSerialized(nodes, n => {
|
|
37444
37987
|
if (n.id === skip)
|
|
@@ -37474,7 +38017,7 @@ function stockSlots(plan, composed) {
|
|
|
37474
38017
|
out.push({
|
|
37475
38018
|
kind: StockSlotKind.Section, nodeId: n.id, owner: page.key, pattern, intent,
|
|
37476
38019
|
aspect: aspectRatioOf(n.styleProps['aspectRatio']),
|
|
37477
|
-
words: stockWords(...(row ? textOf
|
|
38020
|
+
words: stockWords(...(row ? textOf([row], n.id) : []), ...sectionWords),
|
|
37478
38021
|
});
|
|
37479
38022
|
});
|
|
37480
38023
|
});
|
|
@@ -37928,7 +38471,7 @@ const AREA_PERCENTILE = 0.05;
|
|
|
37928
38471
|
const AREA_MARGIN = 0.1;
|
|
37929
38472
|
/** A phone shows the middle of a wide picture: read that column too. */
|
|
37930
38473
|
const PHONE_COLUMN = [1 / 3, 2 / 3];
|
|
37931
|
-
const srgbToLinear
|
|
38474
|
+
const srgbToLinear = (v) => (v <= 0.04045 ? v / 12.92 : ((v + 0.055) / 1.055) ** 2.4);
|
|
37932
38475
|
const linearToSrgb = (v) => (v <= 0.0031308 ? v * 12.92 : 1.055 * v ** (1 / 2.4) - 0.055);
|
|
37933
38476
|
const BYTE = 255;
|
|
37934
38477
|
const RGBA = 4;
|
|
@@ -37939,7 +38482,7 @@ function windowLuminance(rgba, width, height, rows, columns) {
|
|
|
37939
38482
|
for (let y = Math.max(0, y0); y < Math.min(height, y1); y++) {
|
|
37940
38483
|
for (let x = Math.max(0, x0); x < Math.min(width, x1); x++) {
|
|
37941
38484
|
const i = (y * width + x) * RGBA;
|
|
37942
|
-
values.push(0.2126 * srgbToLinear
|
|
38485
|
+
values.push(0.2126 * srgbToLinear(rgba[i] / BYTE) + 0.7152 * srgbToLinear(rgba[i + 1] / BYTE) + 0.0722 * srgbToLinear(rgba[i + 2] / BYTE));
|
|
37943
38486
|
}
|
|
37944
38487
|
}
|
|
37945
38488
|
if (!values.length)
|
|
@@ -38004,227 +38547,6 @@ function luminanceOf(colour) {
|
|
|
38004
38547
|
return c ? relativeLuminance(c) : null;
|
|
38005
38548
|
}
|
|
38006
38549
|
|
|
38007
|
-
/**
|
|
38008
|
-
* The render check of a composed page (M8-G2-D8), split where it can run. `measureLayout` runs in a BROWSER (the owner's,
|
|
38009
|
-
* on the Plan step — iox-cms has none): it reads the rendered boxes of the composed page's layers. `wordsOverPhotos` names
|
|
38010
|
-
* the photo behind each word box and the part of the frame it covers; iox-cms reads those pixels (`pixelsUnder`, on the
|
|
38011
|
-
* photo's own RGBA after `coverCrop`); `judgeLayoutRender` turns both into issues with a path, like `checkLayout`. The
|
|
38012
|
-
* rules are the prototype's (`prototypes/breaking-limits/code/render-check.cjs`); its Playwright run stays the harness's.
|
|
38013
|
-
*/
|
|
38014
|
-
var LayoutViewport;
|
|
38015
|
-
(function (LayoutViewport) {
|
|
38016
|
-
LayoutViewport["Desktop"] = "desktop";
|
|
38017
|
-
LayoutViewport["Phone"] = "phone";
|
|
38018
|
-
})(LayoutViewport || (LayoutViewport = {}));
|
|
38019
|
-
/** The two widths a composed page is checked at (the prototype's). */
|
|
38020
|
-
const LAYOUT_VIEWPORTS = {
|
|
38021
|
-
[LayoutViewport.Desktop]: { width: 1440, height: 900 },
|
|
38022
|
-
[LayoutViewport.Phone]: { width: 390, height: 844 },
|
|
38023
|
-
};
|
|
38024
|
-
const WORD_KINDS = new Set(['word', 'heading', 'text', 'label', 'number', 'list', 'button']);
|
|
38025
|
-
const textOf = (el) => String(el.textContent ?? '').trim();
|
|
38026
|
-
/** A layer node's class (`iox-node-<id>`) — what both renderers put on every node. */
|
|
38027
|
-
const layoutNodeClass = (prefix, i, j) => `iox-node-${prefix}-s${i}${j === undefined ? '' : `-l${j}`}`;
|
|
38028
|
-
/**
|
|
38029
|
-
* In the browser: the composed page's layers as rendered under `root` (the offscreen render, `prefix` its node id prefix),
|
|
38030
|
-
* in the root's own coordinates. Run with the page at rest (scrolled to its top, entrances settled).
|
|
38031
|
-
*/
|
|
38032
|
-
function measureLayout(root, page, prefix, viewport) {
|
|
38033
|
-
const origin = root.getBoundingClientRect();
|
|
38034
|
-
const rel = (r) => ({ l: r.left - origin.left, t: r.top - origin.top, r: r.right - origin.left, b: r.bottom - origin.top });
|
|
38035
|
-
const doc = root.ownerDocument;
|
|
38036
|
-
const view = doc.defaultView;
|
|
38037
|
-
const find = (cls) => root.querySelector(`.${cls}`);
|
|
38038
|
-
const sections = page.sections.map((s, i) => {
|
|
38039
|
-
const el = find(layoutNodeClass(prefix, i));
|
|
38040
|
-
const r = el ? rel(el.getBoundingClientRect()) : { l: 0, t: 0, r: 0, b: 0 };
|
|
38041
|
-
return { top: r.t, height: r.b - r.t, held: !!s.pin };
|
|
38042
|
-
});
|
|
38043
|
-
const layers = [];
|
|
38044
|
-
page.sections.forEach((s, i) => s.layers.forEach((l, j) => {
|
|
38045
|
-
const el = find(layoutNodeClass(prefix, i, j));
|
|
38046
|
-
if (!el)
|
|
38047
|
-
return;
|
|
38048
|
-
const depth = layoutGlideDepth(s, l);
|
|
38049
|
-
const spans = s.pin && viewport === LayoutViewport.Desktop ? layerShownSpans(l) : null;
|
|
38050
|
-
const shown = spans && !(spans.length === 1 && spans[0][0] === 0 && spans[0][1] === 1) ? spans : null;
|
|
38051
|
-
const style = view?.getComputedStyle(el);
|
|
38052
|
-
const box = rel(el.getBoundingClientRect());
|
|
38053
|
-
let words = null;
|
|
38054
|
-
if (WORD_KINDS.has(l.kind) && textOf(el)) {
|
|
38055
|
-
if (l.kind === 'button')
|
|
38056
|
-
words = box;
|
|
38057
|
-
else {
|
|
38058
|
-
const range = doc.createRange();
|
|
38059
|
-
range.selectNodeContents(el);
|
|
38060
|
-
const tight = typeof range.getBoundingClientRect === 'function' ? range.getBoundingClientRect() : null;
|
|
38061
|
-
words = tight && tight.width > 0 ? rel(tight) : box;
|
|
38062
|
-
}
|
|
38063
|
-
}
|
|
38064
|
-
layers.push({
|
|
38065
|
-
path: `sections[${i}].layers[${j}]`, section: i, kind: l.kind, role: l.role ?? '', bleed: !!l.bleed && l.bleed !== 'none', scrim: !!l.scrim,
|
|
38066
|
-
track: (s.track ?? 0) > 1, z: Number(style?.zIndex) || 0, box, words,
|
|
38067
|
-
size: parseFloat(style?.fontSize ?? '') || 16, weight: Number(style?.fontWeight) || 400, color: style?.color ?? '',
|
|
38068
|
-
...(l.kind === 'photo' && l.photo?.id ? { photo: l.photo.id } : {}),
|
|
38069
|
-
...(depth ? { depth } : {}),
|
|
38070
|
-
...(shown ? { shown } : {}),
|
|
38071
|
-
});
|
|
38072
|
-
}));
|
|
38073
|
-
return { viewport, width: root.clientWidth || origin.width, height: LAYOUT_VIEWPORTS[viewport].height, scrollWidth: root.scrollWidth || origin.width, sections, layers };
|
|
38074
|
-
}
|
|
38075
|
-
const area = (r) => Math.max(0, r.r - r.l) * Math.max(0, r.b - r.t);
|
|
38076
|
-
const meet = (a, b) => ({ l: Math.max(a.l, b.l), t: Math.max(a.t, b.t), r: Math.min(a.r, b.r), b: Math.min(a.b, b.b) });
|
|
38077
|
-
/** Where the letters are: a line box is the font's ascent + descent, taller than the ink — most of all for display faces. */
|
|
38078
|
-
function ink(layer) {
|
|
38079
|
-
const w = layer.words;
|
|
38080
|
-
if (layer.kind === 'button')
|
|
38081
|
-
return w;
|
|
38082
|
-
const [up, down] = layer.size >= 40 ? [0.2, 0.15] : [0.12, 0.08];
|
|
38083
|
-
return { l: w.l, r: w.r, t: w.t + up * layer.size, b: w.b - down * layer.size };
|
|
38084
|
-
}
|
|
38085
|
-
/** The word boxes that sit on a photo — what iox-cms reads the pixels under. */
|
|
38086
|
-
function wordsOverPhotos(measured) {
|
|
38087
|
-
const out = [];
|
|
38088
|
-
for (const m of measured) {
|
|
38089
|
-
const photos = m.layers.filter(l => l.photo);
|
|
38090
|
-
for (const w of m.layers) {
|
|
38091
|
-
if (!w.words || w.kind === 'button' || w.photo)
|
|
38092
|
-
continue;
|
|
38093
|
-
const behind = photos
|
|
38094
|
-
.filter(p => p.section === w.section && p.z <= w.z && area(meet(p.box, w.words)) >= 0.5 * area(w.words))
|
|
38095
|
-
.sort((a, b) => b.z - a.z)[0];
|
|
38096
|
-
if (!behind)
|
|
38097
|
-
continue;
|
|
38098
|
-
const fw = Math.max(1, behind.box.r - behind.box.l);
|
|
38099
|
-
const fh = Math.max(1, behind.box.b - behind.box.t);
|
|
38100
|
-
const clamp = (v) => Math.min(1, Math.max(0, v));
|
|
38101
|
-
out.push({
|
|
38102
|
-
path: w.path, viewport: m.viewport, photo: behind.photo, frame: { w: fw, h: fh },
|
|
38103
|
-
region: { x0: clamp((w.words.l - behind.box.l) / fw), x1: clamp((w.words.r - behind.box.l) / fw), y0: clamp((w.words.t - behind.box.t) / fh), y1: clamp((w.words.b - behind.box.t) / fh) },
|
|
38104
|
-
});
|
|
38105
|
-
}
|
|
38106
|
-
}
|
|
38107
|
-
return out;
|
|
38108
|
-
}
|
|
38109
|
-
const srgbToLinear = (v) => (v <= 0.04045 ? v / 12.92 : ((v + 0.055) / 1.055) ** 2.4);
|
|
38110
|
-
const SAMPLES = 6000;
|
|
38111
|
-
/** The light of a part of a photo (fractions of the PHOTO, RGBA bytes row by row) — what the server reads for each area. */
|
|
38112
|
-
function pixelsUnder(rgba, width, height, part) {
|
|
38113
|
-
const x0 = Math.max(0, Math.floor(part.x0 * width)), x1 = Math.min(width, Math.ceil(part.x1 * width));
|
|
38114
|
-
const y0 = Math.max(0, Math.floor(part.y0 * height)), y1 = Math.min(height, Math.ceil(part.y1 * height));
|
|
38115
|
-
const count = Math.max(0, x1 - x0) * Math.max(0, y1 - y0);
|
|
38116
|
-
if (!count)
|
|
38117
|
-
return { luminance: 0, spread: 0 };
|
|
38118
|
-
const step = Math.max(1, Math.floor(count / SAMPLES));
|
|
38119
|
-
let s = 0, s2 = 0, n = 0, k = 0;
|
|
38120
|
-
for (let y = y0; y < y1; y++)
|
|
38121
|
-
for (let x = x0; x < x1; x++, k++) {
|
|
38122
|
-
if (k % step)
|
|
38123
|
-
continue;
|
|
38124
|
-
const i = (y * width + x) * 4;
|
|
38125
|
-
const L = 0.2126 * srgbToLinear(rgba[i] / 255) + 0.7152 * srgbToLinear(rgba[i + 1] / 255) + 0.0722 * srgbToLinear(rgba[i + 2] / 255);
|
|
38126
|
-
s += L;
|
|
38127
|
-
s2 += L * L;
|
|
38128
|
-
n++;
|
|
38129
|
-
}
|
|
38130
|
-
const mean = s / n;
|
|
38131
|
-
return { luminance: mean, spread: Math.sqrt(Math.max(0, s2 / n - mean * mean)) };
|
|
38132
|
-
}
|
|
38133
|
-
/** The prototype's thresholds. */
|
|
38134
|
-
const RENDER_CHECK = {
|
|
38135
|
-
/** Overlap counted when it covers more than this many px² AND this share of the smaller word box. */
|
|
38136
|
-
overlapPx: 80,
|
|
38137
|
-
overlapShare: 0.12,
|
|
38138
|
-
/** px past its rows (desktop) before words count as spilling; px past its columns. */
|
|
38139
|
-
spillDown: 10,
|
|
38140
|
-
spillSide: 12,
|
|
38141
|
-
/** The share of the first section's lead the first screen must show. */
|
|
38142
|
-
firstScreen: 0.6,
|
|
38143
|
-
/** WCAG: large words, other words. */
|
|
38144
|
-
contrastLarge: 3,
|
|
38145
|
-
contrastBody: 4.5,
|
|
38146
|
-
/** The light's spread over which a part of a photo is busy. */
|
|
38147
|
-
busy: 0.11,
|
|
38148
|
-
};
|
|
38149
|
-
const ratio = (a, b) => (Math.max(a, b) + 0.05) / (Math.min(a, b) + 0.05);
|
|
38150
|
-
/** Measured boxes (each viewport) + the pixels under the words on photos → the render issues, by path, said once each. */
|
|
38151
|
-
function judgeLayoutRender(measured, pixels = []) {
|
|
38152
|
-
const issues = new Map();
|
|
38153
|
-
const say = (key, path, message) => { if (!issues.has(key))
|
|
38154
|
-
issues.set(key, { code: LayoutIssueCode.Render, path, message }); };
|
|
38155
|
-
for (const m of measured) {
|
|
38156
|
-
const on = m.viewport;
|
|
38157
|
-
const seen = m.layers.filter(l => l.words && !l.track);
|
|
38158
|
-
for (let a = 0; a < seen.length; a++)
|
|
38159
|
-
for (let b = a + 1; b < seen.length; b++) {
|
|
38160
|
-
const A = seen[a], B = seen[b];
|
|
38161
|
-
if (A.section !== B.section || !shownTogether(A.shown, B.shown))
|
|
38162
|
-
continue;
|
|
38163
|
-
const m2 = meet(ink(A), ink(B));
|
|
38164
|
-
const ov = area(m2);
|
|
38165
|
-
if (ov > RENDER_CHECK.overlapPx && ov > RENDER_CHECK.overlapShare * Math.min(area(ink(A)), area(ink(B)))) {
|
|
38166
|
-
const what = A.kind === 'button' || B.kind === 'button' ? 'run into a button' : 'overlap';
|
|
38167
|
-
say(`ov:${A.path}:${B.path}:${on}`, A.path, `${A.path} and ${B.path}: their words ${what} on the ${on} (${Math.round(m2.r - m2.l)}×${Math.round(m2.b - m2.t)}px) — move one, or give them more rows`);
|
|
38168
|
-
}
|
|
38169
|
-
}
|
|
38170
|
-
// Motion on (iox-ui#65): two word boxes at different depths move toward each other as the page scrolls.
|
|
38171
|
-
const pageHeight = Math.max(m.height, ...m.sections.map(s => s.top + s.height));
|
|
38172
|
-
for (let a = 0; a < seen.length; a++)
|
|
38173
|
-
for (let b = a + 1; b < seen.length; b++) {
|
|
38174
|
-
const A = seen[a], B = seen[b];
|
|
38175
|
-
if (A.section !== B.section || (!A.depth && !B.depth))
|
|
38176
|
-
continue;
|
|
38177
|
-
const sec = m.sections[A.section];
|
|
38178
|
-
const clip = sec ? { l: -Infinity, r: Infinity, t: sec.top, b: sec.top + sec.height } : undefined;
|
|
38179
|
-
const met = driftOverlap({ box: ink(A), depth: A.depth ?? null }, { box: ink(B), depth: B.depth ?? null }, { width: m.width, height: m.height, pageHeight, phone: on === LayoutViewport.Phone }, clip);
|
|
38180
|
-
if (met && met.area > RENDER_CHECK.overlapPx && met.area > RENDER_CHECK.overlapShare * Math.min(area(ink(A)), area(ink(B)))) {
|
|
38181
|
-
const what = A.kind === 'button' || B.kind === 'button' ? 'run into a button' : 'run into each other';
|
|
38182
|
-
const how = (l) => l.depth ?? 'with the page';
|
|
38183
|
-
say(`drift:${A.path}:${B.path}:${on}`, A.depth ? A.path : B.path, `${A.path} (${how(A)}) and ${B.path} (${how(B)}): their words ${what} as the page scrolls on the ${on} (${Math.round(met.overlap.r - met.overlap.l)}×${Math.round(met.overlap.b - met.overlap.t)}px, ${Math.round(met.scroll)}px down) — give them the same depth, or more rows apart`);
|
|
38184
|
-
}
|
|
38185
|
-
}
|
|
38186
|
-
for (const l of seen) {
|
|
38187
|
-
const w = ink(l);
|
|
38188
|
-
if (on === LayoutViewport.Desktop && l.kind !== 'button') {
|
|
38189
|
-
const down = Math.max(w.b - l.box.b, l.box.t - w.t);
|
|
38190
|
-
const side = Math.max(l.words.r - l.box.r, l.box.l - l.words.l);
|
|
38191
|
-
if (down > RENDER_CHECK.spillDown)
|
|
38192
|
-
say(`spill:${l.path}`, l.path, `${l.path}: its words are ${Math.round(down)}px taller than its rows — more rows, fewer words or a smaller size`);
|
|
38193
|
-
else if (side > RENDER_CHECK.spillSide && !l.bleed)
|
|
38194
|
-
say(`spillx:${l.path}`, l.path, `${l.path}: its words are ${Math.round(side)}px wider than its columns — more columns or a smaller size`);
|
|
38195
|
-
}
|
|
38196
|
-
if (!l.bleed && (l.words.l < -2 || l.words.r > m.width + 2))
|
|
38197
|
-
say(`off:${l.path}:${on}`, l.path, `${l.path}: its words run off the ${on} screen`);
|
|
38198
|
-
}
|
|
38199
|
-
if (on === LayoutViewport.Desktop) {
|
|
38200
|
-
for (const lead of m.layers.filter(l => l.section === 0 && l.role === 'lead')) {
|
|
38201
|
-
const h = Math.max(1, lead.box.b - lead.box.t);
|
|
38202
|
-
const shown = Math.max(0, Math.min(lead.box.b, m.height) - Math.max(lead.box.t, 0)) / h;
|
|
38203
|
-
if (shown < RENDER_CHECK.firstScreen)
|
|
38204
|
-
say('first', lead.path, `${lead.path}: the first screen shows ${Math.round(shown * 100)}% of the lead before anyone scrolls — move it up into the first screen`);
|
|
38205
|
-
}
|
|
38206
|
-
}
|
|
38207
|
-
if (on === LayoutViewport.Phone && m.scrollWidth > m.width + 1)
|
|
38208
|
-
say('sideways', 'sections', `the page scrolls sideways on a phone (${m.scrollWidth - m.width}px too wide)`);
|
|
38209
|
-
}
|
|
38210
|
-
const layerAt = new Map(measured.flatMap(m => m.layers.map(l => [`${m.viewport}:${l.path}`, l])));
|
|
38211
|
-
for (const px of pixels) {
|
|
38212
|
-
const l = layerAt.get(`${px.viewport}:${px.path}`);
|
|
38213
|
-
const colour = l ? parseCssColour(l.color) : null;
|
|
38214
|
-
// Under a scrim the build chooses the scrim's strength from these same pixels (M7 `chooseScrim`).
|
|
38215
|
-
if (!l || !colour || l.scrim)
|
|
38216
|
-
continue;
|
|
38217
|
-
const big = l.size >= 24 || (l.size >= 18.6 && l.weight >= 700);
|
|
38218
|
-
const need = big ? RENDER_CHECK.contrastLarge : RENDER_CHECK.contrastBody;
|
|
38219
|
-
const r = ratio(relativeLuminance(colour), px.luminance);
|
|
38220
|
-
if (r < need)
|
|
38221
|
-
say(`contrast:${px.path}`, px.path, `${px.path}: ${r.toFixed(1)}:1 against the photo behind it on the ${px.viewport} (needs ${need}) — another colour, a calm part, or off the photo`);
|
|
38222
|
-
else if (px.spread > RENDER_CHECK.busy)
|
|
38223
|
-
say(`busy:${px.path}`, px.path, `${px.path}: sits on a busy part of a photo on the ${px.viewport} (light varies ${px.spread.toFixed(2)}) — move it to a calm part or onto the ground`);
|
|
38224
|
-
}
|
|
38225
|
-
return [...issues.values()];
|
|
38226
|
-
}
|
|
38227
|
-
|
|
38228
38550
|
/**
|
|
38229
38551
|
* WHAT THE OWNER'S PROMPT RULED OUT, AS A READY-MADE SECTION CAN BREAK IT (award plan FS-D47, R-H20). The reading keeps
|
|
38230
38552
|
* the owner's refused and asked words as they wrote them (§11.4a); a ready-made section can only break the few of them
|
|
@@ -39641,5 +39963,5 @@ function siteGlobalsOf(globals) {
|
|
|
39641
39963
|
* Generated bundle index. Do not edit.
|
|
39642
39964
|
*/
|
|
39643
39965
|
|
|
39644
|
-
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_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, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_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_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, 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, 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_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFallbackSections, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeSectionAsLayout, freeSignaturePage, freeSlotIssues, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, 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, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedLayoutSection, typeLedOpeningSection, typeLedOpeningWays, typeLedRound, typeLedSection, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
39966
|
+
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_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, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_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_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, 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, 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_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkFooter, checkFree, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, chooseTypeLedOpening, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFallbackSections, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, 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, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, luminanceOf, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, picturelessTypes, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedLayoutSection, typeLedOpeningSection, typeLedOpeningWays, typeLedRound, typeLedSection, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
|
|
39645
39967
|
//# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map
|