@vectoriox/iox-ui 5.165.0 → 5.167.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/actions-core/index.d.ts +7 -1
- package/design-core/index.d.ts +112 -1
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +9 -1
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +133 -5
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +621 -98
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +261 -0
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +49 -7
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +1668 -1392
- package/harness-core/index.d.ts +192 -1
- package/index.d.ts +17 -3
- package/package.json +1 -1
- package/src/actions-core/element-actions.ts +9 -0
- package/src/design-core/flavor-spec.generated.ts +98 -0
- package/src/design-core/footer-classes.ts +38 -0
- package/src/design-core/node-classes.ts +3 -2
- package/src/design-core/public-api.ts +1 -0
- package/src/generation-core/compose-site.ts +34 -6
- package/src/generation-core/footer-mix.ts +292 -34
- package/src/generation-core/layout-drift.ts +36 -3
- package/src/generation-core/layout-language.ts +3 -0
- package/src/generation-core/layout-wire.ts +1 -1
- package/src/generation-core/node-baselines.generated.ts +14 -1
- package/src/generation-core/opening-mix.ts +82 -6
- package/src/generation-core/patterns.ts +4 -1
- package/src/generation-core/public-api.ts +2 -0
- package/src/generation-core/site-spec.generated.ts +198 -49
- package/src/harness-core/business-types.ts +12 -0
- package/src/harness-core/harness-spec.generated.ts +261 -0
- package/styles/iox-design.css +99 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FrameSequence } from '@vectoriox/iox-ui/media-core';
|
|
2
|
-
import { DesignChoices, AnimateId, MoveId, MenuLook, ColorScheme,
|
|
2
|
+
import { DesignChoices, AnimateId, MoveId, ScrubId, MenuLook, ColorScheme, DesignConfigEntry, DesignRevertSnapshot, DesignTokenLike, StylePreset, ResolvedMode } from '@vectoriox/iox-ui/design-core';
|
|
3
3
|
export { HeaderInk } from '@vectoriox/iox-ui/design-core';
|
|
4
4
|
import { SeoRawDoc } from '@vectoriox/iox-ui/seo-core';
|
|
5
5
|
import { ConsentCategory } from '@vectoriox/iox-ui/consent-core';
|
|
@@ -4742,11 +4742,97 @@ declare const SPEC_SITE_FOOTER_PARTS: {
|
|
|
4742
4742
|
readonly slot: "wordmark";
|
|
4743
4743
|
readonly max: 32;
|
|
4744
4744
|
readonly fromBusiness: "name";
|
|
4745
|
+
readonly role: "footer.name";
|
|
4745
4746
|
readonly lay: {
|
|
4746
4747
|
readonly lineHeight: "0.9";
|
|
4747
4748
|
readonly margin: "0px";
|
|
4748
4749
|
};
|
|
4749
4750
|
};
|
|
4751
|
+
readonly statement: {
|
|
4752
|
+
readonly t: "Heading";
|
|
4753
|
+
readonly es: "display";
|
|
4754
|
+
readonly level: "h2";
|
|
4755
|
+
readonly slot: "statement";
|
|
4756
|
+
readonly max: 140;
|
|
4757
|
+
readonly fromBusiness: "tagline";
|
|
4758
|
+
readonly lay: {
|
|
4759
|
+
readonly maxWidth: "16ch";
|
|
4760
|
+
readonly margin: "0px";
|
|
4761
|
+
};
|
|
4762
|
+
};
|
|
4763
|
+
readonly word: {
|
|
4764
|
+
readonly t: "Link";
|
|
4765
|
+
readonly es: "link-display";
|
|
4766
|
+
readonly href: "/contact";
|
|
4767
|
+
readonly slot: "callWord";
|
|
4768
|
+
readonly max: 24;
|
|
4769
|
+
readonly text: "Get in touch";
|
|
4770
|
+
readonly role: "footer.word";
|
|
4771
|
+
readonly lay: {
|
|
4772
|
+
readonly lineHeight: "1";
|
|
4773
|
+
readonly width: "auto";
|
|
4774
|
+
};
|
|
4775
|
+
readonly textHe: "צרו קשר";
|
|
4776
|
+
};
|
|
4777
|
+
readonly "name-and-action": {
|
|
4778
|
+
readonly t: "Container";
|
|
4779
|
+
readonly es: "box";
|
|
4780
|
+
readonly role: "footer.end";
|
|
4781
|
+
readonly lay: {
|
|
4782
|
+
readonly display: "flex";
|
|
4783
|
+
readonly flexWrap: "wrap";
|
|
4784
|
+
readonly gap: "var(--iox-space-gap)";
|
|
4785
|
+
readonly alignItems: "flex-end";
|
|
4786
|
+
readonly justifyContent: "space-between";
|
|
4787
|
+
};
|
|
4788
|
+
readonly c: readonly [{
|
|
4789
|
+
readonly t: "Container";
|
|
4790
|
+
readonly es: "box";
|
|
4791
|
+
readonly role: "footer.links";
|
|
4792
|
+
readonly lay: {
|
|
4793
|
+
readonly display: "flex";
|
|
4794
|
+
readonly flexWrap: "wrap";
|
|
4795
|
+
readonly gap: "var(--iox-space-gap)";
|
|
4796
|
+
readonly alignItems: "flex-start";
|
|
4797
|
+
readonly width: "auto";
|
|
4798
|
+
};
|
|
4799
|
+
readonly c: readonly [{
|
|
4800
|
+
readonly t: "Link";
|
|
4801
|
+
readonly es: "link";
|
|
4802
|
+
readonly each: "$navPages";
|
|
4803
|
+
readonly limit: 2;
|
|
4804
|
+
readonly bind: "page.name";
|
|
4805
|
+
readonly href: "$page.route";
|
|
4806
|
+
}];
|
|
4807
|
+
}, {
|
|
4808
|
+
readonly t: "Container";
|
|
4809
|
+
readonly es: "box";
|
|
4810
|
+
readonly role: "footer.endblock";
|
|
4811
|
+
readonly lay: {
|
|
4812
|
+
readonly display: "flex";
|
|
4813
|
+
readonly flexDirection: "column";
|
|
4814
|
+
readonly gap: "12px";
|
|
4815
|
+
readonly alignItems: "flex-end";
|
|
4816
|
+
readonly width: "auto";
|
|
4817
|
+
};
|
|
4818
|
+
readonly c: readonly [{
|
|
4819
|
+
readonly t: "Text";
|
|
4820
|
+
readonly es: "small";
|
|
4821
|
+
readonly slot: "thanks";
|
|
4822
|
+
readonly max: 90;
|
|
4823
|
+
readonly text: "Thanks for stopping by.";
|
|
4824
|
+
readonly textHe: "תודה שעברתם כאן.";
|
|
4825
|
+
}, {
|
|
4826
|
+
readonly t: "Link";
|
|
4827
|
+
readonly es: "link-large";
|
|
4828
|
+
readonly href: "/contact";
|
|
4829
|
+
readonly slot: "closingAction";
|
|
4830
|
+
readonly max: 24;
|
|
4831
|
+
readonly text: "Get in touch";
|
|
4832
|
+
readonly textHe: "צרו קשר";
|
|
4833
|
+
}];
|
|
4834
|
+
}];
|
|
4835
|
+
};
|
|
4750
4836
|
readonly rule: {
|
|
4751
4837
|
readonly t: "Divider";
|
|
4752
4838
|
readonly es: "rule";
|
|
@@ -5638,7 +5724,7 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
5638
5724
|
readonly roles: readonly ["lead", "support", "decoration", "static"];
|
|
5639
5725
|
readonly enters: readonly ["none", "fade", "fadeRise", "scaleIn", "clipReveal", "maskRise", "blurIn", "pop", "letters"];
|
|
5640
5726
|
readonly sides: readonly ["bottom", "top", "start", "end"];
|
|
5641
|
-
readonly depths: readonly ["back", "mid", "front"];
|
|
5727
|
+
readonly depths: readonly ["back", "mid", "front", "counter"];
|
|
5642
5728
|
readonly transitions: readonly ["cut", "flood", "wipe-up", "wipe-down", "wipe-start", "wipe-end"];
|
|
5643
5729
|
readonly eases: readonly ["out", "inOut", "drawer", "linear"];
|
|
5644
5730
|
readonly paces: readonly ["slow", "normal", "quick"];
|
|
@@ -6828,6 +6914,7 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
6828
6914
|
readonly holds: readonly ["pages", "visit", "contact", "newsletter", "legal", "payments", "clock", "marquee", "badges", "region", "search"];
|
|
6829
6915
|
readonly closing: readonly ["none", "call", "name", "statement", "word", "newsletter", "name-and-action"];
|
|
6830
6916
|
readonly ground: readonly ["inverse", "plain", "subtle", "accent", "film", "scene", "pattern", "inset"];
|
|
6917
|
+
readonly nameStyle: readonly ["plain", "gradient", "emboss", "offset"];
|
|
6831
6918
|
};
|
|
6832
6919
|
readonly many: readonly ["holds"];
|
|
6833
6920
|
readonly meanings: {
|
|
@@ -6862,16 +6949,12 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
6862
6949
|
readonly "ground.scene": "layers back, middle and front with a word sunk between them";
|
|
6863
6950
|
readonly "ground.pattern": "the look's pattern on the footer's ground";
|
|
6864
6951
|
readonly "ground.inset": "the footer as a rounded card inset from the window";
|
|
6952
|
+
readonly "nameStyle.plain": "the closing name in the ink";
|
|
6953
|
+
readonly "nameStyle.gradient": "the closing name in the accent's gradient";
|
|
6954
|
+
readonly "nameStyle.emboss": "the closing name tone on tone, pressed into its ground";
|
|
6955
|
+
readonly "nameStyle.offset": "the closing name starting at the second column";
|
|
6865
6956
|
};
|
|
6866
6957
|
readonly waits: {
|
|
6867
|
-
readonly "arrange.ruled": {
|
|
6868
|
-
readonly phase: "AW12";
|
|
6869
|
-
readonly drawnAs: "columns";
|
|
6870
|
-
};
|
|
6871
|
-
readonly "arrange.list-big": {
|
|
6872
|
-
readonly phase: "AW12";
|
|
6873
|
-
readonly drawnAs: "columns";
|
|
6874
|
-
};
|
|
6875
6958
|
readonly "holds.newsletter": {
|
|
6876
6959
|
readonly phase: "AW12";
|
|
6877
6960
|
readonly drawnAs: null;
|
|
@@ -6904,22 +6987,10 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
6904
6987
|
readonly phase: "HI6";
|
|
6905
6988
|
readonly drawnAs: null;
|
|
6906
6989
|
};
|
|
6907
|
-
readonly "closing.statement": {
|
|
6908
|
-
readonly phase: "AW12";
|
|
6909
|
-
readonly drawnAs: "call";
|
|
6910
|
-
};
|
|
6911
|
-
readonly "closing.word": {
|
|
6912
|
-
readonly phase: "AW12";
|
|
6913
|
-
readonly drawnAs: "call";
|
|
6914
|
-
};
|
|
6915
6990
|
readonly "closing.newsletter": {
|
|
6916
6991
|
readonly phase: "AW12";
|
|
6917
6992
|
readonly drawnAs: "call";
|
|
6918
6993
|
};
|
|
6919
|
-
readonly "closing.name-and-action": {
|
|
6920
|
-
readonly phase: "AW12";
|
|
6921
|
-
readonly drawnAs: "name";
|
|
6922
|
-
};
|
|
6923
6994
|
readonly "ground.film": {
|
|
6924
6995
|
readonly phase: "AW12";
|
|
6925
6996
|
readonly drawnAs: "inverse";
|
|
@@ -6932,29 +7003,14 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
6932
7003
|
readonly phase: "AW7";
|
|
6933
7004
|
readonly drawnAs: "inverse";
|
|
6934
7005
|
};
|
|
6935
|
-
readonly "ground.inset": {
|
|
6936
|
-
readonly phase: "AW12";
|
|
6937
|
-
readonly drawnAs: "inverse";
|
|
6938
|
-
};
|
|
6939
|
-
};
|
|
6940
|
-
readonly waitingIngredients: {
|
|
6941
|
-
readonly nameStyle: {
|
|
6942
|
-
readonly phase: "AW12";
|
|
6943
|
-
readonly words: readonly ["plain", "gradient", "emboss", "offset"];
|
|
6944
|
-
readonly default: "plain";
|
|
6945
|
-
readonly meanings: {
|
|
6946
|
-
readonly "nameStyle.plain": "the closing name in the ink";
|
|
6947
|
-
readonly "nameStyle.gradient": "the closing name in the accent's gradient";
|
|
6948
|
-
readonly "nameStyle.emboss": "the closing name tone on tone, pressed into its ground";
|
|
6949
|
-
readonly "nameStyle.offset": "the closing name starting at the second column";
|
|
6950
|
-
};
|
|
6951
|
-
};
|
|
6952
7006
|
};
|
|
7007
|
+
readonly waitingIngredients: {};
|
|
6953
7008
|
readonly defaults: {
|
|
6954
7009
|
readonly arrange: "columns";
|
|
6955
7010
|
readonly holds: readonly ["pages", "contact"];
|
|
6956
7011
|
readonly closing: "none";
|
|
6957
7012
|
readonly ground: "inverse";
|
|
7013
|
+
readonly nameStyle: "plain";
|
|
6958
7014
|
};
|
|
6959
7015
|
readonly named: {
|
|
6960
7016
|
readonly "footer.three-column": {};
|
|
@@ -6971,7 +7027,29 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
6971
7027
|
readonly rules: {
|
|
6972
7028
|
readonly lineHolds: readonly ["pages"];
|
|
6973
7029
|
readonly minHolds: 1;
|
|
7030
|
+
readonly ruledMinBlocks: 3;
|
|
7031
|
+
readonly ruledCells: 4;
|
|
7032
|
+
readonly listBigPages: 6;
|
|
7033
|
+
readonly listBigLarge: 5;
|
|
7034
|
+
readonly statementPhoneLines: 3;
|
|
6974
7035
|
};
|
|
7036
|
+
readonly callWords: readonly [{
|
|
7037
|
+
readonly text: "Book a table";
|
|
7038
|
+
readonly he: "הזמינו שולחן";
|
|
7039
|
+
readonly types: readonly ["restaurant", "bar-winery"];
|
|
7040
|
+
}, {
|
|
7041
|
+
readonly text: "Visit us";
|
|
7042
|
+
readonly he: "בואו לבקר";
|
|
7043
|
+
readonly types: readonly ["cafe-bakery", "boutique", "florist", "home-goods", "venue-events", "hotel-bnb"];
|
|
7044
|
+
}, {
|
|
7045
|
+
readonly text: "Say hello";
|
|
7046
|
+
readonly he: "בואו נדבר";
|
|
7047
|
+
readonly types: readonly ["photographer", "interior-design", "architecture", "creative-studio", "artist", "makers", "jewellery", "tattoo"];
|
|
7048
|
+
}, {
|
|
7049
|
+
readonly text: "Get in touch";
|
|
7050
|
+
readonly he: "צרו קשר";
|
|
7051
|
+
readonly types: readonly [];
|
|
7052
|
+
}];
|
|
6975
7053
|
readonly tiers: {
|
|
6976
7054
|
readonly "arrange.columns": "all";
|
|
6977
7055
|
readonly "arrange.centred": "all";
|
|
@@ -6990,6 +7068,11 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
6990
7068
|
readonly "nameStyle.plain": "all";
|
|
6991
7069
|
readonly "rules.lineHolds": "all";
|
|
6992
7070
|
readonly "rules.minHolds": "all";
|
|
7071
|
+
readonly "rules.ruledMinBlocks": "all";
|
|
7072
|
+
readonly "rules.ruledCells": "all";
|
|
7073
|
+
readonly "rules.listBigPages": "all";
|
|
7074
|
+
readonly "rules.listBigLarge": "all";
|
|
7075
|
+
readonly "rules.statementPhoneLines": "all";
|
|
6993
7076
|
readonly "arrange.ruled": "pro";
|
|
6994
7077
|
readonly "arrange.list-big": "pro";
|
|
6995
7078
|
readonly "holds.newsletter": "pro";
|
|
@@ -7100,6 +7183,15 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7100
7183
|
readonly ground: "accent";
|
|
7101
7184
|
readonly holds: readonly ["pages", "newsletter", "legal"];
|
|
7102
7185
|
};
|
|
7186
|
+
}, {
|
|
7187
|
+
readonly id: "name-edge-to-edge";
|
|
7188
|
+
readonly after: "jeppesen.dev (Doron, AW12 board)";
|
|
7189
|
+
readonly added: "2026-11-23";
|
|
7190
|
+
readonly mix: {
|
|
7191
|
+
readonly closing: "name-and-action";
|
|
7192
|
+
readonly holds: readonly ["pages", "legal"];
|
|
7193
|
+
readonly ground: "plain";
|
|
7194
|
+
};
|
|
7103
7195
|
}];
|
|
7104
7196
|
};
|
|
7105
7197
|
readonly opening: {
|
|
@@ -7108,7 +7200,7 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7108
7200
|
readonly media: readonly ["photo", "film", "slideshow", "object", "diptych", "material", "live", "none"];
|
|
7109
7201
|
readonly words: readonly ["headline", "on-edge", "apart", "wordmark", "behind", "none"];
|
|
7110
7202
|
readonly extras: readonly ["card", "badge", "cue"];
|
|
7111
|
-
readonly motion: readonly ["slow-zoom", "copy-out", "pinned-covered"];
|
|
7203
|
+
readonly motion: readonly ["slow-zoom", "copy-out", "pinned-covered", "dissolve"];
|
|
7112
7204
|
readonly ground: readonly ["accent", "subtle"];
|
|
7113
7205
|
};
|
|
7114
7206
|
readonly many: readonly ["extras", "motion", "ground"];
|
|
@@ -7137,6 +7229,7 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7137
7229
|
readonly "motion.slow-zoom": "the picture slowly zooms (15 s or longer), still under reduced motion";
|
|
7138
7230
|
readonly "motion.copy-out": "the first screen's words fade as the page leaves it, following the scroll";
|
|
7139
7231
|
readonly "motion.pinned-covered": "the first screen holds while the next section slides over it";
|
|
7232
|
+
readonly "motion.dissolve": "as the page leaves the first screen its picture stays, grows and fades — a walk through it — and its words leave in half the distance";
|
|
7140
7233
|
readonly "ground.accent": "a type-led first screen on the look's accent";
|
|
7141
7234
|
readonly "ground.subtle": "a type-led first screen on the look's quiet tint";
|
|
7142
7235
|
};
|
|
@@ -7165,6 +7258,7 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7165
7258
|
readonly "motion.slow-zoom": "התמונה מתקרבת לאט (15 שניות ויותר), ונשארת דוממת כשמבקשים פחות תנועה";
|
|
7166
7259
|
readonly "motion.copy-out": "המילים של המסך הראשון נמוגות כשהדף עוזב אותו, עם הגלילה";
|
|
7167
7260
|
readonly "motion.pinned-covered": "המסך הראשון נשאר במקומו והחלק הבא מחליק מעליו";
|
|
7261
|
+
readonly "motion.dissolve": "כשהדף עוזב את המסך הראשון התמונה נשארת, גדלה ונמוגה — כמו הליכה דרכה — והמילים יוצאות בחצי הדרך";
|
|
7168
7262
|
readonly "ground.accent": "מסך ראשון של מילים, על צבע ההדגשה של המראה";
|
|
7169
7263
|
readonly "ground.subtle": "מסך ראשון של מילים, על הגוון השקט של המראה";
|
|
7170
7264
|
};
|
|
@@ -7324,6 +7418,11 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7324
7418
|
readonly slowZoomMinS: 15;
|
|
7325
7419
|
readonly badgeOwnersOnly: true;
|
|
7326
7420
|
readonly neverHoldsScroll: true;
|
|
7421
|
+
readonly dissolve: {
|
|
7422
|
+
readonly grow: 1.5;
|
|
7423
|
+
readonly wordsGrow: 1.1;
|
|
7424
|
+
readonly wordsUntil: 0.5;
|
|
7425
|
+
};
|
|
7327
7426
|
};
|
|
7328
7427
|
readonly tiers: {
|
|
7329
7428
|
readonly "frame.full": "all";
|
|
@@ -7355,8 +7454,10 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7355
7454
|
readonly "motion.slow-zoom": "pro";
|
|
7356
7455
|
readonly "motion.copy-out": "pro";
|
|
7357
7456
|
readonly "motion.pinned-covered": "pro";
|
|
7457
|
+
readonly "motion.dissolve": "pro";
|
|
7358
7458
|
readonly "rules.phoneInsetPx": "pro";
|
|
7359
7459
|
readonly "rules.slowZoomMinS": "pro";
|
|
7460
|
+
readonly "rules.dissolve": "pro";
|
|
7360
7461
|
};
|
|
7361
7462
|
readonly references: readonly [{
|
|
7362
7463
|
readonly id: "inset-card-with-notice";
|
|
@@ -7464,6 +7565,13 @@ declare const SPEC_SITE_LAYOUT: {
|
|
|
7464
7565
|
readonly media: "object";
|
|
7465
7566
|
readonly extras: readonly ["cue"];
|
|
7466
7567
|
};
|
|
7568
|
+
}, {
|
|
7569
|
+
readonly id: "picture-dissolves";
|
|
7570
|
+
readonly after: "award reading: reddottours (the dissolve)";
|
|
7571
|
+
readonly added: "2026-11-25";
|
|
7572
|
+
readonly mix: {
|
|
7573
|
+
readonly motion: readonly ["dissolve"];
|
|
7574
|
+
};
|
|
7467
7575
|
}];
|
|
7468
7576
|
};
|
|
7469
7577
|
readonly body: {
|
|
@@ -9816,7 +9924,10 @@ declare enum LayoutEnter {
|
|
|
9816
9924
|
declare enum LayoutDepth {
|
|
9817
9925
|
Back = "back",
|
|
9818
9926
|
Mid = "mid",
|
|
9819
|
-
Front = "front"
|
|
9927
|
+
Front = "front",
|
|
9928
|
+
/** AW9 (award plan "Reddottours", the montage): glides the other way from the picture it overlaps, so the two cross as
|
|
9929
|
+
* the page passes; with nothing gliding under or over it, it glides back (`layoutGlideDepth`). */
|
|
9930
|
+
Counter = "counter"
|
|
9820
9931
|
}
|
|
9821
9932
|
declare enum LayoutTransition {
|
|
9822
9933
|
Cut = "cut",
|
|
@@ -11036,8 +11147,11 @@ interface PatternNode {
|
|
|
11036
11147
|
readonly phoneTracks?: ReadonlyArray<PatternTrack>;
|
|
11037
11148
|
/** SC6b: the Video a film pattern plays the owner's film in (its `frames`). */
|
|
11038
11149
|
readonly film?: boolean;
|
|
11039
|
-
/** Commerce G1: a Repeater shows at most this many rows of its source (`commerce.featured`: the newest one).
|
|
11150
|
+
/** Commerce G1: a Repeater shows at most this many rows of its source (`commerce.featured`: the newest one). AW12: on an
|
|
11151
|
+
* `each: $navPages` node, at most this many navigation pages are stamped. */
|
|
11040
11152
|
readonly limit?: number;
|
|
11153
|
+
/** AW12: an `each: $navPages` node skips this many navigation pages first (list-big's small rest). */
|
|
11154
|
+
readonly skip?: number;
|
|
11041
11155
|
}
|
|
11042
11156
|
/**
|
|
11043
11157
|
* SC6: one scene-core track as the contract writes it — `{ prop, keys: [[progress, value]], from? }`. Typed here, not
|
|
@@ -11817,1384 +11931,1578 @@ declare function assertValidSitePlan(plan: unknown, ctx?: SitePlanContext): void
|
|
|
11817
11931
|
*/
|
|
11818
11932
|
declare function archetypeIssues(plan: SitePlan): SitePlanIssue[];
|
|
11819
11933
|
|
|
11820
|
-
/** The
|
|
11821
|
-
declare enum
|
|
11822
|
-
|
|
11823
|
-
|
|
11824
|
-
|
|
11825
|
-
|
|
11826
|
-
|
|
11827
|
-
|
|
11828
|
-
Shipping = "shipping",
|
|
11829
|
-
Imprint = "imprint",
|
|
11830
|
-
DoNotSell = "do-not-sell"
|
|
11934
|
+
/** The ingredients, by the contract's keys (held equal to it by footer-mix.spec). */
|
|
11935
|
+
declare enum FooterIngredient {
|
|
11936
|
+
Arrange = "arrange",
|
|
11937
|
+
Holds = "holds",
|
|
11938
|
+
Closing = "closing",
|
|
11939
|
+
Ground = "ground",
|
|
11940
|
+
/** AW12 (AW12-D12): how the closing name is worn. Not in the fingerprint (AW12-D14). */
|
|
11941
|
+
NameStyle = "nameStyle"
|
|
11831
11942
|
}
|
|
11832
|
-
/** The
|
|
11833
|
-
declare enum
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
Signups = "signups",
|
|
11840
|
-
Hebrew = "hebrew",
|
|
11841
|
-
Israel = "israel",
|
|
11842
|
-
EuBusiness = "eu-business",
|
|
11843
|
-
UsBusiness = "us-business"
|
|
11943
|
+
/** The words, by the table (a word that waits for its phase too — `footerWords` offers only the drawn ones). */
|
|
11944
|
+
declare enum FooterArrange {
|
|
11945
|
+
Columns = "columns",
|
|
11946
|
+
Centred = "centred",
|
|
11947
|
+
Line = "line",
|
|
11948
|
+
Ruled = "ruled",
|
|
11949
|
+
ListBig = "list-big"
|
|
11844
11950
|
}
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
11849
|
-
|
|
11951
|
+
declare enum FooterHold {
|
|
11952
|
+
Pages = "pages",
|
|
11953
|
+
Visit = "visit",
|
|
11954
|
+
Contact = "contact",
|
|
11955
|
+
Newsletter = "newsletter",
|
|
11956
|
+
Legal = "legal",
|
|
11957
|
+
Payments = "payments",
|
|
11958
|
+
Clock = "clock",
|
|
11959
|
+
Marquee = "marquee",
|
|
11960
|
+
Badges = "badges",
|
|
11961
|
+
Region = "region",
|
|
11962
|
+
Search = "search"
|
|
11850
11963
|
}
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
|
|
11964
|
+
declare enum FooterClosing {
|
|
11965
|
+
None = "none",
|
|
11966
|
+
Call = "call",
|
|
11967
|
+
Name = "name",
|
|
11968
|
+
Statement = "statement",
|
|
11969
|
+
Word = "word",
|
|
11970
|
+
Newsletter = "newsletter",
|
|
11971
|
+
NameAndAction = "name-and-action"
|
|
11854
11972
|
}
|
|
11855
|
-
|
|
11856
|
-
|
|
11857
|
-
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
11862
|
-
|
|
11973
|
+
declare enum FooterGround {
|
|
11974
|
+
Inverse = "inverse",
|
|
11975
|
+
Plain = "plain",
|
|
11976
|
+
Subtle = "subtle",
|
|
11977
|
+
Accent = "accent",
|
|
11978
|
+
Film = "film",
|
|
11979
|
+
Scene = "scene",
|
|
11980
|
+
Pattern = "pattern",
|
|
11981
|
+
Inset = "inset"
|
|
11863
11982
|
}
|
|
11864
|
-
|
|
11865
|
-
|
|
11866
|
-
|
|
11867
|
-
|
|
11868
|
-
|
|
11869
|
-
declare const FORM_LEGAL_ROLE = "form.legal";
|
|
11870
|
-
declare const FOOTER_LEGAL_ROLE = "footer.legal";
|
|
11871
|
-
/** ISO 3166-1 alpha-2 for Israel — the accessibility statement's country (Israel's equal-rights regulations, 2013). */
|
|
11872
|
-
declare const ISRAEL = "IL";
|
|
11873
|
-
/** The countries whose businesses publish an imprint (the table's `imprintCountries`). */
|
|
11874
|
-
declare const IMPRINT_COUNTRIES: ReadonlySet<string>;
|
|
11875
|
-
declare function isLegalKind(value: unknown): value is LegalKind;
|
|
11876
|
-
declare function legalKindRow(kind: `${LegalKind}`): LegalKindRow;
|
|
11877
|
-
/** A kind's page title in the site's language. */
|
|
11878
|
-
declare function legalTitle(kind: `${LegalKind}`, lang: string | null | undefined): string;
|
|
11879
|
-
/** What belongs on the page, in the site's language — the placeholder it shows until the owner writes it. */
|
|
11880
|
-
declare function legalLabel(kind: `${LegalKind}`, lang: string | null | undefined): string;
|
|
11881
|
-
/** True when a kind holds Publish while it is the placeholder (yes, or with the checkout's own). */
|
|
11882
|
-
declare function legalKindBlocks(kind: `${LegalKind}`): boolean;
|
|
11883
|
-
/** The kind a page says it is (`pageSettings.legal`), or null. */
|
|
11884
|
-
declare function legalKindOfPage(page: {
|
|
11885
|
-
pageSettings?: Readonly<Record<string, unknown>> | null;
|
|
11886
|
-
} | null | undefined): LegalKind | null;
|
|
11887
|
-
type LegalFacts = Readonly<Partial<Record<`${LegalFact}`, boolean>>>;
|
|
11888
|
-
/** The kinds a site with these facts needs, in the table's order (deferred kinds never). */
|
|
11889
|
-
declare function legalKindsFor(facts: LegalFacts): LegalKind[];
|
|
11890
|
-
/** The form controls that ask for a personal detail (a name, an email, a phone, words about the person). */
|
|
11891
|
-
declare const PERSONAL_CONTROLS: ReadonlySet<string>;
|
|
11892
|
-
/** True when a Form node asks for a personal detail. */
|
|
11893
|
-
declare function formAsksPersonalData(form: SerializedNode): boolean;
|
|
11894
|
-
/** The facts the site's own nodes answer: a personal-data form, a booking form, a sign-up form. */
|
|
11895
|
-
declare function formLegalFacts(nodes: ReadonlyArray<SerializedNode>): LegalFacts;
|
|
11896
|
-
/** The studio's country as facts: Israel, or a country that asks for an imprint. Unknown = neither. */
|
|
11897
|
-
declare function countryLegalFacts(country: string | null | undefined): LegalFacts;
|
|
11898
|
-
/** A tracker the studio has connected: its connector type and the consent category it needs a yes for. */
|
|
11899
|
-
interface LegalTracker {
|
|
11900
|
-
type: string;
|
|
11901
|
-
category: `${ConsentCategory}`;
|
|
11983
|
+
declare enum FooterNameStyle {
|
|
11984
|
+
Plain = "plain",
|
|
11985
|
+
Gradient = "gradient",
|
|
11986
|
+
Emboss = "emboss",
|
|
11987
|
+
Offset = "offset"
|
|
11902
11988
|
}
|
|
11903
|
-
/**
|
|
11904
|
-
*
|
|
11905
|
-
|
|
11906
|
-
|
|
11907
|
-
*/
|
|
11908
|
-
|
|
11909
|
-
/**
|
|
11910
|
-
|
|
11911
|
-
|
|
11912
|
-
|
|
11913
|
-
|
|
11914
|
-
/**
|
|
11915
|
-
|
|
11916
|
-
/**
|
|
11917
|
-
|
|
11918
|
-
|
|
11989
|
+
/** The roles a footer's parts carry — the contract's (`site.footerParts` and the stored footers), written to the node's
|
|
11990
|
+
* `role`, a class `iox-role-<role>` both renderers emit. */
|
|
11991
|
+
declare enum FooterRole {
|
|
11992
|
+
/** The footer's page list (the Pages block, or the page row of a line or centred footer): a navigation list — its
|
|
11993
|
+
* links rest with no line (vectoriox/iox-ui#87/#97, iox-design.css), as a header's do. */
|
|
11994
|
+
Links = "footer.links",
|
|
11995
|
+
/** The closing name (`closing.name`, `closing.name-and-action`): iox-design.css fits, cuts and wears it. */
|
|
11996
|
+
Name = "footer.name",
|
|
11997
|
+
/** AW12-D12: a gradient or embossed closing name is a decorative COPY of the name the brand block already says — hidden
|
|
11998
|
+
* from assistive technology (`nodeA11yAttributes`). */
|
|
11999
|
+
NameCopy = "footer.name-copy",
|
|
12000
|
+
/** AW12 `closing.word`: the call word that is the contact link. */
|
|
12001
|
+
Word = "footer.word",
|
|
12002
|
+
/** AW12 name-and-action: the row above the name, and its end block (the thank-you line, the action, the legal row). */
|
|
12003
|
+
End = "footer.end",
|
|
12004
|
+
EndBlock = "footer.endblock",
|
|
12005
|
+
/** AW12 `arrange.ruled`: the grid whose cells are divided by hairlines. */
|
|
12006
|
+
Ruled = "footer.ruled",
|
|
12007
|
+
/** AW12 `arrange.list-big`: the pages stacked large. */
|
|
12008
|
+
ListBig = "footer.list-big"
|
|
11919
12009
|
}
|
|
11920
|
-
/**
|
|
11921
|
-
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
/**
|
|
11929
|
-
* The legal line beside a form (AW-D15) in the site's language, as words and links: "By sending, you agree to the
|
|
11930
|
-
* {terms} and {privacy}." — the privacy-only line when the site has no terms page. Spaces stay with the words, so the
|
|
11931
|
-
* pieces read as one sentence when drawn inline.
|
|
11932
|
-
*/
|
|
11933
|
-
declare function legalFormLine(lang: string | null | undefined, withTerms: boolean): LegalLinePart[];
|
|
11934
|
-
|
|
11935
|
-
/** The ingredients, by the contract's keys (held equal to it by opening-mix.spec). */
|
|
11936
|
-
declare enum OpeningIngredient {
|
|
11937
|
-
Frame = "frame",
|
|
11938
|
-
Media = "media",
|
|
11939
|
-
Words = "words",
|
|
11940
|
-
Extras = "extras",
|
|
11941
|
-
Motion = "motion",
|
|
11942
|
-
/** iox-ui#131: what a type-led first screen stands on (none named: the inverse scheme). The harness's alone. */
|
|
11943
|
-
Ground = "ground"
|
|
12010
|
+
/** One word per ingredient; `holds` several, in the table's order. */
|
|
12011
|
+
interface FooterMix {
|
|
12012
|
+
readonly arrange: string;
|
|
12013
|
+
readonly holds: ReadonlyArray<string>;
|
|
12014
|
+
readonly closing: string;
|
|
12015
|
+
readonly ground: string;
|
|
12016
|
+
/** AW12: absent = plain (a stored or hand-made mix written before the name had a style). */
|
|
12017
|
+
readonly nameStyle?: string;
|
|
11944
12018
|
}
|
|
11945
|
-
declare
|
|
11946
|
-
Full = "full",
|
|
11947
|
-
Inset = "inset",
|
|
11948
|
-
Shrinks = "shrinks",
|
|
11949
|
-
Grows = "grows"
|
|
11950
|
-
}
|
|
11951
|
-
declare enum OpeningMedia {
|
|
11952
|
-
Photo = "photo",
|
|
11953
|
-
Film = "film",
|
|
11954
|
-
Slideshow = "slideshow",
|
|
11955
|
-
Object = "object",
|
|
11956
|
-
Diptych = "diptych",
|
|
11957
|
-
Material = "material",
|
|
11958
|
-
Live = "live",
|
|
11959
|
-
None = "none"
|
|
11960
|
-
}
|
|
11961
|
-
declare enum OpeningWords {
|
|
11962
|
-
Headline = "headline",
|
|
11963
|
-
OnEdge = "on-edge",
|
|
11964
|
-
Apart = "apart",
|
|
11965
|
-
Wordmark = "wordmark",
|
|
11966
|
-
Behind = "behind",
|
|
11967
|
-
None = "none"
|
|
11968
|
-
}
|
|
11969
|
-
declare enum OpeningExtra {
|
|
11970
|
-
Card = "card",
|
|
11971
|
-
Badge = "badge",
|
|
11972
|
-
Cue = "cue"
|
|
11973
|
-
}
|
|
11974
|
-
declare enum OpeningMotion {
|
|
11975
|
-
SlowZoom = "slow-zoom",
|
|
11976
|
-
CopyOut = "copy-out",
|
|
11977
|
-
PinnedCovered = "pinned-covered"
|
|
11978
|
-
}
|
|
11979
|
-
/** iox-ui#131: a type-led first screen's ground — `inverse` is the default and no word (the contract's `typeLedGrounds`). */
|
|
11980
|
-
declare enum OpeningGround {
|
|
11981
|
-
Inverse = "inverse",
|
|
11982
|
-
Accent = "accent",
|
|
11983
|
-
Subtle = "subtle"
|
|
11984
|
-
}
|
|
11985
|
-
/** One word for each of frame, media and words; a list (in the table's order) for extras and motion. */
|
|
11986
|
-
interface OpeningMix {
|
|
11987
|
-
frame: string;
|
|
11988
|
-
media: string;
|
|
11989
|
-
words: string;
|
|
11990
|
-
extras: string[];
|
|
11991
|
-
motion: string[];
|
|
11992
|
-
/** iox-ui#131: at most one word; empty — the inverse scheme. Worn by a type-led first screen only. */
|
|
11993
|
-
ground: string[];
|
|
11994
|
-
}
|
|
11995
|
-
declare class OpeningMixError extends Error {
|
|
12019
|
+
declare class FooterMixError extends Error {
|
|
11996
12020
|
}
|
|
11997
|
-
/**
|
|
11998
|
-
|
|
11999
|
-
|
|
12000
|
-
|
|
12001
|
-
|
|
12002
|
-
FrameSettles = "opening.frame-settles",
|
|
12003
|
-
Media = "opening.media",
|
|
12004
|
-
/** A picture that slowly comes closer (slow zoom). */
|
|
12005
|
-
MediaZooms = "opening.media-zooms",
|
|
12006
|
-
Second = "opening.second",
|
|
12007
|
-
Pair = "opening.pair",
|
|
12008
|
-
Film = "opening.film",
|
|
12009
|
-
Slides = "opening.slides",
|
|
12010
|
-
Object = "opening.object",
|
|
12011
|
-
Scrim = "opening.scrim",
|
|
12012
|
-
Words = "opening.words",
|
|
12013
|
-
Title = "opening.title",
|
|
12014
|
-
Lead = "opening.lead",
|
|
12015
|
-
Action = "opening.action",
|
|
12016
|
-
/** #129, a type-led first screen only: the line above the title, the hero's headline beside a display-size name, the
|
|
12017
|
-
* second action and the row that holds the actions — every part the hero it replaces says, so no word is lost. */
|
|
12018
|
-
Eyebrow = "opening.eyebrow",
|
|
12019
|
-
Line = "opening.line",
|
|
12020
|
-
SecondAction = "opening.action-2",
|
|
12021
|
-
Actions = "opening.actions",
|
|
12022
|
-
Apart = "opening.apart",
|
|
12023
|
-
/** The second and third of the words placed apart. */
|
|
12024
|
-
ApartWord = "opening.apart-word",
|
|
12025
|
-
Aside = "opening.aside",
|
|
12026
|
-
Cutout = "opening.cutout",
|
|
12027
|
-
Form = "opening.form",
|
|
12028
|
-
Card = "opening.card",
|
|
12029
|
-
Badge = "opening.badge",
|
|
12030
|
-
Cue = "opening.cue"
|
|
12021
|
+
/** A word the product does not draw yet (award-ingredients-plan.md AW0): the phase it waits for and the built word it is
|
|
12022
|
+
* drawn as meanwhile (null: drawn without it). */
|
|
12023
|
+
interface FooterWait {
|
|
12024
|
+
phase: string;
|
|
12025
|
+
drawnAs: string | null;
|
|
12031
12026
|
}
|
|
12032
|
-
/** The
|
|
12033
|
-
declare const
|
|
12034
|
-
/**
|
|
12035
|
-
declare function
|
|
12036
|
-
/**
|
|
12037
|
-
declare function
|
|
12038
|
-
/**
|
|
12039
|
-
|
|
12040
|
-
|
|
12041
|
-
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
declare function
|
|
12049
|
-
/** The
|
|
12050
|
-
declare
|
|
12051
|
-
/** A mix on the wire
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12027
|
+
/** The footer pattern a plan names when it names none the table knows (the Studio footer). */
|
|
12028
|
+
declare const DEFAULT_FOOTER_PATTERN = "footer.three-column";
|
|
12029
|
+
/** Every word of an ingredient in the table, waiting ones too. */
|
|
12030
|
+
declare function footerTableWords(ingredient: `${FooterIngredient}`): ReadonlyArray<string>;
|
|
12031
|
+
/** The wait of a word, or null when the product draws it. */
|
|
12032
|
+
declare function footerWait(ingredient: `${FooterIngredient}`, word: string): FooterWait | null;
|
|
12033
|
+
/** The words an ingredient may take — the DRAWN ones, the only ones the wire, the brief and the mender offer
|
|
12034
|
+
* (ingredients.md §3.3: offering a waiting word would put its stand-in on every site that asked for it). */
|
|
12035
|
+
declare function footerWords(ingredient: `${FooterIngredient}`): ReadonlyArray<string>;
|
|
12036
|
+
/** What a word means, as the brief and the builder say it. */
|
|
12037
|
+
declare function footerMeaning(ingredient: `${FooterIngredient}`, word: string): string;
|
|
12038
|
+
/** A whole mix from part of one: what is not named is the default. Refuses a word the table lacks. */
|
|
12039
|
+
declare function footerMix(partial?: Partial<FooterMix>): FooterMix;
|
|
12040
|
+
/** The mix a stored footer pattern id stands for (`footer.three-column`, `footer.mega`, `footer.minimal`), or null. */
|
|
12041
|
+
declare function namedFooterMix(patternId: string): FooterMix | null;
|
|
12042
|
+
/** The stored footer pattern a mix is exactly, else null. */
|
|
12043
|
+
declare function footerPatternIdOf(mix: FooterMix): string | null;
|
|
12044
|
+
/** The name's style of a mix (absent = plain). */
|
|
12045
|
+
declare const nameStyleOf: (mix: Pick<FooterMix, "nameStyle">) => string;
|
|
12046
|
+
/** A mix on the wire: ONE list of `<ingredient>:<word>` words (the list wire's encoding), `holds` once per block. A plain
|
|
12047
|
+
* name says nothing (`nameStyle:plain` is every mix's), so a mix stored before AW12 reads and writes the same words. */
|
|
12048
|
+
declare function footerMixWords(mix: FooterMix): string[];
|
|
12049
|
+
/** Every `<ingredient>:<word>` the wire may carry: the drawn words only. */
|
|
12050
|
+
declare function footerWireWords(): string[];
|
|
12051
|
+
/** A mix as the product can draw it today: every waiting word drawn as its stand-in (a held block with none is left
|
|
12052
|
+
* out), and the words that waited, for the check to say. A drawn mix comes back unchanged. Pure. */
|
|
12053
|
+
declare function drawnFooterMix(mix: FooterMix): {
|
|
12054
|
+
mix: FooterMix;
|
|
12055
|
+
waited: Array<{
|
|
12056
|
+
ingredient: FooterIngredient;
|
|
12057
|
+
word: string;
|
|
12058
|
+
} & FooterWait>;
|
|
12059
|
+
};
|
|
12060
|
+
/** The words back into a mix: an ingredient not named is the default; a `holds` named is the whole list. Refuses an unknown
|
|
12061
|
+
* word, and two words for a one-word ingredient. */
|
|
12062
|
+
declare function footerMixFromWords(words: ReadonlyArray<string>): FooterMix;
|
|
12063
|
+
/** The site plan's footer as a mix: its `mixes.footer` when it has one, else its `globals.footer` pattern read as a named
|
|
12064
|
+
* mix, else the Studio footer. */
|
|
12065
|
+
declare function footerMixOfPlan(plan: {
|
|
12066
|
+
readonly globals?: Readonly<Record<string, string>>;
|
|
12058
12067
|
readonly mixes?: {
|
|
12059
|
-
readonly
|
|
12068
|
+
readonly footer?: ReadonlyArray<string>;
|
|
12060
12069
|
};
|
|
12061
|
-
}):
|
|
12062
|
-
/** The
|
|
12063
|
-
declare
|
|
12064
|
-
/**
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
|
|
12070
|
-
|
|
12071
|
-
* so a mix without it carries none. Slow zoom and the frame's settle are the shared stylesheet's (by role). Pure on the
|
|
12072
|
-
* composed section.
|
|
12073
|
-
*/
|
|
12074
|
-
declare function stampOpeningMotion(root: SerializedNode, mix: OpeningMix): void;
|
|
12075
|
-
/** The mix an opening root stores, or null — none stored, or words the table no longer knows. */
|
|
12076
|
-
declare function storedOpeningMix(root: {
|
|
12077
|
-
props?: Record<string, unknown>;
|
|
12078
|
-
} | null | undefined): OpeningMix | null;
|
|
12079
|
-
/** The mix a stored hero pattern id stands for (`hero.split`, `hero.full-bleed-media`, `hero.scene-object`), or null. */
|
|
12080
|
-
declare function namedOpeningMix(patternId: string): OpeningMix | null;
|
|
12081
|
-
/** The stored hero pattern a mix is exactly, else null. */
|
|
12082
|
-
declare function openingPatternIdOf(mix: OpeningMix): string | null;
|
|
12083
|
-
/** One named mix of Components ▸ Opening and the studio's Start from. */
|
|
12084
|
-
interface OpeningGalleryEntry {
|
|
12085
|
-
id: string;
|
|
12086
|
-
name: string;
|
|
12087
|
-
words: string;
|
|
12088
|
-
mix: OpeningMix;
|
|
12089
|
-
}
|
|
12090
|
-
/** The gallery, in the contract's order (the defaults first), named in `locale` (English unless Hebrew). */
|
|
12091
|
-
declare function openingGallery(locale?: string | null): OpeningGalleryEntry[];
|
|
12092
|
-
/** The gallery mix a mix is exactly, or null. */
|
|
12093
|
-
declare function openingGalleryIdOf(mix: OpeningMix): string | null;
|
|
12094
|
-
/** The award readings' openings (§3.3), each a whole mix — Start from lists them after the gallery. */
|
|
12095
|
-
declare function openingReferences(): ReadonlyArray<{
|
|
12070
|
+
}): FooterMix;
|
|
12071
|
+
/** The fingerprint's prefix for a footer. */
|
|
12072
|
+
declare const FOOTER_TOKEN = "footer";
|
|
12073
|
+
/** A footer as the fingerprint sees it: `footer:<arrange>/<closing>/<ground>` — what a visitor takes in at once, in the
|
|
12074
|
+
* contract's order. Two sites with the same token wear the same footer. */
|
|
12075
|
+
declare function footerTokenOf(mix: FooterMix): string;
|
|
12076
|
+
/** A footer token in words: `footer:columns/none/inverse` → "columns · none · inverse". */
|
|
12077
|
+
declare const footerTokenWords: (token: string) => string;
|
|
12078
|
+
/** Doron's reference footers, each as a whole mix. */
|
|
12079
|
+
declare function footerReferences(): ReadonlyArray<{
|
|
12096
12080
|
id: string;
|
|
12097
12081
|
after: string;
|
|
12098
|
-
|
|
12082
|
+
added: string;
|
|
12083
|
+
mix: FooterMix;
|
|
12099
12084
|
}>;
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
|
|
12107
|
-
/** The mix the product DRAWS today: a waiting word becomes its stand-in (a many-ingredient's is left out), each said. */
|
|
12108
|
-
declare function drawnOpeningMix(mix: OpeningMix): {
|
|
12109
|
-
drawn: OpeningMix;
|
|
12110
|
-
gaps: OpeningGap[];
|
|
12111
|
-
};
|
|
12112
|
-
/** The fingerprint's prefix for an opening. */
|
|
12113
|
-
declare const OPENING_TOKEN = "opening";
|
|
12114
|
-
/** An opening as the fingerprint sees it: `opening:<frame>/<media>/<words>` — what a visitor takes in at once; a type-led
|
|
12115
|
-
* first screen on a ground other than the inverse adds it (`opening:full/none/wordmark+accent`, iox-ui#131). */
|
|
12116
|
-
declare function openingTokenOf(mix: OpeningMix): string;
|
|
12117
|
-
/** iox-ui#131: a token's way (frame, media, words) and its ground — `inverse` when it names none. */
|
|
12118
|
-
declare function openingTokenParts(token: string): {
|
|
12119
|
-
way: string;
|
|
12120
|
-
ground: string;
|
|
12121
|
-
};
|
|
12122
|
-
/** iox-ui#131: the grounds a type-led first screen may stand on, in the order tried; a calm look never takes the accent. */
|
|
12123
|
-
declare function typeLedGrounds(calm?: boolean): OpeningGround[];
|
|
12124
|
-
/** Every `<ingredient>:<word>` the generator's wire may carry at `tier`: drawn words only (a waiting word is never
|
|
12125
|
-
* offered), and the award tier's only at the award tier. */
|
|
12126
|
-
declare function openingWireWords(tier?: `${GenerationTier}`): string[];
|
|
12127
|
-
/** #129: a word the harness alone chooses (`media:none` — no picture fills the first screen), never offered to a model. */
|
|
12128
|
-
declare function openingHarnessWord(ingredient: `${OpeningIngredient}`, word: string): boolean;
|
|
12129
|
-
/** #129: the ways a type-led first screen may open, best first, each a whole mix on no picture (the contract's
|
|
12130
|
-
* `opening.typeLed`). */
|
|
12131
|
-
declare function typeLedOpeningWays(): OpeningMix[];
|
|
12132
|
-
/** #129: is the mix a type-led first screen (nothing to show but its words)? */
|
|
12133
|
-
declare const openingIsTypeLed: (mix: Pick<OpeningMix, "media">) => boolean;
|
|
12134
|
-
declare enum OpeningRepairCode {
|
|
12135
|
-
/** A word the award tier alone wears, on a site built below it. */
|
|
12136
|
-
ProOnly = "pro-only",
|
|
12137
|
-
/** The name behind the subject needs a cut-out picture: the name, large. */
|
|
12138
|
-
NeedsCutOut = "needs-cut-out",
|
|
12139
|
-
/** "The film is the message" needs a film or pictures that move: a heading. */
|
|
12140
|
-
NoneNeedsFilm = "none-needs-film",
|
|
12141
|
-
/** Words placed apart need two or three of them. */
|
|
12142
|
-
ApartWords = "apart-words",
|
|
12143
|
-
/** A display-size name would be cut by a phone, or too small on a laptop (R-H6): a heading. */
|
|
12085
|
+
declare enum FooterRepairCode {
|
|
12086
|
+
/** A one-line footer holds only the pages: the other blocks need room. */
|
|
12087
|
+
LineHolds = "line-holds",
|
|
12088
|
+
/** A footer that holds nothing and closes with nothing: it holds the pages. */
|
|
12089
|
+
Empty = "empty",
|
|
12090
|
+
/** The name is too long to stand across a phone's width at the smallest size: no closing name (name-and-action keeps
|
|
12091
|
+
* its action and leaves the name out — AW12-D4). */
|
|
12144
12092
|
NameTooLong = "name-too-long",
|
|
12145
|
-
/**
|
|
12146
|
-
|
|
12147
|
-
/** A
|
|
12148
|
-
|
|
12149
|
-
/**
|
|
12150
|
-
|
|
12093
|
+
/** Another site already wears this footer: the nearest free one (`distinctFooter`). */
|
|
12094
|
+
Worn = "worn",
|
|
12095
|
+
/** A word the product draws in a later phase: drawn as its stand-in meanwhile (the table's `waits`). */
|
|
12096
|
+
Waits = "waits",
|
|
12097
|
+
/** AW12: a statement is the owner's tagline — none given, the footer closes with the call. */
|
|
12098
|
+
StatementWithoutWords = "statement-without-words",
|
|
12099
|
+
/** AW12: the tagline stands more lines on a phone than a statement may: the call. */
|
|
12100
|
+
StatementTooLong = "statement-too-long",
|
|
12101
|
+
/** AW12: the call word is too wide for a phone even on two lines: the call. */
|
|
12102
|
+
WordTooLong = "word-too-long",
|
|
12103
|
+
/** AW12: a block name-and-action has no place for is left out (it keeps the pages and the legal row). */
|
|
12104
|
+
LeftOut = "left-out",
|
|
12105
|
+
/** AW12: ruled cells need company — fewer blocks are drawn as columns. */
|
|
12106
|
+
RuledFewBlocks = "ruled-few-blocks",
|
|
12107
|
+
/** AW12: more pages than a large list holds — the first ones large, the rest small. */
|
|
12108
|
+
ListBigLong = "list-big-long",
|
|
12109
|
+
/** AW12: a name style with no closing name to wear it: plain. */
|
|
12110
|
+
NameStyleWithoutName = "name-style-without-name",
|
|
12111
|
+
/** AW12-D12: an embossed or gradient name is a decorative copy — only beside the brand block that says the name. */
|
|
12112
|
+
EmbossNeedsBrand = "emboss-needs-brand",
|
|
12113
|
+
/** AW12-D10 (H1): a word the kind of business never closes with or stands on (harness FOOTER_NEVER): the call · the
|
|
12114
|
+
* dark band. */
|
|
12115
|
+
TypeNever = "type-never"
|
|
12151
12116
|
}
|
|
12152
|
-
interface
|
|
12153
|
-
code:
|
|
12154
|
-
/** In plain words, for the wizard
|
|
12117
|
+
interface FooterRepair {
|
|
12118
|
+
code: FooterRepairCode;
|
|
12119
|
+
/** In plain words, for the wizard and the model's next turn. */
|
|
12155
12120
|
said: string;
|
|
12156
12121
|
}
|
|
12157
|
-
/**
|
|
12158
|
-
|
|
12159
|
-
|
|
12160
|
-
readonly
|
|
12161
|
-
readonly
|
|
12162
|
-
/**
|
|
12163
|
-
readonly
|
|
12164
|
-
/**
|
|
12165
|
-
readonly
|
|
12166
|
-
/** The owner's own badge words; `null` = none given (the generator: left out), absent = a placeholder (the builder). */
|
|
12167
|
-
readonly badge?: string | null;
|
|
12122
|
+
/** AW12-D10: what a kind of business's footer never closes with or stands on (contract harness
|
|
12123
|
+
* `businessTypes[].footer`, from harness.mjs FOOTER_NEVER; harness-core `BusinessType.footer`). */
|
|
12124
|
+
interface FooterNever {
|
|
12125
|
+
readonly closings: ReadonlyArray<string>;
|
|
12126
|
+
readonly grounds: ReadonlyArray<string>;
|
|
12127
|
+
/** Why, in the owner's words — said with the mend. */
|
|
12128
|
+
readonly say: ReadonlyArray<string>;
|
|
12129
|
+
/** One Hebrew sentence for each English one. */
|
|
12130
|
+
readonly sayHe?: ReadonlyArray<string>;
|
|
12168
12131
|
}
|
|
12132
|
+
/** What the check needs of the site: the business name and the look it wears. */
|
|
12133
|
+
interface FooterContext {
|
|
12134
|
+
name: string;
|
|
12135
|
+
design: DesignChoices;
|
|
12136
|
+
/** The business's tagline: absent or blank, the brand block holds the name alone — never the Text's default words
|
|
12137
|
+
* (a copy placeholder never blocks publishing, so an empty one would go live as "Enter text here"). */
|
|
12138
|
+
tagline?: string;
|
|
12139
|
+
/** AW12: the kind of business (harness), which chooses the call word (`footerCallWord`); absent = everyone's word. */
|
|
12140
|
+
type?: string;
|
|
12141
|
+
/** AW12: how many pages the site's navigation lists (list-big holds a few large); absent = not judged. */
|
|
12142
|
+
pages?: number;
|
|
12143
|
+
/** AW12: the site's language — the call word's and the closed copy's. */
|
|
12144
|
+
locale?: string;
|
|
12145
|
+
/** AW12-D10: what this kind of business's footer never wears (absent = nothing refused). */
|
|
12146
|
+
never?: FooterNever | null;
|
|
12147
|
+
}
|
|
12148
|
+
/** AW12-D15: the call word for a kind of business — closed copy (the contract's `FOOTER.callWords`), in the site's
|
|
12149
|
+
* language. */
|
|
12150
|
+
declare function footerCallWord(type?: string, locale?: string): string;
|
|
12151
|
+
/** True when the business name stands across a phone at the smallest screen size. */
|
|
12152
|
+
declare const footerNameFits: (ctx: FooterContext) => boolean;
|
|
12169
12153
|
/**
|
|
12170
|
-
* The ONE judge of
|
|
12171
|
-
*
|
|
12154
|
+
* The ONE judge of a footer mix: what the table's rules refuse is mended to the nearest mix that keeps them, and each mend
|
|
12155
|
+
* is said. Never throws on a well-formed mix. Pure.
|
|
12172
12156
|
*/
|
|
12173
|
-
declare function
|
|
12174
|
-
mix:
|
|
12175
|
-
repairs:
|
|
12157
|
+
declare function checkFooter(given: FooterMix, ctx: FooterContext): {
|
|
12158
|
+
mix: FooterMix;
|
|
12159
|
+
repairs: FooterRepair[];
|
|
12176
12160
|
};
|
|
12177
|
-
/**
|
|
12178
|
-
declare
|
|
12179
|
-
/** The
|
|
12180
|
-
|
|
12181
|
-
|
|
12182
|
-
declare const TYPE_LED_OPTIONAL_PARTS: ReadonlyArray<string>;
|
|
12183
|
-
/** What a type-led first screen is composed from, given the hero section it takes the place of: the hero's words and
|
|
12184
|
-
* links slot by slot, and every optional part the hero did not say left out — or null when the hero is not one whose
|
|
12185
|
-
* every slot has a place (it is then carried part by part, as any opening). Pure. */
|
|
12186
|
-
declare function typeLedOpeningSection(mix: OpeningMix, hero: {
|
|
12187
|
-
readonly pattern: string;
|
|
12188
|
-
readonly slots?: Readonly<Record<string, string>>;
|
|
12189
|
-
readonly links?: Readonly<Record<string, string>>;
|
|
12190
|
-
}): {
|
|
12191
|
-
slots: Record<string, string>;
|
|
12192
|
-
links: Record<string, string>;
|
|
12193
|
-
without: string[];
|
|
12194
|
-
} | null;
|
|
12195
|
-
/** What the composer stamps for an opening mix. */
|
|
12196
|
-
interface OpeningRecipe {
|
|
12197
|
-
/** The mix it stamps, as drawn (stored on the opening root — OB-5). */
|
|
12198
|
-
mix: OpeningMix;
|
|
12199
|
-
pattern: SitePattern;
|
|
12200
|
-
}
|
|
12201
|
-
/** The opening mix as a pattern — the page's first section. Check it first (`checkOpening` on the drawn mix). Pure. */
|
|
12202
|
-
declare function openingRecipe(mix: OpeningMix, ctx: OpeningContext): OpeningRecipe;
|
|
12203
|
-
|
|
12161
|
+
/** A footer mix as a pattern: what the composer stamps as the site's footer (global, after the page). Check it first. */
|
|
12162
|
+
declare function footerPattern(given: FooterMix, ctx: FooterContext): SitePattern;
|
|
12163
|
+
/** The margin an inset footer stands at (AW12-D11): a card's padding outside the column, never closer than half the gutter
|
|
12164
|
+
* to the window; its words pad back onto the column (both resolve against the page). */
|
|
12165
|
+
declare const FOOTER_INSET_STYLES: Readonly<Record<string, string>>;
|
|
12204
12166
|
/**
|
|
12205
|
-
* The
|
|
12206
|
-
*
|
|
12207
|
-
* menu" section) or the composer (`nav.inline-cta`'s `phoneMenu`) asks for:
|
|
12208
|
-
*
|
|
12209
|
-
* - **Drawer** — a menu button in the header opens a slide-in Dialog at the end edge that lists every
|
|
12210
|
-
* page (board 1). The drawer is a child of the Navigation bar.
|
|
12211
|
-
* - **Bottom bar** — an app-style bar fixed to the bottom of the screen with up to five pages, no drawer
|
|
12212
|
-
* (board 2). The phone header keeps only the brand (Q4).
|
|
12213
|
-
* - **Both** — the bar with four pages and More, which opens the drawer; the drawer is then its own
|
|
12214
|
-
* global, beside the Navigation bar (board 2's layer tree).
|
|
12215
|
-
*
|
|
12216
|
-
* Every part is a real node with a `role` (R2): editable, selectable, styled by its element style. Parts
|
|
12217
|
-
* a shape keeps are passed through untouched, so an author's edits survive a change of shape; the parts
|
|
12218
|
-
* it no longer has are removed (undo brings them back — the caller records ONE history step). Nothing
|
|
12219
|
-
* here reads a clock or a random source: ids come from `newId` (deterministic by default, so the
|
|
12220
|
-
* composer's output is byte-stable).
|
|
12167
|
+
* The composed footer's root says the mix it was composed as (`FOOTER_MIX_PROP` — the classes iox-design.css draws from),
|
|
12168
|
+
* and an inset footer wears the card shape (AW6's trait) at the footer's own margin. Pure on the node it is given.
|
|
12221
12169
|
*/
|
|
12222
|
-
declare
|
|
12223
|
-
|
|
12224
|
-
|
|
12225
|
-
|
|
12170
|
+
declare function stampFooterMix(root: {
|
|
12171
|
+
props: Record<string, unknown>;
|
|
12172
|
+
styleProps?: Record<string, unknown>;
|
|
12173
|
+
}, mix: FooterMix): void;
|
|
12174
|
+
/**
|
|
12175
|
+
* A footer no other site wears (R-H10): the mix when its token is free, else the nearest mix whose token is — one changed
|
|
12176
|
+
* ingredient before two, in `MEND_ORDER`, each word in the table's order — checked again (`checkFooter`), and said. When
|
|
12177
|
+
* every footer is worn, the mix as it is. Pure, deterministic.
|
|
12178
|
+
*/
|
|
12179
|
+
declare function distinctFooter(mix: FooterMix, taken: ReadonlyArray<string>, ctx: FooterContext): {
|
|
12180
|
+
mix: FooterMix;
|
|
12181
|
+
repairs: FooterRepair[];
|
|
12182
|
+
};
|
|
12183
|
+
/** A plan's footer made distinct (R-H10): `distinctFooter` over the plan's own mix, the name and the look it wears; the
|
|
12184
|
+
* plan unchanged when nothing was mended, else with the new mix in `mixes.footer`. Pure. */
|
|
12185
|
+
declare function withDistinctFooter<P extends {
|
|
12186
|
+
readonly business: {
|
|
12187
|
+
readonly name: string;
|
|
12188
|
+
};
|
|
12189
|
+
readonly design: Readonly<Partial<DesignChoices>>;
|
|
12190
|
+
readonly globals?: Readonly<Record<string, string>>;
|
|
12191
|
+
readonly mixes?: {
|
|
12192
|
+
readonly header?: ReadonlyArray<string>;
|
|
12193
|
+
readonly footer?: ReadonlyArray<string>;
|
|
12194
|
+
};
|
|
12195
|
+
}>(plan: P, taken: ReadonlyArray<string>): {
|
|
12196
|
+
plan: P;
|
|
12197
|
+
repairs: FooterRepair[];
|
|
12198
|
+
};
|
|
12199
|
+
|
|
12200
|
+
/** The kinds, by the table's ids (held equal to it by legal.spec). */
|
|
12201
|
+
declare enum LegalKind {
|
|
12202
|
+
Privacy = "privacy",
|
|
12203
|
+
Cookies = "cookies",
|
|
12204
|
+
Accessibility = "accessibility",
|
|
12205
|
+
Terms = "terms",
|
|
12206
|
+
TermsOfSale = "terms-of-sale",
|
|
12207
|
+
Returns = "returns",
|
|
12208
|
+
Shipping = "shipping",
|
|
12209
|
+
Imprint = "imprint",
|
|
12210
|
+
DoNotSell = "do-not-sell"
|
|
12226
12211
|
}
|
|
12227
|
-
/** The
|
|
12228
|
-
declare enum
|
|
12229
|
-
|
|
12230
|
-
|
|
12231
|
-
|
|
12232
|
-
|
|
12233
|
-
|
|
12234
|
-
|
|
12235
|
-
|
|
12236
|
-
|
|
12237
|
-
|
|
12238
|
-
|
|
12239
|
-
|
|
12240
|
-
|
|
12241
|
-
|
|
12242
|
-
|
|
12243
|
-
|
|
12244
|
-
|
|
12245
|
-
|
|
12246
|
-
|
|
12247
|
-
|
|
12248
|
-
|
|
12249
|
-
|
|
12250
|
-
|
|
12212
|
+
/** The facts that decide a kind, by the table's ids. */
|
|
12213
|
+
declare enum LegalFact {
|
|
12214
|
+
PersonalDataForm = "personal-data-form",
|
|
12215
|
+
Tracker = "tracker",
|
|
12216
|
+
Sells = "sells",
|
|
12217
|
+
PhysicalGoods = "physical-goods",
|
|
12218
|
+
Books = "books",
|
|
12219
|
+
Signups = "signups",
|
|
12220
|
+
Hebrew = "hebrew",
|
|
12221
|
+
Israel = "israel",
|
|
12222
|
+
EuBusiness = "eu-business",
|
|
12223
|
+
UsBusiness = "us-business"
|
|
12224
|
+
}
|
|
12225
|
+
/** Whether a kind holds Publish while it is the placeholder: yes · through the checkout gate · never. */
|
|
12226
|
+
declare enum LegalBlocks {
|
|
12227
|
+
Yes = "yes",
|
|
12228
|
+
Commerce = "commerce",
|
|
12229
|
+
No = "no"
|
|
12230
|
+
}
|
|
12231
|
+
interface LegalWords {
|
|
12232
|
+
readonly en: string;
|
|
12233
|
+
readonly he: string;
|
|
12234
|
+
}
|
|
12235
|
+
interface LegalKindRow {
|
|
12236
|
+
readonly id: `${LegalKind}`;
|
|
12237
|
+
readonly when: ReadonlyArray<`${LegalFact}`>;
|
|
12238
|
+
readonly blocks: `${LegalBlocks}`;
|
|
12239
|
+
readonly phase: string;
|
|
12240
|
+
readonly tier: string;
|
|
12241
|
+
readonly title: LegalWords;
|
|
12242
|
+
readonly label: LegalWords;
|
|
12243
|
+
}
|
|
12244
|
+
/** Every kind, in the table's order. */
|
|
12245
|
+
declare const LEGAL_KINDS: ReadonlyArray<LegalKindRow>;
|
|
12246
|
+
/** Where a page says which legal kind it is: `pageSettings.legal` (free-form, saved with the page). */
|
|
12247
|
+
declare const LEGAL_PAGE_SETTING = "legal";
|
|
12248
|
+
/** The role of the legal line beside a form and of a footer's legal row. */
|
|
12249
|
+
declare const FORM_LEGAL_ROLE = "form.legal";
|
|
12250
|
+
declare const FOOTER_LEGAL_ROLE = "footer.legal";
|
|
12251
|
+
/** ISO 3166-1 alpha-2 for Israel — the accessibility statement's country (Israel's equal-rights regulations, 2013). */
|
|
12252
|
+
declare const ISRAEL = "IL";
|
|
12253
|
+
/** The countries whose businesses publish an imprint (the table's `imprintCountries`). */
|
|
12254
|
+
declare const IMPRINT_COUNTRIES: ReadonlySet<string>;
|
|
12255
|
+
declare function isLegalKind(value: unknown): value is LegalKind;
|
|
12256
|
+
declare function legalKindRow(kind: `${LegalKind}`): LegalKindRow;
|
|
12257
|
+
/** A kind's page title in the site's language. */
|
|
12258
|
+
declare function legalTitle(kind: `${LegalKind}`, lang: string | null | undefined): string;
|
|
12259
|
+
/** What belongs on the page, in the site's language — the placeholder it shows until the owner writes it. */
|
|
12260
|
+
declare function legalLabel(kind: `${LegalKind}`, lang: string | null | undefined): string;
|
|
12261
|
+
/** True when a kind holds Publish while it is the placeholder (yes, or with the checkout's own). */
|
|
12262
|
+
declare function legalKindBlocks(kind: `${LegalKind}`): boolean;
|
|
12263
|
+
/** The kind a page says it is (`pageSettings.legal`), or null. */
|
|
12264
|
+
declare function legalKindOfPage(page: {
|
|
12265
|
+
pageSettings?: Readonly<Record<string, unknown>> | null;
|
|
12266
|
+
} | null | undefined): LegalKind | null;
|
|
12267
|
+
type LegalFacts = Readonly<Partial<Record<`${LegalFact}`, boolean>>>;
|
|
12268
|
+
/** The kinds a site with these facts needs, in the table's order (deferred kinds never). */
|
|
12269
|
+
declare function legalKindsFor(facts: LegalFacts): LegalKind[];
|
|
12270
|
+
/** The form controls that ask for a personal detail (a name, an email, a phone, words about the person). */
|
|
12271
|
+
declare const PERSONAL_CONTROLS: ReadonlySet<string>;
|
|
12272
|
+
/** True when a Form node asks for a personal detail. */
|
|
12273
|
+
declare function formAsksPersonalData(form: SerializedNode): boolean;
|
|
12274
|
+
/** The facts the site's own nodes answer: a personal-data form, a booking form, a sign-up form. */
|
|
12275
|
+
declare function formLegalFacts(nodes: ReadonlyArray<SerializedNode>): LegalFacts;
|
|
12276
|
+
/** The studio's country as facts: Israel, or a country that asks for an imprint. Unknown = neither. */
|
|
12277
|
+
declare function countryLegalFacts(country: string | null | undefined): LegalFacts;
|
|
12278
|
+
/** A tracker the studio has connected: its connector type and the consent category it needs a yes for. */
|
|
12279
|
+
interface LegalTracker {
|
|
12280
|
+
type: string;
|
|
12281
|
+
category: `${ConsentCategory}`;
|
|
12282
|
+
}
|
|
12283
|
+
/**
|
|
12284
|
+
* What the composer may not know for itself about the law (AW1): the studio's country, the trackers it connected, the
|
|
12285
|
+
* legal pages it already has, every route it already holds and the cookie banner it already keeps. Read by the caller
|
|
12286
|
+
* (iox-cms reads them at preflight and keeps them on the run, so every step composes the same site).
|
|
12287
|
+
*/
|
|
12288
|
+
interface LegalContext {
|
|
12289
|
+
/** ISO 3166-1 alpha-2 — the studio's country (Shop ▸ Settings; a shekel studio starts in Israel). Absent = unknown. */
|
|
12290
|
+
country?: string | null;
|
|
12291
|
+
trackers?: ReadonlyArray<LegalTracker>;
|
|
12292
|
+
/** The studio's own legal pages, by kind: their route. The build links them and never stamps that kind again. */
|
|
12293
|
+
existing?: Readonly<Partial<Record<`${LegalKind}`, string>>>;
|
|
12294
|
+
/** Every route the studio already has — a stamped legal page never takes one. */
|
|
12295
|
+
takenRoutes?: ReadonlyArray<string>;
|
|
12296
|
+
/** The studio keeps its own cookie banner: its preferences dialog's id, which the footer's Cookie settings opens.
|
|
12297
|
+
* The build stamps no second banner. */
|
|
12298
|
+
keptPreferences?: string | null;
|
|
12251
12299
|
}
|
|
12252
|
-
/**
|
|
12253
|
-
declare
|
|
12254
|
-
|
|
12300
|
+
/** The route a stamped kind takes: `/<kind>`, else `/legal/<kind>`, else numbered — never one already taken. */
|
|
12301
|
+
declare function legalRoute(kind: `${LegalKind}`, taken: ReadonlySet<string>): string;
|
|
12302
|
+
/** One piece of the legal line: words, or a link to a kind's page. */
|
|
12303
|
+
type LegalLinePart = {
|
|
12304
|
+
text: string;
|
|
12305
|
+
} | {
|
|
12306
|
+
kind: LegalKind.Terms | LegalKind.Privacy;
|
|
12307
|
+
};
|
|
12308
|
+
/**
|
|
12309
|
+
* The legal line beside a form (AW-D15) in the site's language, as words and links: "By sending, you agree to the
|
|
12310
|
+
* {terms} and {privacy}." — the privacy-only line when the site has no terms page. Spaces stay with the words, so the
|
|
12311
|
+
* pieces read as one sentence when drawn inline.
|
|
12312
|
+
*/
|
|
12313
|
+
declare function legalFormLine(lang: string | null | undefined, withTerms: boolean): LegalLinePart[];
|
|
12314
|
+
|
|
12315
|
+
/** Where a scrubbed entrance plays: from its element's first pixel on screen, wholly played at the middle of it. */
|
|
12316
|
+
declare const SCRUBBED_ENTRANCE: Readonly<{
|
|
12317
|
+
range: "cover";
|
|
12318
|
+
until: 0.5;
|
|
12319
|
+
}>;
|
|
12320
|
+
/** Interactions ▸ Follow the scroll ▸ Wholly in by (AW10-D6): the middle of the screen (the default), three quarters of
|
|
12321
|
+
* the way, or the end of its pass — `params.until`. */
|
|
12322
|
+
declare enum ScrubUntil {
|
|
12323
|
+
Middle = "middle",
|
|
12324
|
+
ThreeQuarters = "three-quarters",
|
|
12255
12325
|
End = "end"
|
|
12256
12326
|
}
|
|
12257
|
-
|
|
12258
|
-
|
|
12259
|
-
|
|
12260
|
-
|
|
12261
|
-
|
|
12327
|
+
declare const SCRUB_UNTIL: Readonly<Record<ScrubUntil, number>>;
|
|
12328
|
+
/** The Wholly in by choice a stored `until` reads as (absent or 1 = the end). */
|
|
12329
|
+
declare function scrubUntilChoice(until: unknown): ScrubUntil;
|
|
12330
|
+
/** Where copy-out plays: the opening's own exit, the words gone at 0.6 of it. */
|
|
12331
|
+
declare const COPY_OUT: Readonly<{
|
|
12332
|
+
range: "exit";
|
|
12333
|
+
until: 0.6;
|
|
12334
|
+
}>;
|
|
12335
|
+
/** A stamped interaction, in the shape both interaction runtimes read. */
|
|
12336
|
+
interface StampedAction {
|
|
12337
|
+
type: string;
|
|
12338
|
+
target: string;
|
|
12339
|
+
duration?: number;
|
|
12340
|
+
delay?: number;
|
|
12341
|
+
easing?: string;
|
|
12342
|
+
once?: boolean;
|
|
12343
|
+
params?: Record<string, unknown>;
|
|
12262
12344
|
}
|
|
12263
|
-
|
|
12264
|
-
|
|
12265
|
-
|
|
12266
|
-
|
|
12267
|
-
|
|
12268
|
-
|
|
12269
|
-
at?: PhoneMenuBreakpoint | `${PhoneMenuBreakpoint}`;
|
|
12270
|
-
/** Items in the bar, More included (3–5). Default: 5 for Bottom bar, 4 + More for Both. */
|
|
12271
|
-
barItems?: number;
|
|
12272
|
-
/** A new part's id (the builder passes its id generator). Default: `<nav id>-<suffix>`. */
|
|
12273
|
-
newId?: (suffix: string) => string;
|
|
12274
|
-
/** The studio's pages, for a header that links to none (a hand-built one): its menu lists these. */
|
|
12275
|
-
pages?: ReadonlyArray<NavPage>;
|
|
12276
|
-
/** Header ingredients (header-ingredients-plan.md HI-D8): the menu button and its drawer at EVERY width — the header's
|
|
12277
|
-
* links and call to action are hidden at every width and the pages live in the drawer (a "name and menu" header).
|
|
12278
|
-
* Drawer only. Default: what the header already does (`menuAtEveryWidth`), else phone widths only. */
|
|
12279
|
-
everyWidth?: boolean;
|
|
12280
|
-
/** HI-D15: the menu button at the start or the end of the bar (or of the side cell there). Default: where it already
|
|
12281
|
-
* is, else the end. */
|
|
12282
|
-
menuSide?: MenuSide | `${MenuSide}`;
|
|
12283
|
-
/** HI2a: the menu's look — its form, how it opens, its button, what the mouse does in it, its phone form. Written as
|
|
12284
|
-
* traits on the drawer, the menu button and the drawer's Close; a default writes nothing (R-H4). Absent: the parts
|
|
12285
|
-
* keep what they have. */
|
|
12286
|
-
look?: Partial<MenuLook>;
|
|
12287
|
-
/** The site's language, for the words the menu's parts show and are named by (`menuWords`). Default English. */
|
|
12288
|
-
locale?: string;
|
|
12345
|
+
interface StampedInteraction {
|
|
12346
|
+
id: string;
|
|
12347
|
+
trigger: string;
|
|
12348
|
+
range?: string;
|
|
12349
|
+
actions: StampedAction[];
|
|
12350
|
+
origin?: string;
|
|
12289
12351
|
}
|
|
12290
|
-
interface
|
|
12291
|
-
/** The
|
|
12292
|
-
|
|
12293
|
-
shape: NavShape;
|
|
12294
|
-
at: PhoneMenuBreakpoint;
|
|
12295
|
-
/** The menu button shows at every width (`NavShapeOptions.everyWidth`). */
|
|
12296
|
-
everyWidth: boolean;
|
|
12352
|
+
interface ScrubContext {
|
|
12353
|
+
/** The node stands in the page's opening (its first screen): it plays on time whatever the scrub. */
|
|
12354
|
+
opening?: boolean;
|
|
12297
12355
|
}
|
|
12298
|
-
|
|
12356
|
+
/** Whether the look's `scrub` makes an entrance of `type` follow the scroll. */
|
|
12357
|
+
declare function scrubsEntrance(scrub: ScrubId | string | null | undefined, type: string, context?: ScrubContext): boolean;
|
|
12358
|
+
/**
|
|
12359
|
+
* An entrance stamp under the look's `scrub` (AW10): the same action played by the scroll when the scrub takes it, else
|
|
12360
|
+
* the stamp unchanged. A scroll-played action keeps its own params (distance, side, pieces) and its curve (the look's
|
|
12361
|
+
* `ease-enter` — H7) and drops its clock (no duration, delay or row stagger: the scroll is the clock); under `words` a
|
|
12362
|
+
* text lights rather than rises. Pure.
|
|
12363
|
+
*/
|
|
12364
|
+
declare function scrubbedEntrance(ix: StampedInteraction, scrub: ScrubId | string | null | undefined, context?: ScrubContext): StampedInteraction;
|
|
12365
|
+
/** How long an entrance plays once when Follow the scroll is turned off (AW10-D11): the Standard level's heading. */
|
|
12366
|
+
declare const ONCE_ENTRANCE_MS = 700;
|
|
12367
|
+
/** Is `ix` a scrubbed entrance — one this module made, or an author's Follow the scroll: passing through the screen, one
|
|
12368
|
+
* action the time trigger could play too (never a depth or a reading bar, which only the scroll plays)? */
|
|
12369
|
+
declare function isScrubbedEntrance(ix: StampedInteraction): boolean;
|
|
12370
|
+
/**
|
|
12371
|
+
* Follow the scroll turned OFF (AW10-D11, "off, back to once"): a scrubbed entrance becomes the same action played once
|
|
12372
|
+
* as it arrives (`viewportEnter`), `timing` its clock (its own curve, else the look's, and a Standard length when not
|
|
12373
|
+
* given); its `until` goes, every other param (pieces, look, distance) stays. Anything else comes back as it was. Pure —
|
|
12374
|
+
* the panel's one undo step, and the inverse of `scrubbedEntrance` but for the clock it dropped.
|
|
12375
|
+
*/
|
|
12376
|
+
declare function onceEntrance(ix: StampedInteraction, timing?: {
|
|
12377
|
+
duration?: number;
|
|
12378
|
+
delay?: number;
|
|
12379
|
+
easing?: string;
|
|
12380
|
+
}): StampedInteraction;
|
|
12381
|
+
/**
|
|
12382
|
+
* Copy-out (AW10, OPENING `motion.copy-out`, AW10-D9): stamped on the opening SECTION (its exit is what is measured),
|
|
12383
|
+
* fading each node that holds the opening's words — opacity only, so reduced motion keeps it (AW10-D10). Pure.
|
|
12384
|
+
*/
|
|
12385
|
+
declare function copyOutInteraction(sectionId: string, wordsIds: string | ReadonlyArray<string>): StampedInteraction;
|
|
12386
|
+
/** A look stamp on a node, as `planEntrances` gives it. */
|
|
12387
|
+
interface ScrubbableStamp {
|
|
12388
|
+
nodeId: string;
|
|
12389
|
+
interaction: StampedInteraction;
|
|
12299
12390
|
}
|
|
12300
|
-
/**
|
|
12301
|
-
|
|
12302
|
-
|
|
12303
|
-
|
|
12304
|
-
|
|
12305
|
-
|
|
12306
|
-
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
|
|
12310
|
-
*
|
|
12311
|
-
|
|
12312
|
-
|
|
12313
|
-
|
|
12314
|
-
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
|
|
12391
|
+
/**
|
|
12392
|
+
* The look's entrance stamps of one composed section under the look's `scrub` (AW10-D5, D7, D8): each one the scrub
|
|
12393
|
+
* takes becomes the same action played by the scroll (`scrubbedEntrance`); the opening keeps every stamp on time. The
|
|
12394
|
+
* ONE rule the composer applies to `planEntrances`' stamps. Pure.
|
|
12395
|
+
*/
|
|
12396
|
+
declare function scrubEntranceStamps(stamps: ReadonlyArray<ScrubbableStamp>, scrub: ScrubId | string | null | undefined, context?: ScrubContext): ScrubbableStamp[];
|
|
12397
|
+
/**
|
|
12398
|
+
* Whether the look's `scrub` takes a layout layer's entrance (AW10-D12): `entrances` takes every entrance, `words` a
|
|
12399
|
+
* line of words that reveals (mask rise, letters — never a decoration, which only fades), the opening none. The layout
|
|
12400
|
+
* composer plays a layer that says `scrub` by the scroll only when this holds; `checkLayout` mends a `scrub` it does not
|
|
12401
|
+
* (`scrub-look`). `textual`: the layer is a line of words (word, heading, text, label, number). Pure.
|
|
12402
|
+
*/
|
|
12403
|
+
declare function layoutScrubTakes(layer: {
|
|
12404
|
+
enter?: string;
|
|
12405
|
+
role?: string;
|
|
12406
|
+
}, textual: boolean, scrub: ScrubId | string | null | undefined, context?: ScrubContext): boolean;
|
|
12407
|
+
|
|
12408
|
+
/** The ingredients, by the contract's keys (held equal to it by opening-mix.spec). */
|
|
12409
|
+
declare enum OpeningIngredient {
|
|
12410
|
+
Frame = "frame",
|
|
12411
|
+
Media = "media",
|
|
12412
|
+
Words = "words",
|
|
12413
|
+
Extras = "extras",
|
|
12414
|
+
Motion = "motion",
|
|
12415
|
+
/** iox-ui#131: what a type-led first screen stands on (none named: the inverse scheme). The harness's alone. */
|
|
12416
|
+
Ground = "ground"
|
|
12318
12417
|
}
|
|
12319
|
-
declare
|
|
12320
|
-
|
|
12321
|
-
|
|
12322
|
-
|
|
12323
|
-
|
|
12324
|
-
interface NavPage {
|
|
12325
|
-
label: string;
|
|
12326
|
-
route: string;
|
|
12418
|
+
declare enum OpeningFrame {
|
|
12419
|
+
Full = "full",
|
|
12420
|
+
Inset = "inset",
|
|
12421
|
+
Shrinks = "shrinks",
|
|
12422
|
+
Grows = "grows"
|
|
12327
12423
|
}
|
|
12328
|
-
|
|
12329
|
-
|
|
12330
|
-
|
|
12331
|
-
|
|
12332
|
-
|
|
12333
|
-
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
/** Where a phone menu's pages come from: the header's own page Links, else the studio's pages. */
|
|
12337
|
-
declare enum NavPagesSource {
|
|
12338
|
-
Header = "header",
|
|
12339
|
-
Site = "site",
|
|
12424
|
+
declare enum OpeningMedia {
|
|
12425
|
+
Photo = "photo",
|
|
12426
|
+
Film = "film",
|
|
12427
|
+
Slideshow = "slideshow",
|
|
12428
|
+
Object = "object",
|
|
12429
|
+
Diptych = "diptych",
|
|
12430
|
+
Material = "material",
|
|
12431
|
+
Live = "live",
|
|
12340
12432
|
None = "none"
|
|
12341
12433
|
}
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
|
|
12345
|
-
|
|
12346
|
-
|
|
12347
|
-
|
|
12348
|
-
|
|
12349
|
-
* later change of shape or breakpoint keeps it. */
|
|
12350
|
-
declare function menuAtEveryWidth(globals: ReadonlyArray<SerializedNode>, navId?: string | null): boolean;
|
|
12351
|
-
/**
|
|
12352
|
-
* Put a site's header into `shape`. The Navigation bar is `navId` or the global carrying the root role
|
|
12353
|
-
* (else the first Container wearing `nav`, which this then marks with roles). Returns new globals;
|
|
12354
|
-
* the input is not mutated.
|
|
12355
|
-
*/
|
|
12356
|
-
declare function planNavShape(globals: ReadonlyArray<SerializedNode>, shape: NavShape, options?: NavShapeOptions, navId?: string | null): NavShapeResult;
|
|
12357
|
-
interface AddBarItemResult {
|
|
12358
|
-
globals: SerializedNode[];
|
|
12359
|
-
/** False when the bar is full (5 items, More included — Q2) or there is no bar. */
|
|
12360
|
-
added: boolean;
|
|
12434
|
+
declare enum OpeningWords {
|
|
12435
|
+
Headline = "headline",
|
|
12436
|
+
OnEdge = "on-edge",
|
|
12437
|
+
Apart = "apart",
|
|
12438
|
+
Wordmark = "wordmark",
|
|
12439
|
+
Behind = "behind",
|
|
12440
|
+
None = "none"
|
|
12361
12441
|
}
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
declare function addBarItem(globals: ReadonlyArray<SerializedNode>, options?: Pick<NavShapeOptions, 'newId' | 'pages' | 'locale'>): AddBarItemResult;
|
|
12367
|
-
interface BarItemsEditResult {
|
|
12368
|
-
globals: SerializedNode[];
|
|
12369
|
-
/** False when nothing changed: no bar, an unknown item, or the bar would drop below three items (Q2). */
|
|
12370
|
-
changed: boolean;
|
|
12442
|
+
declare enum OpeningExtra {
|
|
12443
|
+
Card = "card",
|
|
12444
|
+
Badge = "badge",
|
|
12445
|
+
Cue = "cue"
|
|
12371
12446
|
}
|
|
12372
|
-
|
|
12373
|
-
|
|
12374
|
-
|
|
12375
|
-
|
|
12376
|
-
|
|
12377
|
-
/** The bar's Items list drag-to-reorder (board 2): item `from` moves to `to`. Input not mutated. */
|
|
12378
|
-
declare function moveBarItem(globals: ReadonlyArray<SerializedNode>, from: number, to: number): BarItemsEditResult;
|
|
12379
|
-
|
|
12380
|
-
/** The ingredients, by the contract's keys (held equal to it by header-mix.spec). */
|
|
12381
|
-
declare enum HeaderIngredient {
|
|
12382
|
-
Arrange = "arrange",
|
|
12383
|
-
MenuSide = "menuSide",
|
|
12384
|
-
Pages = "pages",
|
|
12385
|
-
Menu = "menu",
|
|
12386
|
-
MenuShows = "menuShows",
|
|
12387
|
-
Action = "action",
|
|
12388
|
-
Ground = "ground",
|
|
12389
|
-
Shape = "shape",
|
|
12390
|
-
Brand = "brand",
|
|
12391
|
-
Scroll = "scroll",
|
|
12392
|
-
Edge = "edge",
|
|
12393
|
-
Phone = "phone",
|
|
12394
|
-
/** HB-D1 (HI2a): how the menu opens. */
|
|
12395
|
-
Reveal = "reveal",
|
|
12396
|
-
/** HB-D1 (HI2a): the button that opens it. */
|
|
12397
|
-
Button = "button",
|
|
12398
|
-
/** HB-D1 (HI2a): what the mouse does in it. */
|
|
12399
|
-
MenuHover = "menuHover",
|
|
12400
|
-
/** HB-D1 (HI3): what sits above the bar. */
|
|
12401
|
-
Above = "above",
|
|
12402
|
-
/** HB-D1 (HI3 / HI6): what more sits in the bar. */
|
|
12403
|
-
InBar = "inBar",
|
|
12404
|
-
/** AW6: whose ground the header's ink follows — the opening's, or every section's as it passes under the bar. */
|
|
12405
|
-
Ink = "ink"
|
|
12447
|
+
declare enum OpeningMotion {
|
|
12448
|
+
SlowZoom = "slow-zoom",
|
|
12449
|
+
CopyOut = "copy-out",
|
|
12450
|
+
PinnedCovered = "pinned-covered",
|
|
12451
|
+
Dissolve = "dissolve"
|
|
12406
12452
|
}
|
|
12407
|
-
|
|
12408
|
-
declare enum
|
|
12409
|
-
|
|
12410
|
-
|
|
12411
|
-
|
|
12412
|
-
NameOnly = "name-only"
|
|
12453
|
+
/** iox-ui#131: a type-led first screen's ground — `inverse` is the default and no word (the contract's `typeLedGrounds`). */
|
|
12454
|
+
declare enum OpeningGround {
|
|
12455
|
+
Inverse = "inverse",
|
|
12456
|
+
Accent = "accent",
|
|
12457
|
+
Subtle = "subtle"
|
|
12413
12458
|
}
|
|
12414
|
-
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
|
|
12459
|
+
/** One word for each of frame, media and words; a list (in the table's order) for extras and motion. */
|
|
12460
|
+
interface OpeningMix {
|
|
12461
|
+
frame: string;
|
|
12462
|
+
media: string;
|
|
12463
|
+
words: string;
|
|
12464
|
+
extras: string[];
|
|
12465
|
+
motion: string[];
|
|
12466
|
+
/** iox-ui#131: at most one word; empty — the inverse scheme. Worn by a type-led first screen only. */
|
|
12467
|
+
ground: string[];
|
|
12418
12468
|
}
|
|
12419
|
-
declare
|
|
12420
|
-
None = "none",
|
|
12421
|
-
Button = "button",
|
|
12422
|
-
Link = "link",
|
|
12423
|
-
Two = "two"
|
|
12469
|
+
declare class OpeningMixError extends Error {
|
|
12424
12470
|
}
|
|
12425
|
-
/**
|
|
12426
|
-
|
|
12427
|
-
|
|
12471
|
+
/** The opening's parts — each a role, so a re-mix finds the owner's part wherever the new mix puts it. */
|
|
12472
|
+
declare enum OpeningRole {
|
|
12473
|
+
Root = "opening",
|
|
12474
|
+
Frame = "opening.frame",
|
|
12475
|
+
/** The frame that settles from the full screen into the inset card, once, as the page loads. */
|
|
12476
|
+
FrameSettles = "opening.frame-settles",
|
|
12477
|
+
Media = "opening.media",
|
|
12478
|
+
/** A picture that slowly comes closer (slow zoom). */
|
|
12479
|
+
MediaZooms = "opening.media-zooms",
|
|
12480
|
+
Second = "opening.second",
|
|
12481
|
+
Pair = "opening.pair",
|
|
12482
|
+
Film = "opening.film",
|
|
12483
|
+
Slides = "opening.slides",
|
|
12484
|
+
Object = "opening.object",
|
|
12485
|
+
Scrim = "opening.scrim",
|
|
12486
|
+
Words = "opening.words",
|
|
12487
|
+
Title = "opening.title",
|
|
12488
|
+
Lead = "opening.lead",
|
|
12489
|
+
Action = "opening.action",
|
|
12490
|
+
/** #129, a type-led first screen only: the line above the title, the hero's headline beside a display-size name, the
|
|
12491
|
+
* second action and the row that holds the actions — every part the hero it replaces says, so no word is lost. */
|
|
12492
|
+
Eyebrow = "opening.eyebrow",
|
|
12493
|
+
Line = "opening.line",
|
|
12494
|
+
SecondAction = "opening.action-2",
|
|
12495
|
+
Actions = "opening.actions",
|
|
12496
|
+
Apart = "opening.apart",
|
|
12497
|
+
/** The second and third of the words placed apart. */
|
|
12498
|
+
ApartWord = "opening.apart-word",
|
|
12499
|
+
Aside = "opening.aside",
|
|
12500
|
+
Cutout = "opening.cutout",
|
|
12501
|
+
Form = "opening.form",
|
|
12502
|
+
Card = "opening.card",
|
|
12503
|
+
Badge = "opening.badge",
|
|
12504
|
+
Cue = "opening.cue"
|
|
12428
12505
|
}
|
|
12429
|
-
/** The
|
|
12430
|
-
declare const
|
|
12431
|
-
/** The words an ingredient may take. */
|
|
12432
|
-
declare function
|
|
12433
|
-
/** What a word means
|
|
12434
|
-
declare function
|
|
12435
|
-
/** Whether the product draws a word today (a waiting word is
|
|
12436
|
-
declare function
|
|
12437
|
-
/**
|
|
12438
|
-
|
|
12506
|
+
/** The props key an opening root stores its mix under (OB-5, as `HeaderTrait.Mix`). */
|
|
12507
|
+
declare const OPENING_MIX_PROP = "openingMix";
|
|
12508
|
+
/** The words an ingredient may take, in the table's order. */
|
|
12509
|
+
declare function openingWords(ingredient: `${OpeningIngredient}`): ReadonlyArray<string>;
|
|
12510
|
+
/** What a word means — in Hebrew when the builder speaks it. */
|
|
12511
|
+
declare function openingMeaning(ingredient: `${OpeningIngredient}`, word: string, locale?: string | null): string;
|
|
12512
|
+
/** Whether the product draws a word today (OB-7: a waiting word is listed with its phase, drawn as its stand-in). */
|
|
12513
|
+
declare function openingWordDrawn(ingredient: `${OpeningIngredient}`, word: string): boolean;
|
|
12514
|
+
/** The phase a waiting word waits for, or null. */
|
|
12515
|
+
declare function openingWordWaits(ingredient: `${OpeningIngredient}`, word: string): string | null;
|
|
12516
|
+
/** AW-D23: a word every plan wears (`all`) or one the award tier alone is offered (`pro`). */
|
|
12517
|
+
declare function openingWordTier(ingredient: `${OpeningIngredient}`, word: string): 'all' | 'pro';
|
|
12518
|
+
/** May a build at `tier` wear this word? */
|
|
12519
|
+
declare function openingWordOffered(ingredient: `${OpeningIngredient}`, word: string, tier: `${GenerationTier}`): boolean;
|
|
12520
|
+
/** A whole mix from part of one: what is not named is the default (a picture, edge to edge, a heading). Refuses a word
|
|
12521
|
+
* the table lacks. */
|
|
12522
|
+
declare function openingMix(partial?: Partial<Record<string, string | ReadonlyArray<string>>>): OpeningMix;
|
|
12523
|
+
/** The mix with one word changed — a many-ingredient's word toggled on or off. */
|
|
12524
|
+
declare function withOpeningWord(mix: OpeningMix, ingredient: `${OpeningIngredient}`, word: string, on?: boolean): OpeningMix;
|
|
12525
|
+
/** A mix on the wire, and as an opening root stores it: one `<ingredient>:<word>` per word, in the table's order. */
|
|
12526
|
+
declare function openingMixWords(mix: OpeningMix): string[];
|
|
12527
|
+
/** The words back into a mix. Refuses an unknown word and two words for a one-word ingredient. */
|
|
12528
|
+
declare function openingMixFromWords(words: ReadonlyArray<string>): OpeningMix;
|
|
12529
|
+
/** A site plan's opening (AW8): its `mixes.opening` as a mix, or null — absent or empty, the home page opens with its
|
|
12530
|
+
* sections as written. Refuses a word the table lacks (the validator says it first). */
|
|
12531
|
+
declare function openingMixOfPlan(plan: {
|
|
12532
|
+
readonly mixes?: {
|
|
12533
|
+
readonly opening?: ReadonlyArray<string>;
|
|
12534
|
+
};
|
|
12535
|
+
}): OpeningMix | null;
|
|
12536
|
+
/** The mix as stored on a root: its words, space-separated. */
|
|
12537
|
+
declare function openingMixValue(mix: OpeningMix): string;
|
|
12538
|
+
/** Writes the mix on an opening root (its props). */
|
|
12539
|
+
declare function stampOpeningMix(root: {
|
|
12540
|
+
props: Record<string, unknown>;
|
|
12541
|
+
}, mix: OpeningMix): void;
|
|
12542
|
+
/** AW9 `motion.dissolve`: what the opening's leaving plays — the contract's numbers (`rules.dissolve`). */
|
|
12543
|
+
declare const OPENING_DISSOLVE: Readonly<{
|
|
12544
|
+
range: "exit";
|
|
12545
|
+
grow: number;
|
|
12546
|
+
wordsGrow: number;
|
|
12547
|
+
wordsUntil: number;
|
|
12548
|
+
}>;
|
|
12549
|
+
/**
|
|
12550
|
+
* The dissolve (AW9, OPENING `motion.dissolve`; award plan "Reddottours"): stamped on the opening SECTION (its exit is what
|
|
12551
|
+
* is measured, as copy-out's). Each picture part stays where it stands on screen, grows and fades over the whole exit;
|
|
12552
|
+
* each words part grows a little and is gone at `wordsUntil` of it. Linear — the scroll is the clock (RT-D1); scale and
|
|
12553
|
+
* opacity only (RT-D3), so reduced motion keeps the fades in place. Pure.
|
|
12554
|
+
*/
|
|
12555
|
+
declare function dissolveInteraction(sectionId: string, mediaIds: ReadonlyArray<string>, wordsIds: ReadonlyArray<string>): StampedInteraction;
|
|
12556
|
+
/**
|
|
12557
|
+
* The opening's own motion as interactions (AW10, AW10-D9): `copy-out` — its words fade as the page leaves it, by the
|
|
12558
|
+
* scroll, gone at 0.6 of its exit (`copyOutInteraction`, stamped on the root, opacity only); `dissolve` (AW9) — its picture
|
|
12559
|
+
* stays, grows and fades, its words leave in half the distance (`dissolveInteraction`; it carries the words' fade, so it
|
|
12560
|
+
* stands for copy-out — `checkOpening` says so). A re-mix recomposes the root, so a mix without them carries none. Slow
|
|
12561
|
+
* zoom and the frame's settle are the shared stylesheet's (by role). Pure on the composed section.
|
|
12562
|
+
*/
|
|
12563
|
+
declare function stampOpeningMotion(root: SerializedNode, mix: OpeningMix): void;
|
|
12564
|
+
/** The mix an opening root stores, or null — none stored, or words the table no longer knows. */
|
|
12565
|
+
declare function storedOpeningMix(root: {
|
|
12566
|
+
props?: Record<string, unknown>;
|
|
12567
|
+
} | null | undefined): OpeningMix | null;
|
|
12568
|
+
/** The mix a stored hero pattern id stands for (`hero.split`, `hero.full-bleed-media`, `hero.scene-object`), or null. */
|
|
12569
|
+
declare function namedOpeningMix(patternId: string): OpeningMix | null;
|
|
12570
|
+
/** The stored hero pattern a mix is exactly, else null. */
|
|
12571
|
+
declare function openingPatternIdOf(mix: OpeningMix): string | null;
|
|
12572
|
+
/** One named mix of Components ▸ Opening and the studio's Start from. */
|
|
12573
|
+
interface OpeningGalleryEntry {
|
|
12439
12574
|
id: string;
|
|
12440
|
-
/** Its name and its words, in the builder's language. */
|
|
12441
12575
|
name: string;
|
|
12442
12576
|
words: string;
|
|
12443
|
-
mix:
|
|
12577
|
+
mix: OpeningMix;
|
|
12444
12578
|
}
|
|
12445
|
-
/** The gallery, in the contract's order (
|
|
12446
|
-
declare function
|
|
12579
|
+
/** The gallery, in the contract's order (the defaults first), named in `locale` (English unless Hebrew). */
|
|
12580
|
+
declare function openingGallery(locale?: string | null): OpeningGalleryEntry[];
|
|
12447
12581
|
/** The gallery mix a mix is exactly, or null. */
|
|
12448
|
-
declare function
|
|
12449
|
-
/**
|
|
12450
|
-
declare function
|
|
12451
|
-
|
|
12452
|
-
|
|
12453
|
-
|
|
12454
|
-
}
|
|
12455
|
-
/**
|
|
12456
|
-
|
|
12457
|
-
|
|
12458
|
-
|
|
12459
|
-
|
|
12460
|
-
|
|
12461
|
-
/** The mix a stored header pattern id stands for (`nav.inline-cta`, `nav.centered-logo`), or null for an unknown id. */
|
|
12462
|
-
declare function namedHeaderMix(patternId: string): HeaderMix | null;
|
|
12463
|
-
/** The mix a CL2 layout's `nav.kind` asks for (`bar` when it names none). */
|
|
12464
|
-
declare function headerMixOfNavKind(kind: string | undefined): HeaderMix;
|
|
12465
|
-
/** A word the product does not draw yet, with the phase it waits for and what is drawn instead. */
|
|
12466
|
-
interface HeaderGap {
|
|
12467
|
-
ingredient: `${HeaderIngredient}`;
|
|
12468
|
-
word: string;
|
|
12469
|
-
phase: string;
|
|
12470
|
-
drawnAs: string;
|
|
12471
|
-
}
|
|
12472
|
-
/** The mix the product DRAWS today: every waiting word becomes its built stand-in, and each one is said as a gap. */
|
|
12473
|
-
declare function drawnHeaderMix(mix: HeaderMix): {
|
|
12474
|
-
drawn: HeaderMix;
|
|
12475
|
-
gaps: HeaderGap[];
|
|
12476
|
-
};
|
|
12477
|
-
/** The fingerprint's prefix for a header. */
|
|
12478
|
-
declare const HEADER_TOKEN = "header";
|
|
12479
|
-
/** A header as the fingerprint sees it (§7): `header:<arrange>/<pages>/<menu>/<ground>/<shape>` — what a visitor takes in
|
|
12480
|
-
* at once, in the contract's order. Two sites with the same token wear the same header. */
|
|
12481
|
-
declare function headerTokenOf(mix: HeaderMix): string;
|
|
12482
|
-
/** A header token in words: `header:name-only/menu/drawer/solid/bar` → "name-only · menu · drawer · solid · bar". */
|
|
12483
|
-
declare const headerTokenWords: (token: string) => string;
|
|
12484
|
-
/** Doron's reference headers (§2b), each as a whole mix. */
|
|
12485
|
-
declare function headerReferences(): ReadonlyArray<{
|
|
12486
|
-
id: string;
|
|
12487
|
-
after: string;
|
|
12488
|
-
added: string;
|
|
12489
|
-
mix: HeaderMix;
|
|
12490
|
-
}>;
|
|
12491
|
-
/** The site plan's header as a mix: its `mixes.header` when it has one (HI1), else its `globals.header` pattern read as a
|
|
12492
|
-
* named mix (HI-D4), else the Studio header. */
|
|
12493
|
-
declare function headerMixOfPlan(plan: {
|
|
12494
|
-
readonly globals?: Readonly<Record<string, string>>;
|
|
12495
|
-
readonly mixes?: {
|
|
12496
|
-
readonly header?: ReadonlyArray<string>;
|
|
12497
|
-
};
|
|
12498
|
-
}): HeaderMix;
|
|
12499
|
-
/** A mix on the wire: one `<ingredient>:<word>` per ingredient, in the table's order. */
|
|
12500
|
-
declare function headerMixWords(mix: HeaderMix): string[];
|
|
12501
|
-
/** Every `<ingredient>:<word>` the wire may carry: only the words the product DRAWS (ingredients.md §3) — a waiting word
|
|
12502
|
-
* is never offered, so the model never chooses what the site would show as something else. */
|
|
12503
|
-
declare function headerWireWords(): string[];
|
|
12504
|
-
/** The words back into a mix: an ingredient not named is the default. Refuses an unknown word and two words for one
|
|
12505
|
-
* ingredient. */
|
|
12506
|
-
declare function headerMixFromWords(words: ReadonlyArray<string>): HeaderMix;
|
|
12507
|
-
/** The stored header pattern a mix is exactly (`nav.inline-cta`, `nav.centered-logo`), else null. */
|
|
12508
|
-
declare function headerPatternIdOf(mix: HeaderMix): string | null;
|
|
12509
|
-
declare enum HeaderRepairCode {
|
|
12510
|
-
/** A name-and-menu header has its pages behind the menu. */
|
|
12511
|
-
NameOnlyInline = "name-only-inline",
|
|
12512
|
-
/** The name at the start with the pages behind a menu IS the name-and-menu header. */
|
|
12513
|
-
SplitMenu = "split-menu",
|
|
12514
|
-
/** Pages either side of the name are pages in the bar: behind a menu the name is centred. */
|
|
12515
|
-
BetweenMenu = "between-menu",
|
|
12516
|
-
/** A menu for so few pages is a detour: they go in the bar. */
|
|
12517
|
-
FewPages = "few-pages",
|
|
12518
|
-
/** The pages do not fit beside the name on a laptop: they go behind a menu. */
|
|
12519
|
-
TooManyPages = "too-many-pages",
|
|
12520
|
-
/** The name is too long, or the pages too few, to sit between two halves: the name is centred above them. */
|
|
12521
|
-
BetweenUnbalanced = "between-unbalanced",
|
|
12522
|
-
/** Two actions need two destinations (the contact page and the shop): one button. */
|
|
12523
|
-
OneDestination = "one-destination",
|
|
12524
|
-
/** Another site already wears this header: the nearest free one (`distinctHeader`). */
|
|
12525
|
-
Worn = "worn"
|
|
12582
|
+
declare function openingGalleryIdOf(mix: OpeningMix): string | null;
|
|
12583
|
+
/** The award readings' openings (§3.3), each a whole mix — Start from lists them after the gallery. */
|
|
12584
|
+
declare function openingReferences(): ReadonlyArray<{
|
|
12585
|
+
id: string;
|
|
12586
|
+
after: string;
|
|
12587
|
+
mix: OpeningMix;
|
|
12588
|
+
}>;
|
|
12589
|
+
/** A word the product does not draw yet, with the phase it waits for and what is drawn instead (null: left out). */
|
|
12590
|
+
interface OpeningGap {
|
|
12591
|
+
ingredient: `${OpeningIngredient}`;
|
|
12592
|
+
word: string;
|
|
12593
|
+
phase: string;
|
|
12594
|
+
drawnAs: string | null;
|
|
12526
12595
|
}
|
|
12527
|
-
|
|
12528
|
-
|
|
12529
|
-
|
|
12530
|
-
|
|
12596
|
+
/** The mix the product DRAWS today: a waiting word becomes its stand-in (a many-ingredient's is left out), each said. */
|
|
12597
|
+
declare function drawnOpeningMix(mix: OpeningMix): {
|
|
12598
|
+
drawn: OpeningMix;
|
|
12599
|
+
gaps: OpeningGap[];
|
|
12600
|
+
};
|
|
12601
|
+
/** The fingerprint's prefix for an opening. */
|
|
12602
|
+
declare const OPENING_TOKEN = "opening";
|
|
12603
|
+
/** An opening as the fingerprint sees it: `opening:<frame>/<media>/<words>` — what a visitor takes in at once; a type-led
|
|
12604
|
+
* first screen on a ground other than the inverse adds it (`opening:full/none/wordmark+accent`, iox-ui#131). */
|
|
12605
|
+
declare function openingTokenOf(mix: OpeningMix): string;
|
|
12606
|
+
/** iox-ui#131: a token's way (frame, media, words) and its ground — `inverse` when it names none. */
|
|
12607
|
+
declare function openingTokenParts(token: string): {
|
|
12608
|
+
way: string;
|
|
12609
|
+
ground: string;
|
|
12610
|
+
};
|
|
12611
|
+
/** iox-ui#131: the grounds a type-led first screen may stand on, in the order tried; a calm look never takes the accent. */
|
|
12612
|
+
declare function typeLedGrounds(calm?: boolean): OpeningGround[];
|
|
12613
|
+
/** Every `<ingredient>:<word>` the generator's wire may carry at `tier`: drawn words only (a waiting word is never
|
|
12614
|
+
* offered), and the award tier's only at the award tier. */
|
|
12615
|
+
declare function openingWireWords(tier?: `${GenerationTier}`): string[];
|
|
12616
|
+
/** #129: a word the harness alone chooses (`media:none` — no picture fills the first screen), never offered to a model. */
|
|
12617
|
+
declare function openingHarnessWord(ingredient: `${OpeningIngredient}`, word: string): boolean;
|
|
12618
|
+
/** #129: the ways a type-led first screen may open, best first, each a whole mix on no picture (the contract's
|
|
12619
|
+
* `opening.typeLed`). */
|
|
12620
|
+
declare function typeLedOpeningWays(): OpeningMix[];
|
|
12621
|
+
/** #129: is the mix a type-led first screen (nothing to show but its words)? */
|
|
12622
|
+
declare const openingIsTypeLed: (mix: Pick<OpeningMix, "media">) => boolean;
|
|
12623
|
+
declare enum OpeningRepairCode {
|
|
12624
|
+
/** A word the award tier alone wears, on a site built below it. */
|
|
12625
|
+
ProOnly = "pro-only",
|
|
12626
|
+
/** The name behind the subject needs a cut-out picture: the name, large. */
|
|
12627
|
+
NeedsCutOut = "needs-cut-out",
|
|
12628
|
+
/** "The film is the message" needs a film or pictures that move: a heading. */
|
|
12629
|
+
NoneNeedsFilm = "none-needs-film",
|
|
12630
|
+
/** Words placed apart need two or three of them. */
|
|
12631
|
+
ApartWords = "apart-words",
|
|
12632
|
+
/** A display-size name would be cut by a phone, or too small on a laptop (R-H6): a heading. */
|
|
12633
|
+
NameTooLong = "name-too-long",
|
|
12634
|
+
/** A badge is the owner's own (never invented): left out until they give one. */
|
|
12635
|
+
BadgeOwnersOnly = "badge-owners-only",
|
|
12636
|
+
/** A form is already the card in the first screen. */
|
|
12637
|
+
OneCard = "one-card",
|
|
12638
|
+
/** A slow zoom moves a still picture. */
|
|
12639
|
+
ZoomOnAPicture = "zoom-on-a-picture",
|
|
12640
|
+
/** AW9: a dissolve walks through the first screen's picture — with none, its words fade (copy-out). */
|
|
12641
|
+
DissolveNeedsPicture = "dissolve-needs-picture",
|
|
12642
|
+
/** AW9: a dissolve grows the picture and fades the words itself — a slow zoom or copy-out beside it is left out. */
|
|
12643
|
+
DissolveAlone = "dissolve-alone"
|
|
12531
12644
|
}
|
|
12532
|
-
|
|
12533
|
-
|
|
12534
|
-
|
|
12535
|
-
|
|
12645
|
+
interface OpeningRepair {
|
|
12646
|
+
code: OpeningRepairCode;
|
|
12647
|
+
/** In plain words, for the wizard, the studio and the model's next turn. */
|
|
12648
|
+
said: string;
|
|
12536
12649
|
}
|
|
12537
12650
|
/** What the check and the recipe need of the site. */
|
|
12538
|
-
interface
|
|
12651
|
+
interface OpeningContext {
|
|
12652
|
+
/** The business name — the words of a display-size opening. */
|
|
12539
12653
|
readonly name: string;
|
|
12540
|
-
readonly design
|
|
12541
|
-
/**
|
|
12542
|
-
readonly
|
|
12543
|
-
/** The
|
|
12544
|
-
readonly
|
|
12654
|
+
readonly design?: DesignChoices | null;
|
|
12655
|
+
/** AW-D23: the tier the site is built at; absent: the award words are the owner's to choose (the builder). */
|
|
12656
|
+
readonly tier?: `${GenerationTier}`;
|
|
12657
|
+
/** The owner gives a cut-out picture (a transparent background) for the name behind the subject. */
|
|
12658
|
+
readonly cutOut?: boolean;
|
|
12659
|
+
/** The owner's own badge words; `null` = none given (the generator: left out), absent = a placeholder (the builder). */
|
|
12660
|
+
readonly badge?: string | null;
|
|
12545
12661
|
}
|
|
12546
12662
|
/**
|
|
12547
|
-
* The ONE judge of
|
|
12548
|
-
*
|
|
12663
|
+
* The ONE judge of an opening mix against the site: what the site cannot carry is mended to the nearest mix it can, and
|
|
12664
|
+
* each mend is said. Judges the mix as DRAWN (`drawnOpeningMix` first). Never throws on a well-formed mix. Pure.
|
|
12549
12665
|
*/
|
|
12550
|
-
declare function
|
|
12551
|
-
mix:
|
|
12552
|
-
repairs:
|
|
12666
|
+
declare function checkOpening(mix: OpeningMix, ctx: OpeningContext): {
|
|
12667
|
+
mix: OpeningMix;
|
|
12668
|
+
repairs: OpeningRepair[];
|
|
12553
12669
|
};
|
|
12554
|
-
/**
|
|
12555
|
-
declare
|
|
12556
|
-
/**
|
|
12557
|
-
|
|
12558
|
-
|
|
12559
|
-
|
|
12560
|
-
|
|
12670
|
+
/** How tall the first screen stands: a little less than the window, so the next section's edge says "there is more". */
|
|
12671
|
+
declare const OPENING_HEIGHT = "88svh";
|
|
12672
|
+
/** The phone's inset: within the contract's 8–16 px at every phone width. */
|
|
12673
|
+
declare function openingPhoneInset(): string;
|
|
12674
|
+
/** The type-led parts a page may leave out, and what a composition with no hero to carry leaves out (the builder). */
|
|
12675
|
+
declare const TYPE_LED_OPTIONAL_PARTS: ReadonlyArray<string>;
|
|
12676
|
+
/** What a type-led first screen is composed from, given the hero section it takes the place of: the hero's words and
|
|
12677
|
+
* links slot by slot, and every optional part the hero did not say left out — or null when the hero is not one whose
|
|
12678
|
+
* every slot has a place (it is then carried part by part, as any opening). Pure. */
|
|
12679
|
+
declare function typeLedOpeningSection(mix: OpeningMix, hero: {
|
|
12680
|
+
readonly pattern: string;
|
|
12681
|
+
readonly slots?: Readonly<Record<string, string>>;
|
|
12682
|
+
readonly links?: Readonly<Record<string, string>>;
|
|
12683
|
+
}): {
|
|
12684
|
+
slots: Record<string, string>;
|
|
12685
|
+
links: Record<string, string>;
|
|
12686
|
+
without: string[];
|
|
12687
|
+
} | null;
|
|
12688
|
+
/** What the composer stamps for an opening mix. */
|
|
12689
|
+
interface OpeningRecipe {
|
|
12690
|
+
/** The mix it stamps, as drawn (stored on the opening root — OB-5). */
|
|
12691
|
+
mix: OpeningMix;
|
|
12561
12692
|
pattern: SitePattern;
|
|
12562
|
-
/** The pages are behind a menu at every width (HI-D8). */
|
|
12563
|
-
everyWidth: boolean;
|
|
12564
|
-
menuSide: MenuSide;
|
|
12565
|
-
/** HI2a: the menu's look — what `planNavShape` writes on the drawer, the menu button and its Close. */
|
|
12566
|
-
menu: MenuLook;
|
|
12567
12693
|
}
|
|
12568
|
-
/** The
|
|
12569
|
-
|
|
12570
|
-
* (the drawer, or the full screen). How it opens, its button and its hover come from their own ingredients. */
|
|
12571
|
-
declare function menuLookOf(mix: HeaderMix): MenuLook;
|
|
12572
|
-
/** A header mix as a pattern: what the composer stamps as the site's header (global, before the page). A mix that IS a
|
|
12573
|
-
* stored header (`nav.inline-cta`, `nav.centered-logo`) composes byte-identical to it (R-H4). Pure. */
|
|
12574
|
-
declare function headerRecipe(mix: HeaderMix, ctx: HeaderContext): HeaderRecipe;
|
|
12575
|
-
/**
|
|
12576
|
-
* A header no other site wears: the mix when its token is free, else the nearest mix whose token is — one changed
|
|
12577
|
-
* ingredient before two, in `MEND_ORDER` — that the site can carry as it is (`checkHeader` mends nothing), and said. When
|
|
12578
|
-
* every header is worn, the mix as it is. Pure, deterministic.
|
|
12579
|
-
*/
|
|
12580
|
-
declare function distinctHeader(mix: HeaderMix, taken: ReadonlyArray<string>, ctx: HeaderContext): {
|
|
12581
|
-
mix: HeaderMix;
|
|
12582
|
-
repairs: HeaderRepair[];
|
|
12583
|
-
};
|
|
12584
|
-
type HeaderPlan = {
|
|
12585
|
-
readonly business: {
|
|
12586
|
-
readonly name: string;
|
|
12587
|
-
};
|
|
12588
|
-
readonly design?: Readonly<Partial<DesignChoices>>;
|
|
12589
|
-
readonly pages: ReadonlyArray<{
|
|
12590
|
-
readonly name: string;
|
|
12591
|
-
readonly route: string;
|
|
12592
|
-
readonly inNav?: boolean;
|
|
12593
|
-
readonly isHome?: boolean;
|
|
12594
|
-
readonly sections?: ReadonlyArray<{
|
|
12595
|
-
readonly binding?: string;
|
|
12596
|
-
}>;
|
|
12597
|
-
}>;
|
|
12598
|
-
};
|
|
12599
|
-
/** The shop's page of a selling plan: the page in the navigation that lists the store's products (else null). */
|
|
12600
|
-
declare function shopPageOfPlan(plan: HeaderPlan): string | null;
|
|
12601
|
-
/** The header context of a plan: its name, its look, its pages in the navigation and its shop page (found in the plan
|
|
12602
|
-
* when not given). */
|
|
12603
|
-
declare function headerContextOfPlan(plan: HeaderPlan, shop?: string | null): HeaderContext;
|
|
12604
|
-
/**
|
|
12605
|
-
* The header a plan's site WEARS (ONE rule for the composer, the fingerprint and the distinct check): its mix as the
|
|
12606
|
-
* product draws it, judged against the site when the mix was chosen (`mixes.header`) — a stored header pattern (no mix)
|
|
12607
|
-
* is worn as it always was (R-H4). With what was drawn as something else or mended, in words. Pure.
|
|
12608
|
-
*/
|
|
12609
|
-
declare function wornHeaderOfPlan(plan: HeaderPlan & {
|
|
12610
|
-
readonly globals?: Readonly<Record<string, string>>;
|
|
12611
|
-
readonly mixes?: {
|
|
12612
|
-
readonly header?: ReadonlyArray<string>;
|
|
12613
|
-
};
|
|
12614
|
-
}): {
|
|
12615
|
-
mix: HeaderMix;
|
|
12616
|
-
context: HeaderContext;
|
|
12617
|
-
said: string[];
|
|
12618
|
-
};
|
|
12619
|
-
/** A plan's header made distinct (R-H2): `distinctHeader` over the plan's own mix as drawn and checked; the plan unchanged
|
|
12620
|
-
* when nothing was mended, else with the new mix in `mixes.header`. Pure. */
|
|
12621
|
-
declare function withDistinctHeader<P extends HeaderPlan & {
|
|
12622
|
-
readonly globals?: Readonly<Record<string, string>>;
|
|
12623
|
-
readonly mixes?: {
|
|
12624
|
-
readonly header?: ReadonlyArray<string>;
|
|
12625
|
-
readonly footer?: ReadonlyArray<string>;
|
|
12626
|
-
};
|
|
12627
|
-
}>(plan: P, taken: ReadonlyArray<string>): {
|
|
12628
|
-
plan: P;
|
|
12629
|
-
repairs: HeaderRepair[];
|
|
12630
|
-
};
|
|
12694
|
+
/** The opening mix as a pattern — the page's first section. Check it first (`checkOpening` on the drawn mix). Pure. */
|
|
12695
|
+
declare function openingRecipe(mix: OpeningMix, ctx: OpeningContext): OpeningRecipe;
|
|
12631
12696
|
|
|
12632
12697
|
/**
|
|
12633
|
-
*
|
|
12634
|
-
*
|
|
12635
|
-
*
|
|
12636
|
-
*
|
|
12637
|
-
*
|
|
12698
|
+
* The phone shapes of a navigation bar (complex-components plan CC1, §7a + R1; boards 1–3). ONE pure tree
|
|
12699
|
+
* edit, `planNavShape`, turns a site's header into the shape the author (the Navigation bar's "Phone
|
|
12700
|
+
* menu" section) or the composer (`nav.inline-cta`'s `phoneMenu`) asks for:
|
|
12701
|
+
*
|
|
12702
|
+
* - **Drawer** — a menu button in the header opens a slide-in Dialog at the end edge that lists every
|
|
12703
|
+
* page (board 1). The drawer is a child of the Navigation bar.
|
|
12704
|
+
* - **Bottom bar** — an app-style bar fixed to the bottom of the screen with up to five pages, no drawer
|
|
12705
|
+
* (board 2). The phone header keeps only the brand (Q4).
|
|
12706
|
+
* - **Both** — the bar with four pages and More, which opens the drawer; the drawer is then its own
|
|
12707
|
+
* global, beside the Navigation bar (board 2's layer tree).
|
|
12708
|
+
*
|
|
12709
|
+
* Every part is a real node with a `role` (R2): editable, selectable, styled by its element style. Parts
|
|
12710
|
+
* a shape keeps are passed through untouched, so an author's edits survive a change of shape; the parts
|
|
12711
|
+
* it no longer has are removed (undo brings them back — the caller records ONE history step). Nothing
|
|
12712
|
+
* here reads a clock or a random source: ids come from `newId` (deterministic by default, so the
|
|
12713
|
+
* composer's output is byte-stable).
|
|
12638
12714
|
*/
|
|
12639
|
-
declare enum
|
|
12640
|
-
|
|
12641
|
-
|
|
12715
|
+
declare enum NavShape {
|
|
12716
|
+
Drawer = "drawer",
|
|
12717
|
+
Bar = "bar",
|
|
12718
|
+
Both = "both"
|
|
12719
|
+
}
|
|
12720
|
+
/** The roles of a navigation's parts (the composite plan's `role` field, here for the nav). */
|
|
12721
|
+
declare enum NavRole {
|
|
12722
|
+
Root = "nav",
|
|
12723
|
+
Brand = "nav.brand",
|
|
12724
|
+
Links = "nav.links",
|
|
12725
|
+
Link = "nav.link",
|
|
12726
|
+
Cta = "nav.cta",
|
|
12727
|
+
MenuButton = "nav.menu-button",
|
|
12728
|
+
Drawer = "nav.drawer",
|
|
12729
|
+
DrawerHead = "nav.drawer-head",
|
|
12730
|
+
DrawerClose = "nav.drawer-close",
|
|
12731
|
+
DrawerLinks = "nav.drawer-links",
|
|
12732
|
+
DrawerLink = "nav.drawer-link",
|
|
12733
|
+
DrawerCta = "nav.drawer-cta",
|
|
12734
|
+
Bar = "nav.bar",
|
|
12735
|
+
BarItem = "nav.bar-item",
|
|
12736
|
+
More = "nav.more",
|
|
12737
|
+
/** HI1: the page(s) a menu header keeps in the bar beside its menu button (`pages: menu-pinned`). */
|
|
12738
|
+
Pinned = "nav.pinned",
|
|
12739
|
+
/** HI1: the header's calls to action when its pages are behind the menu (they stay in the bar). */
|
|
12740
|
+
Actions = "nav.actions",
|
|
12741
|
+
/** HI1: one of the two equal sides of a header whose name is centred (`between`, `centred` behind a menu): its parts
|
|
12742
|
+
* are the header's own, hidden on a phone as the root's are. */
|
|
12743
|
+
Cell = "nav.cell"
|
|
12744
|
+
}
|
|
12745
|
+
/** HI-D15: the side a header's menu button sits on. */
|
|
12746
|
+
declare enum MenuSide {
|
|
12747
|
+
Start = "start",
|
|
12748
|
+
End = "end"
|
|
12749
|
+
}
|
|
12750
|
+
/** The breakpoints a phone menu may switch at (the responsive Breakpoint ids; Q5: Mobile landscape). */
|
|
12751
|
+
declare enum PhoneMenuBreakpoint {
|
|
12752
|
+
Tablet = "tablet",
|
|
12753
|
+
Mobile = "mobile",
|
|
12754
|
+
Small = "small"
|
|
12755
|
+
}
|
|
12756
|
+
declare const DEFAULT_PHONE_MENU_BREAKPOINT = PhoneMenuBreakpoint.Mobile;
|
|
12757
|
+
/** The bar's item count, More included (Q2: 3–5; iOS and Material both cap at five). */
|
|
12758
|
+
declare const BAR_ITEMS_MIN = 3;
|
|
12759
|
+
declare const BAR_ITEMS_MAX = 5;
|
|
12760
|
+
interface NavShapeOptions {
|
|
12761
|
+
/** Where the phone shape takes over (≤ this breakpoint). Default Mobile landscape (≤767). */
|
|
12762
|
+
at?: PhoneMenuBreakpoint | `${PhoneMenuBreakpoint}`;
|
|
12763
|
+
/** Items in the bar, More included (3–5). Default: 5 for Bottom bar, 4 + More for Both. */
|
|
12764
|
+
barItems?: number;
|
|
12765
|
+
/** A new part's id (the builder passes its id generator). Default: `<nav id>-<suffix>`. */
|
|
12766
|
+
newId?: (suffix: string) => string;
|
|
12767
|
+
/** The studio's pages, for a header that links to none (a hand-built one): its menu lists these. */
|
|
12768
|
+
pages?: ReadonlyArray<NavPage>;
|
|
12769
|
+
/** Header ingredients (header-ingredients-plan.md HI-D8): the menu button and its drawer at EVERY width — the header's
|
|
12770
|
+
* links and call to action are hidden at every width and the pages live in the drawer (a "name and menu" header).
|
|
12771
|
+
* Drawer only. Default: what the header already does (`menuAtEveryWidth`), else phone widths only. */
|
|
12772
|
+
everyWidth?: boolean;
|
|
12773
|
+
/** HI-D15: the menu button at the start or the end of the bar (or of the side cell there). Default: where it already
|
|
12774
|
+
* is, else the end. */
|
|
12775
|
+
menuSide?: MenuSide | `${MenuSide}`;
|
|
12776
|
+
/** HI2a: the menu's look — its form, how it opens, its button, what the mouse does in it, its phone form. Written as
|
|
12777
|
+
* traits on the drawer, the menu button and the drawer's Close; a default writes nothing (R-H4). Absent: the parts
|
|
12778
|
+
* keep what they have. */
|
|
12779
|
+
look?: Partial<MenuLook>;
|
|
12780
|
+
/** The site's language, for the words the menu's parts show and are named by (`menuWords`). Default English. */
|
|
12781
|
+
locale?: string;
|
|
12642
12782
|
}
|
|
12643
|
-
interface
|
|
12644
|
-
|
|
12645
|
-
|
|
12646
|
-
|
|
12647
|
-
|
|
12648
|
-
|
|
12649
|
-
|
|
12650
|
-
/** Each cell's mean WCAG relative luminance (linear light), row by row. */
|
|
12651
|
-
luminance: number[];
|
|
12652
|
-
/** Each cell's mean |Laplacian| of its gamma-encoded luma (edges and texture), row by row; 0 is a flat field. */
|
|
12653
|
-
detail: number[];
|
|
12654
|
-
};
|
|
12655
|
-
/** Up to five main colours (`#rrggbb`), the most of the picture first; fewer when the picture holds fewer. */
|
|
12656
|
-
colours: string[];
|
|
12657
|
-
tone: `${PhotoTone}`;
|
|
12783
|
+
interface NavShapeResult {
|
|
12784
|
+
/** The globals after the edit (the Navigation bar edited in place, the drawer/bar added or removed). */
|
|
12785
|
+
globals: SerializedNode[];
|
|
12786
|
+
shape: NavShape;
|
|
12787
|
+
at: PhoneMenuBreakpoint;
|
|
12788
|
+
/** The menu button shows at every width (`NavShapeOptions.everyWidth`). */
|
|
12789
|
+
everyWidth: boolean;
|
|
12658
12790
|
}
|
|
12659
|
-
|
|
12660
|
-
interface FrameRegion {
|
|
12661
|
-
x0: number;
|
|
12662
|
-
y0: number;
|
|
12663
|
-
x1: number;
|
|
12664
|
-
y1: number;
|
|
12791
|
+
declare class NavShapeError extends Error {
|
|
12665
12792
|
}
|
|
12666
|
-
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
12672
|
-
|
|
12793
|
+
/** The words the parts carry — site copy, editable like any other (the composer writes English copy). */
|
|
12794
|
+
declare const NAV_SHAPE_COPY: {
|
|
12795
|
+
readonly menu: "Menu";
|
|
12796
|
+
readonly closeMenu: "Close menu";
|
|
12797
|
+
/** HI2a: the word a `word` menu button turns into while its menu is open. */
|
|
12798
|
+
readonly close: "Close";
|
|
12799
|
+
readonly more: "More";
|
|
12800
|
+
readonly home: "Home";
|
|
12801
|
+
};
|
|
12802
|
+
/** The words the menu's parts say, in the site's language — a `word` menu button's visible Menu ⇄ Close (HI2a) and the
|
|
12803
|
+
* names a screen reader hears (the menu button, the drawer, its Close, the bar's More, the drawer's Home link). A site
|
|
12804
|
+
* in a language the table does not hold speaks English, as it always did (vectoriox/iox-ui#100). */
|
|
12805
|
+
interface MenuWords {
|
|
12806
|
+
menu: string;
|
|
12807
|
+
close: string;
|
|
12808
|
+
closeMenu: string;
|
|
12809
|
+
more: string;
|
|
12810
|
+
home: string;
|
|
12673
12811
|
}
|
|
12674
|
-
declare
|
|
12675
|
-
/**
|
|
12676
|
-
|
|
12677
|
-
declare
|
|
12678
|
-
/**
|
|
12679
|
-
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
|
|
12683
|
-
|
|
12684
|
-
|
|
12685
|
-
|
|
12686
|
-
declare
|
|
12687
|
-
/**
|
|
12688
|
-
declare function
|
|
12689
|
-
/** The
|
|
12690
|
-
declare function
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
|
|
12812
|
+
declare function menuWords(locale: string | undefined): MenuWords;
|
|
12813
|
+
/** The layer names of the parts (R2: the tree, the breadcrumb and the toolbar read them). */
|
|
12814
|
+
declare const NAV_PART_LABELS: Readonly<Record<string, string>>;
|
|
12815
|
+
declare function barIconForRoute(route: string): string;
|
|
12816
|
+
/** One page the navigation links to, read off its links. */
|
|
12817
|
+
interface NavPage {
|
|
12818
|
+
label: string;
|
|
12819
|
+
route: string;
|
|
12820
|
+
}
|
|
12821
|
+
/** The Navigation bar: the global with the root role, else the first global wearing the `nav` style. */
|
|
12822
|
+
declare function findNavRoot(globals: ReadonlyArray<SerializedNode>, navId?: string | null): SerializedNode | null;
|
|
12823
|
+
/** The shape a site's globals are in now, or null when there is no Navigation bar. */
|
|
12824
|
+
declare function navShapeOf(globals: ReadonlyArray<SerializedNode>): NavShape | null;
|
|
12825
|
+
/** The breakpoint the phone shape takes over at, read off the header's links row (default Mobile). */
|
|
12826
|
+
declare function navShapeBreakpoint(globals: ReadonlyArray<SerializedNode>): PhoneMenuBreakpoint;
|
|
12827
|
+
/** The pages the header links to, in order: its Links (W1.1 — one plain Link per page in the navigation). */
|
|
12828
|
+
declare function navPages(root: SerializedNode): NavPage[];
|
|
12829
|
+
/** Where a phone menu's pages come from: the header's own page Links, else the studio's pages. */
|
|
12830
|
+
declare enum NavPagesSource {
|
|
12831
|
+
Header = "header",
|
|
12832
|
+
Site = "site",
|
|
12833
|
+
None = "none"
|
|
12834
|
+
}
|
|
12835
|
+
/** The pages a phone menu lists: the header's (`navPages`), else `sitePages` — a hand-built header with no
|
|
12836
|
+
* page links still gets a working menu. */
|
|
12837
|
+
declare function phoneMenuPages(root: SerializedNode, sitePages?: ReadonlyArray<NavPage>): {
|
|
12838
|
+
pages: NavPage[];
|
|
12839
|
+
source: NavPagesSource;
|
|
12840
|
+
};
|
|
12841
|
+
/** Does the header show its menu button at every width (a "name and menu" header)? Read from the button itself, so a
|
|
12842
|
+
* later change of shape or breakpoint keeps it. */
|
|
12843
|
+
declare function menuAtEveryWidth(globals: ReadonlyArray<SerializedNode>, navId?: string | null): boolean;
|
|
12694
12844
|
/**
|
|
12695
|
-
*
|
|
12696
|
-
*
|
|
12845
|
+
* Put a site's header into `shape`. The Navigation bar is `navId` or the global carrying the root role
|
|
12846
|
+
* (else the first Container wearing `nav`, which this then marks with roles). Returns new globals;
|
|
12847
|
+
* the input is not mutated.
|
|
12697
12848
|
*/
|
|
12698
|
-
declare function
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
|
|
12704
|
-
/** One line a model reads instead of the photo: its id, what it shows, shape, colours and where words may sit. */
|
|
12705
|
-
declare function describeInventoryForPrompt(id: string, inv: PhotoInventory, label?: string): string;
|
|
12706
|
-
|
|
12849
|
+
declare function planNavShape(globals: ReadonlyArray<SerializedNode>, shape: NavShape, options?: NavShapeOptions, navId?: string | null): NavShapeResult;
|
|
12850
|
+
interface AddBarItemResult {
|
|
12851
|
+
globals: SerializedNode[];
|
|
12852
|
+
/** False when the bar is full (5 items, More included — Q2) or there is no bar. */
|
|
12853
|
+
added: boolean;
|
|
12854
|
+
}
|
|
12707
12855
|
/**
|
|
12708
|
-
*
|
|
12709
|
-
*
|
|
12856
|
+
* The bar's Items list "Add item" (board 2): one more item, before More — the next navigation page the
|
|
12857
|
+
* bar does not link to yet (Home when every page is there). Refused at five (Q2). Input not mutated.
|
|
12710
12858
|
*/
|
|
12711
|
-
|
|
12712
|
-
|
|
12713
|
-
|
|
12714
|
-
/**
|
|
12715
|
-
|
|
12716
|
-
/** The same, in Hebrew (vectoriox/iox-ui#123 — the contract's `lists.sayHe`, one sentence for each English one). */
|
|
12717
|
-
readonly sayHe?: ReadonlyArray<string>;
|
|
12718
|
-
}
|
|
12719
|
-
/** AW11: what the judge knows of where the list sits and who it is built for. */
|
|
12720
|
-
interface ListCheckOptions {
|
|
12721
|
-
/** AW-D23: the tier the site is built at; absent: the builder (the owner's choice — no word is held back). */
|
|
12722
|
-
readonly tier?: string | null;
|
|
12723
|
-
/** The list is in the page's first screen (its first section): no arrival plays there (AW11-D15). */
|
|
12724
|
-
readonly firstScreen?: boolean;
|
|
12859
|
+
declare function addBarItem(globals: ReadonlyArray<SerializedNode>, options?: Pick<NavShapeOptions, 'newId' | 'pages' | 'locale'>): AddBarItemResult;
|
|
12860
|
+
interface BarItemsEditResult {
|
|
12861
|
+
globals: SerializedNode[];
|
|
12862
|
+
/** False when nothing changed: no bar, an unknown item, or the bar would drop below three items (Q2). */
|
|
12863
|
+
changed: boolean;
|
|
12725
12864
|
}
|
|
12726
|
-
/** True when the type's art direction forbids nothing. */
|
|
12727
|
-
declare const listNeverIsEmpty: (never?: LayoutListNever | null) => boolean;
|
|
12728
12865
|
/**
|
|
12729
|
-
*
|
|
12730
|
-
*
|
|
12866
|
+
* The bar's Items list "Remove" (board 2): the item goes, More included — refused below three items (Q2:
|
|
12867
|
+
* 3–5), so the bar never shrinks into something a thumb cannot use. Input not mutated.
|
|
12731
12868
|
*/
|
|
12732
|
-
declare function
|
|
12733
|
-
/**
|
|
12734
|
-
|
|
12735
|
-
declare function pageListIssues(page: LayoutPage): LayoutIssue[];
|
|
12869
|
+
declare function removeBarItem(globals: ReadonlyArray<SerializedNode>, itemId: string): BarItemsEditResult;
|
|
12870
|
+
/** The bar's Items list drag-to-reorder (board 2): item `from` moves to `to`. Input not mutated. */
|
|
12871
|
+
declare function moveBarItem(globals: ReadonlyArray<SerializedNode>, from: number, to: number): BarItemsEditResult;
|
|
12736
12872
|
|
|
12737
|
-
/** The ingredients, by the contract's keys (held equal to it by
|
|
12738
|
-
declare enum
|
|
12739
|
-
|
|
12740
|
-
|
|
12741
|
-
|
|
12742
|
-
|
|
12873
|
+
/** The ingredients, by the contract's keys (held equal to it by header-mix.spec). */
|
|
12874
|
+
declare enum HeaderIngredient {
|
|
12875
|
+
Arrange = "arrange",
|
|
12876
|
+
MenuSide = "menuSide",
|
|
12877
|
+
Pages = "pages",
|
|
12878
|
+
Menu = "menu",
|
|
12879
|
+
MenuShows = "menuShows",
|
|
12880
|
+
Action = "action",
|
|
12881
|
+
Ground = "ground",
|
|
12882
|
+
Shape = "shape",
|
|
12883
|
+
Brand = "brand",
|
|
12884
|
+
Scroll = "scroll",
|
|
12885
|
+
Edge = "edge",
|
|
12886
|
+
Phone = "phone",
|
|
12887
|
+
/** HB-D1 (HI2a): how the menu opens. */
|
|
12888
|
+
Reveal = "reveal",
|
|
12889
|
+
/** HB-D1 (HI2a): the button that opens it. */
|
|
12890
|
+
Button = "button",
|
|
12891
|
+
/** HB-D1 (HI2a): what the mouse does in it. */
|
|
12892
|
+
MenuHover = "menuHover",
|
|
12893
|
+
/** HB-D1 (HI3): what sits above the bar. */
|
|
12894
|
+
Above = "above",
|
|
12895
|
+
/** HB-D1 (HI3 / HI6): what more sits in the bar. */
|
|
12896
|
+
InBar = "inBar",
|
|
12897
|
+
/** AW6: whose ground the header's ink follows — the opening's, or every section's as it passes under the bar. */
|
|
12898
|
+
Ink = "ink"
|
|
12743
12899
|
}
|
|
12744
|
-
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
|
|
12748
|
-
|
|
12749
|
-
|
|
12900
|
+
|
|
12901
|
+
declare enum HeaderArrange {
|
|
12902
|
+
Split = "split",
|
|
12903
|
+
Centred = "centred",
|
|
12904
|
+
Between = "between",
|
|
12905
|
+
NameOnly = "name-only"
|
|
12750
12906
|
}
|
|
12751
|
-
declare enum
|
|
12752
|
-
|
|
12753
|
-
|
|
12754
|
-
|
|
12755
|
-
Chapters = "chapters",
|
|
12756
|
-
Tail = "tail"
|
|
12907
|
+
declare enum HeaderPages {
|
|
12908
|
+
Inline = "inline",
|
|
12909
|
+
Menu = "menu",
|
|
12910
|
+
MenuPinned = "menu-pinned"
|
|
12757
12911
|
}
|
|
12758
|
-
declare enum
|
|
12912
|
+
declare enum HeaderAction {
|
|
12759
12913
|
None = "none",
|
|
12760
|
-
|
|
12761
|
-
|
|
12762
|
-
|
|
12763
|
-
Grain = "grain",
|
|
12764
|
-
Lanes = "lanes"
|
|
12765
|
-
}
|
|
12766
|
-
declare enum BodySectionWord {
|
|
12767
|
-
InsetCard = "inset-card",
|
|
12768
|
-
StickyTitle = "sticky-title",
|
|
12769
|
-
TabsNav = "tabs-nav",
|
|
12770
|
-
Promises = "promises",
|
|
12771
|
-
Table = "table",
|
|
12772
|
-
Timeline = "timeline",
|
|
12773
|
-
Hotspots = "hotspots"
|
|
12914
|
+
Button = "button",
|
|
12915
|
+
Link = "link",
|
|
12916
|
+
Two = "two"
|
|
12774
12917
|
}
|
|
12775
|
-
/** One word
|
|
12776
|
-
|
|
12777
|
-
|
|
12778
|
-
rhythm: string;
|
|
12779
|
-
texture: string;
|
|
12780
|
-
sections: string[];
|
|
12918
|
+
/** One word per ingredient. */
|
|
12919
|
+
type HeaderMix = Record<`${HeaderIngredient}`, string>;
|
|
12920
|
+
declare class HeaderMixError extends Error {
|
|
12781
12921
|
}
|
|
12782
|
-
|
|
12922
|
+
/** The header pattern a plan names when it names none the table knows (the Studio header). */
|
|
12923
|
+
declare const DEFAULT_HEADER_PATTERN = "nav.inline-cta";
|
|
12924
|
+
/** The words an ingredient may take. */
|
|
12925
|
+
declare function headerWords(ingredient: `${HeaderIngredient}`): ReadonlyArray<string>;
|
|
12926
|
+
/** What a word means, as the brief and the builder say it — in Hebrew when the builder speaks it (HI1b, board 4d). */
|
|
12927
|
+
declare function headerMeaning(ingredient: `${HeaderIngredient}`, word: string, locale?: string | null): string;
|
|
12928
|
+
/** Whether the product draws a word today (a waiting word is never offered — HB-D9). */
|
|
12929
|
+
declare function headerWordDrawn(ingredient: `${HeaderIngredient}`, word: string): boolean;
|
|
12930
|
+
/** One named mix of Components ▸ Header and the Header studio's Start from. */
|
|
12931
|
+
interface HeaderGalleryEntry {
|
|
12932
|
+
id: string;
|
|
12933
|
+
/** Its name and its words, in the builder's language. */
|
|
12934
|
+
name: string;
|
|
12935
|
+
words: string;
|
|
12936
|
+
mix: HeaderMix;
|
|
12783
12937
|
}
|
|
12784
|
-
/** The
|
|
12785
|
-
declare function
|
|
12786
|
-
/**
|
|
12787
|
-
declare function
|
|
12788
|
-
/**
|
|
12789
|
-
declare function
|
|
12790
|
-
/**
|
|
12791
|
-
declare function
|
|
12792
|
-
|
|
12793
|
-
|
|
12794
|
-
/**
|
|
12795
|
-
declare function
|
|
12796
|
-
|
|
12797
|
-
|
|
12798
|
-
|
|
12799
|
-
|
|
12800
|
-
|
|
12801
|
-
|
|
12802
|
-
|
|
12803
|
-
|
|
12804
|
-
|
|
12805
|
-
|
|
12806
|
-
|
|
12807
|
-
};
|
|
12808
|
-
}): BodyMix | null;
|
|
12809
|
-
interface BodyGap {
|
|
12810
|
-
ingredient: `${BodyIngredient}`;
|
|
12938
|
+
/** The gallery, in the contract's order (Studio — the defaults — first), named in `locale` (English unless Hebrew). */
|
|
12939
|
+
declare function headerGallery(locale?: string | null): HeaderGalleryEntry[];
|
|
12940
|
+
/** The gallery mix a mix is exactly, or null. */
|
|
12941
|
+
declare function headerGalleryIdOf(mix: HeaderMix): string | null;
|
|
12942
|
+
/** A mix as the header root stores it: its `<ingredient>:<word>` words, space-separated, in the table's order. */
|
|
12943
|
+
declare function headerMixValue(mix: HeaderMix): string;
|
|
12944
|
+
/** Writes the mix on a header root (its props). */
|
|
12945
|
+
declare function stampHeaderMix(root: {
|
|
12946
|
+
props: Record<string, unknown>;
|
|
12947
|
+
}, mix: HeaderMix): void;
|
|
12948
|
+
/** The mix a header root stores, or null — none stored, or words the table no longer knows (read as unstamped). */
|
|
12949
|
+
declare function storedHeaderMix(root: {
|
|
12950
|
+
props?: Record<string, unknown>;
|
|
12951
|
+
} | null | undefined): HeaderMix | null;
|
|
12952
|
+
/** A whole mix from part of one: what is not named is the default (the Studio header). Refuses a word the table lacks. */
|
|
12953
|
+
declare function headerMix(partial?: Partial<HeaderMix>): HeaderMix;
|
|
12954
|
+
/** The mix a stored header pattern id stands for (`nav.inline-cta`, `nav.centered-logo`), or null for an unknown id. */
|
|
12955
|
+
declare function namedHeaderMix(patternId: string): HeaderMix | null;
|
|
12956
|
+
/** The mix a CL2 layout's `nav.kind` asks for (`bar` when it names none). */
|
|
12957
|
+
declare function headerMixOfNavKind(kind: string | undefined): HeaderMix;
|
|
12958
|
+
/** A word the product does not draw yet, with the phase it waits for and what is drawn instead. */
|
|
12959
|
+
interface HeaderGap {
|
|
12960
|
+
ingredient: `${HeaderIngredient}`;
|
|
12811
12961
|
word: string;
|
|
12812
12962
|
phase: string;
|
|
12813
|
-
drawnAs: string
|
|
12963
|
+
drawnAs: string;
|
|
12814
12964
|
}
|
|
12815
|
-
/** The mix the product DRAWS today:
|
|
12816
|
-
declare function
|
|
12817
|
-
drawn:
|
|
12818
|
-
gaps:
|
|
12965
|
+
/** The mix the product DRAWS today: every waiting word becomes its built stand-in, and each one is said as a gap. */
|
|
12966
|
+
declare function drawnHeaderMix(mix: HeaderMix): {
|
|
12967
|
+
drawn: HeaderMix;
|
|
12968
|
+
gaps: HeaderGap[];
|
|
12819
12969
|
};
|
|
12820
|
-
/** The fingerprint's prefix for a
|
|
12821
|
-
declare const
|
|
12822
|
-
/** A
|
|
12823
|
-
|
|
12824
|
-
|
|
12825
|
-
|
|
12826
|
-
|
|
12827
|
-
|
|
12828
|
-
|
|
12829
|
-
|
|
12830
|
-
|
|
12831
|
-
|
|
12832
|
-
|
|
12833
|
-
}
|
|
12834
|
-
/**
|
|
12835
|
-
|
|
12836
|
-
|
|
12837
|
-
|
|
12838
|
-
|
|
12839
|
-
|
|
12840
|
-
|
|
12841
|
-
|
|
12842
|
-
/**
|
|
12843
|
-
declare function
|
|
12844
|
-
/**
|
|
12845
|
-
*
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
*
|
|
12849
|
-
|
|
12850
|
-
*/
|
|
12851
|
-
declare function
|
|
12852
|
-
declare enum
|
|
12853
|
-
/** A
|
|
12854
|
-
|
|
12855
|
-
/**
|
|
12856
|
-
|
|
12970
|
+
/** The fingerprint's prefix for a header. */
|
|
12971
|
+
declare const HEADER_TOKEN = "header";
|
|
12972
|
+
/** A header as the fingerprint sees it (§7): `header:<arrange>/<pages>/<menu>/<ground>/<shape>` — what a visitor takes in
|
|
12973
|
+
* at once, in the contract's order. Two sites with the same token wear the same header. */
|
|
12974
|
+
declare function headerTokenOf(mix: HeaderMix): string;
|
|
12975
|
+
/** A header token in words: `header:name-only/menu/drawer/solid/bar` → "name-only · menu · drawer · solid · bar". */
|
|
12976
|
+
declare const headerTokenWords: (token: string) => string;
|
|
12977
|
+
/** Doron's reference headers (§2b), each as a whole mix. */
|
|
12978
|
+
declare function headerReferences(): ReadonlyArray<{
|
|
12979
|
+
id: string;
|
|
12980
|
+
after: string;
|
|
12981
|
+
added: string;
|
|
12982
|
+
mix: HeaderMix;
|
|
12983
|
+
}>;
|
|
12984
|
+
/** The site plan's header as a mix: its `mixes.header` when it has one (HI1), else its `globals.header` pattern read as a
|
|
12985
|
+
* named mix (HI-D4), else the Studio header. */
|
|
12986
|
+
declare function headerMixOfPlan(plan: {
|
|
12987
|
+
readonly globals?: Readonly<Record<string, string>>;
|
|
12988
|
+
readonly mixes?: {
|
|
12989
|
+
readonly header?: ReadonlyArray<string>;
|
|
12990
|
+
};
|
|
12991
|
+
}): HeaderMix;
|
|
12992
|
+
/** A mix on the wire: one `<ingredient>:<word>` per ingredient, in the table's order. */
|
|
12993
|
+
declare function headerMixWords(mix: HeaderMix): string[];
|
|
12994
|
+
/** Every `<ingredient>:<word>` the wire may carry: only the words the product DRAWS (ingredients.md §3) — a waiting word
|
|
12995
|
+
* is never offered, so the model never chooses what the site would show as something else. */
|
|
12996
|
+
declare function headerWireWords(): string[];
|
|
12997
|
+
/** The words back into a mix: an ingredient not named is the default. Refuses an unknown word and two words for one
|
|
12998
|
+
* ingredient. */
|
|
12999
|
+
declare function headerMixFromWords(words: ReadonlyArray<string>): HeaderMix;
|
|
13000
|
+
/** The stored header pattern a mix is exactly (`nav.inline-cta`, `nav.centered-logo`), else null. */
|
|
13001
|
+
declare function headerPatternIdOf(mix: HeaderMix): string | null;
|
|
13002
|
+
declare enum HeaderRepairCode {
|
|
13003
|
+
/** A name-and-menu header has its pages behind the menu. */
|
|
13004
|
+
NameOnlyInline = "name-only-inline",
|
|
13005
|
+
/** The name at the start with the pages behind a menu IS the name-and-menu header. */
|
|
13006
|
+
SplitMenu = "split-menu",
|
|
13007
|
+
/** Pages either side of the name are pages in the bar: behind a menu the name is centred. */
|
|
13008
|
+
BetweenMenu = "between-menu",
|
|
13009
|
+
/** A menu for so few pages is a detour: they go in the bar. */
|
|
13010
|
+
FewPages = "few-pages",
|
|
13011
|
+
/** The pages do not fit beside the name on a laptop: they go behind a menu. */
|
|
13012
|
+
TooManyPages = "too-many-pages",
|
|
13013
|
+
/** The name is too long, or the pages too few, to sit between two halves: the name is centred above them. */
|
|
13014
|
+
BetweenUnbalanced = "between-unbalanced",
|
|
13015
|
+
/** Two actions need two destinations (the contact page and the shop): one button. */
|
|
13016
|
+
OneDestination = "one-destination",
|
|
13017
|
+
/** Another site already wears this header: the nearest free one (`distinctHeader`). */
|
|
13018
|
+
Worn = "worn"
|
|
12857
13019
|
}
|
|
12858
|
-
interface
|
|
12859
|
-
code:
|
|
13020
|
+
interface HeaderRepair {
|
|
13021
|
+
code: HeaderRepairCode;
|
|
13022
|
+
/** In plain words, for the wizard and the model's next turn. */
|
|
12860
13023
|
said: string;
|
|
12861
13024
|
}
|
|
12862
|
-
|
|
12863
|
-
|
|
12864
|
-
readonly
|
|
12865
|
-
|
|
12866
|
-
|
|
12867
|
-
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
|
|
12871
|
-
|
|
12872
|
-
|
|
12873
|
-
/**
|
|
12874
|
-
|
|
12875
|
-
Dark = "dark",
|
|
12876
|
-
Light = "light",
|
|
12877
|
-
Photo = "photo"
|
|
12878
|
-
}
|
|
12879
|
-
/** A ground's tone from its relative luminance. */
|
|
12880
|
-
declare function groundToneOf(luminance: number): GroundTone.Dark | GroundTone.Light;
|
|
12881
|
-
interface RhythmContext {
|
|
12882
|
-
/** Each section's ground, as it reads. */
|
|
12883
|
-
toneOf: (section: LayoutSection) => GroundTone;
|
|
12884
|
-
/** The footer's ground, as it reads; absent: the tail is not judged (the footer's scheme is not known). */
|
|
12885
|
-
footerTone?: GroundTone | null;
|
|
12886
|
-
}
|
|
12887
|
-
/**
|
|
12888
|
-
* A composed page's grounds judged against the body's rhythm (`BODY.rhythms`): each issue a `Structure` issue on the page,
|
|
12889
|
-
* so the layout request is asked again with it. `free` (and an unknown word) asks nothing. A photo ground is free in
|
|
12890
|
-
* `alternate`, `chapters` and `tail`. Pure.
|
|
12891
|
-
*/
|
|
12892
|
-
declare function rhythmIssues(sections: ReadonlyArray<LayoutSection>, rhythm: string | null | undefined, ctx: RhythmContext): LayoutIssue[];
|
|
12893
|
-
|
|
12894
|
-
interface CheckLayoutContext {
|
|
12895
|
-
presetId: string;
|
|
12896
|
-
mode: 'light' | 'dark';
|
|
12897
|
-
locale: 'en' | 'he';
|
|
12898
|
-
/** Every photo the page may use: its inventory, or null when it was not measured (words never sit on it). */
|
|
12899
|
-
photos: Record<string, PhotoInventory | null>;
|
|
12900
|
-
/** The list data sources a gallery may show (`gallery.source`). */
|
|
12901
|
-
sources?: string[];
|
|
12902
|
-
/** Every list the plan has (`layoutGalleryLists`): a gallery naming one without pictures is mended to one with them. */
|
|
12903
|
-
lists?: ReadonlyArray<LayoutGalleryList>;
|
|
12904
|
-
/** What each list holds (`layoutListShapes`): a list section's mix is judged against it (`checkList`, LI2). */
|
|
12905
|
-
listShapes?: ReadonlyArray<LayoutListShape>;
|
|
12906
|
-
/** What this business type's lists never do (L-D12 — harness-core `BusinessType.lists`): repaired by `checkList`. */
|
|
12907
|
-
listNever?: LayoutListNever;
|
|
12908
|
-
/** AW-D23 (AW11): the tier the site is built at — a list's round-two word below the award tier is drawn as its
|
|
12909
|
-
* stand-in (`checkList`). Absent: no word is held back. */
|
|
12910
|
-
tier?: string | null;
|
|
12911
|
-
/** The lists this page is where the site shows (`layoutListsShownOn` — a shop page's products): one of its list sections
|
|
12912
|
-
* shows one of them, its items linking to their own page (vectoriox/iox-ui#99). */
|
|
12913
|
-
shows?: ReadonlyArray<string>;
|
|
12914
|
-
/** The list each of the page's plan sections binds, by its index (`page.sections[i].binding`): a ready-made place
|
|
12915
|
-
* stamps its section, so it shows that list. */
|
|
12916
|
-
sectionBindings?: ReadonlyArray<string | undefined>;
|
|
12917
|
-
/** The site's page routes a button may lead to (`/contact`). */
|
|
12918
|
-
routes?: string[];
|
|
12919
|
-
/** Every word the owner gave and what was read from it: a number not in here was invented. */
|
|
12920
|
-
facts?: string;
|
|
12921
|
-
/** The fact keys a `{fact:<key>}` token may name (default: the contract's `site.facts`). */
|
|
12922
|
-
factKeys?: string[];
|
|
12923
|
-
/** The business takes leads (the lead form is offered). */
|
|
12924
|
-
takesLeads?: boolean;
|
|
12925
|
-
/** This is the home page: it must offer a way to reach the business. */
|
|
12926
|
-
first?: boolean;
|
|
12927
|
-
/** The design the page will wear: its fonts decide whether a `screen` word fits (iox-ui#46). Default: the preset's. */
|
|
12928
|
-
design?: DesignChoices;
|
|
12929
|
-
/** AW6: the body's rhythm as DRAWN (`drawnBodyMix(bodyMixOfPlan(plan)).rhythm`): the page's grounds are judged against
|
|
12930
|
-
* it (`rhythmIssues`). Absent or `free`: each section's ground is its own. */
|
|
12931
|
-
rhythm?: string | null;
|
|
12932
|
-
/** AW6: how the footer's ground reads — the `tail` rhythm's last sections wear it. Absent: the tail is not judged. */
|
|
12933
|
-
footerTone?: GroundTone | null;
|
|
12934
|
-
/** Award §0c CW2 (AW-D34): the column words this business type never wears (harness-core `BusinessType.column.never`):
|
|
12935
|
-
* a page asking one is mended to the first word it may wear (`column-mended`). */
|
|
12936
|
-
columnNever?: ReadonlyArray<string>;
|
|
13025
|
+
/** A page the header links to (a page in the navigation, never Home — the name links there). */
|
|
13026
|
+
interface HeaderPage {
|
|
13027
|
+
readonly name: string;
|
|
13028
|
+
readonly route: string;
|
|
13029
|
+
}
|
|
13030
|
+
/** What the check and the recipe need of the site. */
|
|
13031
|
+
interface HeaderContext {
|
|
13032
|
+
readonly name: string;
|
|
13033
|
+
readonly design: DesignChoices;
|
|
13034
|
+
/** The pages in the navigation, in order. */
|
|
13035
|
+
readonly pages: ReadonlyArray<HeaderPage>;
|
|
13036
|
+
/** The shop's page when the site sells (the second action, and the page a shop pins — HI-D16). */
|
|
13037
|
+
readonly shop?: string | null;
|
|
12937
13038
|
}
|
|
12938
|
-
type LayoutColours = Readonly<Record<LayoutColour, string>>;
|
|
12939
|
-
/**
|
|
12940
|
-
* Award §0c CW2 (AW-D34, R-H25): the page's column word — a word outside the axis is dropped (the page wears the site's);
|
|
12941
|
-
* a word the business type never wears (a formal type's `wide`) takes the first it may (`contained`). Both mend alone.
|
|
12942
|
-
*/
|
|
12943
|
-
declare function columnIssues(page: Pick<LayoutPage, 'column'>, ctx: Pick<CheckLayoutContext, 'columnNever'>): LayoutIssue[];
|
|
12944
|
-
/** A preset's five colours in a mode as `#rrggbb` (the prototype's `presetColours`), or null when it does not wear that mode. */
|
|
12945
|
-
declare function layoutPresetColours(presetId: string, mode: 'light' | 'dark'): LayoutColours | null;
|
|
12946
|
-
/** A section of one photo on one side and words on the other: 'start' | 'end' | null (the prototype's `splitSide`). */
|
|
12947
|
-
declare function splitSide(s: LayoutSection): 'start' | 'end' | null;
|
|
12948
|
-
/** Every photo id a page names: photo layers, gallery slides, photo grounds. */
|
|
12949
|
-
declare function layoutPhotoIds(page: LayoutPage): string[];
|
|
12950
13039
|
/**
|
|
12951
|
-
*
|
|
12952
|
-
*
|
|
12953
|
-
* A page silent section fallback gave sections away (`page.givenAway`, iox-ui#67 — Doron, 2026-11-09): its MINIMUMS — the
|
|
12954
|
-
* one signature and the inhale before it, the glide floor, galleries, the daring minimums, the number of sections — are
|
|
12955
|
-
* judged on the model's own remaining sections, so what a removed section carried no longer fails the page. Its
|
|
12956
|
-
* MAXIMUMS are judged on the whole page, ready-made places included (a ready-made section that enters counts toward the
|
|
12957
|
-
* entrances), and reading, contrast and sameness are untouched.
|
|
13040
|
+
* The ONE judge of a header mix against the site (§3): what the site cannot carry is mended to the nearest mix that it
|
|
13041
|
+
* can, and each mend is said. Judges the mix as DRAWN (`drawnHeaderMix` first). Never throws on a well-formed mix. Pure.
|
|
12958
13042
|
*/
|
|
12959
|
-
declare function
|
|
12960
|
-
|
|
12961
|
-
|
|
12962
|
-
|
|
12963
|
-
|
|
13043
|
+
declare function checkHeader(mix: HeaderMix, ctx: HeaderContext): {
|
|
13044
|
+
mix: HeaderMix;
|
|
13045
|
+
repairs: HeaderRepair[];
|
|
13046
|
+
};
|
|
13047
|
+
/** The page(s) a menu header keeps in the bar (HI-D16): a selling site's shop, else its first page. */
|
|
13048
|
+
declare function pinnedPagesOf(ctx: HeaderContext): HeaderPage[];
|
|
13049
|
+
/** What the composer stamps for a header mix: the pattern, its phone shape and where its menu button sits. Check it first
|
|
13050
|
+
* (`checkHeader` on the drawn mix). */
|
|
13051
|
+
interface HeaderRecipe {
|
|
13052
|
+
/** The mix it stamps (stored on the header root — HS-5). */
|
|
13053
|
+
mix: HeaderMix;
|
|
13054
|
+
pattern: SitePattern;
|
|
13055
|
+
/** The pages are behind a menu at every width (HI-D8). */
|
|
13056
|
+
everyWidth: boolean;
|
|
13057
|
+
menuSide: MenuSide;
|
|
13058
|
+
/** HI2a: the menu's look — what `planNavShape` writes on the drawer, the menu button and its Close. */
|
|
13059
|
+
menu: MenuLook;
|
|
13060
|
+
}
|
|
13061
|
+
/** The menu's look for a mix (HI2a): with its pages behind the menu, the `menu` form at every width and the `phone`
|
|
13062
|
+
* ingredient's form on a phone; with its pages in the bar, the menu exists on a phone only, so its form IS the phone's
|
|
13063
|
+
* (the drawer, or the full screen). How it opens, its button and its hover come from their own ingredients. */
|
|
13064
|
+
declare function menuLookOf(mix: HeaderMix): MenuLook;
|
|
13065
|
+
/** A header mix as a pattern: what the composer stamps as the site's header (global, before the page). A mix that IS a
|
|
13066
|
+
* stored header (`nav.inline-cta`, `nav.centered-logo`) composes byte-identical to it (R-H4). Pure. */
|
|
13067
|
+
declare function headerRecipe(mix: HeaderMix, ctx: HeaderContext): HeaderRecipe;
|
|
12964
13068
|
/**
|
|
12965
|
-
*
|
|
12966
|
-
*
|
|
12967
|
-
*
|
|
13069
|
+
* A header no other site wears: the mix when its token is free, else the nearest mix whose token is — one changed
|
|
13070
|
+
* ingredient before two, in `MEND_ORDER` — that the site can carry as it is (`checkHeader` mends nothing), and said. When
|
|
13071
|
+
* every header is worn, the mix as it is. Pure, deterministic.
|
|
12968
13072
|
*/
|
|
12969
|
-
declare function
|
|
12970
|
-
|
|
12971
|
-
|
|
12972
|
-
|
|
12973
|
-
|
|
12974
|
-
|
|
12975
|
-
|
|
13073
|
+
declare function distinctHeader(mix: HeaderMix, taken: ReadonlyArray<string>, ctx: HeaderContext): {
|
|
13074
|
+
mix: HeaderMix;
|
|
13075
|
+
repairs: HeaderRepair[];
|
|
13076
|
+
};
|
|
13077
|
+
type HeaderPlan = {
|
|
13078
|
+
readonly business: {
|
|
13079
|
+
readonly name: string;
|
|
13080
|
+
};
|
|
13081
|
+
readonly design?: Readonly<Partial<DesignChoices>>;
|
|
13082
|
+
readonly pages: ReadonlyArray<{
|
|
13083
|
+
readonly name: string;
|
|
13084
|
+
readonly route: string;
|
|
13085
|
+
readonly inNav?: boolean;
|
|
13086
|
+
readonly isHome?: boolean;
|
|
13087
|
+
readonly sections?: ReadonlyArray<{
|
|
13088
|
+
readonly binding?: string;
|
|
13089
|
+
}>;
|
|
13090
|
+
}>;
|
|
13091
|
+
};
|
|
13092
|
+
/** The shop's page of a selling plan: the page in the navigation that lists the store's products (else null). */
|
|
13093
|
+
declare function shopPageOfPlan(plan: HeaderPlan): string | null;
|
|
13094
|
+
/** The header context of a plan: its name, its look, its pages in the navigation and its shop page (found in the plan
|
|
13095
|
+
* when not given). */
|
|
13096
|
+
declare function headerContextOfPlan(plan: HeaderPlan, shop?: string | null): HeaderContext;
|
|
12976
13097
|
/**
|
|
12977
|
-
*
|
|
12978
|
-
*
|
|
12979
|
-
*
|
|
12980
|
-
* decoration that enters with a move fades instead; the accent leaves the least important words (decoration, then
|
|
12981
|
-
* support, later sections first) until the look's count holds, and where the words cannot give enough back, the least
|
|
12982
|
-
* important accent bands take the ground nearest the accent their words read on (never the first band, the main call to
|
|
12983
|
-
* action's or a form's); and where fewer layers glide than the look asks, the most important layers that may glide take a
|
|
12984
|
-
* depth (back) — exactly as many as are missing, or none (iox-ui#63); a gallery naming a list with no pictures shows a list
|
|
12985
|
-
* that has them — the only one, else the one the section's words name, else the first (iox-ui#64; none, or words that name
|
|
12986
|
-
* the list it named: the model's — #66). No
|
|
12987
|
-
* word, place or photo changes and a button is never touched; what cannot be settled this way is the model's. Pure: a new page and the issues it settled.
|
|
13098
|
+
* The header a plan's site WEARS (ONE rule for the composer, the fingerprint and the distinct check): its mix as the
|
|
13099
|
+
* product draws it, judged against the site when the mix was chosen (`mixes.header`) — a stored header pattern (no mix)
|
|
13100
|
+
* is worn as it always was (R-H4). With what was drawn as something else or mended, in words. Pure.
|
|
12988
13101
|
*/
|
|
12989
|
-
declare function
|
|
12990
|
-
|
|
12991
|
-
|
|
13102
|
+
declare function wornHeaderOfPlan(plan: HeaderPlan & {
|
|
13103
|
+
readonly globals?: Readonly<Record<string, string>>;
|
|
13104
|
+
readonly mixes?: {
|
|
13105
|
+
readonly header?: ReadonlyArray<string>;
|
|
13106
|
+
};
|
|
13107
|
+
}): {
|
|
13108
|
+
mix: HeaderMix;
|
|
13109
|
+
context: HeaderContext;
|
|
13110
|
+
said: string[];
|
|
12992
13111
|
};
|
|
12993
|
-
/**
|
|
12994
|
-
*
|
|
12995
|
-
declare
|
|
13112
|
+
/** A plan's header made distinct (R-H2): `distinctHeader` over the plan's own mix as drawn and checked; the plan unchanged
|
|
13113
|
+
* when nothing was mended, else with the new mix in `mixes.header`. Pure. */
|
|
13114
|
+
declare function withDistinctHeader<P extends HeaderPlan & {
|
|
13115
|
+
readonly globals?: Readonly<Record<string, string>>;
|
|
13116
|
+
readonly mixes?: {
|
|
13117
|
+
readonly header?: ReadonlyArray<string>;
|
|
13118
|
+
readonly footer?: ReadonlyArray<string>;
|
|
13119
|
+
};
|
|
13120
|
+
}>(plan: P, taken: ReadonlyArray<string>): {
|
|
13121
|
+
plan: P;
|
|
13122
|
+
repairs: HeaderRepair[];
|
|
13123
|
+
};
|
|
13124
|
+
|
|
12996
13125
|
/**
|
|
12997
|
-
*
|
|
12998
|
-
*
|
|
12999
|
-
*
|
|
13126
|
+
* THE PHOTO INVENTORY (premium components M8 gate 2, §5; the prototype's `code/inventory.cjs`, made pure): what a layout
|
|
13127
|
+
* may know about a photo without seeing it — its shape, five main colours, and a 12×12 grid of how light and how busy each
|
|
13128
|
+
* part is. iox-cms decodes the pixels (sharp → RGBA) and calls `photoInventory`; `checkLayout` reads the grid through
|
|
13129
|
+
* `calmUnder` to judge words set over the part of the photo a frame SHOWS; the model reads `describeInventoryForPrompt`.
|
|
13130
|
+
* No DOM, no decoder: RGBA bytes in, numbers out, deterministic.
|
|
13000
13131
|
*/
|
|
13001
|
-
declare
|
|
13002
|
-
|
|
13003
|
-
|
|
13004
|
-
}
|
|
13005
|
-
|
|
13006
|
-
|
|
13132
|
+
declare enum PhotoTone {
|
|
13133
|
+
Light = "light",
|
|
13134
|
+
Dark = "dark"
|
|
13135
|
+
}
|
|
13136
|
+
interface PhotoInventory {
|
|
13137
|
+
shape: `${LayoutPhotoShape}`;
|
|
13138
|
+
width: number;
|
|
13139
|
+
height: number;
|
|
13140
|
+
grid: {
|
|
13141
|
+
cols: number;
|
|
13142
|
+
rows: number;
|
|
13143
|
+
/** Each cell's mean WCAG relative luminance (linear light), row by row. */
|
|
13144
|
+
luminance: number[];
|
|
13145
|
+
/** Each cell's mean |Laplacian| of its gamma-encoded luma (edges and texture), row by row; 0 is a flat field. */
|
|
13146
|
+
detail: number[];
|
|
13147
|
+
};
|
|
13148
|
+
/** Up to five main colours (`#rrggbb`), the most of the picture first; fewer when the picture holds fewer. */
|
|
13149
|
+
colours: string[];
|
|
13150
|
+
tone: `${PhotoTone}`;
|
|
13151
|
+
}
|
|
13152
|
+
/** A region of a frame, as fractions of its width (x) and height (y). */
|
|
13153
|
+
interface FrameRegion {
|
|
13154
|
+
x0: number;
|
|
13155
|
+
y0: number;
|
|
13156
|
+
x1: number;
|
|
13157
|
+
y1: number;
|
|
13158
|
+
}
|
|
13159
|
+
interface CalmReading {
|
|
13160
|
+
calm: boolean;
|
|
13161
|
+
tone: `${PhotoTone}`;
|
|
13162
|
+
/** The region's mean relative luminance (what a colour over it is measured against). */
|
|
13163
|
+
luminance: number;
|
|
13164
|
+
/** The region's mean detail. */
|
|
13165
|
+
detail: number;
|
|
13166
|
+
}
|
|
13167
|
+
declare const PHOTO_GRID = 12;
|
|
13168
|
+
/** Pixels are averaged down to this width before they are measured: the prototype measured at 96 wide, and the calm
|
|
13169
|
+
* threshold below was read off its 35 proof photos at that scale (a Laplacian grows with resolution). */
|
|
13170
|
+
declare const PHOTO_ANALYSIS_WIDTH = 96;
|
|
13171
|
+
/** Calm: the mean detail under the words is at most this. The prototype's absolute bar (0.045 at 96 px wide: the busiest
|
|
13172
|
+
* cell it called calm across the proof photos); its relative bar (≤ 0.55 × the photo's busiest cell) is not ported —
|
|
13173
|
+
* it called nothing calm on a photo that is flat everywhere. */
|
|
13174
|
+
declare const PHOTO_CALM_DETAIL = 0.045;
|
|
13175
|
+
/** Light: above the luminance where black and white words have the same contrast (√(1.05 × 0.05) − 0.05). */
|
|
13176
|
+
declare const PHOTO_LIGHT_LUMINANCE = 0.179;
|
|
13177
|
+
/** A photo's shape from its size. */
|
|
13178
|
+
declare function photoShapeOf(width: number, height: number): LayoutPhotoShape;
|
|
13179
|
+
declare const toneOf: (luminance: number) => PhotoTone;
|
|
13180
|
+
/** What a photo is, measured from its pixels (RGBA bytes, row by row). */
|
|
13181
|
+
declare function photoInventory(rgba: Uint8ClampedArray | Uint8Array, width: number, height: number): PhotoInventory;
|
|
13182
|
+
/** The part of the photo a frame region shows under `object-fit: cover` (centred): the frame crops the photo's longer side. */
|
|
13183
|
+
declare function coverCrop(inv: Pick<PhotoInventory, 'width' | 'height'>, frame: {
|
|
13184
|
+
w: number;
|
|
13185
|
+
h: number;
|
|
13186
|
+
}, region: FrameRegion): FrameRegion;
|
|
13007
13187
|
/**
|
|
13008
|
-
*
|
|
13009
|
-
*
|
|
13010
|
-
* Pure: the service and a replay ask the same question.
|
|
13188
|
+
* Whether words over `region` of a frame (fractions of the FRAME, which shows the photo as `object-fit: cover`, centred)
|
|
13189
|
+
* sit on a calm part of the photo, and how light it is there. A calm band the crop cuts away is not under the words.
|
|
13011
13190
|
*/
|
|
13012
|
-
declare function
|
|
13191
|
+
declare function calmUnder(inv: PhotoInventory, frame: {
|
|
13192
|
+
w: number;
|
|
13193
|
+
h: number;
|
|
13194
|
+
}, region: FrameRegion): CalmReading;
|
|
13195
|
+
/** The photo's 3×3 named parts that are calm, each light or dark (`top-start (dark)`). */
|
|
13196
|
+
declare function calmParts(inv: PhotoInventory): string[];
|
|
13197
|
+
/** One line a model reads instead of the photo: its id, what it shows, shape, colours and where words may sit. */
|
|
13198
|
+
declare function describeInventoryForPrompt(id: string, inv: PhotoInventory, label?: string): string;
|
|
13013
13199
|
|
|
13014
|
-
/**
|
|
13015
|
-
|
|
13016
|
-
|
|
13017
|
-
|
|
13018
|
-
|
|
13019
|
-
|
|
13200
|
+
/**
|
|
13201
|
+
* What a business type's lists never do (L-D12, the contract's harness `businessTypes[].lists` — harness-core
|
|
13202
|
+
* `BusinessType.lists`, passed in as data: harness-core reads generation-core, never the other way round).
|
|
13203
|
+
*/
|
|
13204
|
+
interface LayoutListNever {
|
|
13205
|
+
readonly arranges: ReadonlyArray<string>;
|
|
13206
|
+
readonly moves: ReadonlyArray<string>;
|
|
13207
|
+
/** Why, in the owner's words — said with the repair. */
|
|
13208
|
+
readonly say: ReadonlyArray<string>;
|
|
13209
|
+
/** The same, in Hebrew (vectoriox/iox-ui#123 — the contract's `lists.sayHe`, one sentence for each English one). */
|
|
13210
|
+
readonly sayHe?: ReadonlyArray<string>;
|
|
13211
|
+
}
|
|
13212
|
+
/** AW11: what the judge knows of where the list sits and who it is built for. */
|
|
13213
|
+
interface ListCheckOptions {
|
|
13214
|
+
/** AW-D23: the tier the site is built at; absent: the builder (the owner's choice — no word is held back). */
|
|
13215
|
+
readonly tier?: string | null;
|
|
13216
|
+
/** The list is in the page's first screen (its first section): no arrival plays there (AW11-D15). */
|
|
13217
|
+
readonly firstScreen?: boolean;
|
|
13218
|
+
}
|
|
13219
|
+
/** True when the type's art direction forbids nothing. */
|
|
13220
|
+
declare const listNeverIsEmpty: (never?: LayoutListNever | null) => boolean;
|
|
13221
|
+
/**
|
|
13222
|
+
* Judge one list section's mix against the list it shows (`shape`, from `layoutListShapes`; null when the source is no
|
|
13223
|
+
* list — the source check says that). `layer` is the layer's path (`sections[1].layers[0]`).
|
|
13224
|
+
*/
|
|
13225
|
+
declare function checkList(mix: LayoutListMix, shape: LayoutListShape | null, layer: string, never?: LayoutListNever | null, options?: ListCheckOptions): LayoutIssue[];
|
|
13226
|
+
/** Two list sections of one page never share an arrangement (list-ingredients §7), and never two lean (AW11-D7): the
|
|
13227
|
+
* later ones are the model's. */
|
|
13228
|
+
declare function pageListIssues(page: LayoutPage): LayoutIssue[];
|
|
13229
|
+
|
|
13230
|
+
/** The ingredients, by the contract's keys (held equal to it by body-mix.spec). */
|
|
13231
|
+
declare enum BodyIngredient {
|
|
13232
|
+
Seam = "seam",
|
|
13233
|
+
Rhythm = "rhythm",
|
|
13234
|
+
Texture = "texture",
|
|
13235
|
+
Sections = "sections"
|
|
13020
13236
|
}
|
|
13021
|
-
|
|
13022
|
-
|
|
13023
|
-
|
|
13024
|
-
|
|
13025
|
-
|
|
13026
|
-
|
|
13027
|
-
ListBig = "list-big"
|
|
13237
|
+
declare enum BodySeam {
|
|
13238
|
+
Straight = "straight",
|
|
13239
|
+
Wave = "wave",
|
|
13240
|
+
Drip = "drip",
|
|
13241
|
+
Torn = "torn",
|
|
13242
|
+
Rounded = "rounded"
|
|
13028
13243
|
}
|
|
13029
|
-
declare enum
|
|
13030
|
-
|
|
13031
|
-
|
|
13032
|
-
|
|
13033
|
-
|
|
13034
|
-
|
|
13035
|
-
Payments = "payments",
|
|
13036
|
-
Clock = "clock",
|
|
13037
|
-
Marquee = "marquee",
|
|
13038
|
-
Badges = "badges",
|
|
13039
|
-
Region = "region",
|
|
13040
|
-
Search = "search"
|
|
13244
|
+
declare enum BodyRhythm {
|
|
13245
|
+
Free = "free",
|
|
13246
|
+
Alternate = "alternate",
|
|
13247
|
+
LoudQuiet = "loud-quiet",
|
|
13248
|
+
Chapters = "chapters",
|
|
13249
|
+
Tail = "tail"
|
|
13041
13250
|
}
|
|
13042
|
-
declare enum
|
|
13251
|
+
declare enum BodyTexture {
|
|
13043
13252
|
None = "none",
|
|
13044
|
-
Call = "call",
|
|
13045
|
-
Name = "name",
|
|
13046
|
-
Statement = "statement",
|
|
13047
|
-
Word = "word",
|
|
13048
|
-
Newsletter = "newsletter",
|
|
13049
|
-
NameAndAction = "name-and-action"
|
|
13050
|
-
}
|
|
13051
|
-
declare enum FooterGround {
|
|
13052
|
-
Inverse = "inverse",
|
|
13053
|
-
Plain = "plain",
|
|
13054
|
-
Subtle = "subtle",
|
|
13055
|
-
Accent = "accent",
|
|
13056
|
-
Film = "film",
|
|
13057
|
-
Scene = "scene",
|
|
13058
13253
|
Pattern = "pattern",
|
|
13059
|
-
|
|
13254
|
+
Light = "light",
|
|
13255
|
+
Material = "material",
|
|
13256
|
+
Grain = "grain",
|
|
13257
|
+
Lanes = "lanes"
|
|
13060
13258
|
}
|
|
13061
|
-
|
|
13062
|
-
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
|
|
13259
|
+
declare enum BodySectionWord {
|
|
13260
|
+
InsetCard = "inset-card",
|
|
13261
|
+
StickyTitle = "sticky-title",
|
|
13262
|
+
TabsNav = "tabs-nav",
|
|
13263
|
+
Promises = "promises",
|
|
13264
|
+
Table = "table",
|
|
13265
|
+
Timeline = "timeline",
|
|
13266
|
+
Hotspots = "hotspots"
|
|
13067
13267
|
}
|
|
13068
|
-
/** One word
|
|
13069
|
-
interface
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
|
-
|
|
13073
|
-
|
|
13268
|
+
/** One word for each of seam, rhythm and texture; a list (in the table's order) of the extra kinds of section. */
|
|
13269
|
+
interface BodyMix {
|
|
13270
|
+
seam: string;
|
|
13271
|
+
rhythm: string;
|
|
13272
|
+
texture: string;
|
|
13273
|
+
sections: string[];
|
|
13074
13274
|
}
|
|
13075
|
-
declare class
|
|
13275
|
+
declare class BodyMixError extends Error {
|
|
13076
13276
|
}
|
|
13077
|
-
/**
|
|
13078
|
-
|
|
13079
|
-
|
|
13277
|
+
/** The words an ingredient may take, in the table's order. */
|
|
13278
|
+
declare function bodyWords(ingredient: `${BodyIngredient}`): ReadonlyArray<string>;
|
|
13279
|
+
/** What a word means — in Hebrew when the builder speaks it. */
|
|
13280
|
+
declare function bodyMeaning(ingredient: `${BodyIngredient}`, word: string, locale?: string | null): string;
|
|
13281
|
+
/** Whether the product draws a word today (a waiting word is listed with its phase, drawn as its stand-in). */
|
|
13282
|
+
declare function bodyWordDrawn(ingredient: `${BodyIngredient}`, word: string): boolean;
|
|
13283
|
+
/** The phase a waiting word waits for, or null. */
|
|
13284
|
+
declare function bodyWordWaits(ingredient: `${BodyIngredient}`, word: string): string | null;
|
|
13285
|
+
/** AW-D23: a word every plan wears (`all`) or one the award tier alone is offered (`pro`). */
|
|
13286
|
+
declare function bodyWordTier(ingredient: `${BodyIngredient}`, word: string): 'all' | 'pro';
|
|
13287
|
+
/** May a build at `tier` wear this word? */
|
|
13288
|
+
declare function bodyWordOffered(ingredient: `${BodyIngredient}`, word: string, tier: `${GenerationTier}`): boolean;
|
|
13289
|
+
/** A whole mix from part of one: what is not named is the default (straight, free, no texture). Refuses a word the table
|
|
13290
|
+
* lacks. */
|
|
13291
|
+
declare function bodyMix(partial?: Partial<Record<string, string | ReadonlyArray<string>>>): BodyMix;
|
|
13292
|
+
/** A mix on the wire: one `<ingredient>:<word>` per word, in the table's order. */
|
|
13293
|
+
declare function bodyMixWords(mix: BodyMix): string[];
|
|
13294
|
+
/** The words back into a mix. Refuses an unknown word and two words for a one-word ingredient. */
|
|
13295
|
+
declare function bodyMixFromWords(words: ReadonlyArray<string>): BodyMix;
|
|
13296
|
+
/** A site plan's body (AW6): its `mixes.body` as a mix, or null — absent or empty, straight seams and free grounds. */
|
|
13297
|
+
declare function bodyMixOfPlan(plan: {
|
|
13298
|
+
readonly mixes?: {
|
|
13299
|
+
readonly body?: ReadonlyArray<string>;
|
|
13300
|
+
};
|
|
13301
|
+
}): BodyMix | null;
|
|
13302
|
+
interface BodyGap {
|
|
13303
|
+
ingredient: `${BodyIngredient}`;
|
|
13304
|
+
word: string;
|
|
13080
13305
|
phase: string;
|
|
13081
13306
|
drawnAs: string | null;
|
|
13082
13307
|
}
|
|
13083
|
-
/** The
|
|
13084
|
-
declare
|
|
13085
|
-
|
|
13086
|
-
|
|
13087
|
-
/** The wait of a word, or null when the product draws it. */
|
|
13088
|
-
declare function footerWait(ingredient: `${FooterIngredient}`, word: string): FooterWait | null;
|
|
13089
|
-
/** The words an ingredient may take — the DRAWN ones, the only ones the wire, the brief and the mender offer
|
|
13090
|
-
* (ingredients.md §3.3: offering a waiting word would put its stand-in on every site that asked for it). */
|
|
13091
|
-
declare function footerWords(ingredient: `${FooterIngredient}`): ReadonlyArray<string>;
|
|
13092
|
-
/** What a word means, as the brief and the builder say it. */
|
|
13093
|
-
declare function footerMeaning(ingredient: `${FooterIngredient}`, word: string): string;
|
|
13094
|
-
/** A whole mix from part of one: what is not named is the default. Refuses a word the table lacks. */
|
|
13095
|
-
declare function footerMix(partial?: Partial<FooterMix>): FooterMix;
|
|
13096
|
-
/** The mix a stored footer pattern id stands for (`footer.three-column`, `footer.mega`, `footer.minimal`), or null. */
|
|
13097
|
-
declare function namedFooterMix(patternId: string): FooterMix | null;
|
|
13098
|
-
/** The stored footer pattern a mix is exactly, else null. */
|
|
13099
|
-
declare function footerPatternIdOf(mix: FooterMix): string | null;
|
|
13100
|
-
/** A mix on the wire: ONE list of `<ingredient>:<word>` words (the list wire's encoding), `holds` once per block. */
|
|
13101
|
-
declare function footerMixWords(mix: FooterMix): string[];
|
|
13102
|
-
/** Every `<ingredient>:<word>` the wire may carry: the drawn words only. */
|
|
13103
|
-
declare function footerWireWords(): string[];
|
|
13104
|
-
/** A mix as the product can draw it today: every waiting word drawn as its stand-in (a held block with none is left
|
|
13105
|
-
* out), and the words that waited, for the check to say. A drawn mix comes back unchanged. Pure. */
|
|
13106
|
-
declare function drawnFooterMix(mix: FooterMix): {
|
|
13107
|
-
mix: FooterMix;
|
|
13108
|
-
waited: Array<{
|
|
13109
|
-
ingredient: FooterIngredient;
|
|
13110
|
-
word: string;
|
|
13111
|
-
} & FooterWait>;
|
|
13308
|
+
/** The mix the product DRAWS today: a waiting word becomes its stand-in (a waiting kind of section is left out), each said. */
|
|
13309
|
+
declare function drawnBodyMix(mix: BodyMix): {
|
|
13310
|
+
drawn: BodyMix;
|
|
13311
|
+
gaps: BodyGap[];
|
|
13112
13312
|
};
|
|
13113
|
-
/** The
|
|
13114
|
-
|
|
13115
|
-
|
|
13116
|
-
|
|
13117
|
-
|
|
13118
|
-
declare function
|
|
13119
|
-
|
|
13120
|
-
|
|
13121
|
-
|
|
13122
|
-
|
|
13123
|
-
|
|
13124
|
-
/**
|
|
13125
|
-
|
|
13126
|
-
/** A footer as the fingerprint sees it: `footer:<arrange>/<closing>/<ground>` — what a visitor takes in at once, in the
|
|
13127
|
-
* contract's order. Two sites with the same token wear the same footer. */
|
|
13128
|
-
declare function footerTokenOf(mix: FooterMix): string;
|
|
13129
|
-
/** A footer token in words: `footer:columns/none/inverse` → "columns · none · inverse". */
|
|
13130
|
-
declare const footerTokenWords: (token: string) => string;
|
|
13131
|
-
/** Doron's reference footers, each as a whole mix. */
|
|
13132
|
-
declare function footerReferences(): ReadonlyArray<{
|
|
13133
|
-
id: string;
|
|
13134
|
-
after: string;
|
|
13135
|
-
added: string;
|
|
13136
|
-
mix: FooterMix;
|
|
13137
|
-
}>;
|
|
13138
|
-
declare enum FooterRepairCode {
|
|
13139
|
-
/** A one-line footer holds only the pages: the other blocks need room. */
|
|
13140
|
-
LineHolds = "line-holds",
|
|
13141
|
-
/** A footer that holds nothing and closes with nothing: it holds the pages. */
|
|
13142
|
-
Empty = "empty",
|
|
13143
|
-
/** The name is too long to stand across a phone's width at the smallest size: no closing name. */
|
|
13144
|
-
NameTooLong = "name-too-long",
|
|
13145
|
-
/** Another site already wears this footer: the nearest free one (`distinctFooter`). */
|
|
13146
|
-
Worn = "worn",
|
|
13147
|
-
/** A word the product draws in a later phase: drawn as its stand-in meanwhile (the table's `waits`). */
|
|
13148
|
-
Waits = "waits"
|
|
13313
|
+
/** The fingerprint's prefix for a body. */
|
|
13314
|
+
declare const BODY_TOKEN = "body";
|
|
13315
|
+
/** A body as the fingerprint sees it: `body:<seam>/<rhythm>/<texture>`. */
|
|
13316
|
+
declare function bodyTokenOf(mix: BodyMix): string;
|
|
13317
|
+
/** Every `<ingredient>:<word>` the generator's wire may carry at `tier`: drawn words only, the award tier's only there. */
|
|
13318
|
+
declare function bodyWireWords(tier?: `${GenerationTier}`): string[];
|
|
13319
|
+
interface BodySeamShape {
|
|
13320
|
+
/** px the lower ground rises into the section above. */
|
|
13321
|
+
depth: number;
|
|
13322
|
+
/** px of the upper section's lower corners (0 = square). */
|
|
13323
|
+
radius: number;
|
|
13324
|
+
/** Draw it mirrored (an asymmetric shape on a right-to-left page). */
|
|
13325
|
+
mirrored: boolean;
|
|
13149
13326
|
}
|
|
13150
|
-
|
|
13151
|
-
|
|
13152
|
-
|
|
13327
|
+
/** How a seam is drawn at a width and in a direction. An unknown word is the straight seam. */
|
|
13328
|
+
declare function bodySeamShape(word: string, opts?: {
|
|
13329
|
+
phone?: boolean;
|
|
13330
|
+
rtl?: boolean;
|
|
13331
|
+
}): BodySeamShape;
|
|
13332
|
+
/** The class a section wears for its seam (`iox-seam-<word>`); the straight seam wears none. design-core's
|
|
13333
|
+
* `sectionEdgeClass` is the one writer (the renderers' node-class helper); this reads the table's words through it. */
|
|
13334
|
+
declare function bodySeamClass(word: string | null | undefined): string | null;
|
|
13335
|
+
/** The padding with its bottom at least `px` (`rules.seamKeepsClear`): `a b max(c, 48px) d`, a px value raised in place. */
|
|
13336
|
+
declare function paddingKeepingClear(padding: unknown, px: number): string;
|
|
13337
|
+
/**
|
|
13338
|
+
* A composed page wearing the body mix (AW6, H4): the plan's seam on every Section whose ground differs from the one
|
|
13339
|
+
* above it (never the first, a Scene or a section holding one — AW6-D11; two equal grounds would draw nothing), the
|
|
13340
|
+
* upper's bottom space raised to the seam's depth so its words stay clear (R-H17); `inset-card` makes every later
|
|
13341
|
+
* section that wears a scheme a rounded card on the page's ground. A mix with nothing drawn returns the layout as it was
|
|
13342
|
+
* (the same array — byte-identical, R-H4). Pure: touched nodes are copied.
|
|
13343
|
+
*/
|
|
13344
|
+
declare function wearBodyMix(layout: ReadonlyArray<SerializedNode>, mix: BodyMix | null | undefined): SerializedNode[];
|
|
13345
|
+
declare enum BodyRepairCode {
|
|
13346
|
+
/** A word the award tier alone wears, on a site built below it. */
|
|
13347
|
+
ProOnly = "pro-only",
|
|
13348
|
+
/** A trust or care business (harness `MOTION_CEILINGS.subtle`) never wears a torn or dripping edge: a soft hill. */
|
|
13349
|
+
CalmSeam = "calm-seam"
|
|
13350
|
+
}
|
|
13351
|
+
interface BodyRepair {
|
|
13352
|
+
code: BodyRepairCode;
|
|
13153
13353
|
said: string;
|
|
13154
13354
|
}
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
|
|
13160
|
-
|
|
13161
|
-
|
|
13355
|
+
interface BodyContext {
|
|
13356
|
+
/** AW-D23: the tier the site is built at; absent: the award words are the owner's to choose (the builder). */
|
|
13357
|
+
readonly tier?: `${GenerationTier}`;
|
|
13358
|
+
/** A trust or care business — the harness's calm motion ceiling (`MOTION_CEILINGS.subtle`). */
|
|
13359
|
+
readonly calm?: boolean;
|
|
13360
|
+
}
|
|
13361
|
+
/** The ONE judge of a body mix against the site. Judges the mix as DRAWN (`drawnBodyMix` first). Never throws. Pure. */
|
|
13362
|
+
declare function checkBody(mix: BodyMix, ctx?: BodyContext): {
|
|
13363
|
+
mix: BodyMix;
|
|
13364
|
+
repairs: BodyRepair[];
|
|
13365
|
+
};
|
|
13366
|
+
/** How a section's ground reads: dark or light (by its colour's luminance), or a photo (free in every rhythm). */
|
|
13367
|
+
declare enum GroundTone {
|
|
13368
|
+
Dark = "dark",
|
|
13369
|
+
Light = "light",
|
|
13370
|
+
Photo = "photo"
|
|
13371
|
+
}
|
|
13372
|
+
/** A ground's tone from its relative luminance. */
|
|
13373
|
+
declare function groundToneOf(luminance: number): GroundTone.Dark | GroundTone.Light;
|
|
13374
|
+
interface RhythmContext {
|
|
13375
|
+
/** Each section's ground, as it reads. */
|
|
13376
|
+
toneOf: (section: LayoutSection) => GroundTone;
|
|
13377
|
+
/** The footer's ground, as it reads; absent: the tail is not judged (the footer's scheme is not known). */
|
|
13378
|
+
footerTone?: GroundTone | null;
|
|
13162
13379
|
}
|
|
13163
13380
|
/**
|
|
13164
|
-
*
|
|
13165
|
-
* is
|
|
13381
|
+
* A composed page's grounds judged against the body's rhythm (`BODY.rhythms`): each issue a `Structure` issue on the page,
|
|
13382
|
+
* so the layout request is asked again with it. `free` (and an unknown word) asks nothing. A photo ground is free in
|
|
13383
|
+
* `alternate`, `chapters` and `tail`. Pure.
|
|
13166
13384
|
*/
|
|
13167
|
-
declare function
|
|
13168
|
-
|
|
13169
|
-
|
|
13170
|
-
|
|
13171
|
-
|
|
13172
|
-
|
|
13385
|
+
declare function rhythmIssues(sections: ReadonlyArray<LayoutSection>, rhythm: string | null | undefined, ctx: RhythmContext): LayoutIssue[];
|
|
13386
|
+
|
|
13387
|
+
interface CheckLayoutContext {
|
|
13388
|
+
presetId: string;
|
|
13389
|
+
mode: 'light' | 'dark';
|
|
13390
|
+
locale: 'en' | 'he';
|
|
13391
|
+
/** Every photo the page may use: its inventory, or null when it was not measured (words never sit on it). */
|
|
13392
|
+
photos: Record<string, PhotoInventory | null>;
|
|
13393
|
+
/** The list data sources a gallery may show (`gallery.source`). */
|
|
13394
|
+
sources?: string[];
|
|
13395
|
+
/** Every list the plan has (`layoutGalleryLists`): a gallery naming one without pictures is mended to one with them. */
|
|
13396
|
+
lists?: ReadonlyArray<LayoutGalleryList>;
|
|
13397
|
+
/** What each list holds (`layoutListShapes`): a list section's mix is judged against it (`checkList`, LI2). */
|
|
13398
|
+
listShapes?: ReadonlyArray<LayoutListShape>;
|
|
13399
|
+
/** What this business type's lists never do (L-D12 — harness-core `BusinessType.lists`): repaired by `checkList`. */
|
|
13400
|
+
listNever?: LayoutListNever;
|
|
13401
|
+
/** AW-D23 (AW11): the tier the site is built at — a list's round-two word below the award tier is drawn as its
|
|
13402
|
+
* stand-in (`checkList`). Absent: no word is held back. */
|
|
13403
|
+
tier?: string | null;
|
|
13404
|
+
/** The lists this page is where the site shows (`layoutListsShownOn` — a shop page's products): one of its list sections
|
|
13405
|
+
* shows one of them, its items linking to their own page (vectoriox/iox-ui#99). */
|
|
13406
|
+
shows?: ReadonlyArray<string>;
|
|
13407
|
+
/** The list each of the page's plan sections binds, by its index (`page.sections[i].binding`): a ready-made place
|
|
13408
|
+
* stamps its section, so it shows that list. */
|
|
13409
|
+
sectionBindings?: ReadonlyArray<string | undefined>;
|
|
13410
|
+
/** The site's page routes a button may lead to (`/contact`). */
|
|
13411
|
+
routes?: string[];
|
|
13412
|
+
/** Every word the owner gave and what was read from it: a number not in here was invented. */
|
|
13413
|
+
facts?: string;
|
|
13414
|
+
/** The fact keys a `{fact:<key>}` token may name (default: the contract's `site.facts`). */
|
|
13415
|
+
factKeys?: string[];
|
|
13416
|
+
/** The business takes leads (the lead form is offered). */
|
|
13417
|
+
takesLeads?: boolean;
|
|
13418
|
+
/** This is the home page: it must offer a way to reach the business. */
|
|
13419
|
+
first?: boolean;
|
|
13420
|
+
/** The design the page will wear: its fonts decide whether a `screen` word fits (iox-ui#46). Default: the preset's. */
|
|
13421
|
+
design?: DesignChoices;
|
|
13422
|
+
/** AW6: the body's rhythm as DRAWN (`drawnBodyMix(bodyMixOfPlan(plan)).rhythm`): the page's grounds are judged against
|
|
13423
|
+
* it (`rhythmIssues`). Absent or `free`: each section's ground is its own. */
|
|
13424
|
+
rhythm?: string | null;
|
|
13425
|
+
/** AW6: how the footer's ground reads — the `tail` rhythm's last sections wear it. Absent: the tail is not judged. */
|
|
13426
|
+
footerTone?: GroundTone | null;
|
|
13427
|
+
/** Award §0c CW2 (AW-D34): the column words this business type never wears (harness-core `BusinessType.column.never`):
|
|
13428
|
+
* a page asking one is mended to the first word it may wear (`column-mended`). */
|
|
13429
|
+
columnNever?: ReadonlyArray<string>;
|
|
13430
|
+
}
|
|
13431
|
+
type LayoutColours = Readonly<Record<LayoutColour, string>>;
|
|
13173
13432
|
/**
|
|
13174
|
-
*
|
|
13175
|
-
*
|
|
13176
|
-
* every footer is worn, the mix as it is. Pure, deterministic.
|
|
13433
|
+
* Award §0c CW2 (AW-D34, R-H25): the page's column word — a word outside the axis is dropped (the page wears the site's);
|
|
13434
|
+
* a word the business type never wears (a formal type's `wide`) takes the first it may (`contained`). Both mend alone.
|
|
13177
13435
|
*/
|
|
13178
|
-
declare function
|
|
13179
|
-
|
|
13180
|
-
|
|
13436
|
+
declare function columnIssues(page: Pick<LayoutPage, 'column'>, ctx: Pick<CheckLayoutContext, 'columnNever'>): LayoutIssue[];
|
|
13437
|
+
/** A preset's five colours in a mode as `#rrggbb` (the prototype's `presetColours`), or null when it does not wear that mode. */
|
|
13438
|
+
declare function layoutPresetColours(presetId: string, mode: 'light' | 'dark'): LayoutColours | null;
|
|
13439
|
+
/** A section of one photo on one side and words on the other: 'start' | 'end' | null (the prototype's `splitSide`). */
|
|
13440
|
+
declare function splitSide(s: LayoutSection): 'start' | 'end' | null;
|
|
13441
|
+
/** Every photo id a page names: photo layers, gallery slides, photo grounds. */
|
|
13442
|
+
declare function layoutPhotoIds(page: LayoutPage): string[];
|
|
13443
|
+
/**
|
|
13444
|
+
* Every rule a composed page keeps, each refused with a path. Empty means it passes.
|
|
13445
|
+
*
|
|
13446
|
+
* A page silent section fallback gave sections away (`page.givenAway`, iox-ui#67 — Doron, 2026-11-09): its MINIMUMS — the
|
|
13447
|
+
* one signature and the inhale before it, the glide floor, galleries, the daring minimums, the number of sections — are
|
|
13448
|
+
* judged on the model's own remaining sections, so what a removed section carried no longer fails the page. Its
|
|
13449
|
+
* MAXIMUMS are judged on the whole page, ready-made places included (a ready-made section that enters counts toward the
|
|
13450
|
+
* entrances), and reading, contrast and sameness are untouched.
|
|
13451
|
+
*/
|
|
13452
|
+
declare function checkLayout(page: LayoutPage, ctx: CheckLayoutContext): LayoutIssue[];
|
|
13453
|
+
/** A composed page with the list it is where the site shows (`ctx.shows`) in a list section — as it is, or with the
|
|
13454
|
+
* gallery the check turns into it (`ShowList`). Null: it cannot show it without the model. What the composer stamps and
|
|
13455
|
+
* the plan's validator judges (vectoriox/iox-ui#99). Pure. */
|
|
13456
|
+
declare function withShownList(page: LayoutPage, ctx: Pick<CheckLayoutContext, 'shows' | 'sectionBindings' | 'listShapes'>): LayoutPage | null;
|
|
13457
|
+
/**
|
|
13458
|
+
* M8-G2-D12 — what a look switch costs a composed page: the issues the check finds in the new look (`ctx`) at a place
|
|
13459
|
+
* where the look it was composed for (`from`) found none of that kind. Nothing to say → []; the page's own known misses
|
|
13460
|
+
* (in both looks) are never blamed on the switch.
|
|
13461
|
+
*/
|
|
13462
|
+
declare function layoutLookChanges(page: LayoutPage, ctx: CheckLayoutContext, from: Pick<CheckLayoutContext, 'presetId' | 'mode'>): LayoutIssue[];
|
|
13463
|
+
/** The longest a time entrance plays. */
|
|
13464
|
+
declare const LAYOUT_ENTRANCE_MAX_MS = 1200;
|
|
13465
|
+
/** The scale an action starts from, where it is not 1 (iox-ui `buildInteractionKeyframes`; held equal by the spec). */
|
|
13466
|
+
declare const ACTION_START_SCALE: Readonly<Record<string, number>>;
|
|
13467
|
+
/** Emil's rules a composed page's nodes can be held to without running them: eases, `transition: all`, scale, entrance length. */
|
|
13468
|
+
declare function auditLayoutMotion(nodes: ReadonlyArray<SerializedNode>): LayoutIssue[];
|
|
13469
|
+
/**
|
|
13470
|
+
* What the composer settles by itself before the model is asked to repair (M8 gate 2, found by the live run: the real
|
|
13471
|
+
* model's repair missed 4.43:1 against 4.5:1 and a third accent where two are allowed): words over a busy or too-light part
|
|
13472
|
+
* of a photo get the scrim the look allows; words too faint on their ground go back to the ink where the ink holds there;
|
|
13473
|
+
* decoration that enters with a move fades instead; the accent leaves the least important words (decoration, then
|
|
13474
|
+
* support, later sections first) until the look's count holds, and where the words cannot give enough back, the least
|
|
13475
|
+
* important accent bands take the ground nearest the accent their words read on (never the first band, the main call to
|
|
13476
|
+
* action's or a form's); and where fewer layers glide than the look asks, the most important layers that may glide take a
|
|
13477
|
+
* depth (back) — exactly as many as are missing, or none (iox-ui#63); a gallery naming a list with no pictures shows a list
|
|
13478
|
+
* that has them — the only one, else the one the section's words name, else the first (iox-ui#64; none, or words that name
|
|
13479
|
+
* the list it named: the model's — #66). No
|
|
13480
|
+
* word, place or photo changes and a button is never touched; what cannot be settled this way is the model's. Pure: a new page and the issues it settled.
|
|
13481
|
+
*/
|
|
13482
|
+
declare function mendLayout(page: LayoutPage, issues: ReadonlyArray<LayoutIssue>): {
|
|
13483
|
+
page: LayoutPage;
|
|
13484
|
+
mended: LayoutIssue[];
|
|
13181
13485
|
};
|
|
13182
|
-
/**
|
|
13183
|
-
*
|
|
13184
|
-
declare
|
|
13185
|
-
|
|
13186
|
-
|
|
13187
|
-
|
|
13188
|
-
|
|
13189
|
-
|
|
13190
|
-
|
|
13191
|
-
|
|
13192
|
-
|
|
13193
|
-
};
|
|
13194
|
-
}>(plan: P, taken: ReadonlyArray<string>): {
|
|
13195
|
-
plan: P;
|
|
13196
|
-
repairs: FooterRepair[];
|
|
13486
|
+
/** How many times the composer settles a page: a mend can make the next one possible (an accent band moved, then a
|
|
13487
|
+
* depth that no longer meets it), never more. */
|
|
13488
|
+
declare const LAYOUT_SETTLE_PASSES = 3;
|
|
13489
|
+
/**
|
|
13490
|
+
* iox-ui#131: settle a page as far as the composer can — the mends of what the gate finds, then the gate again on the
|
|
13491
|
+
* mended page, until nothing more is settled (at most `LAYOUT_SETTLE_PASSES`). `issuesOf` is the whole gate the page is
|
|
13492
|
+
* judged by (static + sameness). What is left after it is the model's, or the section fallback's. Pure.
|
|
13493
|
+
*/
|
|
13494
|
+
declare function settleLayoutPage(page: LayoutPage, issuesOf: (page: LayoutPage) => ReadonlyArray<LayoutIssue>): {
|
|
13495
|
+
page: LayoutPage;
|
|
13496
|
+
mended: LayoutIssue[];
|
|
13197
13497
|
};
|
|
13498
|
+
/** iox-ui#131: at most this many things left after the one repair is a near miss — asked once more, not given away. */
|
|
13499
|
+
declare const LAYOUT_NEAR_MISS = 2;
|
|
13500
|
+
/**
|
|
13501
|
+
* iox-ui#131: a repaired page that came close — at most `LAYOUT_NEAR_MISS` things left, and fewer than the check found
|
|
13502
|
+
* before the repair (the model is converging, not wandering) — gets a second repair before its sections are given away.
|
|
13503
|
+
* Pure: the service and a replay ask the same question.
|
|
13504
|
+
*/
|
|
13505
|
+
declare function layoutNearMiss(before: ReadonlyArray<LayoutIssue>, after: ReadonlyArray<LayoutIssue>): boolean;
|
|
13198
13506
|
|
|
13199
13507
|
/**
|
|
13200
13508
|
* THE CROSS-SITE FINGERPRINT (premium components M8 gate 2, M8-G2-D7; the prototype's `fingerprint` + `sameness`,
|
|
@@ -13860,6 +14168,11 @@ interface ComposeContext {
|
|
|
13860
14168
|
* body never wears a torn or dripping edge (`checkBody` mends it to a wave, said). The business type is the
|
|
13861
14169
|
* generation's (the reading), never the plan's — the caller knows it. Absent = not calm. */
|
|
13862
14170
|
calm?: boolean;
|
|
14171
|
+
/** AW12: the kind of business (the reading's, as `calm`) — it chooses the footer's call word (`footerCallWord`). */
|
|
14172
|
+
businessType?: string;
|
|
14173
|
+
/** AW12-D10: what that kind of business's footer never wears (harness-core `BusinessType.footer`) — `checkFooter`
|
|
14174
|
+
* mends it, said. Absent = nothing refused. */
|
|
14175
|
+
footerNever?: FooterNever;
|
|
13863
14176
|
/** AW1: what the studio holds that decides its legal pages and banner (country, trackers, its own legal pages, its
|
|
13864
14177
|
* routes, a banner it keeps). Absent = only what the plan and the composed pages say (no tracker, no country). */
|
|
13865
14178
|
legal?: LegalContext;
|
|
@@ -14200,99 +14513,6 @@ declare function openingContextOf(input: Pick<OpeningInput, 'business' | 'design
|
|
|
14200
14513
|
*/
|
|
14201
14514
|
declare function composeOpening(input: OpeningInput, options: SectionOptions): ComposedOpening;
|
|
14202
14515
|
|
|
14203
|
-
/** Where a scrubbed entrance plays: from its element's first pixel on screen, wholly played at the middle of it. */
|
|
14204
|
-
declare const SCRUBBED_ENTRANCE: Readonly<{
|
|
14205
|
-
range: "cover";
|
|
14206
|
-
until: 0.5;
|
|
14207
|
-
}>;
|
|
14208
|
-
/** Interactions ▸ Follow the scroll ▸ Wholly in by (AW10-D6): the middle of the screen (the default), three quarters of
|
|
14209
|
-
* the way, or the end of its pass — `params.until`. */
|
|
14210
|
-
declare enum ScrubUntil {
|
|
14211
|
-
Middle = "middle",
|
|
14212
|
-
ThreeQuarters = "three-quarters",
|
|
14213
|
-
End = "end"
|
|
14214
|
-
}
|
|
14215
|
-
declare const SCRUB_UNTIL: Readonly<Record<ScrubUntil, number>>;
|
|
14216
|
-
/** The Wholly in by choice a stored `until` reads as (absent or 1 = the end). */
|
|
14217
|
-
declare function scrubUntilChoice(until: unknown): ScrubUntil;
|
|
14218
|
-
/** Where copy-out plays: the opening's own exit, the words gone at 0.6 of it. */
|
|
14219
|
-
declare const COPY_OUT: Readonly<{
|
|
14220
|
-
range: "exit";
|
|
14221
|
-
until: 0.6;
|
|
14222
|
-
}>;
|
|
14223
|
-
/** A stamped interaction, in the shape both interaction runtimes read. */
|
|
14224
|
-
interface StampedAction {
|
|
14225
|
-
type: string;
|
|
14226
|
-
target: string;
|
|
14227
|
-
duration?: number;
|
|
14228
|
-
delay?: number;
|
|
14229
|
-
easing?: string;
|
|
14230
|
-
once?: boolean;
|
|
14231
|
-
params?: Record<string, unknown>;
|
|
14232
|
-
}
|
|
14233
|
-
interface StampedInteraction {
|
|
14234
|
-
id: string;
|
|
14235
|
-
trigger: string;
|
|
14236
|
-
range?: string;
|
|
14237
|
-
actions: StampedAction[];
|
|
14238
|
-
origin?: string;
|
|
14239
|
-
}
|
|
14240
|
-
interface ScrubContext {
|
|
14241
|
-
/** The node stands in the page's opening (its first screen): it plays on time whatever the scrub. */
|
|
14242
|
-
opening?: boolean;
|
|
14243
|
-
}
|
|
14244
|
-
/** Whether the look's `scrub` makes an entrance of `type` follow the scroll. */
|
|
14245
|
-
declare function scrubsEntrance(scrub: ScrubId | string | null | undefined, type: string, context?: ScrubContext): boolean;
|
|
14246
|
-
/**
|
|
14247
|
-
* An entrance stamp under the look's `scrub` (AW10): the same action played by the scroll when the scrub takes it, else
|
|
14248
|
-
* the stamp unchanged. A scroll-played action keeps its own params (distance, side, pieces) and its curve (the look's
|
|
14249
|
-
* `ease-enter` — H7) and drops its clock (no duration, delay or row stagger: the scroll is the clock); under `words` a
|
|
14250
|
-
* text lights rather than rises. Pure.
|
|
14251
|
-
*/
|
|
14252
|
-
declare function scrubbedEntrance(ix: StampedInteraction, scrub: ScrubId | string | null | undefined, context?: ScrubContext): StampedInteraction;
|
|
14253
|
-
/** How long an entrance plays once when Follow the scroll is turned off (AW10-D11): the Standard level's heading. */
|
|
14254
|
-
declare const ONCE_ENTRANCE_MS = 700;
|
|
14255
|
-
/** Is `ix` a scrubbed entrance — one this module made, or an author's Follow the scroll: passing through the screen, one
|
|
14256
|
-
* action the time trigger could play too (never a depth or a reading bar, which only the scroll plays)? */
|
|
14257
|
-
declare function isScrubbedEntrance(ix: StampedInteraction): boolean;
|
|
14258
|
-
/**
|
|
14259
|
-
* Follow the scroll turned OFF (AW10-D11, "off, back to once"): a scrubbed entrance becomes the same action played once
|
|
14260
|
-
* as it arrives (`viewportEnter`), `timing` its clock (its own curve, else the look's, and a Standard length when not
|
|
14261
|
-
* given); its `until` goes, every other param (pieces, look, distance) stays. Anything else comes back as it was. Pure —
|
|
14262
|
-
* the panel's one undo step, and the inverse of `scrubbedEntrance` but for the clock it dropped.
|
|
14263
|
-
*/
|
|
14264
|
-
declare function onceEntrance(ix: StampedInteraction, timing?: {
|
|
14265
|
-
duration?: number;
|
|
14266
|
-
delay?: number;
|
|
14267
|
-
easing?: string;
|
|
14268
|
-
}): StampedInteraction;
|
|
14269
|
-
/**
|
|
14270
|
-
* Copy-out (AW10, OPENING `motion.copy-out`, AW10-D9): stamped on the opening SECTION (its exit is what is measured),
|
|
14271
|
-
* fading each node that holds the opening's words — opacity only, so reduced motion keeps it (AW10-D10). Pure.
|
|
14272
|
-
*/
|
|
14273
|
-
declare function copyOutInteraction(sectionId: string, wordsIds: string | ReadonlyArray<string>): StampedInteraction;
|
|
14274
|
-
/** A look stamp on a node, as `planEntrances` gives it. */
|
|
14275
|
-
interface ScrubbableStamp {
|
|
14276
|
-
nodeId: string;
|
|
14277
|
-
interaction: StampedInteraction;
|
|
14278
|
-
}
|
|
14279
|
-
/**
|
|
14280
|
-
* The look's entrance stamps of one composed section under the look's `scrub` (AW10-D5, D7, D8): each one the scrub
|
|
14281
|
-
* takes becomes the same action played by the scroll (`scrubbedEntrance`); the opening keeps every stamp on time. The
|
|
14282
|
-
* ONE rule the composer applies to `planEntrances`' stamps. Pure.
|
|
14283
|
-
*/
|
|
14284
|
-
declare function scrubEntranceStamps(stamps: ReadonlyArray<ScrubbableStamp>, scrub: ScrubId | string | null | undefined, context?: ScrubContext): ScrubbableStamp[];
|
|
14285
|
-
/**
|
|
14286
|
-
* Whether the look's `scrub` takes a layout layer's entrance (AW10-D12): `entrances` takes every entrance, `words` a
|
|
14287
|
-
* line of words that reveals (mask rise, letters — never a decoration, which only fades), the opening none. The layout
|
|
14288
|
-
* composer plays a layer that says `scrub` by the scroll only when this holds; `checkLayout` mends a `scrub` it does not
|
|
14289
|
-
* (`scrub-look`). `textual`: the layer is a line of words (word, heading, text, label, number). Pure.
|
|
14290
|
-
*/
|
|
14291
|
-
declare function layoutScrubTakes(layer: {
|
|
14292
|
-
enter?: string;
|
|
14293
|
-
role?: string;
|
|
14294
|
-
}, textual: boolean, scrub: ScrubId | string | null | undefined, context?: ScrubContext): boolean;
|
|
14295
|
-
|
|
14296
14516
|
/**
|
|
14297
14517
|
* What each page of a plan shows and where its data comes from (AI plan rev 3 §3d, `describePlanData`) — the
|
|
14298
14518
|
* Plan step's data lines, in the vocabulary the builder already uses. Pure and STRUCTURED: the screen words
|
|
@@ -17418,9 +17638,21 @@ interface DriftMeeting {
|
|
|
17418
17638
|
overlap: DriftBox;
|
|
17419
17639
|
area: number;
|
|
17420
17640
|
}
|
|
17641
|
+
type GlideLayer = Pick<LayoutLayer, 'depth' | 'kind'> & Partial<Pick<LayoutLayer, 'col' | 'row' | 'role'>>;
|
|
17642
|
+
/**
|
|
17643
|
+
* Where a `counter` layer glides (AW9, the montage): the other way from the gliding layer its cells overlap most — back
|
|
17644
|
+
* under a front, front under a back — so the two cross as the page passes. With none, back (it still moves against the
|
|
17645
|
+
* page). A decoration never runs ahead: under a back it stays back. Pure; ties go to the earlier layer.
|
|
17646
|
+
*/
|
|
17647
|
+
declare function layoutCounterDepth(section: Pick<LayoutSection, 'pin'> & {
|
|
17648
|
+
layers?: ReadonlyArray<GlideLayer>;
|
|
17649
|
+
}, layer: GlideLayer): `${ParallaxDepth}`;
|
|
17421
17650
|
/** The depth a layer glides at in a section, as the composer stamps it — or null (mid, a held section, what a visitor
|
|
17422
|
-
* operates). ONE rule: `composeLayout` stamps by it, the render check and the depth mend replay by it.
|
|
17423
|
-
|
|
17651
|
+
* operates). ONE rule: `composeLayout` stamps by it, the render check and the depth mend replay by it. A `counter`
|
|
17652
|
+
* layer reads its neighbours (`layoutCounterDepth`), so pass the section with its layers. */
|
|
17653
|
+
declare function layoutGlideDepth(section: Pick<LayoutSection, 'pin'> & {
|
|
17654
|
+
layers?: ReadonlyArray<GlideLayer>;
|
|
17655
|
+
}, layer: GlideLayer): `${ParallaxDepth}` | null;
|
|
17424
17656
|
/** How far a layer at `depth` stands off its place with the page scrolled `scroll` px, on a screen `viewHeight` tall. */
|
|
17425
17657
|
declare function driftAt(layer: DriftLayer, scroll: number, viewHeight: number, phone?: boolean): number;
|
|
17426
17658
|
/**
|
|
@@ -17435,6 +17667,50 @@ declare function driftOverlap(a: DriftLayer, b: DriftLayer, view: {
|
|
|
17435
17667
|
phone?: boolean;
|
|
17436
17668
|
}, clip?: DriftBox): DriftMeeting | null;
|
|
17437
17669
|
|
|
17670
|
+
/** How many steps a drawers section holds (one heading each): fewer or more is refused. */
|
|
17671
|
+
declare const DRAWER_STEPS: readonly [number, number];
|
|
17672
|
+
/** A spine's width, in % of the stage's width (cqw). */
|
|
17673
|
+
declare const DRAWER_SPINE: number;
|
|
17674
|
+
/** The kinds a step may hold: words and buttons — a step is the owner's words, never a picture (the award plan: "it needs
|
|
17675
|
+
* no photos"). */
|
|
17676
|
+
declare const DRAWER_KINDS: ReadonlySet<string>;
|
|
17677
|
+
/** Is this section the drawers signature? */
|
|
17678
|
+
declare const isDrawers: (s: Pick<LayoutSection, "kind"> | null | undefined) => boolean;
|
|
17679
|
+
/**
|
|
17680
|
+
* A drawers section's steps, as indices into its layers: each heading starts a step and holds the layers written after it,
|
|
17681
|
+
* up to the next heading. Layers written before the first heading belong to the first step.
|
|
17682
|
+
*/
|
|
17683
|
+
declare function drawerSteps(layers: ReadonlyArray<Pick<LayoutLayer, 'kind'>>): number[][];
|
|
17684
|
+
/** How many steps a drawers section holds: its headings (at least one step when it has any layer). */
|
|
17685
|
+
declare function drawerStepCount(layers: ReadonlyArray<Pick<LayoutLayer, 'kind'>>): number;
|
|
17686
|
+
interface DrawersTiming {
|
|
17687
|
+
/** Screens of scroll the stage holds. */
|
|
17688
|
+
hold: number;
|
|
17689
|
+
/** The root's height, in screens (the hold and the stage). */
|
|
17690
|
+
screens: number;
|
|
17691
|
+
/** Each step's slide, as `[start, end]` of the hold's progress (0–1); the first step's is null — it is there from the start. */
|
|
17692
|
+
windows: Array<[number, number] | null>;
|
|
17693
|
+
}
|
|
17694
|
+
/** How long `n` steps hold and when each slides: a rest, one slide per step after the first, a rest (theirs: ½ · 1 · ½). */
|
|
17695
|
+
declare function drawersTiming(n: number): DrawersTiming;
|
|
17696
|
+
/** Where step `i` of `n` rests once landed, in % of the stage's width from the inline start: one spine per step before it. */
|
|
17697
|
+
declare const drawerRestX: (i: number) => number;
|
|
17698
|
+
/** A step's width: the stage less the spines of every step after the first. */
|
|
17699
|
+
declare const drawerWidth: (n: number) => number;
|
|
17700
|
+
/** The schemes `n` steps wear, first to last — the look's own, deepening to the brand. Null outside the steps allowed. */
|
|
17701
|
+
declare function drawerRamp(n: number): ColorScheme[] | null;
|
|
17702
|
+
/** A signature of the contract offered to a build at `tier`: a `pro` row to the award tier alone (AW-D23). */
|
|
17703
|
+
declare function layoutSignatureOffered(id: string, tier: `${GenerationTier}` | string | null | undefined): boolean;
|
|
17704
|
+
/** The section kinds the layout wire offers a build at `tier`: content · inhale · signature, and a signature kind
|
|
17705
|
+
* (`drawers`) only where its signature is offered. */
|
|
17706
|
+
declare function layoutSectionKindsOffered(tier: `${GenerationTier}` | string | null | undefined): string[];
|
|
17707
|
+
/** The signatures a build at `tier` may be told of (the layout prompt's list). */
|
|
17708
|
+
declare function layoutSignaturesOffered(tier: `${GenerationTier}` | string | null | undefined): Array<{
|
|
17709
|
+
id: string;
|
|
17710
|
+
label: string;
|
|
17711
|
+
how: string;
|
|
17712
|
+
}>;
|
|
17713
|
+
|
|
17438
17714
|
/** The design a page wears when only its look's preset is known: the preset in `mode` (else its own), else the default. */
|
|
17439
17715
|
declare function layoutDesignOf(presetId: string | null | undefined, mode?: string | null): DesignChoices;
|
|
17440
17716
|
/** The element style a layer wears, by kind, role and size (the round-four renderer's `elementStyleOf`). */
|
|
@@ -19087,5 +19363,5 @@ declare function siteTreeOf(studio: SiteStudio): SiteTree;
|
|
|
19087
19363
|
* its phone menu, the footer's copyright line. */
|
|
19088
19364
|
declare function siteGlobalsOf(globals: ReadonlyArray<SerializedNode>): SiteTreeGlobals | null;
|
|
19089
19365
|
|
|
19090
|
-
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, DRAWER_BEAT_MS, DRAWER_LETTER_MS, DRAWER_LINE_MS, 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_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, 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, 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, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTokensFor, 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 };
|
|
19091
|
-
export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiPictureMakerRow, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeFreeOptions, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DistinctFallback, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, ExpandedFreeWire, FactKey, FilmPlacement, FilmTarget, FindingParams, FindingSentence, FingerprintedPage, FooterContext, FooterMix, FooterRepair, FooterWait, FrameRegion, FreeFallback, FreeFallbackPrompt, FreeIssue, FreeJudgeContext, FreeMove, FreeNode, FreePage, FreeRead, FreeSlotOffer, FreeSlotOptions, FreeStamped, FreeStyle, FreeWalked, FreeWire, FreeWireFault, FreeWireNode, FreeWireOptions, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, JsonSchema, KeptPageRefusal, LayerMetrics, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutIssueWords, LayoutLayer, LayoutListBare, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutMixOfferOptions, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutRoomColumn, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LayoutWordRef, LayoutWordsValue, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListCheckOptions, ListFrame, ListFrameInput, ListHangStep, ListIngredient, ListOverhang, ListPanelContext, ListPanelRow, ListPanelWord, ListPartEdit, ListPartsKept, ListPick, ListSaid, ListSayParams, ListShapeReading, ListWait, ListWordNever, ListWordShape, LookBefore, MeasuredLayer, MeasuredLayout, MenuWords, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OpeningApplied, OpeningContext, OpeningGalleryEntry, OpeningGap, OpeningInput, OpeningMix, OpeningNotPlaced, OpeningReading, OpeningRecipe, OpeningRepair, OpeningSite, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageCarry, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureSupply, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanWireContext, PlanWireOptions, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PromptReading, PublishRefusal, QuoteRoute, RecipeListBinds, RedesignAdditions, RedesignAdditionsStaged, RedesignBack, RedesignBackPreview, RedesignLook, RedesignPageOutcome, RedesignPagePreflight, RedesignPageRefusal, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, RhythmContext, ScrimChoice, ScrubContext, ScrubbableStamp, SectionEntrances, SectionFallback, SectionFallbackOptions, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteFindingGroup, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StagedAddition, StagedPage, StampedAction, StampedInteraction, StartQuote, StartQuotePart, StartQuoteRoutes, StartQuoteTokens, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, TypeLed, TypeLedChange, TypeLedOpening, TypeLedRoundContext, TypeLedTarget, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
|
|
19366
|
+
export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterRepairCode, FooterRole, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeTrigger, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, 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_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, 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, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followedAfter, followedIssues, footerCallWord, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, 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, isDrawers, 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, layoutCounterDepth, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, luminanceOf, measureFree, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords, 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, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTokensFor, 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, stampFooterMix, 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 };
|
|
19367
|
+
export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiPictureMakerRow, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeFreeOptions, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DistinctFallback, DrawersTiming, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, ExpandedFreeWire, FactKey, FilmPlacement, FilmTarget, FindingParams, FindingSentence, FingerprintedPage, FooterContext, FooterMix, FooterNever, FooterRepair, FooterWait, FrameRegion, FreeFallback, FreeFallbackPrompt, FreeIssue, FreeJudgeContext, FreeMove, FreeNode, FreePage, FreeRead, FreeSlotOffer, FreeSlotOptions, FreeStamped, FreeStyle, FreeWalked, FreeWire, FreeWireFault, FreeWireNode, FreeWireOptions, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, JsonSchema, KeptPageRefusal, LayerMetrics, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutIssueWords, LayoutLayer, LayoutListBare, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutMixOfferOptions, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutRoomColumn, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LayoutWordRef, LayoutWordsValue, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListCheckOptions, ListFrame, ListFrameInput, ListHangStep, ListIngredient, ListOverhang, ListPanelContext, ListPanelRow, ListPanelWord, ListPartEdit, ListPartsKept, ListPick, ListSaid, ListSayParams, ListShapeReading, ListWait, ListWordNever, ListWordShape, LookBefore, MeasuredLayer, MeasuredLayout, MenuWords, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OpeningApplied, OpeningContext, OpeningGalleryEntry, OpeningGap, OpeningInput, OpeningMix, OpeningNotPlaced, OpeningReading, OpeningRecipe, OpeningRepair, OpeningSite, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageCarry, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureSupply, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanWireContext, PlanWireOptions, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PromptReading, PublishRefusal, QuoteRoute, RecipeListBinds, RedesignAdditions, RedesignAdditionsStaged, RedesignBack, RedesignBackPreview, RedesignLook, RedesignPageOutcome, RedesignPagePreflight, RedesignPageRefusal, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, RhythmContext, ScrimChoice, ScrubContext, ScrubbableStamp, SectionEntrances, SectionFallback, SectionFallbackOptions, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteFindingGroup, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StagedAddition, StagedPage, StampedAction, StampedInteraction, StartQuote, StartQuotePart, StartQuoteRoutes, StartQuoteTokens, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, TypeLed, TypeLedChange, TypeLedOpening, TypeLedRoundContext, TypeLedTarget, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
|